Hacker Newsnew | past | comments | ask | show | jobs | submit | pageandrew's commentslogin

This is so cool.

Why is Elixir better suited for agents?


I maintain Elixir and Rails applications. In my opinion, almost all LLMs handle Elixir better. I suspect, though do not know, being an immutable functional language and composing applications in a functional style makes it easier for the models to "reason" about the code and state. I learned very quickly that this is my preferred language for that very reason.

Additionally, the features available in the BEAM and OTP mean the agents have built-in tools for many things that would require reaching for 3rd-party libraries or even additional services. This means less variability in design as the models will happily use all the language features human developers would have to learn about and understand over time to use effectively. Not that this isn't important, but I believe models do a better job steering you to obvious and optimal solutions with Elixir.

The new type system is only going to make it better.


An agent that was looking at the log output from a program in a typical language, and also looking at the code for that program, would have a lot of unanswered questions related to "how do I iterate on this?" Maybe there's a kubernetes cluster involved somewhere. Maybe it there's a cloud storage bucket. Maybe there's dashboards and metrics and telemetry hosted by servers that the agent doesn't know the name of.

Elixir runs on the BEAM which lets you do hot code reloading process at a time. And these are much more lightweight than your typical OS process. So you can do things on the BEAM which would be just crazy to do on other achitectures. Like if you have a server which needs to support a million users, it would be insanity to run a million separate OS processes for the job. But BEAM processes are so lightweight that you can do that, which gives each one isolation from misbehavior of the others.

And since these support hot code reloading, without restarting the BEAM's OS process, you can patch the code for your user's sliver of the server and do a sort of "what-if" experiment. Other architectures would require you to implement separate test environments or complicated feature flag systems, but the beam lets you just reach out and change it for just the process you care about--you're not baking the experiment into an OSI image or anything so dangerous as that... blast radius is kept small.

And the steps for carrying out this experiment, it's all doable at the elixir shell. You connect to the BEAM and make changes. That's a tremendous reduction in context that an agent needs to load--context which would otherwise instruct the agent about how to reason about the deploy process and how to wall off your experiment from others so as to not cause problems with it is just answered implicitly by how the BEAM works.

Elixir compiles to BEAM bytecode, so you get all of this because the BEAM is cool. As for Elixir as a language... I don't think there's anything agent-specific about it. Gleam might be a better choice since it's statically typed and also compiles to BEAM bytecode except that it's not as popular as Elixir, which is probably more important.

You can also do all of this in the language that started it all: Erlang (Java : JVM :: Erlang : BEAM) but it's not exactly fashionable at present (similar to java vs like... kotlin or clojure or something).

Disclaimer: I'm more of a fan than a seasoned pro. I'd love to actually be working with this stuff daily, but my team wouldn't have it because they prefer familiar things and pain.


It's vibes all the way down.


I think there's actually something to it: https://x.com/josevalim/status/2019422467446698493


I that case so is Clojure.


Canadian border control has the legal authority to search your phone and you are obligated to provide a password.


Are you a Canadian lawyer? I did some research and your statement doesn’t hold up.

CBSA policy does state you are obligated to provide your password if they are conducting a lawful device examination, however they cannot do it arbitrarily, and they must have a legal basis for searching the device.

> CBSA policy states that examinations of personal devices should not be conducted as a matter of routine; such searches may be conducted only if there are grounds or indications that “evidence of contraventions may be found on the digital device or media.”

Furthermore, Canadian courts have not yet definitively ruled on whether compelling password disclosure is constitutionally permissible.

This is very different than the US, where CBP can conduct a basic search without any individualized suspicion.

So, Canada and the US are definitely not the same, which seems to be the implied meaning behind your comment, and your explicit statement that CBSA has legal authority to search your phone is, at best, misleading.

I’m not a lawyer or a legal expert so I could be wrong, so feel free to correct me if you have Canadian legal experience.

https://www.priv.gc.ca/en/privacy-topics/airports-and-border...


US CBP is also not doing phone searches as a matter of routine.


> - Independent drill-downs in the Branches/Commits panels (deliberate, not a port artifact)

> (deliberate, not a port artifact)

Smells like AI


Also lots of "genuinely" and some air quoted phrases which are another tell.

I guess you folks are right and it's probably the llm filter. I looked at the GitHub and thought it had too many screenshots to not have had some human effort, but who knows these days.


Source? Do you seriously think the US just agreed to accept Iranian nuclear enrichment?


Israel, I would think, would claim that Iran getting the bomb would be existential to them, so I don't think it's reasonable to think that Israel would agree to allowing enrichment.

I'm a little surprised that recognizing Israel as a nuclear power isn't in Iran's list of demands, considering how destabilizing it would be.


Yeah, but they’ll just keep killing every nuclear scientist that gets closed to doing anything like they’ve been doing for decades.


Yes. From what I've read, they can't stop enrichment unless they deploy soldiers for occupation and they are unwilling to do so.


Yes, Trump is playing this as a two week period only so they could enrich for the next two weeks.

Things have slide backwards.


The CIA (lets for now ignore the alleged Director of the CIA) has for years been saying Iran does not have a nuclear weapons program. Iran has been saying for years it does not have a nuclear weapons program. Every country has the right to pursue a civilian nuclear energy program.


The IAEA said earlier this year that Iran had enriched uranium to 60%. Uranium is enriched to 3-5% for nuclear energy, and 90%+ for weapons.

Don't be silly. Iran has a nuclear weapons program. Were they actively racing to a bomb? No. (That's what the CIA was saying). Did they enrich uranium to near-weapons grade so they _could_ race to a bomb, in a matter of weeks, if they decided to do so? Absolutely.

https://www.reuters.com/world/middle-east/iran-stored-highly...


They need one or at least the idea of one if they want to deter Israel who has 200/300 bombs. If they don't want to end up like Iraq or Syria they kind of need this.


This is when people like me comment "According to US media, Iran has been a matter of weeks away from developing a nuclear bomb for over 20 years now".


Their now dead leader wrote a fatwa against nuclear bombs (as well as chemical bombs). Probably because Saddam using US chemical bombs on more than 50000 civilians a few decades ago did radicalize him against WMD.


It's as if the person your replying to is intentionally being misleading


If you're responding to me, no I'm not.

US intelligence agencies continue to state Iran does not have a nuclear weapons program. They just don't.

https://www.dni.gov/files/ODNI/documents/assessments/ATA-202...

https://www.cnn.com/2025/06/17/politics/israel-iran-nuclear-...

https://www.wsj.com/world/middle-east/israel-built-its-case-...

https://www.nytimes.com/2025/06/19/us/politics/iran-nuclear-...

They definitely have a 'nuclear program'. They have a 'nuclear program' to generate energy. They are a country on this earth and have the right to do this.

Just because we play rhetorical tricks and try to equate "nuclear program" with "nuclear weapons program" does not make it true.


For various reasons I'm inclined to agree that Iran likely doesn't have much of a nuclear weapons program beyond enrichment.

That doesn't mean that they lack plans or means to advance one, and they certainly have the talent.

As for US intelligence agencies, it's worth being reminded they've let slip nuclear weapons development programs before: https://www.everycrsreport.com/reports/98-672.html


Building a nuclear weapon that can be carried by Iraq's missiles is relatively difficult, because miniaturizing nuclear weapons requires much more complex designs. It took the US and the USSR quite a few test explosions to achieve such a warhead.

Building a bulky nuclear weapon that fits in, say, a shipping container, is not hard if sufficient highly enriched uranium is available. That's Hiroshima level nuclear technology, the gun-type bomb.[1]

This is the difference between the "years away" and the "weeks away" estimates. Depends on whether the the delivery method is an ICBM or a shipping container.

[1] https://en.wikipedia.org/wiki/Gun-type_fission_weapon


To be 100% fair to the GP: indeed, Iran does not currently have an active weapons program. But they do have a weapons program, but they used it so far more for leverage. The truth is nobody really knows what they would have done had they achieved the status of nuclear armed power. But given that even the mullahs understand that there is a bit of a difference between threatening to annihilate Israel and actually doing so with all of the consequences attached to that I think they would be more like Kim or Putin than say the UK or France. They would use it for even more leverage and as insurance against being attacked.

Either way: the US is quick to say who can and who can not have nuclear weapons, but at the same time the US is the only country that ever did use them and it is one of very few countries that has (implicitly) threatened their use in recent memory. The only other two countries to do so are Israel and Russia.


Or maybe they know how much more difficult it is to go from 60% to 90%+?

Iran will pursue the bomb now with triple the effort they put into it so far. As will every other crappy country that has the talent, the facilities and the money. That's a lot of countries. Because all of them see the difference between Ukraine, North Korea and Iran: if you have the bomb, they leave you alone. Kim obviously had sponsorship.

The only thing holding back an Iranian nuke tomorrow is the fact that Pakistan and Iran do not see eye to eye on a few things. But Pakistan has vowed that if Israel should ever use nuclear weapons on Iran that Pakistan would hit Israel in the same way.

Keep in mind that they are right next door to each other and have a long term relationship.

https://en.wikipedia.org/wiki/Iran%E2%80%93Pakistan_relation...


When Trump canceled the Nuclear agreement with Iran, Iran immediately started enriching uranium into ship's reactor grade, and apparently started working on a nuclear submarine.

At the same time Iran emitted a domestic law prohibiting anybody from working towards nuclear weapons. The law was in effect up to the moment Trump ordered and killed the Ayatollah, by the way.


Is the iMac gone? I'm able to add an iMac with an M4 chip to my cart and Apple says it'll deliver tomorrow.

https://www.apple.com/imac/


Oh,! Thank you. I guess I was thinking of the last iMac 27" only (2020-202.


The point was about redundancy / geo spread / HA. It’s significantly more difficult to operate two physical sites than one. You can only be in one place at a time.

If you want true reliability, you need redundant physical locations, power, networking. That’s extremely easy to achieve on cloud providers.


You can just rent the rack space in datacenter and have that covered. It's still much cheaper than running that in cloud.

It doesn't make sense if you only have few servers, but if you are renting equivalent of multiple racks of servers from cloud and run them for most of the day, on-prem is staggeringly cheaper.

We have few racks and we do "move to cloud" calculation every few years and without fail they come up at least 3x the cost.

And before the "but you need to do more work" whining I hear from people that never did that - it's not much more than navigating forest of cloud APIs and dealing with random blackbox issues in cloud that you can't really debug, just go around it.


How much does your single site go down?

On cloud it's out of your control when an AZ goes down. When it's your server you can do things to increase reliability. Most colos have redundant power feeds and internet. On prem that's a bit harder, but you can buy a UPS.

If your head office is hit by a meteor your business is over. Don't need to prepare for that.


You don't need full "cloud" providers for that, colocation is a thing.


or just to be good at hiding the round trip of latency


These things don't really seem related at all. Its a pretty generic term.


FWIW, my immediate reaction was the same "That reminds me of NSA PRISM"


It reminded me of the code highlighter[0], and the ORM Prisma[1].

[0] https://prismjs.com/

[1] https://www.prisma.io/


It reminded me of the album cover to Dark Side of The Moon by Pink Floyd.


Same here.


Same, to the point where I was wondering if someone deliberately named it so. But I expect that whoever made this decision simply doesn't know or care.


I came here based to headline expecting some more cia & nsa shit, that word is tarnished for few decades in better part of IT community (that actually cares about this craft beyond paycheck)


And yet, the name immediately reminded me of the Snowden relevations.


They are farming scientists for insight.


Quality of life in places like San Francisco and New York is very high, and you get the insane salaries, and your healthcare is oftentimes mostly if not completely covered by your employer (I pay literally $0 out of pocket for high quality healthcare here in San Francisco).


> Quality of life in places like San Francisco and New York is very high

Quality of life is also a cultural thing. I know it's hard to understand for US people (I truly believe it is the case for cultural reasons), but many people really don't want the lifestyle of the US for all sorts of reasons. For some people, quality of life means easy access to healthy food, or to nature, seeing trees instead of giant concrete parking lots or 6-lanes highways, etc.


Have you ever been to San Francisco? How many 6 lane highways do you think exist in the city of San Francisco?

I can tell you (I live here) -- there are none. SF is one of the most beautiful cities on Earth, and I'm trying my hardest to visit as many cities on earth as possible.


The person you're responding to is claiming that Americans have to pay $10,000 for a 2 bedroom apartment, thus that is why the salaries are so high.

That isn't true unless you're looking to rent a luxury apartment in a big city.


I never said that.


Person above you did, my bad


Consider applying for YC's Winter 2027 batch! Applications are open till November 2.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: