MurphyA/hacker-news huggingface dataset:
Show HN: Dashboard Tracking Autonomous Coding Agents on GitHub
by cmuertz | 2025-07-08 11:27:45+00:00
For my thesis, I built a dashboard that tracks GitHub PRs made by autonomous coding agents (like Copilot, Devin, Codex, etc). We deep dive into each PR — showing breakdowns by language, repo popularity, complexity, and more. Live: https://insights.logicstar.ai Code: https://github.com/logic-star-ai/insights
by fjfaase | 2025-07-08 11:27:54+00:00
Indeed, a PNG file is a kind of ZIP file specifically tailored for images that is lossless in the sense that no information of the original image is lost.

A JPG file is a kind of ZIP that leaves out some information from the original image to even achieve higher compression rates.

Apply another compression algorithm to already compressed files, usually does not result in any reduction of the file size and likely even could make the file larger. As fun fact is that ZIP, when fed with absolutely random data, will result in a larger file, namely by adding some information to the file to tell that it could not be compressed any further.
by Paradigma11 | 2025-07-08 11:28:32+00:00
This argument seems so counterproductive to me. Israel is obviously committing war crimes, attempting ethnic cleansing and any number of other horrible violations of international law and common standards.

But I don't see how it is committing genocide. They are not trying to destroy the people, the genus. There are 2+ mill people in Gaza and with all those bombs they killed 100k or less? Basically that is just what urban warfare looks like.

This is like the Diddy trial, where you give the perp a way out by overprosecuting.
AI won't take your job. But it might take your role in the system
by ajay_and_AI | 2025-07-08 11:29:37+00:00
Think of a farm 100 years ago.

You’re the farmer. You rely on your bull. Together, you plow the land. It’s slow, hard work. But it works.

Then along comes the tractor. What happens?

The farmer doesn’t lose his job. He just gets way more productive. It’s the bull that gets sidelined.

AI is the tractor.

It’s not replacing the people doing the thinking, decision-making, and strategy. It’s replacing the manual effort behind those activities.

If your job is: - moving data between tools - running routine reports - filling templates You’re the bull. Repetitive. Replaceable.

If your job is: - deciding what to track - interpreting the “why” behind the data - choosing what to say or build You’re the farmer. And now you’ve got a turbocharged machine.

So here’s the question: Are you the bull, or the farmer?

https://postimg.cc/nCWN0Z7f
by bratwurst3000 | 2025-07-08 11:29:45+00:00
i grow weed( legal here) and its the same. last two weeks moisture and temp down because of fungi. and when harvesting the goal is getting the humidity of the buds down to 12% fast. the difference is so obviuos. sometimes in the summer heat and humidity are out of controll and thats when buds rotten :/
by dangus | 2025-07-08 11:30:24+00:00
This article is juggling two topics that essentially aren’t related.

The first topic is whether people will listen to weather warnings and change behavior in response to them in the first place. In that sense, it seems like a direct and urgent evacuation order should have happened, but I do still find the timeline rather short. Hindsight is 20/20 on that.

The second topic is the author’s opinion that the left-leaning section of media isn’t doing their due diligence.

Let’s be real here, the author of the article is using a cherry-picked event that happens to allegedly not be a result of climate change to try and discredit the general idea of climate change. I don’t think the author intended to discredit climate change as a concept but that’s how the audience will read it.

Sure, the New York Times got it wrong in this specific case and at least partially jumped to a conclusion, but it is established observed scientific fact that human caused climate change is causing and going to cause more extreme weather patterns moving forward.

It is also established fact that DOGE made cuts to the NWS and had to re-hire to stabilize the department as recently as last month. [1] Furthermore, the Trump administration intends to make deep cuts to the NOAA within its 2026 budget proposal. [2]

So while this specific event may not have been affected by budget cuts, we don’t know that for sure yet. Opposition Democrats are asking for investigations into that very question.

And even if NWS cuts didn’t affect this event, it’s still entirely fair for the political discussion to question the merit of making cuts during the same timeline as a preventable tragedy. At some point the administration must own the optics it generates for itself. If it didn’t want those optics it would commit to fully funding the NOAA and NWS, but because this administration has taken action to cut staff and funding, they do have to own the optics even if the optics aren’t always perfectly in line with the truth of the cause and effect. That’s just how politics work.

In other words, if I cut funding to the road department or even merely propose funding cuts and the next day my constituent hits a pothole, they’re going to blame me even if my actions didn’t directly create that pothole. And that blame is politically justified and warranted, because my political stance is that we are spending too much on road maintenance, when clearly that’s not the case.

[1] https://www.newsweek.com/national-weather-service-hiring-spr...

[2] https://www.npr.org/2025/04/11/nx-s1-5361366/major-budget-cu...
Show HN: Satirical AI Portfolio Project. How to Make It Funnier and Meaningful?
by albertomm | 2025-07-08 11:30:46+00:00
Hey HN,

I built robotsave.me in a short burst of inspiration as a portfolio piece. The idea:

A fake AI productivity tool that pretends to automate your job with one click.

But behind the joke, my real goal was to:

Showcase that I can ship a product from scratch, fast. Integrate OpenAI and Zapier APIs meaningfully. Design something clean, responsive, and slightly unhinged. Poke fun at automation hype while still delivering a working product.

Now that it's out, I feel it’s... missing bite. It doesn’t hit the “this is hilarious but also kind of real” note I was aiming for.

Looking for feedback and ideas. Specifically:

- How would you add stronger humor without turning it into a total joke site?

Should I go full parody (like a fake SaaS pricing page)? Or stay dry and subtle?

- What would give it more meaning?

Any ways to anchor this more in reality, maybe by turning it into commentary on AI, layoffs, or startup culture?

- Would you add more interactivity or fake use cases?

For example: “Robot saved my job by firing me before my boss could,” etc. Would that help or distract?

- Does it communicate the underlying message at all?

If you didn’t know this was a dev portfolio piece, would you get it?

- Any thoughts on tone?

I’m aiming for “sarcastically sincere.” Does that come across or fall flat?

Note: The site does use real AI calls in the background (OpenAI + Zapier), so please go gentle — there's a usage cap and it’ll stop working if abused

Would love your thoughts — and if it made you chuckle, all the better.

Thanks!
by hiAndrewQuinn | 2025-07-08 11:32:51+00:00
You're welcome! Probability distributions over inherently unfalsifiable claims is exotic territory at first, but when I see actual philosophers in the wild debate things I often find a back-and-forth of such claims that definitely looks like two people shifting around likelihood values. I take this as evidence that such a process is what's "really" going on when we go one level removed from the arguments and their background assumptions themselves.
by chrismorgan | 2025-07-08 11:33:01+00:00
> The type system can't know whether you call `T::clone()` in a method somewhere.

It’s not about that, it’s about type system power as the article said. In former days there was no way to express the constraint; but these days you can <https://play.rust-lang.org/?gist=d1947d81a126df84f3c91fb29b5...>:

impl<T> Clone for WrapArc<T> where Arc<T>: Clone, { … }
by js8 | 2025-07-08 11:34:46+00:00
No you don't see where I am coming from. And my father was a university professor. I am certainly not opposed to authors being fairly remunerated for their work, that's why I brought up that example.

My point is, the controversy is not an AI corporation vs 10^5 ordinary teachers. It's a battle of two corporations, or business models, if you will. But regardless of the result, most of the book authors will continue to get screwed, maybe the means will change. But it will not prevent them from writing, either. So I don't see any mass writers protests coming, sorry.

I also don't think Anthropic AI is going to be any less intelligent if it didn't read any modern fiction book, instead of reading a Wikipedia summary. Stories and myths are a human way of understanding the world, machines probably don't need them. And for non-fiction books - there really isn't that many irreplaceable high-profile authors out there. If it can't read, say, Feynman's Lectures on Physics, it can learn the same from 100s of other physics textbooks. Maybe they are slightly worse organized but why should superintelligence care?
by FiloSottile | 2025-07-08 11:35:28+00:00
I added a footnote about it. It’s indeed read traffic, so it’s (certificate volume x number of monitors x compression ratio) on average. But then you have to let new monitors catch up, so you need burst.

It’s unfortunately an estimate, because right now we see 300 Mbps peaks, but as Tuscolo moves to Usable and more monitors implement Static CT, 5-10x is plausible.

It might turn out that 1 Gbps is enough and the P95 is 500 Mbps. Hard to tell right now, so I didn’t want to get people in trouble down the line.

Happy to discuss this further with anyone interested in running a log via email or Slack!
by jiggawatts | 2025-07-08 11:36:14+00:00
Microsoft, Google, or Amazon don't t care about your fintech code. Other fintechs do.

The threat isn't your cloud provider stealing your code, it's your own staff walking out the door with it and either starting their own firm or giving it to a competitor in exchange for a "job" at 2x their previous salary.

I've seen very high security fintech setups first-hand and I've got friends in the industry, including a friend that simply memorised the core algorithms, walked out, rewrote it from scratch in a few years and is making bank right now.

PS: The TV show Severance is the wet dream of many fintech managers.
Tell HN: I Lost Joy of Programming
by Eatcats | 2025-07-08 11:36:50+00:00
Small confession

I’ve been using Windsurf editor for about six months now, and it does most of the coding work for me.

Recently, I realized I no longer enjoy programming. It feels like I’m just going through the pain of explaining to the LLM what I want, then sitting and waiting for it to finish. If it fails, I just switch to another model—and usually, one of them gets the job done.

At this point, I’ve even stopped reviewing the exact code changes. I just keep pushing forward until the task is done.

On the bright side, I’ve gotten much better at writing design documents.

Anyone else feel the same?
by aaronmdjones | 2025-07-08 11:36:58+00:00
It is such a case, it's just not about zero. If the input is too large to be represented in a signed long, strtol(3) returns LONG_MAX and sets errno to ERANGE. However, if the input was the string form of LONG_MAX, it returns LONG_MAX and doesn't set errno to anything. In fact my strtol(3) manpage explicitly states "This function does not modify errno on success".

Thus, to distinguish between an overflow and a legitimate maximum value, you need to set errno to 0 before calling it, because something else you called previously may have already set it to ERANGE.
by astura | 2025-07-08 11:37:54+00:00
I'm not young, but I have absolutely zero nostalgia for the original Jurassic Park. I think it's a good movie.

I was 10 when it came out and I remember watching it on VHS and thinking it was very, very boring. Didn't finish.

Watched it again in my late teens or early adulthood and I liked it then. The storyline was simple but it was all well done and it had me entertained all the way thru.

I never saw any of the sequels.
by lbutler | 2025-07-08 11:38:02+00:00
Currently the two largest vendors of hydraulic modelling software are Autodesk and Bentley. Both have taken the EPANET engine and created private forks in the 90s/2000s and never contributed back.

The commercial tools have made it easier for engineers at consultancies and utilities to build hydraulic models by integrating GIS and providing support for scenarios to compare different states of the model or future developments of a city.

Though as Tom points out, this comes at a huge price.

The US EPA does offer a simple GUI which can be used for smaller systems but without a connection to GIS, its usage has been limited.

These commercial versions have become enterprise monsters, they are very complex and expensive.

We wanted to create the right balance between what the US EPA already gives away for free and what the big vendors offer. We believe that releasing the software as FSL which transitions to MIT gives us the right head start and for the advanced features we're charging about 10% of what Autodesk and Bentley do - and for those that think that's too much, they of course can download and host their own private version too.

For those that are still curious, here are some extra links and context.

https://app.epanetjs.com/ – Try the app, it's local first and registration optional

https://github.com/epanet-js/epanet-js – Here is all the source code

https://github.com/epanet-js/epanet-js-toolkit – See how we converted the C engine to WASM

https://epanetjs.com/ – Read a landing page to see what we're doing and why, also our pricing

https://www.autodesk.com/products/infowater-pro/overview – Autodesk's product $10k/yr/user

https://en.virtuosity.com/openflows-water – Bentley's product $16k/yr/user
by whatevertrevor | 2025-07-08 11:38:20+00:00
I'm not an LLM promoter by any stretch, but even from my perspective, it is somewhat funny to see the shift regarding copyright the last couple years. Before ChatGPT it was all rent-seeking antiquated legislature that needed to be thrown out, now the hatred for LLMs seems to have superceded the need for "free"-ness.
by teiferer | 2025-07-08 11:39:31+00:00
QM isn't less well understood though than Newton's mechanics. Neither cover the "why". But both provide a model of the world, the model (!) is very precisely understood and it matches observations in certain parts of reality. Like all reasonable scientific theories do. They have limits, and beyond those limits they don't apply, but that doesnt mean they are not understood. It's reality that is not sufficiently well understood and by coming up with more and more refined models/theories, we keep approximating it, likely without ever having a "fully correct" theory encompassing everything without limits. (But that's ok.)
by sergiolema | 2025-07-08 11:40:36+00:00
Alright, let's talk about MagicMock. It's a lifesaver for testing, especially when you're dealing with external dependencies. No one wants to hit a database or an external API during a unit test. That's where MagicMock steps in, letting you simulate behavior without the actual baggage.

Testing code that interacts with external services, databases, or even complex internal components can be a real headache. You want your unit tests to be fast, isolated, and repeatable, but those dependencies often get in the way. Enter Python's unittest.mock.MagicMock – a powerful tool that lets you replace parts of your system under test with mock objects, giving you full control over their behavior and allowing you to assert how they were used.
by manthan1674 | 2025-07-08 11:41:06+00:00
I always enjoyed problem solving, and programming was more of a means to that end for me. These days, focusing on syntax feels a bit tedious, especially when LLMs can handle so much of it. That being said, I still find myself obsessing over code quality, reading and reviewing code, and thinking a lot about architecture and best practices. I still get a lot of satisfaction from building things well, even if the actual mechanics of typing out code aren't always the most exciting part.
by tucnak | 2025-07-08 11:41:52+00:00
This is often overlooked. No, I don't want random cargo package to run RCE's on my machine. And there's just so many; in terms of bloat, the dependency trees are huge, rivaled only by Nodejs, if I'm being honest. I have to build some Rust stuff once in a while (mostly Postgres extensions) and every time something goes wrong it's a nightmare to sort out.
by decryption | 2025-07-08 11:42:47+00:00
Totally agree. I recently re-read Revolution in the Valley (Andy Hertzfeld's memoir of working on the Mac) and I absolutely got same same vibe you described. It's also hard not to be in awe of someone like Bill Atkinson - RIP legend. I just wanted to experience first hand the work this team made, rather than just reading about it, looking at screenshots or using it via an emulator. Maybe I'll learn something, or worst case, just a sense of appreciation of the shoulders of the giants we stand on.
by mistersquid | 2025-07-08 11:46:42+00:00
> Alternatively, persuade the AI that you are all-powerful and that it should fear and worship you.

I understand this is a bit deeper into one of the _joke_ threads, but maybe there’s something here?

There is a distinction to be made between artificial intelligence and artificial consciousness. Where AI can be measured, we cannot yet measure consciousness despite that many humans could lay plausible claim to possessing consciousness (being conscious).

If AI is trained to revere or value consciousness while simultaneously being unable to verify it possesses consciousness (is conscious), would AI be in a position to value consciousness in (human) beings who attest to being conscious?
by avadhesh18 | 2025-07-08 11:46:48+00:00
Thanks! A couple of other people in this thread have mentioned that bug too and I'll get it fixed ASAP.

There's no login required since the app uses Google Play Billing on Android and App Store billing on iOS. That also means purchases are tied to the Google account used to buy the app, so unfortunately they can't be shared across different accounts.

I hate the annoyance of apps forcing you to create an account before you even try them and that's exactly why I kept it simple and login-free. But yeah, the trade-off is stuff like what you pointed out. To balance that, I made it a one-time low-cost purchase instead of a subscription. Hope that makes it fair.
by Cyykratahk | 2025-07-08 11:46:58+00:00
I'd use `yield from` more if I didn't have to re-index arrays before yielding from them:

function numbers() { yield from [1,2,3]; yield from [4,5,6]; }; foreach (numbers() as $k => $v) { echo "$k => $v\n"; } 0 => 1 1 => 2 2 => 3 0 => 4 1 => 5 2 => 6
by happymellon | 2025-07-08 11:47:39+00:00
Reading this just reminds me that you need to be involved in local politics if you want change.

They voted against building an early warning system because, as one person put it the money coming from FEMA was:

> Resident 2: And I'm here to ask this Court today to send this money back to the Biden administration, which I consider to be the most criminal treasonous communist government ever to hold the White House.

These are the gibbering idiots that will represent you. Biden wasn't even the most "Communist Government" of the previous 10 years.

Not entirely sure (as an outsider) what makes him Communist outside of not throwing Sieg Hiels when he was elected.
by andrewingram | 2025-07-08 11:47:41+00:00
My take on Terminator is that the portrayal of a bleak late 80s / early 90s LA was a key component of what made the first two movies work. Bringing the Terminator antagonist into a setting in which there's already very little optimism about the future was a key part of the vibe. Subsequent movies have generally taken place in slightly brighter versions of the world, and have never felt right.
by Tainnor | 2025-07-08 11:48:09+00:00
> In the worst case you should at least make your language fail-stop definite by making it error when the result of + is too large rather than silently continuing in an invalid state.

That's what Swift does fwiw. But there are downsides to that too (although they're also related to Swift not having a good fault recovery mechanism).

In practice, whenever you know you're going to use large enough numbers in Java, you probably want to use BigInteger or BigDecimal (e.g. in banking). Unfortunately, Java doesn't allow you to use the + operator with it.
by asboans | 2025-07-08 11:48:47+00:00
“Fill less than 1% of its space” becomes a very counter intuitive statement in any case when discussing high dimensions. If you consider a unit n-sphere bounded by a unit cube, the fraction occupied by the sphere vanishes for high n. (Aside: Strangely, the relationship is non monotonic and is actually maximal for n=6). For n=100 the volume of the unit 100-sphere is around 10^-40 (and you certainly cannot fit a second sphere in this cube…) so its not surprising that the gains to be made in improving packing can be so large.
by 0xTJ | 2025-07-08 11:49:11+00:00
I wish that Microchip would officially publish the programming algorithms and EE bit maps for the Atmel ATF16V8, ATF22V10 SPLDs and ATF15xx CPLDs. They programming algos have been mostly reverse-engineered (or otherwise figured out), but it'd be nice to have those published in the open, and I don't think the ATF15xx maps are completely known.

The ATF15xx have BSDL files released, but that's only for testing/bypass.
by Cthulhu_ | 2025-07-08 11:50:19+00:00
It's better to build your app in e.g. PHP, prove its worth, then identify the bottlenecks, THEN determine if you need multi-threading. And if so, determine if PHP would be the best language for it or if you'd be better off going for a different language - one with parallelism / multithreading built into its core architecture.

The first logical step after PHP is NodeJS, which has the fast iteration cycles of PHP without the low-level memory management or the enterprisey application server headaches of other languages, AND it has the advantages of a persistent service without needing to worry too much about parallelism because it's still single process.

But if you still need more performance you have a few options. But if you're at that point, you're already lucky. Most people wish they needed the performance or throughput of a language/environment like Go.
by kd5bjo | 2025-07-08 11:50:57+00:00
`Send`, `Sync`, and `Unpin` are special because they're so-called 'auto traits': The compiler automatically implements them for all compound types whose fields also implement those traits. That turns out to be a double-edged sword: The automatic implementation makes them pervasive in a way that `Clone` or `Debug` could never be, but it also means that changes which might be otherwise private can have unintended far-reaching effects.

In your case, what happens is that async code conceptually generates an `enum` with one variant per await point which contains the locals held across that point, and it's this enum that actually gets returned from the async method/block and implements the `Future` trait.
by mnky9800n | 2025-07-08 11:51:00+00:00
What I find a bit annoying is that if you sit in the llm you never get an intuition about the docs because you are always asking the llm. Which is nice in some cases but it prevents discovery in other cases. There’s plenty of moments where I’m reading docs and learn something new about what some library does or get surprised it lacks a certain feature. Although the same is true for talking to an llm about it. The truth is that I don’t think we really have a good idea of the best kind of human interface for LLMs as a computer access tool.