MurphyA/hacker-news huggingface dataset:
by callc | 2025-06-22 17:05:06+00:00
I love python, have used it for years. I hate the dependency and multiple interpreter situation.

A great PL should stand on its own without the need for external tooling.

At this point I have given up on python except for if it’s a little script that only uses standard libraries. Otherwise I’m choosing a compiled language.

Some more thoughts: http://calvinlc.com/p/2025/06/10/thank-you-and-goodbye-pytho...
by _flux | 2025-06-22 17:05:48+00:00
I used git notes for marking which of my commits in my branch I had run the unit tests for (and thus my script would skip those). This was useful when working with open source upstream where you want the massage the branch to perfection with git rebase -i.

It seems git trailers would now be the better place to put that information.

Regarding change ids: I wish git itself had those, as then also the tooling would understand them. Identifying commits by their commit messages is fragile, in particular when you may update those for an MR. While commit id truly identifies the commit in a unique way, it is not a useful identifier when the same changes could be moved on top of some other commit.

edit: Oh it looks like they are actually part of the commit, whereas notes aren't, so it wouldn't be a good replacement for my use.
by mannyv | 2025-06-22 17:06:22+00:00
If you stash the IP/netmask/router IP you might be able to get it to work by setting a static IP on the connection with a 0 MAC address.

As always, ymmv.

On some equipment this may cause a broadcast storm, depending on how they implement things. Cisco equipment with some configs will send a packet to all the ports if it receives a packet and can't figure out where it's supposed to go.
by firesteelrain | 2025-06-22 17:06:45+00:00
I don’t think we’d see something like 9/11 again. Attacks on the US homeland bring a level of blowback that even Iran’s hardliners would want to avoid. But I totally agree there’ll be fallout in the region. Expect more proxy attacks on US bases, shipping lanes, and of course Israel. That kind of long, drawn-out pressure is way more in line with how Iran operates. Not total war

But why does Iran get to take workers hostage for 444 days in 1979, conduct Beirut embassy bombing in 1983, then the Beirut barracks bombing in same year, 1982-1991 Hezbollah (Iran sponsored) kidnappings of Americans in Lebanon, TWA 847 Hijacking, December 1983 Kuwait Embassy Bombing, June 1996 Khobar Towers Bombing, multiple EFP attacks on US forces in Iraq, May 2011 Camp Liberty Rocket Attack, 2011 IRGC plot to assassinate US officials, Dec 2019 Kirkuk base attack, etc

How is this any different than your 9/11 scenario and Iran has been doing it for 40 years?
Show HN: Report idling vehicles in NYC (and get a cut of the fines) with AI
by rafram | 2025-06-22 17:06:51+00:00
New York City has this cool program that lets anyone report idling commercial vehicles and get a large cut of the fines [1]. It's been in the news recently [2].

I've filed a few reports, and I found the process frustrating and error-prone. The forms are fiddly, there's way too much information that needs to be copied down from the video by hand, you have to use a third-party app to take a timestamped video and a different app to compress it before uploading, and approximately none of it can be done on your phone — the device you probably used to record your video in the first place.

I built Idle Reporter to make filing complaints into a five-minute process that you can do entirely from your phone.

Idle Reporter uses AI to automatically extract all the required information and screenshots from the video and fill out the form for you. It compresses your video, adds the required screenshots, and uploads the whole thing to DEP. All you have to do is log in, give it a final check, and submit.

The AI features cost me money to run, so I put those behind a subscription ($5.99/month, which can pay for itself after a single report). There's a one-week free trial so you can test it out. All the other features — including a fully-featured timestamp camera, which other apps charge for, and an editor for filling out the forms manually and submitting in a single step — will be free forever, as a service to the community.

The app is iOS-only for now — part of this was an exercise in learning SwiftUI in my spare time.

Check it out on the App Store and let me know what you think!

[1]: https://www.nyc.gov/site/dep/environment/idling-citizens-air...

[2]: https://www.cbsnews.com/news/new-york-city-idling-law-report...
by bediger4000 | 2025-06-22 17:07:09+00:00
First, and most annoying, doesn't attempt to answer the question posed by the headline. Second, reads and looks like an old school (pre-ChatGPT) SEO content farm. I have no idea if it is or not, but the rest of the article titles are equally clickbaity, and the front page layout reminds of those websites of yore that "specialized in multiple niches" and wanted you to write drivel for them about "health and beauty".
Ask HN: What's the tightest loop for vibe coding you know of?
by jamesdwilson | 2025-06-22 17:08:13+00:00
I like OpenAI Codex but not a fan of the delays and the rebuilding and refreshing etc.

Can you please suggest the best way to get a tight feedback loop?

Ideally: I can speak a command to affect the code and I see the page refreshed as soon as it is parsed and executed.
by GMoromisato | 2025-06-22 17:08:26+00:00
I'm curious to hear people's predictions for the future:

1. Will Iran escalate, stay-the-course, or yield more in negotiations? Or take some other action I haven't thought of.

2. If Iran escalates, how far will it go?

3. If Iran does a token retaliation without major escalation, but refuses to give up its remaining nuclear program, what happens? Will the Israeli's be satisfied with a 2-4 year delay in Iran's program or will they continue low-grade attacks for the foreseeable future?

4. If Iran yields in negotiations, how far will they go? Will the agree to cease enrichment? If so, will they try to cheat? Or will the US accept some amount of enrichment and end up with a variant of JCPOA?

5. Do you think something else will happen not covered above?

6. What will the situation be in 10 years? 25 years?
by rsingel | 2025-06-22 17:09:23+00:00
The U.S. didn't launch a war over whether there were some leftovers from the war vs Iran.

It was about ongoing programs, including a whole bunch of horse droppings about yellowcake uranium enrichment.

Pedantically saying but there were some old shells of gas misses the entire point.

The US ginned up a war on false pretenses, leading to millions dying.

Your um actually on some trivia ain't helpful or interesting
by jl6 | 2025-06-22 17:09:37+00:00
> Books like Pride and Prejudice, War and Peace, The Brothers Karamazov, etc still sell many thousands of copies every year, more than even big hits in contemporary literary fiction.

I think the author skips past the real answer right here. The old books haven’t gone away. Even if we assume there are good new books, they have to compete with the supply of existing books, which grows without bound - unlike the time and attention of consumers.

Every form of media has this problem. A human lifetime can only consume so many books, so many films, so many hours of music. A new movie comes out: what are the odds of it being more worth your while than one on the existing IMDb Top 1000? Decreasing.

Books are no different. What are the odds that something new is going to displace something existing off the shortlist of greats that you already don’t have time to read?
by tim-kt | 2025-06-22 17:09:52+00:00
> A safe community isn’t one where people are held in check by police. People are not roving around thinking “oh I’d break and enter and murder and rape but for the fact a police officer might shoot me.”

That's also not necessarily the point I'm making. Suppose you are in a society where a small part of people are bad actors, for whatever reason. They will break and enter, murder, and rape. You want to protect the rest of the society against these bad actors. You can now equip everyone with weapons so they may defend themselves. That also enables the bad actors to use said weapons because we don't know who really know who is a bad actor (at least not the ones that didn't commit any crimes yet). Or you give weapons only to a small part of society, where you enforce strict gun laws.

The alternative is to reduce the number of bad actors and this is, in part, fulfilled by the conditions that you are describing. But how do I reduce the number of state leaders that are willing to shoot each other? I guess it's what you are saying, namely constructive, open, and fair trade. But we're not really making progress in that direction it seems.
by alganet | 2025-06-22 17:09:53+00:00
Let's consider the other scenario:

AI plateus, bottlenecked by the lack of quality training data. It becomes obvious that it can only improve as humans improve.

For a while, AI companies trick humans that can come up with original thoughts to give them out for free, but it's not enough: there are not enough educated humans writing things anymore.

Worse of all, the amount of unoriginal useless content generated far outpaces the amount of "good content". It starts to make each AI iteration dumber than its predecessor. Filtering the data becomes an even tighter bottleneck.

Desperate, but with tons of money available, AI companies finally start to invest in education, figuring out it's the only way to remove the bottleneck. They say it's 30 years away now, the time it will take to educate a new generation of super-intelligent humans to train super-intelligent AIs, which will then form a feedback loop of improvement.

People fight back, remembering all those years of content that was stolen, all those original thoughts that were given for free to a machine. Governments start to create competing AI-free old fashioned education programs that outpace the AI-assisted education.

AI eventually fades to a few niche areas. Mostly, limited tasks like playing chess or nostalgia entertainment (faithfully mimicking old celebrities, for exemple). Laws are put in place to protect education and original thoughts, building on the lessons from what is dubbed "The Great Dumbing".

As a final blow, the old fashioned education programs deliver on a lot of actual human progress. True automation that doesn't displace jobs, smarter overall population, better laws and specially happier humans more satisfied with their roles in society.

See? Anything is possible.
by photochemsyn | 2025-06-22 17:09:58+00:00
If you analyze the effects of doubling solar generation once in the United States on natural gas demand, then analyze the effect of another doubling, then it becomes clear why there isn't the kind of nationwide infrastructure, tax and regulatory support for expanding solar across the USA that exists in countries that have to import natural gas, eg China, Japan, Germany etc.

Natural gas just has more resources to buy politicians in the USA than solar does, that's the nature of the problem. Maybe the investor in this story should have spent have his crypto fortune on buying Texas politicians before even beginning this project - but buying off a lot of politicians is expensive, it's more the province of billionaires than of millionaires.
by mgirkins | 2025-06-22 17:10:14+00:00
I fully agree with the value of breaking down complex projects into smaller chunks tasks but I’m not sure it needs a chatGPT wrapper.

Doing it yourself using an app like https://tatask.com will be much more beneficial. You need to know how and why different parts of a project fit together to gain mastery of it. I think that’s lost if AI makes those connections for you.

Full disclosure: I built Tatask years ago
by cmrdporcupine | 2025-06-22 17:11:25+00:00
Rifles. For hunting. Not handguns and AR15s.

Grew up rural Alberta with rifles around the house all the time, in plain view. For shooting game. Not a word was ever uttered about "defending ourselves" with guns... From who?

Hell, we left our door unlocked when we left the house unless it was overnight.

Good grief. Nothing is sadder than people valorizing social/cultural breakdown.

"Peace, order, and good government."
by 827a | 2025-06-22 17:11:59+00:00
IMO #3. They'll moan for a bit. Continue firing rockets. A couple weeks of this; Iran will claim that Iran won, Israel will claim Israel won. There won't be negotiations or concessions. They'll continue trying to develop nukes, but these past two weeks has set them back years. Things go quiet. In ten years we'll do this all over again.

The thing people seem to not recognize is: There's basically three countries on the planet capable of actually waging war in the 21st century (US, and Russia/China barely). Every other country is just a proxy for one of these three; their domestic capabilities look more like "throwing a tantrum" than actual war. Israel can't wage war without the US. Iran can't wage war without China/Russia. Currently, the superpower contribution to this fight is just dropping some bombs and diverting a few crates of AK-47s.

There's zero capability for long-term war here. But, there's also too much face-saving for negotiations or concessions to happen. So, the fire mostly quenches into embers; like the middle east has always been.
by nivertech | 2025-06-22 17:12:05+00:00
> a sovereign country was bombed tonight

IRGC isn’t a sovereign country, it’s a designated terrorist organization

You forgot that IRGC already directly attacked Israel twice in 2024 [1,2], and that’s not including countless proxy attacks and terrorist acts, culminating in October 7th massacres & atrocities

You got it wrong: IRGC attacked and Israel retaliated

US is just helped a little bit their ally

> This stuff isn't OK.

UN, ICC, ICG, etc. all became a $hit show, they don’t work. For 40 years IRGC threatened with Genocide of Jews, and they did nothing. Now when Jews retaliated: * This stuff isn't OK.* ;)

—-

1. https://en.m.wikipedia.org/wiki/October_2024_Iranian_strikes...

2. https://en.m.wikipedia.org/wiki/April_2024_Iranian_strikes_o...
by RickJWagner | 2025-06-22 17:13:34+00:00
No, your first assumption is not a fair one. Like many people, my religious views are not lock step with my political ones and the relationship is not straightforward.

I see handfuloflights remark as an attempted joke, alongside jokes that assume all Black people think alike, all women want the same thing, etc. Like those diverse groups, evangelicals are not a monolith, especially in political matters.

I’m not deeply offended, but I do want to signal that jokes generalizing people are generally not funny.
by ExaltedPunt | 2025-06-22 17:13:52+00:00
This is literally the sort of response I was complaining about.

Trump's base have been consistently against wars in the middle-east and him being too close to Israel has been a consistent criticism of Trump from way back in 2016/2017. So his supporters have been consistent about this for almost a decade. So I don't think your assessment is correct at all.

It been almost a decade now since Trump has entered politics and there has been one thing that been consistent throughout this period. That is the inability for otherwise intelligent people to state the beliefs of Trump's supporters accurately.
by phoronixrly | 2025-06-22 17:13:53+00:00
You need to go one level up on that -- the current Overton Window for social media is focused only on stuff that is considered viral. This includes dumping fascist/misogynistic shit barely covered as jokes/memes. It also includes purposely-directed rage bait.

It does not include slow and meaningful content. This content gets shunned by not being shared/liked/commented on.
by WalterBright | 2025-06-22 17:14:05+00:00
Too heavy. MicroEmacs loads instantly.

MicroEmacs is small and lightweight. I port it to whatever machine I'm using, and it works nicely in a remote tty window. It doesn't need a customization language, as I just change the source code.

Recently, I added color syntax highlighting to it, and support for unicode characters.

https://github.com/DigitalMars/med
by kiitos | 2025-06-22 17:14:23+00:00
"Wide events" describe a structure/schema for incoming data on the "write path" to a system. That's fine. But that data always needs to be transformed, specialized, for use-case specific "read paths" offered by that same system, in order to be efficient. You can "do wide events" on ingest but you always need to transform them to specific (narrow? idk) events/metrics/summarizations/etc. for the read paths, that's the whole challenge of the space.
by cultofmetatron | 2025-06-22 17:14:49+00:00
> The few Iranians I know are against the regime, but I don't know how the wider picture looks.

my experience with Iranians I know are the same. the regime is not partitularly liked by the Iranians but they are no doubt united behind him now because (and for good reason) they likely believe whoever the israelis would appoint as the leader of Iran would be categorically worse.
by WillAdams | 2025-06-22 17:14:58+00:00
While it might not have the same cachet, an easier way to get this done would be to use a laser printing inside an glass or acrylic block --- just model all the parts:

This company works from photos:

https://beyond-memories.com

but there should be companies doing 3D --- I distinctly remember a company doing a 3D map of the nearby star systems (which the _Universe_ role-player in me desperately wanted) --- perhaps:

https://www.skyatnightmagazine.com/advice/diy/3d-model-neare...

could be modeled in Lego bricks?
by nivertech | 2025-06-22 17:16:11+00:00
Watch the last episode of SILO.

> Dan is a congressman, and what journalist Helen really wants from him is information. She’s particularly interested in a “dirty bomb”—particularly, whether the rumors of one exploding in New Orleans are real, or merely fabricated to advance a war between America and Iran. Dan doesn’t answer, instead choosing to leave. It’s all vague, but it gives the viewer a chance to piece some details together: It was likely the bomb and the escalation of a war between America and Iran that led to the creation of the silos.

https://time.com/7206478/silo-season-2-finale-explained/
by jbverschoor | 2025-06-22 17:16:11+00:00
Makefile is “make file“. It has been abused into being a task runner. The wrong tool for the job.

The “make file” is all about file dependencies based on last modified date. Outdated target files can be rebuilt using source file. It’s is dependency management and the essence of an incremental compiler, but all revolving around files, not tasks.
by readthenotes1 | 2025-06-22 17:16:20+00:00
If you really want a tangent, Todhunter is the middle name of one of the best detective authors in the history of detective fiction: Rex Stout.

https://en.m.wikipedia.org/wiki/Rex_Stout

The Timothy Hutton shows available on YouTube are a good introduction if you can get over the poor transcription to youtube.
by Animats | 2025-06-22 17:17:00+00:00
> I think the author skips past the real answer right here. The old books haven’t gone away. Even if we assume there are good new books, they have to compete with the supply of existing books, which grows without bound - unlike the time and attention of consumers.

That's a real phenomenon in music. New works have to compete with the entire body of existing work, some of which is pretty good.
by wafflemaker | 2025-06-22 17:17:12+00:00
I remember reading Jules Verne and similar books from my mums library at 10y. First 50 pages were excruciatin and it applied to most classic books. However Verne was special at making them boring.

OTOH I remember Velocity from Dean Koontz, picked up on an airport (as an adult), which I didn't put back until landing and having to leave the plane. Somebody on HN once commented that these days books are much more like current TV shows, action packed and full of cliff hangers.
by somenameforme | 2025-06-22 17:17:13+00:00
As a peer mentioned, nukes not being used has nothing to do with them not being tolerated. It's all about there being no win condition. A single modern nuke can wipe a city out of existence. Even more so when you consider that most are on rockets that split into multiple warheads both to increase destruction and to sidestep any sort of missile defenses. Scale that up and you can wipe entire countries out of existence.

If you enter into a scenario against a nuclear opponent where they go nuclear (which you going nuclear would certainly do) then you may well defeat them, but they're simultaneously also defeat you. This is a big part of the reason that Russia is so paranoid about the US surrounding it with military bases. The only possible way to treat to sidestep this problem is with a massive decapitation strike where you try to nuke your enemy into oblivion before they have any chance to respond with their own nukes. Realistically, it's probably impossible, but but it remains the Achille's Heel of MAD / mutually assured destruction. And drones/internal strike issues are certainly going to be causing some consternation.

Well, there's also missile defense, but I think that's a dead end. We're talking about the offensive goal being to shoot a bullet at the side of a massive barn, and the defensive goal being to shoot down that bullet. It seems impossible to imagine a state of technology between near peers where the latter becomes easier than the former.
by mcnamaratw | 2025-06-22 17:17:24+00:00
That’s the old standby argument, and it may be right. I can’t really read John Barth or George Saunders the way I can read Richard Russo or Lionel Shriver or Kurt Vonnegut or Michael Chabon or Barbara Kingsolver. For me the experimental writers are very unpleasant to actually read. David Foster Wallace is just inside that frontier for me, and I can enjoy IJ. Bernard Malamud was pretty dark but I could hang in. But Paul Auster … I love what nonfiction writing I’ve seen, but the New York trilogy is so dark and Spartan it makes Joy Division look like disco.

Nitpick: I finally gave up on Pynchon, but is he really postmodern??
by datameta | 2025-06-22 17:17:49+00:00
I did not mean to imply that steel quality has in any way continued to suffer. He was talking about the process of the early 20st century in comparison to the late 19th when steelmaking was handled more end-to-end from maker to user.

I am talking about enshittification of digital applications and services compared to the earlier years of the information age.
by kayodelycaon | 2025-06-22 17:17:51+00:00
My own issue with modern literary fiction is the pretension. It’s been shoved in my face from middle school through college. Everyone writing “genre fiction” is not a Real Author.

Writing to be like one of the great writers of the past is completely missing the point. It’s one thing to follow a tradition. It’s another to think that tradition makes you great.
by HK-NC | 2025-06-22 17:17:52+00:00
I feel when I read older stuff I'm more likely to be treated as an adult. I dont need 3 seperate forewords to Mein Kampf telling me the book is evil and cursed. I was surprised to read a 120+ yr old book on the conquest of peru that shit on the Christian Spanish where appropriate, without going full "noble savage", and shitting on the Incas where appropriate too.