MurphyA/hacker-news huggingface dataset:
by benrutter | 2025-06-30 12:19:16+00:00
I'm working on an ultra-lightweight data contracts framework for python dataframes (pandas, polars, pyspark, etc).

Using Narwhals under the hood has been a blast and amazingly effective!

Shifted some stuff around recently, and trying to get a guaranteed stable api so that I can bump to v1.

https://github.com/benrutter/wimsey
by glkindlmann | 2025-06-30 12:19:40+00:00
I started work on Teem [1] as a grad student 25 years ago; a coordinated set of C libraries for scientific visualization. It includes the original implementation of the NRRD file format [2]. One of my goals for this summer is to finally finish a version 2, so I try to spend a little time every day whittling down my todo list for that release. Currently fixing some things in the command-line parsing library ("hest"). Hearing about other people's long-standing projects is encouraging.

[1] https://teem.sourceforge.net/ but these docs are super outdated

[2] https://en.wikipedia.org/wiki/Nrrd
by BLKNSLVR | 2025-06-30 12:19:52+00:00
Looks really good an seems intuitive (from just browsing the landing page). Will look more deeply.

Diagram-as-code option?

ie. a language syntax from which a diagram can be generated?

I find a lot of the time taken up in doing diagrams is laying them out properly and then having to rearrange them when it grows beyond a certain size.

This may,however, be an old-man Visio user problem that's been better solved by more recent options...
by tialaramex | 2025-06-30 12:20:35+00:00
Presumably this was converted from markdown or similar and the conversion partly failed or the input was broken.

From the PVI section onward it seems to recover, but if the author sees this please fix and re-convert your post.

[Edited, nope, there are more errors further in the text, this needed proper proofreading before it was posted, I can somewhat struggle through because I already know this topic but if this was intended to introduce newcomers it's probably very confusing]
by lotsofpulp | 2025-06-30 12:21:10+00:00
The problem with these discussions is the errant use of poor/middle/upper/top as class identifiers.

The more useful identifiers would be roughly young and/or working, and old and/or non working. The latter category also covers the beneficiaries of wealthy people (who are among the old and/or non working).

The USA (and many countries, especially democracies) has a situation where your expected quality of life is lower (or not sufficiently higher) for the young and working than the young and non working for those not lucky enough to be born to the right families or prudent enough to make the right choices in school, etc.

The incentives should always be such that expected quality of life is always greater for those working than non working.

Note that this is a different topic than whatever the floor for quality of life should be.
by Neywiny | 2025-06-30 12:21:15+00:00
https://github.com/python/cpython/blob/847d1c2cb4014f122df64.... i686 is Windows only. I see there's a warning about this later if you're unsupported and therefore a 0 case, but either this becomes an error later on or they softened the impact since I did this. Or I'm looking at the wrong check.
by evalsocket | 2025-06-30 12:21:44+00:00
It's true—we removed YAML examples from the docs. While we do support YAML, we discourage users from writing it manually.

Right now, we're testing YAML support specifically for Go users in an early phase.

This tool is designed for end-to-end testing of Go applications, not as a CI workflow engine.

Since the CLI exists in multiple languages, YAML support remains for compatibility, but it's not the primary interface we want users to rely on.
by qsort | 2025-06-30 12:21:56+00:00
Quoting cppreference:

An identifier is an arbitrarily long sequence of digits, underscores, lowercase and uppercase Latin letters, and Unicode characters specified using \u and \U escape notation(since C99), of class XID_Continue(since C23). A valid identifier must begin with a non-digit character (Latin letter, underscore, or Unicode non-digit character(since C99)(until C23), or Unicode character of class XID_Start)(since C23)). Identifiers are case-sensitive (lowercase and uppercase letters are distinct). Every identifier must conform to Normalization Form C.(since C23)

In practice depends on the compiler.
by lisper | 2025-06-30 12:22:55+00:00
The operative word was always "premature". As with everything, whether or not a particular optimization is worthwhile depends on its ROI, which in the case of software depends on how often your code is going to be run. If you are building a prototype that's only going to run once, then the only optimizations that are worthwhile are the ones that speed things up by times comparable to the time it take to write them. On the other hand, if you're writing the inner loop of an LLM training algorithm, a 1% speedup can be worth millions of dollars, so it's probably worth it even if it takes months of effort.
by WillAdams | 2025-06-30 12:23:16+00:00
Resisted this for a long while, instead using a series of plastic organizers in various sizes, eventually settling on the Storehouse 10 Tray Organizer Utility Box from Harbor Freight which organizer size matches that used for selling a fair range of hardware on Amazon --- then, when I dropped one, breaking the dividers/separators in the box and went to look for a replacement discovered it was out of stock locally and was being discontinued.

On that basis, a DIY/roll-your-own solution became far more attractive.

- no waiting on shipping

- no worry about whether or no there is an SKU which meets my needs (I had to modify the 10-tray compartments into 5-tray front--back organizers for endmills)

The thing which finally pushed me over was the development of a matching Systainer system:

https://old.reddit.com/r/gridfinity/comments/1lnkt93/wip_upd...

which hopefully will be ready by the time my order of a new/larger 3D printer than my current (tiny) Ordbot Quantum arrives.
by lioeters | 2025-06-30 12:23:45+00:00
Looks like a code block didn't get closed properly, before this phrase:

> the functions `recip` and `recip⁺` and not equivalent

Several paragraphs after this got swallowed by the code block.

Edit: Oh, I didn't realize the article is by the author of the book, Modern C. I've seen it recommended in many places.

> The C23 edition of Modern C is now available for free download from https://hal.inria.fr/hal-02383654
by 1970-01-01 | 2025-06-30 12:23:50+00:00
>After some digging it turned out that in the last 10 years the price of cars went double. Literally double. Same car, like Fiat Panda, with the same engine and configuration, that ten years was worth one potato is now worth exactly two potato.

You communicated the concept perfectly. Anyone holding onto a pile of say 10k cash in 2015 have exactly 5k cash value in 2025. But here's a hidden kicker. Storing any functional vehicle in cheap storage is turning out to be a sold form of investing.
by st3fan | 2025-06-30 12:23:54+00:00
Invest in CI/CD. If your project is on GitHub, create a workflow that builds your app and packages it as a docker image stored in your private GitHub Container Registry.

On your server you can then just docker pull a new version. You can also automate this on the server side with a cron job or use Podman which can automatically detect new versions and will pull and run your image.

Bit more work to set it up but then all your manual steps go away. Having a docker container image also means you can deploy it anywhere - most places where you host apps accept an image as the universal format for an app.
by danaris | 2025-06-30 12:25:05+00:00
Threads like this one are a short-term consequence for Apple.

People here, discussing it, a) demonstrate that they find the act to represent a breach of trust, and b) spread that understanding and opinion among those who read it.

That's not, in itself, a direct consequence for Apple, but it is something they need to be, and I genuinely believe are, worried about, because losing trust in them is precisely the kind of thing that will get people to stop buying their products. This is especially true given the way they've positioned themselves as a more trustworthy actor in the privacy field.
by fedepochat | 2025-06-30 12:25:47+00:00
I'm just currently working to solve cases like this haha.

I'm developing a service for hosting any app (any language, framework) into AWS (Azure, GCP in a future) without having deep devops skills. What we do is to host everything in your tenant, not relying on black box hosting such as Fly, Railway, Vercel, etc.

I'd love to talk to you and see what your necessities are (not promoting, its not even a paid service yet, I just need to understand people with issues like this)

Site: obelis.ai
by gavinray | 2025-06-30 12:25:55+00:00
Also of interest to folks looking at this might be TySan, the recently-merged LLVM Type-Based Aliasing sanitizer:

https://clang.llvm.org/docs/TypeSanitizer.html

https://www.phoronix.com/news/LLVM-Merge-TySan-Type-Sanitize...
by hs86 | 2025-06-30 12:26:46+00:00
I remember old setup wizards on Windows 9x that would commonly advise disabling any antivirus software before proceeding with an installation. Even back then, we knew those programs could break basic functionality like app installations, yet the platform owner never truly intervened.

This whole situation now feels like too little, too late. We currently have a vast market of "security" software built on top of their platform, and everyone is compelled to use it, often due to compliance requirements. Now, Microsoft has to walk on thin ice by restricting these "snake oil" vendors without getting into trouble for anticompetitive behavior by restricting a market on top of their platform that should have never existed in the first place.
by petesergeant | 2025-06-30 12:27:06+00:00
I used to run a small club promotion gig in London with some friends.

Clubs would give us £10 per girl we brought in, but much more importantly (to us) give us a table bang in the VIP section and a few free bottles. We would aim to bring 10-20 girls with us.

The girls would go and mingle with other tables in the VIP area who were often men who'd paid through the nose for a VIP table (£1,000 a bottle for alcohol that generally cost less than £50 wholesale, and this was in the early 2000s), because generally they knew they were rich guys and they had free alcohol on their tables.

At several set points, the club would send our table bottles of alcohol with fireworks and make a big deal out of it, and all the girls would migrate back to our table for the drinks and high-fives, which would encourage the men with the actual money to then order their own bottles in the hope of luring the girls back.

The girls were (frequently American) university students who got a free night out hosted by people they trusted, in a venue with bouncers they came to know well, we got the immense social proof of being the people at the center of the VIP section surrounded by girls which helped our own love lives no end, the club spent a few hundred bucks on us but filled their VIP area with pretty girls, and finally the bankers who'd paid a huge amount for their VIP table got pretty young American university students to talk to.

I'm sure this is still a popular model, and we were very far from the only people doing it.
by MisterTea | 2025-06-30 12:27:23+00:00
Theses kinds of questions have no easy answer. Ive done a lot of my own auto work including an engine swap with a friend years ago. This stuff comes with experience but it helps to grow up with an engineer father with a machine shop. It also helps enormously to have gear head friends and have a life long interest in mechanical workings.

Repairing a car these days is not the same as it used to be but I would start with the basics: maintenance items. As you mentioned, changing a tire is a good first step as it will teach you how to secure and jack up a car *safely*. You should also get familiar with tire pressure, acceptable tread wear and tire rotation. Once the tire is off you'll see the brakes and the suspension components. Disc brake pads are simple to change and a good next step: two bolts, caliper slides off, pop out pads, compress piston, insert new pads, slide and bolt back on, done. Under the hood, there are a few educational and simple maintenance items like checking and changing your: air filter, oil and oil filter, brake fluid reservoir, coolant level, and power steering fluid. The above items are like 90%+ of all garage visits.

These items are all part of various subsystems which make up a car so as you work your way through you will get a feel of what things do. With experience you'll be comfortable with popping the hood and getting your hands greasy. I also want to mention that you can and will get hurt, scrapes, small cuts and bruises are not uncommon, it's rough work at times. Take your time, be safe, wear ppe, and work with someone if you can.
by Zigurd | 2025-06-30 12:28:29+00:00
I don't think Farley gets it entirely:

“When you have a brand like Ford, when there’s a new technology, you have to be really careful,” Farley said at the Aspen Ideas Festival on Friday. “We really believe that LiDAR is mission critical,” Farley said

LIDAR is just one sensor type. Without Google's geospatial data, is LIDAR a decisive capability? Without all those Google Maps users providing data? Google, hence Waymo, probably has advantages that are hard to guess.
by smeej | 2025-06-30 12:28:52+00:00
Gosh, I didn't realize people weren't learning these things anymore, just as a matter of normal life.

I'm an early(ish) Millennial woman from the suburbs, from a family with no meaningful mechanical knowledge or training of any kind, and I've done most of these things.

I would have considered myself pretty ignorant about cars prior to reading your comment. Thanks for shifting my perspective to seeing myself as having at least a useful basic familiarity with things!
by lproven | 2025-06-30 12:28:53+00:00
> I never bought used computer parts.

I was taken aback by this.

I almost never buy new parts, except phones, and not always then.

I don't think I've bought a new computer since about 2001 or 2002, and then, that was because someone else was paying and her stipulation was new only. Before then... the 1980s?

Computer hardware is like a car: when you exit the shop, 25% of the value just dissipates like a puff of steam. Within about 3 years, another 50-60% is gone. So, I always try to buy kit that's more than about 3Y old, because that's when it becomes cost-effective.

When you pay 10% of the new price, that means you are getting at least 10x the price:performance ratio. It's almost impossible to buy anything new that is 10x faster than something ~3 years old and it has been for 20-25 years or more now.
by svara | 2025-06-30 12:29:17+00:00
In practice repetition of this quote more often than not leads to a lazy attitude of "don't think about performance, it's too complicated, measure first and then let's talk".

In my experience all great programmers think about performance from the moment they start thinking about a problem.

Like, you're writing an O(n^2) nested loop over an array that's not going to be tiny? Get out of here! That just shouldn't happen and talking about "premature optimization" points in exactly the wrong direction.
by logifail | 2025-06-30 12:29:39+00:00
> I've seen SDRs being used to track civilian airplanes using TV transmitters

I was reading about that and was really interested in trying it - got quite close to buying some kit (KrakenSDR) - then it seemed that particular capability got removed suddenly a couple of years ago due to ITAR regulations, or at least legal types getting worried about ITAR...

https://www.reddit.com/r/RTLSDR/comments/yu9rei/krakenrf_pul...
by balanced2 | 2025-06-30 12:31:14+00:00
The original article does point out the polygenic nature of the disease.

Currently dealing with a schizophrenic brother-in-law randomly calling for the death of his wife. They have a 2-year-old. I have high hopes for her though, but not for the ability for HN commenters to be able to make empathetic comments instead of random barking.
by dotancohen | 2025-06-30 12:31:28+00:00
You think that software isn't complex because you've never seen it.

What should it do when the throttle pedal goes from 0 to 99 percent? That's likely an electrical issue, not a driver command to plow through the school zone. I could probably think of a dozen such scenarios, and the true number is probably in the hundreds. They all have to be proofed mathematically. With redundancy.

Out of eye, out of mind.
by skybrian | 2025-06-30 12:31:47+00:00
Unlike C, Go is garbage collected. Hiding pointers from the garbage collector so it can’t trace them without breaking something seems tricky. There would need to be pointers to that memory somewhere else to prevent it from being collected.

And then since you’ve disabled the system GC, you need to write your own GC that understands NaN boxing to find out when memory can really be freed.

I see it as so awkward that it’s not worth doing.
by OneDeuxTriSeiGo | 2025-06-30 12:31:56+00:00
Lot's of kids take band class but band class is expensive.

I'm in my late 20s so it's been a little while but in middle school band fees and instrument rentals (if you couldn't afford your own) were like 100-300USD per year. And in high school the cost of participating in the marching band was like 600-800USD (bus rentals, trailer rentals, uniforms, event fees, etc) for a single semester and then concert band was another ~200-300USD for the other semester and the jazz band was a similar ~300ish USD.

And if you can't afford those fees you either just sit in the back of the class doing nothing until you can find a way to make that money or you and/or your parents had to work concessions at the different sports teams games for essentially the entire year to cover the cost. Of course there's only a limited number of slots for that and a single person isn't going to cover that cost in a year, only like half of it. So now to be able to participate in band you depend on your parents being able to afford the energy and time to work in a kitchen or concessions stand for 5-10 hours a week.

And if all the spots are full for concessions and it doesn't look like you'll be able to pay? You get moved out of the band class and assigned to another "elective" course with a lower cost to participate in. All the other ones still of course cost ~150-400USD for the year with the exception of the "learn how to use microsoft office" class and gym. So the poor kids just got sent to those classes and took the them over and over again every year instead of participating in one of the arts classes.

So yes lots of kids take band class. But band class is expensive and it only gets more expensive as costs go up and funding goes down.
by rurban | 2025-06-30 12:33:45+00:00
It's a hit at the box office, but not so with the critics. The previous F1 film "Rush" (Lauda vs Hunt) is still better. imdb 8.1 vs 7.8, metacritic 8.4 vs 7.6, letterboxd 3.83 vs 3.81 (with a lot of f1 cheaters not accounted for). It's more comparable to "Gran Turismo", which had equally good race fighting scenes. And more realistic simulator training brought to the track.
Show HN: TokenDagger – A tokenizer faster than OpenAI's Tiktoken
by matthewolfe | 2025-06-30 12:33:58+00:00
TokenDagger is a drop-in replacement for OpenAI’s Tiktoken (the tokenizer behind Llama 3, Mistral, GPT-3.*, etc.). It’s written in C++ 17 with thin Python bindings, keeps the exact same BPE vocab/special-token rules, and focuses on raw speed.

I’m teaching myself LLM internals by re-implementing the stack from first principles. Profiling TikToken’s Python/Rust implementation showed a lot of time was spent doing regex matching. Most of my perf gains come from a) using a faster jit-compiled regex engine; and b) simplifying the algorithm to forego regex matching special tokens at all.

Benchmarking code is included. Notable results show: - 4x faster code sample tokenization on a single thread. - 2-3x higher throughput when tested on a 1GB natural language text file.
by vel0city | 2025-06-30 12:34:24+00:00
Depending on the drive trains being compared, the hybrid drivetrain may be overall mechanically simpler than an ICE. A series hybrid can easily have fewer moving parts, fewer friction spots, less reliance on fluid motion through little channels, etc.

And then you're also keeping the moving parts more in their happy zone of temperature, speed, and load instead of needing them to operate in as wide of conditions.
by ryandrake | 2025-06-30 12:34:34+00:00
YouTube is fantastic if you already diagnosed the problem and know what part you need to replace. You just follow along with the video, pausing while you go. It’s perfect.

YouTube is kind of shit for diagnosis, though. Most of the videos just gloss over it. “Hey guys! So, my fuel pump is dead, so here’s a video on how to replace it!” Ok, thanks, but how did you figure out it was the fuel pump? Not a lot of YouTube content along those lines.
by sillystu04 | 2025-06-30 12:35:04+00:00
> Beyond that, the chinese EV brands are in market capture mode right now. The competition is cut throat and the margins are extremely thin.

BYD is profitable. Admittedly that's more of an exception than a rule for Chinese EV brands, but BYD is also the most important.

> It‘s a market skimming strategy that will presumably be a last man standing scenario. If the winner(s) are decided, prices will definitely not remain as low as they are right now in some places.

Even if most of the brands disappear we're very unlikely to get to an n=1 monopoly scenario. Even a couple dozen or so companies competing in the EV space should prevent margins from getting too high.

In the olden days the ICE industry was at times run by fewer than 10 companies per country, that was enough competition to prevent consumers getting too screwed by pricing.