HackerTrans
TopNewTrendsCommentsPastAskShowJobs

lawik

3,315 karmajoined 10 năm trước
https://underjord.io, [email protected] https://twitter.com/lawik @[email protected]

Podcasting on beamrad.io and regprog.com

Submissions

Injecting Tracing the Hot Way

underjord.io
3 points·by lawik·4 tháng trước·0 comments

Shipping grayscale photos at small scale

underjord.io
2 points·by lawik·4 tháng trước·0 comments

I juggle embedded projects (2021)

jaycarlson.net
2 points·by lawik·4 tháng trước·0 comments

My first steps in public speaking and how you can do it

anita219.github.io
1 points·by lawik·5 tháng trước·0 comments

Beam Bots – Resilient Robotics

beambots.dev
5 points·by lawik·6 tháng trước·0 comments

Goatmire Elixir 2026 Announced

underjord.io
1 points·by lawik·6 tháng trước·0 comments

Livebook – Code Notebooks on Elixir

livebook.dev
2 points·by lawik·10 tháng trước·0 comments

Flutter on Embedded Linux Devices with Elixir

hexdocs.pm
2 points·by lawik·10 tháng trước·0 comments

Commanded – Event Sourcing and CQRS with Elixir

hexdocs.pm
2 points·by lawik·10 tháng trước·0 comments

Interoperability in 2025: Beyond the Erlang VM

elixir-lang.org
2 points·by lawik·11 tháng trước·0 comments

Booting 5000 Erlangs on Ampere One 192-core

underjord.io
3 points·by lawik·11 tháng trước·3 comments

Virtual Linux Devices on ARM64

underjord.io
59 points·by lawik·11 tháng trước·5 comments

Usage Rules: Leveling the Playing Field for AI-Assisted Development

zachdaniel.dev
8 points·by lawik·12 tháng trước·1 comments

Making of an Elixir Conference

underjord.io
8 points·by lawik·năm ngoái·0 comments

Elixir YOLO library supporting custom models and YOLOX

poeticoding.com
3 points·by lawik·năm ngoái·0 comments

Why I wrote the BEAM book

happihacking.com
613 points·by lawik·năm ngoái·151 comments

LLMs and Elixir: Windfall or Deathblow?

zachdaniel.dev
7 points·by lawik·năm ngoái·0 comments

Elixir Observer, a better way to explore packages

mimiquate.com
2 points·by lawik·năm ngoái·0 comments

Software Architecture Is Aesthetic Work

blog.bethcodes.com
3 points·by lawik·năm ngoái·0 comments

Code Review Heuristic: Work You Throw Away

blog.bethcodes.com
2 points·by lawik·năm ngoái·0 comments

comments

lawik
·6 ngày trước·discuss
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.
lawik
·4 tháng trước·discuss
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..
lawik
·6 tháng trước·discuss
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.
lawik
·6 tháng trước·discuss
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.
lawik
·8 tháng trước·discuss
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.
lawik
·9 tháng trước·discuss
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.
lawik
·9 tháng trước·discuss
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.
lawik
·11 tháng trước·discuss
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.
lawik
·11 tháng trước·discuss
I've done this. The NIF worked as in that it ran and was a correct enough NIF. It did not work in terms of solving what I needed it to do. Iteration was a bit painful because it was tangled with a nasty library that needed to be cross-compiled. So when I made a change it seg faulted and I bailed.

I essentially ran out of patience and tried another approach. It involved an LLM running C code so I could check the library output compared to my implementation to make sure it was byte-for-byte.

The C will never ship. I don't have practice writing C so I am very inefficient at it. I read it okay. LLMs are pretty decent help for this type of scrap code.
lawik
·11 tháng trước·discuss
I wonder if they'll be satisfied there or add a chunk of others now that they've started. Parakeet is supposed to be good?

Should they add Voice Activity Detection? Are these separate filters or just making the whisper filter more fancy?
lawik
·11 tháng trước·discuss
I will consider it :)
lawik
·11 tháng trước·discuss
The advice in every consultation is either mouth-spoken or finger-written by a 100% organic (but not currently certified) entity.
lawik
·11 tháng trước·discuss
I really should see how many 1 million process BEAM VMs can fit...
lawik
·11 tháng trước·discuss
I found out that Ampere is into edge and telco usage way after we got connected to do this work actually. I've been an Elixir dev and through that connected to Erlang for 7-ish years.

But I will certainly try to leverage my telco-connection to get to play with more of their kit if I can.
lawik
·11 tháng trước·discuss
I was aware an Erlang being a unit though I'd forgotten what it measured. I Need to have my fun when giving titles to these things. Hope it fell within bearable tolerances.
lawik
·11 tháng trước·discuss
According to Robert Virding at an unnamed bar in Berlin ~3 years ago they just wanted to be like Pascal in terms of picking a mathematician. But Ericsson Language certainly helped sell it internally, I'm sure.
lawik
·11 tháng trước·discuss
True, worth tuning
lawik
·11 tháng trước·discuss
This probably got second-chanced or something because I posted it over a week ago. Funny that this went up here since the follow-up is probably more in-depth.

https://underjord.io/booting-5000-erlangs-on-ampere-one.html

Hope people enjoy it, both the technically interesting bits and the general goofiness of it all. I personally have enjoyed making the number go up.

I hope my co-fouunder on NervesCloud does some write-up on the allocator variations he has been trying. Every day he pops in and asks me to throw 5000 devices at the servers and see what they do. mimalloc, jemalloc and some others. Those two seem to do a better job with fragmentation for the BEAM than whatever we had by default, presumably from glibc.
lawik
·11 tháng trước·discuss
No. It is not necessary. I don't think I said it was.

You can absolutely simulate more IoT-devices. But in this case I don't have to simulate receiving OTA updates, rebooting, keeping state. It has some upside but it isn't the reason I've done it.

I think I mentioned that in both this and the previous piece that I started out doing the VMs for fun and that's still kind of the central point. "What can I do with 192 cores?" We'll have a good use of the artifacts of this work for testing the framework itself in ways where devices are useful.

As you say, if I wanted to stress-test the OTA service for real I could definitely just set up some libraries to make multiple connections instead of starting the whole machinery. You can make a lot more connections, throw a lot more work at the system. And depending on how fancy you want to get you can simulate a lot of device behavior.

Given that I happened to have a couple of thousand full-fidelity devices in my pocket we got some incidental testing of the service.
lawik
·12 tháng trước·discuss
Well I applaud their ability to get that bag. But in terms of raising the floor for a lot of people, this is not that.

I don't feel strongly about these salaries beyond them being an indication of deep dysfunction in the system. This is not healthy, for a market or for a society. No-one should be paid these amounts but I don't care about these developers because they don't run the system.

I've benefited from devs being paid well. Not that well. But same thing in concept.