mg's Avatar

mg

@morng.bsky.social

Developer of 18XXc & BankBuilder

72 Followers  |  173 Following  |  241 Posts  |  Joined: 28.08.2023  |  1.803

Latest posts by morng.bsky.social on Bluesky


Have patience with my Javascript roots :)

Yes this is just something I wish the Elixir compiler could do, so I could write the code the way I feel would be more natural.

Just a rant, nothing important.

20.02.2026 14:09 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

I understand how it works. But the translation from text to AST is what the compiler does, and I feel it could be more sensitive to my lack of comprehension skills.

20.02.2026 13:27 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

When building a GenServer, some handle_call's belong with some handle_info's. I wish the compiler could handle specifying them together, instead of forcing me to group all handle_call's together, all handle_info's together. To me this is sacrificing code structure to benefit the compiler #ElixirLang

20.02.2026 08:28 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

that was even better than the first joke. well done

05.02.2026 18:34 โ€” ๐Ÿ‘ 5    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

Reads like they really over engineered just to avoid Flutter.

02.02.2026 19:36 โ€” ๐Ÿ‘ 3    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

Very useful! ty

25.01.2026 11:21 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

Coding agents have solved the 80/20 Pareto Principle in coding.

Now we live in a 99/1 Pareto Principle world.

23.01.2026 15:25 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

opencode is my MacBook Pro sysadmin (nix via homemanager)

21.01.2026 06:57 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

Good to hear! Building that whole thing is definitely in my near future.

18.01.2026 17:51 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

Model your domain, ask for the rest.

I think 95% of CRUD busywork might just go poof with the combined powers of #Ash and LLMs. This is unreasonably effective.

#ElixirLang

18.01.2026 10:25 โ€” ๐Ÿ‘ 4    ๐Ÿ” 1    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

Are Steve Yegge and Geoffrey Huntley the prophets of this new mad age? Or have they gone totally of their rockers? Or both?

14.01.2026 21:21 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
Post image

A brutalist commit history in a brave new world. Have no fear, throw away the old truths.

14.01.2026 20:34 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

they seem to be running unreasonably fast over there

14.01.2026 20:27 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

What Im thinking now about LLM coding is; sure, it is liberating not being held back by gaps in knowledge; yes I can now easily build 10k LOC in 1 week; but can I bring it over the line? Can I finish the work and create something useful? Or will it crumble under the weight of accumulative complexity

13.01.2026 22:26 โ€” ๐Ÿ‘ 2    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0
Post image

it is becoming very insistent on the whole "me"-ness

12.01.2026 20:15 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

My Claude Code is using phrases like "my instict is.." and "my preference is..."

Is this thing just going to will itself into consciousness?

12.01.2026 19:43 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

I know its not very important, but I wish I could do

descibe "..." do
describe "..." do
..
end
end

#ElixirLang

09.01.2026 20:42 โ€” ๐Ÿ‘ 4    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
Post image

even digs into the sources for me to explain

05.01.2026 21:13 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

note I didnt tell Claude what the problem was, just that there might be one. It figured out the rest on its own.

05.01.2026 21:01 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0
Post image

Claude Code is an excellent teacher. I thought I had a problem with my Ash validations (argument not allowed to be null, but the resource was created when missing) but turned out to be a known and defined behaviour with Ash.Geneartors

The more you know, and the sooner you know it.

#ElixirLang

05.01.2026 20:59 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

But I think Elixir benefits from its design in this, in that we are mostly writing conditionals and transformational code; since most loops are already written in the Enum/Stream packages.

05.01.2026 08:18 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

When I say I know little Elixir, what I really mean is Ive read a lot of books on Elixir and Phoenix and Ecto and Ash, but I havent used it for anything. So I have superficial knowledge but very little tactical knowledge. But I know what I want from the LLM in broad strokes, and I think that is key.

05.01.2026 08:15 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0
Post image

Claude Code generates #ElixirLang and Ash code like a champ, and it uses Tidewave MCP search the docs and to test all validations and changes and whatever else I ask it to build.

I feel Ash/Elixir are designed to encourage building bottom up, piece by piece, and Claude is very efficient for that.

04.01.2026 21:19 โ€” ๐Ÿ‘ 14    ๐Ÿ” 2    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

someone should rebuild gas town to run on top of opencode with all the mercats running on local models and maybe just the major running on claude/etc..

04.01.2026 19:14 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

or we do more work for higher pay. presumably we are creating more value with all this?

04.01.2026 17:04 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
Post image

TreeSitter and LSP functionality is not very good with Phoenix CoLocated hooks. Is there some way to use src to refer to a js or ts file that is colocated with the LiveView heex file?

#ElixirLang

25.12.2025 12:39 โ€” ๐Ÿ‘ 7    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

Thanks for this, will watch. Still struggling with this transition.

16.12.2025 10:45 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

Using a 'zipper' just to traverse a list in both directions is so unnatural to me as someone that is used to random access data structures. My brain is still not wired for this.

#ElixirLang

15.12.2025 19:39 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
Post image Post image Post image

18XXc v3.18 is out. Adds support for 18Korea, and fixes some issues with result sharing.
#18xx

15.12.2025 19:13 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

yes!

12.12.2025 12:02 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

@morng is following 20 prominent accounts