MurphyA/hacker-news huggingface dataset:
by oblio | 2025-06-25 10:07:43+00:00
> None of this example has anything to do with performance or reliance on C dependencies, but ok.

<C dependencies>

You'd realize why I wrote that if you used Java/Maven. Java is by and large self-contained. Stuff like Python, Ruby, PHP, Javascript[1] etc, are not, they depend on system libraries.

So when you install something on Solaris, FreeBSD, MacOS, Windows, well, then you have to deal with the whole mess.

1. Is the C dependency installed on the system? 2. Is it the correct major version or minor version? 3. Has it been compiled with the correct flags or whatnot? 4. If it's not on the system, can the programming language specific package manager pull a binary from a repo for my OS-arch combo? 5. If there's no binary, can the programming language specific package manager pull the sources and compile them for my OS-arch combo?

All of those steps can and do fail, take time, and sometimes you have to handle them yourself because of bugs.

Java is fast enough that almost everything can be written in Java, so 99% of the libraries you use only have 1 artifact: the universal jar, and that's available in Maven repos. No faffing around with wheels or whatnot, or worse, with actual system dependencies that are implicitly (or explicitly) required by dependencies written in the higher level programming language.

<Virtual envs>

I won't even bother to address in detail the insanity that you described about virtual envs, it's just Stockholm syndrome. Almost every other programming language does just fine without venvs. Also I don't really buy that issue with the lack of portability, it's just a bunch of bad design decision early on in Python's design. Even for Windows there are better possibilities (symlinks are feasible, you just need admin access).

I say this as someone who's used basically all mainstream programming language over the years.

The sane way to do virtual envs is to have them be just... folders. No absolute paths, no activation, just have a folder and a configuration file. The launcher automatically detects a configuration file with the default name and the configuration file in turn points the launcher and Python to use the stuff in the folder.

Deployment then becomes... drumroll just copying the folder to another machine (usually zipping/unzipping it first).

* * *

[1] Javascript is a bit of a special case but it's still slower than Java, on average.
by eru | 2025-06-25 10:08:00+00:00
The economic liberalisation was a response to the decline. They didn't stray away from more 'proper' communism because everything was hunky dory, you know.

Statistics about the Soviet economy are notoriously hard to make sense of. First, they ran a rather weird economic system (compared to the west), and second, you can't necessarily trust the statistics, there weren't really any independent organisations at all like we have in democracies. No independent media to check, no independent statistical institutes etc.

Even in the west environmentalism was only just getting en vogue in the second half of the 20th century. But the Soviet Union takes the cake in terms of how much environmental damage they were willing to take for a bit of extra economic output.
by potato3732842 | 2025-06-25 10:08:31+00:00
> and low paid workers living side-by-side seemingly in harmony.

Have you asked the low paid workers about that?

Because I strongly suspect that, to their own detriment, they put in a lot of effort and avoid doing things that would help them get ahead in order to prevent the rich people from having reason to sick the government on them.

Can't smoke weed on your porch or run a mechanic business out of your apartment driveway when you've got a bunch of HNers leering at you from the balconies of their 5-over-1 luxury apartment complex across the street like you're an animal in a zoo.
by londons_explore | 2025-06-25 10:09:18+00:00
The smart move is to downsize the reading rooms and use the money for a high speed scanning team.

The scanning should focus on volume not accuracy or quality. If anyone needed that sort of thing, they could always go back to the original documents.

So many digitisation projects spend half their time perfecting metadata etc - which IMO is of far lower value than just getting the paper scanned and sorting the rest later.
by zelphirkalt | 2025-06-25 10:10:50+00:00
Using Guix (guix shell) it was already possible to run Python scripts one-off. I see others have also commented about doing it using Nix.

Also that would be reproducible, in contrast to what is shown in the blog post. To make that reproducible, one would have to keep the lock file somewhere, or state the checksums directly in the Python script file, which seems rather un-fun.
by poisonborz | 2025-06-25 10:11:30+00:00
Not backwards compatible. We just add it to that nice cupboard "great advanced image formats we will forget about".

Society doesn't need a new image format. I'd wager to say not any new multimedia format. Big corporate entites do, and have churning them out at a steady pace.

Look at poor webp - a format pushed by the largest industry players - and the abysmal everyday use it gets, and the hate it generates.
by benmmurphy | 2025-06-25 10:11:46+00:00
i think its a tricky situation. there is an extreme libertarian argument that individual officers of the US government should be held personally liable for any violation of the constitution. however, this would make it potentially difficult for the government to enforce _any_ law or carry out the duties of government because of the risk that some court could find the law or their duty violates the constitution. of course this is very appealing for libertarians but maybe not for non-libertarians. for example in the case of the Biden loan forgiveness program should every US government person involved in that be prosecuted for criminal embezzlement?
by IceDane | 2025-06-25 10:12:15+00:00
You are fundamentally misunderstanding what is happening here and how this is all works.

"HTTP calling abilities of LLMs" is not some magic, new feature that is deeply integrated into LLMs. It's just a tool call like everything else - i.e. you prompt the LLM to return a JSON object that conforms to a schema.

MCP is also doing this exact same thing. It's just a wrapper protocol that tries to take care of all the details so that we don't have to deal with a million custom protocols that all accomplish the same thing but are all incompatible.
by pjmlp | 2025-06-25 10:12:16+00:00
The Year of Desktop FOSS UNIX died when NeXT reverse acquired Apple, and made NeXTSTEP the foundation of OS X.

Suddenly everyone that only cared about some form of UNIX/POSIX, regardless of the source, went into droves into the Apple ecosystem.

These are the same folks that nowadays complain about leaving macOS for some Linux/BSD distribution, as they didn't grasp the actual Apple/NeXT developer culture (see Steve Jobs famous jabs at UNIX in its traditional form).

Microsoft with WSL is kind of approaching the same crowd, those of us that were already happy enough using a mix of VMWare Workstation, Virtual Box, cygwin/migwin, that have had enough of dual bottling, and the usual "everything works but".
by TheOtherHobbes | 2025-06-25 10:14:19+00:00
Micropayments are a constant financial stressor and source of friction. You're never quite sure how much you're going to consume/pay, you're constantly having to make a choice every time you read something, and there's no way to say "Actually that click wasn't worth 10c".

Tiny local papers are mostly all owned by the same company anyway.

People do actually pay for subscriptions or donations if they like the content enough. In the UK the Times, Financial Times, and Telegraph all run on subscriptions, and the Guardian is a weird - but successful - kind of donation-ware.

Also Substack and Medium.

The alternative is aggregation - like Spotify for news, but without the cutthroat ethics. Pay a fixed amount, possibly tiered, read what you want up to your tier, and the aggregator distributes the income.
by PeterStuer | 2025-06-25 10:14:21+00:00
"A beefy VPS (16 vCPU, 48 GB of RAM, 1 TB SSD) in a German datacenter A Raspberry Pi 4 (8 GB of RAM) in my living room"

While I loved the sleuthing, I did not get why the comparison had to be between thise extreme ends of the spectrum.

Why not test a small extra cheap VPS, or, as the author does in the end, a somewhat normal PC at home?
by willvarfar | 2025-06-25 10:14:50+00:00
I think the "bitter lesson" is that, while startup A is trying to tune and optimise what they do in order to be able to train their model with hardware quantity B, there is another startup called C that will be lucky enough to have B*2 hardware (credits etc) and will not try so hard to optimise and will reach the end quicker?

Of course deepseek was forced to take the optimisation approach but got to the end in time to stake a claim. So ymmv.
by kllrnohj | 2025-06-25 10:15:00+00:00
Nope, that's indirect rendering and is limited to OpenGL 1.4 more or less. This is using a much newer OpenGL than that.

Also if you look at the source it's specifying direct rendering in glxCreateContext: https://humungus.tedunangst.com/r/xtoys/v/tip/f/circle.c & https://registry.khronos.org/OpenGL-Refpages/gl2.1/xhtml/glX...

The only thing leaving that process is a pixbuf, zero X11, identical to Wayland.
by johnisgood | 2025-06-25 10:15:16+00:00
Ghost Notes has a couple of bugs.

First off, sometimes it shows the wrong number of attempts you still have (sometimes it shows 10 when it really is 5, sometimes it shows 0 when it really is 5 or 4 or just simply >0).

Secondly, the PIN provided does not always work, I used 1234 and decryption seemed unsuccessful. I set it up again and it worked.
by dgfitz | 2025-06-25 10:16:05+00:00
> 1) We can’t really work on non-trivial fixes for our cars because they are too complex

Learning how to fix my own cars is something I’ll always be grateful for. They’re not that complex. Most of it is just bolts and a diagram reference.

Sure, if you crack a piston cylinder you just need a new engine, that isn’t really fixable.

Brakes/rotors/calipers, it is almost criminal what you pay a shop for in lieu of doing it yourself. Spark plugs are super easy. Even things like taking the intake manifold off a direct-inject car to replace the fuel injectors isn’t terribly hard.

What has made cars complex is all the electronics that tie into it. The mechanics of an ICE car are mostly about the same.
by pickledoyster | 2025-06-25 10:16:50+00:00
available with /e/OS too https://shop.fairphone.com/the-fairphone-gen-6-e-operating-s...

As I near the eol of my daily driver, I'm considering a Fairphone, but what it's missing is a folding card holder, like the Satechi wallet stand for iPhone. Putting the phone in horizontal mode on a table and using a bt keyboard is how I do a lot of my writing
by cheerGPU | 2025-06-25 10:16:58+00:00
We built an on-demand GPU platform that offers instant access to high-end NVIDIA H200s — no queue, no contracts, fully self-serve. It's designed for AI researchers and startups who want to train large models without the usual delays and pricing opacity.

We’re offering $6 in free credits so you can try our 8×H200 servers starting at just $0.79/hr per GPU — perfect for quick benchmarks or small fine-tuning runs.

We're a small team that wanted to make top-tier compute more accessible without sacrificing flexibility. We’d love your feedback — and are happy to feature cool research or open-source projects built on the platform.

→ hpc-ai.com
by valenterry | 2025-06-25 10:17:03+00:00
Yeah that's fair, but that's purely a UI/display problem and there is and cannot be any solution that works without context.

Ultimately, if you don't like it, tell your calendar to show it differently.

> It's a 4pm Tuesday meeting

In one timezone, yes.

Apperently you want the times to be shown for when you will be in that timezone. But the calendar doesn't know when you will be in what timezone, and it's such a rare thing that apparently no one made a calendar where you can day "I'll be (mentally) in this timezone from that day and then in that timezone a week later".

So you, your last sentence is right, because that's impossible. That's different from "hard".
by rramadass | 2025-06-25 10:18:22+00:00
Long time ago i came across the Japanese company "Nomadic Inc." and its series of "Wise-Walker" bags. These are lightweight, compact and highly functional with compartments galore (10-15 or more!) for organizing everything. This to me is how everyday carry bags should be designed.

However they seem to be producing less of these designs nowadays (change in designer maybe?) though they still have a few which you can checkout at Amazon Japan.
by sparky_z | 2025-06-25 10:21:19+00:00
Back when Netflix would let you give movies a star rating, I sometimes gave bad ratings to things I hadn't watched so that their recommendation engine would know not to recommend more things like that to me. Was I in the wrong for doing that? Was Netflix wrong for letting me? Should they have enforced a "no ratings unless you've watched it all the way through" policy?
by bawolff | 2025-06-25 10:21:21+00:00
Browsers support all that sort of thing, as long as you use an iframe. (Technically there are sone subtle differences between that and html5, but you are right its mostly the same)

If you use an <img> tag, svgs are loaded in "restricted" mode. This disables scripting and external resources. However animation via either SMIL or CSS is still supported.
by 4dregress | 2025-06-25 10:23:42+00:00
My view is I’m an engineer first and foremost and I use the tools which are best for the task at hand. That also means what’s best for the business in terms of others working on the project, this has meant python with some sort of framework.

People have suggested using other languages that might be faster but the business always choices what’s best for everyone to work with.
by 0points | 2025-06-25 10:24:02+00:00
I'm having a hard time seeing the value of this scoring. It seems to automatically give bad scores out of some heurestics involving executing shell commands?

Take for example:

streetsidesoftware.code-spell-checker, 14.5M installs,

Score 81 out of 100.

Major scoring factor is "Contributes functionality via 'terminal'."

It seems to me that this will give wildly inaccurate scores.
by cheerGPU | 2025-06-25 10:24:21+00:00
Yes, it's real — $0.79 per GPU hour for H200.

We're a small team working to make top-tier compute more accessible, without the usual lock-ins or delays. We'd love your feedback when you try it, and if you're working on something interesting, we're happy to feature your research or open-source project on our platform.
by smartmic | 2025-06-25 10:24:30+00:00
I learned vi a long time ago and use it when no other editor is at hand. In fact, I am using several editors simultaneously, depending on the task at hand and what is availabe. I stumbled over dte because I like to try out new things. And because dte hits many sweet spots for me, I installed it on machines where I often need a terminal editor. Binding myself to only one tool just because I learned to use it at some point in time is not my philosophy. Thankfully, the open source world offers so many alternatives and innovations, so that there is something for almost all tastes and habits. It comes with no costs besides building muscle memory to switch as needed and wanted.
by kzrdude | 2025-06-25 10:25:02+00:00
svk.se (Swedish grid operator) is listing current statistics for energy production and has the category 'Not Specified':

> Unspecified production includes, for example, gas power, wave power and braking power. Production from plants with more than one production type and where these can not be separated is also included in this category.

Braking power refers to regenerative braking, energy that's put back on the grid from the electric trains. Presumably from the iron ore trains from up north.

Unfortunately it does not list exactly how much of the 'Not Specified' is from braking power alone. Generation in this category as we speak is 589 MW.
by animal531 | 2025-06-25 10:25:57+00:00
>An ECS framework, 1-2 weeks

That gave me a good chuckle. Yeah look, you can change your data layout to be in more of an ECS format, make some optimizations and call it a day; but in reality you're still going to be pretty far from the real thing.

I can say this because I've been working on one for some months now, of course I'm going for a production build and also to turn it into a Unity asset that's worthy of being sold, so it's going to require a lot more effort. The goal of mine is to ensure that its extremely simple to use (which Units DOTS totally fails at) while still being as efficient as possible.

Some notable things I've had to do for this project:

- I have a tool releasing on the Unity asset store (currently being vetted) that performs optimization for you, e.g. you give it a variable such as an int, a range of let's say 1..1024; then it'll automatically time your code while searching for the best sample in the range. I needed to create this for the next item, which is

- My C# Thread tool which runs managed threaded code for you. It creates no garbage so and uses the above optimizer on three different variables so as to find the best amount of threads, calls and inner loop sizes to use for your code. Because of that it can run managed code almost as fast as Burst/Jobs (whereas they use their own compiler and optimize code instead of using Mono). It can even beat Burst on small to medium workloads as long as the code inside doesn't contain some efficiency that Burst can natively fix.

- Then of course there are other things an ECS needs like pathfinding, unit collision avoidance etc. For these I have both CPU and GPU solutions since CPU only really works up to about 10k entities at a decent framerate.

So yeah, I don't recommend trying it; it's probably a total waste of time.
by rsynnott | 2025-06-25 10:27:57+00:00
> European alternatives are expensive

Just looking at a sampling of Irish prices across the low end (including grants):

Tesla Model 3: min 37,500eur

VW id.3 (European): min 31,780eur

Dacia Spring (European/Chinese): 17,000eur

Hyundai Inster (Korean): 20,000eur

Like, certainly in terms of minimum entry price, Telsa's very much on the expensive end.
by bmacho | 2025-06-25 10:28:29+00:00
I tried these examples on ezgif, and indeed apng manages to be smaller than webp every single time. Weird, I was under the impression that webp was almost always smaller? Is this because GIF images are already special, or apng uses better compression than png?

edit: using the same ezgif webp and apng on a H.264 source, apng is suddenly 10x the size than webp. It seems apng is only better if the source is gif
by diogolsq | 2025-06-25 10:29:19+00:00
That shows the danger of the clickbait economy.

A weird, provocative headline creates misinformation.

Of the people who try to access the article, only 12% actually read it (1% who pay, and 11% who bypass the paywall). Another 53% look for the information elsewhere, which may or may not clarify the misinformation.

And those are only the ppl that tries to read the news, the majority of ppl doesn't even bother trying to open the news link.
Sourcehut Moving to Europe
by wooptoo | 2025-06-25 10:29:58+00:00
Just received this:

Hello!

I'm writing to let you know that, as part of our work to move our business operations from the United States to Europe, we are rolling out changes to our terms of service and privacy policy. As promised, we are giving you two weeks notice and a chance to participate in the discussion about the proposed changes.

You can review the diff of the proposed changes on the sr.ht-dev mailing list:

https://lists.sr.ht/~sircmpwn/sr.ht-dev/patches/60282

The changes will take effect from July 10th, provided that there are no further revisions based on user feedback. Further changes will be discussed on sr.ht-dev rather than emailed to you directly.

If you have questions or comments, you can participate in this thread, or you can reply to this email to reach support directly.

-- Drew DeVault SourceHut
by pjmlp | 2025-06-25 10:30:17+00:00
Unfortunately, the new Edit isn't safe from such decisions.

While Satya might have made the change Microsoft <3 FOSS, the Gates/Balmer era was much better towards Windows developers.

Now we have a schizophrenia of Web and Desktop frameworks, and themselves hardly use them, what used to be a comfortable VS wizard, or plugin, now is e.g. a CLI tool that dumps an Excel file, showing that newer blood has hardly any Windows development culture, or their upper management.
by andrepd | 2025-06-25 10:30:21+00:00
The problem occurs whenever there aren't competent and powerful institutions working to protect the interests of the people, so indeed.

But the thing is capitalism is a tremendously powerful machine, so it's really more dangerous than an unmotivated Polish bureaucrat. The Soviets may have drained the Aral sea but capitalism has poisoned the entire planet (with TEL even before PFAS).
by 0points | 2025-06-25 10:30:49+00:00
> 5% of people can't view them, yet 25% of top websites use them?

That's not how it works.

The server declares what versions of media it has, and the client requests a supported media format. The same trick have been used for audio and video for ages too.

Example:

<picture> <source srcset="a.webp" type="image/webp"> <img src="fallback.jpg"> </picture>
by ExoticPearTree | 2025-06-25 10:30:58+00:00
Regarding the speed limit, I have mixed feelings about it.

They seem outdated, even 20-30 year old cars are stable enough on the road to go 80-100km/h instead of 50. Germany has shown that driving as fast as the car can go is not the main cause for car accidents.

With some exceptions where I think they're doing something good, like dangerous curves, they are mostly used by police to make money for the city/government.
by ibobev | 2025-06-25 10:32:07+00:00
The personal website of Dmitry V. Sokolov. Includes the TinyRenderer: https://haqr.eu/tinyrenderer, TinyCompiler: https://haqr.eu/tinycompiler, and TinyOptimizer: https://haqr.eu/tinyoptimizer tutorials. Other tutorials and the same in other formats can be found in the author's GitHub: https://github.com/ssloy/.

* Tiny renderer or how OpenGL works: software rendering in 500 lines of code: https://github.com/ssloy/tinyrenderer/wiki)

* TinyRaytracer: Understandable RayTracing in 256 lines of bare C++: https://github.com/ssloy/tinyraytracer/wiki

* TinyRaycaster: 486 lines of C++: old-school FPS in a weekend: https://github.com/ssloy/tinyraytracer/wiki

* KABOOM! in 180 lines of bare C++: https://github.com/ssloy/tinykaboom/wiki/KABOOM!-in-180-line...

* Least squares for programmers: https://github.com/ssloy/least-squares-course)
by NeelShah2409 | 2025-06-25 10:33:31+00:00
OpsAI is a powerful new tool designed to bring unparalleled efficiency to your operations. It intelligently: Automatically detects issues: Proactively identifies problems before they escalate. Provides detailed analysis with root cause insights: Get to the heart of issues quickly with comprehensive diagnostics. Finds fixes with a single click: Streamline problem resolution with instant solutions. Can even auto-fix your code: Take automation to the next level by allowing OpsAI to implement fixes directly.
by dinfinity | 2025-06-25 10:34:19+00:00
OK, go ahead: Write a 10 page reasonably well-researched and sourced report on the political situation in the Netherlands in the past 20 years. You have 15 minutes.

The various 'deep research' tools available today can do this. You can't. AI already surpasses you (and me) in this task. Now think about the result after asking less intellectually capable people to do this.

Before you start balking about "hallucinations", pick some country you know about and ask a similar question to Google Gemini (2.5 Flash, and enable 'Deep Research'). Check the results and reconsider your 'calculator' straw man and 'misanthrope' ad hominem.