MurphyA/hacker-news huggingface dataset:
by cb321 | 2025-09-17 16:29:45+00:00
That sounds way too long. Mine takes like 15 ms on a 2015 cpu and I activate zsh-syntax-highlighting and new style completion and everything, but yeah oh-my-zsh often adds nutso overhead. Anyway, I suggest you profile your zsh start-up. Here's one copy-paste friendly way to do that:

(PS4='+$EPOCHREALTIME ' zsh -licx exit)2>err era=$(grep '^+[1-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9].[0-9]*' <err | head -c6) # c6 here rounds to 100_000 seconds (eg +17483xxxyy) awk '/^\'${era}'[0-9][0-9][0-9][0-9][0-9]\.[0-9]*/{ if (c) printf "%.06f %s\n", $1 - t0, c; t0 = $1; c = $0 } END { printf "%.06f %s\n", 0, c; }' < err | sort -g > startup-profile

(Note for $EPOCHREALTIME to work you need a `zmodload zsh/datetime` somewhere early on. I might suggest at the top of `$ZDOTDIR/.zshenv` for this kind of thing.)

Also, if something seems limited by "just parsing", you can usually speed that up a lot with `zcompile`. I do that with a `.zcompdump.zwc` and a `digraphs.zsh.zwc`.

EDIT: I noticed myself that really large HISTSIZE (in the 100s of thousands, and with such limit realized) combined with de-duplication seems to be a bad combination. I just lowered my HISTSIZE with a when-too-big spool-off for longer term history/cold storage.
by WorldMaker | 2025-09-17 16:29:45+00:00
Yep, which is part of why it feels real good to delete Jest and switch to `node --test`. I realize for a lot of projects that is easier said than done because Jest isn't just the test harness but the assertions framework (`node:assert/strict` isn't terrible; Chai is still a good low-dependency option for fancier styles of assertions) and mocks/substitutes framework (I'm sure there are options there; I never liked Jest's style of mocks so I don't have a recommendation handy).

(ETA: Also, you may not need much for a mocks library because JS' Proxy meta-object isn't that hard to work with directly.)
by thewebguyd | 2025-09-17 16:29:52+00:00
I do the same (though not for personal photos, only for my professional wedding work). SD cards are small, I have a stack in a safe.

Every professional/paid client I shoot for, I do on new SD cards. I have dual slot cameras, so one card just permanently lives in my camera and gets formatted between shoots, the other I treat as a one-time use card.

Doesn't eat into my margin too much, and I appreciate the extra redundancy when dealing with someone else's wedding photos, so that if somehow something went catastrophically wrong with the rest of my back up process and off sites, at the very least I still have the SD card with the RAWs on it.
Show HN: Canteen – Enabling Claude/Cursor to hire world class tech talent
by andyprevalsky | 2025-09-17 16:29:57+00:00
Hi HN!

We are a group of YC founders sick of the hiring status quo. We're launching Canteen, a recruiting platform that is built for agents!

Canteen enables Cursor/Claude to be your recruiting agency. Instead of wrangling recruiters, you just tell Cursor/Claude:

“curl @https://recruiting.thecanteenapp.com and follow the instructions, I want a [your job description].”

From there, Canteen: • Ingests your job description • Searches across arXiv, GitHub, LinkedIn, EthResearch, etc. to find relevant technical talent • Uses our agentic communication layer to handle outreach + lead verification • Pipes warm, verified, hard-to-reach leads straight into your hiring funnel (email, CRM, calendar, etc.)

We’re building this because recruiting engineers shouldn’t require endless cold emails and bloated agency fees. Agents + open technical graphs unlock a faster, cheaper, and more direct way to hire.

Would love your thoughts and feedback!
by mtrovo | 2025-09-17 16:30:16+00:00
Lol honestly, not sure how they can be compared. Uber is a shitty proposition in any way and is mostly a way for us to get easy access to cheap labor. Nobody ever got rich driving for Uber.

There's no way you can say the same about YouTube, the value proposition is quite good and it leveled the field in a way traditional media would never do, just think for a moment what's the chance of seeing someone like MrBeast surging as a TV personality.
by gosub100 | 2025-09-17 16:30:32+00:00
Many metro police are moving towards encrypted communications but it varies by location.

Regarding medical emergencies, I'm pretty sure EMS just says "medical emergency" and gives the address. I've never heard them say specific patient conditions, although sometimes the ambulance can forward that to the ER.

If there were any risk, it would be making it too easy for criminals to monitor and allow them to commit crime more effectively.
by kg | 2025-09-17 16:30:33+00:00
I assume this is about adblock. In that case, the PC owner/user's right to control their own hardware takes priority over the content creator's desire to control other people's hardware. Without that fundamental rule, it becomes possible for i.e. John Deere to dictate how you can repair or modify your own equipment, if they allow you to do it at all.

It's unpleasant and I really feel for the content creators whose livelihoods are impacted but we've already seen how bad it is to restrict end users' autonomy.
by chuckadams | 2025-09-17 16:30:39+00:00
I remember doing something similar, but I just used two columns, a public uuid, and a bigint primary key that wasn't exposed to the api (this was long before uuidv7). Lacked a lot of the conveniences of using uuid everywhere, but it still handled the use case of merging different DB dumps as long as PKs were stripped out first.

And maybe I misunderstand how the hashing works, but it seems if you're looking things up by the hashed uuid, you're still going to want two columns anyway.
by FuriouslyAdrift | 2025-09-17 16:30:49+00:00
AMD is HIGHLY successful in the GPU compute market. They have the Instinct line which actually outperforms most nVidia chips for less money.

It's the CUDA software ecosystem they have not been able to overcome. AMD has had multiple ecosystem stalls but it does appear that ROCm is finally taking off which is open source and multi-vendor.

AMD is unifying their GPU architectures (like nVidia) for the next gen to be able to subsidize development by gaming, etc., card sales (like nVidia).
by jmull | 2025-09-17 16:30:51+00:00
The abstractions you build your code on top of can be very costly, and a lot of that cost is due later.

You need to carefully weight the costs of abstractions you adopt. That goes double (or triple or quadruple) for data access, which is typically the central point of an app.

When sqlite is involved, I'm really doubting an ORM is worth it in the great majority of cases.

That's because sqlite is robust, mature, full-featured, very well documented, has demonstrated long-term viability, has a commitment to backwards compatibility and support, etc. I think it makes the most sense to implement an application-level data-access layer and have it use sqlite as directly as possible.

What sqlite doesn't do that an app needs is dealing with Swift types. I.e., the grunt work of the sqlite3_bind_* and sqlite3_column_* calls to transform Swift values to and from sqlite3 values. (And to a lesser extent, various Swift-isms for quality of life.) But you can have that without the rather more intrusive footprint -- and therefore much higher cost -- of an ORM.
by supermatt | 2025-09-17 16:31:03+00:00
Then they should enable interoperability. Either provide a secure platform that others can access, or let third parties offer their own. The whole point of passkeys is to handle remote authentication and authorisation securely - and is effectively what Apple are already doing under the hood.

This whole "we can only trust Apple" argument is outdated given modern security standards like FIDO2/WebAuthn and passkeys
by raddan | 2025-09-17 16:31:21+00:00
I live out in the country now where it is nice and quiet but when I was in grad school I worked for a summer in NYC and had an apartment in midtown. One of the many delights was having an apartment whose sole window opened into an interior courtyard that was maybe 10’ wide x 10’ long. Despite the fact that it did not directly open to the street, the noise from the window was so intense that I basically never opened it.

I eventually came to appreciate that the noise level (and god, trash odors) were tolerable as long as you either never went outside, or you limited your exposure to the few modestly quiet places or times in the city. Weekend noise level could be pleasant at times but holy Christ… do the sirens ever stop?!!!
by yencabulator | 2025-09-17 16:31:27+00:00
Linux already maintains quirks code paths for all kinds of devices where the manufacturer "could have" updated the firmware to fix the bug but never did.

It also contains quirks for Intel x86 core platform features: https://github.com/torvalds/linux/blob/master/arch/x86/kerne...

For the now-fashionable LLMs-on-GPUs world, it's pretty much just matrix multiplications. How many patents can reside in that? I don't expect Google to sell TPUs because that's not the business they're in, but AMD could put them in their SoCs without writing drivers: https://cloud.google.com/tpu/docs/system-architecture-tpu-vm...
by foldr | 2025-09-17 16:31:40+00:00
I would guess MacOS. In case this is the reason you're asking, we know that it's possible to run MacOS on an A series chip because of the Developer Transition Kit: https://en.wikipedia.org/wiki/Apple_A12X#Developer_Transitio...

IIRC the A series chips lack the features necessary for efficient virtualization, but of course there's a large market for people who never run a VM on their laptop.
by tracker1 | 2025-09-17 16:31:42+00:00
Except that still locks you to 1920x1080 which a LOT of displays, laptops etc already break... 16:10 aspect, 3440x1440p, etc. are already outside that ratio you outline. The thing with 80x25 VGA text modes was it was both fast and consistent in a lot of ways. You just cannot have a predictable full screen text interface today in the same way as you could.

That said, there were differences back when... you had the original CGA and EGA as precursors to VGA. I used an EGA 386 system for several years and have similar fondness for that, especially in that it was the native for RIPterm/RIPscrip in the early-mid 90's. Which was still different from the much more common VGA modes.

Hell, my biggest niggle to this day is that so many terminal apps don't match the DOS colors you got with CGA/EGA/VGA default. I often will configure that, so I can at least output classic ANSi art to my terminal and have it look closer to correct. I keep working through ideas for a "modern" text mode BBS that worked well in modern terminals. On the flip side, I'm thinking of adapting a door server model that will map CP-437 output to UTF-8 and map the colors to rgb color codes for modern terminals to show the right colors.
by Workaccount2 | 2025-09-17 16:31:48+00:00
The views didn't count in the first place, that's why the money stayed the same.

Creators can now though, knowing how much they make per view on avg, and slot in the avg number of view that were missing, work out how much they are missing out on due to ad-blocking.

For large creators, it's likely in the tens of thousands of dollars per video assuming most are seeing the same ~20-25% drop.

Eventually the "morally pure" internet will need to reconcile it's habit of not compensating creators.
by ndriscoll | 2025-09-17 16:31:56+00:00
The videos for smart people are things like:

* University lectures

* Conference talks

* Random clips of homeowners doing some DIY repair

i.e. things that were being done anyway, and someone decided to post it online because it's free and they wanted to be helpful. "Content creators" are already almost never making videos with high value information. The entire idea of "creating content" rather than "sharing information" is a bad framing to start from. When we recognize that "sharing information" is the high-value action, we're better able to see that it not only can be done by someone who isn't a full-time "creator", but may actually be done better by people who aren't devoted to it since their occupation is to be a practitioner of the field they're sharing information about. i.e. they are better informed.
by giancarlostoro | 2025-09-17 16:32:13+00:00
I would love to know if they even invest enough into QA resources. For a company like Microsoft, Apple, Google, and Amazon etc... I guess anything that qualifies as FAANG, I would prefer their QA departments be slightly overstaffed and that they do redundant testing than messing up with completely avoidable software issues. Sometimes the production bugs are embarrassingly obvious so much so it screams no QA team was involved.
by _3u10 | 2025-09-17 16:33:14+00:00
It is strange that so many Brazilians choose to buy products in less regulated and protectionist Paraguay, why would so many Brazilian Drs choose to be educated in a "right-wing narco state". Why is there less inequality in unregulated Paraguay?

What advantage is conveyed to people who travel from Floripa to CDE just to avoid the wonderful consumer protections offered in Brazil? Why would they do such a thing when given the opportunity to vote with their feet?

How does paying twice as much for a car advantage the average Brazilian? Does it make it more affordable for them? Why do "poor" Paraguayans drive Mercedes and BMW when Brazilians choose Renault for the same price?
by bell-cot | 2025-09-17 16:33:25+00:00
Quite a few good points - but I would limit how much blame one puts on the web, and the obviously unhealthy influences and ideologies found there.

And bear in mind that 99.9999%+ of online young men are not suddenly going out and killing people. Sadly, humans' obsession with rare violent acts leads journalism into providing us with an extremely unrepresentative worldview.

(And imagining the Kirk killing to be part of some huge nefarious liberal plot is just a "politically useful" conservative delusion.)

And also that young men were occasionally doing political-looking violence - for random-, crazy-, or idiotic-seeming reasons - long before there was a web. Once the facts came out, John Hinckley Jr. was not an ideological actor. Nor an enemy agent. Nor part of any conspiracy. Just a sexually obsessed lone nut job.
by lbhdc | 2025-09-17 16:33:33+00:00
I was wondering the same thing, what is the business here?

My guess is whatever is involved is related to the business they are actually in, and (if successful) this is a high profile way to demonstrate their expertise at solving problems in this space (and getting a lot more funding for future swings).

It seems they are focusing on birds, so maybe something like making more resilient chickens for farmers. Perhaps their pitch might be something like spending X% more on Colossals modified chickens yields cohorts that have Y% better survival rate reducing veterinary costs and increasing product to market while assuming the extra cost doesn't overshadow this benefit. Like GMO seeds but for livestock.
by landonxjames | 2025-09-17 16:33:42+00:00
This is infuriating to me. I manually manage my music library and have for years. I buy the iPhone with the most storage so I can keep my entire library with me locally. This used to work great, but has degraded over the last decade. Now when I drag new music to my phone in iTunes nothing happens for minutes, and then if I get lucky it finally starts transferring, but some times nothing happens at all and I have to retry.

Recently when I load new music onto my phone I find that random unrelated album art has been mangled or switched with other albums from other artists. And some music, which exists on my phone's hard drive, is now greyed out and when clicked says "This item is not currently available in your country or region." I am considering switching back to a iPod with an upgraded drive and giving up on keeping music on my phone completely.
by NdMAND | 2025-09-17 16:33:43+00:00
Single-handedly, Firefox (independently from how crappy it can be at times) is what is keeping me on Android. Its full extension support (i.e.: uBlock Origin support) is something that I can't really do without. I do wonder if the crowd here knows of other good alternatives though - specifically, Android and/or iOS browsers with "full" uBlock Origin support (no uBlock origin lite, no other blocker, ...). I would love to be made aware of a few alternatives. I am aware that there is a browser from Kagi that works on iOS (I think?) but it's still in beta and closed sourced so not ready for prime time on my device. I am also aware of some peers of Firefox like Waterfox.
by einpoklum | 2025-09-17 16:33:45+00:00
If you were forced to choose between creating a cross-platform project in one of the trendy language, but of course, which must also work on tiny hardware with a weird custom OSes on some hobbyist hardware, and with 30-year-old machines in some large organization's server farm - then you would choose the C++ project, since you will be able to make that happen, with some pain. And with the other languages - you'll probably just give up or need to re-develop all userspace for a bunch of platforms, so that it can accommodate the trendy language build tool. And even that might not be enough.

Also: If you are on platforms which support, say, CMake - then the multi-platform C++ project is not even that painful.
by bullen | 2025-09-17 16:33:56+00:00
I have used Samsung PM897 1.92TB for a year and it's okish... it is slow on the indexing when folders become saturated and as the drive fills up it becomes slower.

Solution is to remove some files... and pray it lasts half of a 64GB Intel X25-E!

It should last 30x shorter because it is 30x larger?

Or is this game only about saturation rate?
by grues-dinner | 2025-09-17 16:33:57+00:00
Assuming Chinese competitors get cut off as a "threat to national security", I'm sure Waymo would behave responsibility as a monopoly and won't be driving for a system that "accidentally" end with private car ownership being eroded along with public transport options in favour of their product.

It would be crazy if a self driving car company would undertake projects that undermine public transport, for example. Proposing mad things like vacuum pod trains to head off conventional HSR for example. Imagine!
by crazygringo | 2025-09-17 16:33:58+00:00
I completely agree about there being a fundamental design flaw.

I still use Macs because data on a physical disk seems perfectly reliable, but I've been bitten by so many of these bugs in their apps. iCloud files completely disappear, then reappear a day later. Highlight a couple chapters of a PDF in Preview, then reopen the file and they're gone because iCloud thinks the older unhighlighted version is newer or something. Madness. I don't touch any of these Apple services/apps anymore.

There's very clearly a fundamental bug in whatever sync framework they seem to share across everything. It's bad enough to have data disappear entirely or deleted data reappear, but then when data shows up in the completely wrong place, and this has been happening for years and years and still isn't fixed... I don't know what to think.

You're right. There's no other word for it but "insane". They can engineer their A-series and M-series microchips, but it's been over a decade now and their sync is still fundamentally broken.
by WorldMaker | 2025-09-17 16:34:03+00:00
Yeah, I still don't understand a lot of the architecture choices behind the new compiler, including why the new compiler isn't mostly just a set of eslint suggestions with auto-fixes. I've seen the blog posts trying to explain it, but they don't seem to answer my questions. But then I also haven't done enough direct React work recently enough to have need of or actually tried to use the new compiler, so maybe I am just asking the wrong questions.
by dtkav | 2025-09-17 16:34:34+00:00
In the age of Claude Code having real-time collaboration + local-first markdown + easy to write custom plugins is the future. It makes no sense to lock up your documents in a saas product that gatekeeps your access to using AI on your own documents.

That's why I've been working Relay [0] - a privacy-preserving local-first collaboration plugin for Obsidian.

Our customers really like being able to self-host Relay Servers for complete document privacy while using our global identity system to do cross-org collaboration with anyone in the world.

[0] https://relay.md
by wahnfrieden | 2025-09-17 16:34:47+00:00
How else will you support CloudKit with SQLite? Personally CloudKit is a requirement as my customers value having their personal data inside their own Apple account rather than storing it on my servers. I also rely on CloudKit to avoid the cost and on-call burden of operating a realtime sync service.

Re: ORM, the SwiftData-like ORM part of SQLiteData is actually completely optional. You can write SQL statements directly via #sql: https://swiftpackageindex.com/pointfreeco/swift-structured-q... You can wrap usage of this in your own method so that you can swap out SQLiteData in the future without lock-in.

Re: Swift types, you may roll your own mapping, but performance is not trivial. Here is a benchmark from SQLiteData:

Orders.fetchAll setup rampup duration

SQLite (generated by Enlighter 1.4.10) 0 0.144 7.183 Lighter (1.4.10) 0 0.164 8.059 SQLiteData (1.0.0) 0 0.172 8.511 GRDB (7.4.1, manual decoding) 0 0.376 18.819 SQLite.swift (0.15.3, manual decoding) 0 0.564 27.994 SQLite.swift (0.15.3, Codable) 0 0.863 43.261 GRDB (7.4.1, Codable) 0.002 1.07 53.326

I found Enlighter and Lighter more intrusive to adopt, and the other open source solutions far slower (too slow for my needs, where my users have hundreds of thousands or millions of rows within the iOS apps)
by lucianbr | 2025-09-17 16:34:48+00:00
The author seems to think american companies are anti-consumer. That would certainly include Apple, no matter where a given product is made. Iphones are locked down due to decisions made by Apple execs and employees living and woking in the US, regardless where they are fabricated. It's the lockdown that matters, not where the factory is located.

I don't see why you would even think the geographical location of the manufacturing plant matters.
by fluoridation | 2025-09-17 16:34:55+00:00
I didn't dispute that, I was simply addressing the point about std::array. The class is not meant to be "arrays, but as good as they could possibly be". It's "arrays, but as first-class objects instead of weird language constructs".

That said, making std::array::operator[]() range-checking would have been worse, because it would have been the only overload that did that. Could they have, in the same version, made all the overloads range-checking? Maybe, I don't know.
by giancarlostoro | 2025-09-17 16:35:01+00:00
Clipboard has been unstable on every OS (especially on Desktop - and I mean Linux, Windows and Mac), and I think part of the culprit is apps like Teams and Discord, if you Ctrl + C by mistake on an empty text box, IT COPIES THE EMPTY TEXT BOX effectively wiping your clipboard. It's the most irritating UX and it took me years to figure out. Always right click copy and right click paste, you'll notice it works 100% of the time as it used to.
by lelanthran | 2025-09-17 16:35:42+00:00
> The first programming language that used overloaded operators I really got into was Scala, and I still love it. I love that instead of Java's x.add(y); I can overload + so that it calls .add when between two objects of type a. It of course has to be used responsibly, but it makes a lot of code really more readable.

The problem, for me, with overloaded operators in something like C++ is that it frequently feels like an afterthought.

Doing "overloaded operators" in Lisp (CLOS + MOP) has much better "vibes" to me than doing overloaded operators in C++ or Scala.