Better HN
topnewbestaskshowjobs
Log inSign up

lawik

3,373 karma · joined Dec 6, 2016 (9y ago) · 543 submissions

https://underjord.io, lars@underjord.io https://twitter.com/lawik @lawik@fosstodon.org

Podcasting on beamrad.io and regprog.com

Submissions

1.

Reviving the Donkey Car with Erlang(underjord.io ↗)

41 points · by lawik · 4d ago · 1 comment

comment 1w ago · link · parent

Wow. Big question.

So Nerves folks typically run Elixir on the Erlang VM. So you have the Phoenix web framework, Membrane media framework, Nx (nx_eigen) for basic inference, Emerge does well for embedded UI.

I've played around with clustering a bunch of these devices over Tailscale across my home. Opening cameras from one device and streaming to anothers display, willy-nilly. All experimental for me.

I've put Homex and Espex on them to have them integrate with Home Assistant. Feeding sensor data up or whatever I feel like.

Elixir already has a production embedded ecosystem through Nerves and web services have been the bread and butter for a long time. So you can do almost anything.

comment 1w ago · link · parent

I've chatted to the guy running Citronics, they provided old but working Fairphone 3 to a workshop we had at Goatmire Elixir. They try to tackle repurposing and certifying the quality of old phones. Interesting effort and well positioned for the current climate.

Their board currently on sale is this. Based on Fairphone 2. Targeting commercial or industrial more than hobbyist though. I've been trying to convince them to sell the old phones as is, as well. https://shop.citronics.eu/

Thanks to Marc Lainez and his token spend we have a great Nerves system for running the Fairphone 3 by just programming Elixir. And people are flipping new (old) phones over to be put to work every week in the Nerves Discord.

We have a good UI framework in Emerge. We have media handling with Membrane. And Nerves handles the OS integration for stuff like networking. I thoroughly enjoy making up my own mobile OS for my own purposes.

You lose the GPIO/I2C/SPI/UART as easy extension points compared to the Pi. But the stuff that is there is already well integrated.

4.

Google breaks access to YouTube8M dataset(research.google ↗)

2 points · by lawik · 2w ago · discuss

5.

Local-first means three different things(hologram.page ↗)

3 points · by lawik · 3w ago · discuss

6.

Moatless – App stores are dead. Buy the code(moatless.store ↗)

8 points · by lawik · 4w ago · 1 comment

7.

Goatmire Elixir 2 – Odin's Folly(underjord.io ↗)

2 points · by lawik · 1mo ago · discuss

comment 2mo ago · link · parent

That is a way cooler end.

I soent a lot of time grinding up the levels on the spells to get the extra cool effects that would happen more frequently as your spell level approached 9. Though it would never pass 8:99 if I recall correctly.

I lent the game to a friend. His kid brother overwrote every save file with one called Mnupll.

Love the game. Never redid that. Would have liked to max out weapons because I think you could grind for orbs in the final fort.

comment 2mo ago · link · parent

Love Sonic Pi. I can't make music but watching someone who can is fantastic. We had Sam (the creator of Sonic Pi) on stage at Goatmire Elixir and it was glorious. This year he comes back with a free 4 hour workshop, a talk and a DJ set at the end. It is going to be a blast.

Can't wait to hear his stuff in a venue where people are actually primed to move. Something very satisfying about code turning into music live.

10.

Nerves IoT framework, apparently popular with agents(underjord.io ↗)

1 points · by lawik · 2mo ago · discuss

11.

Elixir's GenStage Demand, a visual explainer(andrealeopardi.com ↗)

5 points · by lawik · 3mo ago · 1 comment

12.

Hologram Works. Sponsor What Comes Next(hologram.page ↗)

97 points · by lawik · 4mo ago · 32 comments

comment 4mo ago · link · parent

My in-laws Kia did this for me. It got really shitty when it got darker and presumably had to use an IR camera. And I am tall so the angle might have been bad. It flagged me every minute. Even when I intentionally focused right ahead.

Tracking gaze is not immune to assorted failure modes.

14.

Injecting Tracing the Hot Way(underjord.io ↗)

3 points · by lawik · 8mo ago · discuss

comment 8mo ago · link · parent

The cadence these topics were written in was so Apple keynote video that I had Tim Cook's voice presenting it in my head. I hope that's not just me.

More in the topic. Good that Windows Update will suck less. Did the Discover-something-or-other-imply less start-memu ads, I couldn't tell..

16.

Shipping grayscale photos at small scale(underjord.io ↗)

2 points · by lawik · 8mo ago · discuss

17.

I juggle embedded projects (2021)(jaycarlson.net ↗)

2 points · by lawik · 8mo ago · discuss

18.

My first steps in public speaking and how you can do it(anita219.github.io ↗)

1 points · by lawik · 9mo ago · discuss

comment 9mo ago · link · parent

I believe the OSS part of this oban library covers a lot of the celery feature set and is free as well. You can run multiple nodes and knock yourself out without needing more infra than the existing postgres.

Oban has been a free and OSS project in Elixir for ages. There are some more advanced bits that are paid and that sustains the people that make it.

If you like Celery. Great. This is a different take. I didn't enjoy celery last I needed it but never got super familiar.

comment 9mo ago · link · parent

Not necessarily easy to do performantly, scalably and well. Oban has been doing this in Elixir at real scale for a decent while now.

Why do you need a tool? Well. You say celery. I am inclined to say Oban. And I'd say both are tools.

21.

Beam Bots – Resilient Robotics(beambots.dev ↗)

5 points · by lawik · 10mo ago · discuss

22.

Goatmire Elixir 2026 Announced(underjord.io ↗)

1 points · by lawik · 10mo ago · discuss

comment 1y ago · link · parent

I wonder if the limitation of the application processor and Linux starting is mostly a default for the standard OS or an actual limitation. Typically with a hybrid SoC like this part of the point is that you can use the micro-controller as the power efficient thing that decides when the bigger application processor should boot or not. I'd be curious to see if that's possible with this one.

Shipping only Debian to start is fine by me. It has to start somewhere. And they seem quite responsive to making it work with other things. James Harton is plugging away at getting it working with Nerves (https://nerves-project.org) and he has it running with Buildroot already. Current repo: https://github.com/jimsynz/buildroot

Most recently they pushed their special sauce for the bootloader and how to produce the relevant mystery binaries. https://forum.arduino.cc/t/buildroot-support-for-uno-q/14108...

I share the sentiment that I don't trust that there won't be issues with Qualcomm over time. That company does have some pretty relevant chips though so I'm hopeful this means that we see them become more accessible on SBCs and embedded boards. I feel like they've been popping up more and more.

If they value this investment in Arduino they should now have a small wing of the company that pushes for things to be more open and even if they only consider that a marketing vector, if things are opened up for that purpose, quite possibly a win. But Arduino might also be absorbed into the amorphous megablob and this is the last we see. I hope not.

I don't think this board is that weird. It is just coming from the Arduino side and moving into Raspberry Pi territory. Personally I want to run Nerves on the application processor and get some practice with Zephyr on the MCU. Seems to already be supported: https://docs.zephyrproject.org/latest/boards/arduino/uno_q/d...

Also why no mention of the LED matrix. This is something RPi devices fail at. Providing som default way of neat output. First time plugging this in it starts doing fun stuff.

comment 1y ago · link · parent

It seems to be RJ11 and they might be spec:ed slightly differently (thicker leads?) to power motors. I get the impression it is mainly to control what can be used in competitions.

This was what I found from skimming around: https://www.robotevents.com/V5RC/2018-2019/QA/35

I doubt it is Ethernet at all, so it wouldn't be Power-over-Ethernet. Just some useful connectors and wires making for an appropriate cable. Also seems like you can make your own perfectly fine. Or they might melt. I suppose try it.

comment 1y ago · link · parent

Funny!

Now that Kurt doesn't have commit access, who do I ask to get internal Fly Slack bot fizz off of my behind.

I was in a devrel channel for a short while and ever since it has asked me to write updates in a channel I don't have access to. Frequently.

26.

Livebook – Code Notebooks on Elixir(livebook.dev ↗)

2 points · by lawik · 1y ago · discuss

27.

Flutter on Embedded Linux Devices with Elixir(hexdocs.pm ↗)

2 points · by lawik · 1y ago · discuss

28.

Commanded – Event Sourcing and CQRS with Elixir(hexdocs.pm ↗)

2 points · by lawik · 1y ago · discuss

29.

Interoperability in 2025: Beyond the Erlang VM(elixir-lang.org ↗)

2 points · by lawik · 1y ago · discuss

comment 1y ago · link · parent

I think Intel wants to stay alive so they are looking for a lifeline and the current administration wants to bring chip production into the US.

Intel's death would be very embarassing to that whole effort. So Intel has incentives (survival) and the administration has incentives (jobs in the US). The method is "whatever can be claimed as a win".

No US party seems particularly capable or keen to hold an ideological line but especially not the GOP from what I've seen. Not saying other countries have particularly impressive parties either. I'm less than thrilled with ours over here.

12345
19