MurphyA/hacker-news huggingface dataset:
by padjo | 2025-06-25 07:16:18+00:00
We’re still a long way from figuring out storage for renewables. Here in Ireland in winter we get weeks long periods of calm, cold, overcast weather where renewables generate almost nothing. There’s no known energy storage mechanism that can handle this, so we still have to burn fossil fuels. I don’t doubt we’ll figure it out, but I think skeptics still have a valid point on storage.
by 11mariom | 2025-06-25 07:17:19+00:00
> The few small-ish phones that have existed have mostly been cheap and underpowered.

I would say that for last years it was quite the opposite… Asus Zenfone was a bit smaller, and few others… all of them being on the more pricey range. I do not remember anything <€500 worth buying…

I remember having few years ago phone from "Note" series… and yet - it was smaller than "normal" nowadays.
by whatever1 | 2025-06-25 07:18:41+00:00
If I was one of the last standing gas fueled energy producer / gas distributor with an energy price of $9k/MWhr I would take any gas price to ensure that I have the last available drop of gas.

The sky high energy price and the collapse of gas supply were the fundamental price drivers. The alternative scenario is that the gas market players were just price gouging. Pick what you want.
by jajko | 2025-06-25 07:18:45+00:00
What about an extensible format that would have as part of header an algorithm (in some recognized DSL) of how to decompress it (or any other step required for image manipulation)? I know its not so much about PNG but some future format.

That's what I would call really extensible, but then there may be no limits and hacking/viruses could have easily a field day.
by Joel_Mckay | 2025-06-25 07:18:57+00:00
Like all complex questions, the answer is it depends on the target project and or Display.

A very basic rec.709 workflow tutorial:

https://www.youtube.com/watch?v=lf8COHAgHJs

The Andreas Dürr LUT pack:

https://www.youtube.com/watch?v=dDKK54CeXgM

https://cinematiccookie.gumroad.com/l/bseftb?layout=profile

The calibration workflows also depend heavily on what is being rendered, source application(s), and the desired content look. There were some common free packs on github for popular programs at one time. Should still be around someplace... good luck. =3
by chithanh | 2025-06-25 07:19:23+00:00
> Adding another compression form should be handled by existing software

In an ideal world, yes. In practice however, if some field doesn't change often, then software will start to assume that it never changes, and break when it does.

TLS has learned this the hard way when they discovered that huge numbers of existing web servers have TLS version intolerance. So now TLS 1.2 is forever enshrined in the ClientHello.
by nextlevelwizard | 2025-06-25 07:20:00+00:00
I write embedded software in C++ for industrial applications. We have a lot of proprietary protocols and custom hardware. We have some initiatives to train LLMs with our protocols/products/documentation, but I have not been impressed with the results. Same goes with our end-to-end testing framework. I guess it isn't so popular so the results vary a lot.

I have been doing this for 8 year and while yes I have seen a lot you can't just copy-paste solutions due to flash, memory, and performance constraints.

Again maybe this is a skill issue and maybe I will be replaced with an LLM, but so far they seem more like cool toys. I have used LLMs to write AddOns for World of Warcraft since my Lua knowledge is mostly writing Wireshark plugins for our protocols and for that it has been nice, but it is nothing someone who actually works with Lua or with WoW API couldn't produce faster or just as fast, because I have to describe what I want and then try and see if the API the LLM provides exists and if it works as the LLM assumed it would.
by mrtksn | 2025-06-25 07:20:07+00:00
Look, I don't know why you believe so much in the imaginary timeline but maybe Iran would have been like Israel: having the bomb and not talking about it.

Who knows, it's all speculation at this point. The current reality is that if you don't have a nuke you get invaded. Everyone will have nuke soon. Those who fail will be destroyed because agreements, international laws etc doesn't mean anything anymore.
by fxtentacle | 2025-06-25 07:20:14+00:00
I have one and the power supply lines (to the glitching CPU) seem stable with minimal noise. The CPU-integrated USB2 PHY also retains its connection even during the CPU glitch. A connected Linux workstation will not log any USB connection or disconnection events. And a CDC serial connection will remain open. The power levels to the stepper driver chips also remain stable during the glitch.

So to me, it looks like the glitching happens exclusively inside the CPU. It appears that I’m randomly experiencing the exact same issue that the PicoEMP in the original article can induce.
by thibaultamartin | 2025-06-25 07:21:08+00:00
Author here, thanks for pointing out the mistake! The USB controller speed is indeed 4 Gbps and not 4 GB/s, I have updated the post accordingly.

> I believe the USB controller still shares a bus with the NIC, which means maxing out the network connection will affect disk rw performance. You could confirm this by observing a concurrent iperf affecting fio results.

Thanks for the pointers, I didn't know about iperf! That's something I'll likely try at some point for the sake of completeness, although I have other projects competing for my attention.

> Well, that's specifically AES precompiles. Just like for kopia, you can benchmark and change LUKS algo for something more suitable for the platform like xchacha20: https://rr-developer.github.io/LUKS-on-Raspberry-Pi/

Absolutely, that disk was encrypted using xchacha20. I used the excellent sdm project (https://github.com/gitbls/sdm) to make my Raspi boot from an encrypted disk. They have great documentation pointing out that xchacha20 should be used on the Pi 4 and earlier (https://github.com/gitbls/sdm/blob/master/Docs/Disk-Encrypti...)
by johnisgood | 2025-06-25 07:22:00+00:00
LLMs are definitely yes-men. You ask it to do something, and it goes like "Yes sir" with lots of emojis, and then confidently gives you the wrong answer. :D

Unless of course it clashes with the ToS, then it will never help you (unless you manage to engineer your prompts just right), even when it comes to something as basic as pharmacology.
by Teever | 2025-06-25 07:22:55+00:00
The US throws away between 30–40% of its food supply.

The US has policies that are outright hostile to mass-transit.

The US has policies that produce some of the ugliest and grossly inefficient suburban environments that have ever existed.

Sure, oil is a critical part of modern civilization, but we could still have modern civilization, and a hell of a better one at that with better policies that end up using far less oil.
Show HN: TDD your own query engine with rgSQL
by zetter | 2025-06-25 07:23:07+00:00
Hi HN, I created rgSQL, a test suite for query engines. The project helps you TDD your own database so you can learn how to parse and execute SQL.

The tests are organised into related topics and build up concepts over time through examples in a similar way to The Little Schema book and From Nand to Tetris.

You can read more about the project at https://technicaldeft.com/posts/rgsql-a-test-suite-for-datab...

I have also written an accompanying book to guide people through the project and learn how real world databases and query engines work: https://technicaldeft.com/build-a-database-server
by janandonly | 2025-06-25 07:23:35+00:00
Which Europeans remember Blendle? You put a few € into your account and then you browsed all popular magazines and news papers. If you saw an articled of interest you bought it for 10-70 cents.

Nowadays they don’t work with that model anymore, unfortunately.

The next best thing we have now is zapping on Nostr. Install the Primal.net app and find out for yourself ;-)

The concept of “zapping” small amounts of money to others for their texts or memes is one of the things that makes the Nostr social network so much more fun that Twitter.

I only wish more websites supported the ability to “zap” an article that I enjoyed.
by johnisgood | 2025-06-25 07:23:39+00:00
Well, I do not know the answer to that, my guess is that it is for historical, political, geographical, and socio-economic reasons.

For example in terms of India, they had two timezones before they adopted a compromise: UTC+5:30.

Nepal uses UTC+5:45, partly to distinguish itself from Indian Standard Time, reinforcing national identity.
by indrora | 2025-06-25 07:24:20+00:00
There are still places for good easter eggs.

In a past life I did technical writing and slipped all sorts of fun things into my documentation: Multiple 4/20 references, my birthday, in-jokes from the team that I was working with, even the occasional proper meme. When I needed a link? Something funny from the official corporate channel on YouTube that I could get away with. Needed a company name? I checked every trademark we had on file to find Something.

Never be afraid to hide something wonderful in your code. The header for UFS2 contains the author's birthday [0] and OpenVMS has several interesting exit code states [1]

[0] https://en.wikipedia.org/wiki/Marshall_Kirk_McKusick [1] https://www.parsec.com/os/openvms/undocumented.php?page=13
by mr_mitm | 2025-06-25 07:24:24+00:00
You don't have to import everything just to print the help. I try to avoid top-level imports until after the CLI arguments have been parsed, so the only import until then is `argparse` or `click`. This way, startup appears to be instant even in Python.

Example:

if __name__ == "__main__": from myapp.cli import parse_args args = parse_args() # The program will exit here if `-h` is given # Now do the heavy imports from myapp.lib import run_app run_app(args)
by out-of-ideas | 2025-06-25 07:25:24+00:00
very interesting; for those that made it to ~43mins in, i think this is "negative siteswaps" video mentioned: https://www.youtube.com/watch?v=_5Q4UhyajC4 ( and some more info here: https://juggle.fandom.com/wiki/Impossible_Siteswap_Animator )
by b0a04gl | 2025-06-25 07:25:34+00:00
it's more to do with the obvious economic layer underneath. you give a format new life only if there's tooling and distribution muscle behind it. adobe, apple, chrome, ffmpeg etc may not get aligned at the same time. someone somewhere wants apng/hdr/png to be a standard pipe again for creative chains; maybe because video formats are too bulky for microinteraction or maybe because svg is too unsafe in sandboxed renderers. and think onboarding of animations, embedded previews, rich avatars, system wide thumbs ; all without shipping a separate codec or runtime. every time a 'dead' format comes back, it's usually because someone needed a way around a gate
by kinow | 2025-06-25 07:25:48+00:00
I wrote PHP/JS/Java before Python. Been doing Python for nearly a decade too, and like 4dregress haven't had the need to worry much about dep management. JS and PHP had all sorts of issues, Maven & Gradle are still the ones that gave me less trouble. With Python I found that most issues could be fixed by finding the PEP that implemented what I needed, and by trying to come up with a simple workflow & packaging strategy.

Nowadays I normally use `python venv/bin/<some-executable>`, or `conda run -n <some-env> <some-executable>`, or packaged it in a Singularity container. And even though I hear a lot of good things about uv, given that my job uses public money for research, we try to use open source and standards as much as possible. My understanding is that uv is still backed by a company, and at least when I checked it some time ago (in peps discussions & GH issues) they were no implementing the PEPs that I needed -- even if they did, we would probably still stay with simple pip/setuptools to avoid having to use research budget to update our build if the company ever changed its business model (e.g. what anaconda did some months/year? ago).

Digressing: the Singularity container is useful for research & HPC too, as it creates a single archive, which is faster to load on distributed filesystems like the two I work on (GPFS & LustreFS) instead of loading many small files over network.
by rednafi | 2025-06-25 07:26:34+00:00
> Before this I used to prefer Go for one-off scripts because it was easy to create a self-contained binary executable.

I still do because:

- Go gives me a single binary

- Dependencies are statically linked

- I don’t need any third-party libs in most scenarios

- Many of my scripts make network calls, and Go has a better stdlib for HTTP/RPC/Socket work

- Better tooling (built-in formatter, no need for pytest, go vet is handy)

- Easy concurrency. Most of my scripts don’t need it, but when they do, it’s easier since I don’t have to fiddle with colored functions, external libs, or, worse, threads.

That said, uv is a great improvement over the previous status quo. But I don’t write Python scripts for reasons that go beyond just tooling. And since it’s not a standard tool, I worry that more things like this will come along and try to “improve” everything. Already scarred and tired in that area thanks to the JS ecosystem. So I tend to prefer stable, reliable, and boring tools over everything else. Right now, Go does that well enough for my scripting needs.
by anal_reactor | 2025-06-25 07:26:52+00:00
> The reality is that this is on the rise, not just in the USA but globally, and we should be having frank discussions on whether this is acceptable or not given its repercussions.

Another reality is that people don't actually value personal freedoms, and they happily give that up in exchange for a tiny bit more sense of security. Lots of discussions on this topic assume that westerners believe in freedom of speech, but that's simply not true.
by dismalaf | 2025-06-25 07:27:23+00:00
Is there anywhere that's truly hostile to renewables? I live in Alberta, the oil producing region of Canada with a reputation for hating renewables, and we have the most solar and wind power in the country. We just have unfortunately topography that doesn't allow hydro and the powers that be never gave us a nuclear plant so we also use natural gas and a few legacy coal plants...

No one here is against solar panels on their home and few are against wind farms, there's just also the realisation that for many applications, oil will remain for the time being. Aircraft, boats, tractors, and cars in many regions of the world are simply unsuitable for electric power with the current state of electric storage (batteries are heavy relative to energy stored).
by rcarmo | 2025-06-25 07:27:48+00:00
I have an actual rubber duck on my desk, which means I only use AÍ for stuff like “refactor and write tests for this stuff Ducky and I designed”.

But I think your question is fundamentally flawed—-we all use AI in phone and editor autocomplete, searching, summarization and whatnot on a daily basis now in office tools. It is using it for actual useful output that counts, and for that it is still below what I deem acceptable.
by chithanh | 2025-06-25 07:28:24+00:00
> Official support for animations, yes!

While I welcome that there is now PNG with animations, I am less impressed about how Mozilla chose to push for it.

Using PNG's magic numbers and pretend to existing software that it is just normal PNG? That is the same mindset that lead to HTML becoming tag soup. After all, HTML with a <blink> tag is still HTML, no?

I think they could have achieved animated PNG standardization much faster with a more humble and careful approach.
by chime | 2025-06-25 07:28:39+00:00
Augment Code (https://www.augmentcode.com/) extension in VSCode. The remote agent feature is fantastic and the local agent is worth buying credits for. I've tried almost every AI editor (Cursor, Windsurf, Roo/Cline etc.), tried CLI-based coders (Claude Code, Aider, Codex etc.), and have used them all with ton of useful MCPs and in the end, I've had the best results with Augment.
by janandonly | 2025-06-25 07:28:42+00:00
Blendle was the bom.

Alexander sold it to a big French conglomerate and now you just buy a subscription via them. The old model of pay-per-view is dead once again.

Although, it’s alive and kicking on the new decentralised social media platform of Nostr. It’s called “zapping” and it’s great fun when you get a few cents for a quote, meme or even a re-share of a good post that you dug up ;-)
by lelanthran | 2025-06-25 07:28:47+00:00
> What about an extensible format that would have as part of header an algorithm (in some recognized DSL) of how to decompress it (or any other step required for image manipulation)?

Will sooner or later be used to implement RCEs. Even if you could do a restriction as is done for eBPF, that code still has to execute.

Best would be not to extend it.
by dleeftink | 2025-06-25 07:32:01+00:00
Love this. Are you familiar with chronemics, or the study of the perception of time? I think this ties in greatly. The work from Achim Landwehr and Tobias Winnerling that contextualises historic (ana/meta) chronisms — how we relate and position ourselves between and across times — especially resonates [1].

[0]: https://en.m.wikipedia.org/wiki/Chronemics

[1]: Landwehr, A., & Winnerling, T. (2019). Chronisms: on the past and future of the relation of times. Rethinking History, 23(4), 435-455.
by TZVdosOWs3kZHus | 2025-06-25 07:32:31+00:00
No more dependency problems with mkdocs I ran into before every other month:

uvx --with mkdocs-material --with mkdocs-material-extensions --with mkdocs-nav-weight mkdocs serve -a localhost:1337

Funnily enough it also feels like it is starting faster.
by bob1029 | 2025-06-25 07:32:35+00:00
I moved from ERCOT to MISO/Entergy (still in Texas) and my electricity costs have dropped by nearly 50%.

The part that is really shocking to me is the cost to maintain transmission infrastructure is dramatically higher in this area too (power lines in the forest).

I think it's hard to compete with a certain combination of fuel mix and fully amortized 20th century plants.
by nsonha | 2025-06-25 07:34:34+00:00
Warp.dev and VSCode Copilot (I use Cursor et al too it could be any of them).

Warp because I can't remember many commands (copilot in the terminal works too but you lose agent mode). They've just release v2 today, looking forwards to try it as a free Claude Code.

Looking to switch to Dia or some agentic browser as main driver but at the moment content with Firefox and Grok as the default search engine.
by fc417fc802 | 2025-06-25 07:35:07+00:00
I honestly don't see an issue with the mpeg-4 example.

Regarding the potential for fragmentation of the png ecosystem the alternative is a new file format which has all the same support issues. Every time you author something you make a choice between legacy support and using new features.

From a developer perspective, adding support for a new compression type is likely to be much easier than implementing logic for an entirely new format. It's also less surface area for bugs. In terms of libraries, support added to a dependency propagates to all consumers with zero additional effort. Meanwhile adding a new library for a new format is linear effort with respect to the number of programs.
by close04 | 2025-06-25 07:36:15+00:00
> This is what ads promised to be ... But the market countered them

Not at all, this assessment is either revisionist history or completely misses what OP is asking for and what ads are.

When you pay for an article with money you know exactly what you're in for, you don't just click and then hope the site doesn't take too much.

Ads as a form of payment are completely outside the reader's control. You have to commit to pay a price before knowing what the price is. The site can display any number of them, they come attached to a lot of tracking, they can be absolutely offensive or obnoxious, they increase data usage, and maybe worst of all they can be dangerous malware.

Nobody blocked ads when they were just a few static gif banners on websites. And if money was abused today like ads are, you'd be up in arms. But instead you're defending the abusive travesty that ads turned out to be, and blaming "the market" (as in the users, not the ads industry) for rejecting them.
by Teever | 2025-06-25 07:36:20+00:00
Sure, but in the context of this thread where the usage case of modern LLMs was described as:

"Now with LLMs, I simply prompt the same with a little bit more of context "pros and cons of using mysql vs mongodb when storing photos. Link references"

locally hosted LLMs with RAG will absolutely be able to do this, better than Googling even back then could, and so the prospect of monetized LLMs with ads in them degrading the user experience for this sort of usage case is unlikely.
by DidYaWipe | 2025-06-25 07:36:43+00:00
The stupid thing is that any device with an orientation sensor is still writing images the wrong way and then setting a flag, expecting every viewing application to rotate the image.

The camera knows which way it's oriented, so it should just write the pixels out in the correct order. Write the upper-left pixel first. Then the next one. And so on. WTF.
by 9rx | 2025-06-25 07:36:51+00:00
> Attitudes around education in the US vary wildly across the population.

Is that in some way unique to the US? I would say the same is true here. Certainly when talking to people out on the street, there are clearly some who value schooling to the utmost degree while others dismiss it entirely. I expect this is the case anywhere a sizeable population is found.

> the people who want a good education for their kids want to be around the types of people who want a good education for their kids

…But I have never heard of this happening. Looking at the data, I don't see any significant variation between schools found within a general area where you might conceivably choose a different school by moving a few miles in another direction. A couple of schools in extremely remote areas show up with struggles, in the worst case seeing only ~40% of the students meeting the standard, but I think it is fair to say that the goings on in remote places is something else entirely.

> It can't hurt to have bright, engaged kids when trying to recruit and retain good teachers either.

So would it be reasonable to think that it is ultimately an issue of lacking teacher standards in the US? Different people are going to be different, sure, but around here you aren't allowed to be a teacher within the school system unless you at least are able to live up to a minimum standard that carries a sufficiently high bar such that there really aren't any qualms about what teacher a student gets.

I take from this that in the US, the schools that don't have sufficiently bright, sufficiently engaged kids are apt to get teachers who aren't capable of doing the job. Here, if a school lacking sufficiently bright, sufficiently engaged kids scared off good teachers, the school simply wouldn't have any teachers.
by lIl-IIIl | 2025-06-25 07:37:03+00:00
I think the current system is the way it is in order so that the most used direction (down) uses your strongest finger, the index finger.

I don't know what your mean by "Not only because the most used used direction (↓) would be closer to my "neutral" finger position" - what is your neutral finger position?

I also got lost in the sentence about "back" and "forwards" - what is back and forwards?
by valenterry | 2025-06-25 07:37:48+00:00
That's easy though. An event of such type is about an absolute point in time, so your calendar stores it like that and then displays it in your current timezone (or whatever one you specify).

When you change locations and you have your calendar configured to show events in "the" timezone of your location, it does so. And should there be no clear timezone, it should ask you.

Very simple problem and simple solutions. There are much harder problems imho.

As you can see, the summertime change does it even matter here.