MurphyA/hacker-news huggingface dataset:
by twothreeone | 2025-07-23 16:32:05+00:00
I think you're missing an important aspect: how many users do you want to support?

> For comparison, you can buy a DGX B200 with 8x B200 Blackwell chips and 1.4TB of memory for around $500k. Two systems would give you 2.8TB memory which is enough for this.

That would be enough to support a single user. If you want to host a service that provides this to 10k users in parallel your cost per user scales linearly with the GPU costs you posted. But we don't know how many users a comparable wafer-scale deployment can scale to (aside from the fact that the costs you posted for that are disputed by users down the thread as well), so your comparison is kind of meaningless in that way, you're missing data.
by _acco | 2025-07-23 16:32:09+00:00
It doesn't matter as much as you think. I believe this is in part due to how assertive most Elixir code tends to be. [1] These assertions not only aid the LSP and can cause compiler warnings/errors, they also help LLMs just like types do.

Still, every release now contains new type system features. Next up is full type inference. [2] After that will be typed structs.

[1] José Valim giving his balanced view on type systems: https://www.youtube.com/watch?v=giYbq4HmfGA

[2] https://hexdocs.pm/elixir/main/changelog.html
by BirAdam | 2025-07-23 16:32:28+00:00
A gun can stop an attacker whether human, ursine, or large feline.

A gun can be used for recreational shooting.

A gun can just be an historical collectors' piece.

A gun can be used in researching bullet proof vests and other equipment for a startup looking to sell to law enforcement/military.

There are many reasons for gun ownership. Ultimately, the reason should be that the individual is free to do as he/she chooses so long as he/she doesn't initiate a violent interaction.

The most often cited reason for banning firearms is the prevention of school shootings. For some reason, everyone is focused on the gun and not the fact that students wish to do violence at schools. What is it about the modern educational system that students wish to perpetrate violence in the schools to other students and teachers? Why isn't the mental health of the American youth at the center of this conversation?
by wavemode | 2025-07-23 16:32:30+00:00
There are a large number of companies using Elixir, in small or big ways: https://elixir-companies.com/en/companies

Elixir also does not stand alone - the storied history of Erlang/BEAM in mission-critical distributed systems needs no introduction. Elixir lives within, and benefits from, that same ecosystem of libraries and tools.

So yeah I'm not sure what you believe there is to "introspect" about, nor to what end.
by autoexec | 2025-07-23 16:32:40+00:00
> RV dwellers say San Francisco should open a safe parking lot where residents could empty trash and access electricity. But city officials shuttered an RV lot in April, saying it cost about $4 million a year to service three dozen large vehicles and it failed to transition people to more stable housing.

you can't transition people into housing that either doesn't exist or isn't affordable. I sure as hell wouldn't want to move into a shelter if I already had an RV. Seems like getting rid of them will just lead to more people on the streets and I'd much rather see an RV park than a tent city.
by general1726 | 2025-07-23 16:32:57+00:00
There are also lot of ways how to sabotage this especially if you are a political party aimed at pensioners and your whole program is "we will increase pensions" which is more and more common in Europe.

As amount of pensioners grow, their political power does too and their interest in future of the country is about zero. Why should they care, it is not their future.
by sherr | 2025-07-23 16:33:01+00:00
Looking forward to the release.

I use Debian Stable on almost all the systems I use (one is stuck on 10/Buster due to MoinMoin). I installed Trixie in a container last week, using an LXC container downloaded from linuxcontainers.org [1].

Three things I noted on the basic install :

1) Ping didn't work due to changed security settings (iputils-ping) [2]

2) OpenSSH server was installed as systemd socket activated and so ignored /etc/ssh/sshd_config*. Maybe this is something specific to the container downloaded.

3) Systemd-resolved uses LLMNR as an name lookup alternative to DNS and pinging a firewalled host failed because the lookup seemed to be LLMNR accessing TCP port 5355. I disabled LLMNR.

Generally, Debian version updates have been succesful with me for a few years now, but I always have a backup, and always read the release notes.

[1] https://linuxcontainers.org

[2] https://www.debian.org/releases/trixie/release-notes/issues....
by franciscop | 2025-07-23 16:33:13+00:00
Thanks! From your article, you might not want/like my library since it's based on a single easing function. I used a cubic function to find out the interpolation values, and the derivative to make sure it's always smooth. The equation looks like this, it's on the source code:

https://www.wolframalpha.com/input/?i=x+%3D+2+*+t+%5E+3+-+3+...

If you wanted some more details please feel free to ping me (email through my website's resume, or Twitter) and I'll dig the handwritten equations.
by _peregrine_ | 2025-07-23 16:33:19+00:00
Pretty solid at SQL generation, too. Just tested in our generation benchmark: https://llm-benchmark.tinybird.live/

Not quite as good as Claude but by the best Qwen model so far and 2x as fast as qwen3-235b-a22b-07-25

Specific results for qwen3-coder here: https://llm-benchmark.tinybird.live/models/qwen3-coder
by chubot | 2025-07-23 16:34:14+00:00
Ah OK that's interesting ... so I guess ReprOS saves other projects the effort of doing that themselves!

I am honestly not sure how much effort it would be; I was thinking about doing it / verifying it for https://oils.pub/ , which has a large build process

But it may save time to use ReprOS. I'll look at it more - it sounds interesting!
by owenversteeg | 2025-07-23 16:35:24+00:00
Perhaps you are just a simple software developer, but there are plenty of people here who are genuine experts in every field imaginable: I have had intelligent discussions here with everyone from neuroscientists to microbiologists to carpenters to machinists.

More to your point, I think the modern idea that people must stay confined to their specialty is ridiculous. Not long ago it was common to have intelligent discussions - or do serious work - on topics where you had no formal education or experience. All of that occurred without the internet. Look at the early days of, for example, the Manhattan Project. Not a trivial undertaking, and yet many of the men did countless tasks where they had zero training or experience. Look at the history of any scientific field or large engineering project. For all of human history that is how it was: and now if you want to replace a toilet valve, or a lightswitch, or comment about a scientific topic, you must hire someone with the appropriate credentials.

Back to my point - as a matter of fact I do have a professional perspective on the question of indoor air pollutants. Perhaps not the credentials you seek, nevertheless: I develop consumer products for the home, and levels of indoor air pollutants are now high enough - due to precisely the causes I originally mentioned - that they are beginning to cause nasty interactions that destroy the products of my industry via fouling and corrosion. In fact, the professional associations for my industry have written extensively about the scale of the problem and several companies have invested significantly in R&D to identity solutions. In other words, the air we breathe is damaging the things around us; could it not damage our lungs as well? I do not make any absolute statements, but I think a serious discussion should be had and I see no reason that it shouldn’t also happen on HN.
by johnisgood | 2025-07-23 16:35:37+00:00
I do not disagree. It should be focusing on the fact that a student wanted to cause violence. It could have been done through a gun, a knife, a fork, and a thousand different items. In fact, a fist may suffice. Or an item that is readily available at schools. Any item. That said, guns are especially good at "harm as many as possible". Just like bombs are.
by daxfohl | 2025-07-23 16:35:44+00:00
Sandbox alone wouldn't have helped here though. The failure (deletion of files) happened inside the project folder.

What it really needs is a (preferably deterministic) way to revert any sequence of changes and get you back to the original state. And big warning messages before it can do anything that doesn't have an associated rollback command.

Granted, that's not entirely sufficient either; rolling back the creation of a security hole doesn't undo whatever information was leaked while it was open.

I kind of wouldn't be surprised if safeguards for this sort of stuff ends up being a larger industry than AI agents themselves. It really requires a whole rethink of how systems are designed, but without it, the value we can get from AI agents will be severely limited.
by freedomben | 2025-07-23 16:35:45+00:00
> Gnome 3 took this weird tablet approach like Windows 8 did and it felt like they were playing "keeping up with the Jones's" instead of making a solid user experience.

It definitely did feel like they were getting ready for mobile/tablets when they designed and released Gnome 3, but I felt they did (and do) a great job at making a fantastic desktop and mobile interface. I was a vocal advocate at the time basically saying, "Yes let's consider how it will work on mobile, but we can't compromise the desktop experience in pursuit of it." I do think they went a little too far on minimalism (for example, the lack of system tray to this day still irks me, and although I don't like to install extensions, that one is a must), but they did make a beautiful desktop that functioned very well for desktop/laptop use. The keyboard-driven nature makes it a joy for me, and the toolbar and hot corner make it very usable for a mouse-driven user. Even plain Gnome 3 is plenty usable, and among non-technical family members who I've installed Linux for, they generally love it and it's simplicity. For more power users, extensions are a thing (though I would agree the dev landscape for them is awful and it's in part because of the Gnome team's decisions).

I would love to see them build in a system tray, and try to make the APIs more stable from release to release so extensions aren't on a constant treadmill of breakage.
by ch4s3 | 2025-07-23 16:35:46+00:00
If you can't get Elixir to work well in k8s, you're simply doing it wrong. Yeah you can build a lot of what k8s offers on the BEAM on a bare server but you don't have to at all. Elixir offers modern telemetry that works really well with pretty much any monitoring tool, and give you a lot of introspection into the internals of the VM if you need it. "Let it fail" works just fine in k8s, you can run a supervision tree in a container and have it manage process restarts internally just fine, its just an added layer of fault tolerance. Sure, you can't easily have long running stateful processes if you're doing a lot of blue-green deployments, but you probably don't need to do that most of the time.

If you don't know Elixir and the BEAM well, of course you're going to have a bad time. That's true of any language.
by xg15 | 2025-07-23 16:35:53+00:00
Is there any data on the performance cost of JS/WASM context switches? The way the architecture is described, it sounds as if the costs could be substantial, but the approaches described in the article basically hand them out like candy.

This would sort of defeat the point that WASM is supposed to be for the "performance critical" parts of the application only. It doesn't seem very useful if your business logic runs fast, but requires so many switching steps that all performance benefits are undone again.
by bachittle | 2025-07-23 16:36:00+00:00
This is why I still use VS Code with AI features off and none of the AI integrated IDEs. It's not that I don't use AI. It's just that having the AI de-coupled from editor makes it much easier to separate concerns. Some days I don't feel like using AI and just need to edit one line. Other days I want to do a major sprint and test the latest AI and see if it will accomplish the task.
by modulared | 2025-07-23 16:36:18+00:00
> I could disable autoadding files, but life will be worse that way.

``` [snapshot] auto-track = 'none()' ```

This is what I do, and I don't think it is worse. I prefer not having all my ignored files auto-tracked when I accidentally go back to a commit without them in the .gitignore

Some other solutions (which aren't simple at all): - Remove specific files from auto-track - Have a private commit with changes to the .gitignore and work on top of a merge commit - Like last one, have a private commit with the files you don't want to push (+ merge)

I have it setup where any commit with a description that starts with "IGNORE:" is private.

snippet from my config: ``` [git] private-commits = ''' description(regex:"(?x) # (?x) enables the x flag (verbose mode) allowing comments and ignores whitespace # see: https://docs.rs/regex/latest/regex/#grouping-and-flags

# Ignores commits starting with: # (case-insensitive) PRIV: or PRIVATE:, or IGNORE: ^(?i:PRIV(ATE)?): | ^IGNORE: ")

''' ```
by jon-wood | 2025-07-23 16:36:58+00:00
Sure, if your a company which is fully bought into ephemeral containers running on Kubernetes then Elixir is probably not going to be a great fit for you. I have once introduced it into a company like that and eventually the same thing happened, the application got rewritten in a language that fits the paradigm better.

If I were starting a new company today though I'd probably go with Elixir, and then I simply wouldn't bother with containers, Kubernetes, and schedulers. Just run some servers and run the application on them, let them cluster, and generally lean into the advantages.
by mikeocool | 2025-07-23 16:37:03+00:00
That's basically the case when you have AI mode on in Zed today.

The four AI features in Zed (that I'm aware of) are:

* autocomplete -- this can be turned on and off separately from the AI features toggle, and can be put into 'subtle' mode, where you have to hold a key to see the completions.

* inline AI editing -- only activated by hitting ctrl-enter, otherwise you'll never see it.

* agent/chat editing -- you can disable the right-side chat panel, and you'll never see/use this.

* AI generated commit messages -- there's a button you hit in the commit message panel to activate this.
by f33d5173 | 2025-07-23 16:37:49+00:00
If a definition of genocide is sensitive to where we mark the start and end of the genocide, then it isn't a very good definition of genocide. We can do the same thing with area: suppose some ethnic group was being genocided in a particular region, but overall population growth of that group was positive. Does that make it no longer a genocide? Clearly not.
by dogleash | 2025-07-23 16:38:26+00:00
I wonder how much it's changing the learning curve vs just making the experience more comfortable.

>For someone who spent a decade as a “Ruby developer,” becoming a multi-language developer in less than a year feels revolutionary.

Revolutionary? They've snitched they have no frame of reference to make that claim. It would have taken "less than a year" with or without AI. They just spent 10 years not trying.

Everyone's first language learning experience is also learning to program. Learning a new language once you have years of professional programming practice is completely different.
Finding New Opportunity
by nikunj___2 | 2025-07-23 16:40:13+00:00
Hi there, I'm Nikunj Makwana, a full-stack developer. I work with Next.js, React, TypeScript, Tailwind, Express, Prisma, Postgres, MongoDB, and Solana wallet adapter to build fast, scalable apps end-to-end.

Portfolio site: https://nikunj-portfolio.vercel.app/ GitHub: https://github.com/Nikuunj LinkedIn: https://www.linkedin.com/in/makwana-nikunj/

If anyone here knows about any opportunities in frontend or full-stack development (remote preferred), please let me know.

Thanks, Nikunj
by eightysixfour | 2025-07-23 16:40:51+00:00
What are you talking about?

LA to NYC first class (lie flat) on American = $3k LA to NYC on a super-midsize PJ (seats 8) = ~$50k

Even empty legs cost way more than this:

Miami to NYC on a Citation X = $24k

Not only that, but on a cross-country flight, the commercial first class is more comfortable than a midsize.
by sdoering | 2025-07-23 16:40:51+00:00
> That being said, I am eyeing up Framework for next laptop.

Same here. Had the 2017-era MBP (pre-M1 days). Still miss my 2014 though - that thing was solid.

The newer Intel ones ran stupidly hot, especially driving 4K externals at full res. Add corporate "compliance software" (read: bloatware that shall not be named) and those machines basically lived at 80-90°C. Heat up in the morning, thermal throttle all day, cool down overnight, repeat.

Our IT dept tracked failure rates - roughly 0.5-1.5% (depending on holiday season or not) of the MBP fleet was always out for thermal-related repairs at any given time. Not exactly confidence-inspiring for a $3k+ machine.
by kevin8704 | 2025-07-23 16:40:58+00:00
Awesome! It looks like you’re building a “reasoning tree” approach with runtime-level context engineering and pruning.

Quick question — how does the context-pruning mechanism decide which KV states to discard vs. retain? Just trying to understand how it balances memory efficiency with reasoning depth.

I’ll sign up and try out the API — excited to try it out!
by tl | 2025-07-23 16:41:03+00:00
While Elixir is my current favorite language to hack in, it is very alien and downright hostile to integrating with existing systems. For example, relational database support was postgres focused for a long time (to the exclusion even of SQLite and continued inability to talk to Oracle). Then you have articles like https://dashbit.co/blog/you-may-not-need-redis-with-elixir pushing ETS over Redis. While it's a valid argument, it's not adoption-friendly.

Clojure brings about half the novelty of Elixir, runs on the JVM and still struggles to replace Java.
by npteljes | 2025-07-23 16:41:04+00:00
Same for normal people, for example with any paid internet service. They watch 2 hours of youtube every day, but to pay a pittance for YouTube Premium? Unimaginable, how dare they ask for anything for the service. In every thread where it comes up, people act like it's pulling teeth. And also, microtransactions work because of the same reason. People's relationship with paying for things is complicated.
by hiAndrewQuinn | 2025-07-23 16:41:10+00:00
Most people who work in non-mainstream languages are, to some extent, making a statement. They care more about X than mere "popularity". (Sometimes X is money, hence why I still have Anki flashcards in rotation on OCaml, Intersystems Cache and Powershell.)

If they do want "popularity" then the counter-counter-point is that it should be easier to get than ever. Just have one proficient person write a lot of idiomatic, relatively isolatable code, and then have an AI generate terabytes upon terabytes of public domain licensed variations and combinations on that code. If you make programming in the small a breeze, people will flock to your language, and then they can discover how to program in the large with it on their own time.
by ceejayoz | 2025-07-23 16:41:12+00:00
Probably a bit like this.

https://en.wikipedia.org/wiki/Haskell_Free_Library_and_Opera...

> Until 2025, patrons from Canada were permitted to enter the United States door without needing to report to customs by using a prescribed route through the sidewalk of rue Church (Church Street), provided that they return to Canada immediately upon leaving the building using the same route.
by creesch | 2025-07-23 16:41:17+00:00
Have you ever paid close attention to those questions though? Deep research can be really nifty, but I feel like the questions it asks are just there for the "cool factor" to make people think it is properly consider things.

The reason I think that is because it often ask about things I already took great care to explicitly type out. I honestly don't think those extra questions add much to the actually searching it does.
by zamalek | 2025-07-23 16:41:25+00:00
I'm currently migrating some stuff from azdo to GHA, and have been putting past lessons to serious use:

* Perf: don't use "install X" (Node, .Net, Ruby, Python, etc.) tasks. Create a container image with all your deps and use that instead.

* Perf: related to the last, keep multiple utility container images around of varying degrees of complexity. For example, in our case, I decided on PowerShell because we have some devs with Windows and it's the easiest to get working across Linux+Windows - so my simplest container has pwsh and some really basic tools (git, curl, etc.). I build another container on that which has .Net deps. Then each .Net repo uses that to:

* Perf: don't use the cache action at all. Run a job nightly that pulls down your code into a container, restore/install to warm the cache, then delete the code. `RUN --mount` is a good way to avoid creating a layer with your code in it.

* Maintainability: don't write big scripts in your workflow file. Create scripts as files that can also be executed on your local machine. Keep the "glue code" between GHA and your script in the workflow file. I slightly lie here, I do source in a single utility script that reads in GHA envars and has functions to set CI variables and so forth (that does sensible things when run locally).

Our CI builds are stupid fast. Comparatively speaking.

For the OP (I just sent your pricing page to my manager ;) ): having a colocated container registry for these types of things would be super useful. I would say you don't need to expose it to the internet, but sometimes you do need to be able to `podman run` into an image for debug purposes.

[1]: https://docs.github.com/en/actions/how-tos/writing-workflows...
by benmmurphy | 2025-07-23 16:41:29+00:00
phoenix live view is effectively built around the assumption that the server process never dies and never restarts. its a very dubious model for a production deployment.

> what happens when the server restarts / connection is lost / server dies?

> you lose all of the current client state but you can work around this by persisting all the client state somewhere.

> oh, so why am i using live view again?
by igouy | 2025-07-23 16:41:48+00:00
> minimal filler

13:45 -- "He's like, inheritance was like really powerful, but people just didn't know how to use it. Novices and experts apparently both couldn't use it, right. It was just uh you know, it's really good, but no one can figure out how to use it, I guess. Uh so that's a little bit weird."
by daxfohl | 2025-07-23 16:41:49+00:00
I think the files have to be somewhere, just not on the desktop. Maybe root folder or, is it possible to make a folder named ".."? The first step called "move" and the subsequent "read" showed no files, only folders, left in the original directory. I can't imagine any way that "move" turns into a delete command. Maybe possible, but seems unlikely. I'd keep looking for them.
by _mlbt | 2025-07-23 16:42:28+00:00
That is largely the case here in the United States as well, minus the part where housing is a right. In practice, there is a lot of support available in the form of public assistance, private charities and religious organizations, and just good old fashioned help from family, friends, and neighbors. The sad truth is that many of the homeless are out on the streets because they have completely burned through their support network, often due to drug addiction or refusing to be treated for severe mental illness.

I think providing a place to live is only a small piece of the puzzle to solving homelessness.