David Bernheisel
@david
erlef.org Board Member | Working at tv-labs | bernheisel.com | Founder of zest.dev (consultancy) #ElixirLang
Added crt-lotte filter client side for beamicom_phx so it looks authentic
Check this out, this png is a save file. I don't know if bsky will re-encode it and lose the info, but around the border is encoded dots with the save state of the game. Load that in beamicom and pick up where you left off.
and now a WebRTC web client with AV1 encoding/relaying (with Membrane). Haven't deployed it yet, so not really "working" yet, but plays great locally right now. github.com/dbernheisel/...
oh hey, I wrote an NES emulator in Elixir 60fps (on my machine) with sound. This is Castlevania 3 which might be the toughest one to emulate. github.com/dbernheisel/... #ElixirLang
I always do this: `mix <tab> <tab> <rage tab>` and then realize completions aren't built in for mix. so I hacked together something truly awful, but it works github.com/dbernheisel/... Add this ^ to your zsh fpath and then you have more helpful completions, including flags. #ElixirLang
I added a markdown pre-processor just for `nofile` markdown buffers. Renders with markview.nvim but pre-processed to reflow paragraphs, adjust spacing, and process md extensions. This shows a rendered info admonition block. 4-indented code in exdoc is assumed to be Elixir.
We have another one coming up called Runcom, which will be an infrastructure orchestration commander/dashboard. Imagine Ansible, but compiled, distributed, and commanded from your admin webapp. A little sneak peak for now
I was able to wire up Popcorn to run Elixir and PGlite to run Postgres, both in the browser. This means we can have an interactive and safe sandbox for arbitrary code. Which means a really good experience learning Ecto on a website. I'll publish it soon :) #ElixirLang
I build a Neovim blink.cmp source for Hex.pm. Now you can search hex packages from your mix.exs file, and autocomplete versions. github.com/dbernheisel/...
Published a little LiveDashboard page for managing some data migrations. hex.pm/packages/dat... #ElixirLang
quick tip for #ElixirLang and HEEX HTML string attributes. Eg, when you need conditional css classes, use lists. LiveView will see it as an iolist. It lends itself to better formatting when it gets long, and you can logically group them. You don't need to interpolate a long string.
CSS `attr` now supports a type! this eliminates ugly hacks: - interpolating inline styling - tailwind helper functions avoiding interpolating part of a class name (though v4 resolve) - handling in JS developer.mozilla.org/en-US/docs/W... developer.chrome.com/blog/advance...
Just want to know the opportunities! But yeah stateside is looking grim. Moving elsewhere in the country is also an option. Evidently we are "assessing the threats" of ADHD meds and SSRIs among others, which may code for "banning soon." www.whitehouse.gov/presidential...
Holy smokes this is awesome, a new debugger for Phoenix LiveView. Think React devtools, but not a chrome extension. github.com/software-man... #ElixirLang
It also has some simplified igniter-powered installation scripts. It's super simple now to add Oban to your existing project or start a new Phoenix project with Oban included. Lastly, a lot of improvements in the UI, telemetry, simplification of how to mount the dashboard hexdocs.pm/igniter/read...
@nezteb.net the Elixir feed doesn't seem to be working. Is the provider of it down? iirc it was skyfeed, right?
AWESOME! Coming in ex_doc soon is a new button to go to the latest version's documentation if you happen to be on an earlier version. I often find myself googling something, getting a hexdocs.pm link but for some inexplicable reason it puts me into an old version of it github.com/elixir-lang/...
Elixir 1.19 lands some new type checking, this time with protocols! If you implement a pattern-match inside of a protocol implementation that isn't possible, the compiler will now warn! It was also warn if you implement for an unknown (eg, misspelled) module. #ElixirLang
Set him up for success with stories about "this is how you remind me of what I am really am" and how you "never made it as a wise man" then tell him to look at this photograph
#CodeBEAM #ElixirLang Carlo sharing how to break down problems, organize the chaos, and visualize the interacting components
#ElixirLang #CodeBEAM Sergey is showing how to leverage mix for erlang projects
#ElixirLang #CodeBEAM awesome presentation on telemetry with Live View Dead Views, async OTP tasks, linked async jobs, and frontend (oh my)
Turns out SonicPI is fundamentally sound in theory as well as literally sound.
#ElixirLang #CodeBEAM @samaaron.bsky.social is introducing his new thing Tau5. Education through music. Incredibly engaging.
I have arrived! Great friends! Cannot wait for all the awesome talks and convos #ElixirLang