frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Asynchrony is not concurrency

https://kristoff.it/blog/asynchrony-is-not-concurrency/
151•kristoff_it•4h ago•104 comments

Shutting Down Clear Linux OS

https://community.clearlinux.org/t/all-good-things-come-to-an-end-shutting-down-clear-linux-os/10716
18•todsacerdoti•30m ago•3 comments

How to write Rust in the Linux kernel: part 3

https://lwn.net/SubscriberLink/1026694/3413f4b43c862629/
27•chmaynard•1h ago•0 comments

Ccusage: A CLI tool for analyzing Claude Code usage from local JSONL files

https://github.com/ryoppippi/ccusage
14•kristianp•52m ago•4 comments

Silence Is a Commons by Ivan Illich (1983)

http://www.davidtinapple.com/illich/1983_silence_commons.html
59•entaloneralie•2h ago•9 comments

Broadcom to discontinue free Bitnami Helm charts

https://github.com/bitnami/charts/issues/35164
82•mmoogle•4h ago•45 comments

Wii U SDBoot1 Exploit “paid the beak”

https://consolebytes.com/wii-u-sdboot1-exploit-paid-the-beak/
63•sjuut•3h ago•7 comments

EPA says it will eliminate its scientific reseach arm

https://www.nytimes.com/2025/07/18/climate/epa-firings-scientific-research.html
61•anigbrowl•1h ago•25 comments

Multiplatform Matrix Multiplication Kernels

https://burn.dev/blog/sota-multiplatform-matmul/
44•homarp•4h ago•16 comments

lsr: ls with io_uring

https://rockorager.dev/log/lsr-ls-but-with-io-uring/
292•mpweiher•11h ago•151 comments

Valve confirms credit card companies pressured it to delist certain adult games

https://www.pcgamer.com/software/platforms/valve-confirms-credit-card-companies-pressured-it-to-delist-certain-adult-games-from-steam/
143•freedomben•8h ago•141 comments

Meta says it wont sign Europe AI agreement, calling it growth stunting overreach

https://www.cnbc.com/2025/07/18/meta-europe-ai-code.html
85•rntn•6h ago•119 comments

Trying Guix: A Nixer's impressions

https://tazj.in/blog/trying-guix
132•todsacerdoti•3d ago•38 comments

AI capex is so big that it's affecting economic statistics

https://paulkedrosky.com/honey-ai-capex-ate-the-economy/
181•throw0101c•4h ago•196 comments

Replication of Quantum Factorisation Records with a VIC-20, an Abacus, and a Dog

https://eprint.iacr.org/2025/1237
57•teddyh•5h ago•15 comments

Show HN: Molab, a cloud-hosted Marimo notebook workspace

https://molab.marimo.io/notebooks
61•akshayka•5h ago•8 comments

Mango Health (YC W24) Is Hiring

https://www.ycombinator.com/companies/mango-health/jobs/3bjIHus-founding-engineer
1•zachgitt•5h ago

Sage: An atomic bomb kicked off the biggest computing project in history

https://www.ibm.com/history/sage
12•rawgabbit•3d ago•0 comments

The year of peak might and magic

https://www.filfre.net/2025/07/the-year-of-peak-might-and-magic/
69•cybersoyuz•6h ago•35 comments

CP/M creator Gary Kildall's memoirs released as free download

https://spectrum.ieee.org/cpm-creator-gary-kildalls-memoirs-released-as-free-download
226•rbanffy•13h ago•118 comments

Show HN: I built library management app for those who outgrew spreadsheets

https://www.librari.io/
43•hmkoyan•4h ago•27 comments

Cancer DNA is detectable in blood years before diagnosis

https://www.sciencenews.org/article/cancer-tumor-dna-blood-test-screening
153•bookofjoe•5h ago•94 comments

A New Geometry for Einstein's Theory of Relativity

https://www.quantamagazine.org/a-new-geometry-for-einsteins-theory-of-relativity-20250716/
71•jandrewrogers•8h ago•1 comments

Show HN: Simulating autonomous drone formations

https://github.com/sushrut141/ketu
12•wanderinglight•3d ago•2 comments

How I keep up with AI progress

https://blog.nilenso.com/blog/2025/06/23/how-i-keep-up-with-ai-progress/
165•itzlambda•5h ago•85 comments

Benben: An audio player for the terminal, written in Common Lisp

https://chiselapp.com/user/MistressRemilia/repository/benben/home
46•trocado•3d ago•4 comments

Making a StringBuffer in C, and questioning my sanity

https://briandouglas.ie/string-buffer-c/
26•coneonthefloor•3d ago•15 comments

Hundred Rabbits – Low-tech living while sailing the world

https://100r.co/site/home.html
214•0xCaponte•4d ago•60 comments

How to Get Foreign Keys Horribly Wrong

https://hakibenita.com/django-foreign-keys
49•Bogdanp•3d ago•23 comments

When root meets immutable: OpenBSD chflags vs. log tampering

https://rsadowski.de/posts/2025/openbsd-immutable-system-logs/
126•todsacerdoti•15h ago•41 comments
Open in hackernews

Membrane: Media Framework for Elixir

https://membrane.stream/
165•lawik•2mo ago

Comments

victorbjorklund•2mo ago
This is such a cool project. Haven't used it for any serious things but just the ability to have a high performance media streaming framework inside of Elixir is amazing. You literally could build Twitch just using BEAM and nothing else (a Postgres database is probably good to have though).
clacker-o-matic•2mo ago
That would be the dream. Do you know of any major apps using elixir besides telecom?
dlachausse•2mo ago
There are several companies that are known to use elixir in production...

https://elixir-lang.org/cases.html

throwawaymaths•2mo ago
Tubi (relevant), Tvlabs, pagerduty, divvy

All not on the list.

There's also the legendary bleacherreport abandoning elixir and totally shooting themselves in the foot.

Several fintech companies moved off - brex, ramp. I think for brex they were told by VCs to hire XYZ CTO and the CTO couldn't elixir. Hilariously I ran into ramp people totally in the wild who complained that "they couldn't find elixir devs". I told them "you just randomly ran into one". I think their hiring processes were likely broken, but what's new in silly valley?

dlachausse•2mo ago
I don't understand the fixation on hiring $LANGUAGE devs. If you can't find any developers using your current stack, pay for a course or a book for them and train them on it. Training a competent developer to use a new programming language has to be easier, cheaper, and faster than rewriting your entire software stack.
throwawaymaths•2mo ago
If you're a cto hired in to a company you need to make your mark somehow.
jerf•2mo ago
You can always find stories of people moving off of stacks. Sometimes they just legitimately evolved in a direction the stack wasn't the best solution for. Sometimes they should never have picked the stack in the first place. Sometimes a new leader came in who had preconceived notions that the company needed to conform with. You really have to look at the specifics of the story to know if it's relevant to you.

In my very opinionated opinion, it's actually reasonably uncommon for me to read a story of someone leaving a stack and not classifying it as one of the things I listed above. Of the cases I would consider "legitimate", it's usually a performance issue; some languages and runtimes are just intrinsically slower than others, or at least, intrinsically slower without an unrealistic amount of effort. (Elixir would be middling here. BEAM is kind of between the dynamic scripting languages and the compiled languages. The interpreter is simple enough that it can run much faster than the dynamic scripting languages but it would be completely unacceptable performance for any compiled language. You can run out of performance in BEAM, but it does take a system that needs performance and some growth to get there.) The rest are probably complexity explosion of some framework, and this is almost always a UI framework problem.

luckywatcher•2mo ago
Divvy still uses Elixir extensively. I use to work there and still have many contacts there.
lytedev•2mo ago
Currently work here and we're definitely still building and supporting Elixir applications and enjoying it!
throwawaymaths•2mo ago
Thanks. Updated. Something about the best way to find an answer is to write an incorrect answer on the internet! ;-)
cultofmetatron•2mo ago
my startup is using elixir in production for the last 5 years. we are a cloud based restaurant POS.

no regrets. the ecosystem has been pretty solid for everything we've wanted to do. Stability/performance has been very good.

also: if you're looking for a high profile startup using elixir, supabase is almost entirely elixir and discord uses it for some critical parts.

rched•2mo ago
Are you willing to share the name of your startup?
cultofmetatron•2mo ago
https://blinqme.com/
atonse•2mo ago
We’ve been running elixir in production since 2017.

During the pandemic, our elixir app sent/received 45 million text messages, helped schedule 1.5 million vaccination appointments, and a few million COVID testing appointments.

It all scaled and performed flawlessly. Any bugs were our fault :-)

fridder•2mo ago
Cars.com did a pretty extensive rewrite to Elixir
vishalontheline•2mo ago
OkNext.io is built using Elixir and Phoenix framework, if you're considering building a Web App and looking for examples.
paradox460•2mo ago
PagerDuty, Pinterest, TheRealReal, Discord, Cars.com, Bleacher report
giancarlostoro•2mo ago
Discord, Facebook Messenger iirc was ejabberd and I think Google Talk was at one point? WhatsApp was ejabberd too iirc.
paradox460•2mo ago
ESPN also uses it, iirc for their sportsbook system
fouc•2mo ago
Discord was Elixir (and some Python) from the beginning. WhatsApp started with ejabberd though.
ettomatic•2mo ago
At the BBC we use Elixir quite extensively. I'll talk about this at ElixirConfEU in a few days if you are interested.
victorbjorklund•2mo ago
Cars.com, Discord, Supabase are some of the top of my head. And of course Whatsapp is Erlang (which is same thing but with, imo, more ugly syntax)
dlachausse•2mo ago
The BEAM even includes a database - Mnesia...

https://www.erlang.org/doc/apps/mnesia/mnesia.html

throwawaymaths•2mo ago
Honestly I think mnesia is one of those "don't use it unless you know what you're doing" things. Just use postgres.
jerf•2mo ago
Mnesia is not a database by any modern definition of the term and it should generally be avoided. It is at least 4 if not 5 orders of magnitude away from "being able to run Twitch". That is, yes, I'm serious, if you tried to run a Twitch clone "but 10,000x smaller" I would still expect Mnesia to completely fall over.
toast0•2mo ago
Mnesia worked well enough for us at WhatsApp while I was there; although we didn't use it to store messages; long term message storage is on the end points (generally sqlite), messages in transit (offline) were stored in a file per user with the import/export written in C IIRC. We did add redundant in memory storage of messages in transit; but I don't remember the storage there; may have just been ets.

We mostly used mnesia as a replicated key-value store, but we got a lot of value from having the data and the business logic colocated. Other nodes would send logical operations to processes on the mnesia node and those processes could run each operation one at a time on the data. Any concurrent logical requests for a given piece of data were implicitly serialized by the process mailbox. But almost all of our data was easy to shard, no high volume operations needed to address multiple tables.

We heard a lot of things about mnesia scalability limits that just didn't match up with our experience; so I don't know what other people were doing, but you can get a glimpse of what we were doing in the Rick Reed talks at Erlang Factory. We certainly had some scalability challenges, but many (most?) are discussed in those talks; and my general recollection is that most of them were more like we were the only people running mnesia with tables of enormous size, so we had to make things work; but that's kind of how OTP is. The trickiest one to find, IMHO, was that IIRC mnesia_frag and ets (and our request sharding) all use(d?) the same hashing function, so adding more fragments would make distribution of keys per ets slot worse, ets wanted power of two slots, and would split based on average keys per slot, but we would have lots of keys on some slots and no keys on most slots. Changing the hash seed for ets was a 2 line code change that drastically improved performance on all of our sharded mnesia systems.

Another fun one is that if you use mnesia to store data for long periods, you have to be very careful with the binaries you store; it's easy to end up with refc binaries that have extra space for append operations; storing them in mnesia means that append space is allocated but unusable; you might also store a sub binary that's a small part of a refc binary, the underlying binary can't be disposed of until the sub binary is. For both of those cases, cleaning the binaries before storing them with binary:copy/1 can really reduce your memory use. There's probably some cases where you do want to store a sub binary though?

Mnesia doesn't (or didn't) include a good way to handle when two mnesia nodes sharing a schema disconnect and reconnect. We mostly solved that by ensuring our network was stable enough that that rarely happened. If your network is not stable, you will have a bad time with distributed Erlang in general, and Mnesia in specific.

If I were building Twitch but smaller, and on the BEAM, I would absolutely put account databases in Mnesia; but messages and media would probably live as files. I wouldn't tend to put those into a SQL database on a server either though.

victorbjorklund•2mo ago
That is not true. I dont use Mnesia because it is so different and thus harder for me than sql. But it is used. Klarna uses it. They are a pretty big company. Would I recommend it for most? No, but I also would not recommend cassandra and a bunch of other databases for most apps
schultzer•2mo ago
mnesia is great, and you can get very far before you would make the jump to anything else. And it can be way faster then any other database. For obvious reasons.

Although it would be great if it spoke SQL, maybe one day it will: https://github.com/elixir-dbvisor/sql since we can already pass it and get the AST.

troupo•2mo ago
And when you do have to jump off, you'll be screwed. Because the jump off is usually from in-memory Mnesia with guaranteed sub-millisecond responses to a proper database with at least a magnitude higher latency. And you realize that your app is completely dependent on sub-millisecond responses :)
schultzer•2mo ago
Low latency is addictive. And by the time when you think you might need to change you’re probably become such a skilled engineer that you realize that everybody that shit on mnesia does not know what they talk about. :)
Sean-Der•2mo ago
Fantastic project, and the team behind it is really good! The developers I have worked with are passionate about building things the right way (not just making it work/adding kludge).

I felt like I was seeing the future when I saw the visualization/rendering of PeerConnection stats on the server side. The video compositor is really neat also how they have it working with live modifications.

I wish I had more time/a chance to use it on a project myself.

mml•2mo ago
I really wish Nvidia had gone in this direction instead of gstreamer :/
AlphaWeaver•2mo ago
I looked at using this for a client project a few months ago. We use Erlang and Elixir at work, and it's my go-to for anything serious.

Be aware that parts of their stack use a custom license for some components... but a large portion of it is OSS Apache 2.0, which is nice if you can stick to those parts!

kingofheroes•2mo ago
I recall doing a tutorial for Exilir, the Phoenix framework in particular, a few years back and I actually enjoyed using it. Anyone know any good up-to-date tutorials someone could use?
malkosta•2mo ago
The official ones are still the best: https://hexdocs.pm/phoenix/overview.html and https://hexdocs.pm/elixir/introduction.html
tortilla•2mo ago
For Phoenix/LiveView, the pragmaticstudio's courses are great. I just completed https://pragmaticstudio.com/courses/phoenix
abrookewood•2mo ago
Second the Pragmatic Studio courses. If you want something free, this is a good channel: https://www.youtube.com/watch?v=0rpt5sMb7cw
nw05678•2mo ago
During my foray into Elixir I never found the develop environment as smooth as other languages.
bo0tzz•2mo ago
A bunch of work is currently going into improving that.
innocentoldguy•2mo ago
What do you mean by "develop environment"? Are you referring to IDE support or features like mix, IEx, pry, releases, etc.?

If the latter, Elixir has one of the best development environments, in my opinion. Mix is fantastic, releases are easy, and Elixir's error messages in IEx are the clearest I've seen in my 30+ year career.

I use Emacs to write code, and beyond syntax coloring, I don't want anything else, so you may have a point if you're talking about IDE support.

atonse•2mo ago
as others have said, there’s a lot of work going into improving the dev experience.

There were 3 LSP implementations. they’re getting combined, so IDE support should improve.

There’s technically a step through debugger, but it’s extremely slow if you actually get it working.

There is a new type system too.

neya•2mo ago
This is really cool! Not just that, we actually really needed something like this in Elixir for a lot of projects and always had to end up going with some NodeJS implementation. Thank you <3