Zach Allaun's Avatar

Zach Allaun

@zachallaun.com

Mechanical keyboard maker at Keycult, #ElixirLang enjoyer. Living in Raleigh, NC.

405
Followers
138
Following
20
Posts
07.07.2023
Joined
Posts Following

Latest posts by Zach Allaun @zachallaun.com

Assuming GitHub, if the squashed commit links to the PR, that incremental history is still easily accessible to someone who wants to understand how a change came about. For someone just keeping up with a project, one commit per feature on main is much friendlier.

27.11.2024 14:54 ๐Ÿ‘ 0 ๐Ÿ” 0 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0

How does it feel if it has a small background on top of the text, but the whole button only appears if you're hovering the code element?

23.11.2024 16:22 ๐Ÿ‘ 0 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

Here's a better thread on it with reasoning from Josรฉ and others!

elixirforum.com/t/possible-p...

21.11.2024 15:00 ๐Ÿ‘ 1 ๐Ÿ” 0 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0

For sure! I've been thinking a bit about possible terminal APIs that gracefully degrade when raw mode isn't available, but are nice and snappy when it is. I don't want to have to wait for broad OTP 28 usage!

21.11.2024 00:33 ๐Ÿ‘ 2 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0
Preview
GitHub - spencerolson/chat: terminal based chat app demoing OTP 28's "raw mode" terminal based chat app demoing OTP 28's "raw mode" - spencerolson/chat

Played around with OTP 28's "raw mode" to make a snappy terminal-based chat app. Thanks @zachallaun.com for the heads-up about this upcoming feature! Demo video in the README

#ElixirLang

github.com/spencerolson...

20.11.2024 22:20 ๐Ÿ‘ 13 ๐Ÿ” 5 ๐Ÿ’ฌ 2 ๐Ÿ“Œ 0
Video thumbnail

If you're working on an HTML component library, consider an HTML structure that makes the little gap between checkbox and label clickable!

18.11.2024 15:10 ๐Ÿ‘ 1 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

Makes sense. My inclination would be to vendor it in, but perhaps that's solving a problem that isn't really there if everyone using LVN in anger is fine using OTP 27 anyways.

15.11.2024 22:53 ๐Ÿ‘ 0 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

Would it be feasible to vendor in :json as :lvn_json (or whatever)?

15.11.2024 22:26 ๐Ÿ‘ 0 ๐Ÿ” 0 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0
Video thumbnail

Gifs don't work, but video does!

14.11.2024 18:37 ๐Ÿ‘ 2 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

I... uh... I think Bluesky might not support gifs...?

14.11.2024 18:34 ๐Ÿ‘ 0 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0
Elixir demo showing raw and cooked mode terminal input.

Elixir demo showing raw and cooked mode terminal input.

Let's try it one more time...

14.11.2024 18:31 ๐Ÿ‘ 0 ๐Ÿ” 0 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0

Bluesky question... ^ this is supposed to be a gif, but it's just a static thumbnail for me. Does it play for anyone else?

14.11.2024 18:29 ๐Ÿ‘ 0 ๐Ÿ” 0 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0
Post image

Terminal raw mode coming to #ElixirLang with OTP 28! Pretty excited about this.

14.11.2024 17:43 ๐Ÿ‘ 16 ๐Ÿ” 1 ๐Ÿ’ฌ 3 ๐Ÿ“Œ 0

What is this... outside... you speak of...

08.11.2024 23:38 ๐Ÿ‘ 1 ๐Ÿ” 0 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0

Agreed, been my go-to for the last couple months.

08.11.2024 23:28 ๐Ÿ‘ 0 ๐Ÿ” 0 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0

Out of curiosity, do you think it's the `dynamic(...)` or the `false or {term(), binary()}` part that's difficult to grok?

I ask because I wonder if they will become simpler to understand as inference improves and we see fewer dynamic types.

08.11.2024 19:36 ๐Ÿ‘ 0 ๐Ÿ” 0 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0

I wonder if you could stick "restore to a reasonable default" ANSI codes at the front of your prompt to ensure things are always in an expected state after running a command!

08.11.2024 01:14 ๐Ÿ‘ 0 ๐Ÿ” 0 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0

๐Ÿ‘‹

07.11.2024 21:24 ๐Ÿ‘ 1 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

Yep, I'm going to just let today suck. Can work on myself and my reaction to all this tomorrow.

06.11.2024 21:32 ๐Ÿ‘ 1 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0
Video thumbnail

Writing an Igniter installer for your #ElixirLang library?

I'd definitely recommend giving Mneme and mix mneme.watch a try for instant feedback on what your installer is doing.

hexdocs.pm/mneme/readme...

04.11.2024 14:12 ๐Ÿ‘ 0 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

Agreed! This would also address what I perceive to be the biggest complaint about Phoenix docs: not knowing which package to search for docs in. While I really appreciate AshHQ pulling everything together, I've occasionally wished it were just hexdocs because it's so familiar at this point!

02.08.2023 11:59 ๐Ÿ‘ 1 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0