Making a game with Elm and Lamdera by Martin Stewart
https://youtu.be/pZ_WqwRwwao?si=7cQma85K67s3LCN2
https://redd.it/16he1qg
@reddit_elm
https://youtu.be/pZ_WqwRwwao?si=7cQma85K67s3LCN2
https://redd.it/16he1qg
@reddit_elm
YouTube
Making a game with Elm and Lamdera by Martin Stewart
Martin Stewart
I’m a web developer specialized in working with the Elm programming language. In my free time I maintain https://ascii-collab.app/ a website where people can draw ascii art on a shared canvas and I run elm-review-bot, a github bot that checks…
I’m a web developer specialized in working with the Elm programming language. In my free time I maintain https://ascii-collab.app/ a website where people can draw ascii art on a shared canvas and I run elm-review-bot, a github bot that checks…
Elm Town 67 – Breaking things down with Gingko Writer
Hey folks! In Elm Town this week, we’re visiting with Adriano Ferrari about how Elm allows him to solely support Gingko Writer and make progress on new projects while also homeschooling.
Elm Town 67 – Breaking things down with Gingko Writer:
[https://elm.town/episodes/elm-town-67-breaking-things-down-with-gingko-writer](https://elm.town/episodes/elm-town-67-breaking-things-down-with-gingko-writer)
https://youtu.be/Z5DLL9WboBE
https://redd.it/179yhkc
@reddit_elm
Hey folks! In Elm Town this week, we’re visiting with Adriano Ferrari about how Elm allows him to solely support Gingko Writer and make progress on new projects while also homeschooling.
Elm Town 67 – Breaking things down with Gingko Writer:
[https://elm.town/episodes/elm-town-67-breaking-things-down-with-gingko-writer](https://elm.town/episodes/elm-town-67-breaking-things-down-with-gingko-writer)
https://youtu.be/Z5DLL9WboBE
https://redd.it/179yhkc
@reddit_elm
Elm Town
Adriano Ferrari talks about how Elm allows him to solely support Gingko Writer and make progress on new projects while also homeschooling.
Best place/way to learn how to code graphics in elm
I’m meant to code slides for a book presentation in elm and add some cool graphics and animations. Aside from the documentation is there any other resource I could use to help me get better at this?
https://redd.it/17froak
@reddit_elm
I’m meant to code slides for a book presentation in elm and add some cool graphics and animations. Aside from the documentation is there any other resource I could use to help me get better at this?
https://redd.it/17froak
@reddit_elm
Reddit
From the elm community on Reddit
Explore this post and more from the elm community
I wish I knew how to quit you, Elm
Every time I leave Elm and go to other supposedly modern frontend frameworks, I find myself yearning for relative simplicity of Elm code.
I’ve been developing parallel codebases in Svelte and Elm and I’ve been A/B testing both with various users. Svelte with TypeScript is ok but I much prefer the exhaustive type-checking of Elm.
One major issue with Elm that I’ve been encountering is bad interactions with browser plugins. I found this in particular with people who have Grammarly installed. Internally the compiled Elm code is super hardened but there’s something about the Grammarly (and other) plugins that cause the Elm app to start having runtime errors. Once that happens, the Elm app basically stops functioning.
The equivalent Svelte code does occasionally have runtime errors but it recovers a lot more gracefully.
It would be nice to be able to tell users to turn off browser plugins but that’s not really realistic.
Does anyone have any thoughts on either:
- how to make Elm work better with these janky browser plugins
- how to make the Svelte developer experience “feel” more like Elm
https://redd.it/17g4vne
@reddit_elm
Every time I leave Elm and go to other supposedly modern frontend frameworks, I find myself yearning for relative simplicity of Elm code.
I’ve been developing parallel codebases in Svelte and Elm and I’ve been A/B testing both with various users. Svelte with TypeScript is ok but I much prefer the exhaustive type-checking of Elm.
One major issue with Elm that I’ve been encountering is bad interactions with browser plugins. I found this in particular with people who have Grammarly installed. Internally the compiled Elm code is super hardened but there’s something about the Grammarly (and other) plugins that cause the Elm app to start having runtime errors. Once that happens, the Elm app basically stops functioning.
The equivalent Svelte code does occasionally have runtime errors but it recovers a lot more gracefully.
It would be nice to be able to tell users to turn off browser plugins but that’s not really realistic.
Does anyone have any thoughts on either:
- how to make Elm work better with these janky browser plugins
- how to make the Svelte developer experience “feel” more like Elm
https://redd.it/17g4vne
@reddit_elm
Reddit
From the elm community on Reddit
Explore this post and more from the elm community
Elm app deployment to VPS
Hi!
I'm new in the land of Elm :)
I created simple app and decided to deploy it to my VPS. I'm doing that using the followind command:
elm-live src/MySuperCoolApp.elm --host=<my_host> --start-page=index.html -- --optimize --output=build/elm.js > /dev/null &
Do you recommend such approach? I've read that \`elm-live\` is \*DEV\* server. OTOH it could use \`elm-make\` commands and on the \`elm-make\` guide I've found \`--optimize\` flag which is crafted for production...
I don't want to use any build tools from JS ecosystem or any Elm framework.
Best!
https://redd.it/17hpypg
@reddit_elm
Hi!
I'm new in the land of Elm :)
I created simple app and decided to deploy it to my VPS. I'm doing that using the followind command:
elm-live src/MySuperCoolApp.elm --host=<my_host> --start-page=index.html -- --optimize --output=build/elm.js > /dev/null &
Do you recommend such approach? I've read that \`elm-live\` is \*DEV\* server. OTOH it could use \`elm-make\` commands and on the \`elm-make\` guide I've found \`--optimize\` flag which is crafted for production...
I don't want to use any build tools from JS ecosystem or any Elm framework.
Best!
https://redd.it/17hpypg
@reddit_elm
Reddit
From the elm community on Reddit
Explore this post and more from the elm community
We're on the hunt for a suitable venue for Elm Camp 2024, and need your help!
We're on the hunt for a suitable venue for Elm Camp 2024, and need your help! If you know of a location, are interested in sponsoring, or have anything else you'd like us to know please fill out the following survey https://forms.gle/ZdNEVFZiZWXCJmLYA.
https://redd.it/17jfue1
@reddit_elm
We're on the hunt for a suitable venue for Elm Camp 2024, and need your help! If you know of a location, are interested in sponsoring, or have anything else you'd like us to know please fill out the following survey https://forms.gle/ZdNEVFZiZWXCJmLYA.
https://redd.it/17jfue1
@reddit_elm
Google Docs
Elm Camp 2024 Venue Survey
We're on the hunt for a suitable venue for Elm Camp 2024, and need your help!
The following are criteria that we will use in selecting a venue, based on our learnings from Elm Camp 2023:
Suitability:
Can accommodate 60-80 participants for two or three days…
The following are criteria that we will use in selecting a venue, based on our learnings from Elm Camp 2023:
Suitability:
Can accommodate 60-80 participants for two or three days…
Elm Town 68 – Shared joy with Mario Rogic
In the latest transmission from Elm Town and beyond, Mario Rogic shares his journeys, both physically around the world and strategically, as he built & rebuilt Lamdera.
Elm Town 68 – Shared joy with Mario Rogic:
[https://elm.town/episodes/elm-town-68-shared-joy-with-mario-rogic](https://elm.town/episodes/elm-town-68-shared-joy-with-mario-rogic)
https://youtu.be/GtKFr2DVHRw
https://redd.it/17kkwov
@reddit_elm
In the latest transmission from Elm Town and beyond, Mario Rogic shares his journeys, both physically around the world and strategically, as he built & rebuilt Lamdera.
Elm Town 68 – Shared joy with Mario Rogic:
[https://elm.town/episodes/elm-town-68-shared-joy-with-mario-rogic](https://elm.town/episodes/elm-town-68-shared-joy-with-mario-rogic)
https://youtu.be/GtKFr2DVHRw
https://redd.it/17kkwov
@reddit_elm
Elm Town
Mario Rogic shares his journeys, both physically around the world and strategically, as he built & rebuilt Lamdera.
🎙 Elm Radio 093: elm-visualization with Jakub Hampl
https://elm-radio.com/episode/elm-visualization
https://redd.it/17ek5r7
@reddit_elm
https://elm-radio.com/episode/elm-visualization
https://redd.it/17ek5r7
@reddit_elm
Elm Radio Podcast
Episode 93: elm-visualization with Jakub Hampl
Jakub Hampl joins us to discuss elm-visualization and how it enables powerful flexibility through its low-level building blocks philosophy.
Can I declare variables that I obtain by destructuring a tuple?
I'm very strict with myself concerning declaring variables and functions before defining them. For example, I try not to write
let
absVal x = if x < 0 then -x else x
in
List.map absVal myList
but would always do
let
absVal: Float -> Float
absVal x = if x < 0 then -x else x
in
List.map absVal myList
(Context: I teach programming at a university and want the students to be strict with this, too).
But there is a context in which this does not seem possible: when using immediate deconstruction, like with tuples. For example:
modulo5and7 : Int -> (Int, Int)
modulo5and7 x = (modBy 5 x, modBy 7 x)
y : Int
y =
let
(r1, r2) = modulo5and7 n
in
r1 + r2 -- doesn't have any specific meaning; just to illustrate a point
I like that we can catch and deconstruct a tuple via
Is there an "official" way to declare
pair : ( Int, Int )
pair =
modulo5and7 n
( r1, r2 ) =
pair
but that doesn't strike me as particularly elegant...
Any suggestions?
​
https://redd.it/16hi51p
@reddit_elm
I'm very strict with myself concerning declaring variables and functions before defining them. For example, I try not to write
let
absVal x = if x < 0 then -x else x
in
List.map absVal myList
but would always do
let
absVal: Float -> Float
absVal x = if x < 0 then -x else x
in
List.map absVal myList
(Context: I teach programming at a university and want the students to be strict with this, too).
But there is a context in which this does not seem possible: when using immediate deconstruction, like with tuples. For example:
modulo5and7 : Int -> (Int, Int)
modulo5and7 x = (modBy 5 x, modBy 7 x)
y : Int
y =
let
(r1, r2) = modulo5and7 n
in
r1 + r2 -- doesn't have any specific meaning; just to illustrate a point
I like that we can catch and deconstruct a tuple via
(r1, r2) = some_expression
but then the reader has to use lots of context to figure out which types r1
and r2
are. I know I could just add a comment; but that would for example not help the compiler to spot an error.Is there an "official" way to declare
r1
and r2
and still assign them values through (r1, r2) = some_expression
? I know I could do pair : ( Int, Int )
pair =
modulo5and7 n
( r1, r2 ) =
pair
but that doesn't strike me as particularly elegant...
Any suggestions?
​
https://redd.it/16hi51p
@reddit_elm
Reddit
From the elm community on Reddit
Explore this post and more from the elm community
🎙 Elm Radio 094: elm-concurrent-task with Andrew MacMurray
https://elm-radio.com/episode/elm-concurrent-task
https://redd.it/17p2k72
@reddit_elm
https://elm-radio.com/episode/elm-concurrent-task
https://redd.it/17p2k72
@reddit_elm
Elm Radio Podcast
Episode 94: elm-concurrent-task with Andrew MacMurray
Andrew MacMurray joins us to discuss `elm-concurrent-task` which allows you to run JavaScript functions with a Task style API.
State of Elm 2023 Survey
Hi all – for those who aren't on / missed it on Discourse/Slack/Discord/Twitter, the State of Elm 2023 survey is up!
Discourse announcement: https://discourse.elm-lang.org/t/state-of-elm-2023/9307
Survey: https://state-of-elm.com/2023
​
https://redd.it/16dl9as
@reddit_elm
Hi all – for those who aren't on / missed it on Discourse/Slack/Discord/Twitter, the State of Elm 2023 survey is up!
Discourse announcement: https://discourse.elm-lang.org/t/state-of-elm-2023/9307
Survey: https://state-of-elm.com/2023
​
https://redd.it/16dl9as
@reddit_elm
Elm
State-of-elm 2023
The state-of-elm 2023 is here! This time the survey will be open for a month rather than 20 days like last time. I’d really appreciate if you filled it out and also shared it on other platforms and with friends who use Elm. Hopefully we can get more responses…
Elm Town 69 – A vision for tooling with Simon Lydell
This week in Elm Town, Simon Lydell tells his origin story from Firefox power user to full-time Elm engineer. Then we talk about his work in the community building tools & contributing to core.
Elm Town 69 – A vision for tooling with Simon Lydell:
[https://elm.town/episodes/elm-town-69-a-vision-for-tooling-with-simon-lydell](https://elm.town/episodes/elm-town-69-a-vision-for-tooling-with-simon-lydell)
https://youtu.be/JUngn-BzHFg
https://redd.it/17vyi65
@reddit_elm
This week in Elm Town, Simon Lydell tells his origin story from Firefox power user to full-time Elm engineer. Then we talk about his work in the community building tools & contributing to core.
Elm Town 69 – A vision for tooling with Simon Lydell:
[https://elm.town/episodes/elm-town-69-a-vision-for-tooling-with-simon-lydell](https://elm.town/episodes/elm-town-69-a-vision-for-tooling-with-simon-lydell)
https://youtu.be/JUngn-BzHFg
https://redd.it/17vyi65
@reddit_elm
Elm Town
Simon Lydell tells his origin story from Firefox power user to full-time Elm engineer. Then we talk about his work in the community building tools & contributing to core.
Elm Town 64 – The network effect
Martin Stewart comes back to share his experience using Elm and Lamdera to make all the things, from games to professional apps.
[https://elm.town/episodes/elm-town-64-the-network-effect](https://elm.town/episodes/elm-town-64-the-network-effect)
https://youtu.be/5AHa8zGgoLw
He even made https://state-of-elm.com/2023 with Elm & Lamdera!
https://redd.it/16b1xv5
@reddit_elm
Martin Stewart comes back to share his experience using Elm and Lamdera to make all the things, from games to professional apps.
[https://elm.town/episodes/elm-town-64-the-network-effect](https://elm.town/episodes/elm-town-64-the-network-effect)
https://youtu.be/5AHa8zGgoLw
He even made https://state-of-elm.com/2023 with Elm & Lamdera!
https://redd.it/16b1xv5
@reddit_elm
Elm Town
Martin Stewart comes back to share his experience using Elm and Lamdera to make all the things, from games to professional apps.
The unbearable weight of glue by Mario Rogic | Lambda Days 2023
https://www.youtube.com/watch?v=RkiooBCkA_0
https://redd.it/180lrdp
@reddit_elm
https://www.youtube.com/watch?v=RkiooBCkA_0
https://redd.it/180lrdp
@reddit_elm
YouTube
The unbearable weight of glue by Mario Rogic | Lambda Days 2023
"As an industry we wave our hands about the increasing complexity of software, but we also unwittingly keep heaping on a silent killer: glue code. It often goes unnoticed hiding behind status quo, makes our work more complex, and creates more bugs than we…
Elm Town 70 – Getting out of the basement with Jim Carlson
In Elm Town 70, Jim Carlson shares his discoveries in software development through the people he's met in the community and the projects he's building. We also discuss how a history in mathematics shapes his work.
Elm Town 70 – Getting out of the basement with Jim Carlson:
[https://elm.town/episodes/elm-town-70-getting-out-of-the-basement-with-jim-carlson](https://elm.town/episodes/elm-town-70-getting-out-of-the-basement-with-jim-carlson)
https://youtu.be/kToYbuBTLPo
https://redd.it/1869bfw
@reddit_elm
In Elm Town 70, Jim Carlson shares his discoveries in software development through the people he's met in the community and the projects he's building. We also discuss how a history in mathematics shapes his work.
Elm Town 70 – Getting out of the basement with Jim Carlson:
[https://elm.town/episodes/elm-town-70-getting-out-of-the-basement-with-jim-carlson](https://elm.town/episodes/elm-town-70-getting-out-of-the-basement-with-jim-carlson)
https://youtu.be/kToYbuBTLPo
https://redd.it/1869bfw
@reddit_elm
Elm Town
Jim Carlson shares his discoveries in software development through the people he's met in the community and the projects he's building. We also discuss how a history in mathematics shapes his work.
🎙 Elm Radio 089: The Human Side of Open Source
https://elm-radio.com/episode/human-side-of-open-source
https://redd.it/163uzrz
@reddit_elm
https://elm-radio.com/episode/human-side-of-open-source
https://redd.it/163uzrz
@reddit_elm
Elm Radio Podcast
Episode 89: The Human Side of Open Source
We discuss the role of Open Source Software and how we approach leadership and communication in our projects.
Elm Town 71 – Embracing wins with Lindsay Wardell
This week in Elm Town, Lindsay Wardell tells how she persevered to write her own story as a programmer and shares her views on JavaScript frameworks & fatigue.
Elm Town 71 – Embracing wins with Lindsay Wardell:
[https://elm.town/episodes/elm-town-71-embracing-wins-with-lindsay-wardell](https://elm.town/episodes/elm-town-71-embracing-wins-with-lindsay-wardell)
https://youtu.be/dhULK5M0QiA
https://redd.it/18gzstd
@reddit_elm
This week in Elm Town, Lindsay Wardell tells how she persevered to write her own story as a programmer and shares her views on JavaScript frameworks & fatigue.
Elm Town 71 – Embracing wins with Lindsay Wardell:
[https://elm.town/episodes/elm-town-71-embracing-wins-with-lindsay-wardell](https://elm.town/episodes/elm-town-71-embracing-wins-with-lindsay-wardell)
https://youtu.be/dhULK5M0QiA
https://redd.it/18gzstd
@reddit_elm
Elm Town
Lindsay Wardell tells how she persevered to write her own story as a programmer and shares her views on JavaScript frameworks & fatigue.