Skip to content

Better Language Decoders #117

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 17 commits into from
Dec 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions .devcontainer/devcontainer-lock.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"features": {
"ghcr.io/devcontainers/features/github-cli:1": {
"version": "1.0.13",
"resolved": "ghcr.io/devcontainers/features/github-cli@sha256:13b301a039ce9e0bb07d45ea0c106c946cfff01c3b9844bbec6b0c7bacba8de3",
"integrity": "sha256:13b301a039ce9e0bb07d45ea0c106c946cfff01c3b9844bbec6b0c7bacba8de3"
},
"ghcr.io/joshuanianji/devcontainer-features/github-cli-persistence:1": {
"version": "1.0.3",
"resolved": "ghcr.io/joshuanianji/devcontainer-features/github-cli-persistence@sha256:757843d75915f140ec22bc16ccb5e657a910d9b1d1f445d15350a78e584d130f",
"integrity": "sha256:757843d75915f140ec22bc16ccb5e657a910d9b1d1f445d15350a78e584d130f"
},
"ghcr.io/joshuanianji/devcontainer-features/mount-pnpm-store:1": {
"version": "1.0.2",
"resolved": "ghcr.io/joshuanianji/devcontainer-features/mount-pnpm-store@sha256:32f78bc711aecc2b1479143a4412461b4075c61f0d4776e74265890099a3c7f6",
"integrity": "sha256:32f78bc711aecc2b1479143a4412461b4075c61f0d4776e74265890099a3c7f6"
}
}
}
34 changes: 34 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
// README at: https://github.com/devcontainers/templates/tree/main/src/javascript-node
{
"name": "Website",
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
"image": "mcr.microsoft.com/devcontainers/javascript-node:1-22-bookworm",
"features": {
"ghcr.io/devcontainers/features/github-cli:1": {},
"ghcr.io/joshuanianji/devcontainer-features/github-cli-persistence:1": {},
"ghcr.io/joshuanianji/devcontainer-features/mount-pnpm-store:1": {}
},
"customizations": {
"vscode": {
"extensions": [
"elmTooling.elm-ls-vscode"
]
}
},

// Features to add to the dev container. More info: https://containers.dev/features.
// "features": {},

// Use 'forwardPorts' to make a list of ports inside the container available locally.
"forwardPorts": [1234, 3000],

// Use 'postCreateCommand' to run commands after the container is created.
// "postCreateCommand": "yarn install",

// Configure tool-specific properties.
// "customizations": {},

// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
// "remoteUser": "root"
}
4 changes: 4 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"elmLS.elmPath": "lamdera",
"elmLS.onlyUpdateDiagnosticsOnSave": true
}
20 changes: 4 additions & 16 deletions app/Route/AllProjects.elm
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
module Route.AllProjects exposing (Model, Msg, RouteParams, route, Data, ActionData)
module Route.AllProjects exposing
( Model, Msg, RouteParams, route, Data, ActionData
, init
)

{-|

Expand Down Expand Up @@ -52,21 +55,6 @@ init app shared =
( {}, Effect.none )


update :
RouteBuilder.App Data ActionData RouteParams
-> Shared.Model
-> Msg
-> Model
-> ( Model, Effect.Effect Msg )
update app shared msg model =
( model, Effect.none )


subscriptions : RouteParams -> UrlPath.UrlPath -> Shared.Model -> Model -> Sub Msg
subscriptions routeParams path shared model =
Sub.none


type alias Data =
{ -- top 3 "pinned" projects
featured : List Project
Expand Down
1 change: 0 additions & 1 deletion app/Route/Index.elm
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ module Route.Index exposing (ActionData, Data, Model, Msg, footer, route)

import BackendTask exposing (BackendTask)
import BackendTask.File
import Color.Manipulate
import Colours
import Css exposing (..)
import Effect exposing (Effect)
Expand Down
10 changes: 5 additions & 5 deletions elm.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"elm-version": "0.19.1",
"dependencies": {
"direct": {
"MaybeJustJames/yaml": "2.1.4",
"MaybeJustJames/yaml": "2.1.5",
"NoRedInk/elm-json-decode-pipeline": "1.0.1",
"avh4/elm-color": "1.0.0",
"danfishgold/base64-bytes": "1.1.0",
Expand Down Expand Up @@ -39,7 +39,7 @@
"ianmackenzie/elm-triangular-mesh": "1.1.0",
"ianmackenzie/elm-units": "2.10.0",
"jluckyiv/elm-utc-date-strings": "1.0.0",
"joshuanianji/github-language-colors": "2.1.0",
"joshuanianji/github-language-colors": "4.0.0",
"justinmimbs/date": "4.1.0",
"mdgriffith/elm-codegen": "4.2.2",
"miniBill/elm-codec": "2.2.0",
Expand All @@ -48,7 +48,7 @@
"robinheghan/fnv1a": "1.0.0",
"rtfeldman/elm-css": "18.0.0",
"rtfeldman/elm-iso8601-date-strings": "1.1.4",
"the-sett/elm-syntax-dsl": "6.0.2",
"the-sett/elm-syntax-dsl": "6.0.3",
"turboMaCk/non-empty-list-alias": "1.4.0",
"vito/elm-ansi": "10.0.1"
},
Expand All @@ -70,10 +70,10 @@
"ianmackenzie/elm-interval": "3.1.0",
"ianmackenzie/elm-units-interval": "3.2.0",
"mdgriffith/elm-ui": "1.1.8",
"miniBill/elm-unicode": "1.1.0",
"miniBill/elm-unicode": "1.1.1",
"robinheghan/murmur3": "1.0.0",
"rtfeldman/elm-hex": "1.0.0",
"stil4m/elm-syntax": "7.3.2",
"stil4m/elm-syntax": "7.3.8",
"stil4m/structured-writer": "1.0.3",
"the-sett/elm-pretty-printer": "3.1.0"
}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"postinstall": "elm-tooling install",
"dev": "dotenvx run -- elm-pages dev",
"build": "elm-pages build",
"serve": "pnpm build && http-server ./dist -a localhost -p 3000 -c-1"
"serve": "dotenvx run -- pnpm build && http-server ./dist -a localhost -p 3000 -c-1"
},
"devDependencies": {
"@dotenvx/dotenvx": "1.28.0",
Expand Down
32 changes: 9 additions & 23 deletions projects.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
---

# === FEATURED

Expand All @@ -20,7 +19,7 @@
languages:
- C++
- C
- ANTLR4
- ANTLR
concepts:
- MLIR & LLVM
- Compiler Theory
Expand All @@ -32,7 +31,7 @@
blurb: Multi-arch, multi-distro Docker images for Idris 2
githubRepo: joshuanianji/idris-2-docker
languages:
- Docker
- Dockerfile
concepts:
- Github Actions
displayType: featured
Expand All @@ -59,8 +58,8 @@
link: https://reformed-22an6t4ebq-uc.a.run.app/
githubRepo: 3iq-hacks/the-conversationalist
languages:
- Typescript
- Docker
- TypeScript
- Dockerfile
concepts:
- GCP
- React/Next.JS
Expand All @@ -74,7 +73,7 @@
link: https://mathgpt-3iq-hacks.vercel.app/
githubRepo: 3iq-hacks/mathgpt
languages:
- Typescript
- TypeScript
- Python
concepts:
- React/Next.JS
Expand Down Expand Up @@ -115,8 +114,8 @@
blurb: A Discord bot to rank nerdiness. Currently hosted on an Oracle Cloud VM.
githubRepo: joshuanianji/nerd-bot
languages:
- Typescript
- Docker
- TypeScript
- Dockerfile
concepts:
- Discord.js
- PostgreSQL
Expand All @@ -129,7 +128,7 @@
link: https://imposter-detector.vercel.app/
githubRepo: 3iq-hacks/imposter-detector-2022
languages:
- Javascript
- JavaScript
- Python
concepts:
- GCP
Expand All @@ -156,7 +155,7 @@
link: https://math-tts.vercel.app/
githubRepo: 3iq-hacks/math-tts
languages:
- Typescript
- TypeScript
- Python
concepts:
- API
Expand Down Expand Up @@ -189,16 +188,3 @@
- DataStructures
displayType: other
mobile: false

- id: hiit-timer
name: HIIT-Timer
blurb: A customizable PWA that times your workouts.
link: https://joshuaji.com/HIIT-Timer/
githubRepo: joshuanianji/HIIT-Timer
languages:
- Elm
concepts:
- PWA
displayType: other
mobile: true

1 change: 0 additions & 1 deletion src/Icosahedron.elm
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ Literally hardcoding an icosahedron for Elm-3d-scene to render
import Angle exposing (Angle)
import Browser.Events
import Camera3d
import Colours
import Color exposing (Color)
import Duration exposing (Duration)
import Html.Styled exposing (Html, fromUnstyled)
Expand Down
Loading
Loading