MurphyA/hacker-news huggingface dataset:
by mooreds | 2025-05-19 16:10:46+00:00
Welcome to the auth party! (Full disclosure, I work for FusionAuth, one of those third party auth providers.)

I feel like every ecosystem should have a great auth library, and am glad to see you taking on this challenge. I come from the ruby and java worlds where devise and spring auth are great choices, and have watched as several options have risen and fallen in the JS world (passport.js, nextauth). I've heard good things about your project from colleagues, so hopefully you'll win :).

Sounds like you plan to support this via infrastructure and higher level features. Any plans to offer paid support as well?

Anyway, congrats on your launch!
by lupusreal | 2025-05-19 16:11:48+00:00
Oh god, anything but a country cottage!

Gotta love how in one conversation, Americans will be mocked for living in "cheap McMansions". Then in another, Americans will be mocked for having small houses. Mocked for being rural. Mocked for being suburban. Only urban apartment dwelling bus riders are spared, but even then they are called substandard.
by sph | 2025-05-19 16:12:05+00:00
> Also, any integration attempts like making the icons a common asset rather than each application have their own, _fail_ and make things worse, with these integrations applications less often have working icons at all, and more often have mistakes like black icons against a black background making them invisible

One thing the GNOME community got right, despite the clamour and gnashing of teeth.

https://stopthemingmy.app/

Consistent cross-app theming support is a pipe dream from the 90s that has never worked, except in manicured screenshots to get karma points on /r/unixporn
by derN3rd | 2025-05-19 16:12:25+00:00
We've been using zod 4 beta already with great improvements but due to our huge codebase not being able to handle the required moduleResolution settings, we cannot upgrade...

They could at least also publish it as a major version without the legacy layer

EDIT: I've just seen the reason described here: https://github.com/colinhacks/zod/issues/4371 TLDR: He doesn't want to trigger a "version bump avalanche" across the ecosystem. (Which I believe, wouldn't happen as they could still backport fixes and support the v3 for a time, as they do it right now)
by ty6853 | 2025-05-19 16:12:30+00:00
Lol you can 3d print a gun in my state, stick it down your waist band, and go about your day, and you are legally good to go no law broken no paperwork needed. You could even walk in a bank with it -- As long as you don't plan on opening an account, then you need zee papers as that is too dangerous.

Also the silencer doesn't have to be made by an FFL as the article states. If you pay $200 for the tax stamp you can legally make it yourself.
by thaumasiotes | 2025-05-19 16:12:34+00:00
> The Chinese languages don't seem to be in stroke order (no expert here)

They are for me. In the Asia section, 中文 ["Chinese"] is listed first, followed by 吴语 ["Wu"] and then 粤语 ["Cantonese"]. Stroke order is first by stroke count and then by an obscure criterion that I don't know (and that, in my experience, Chinese people living in China also don't know), but stroke count is unambiguous and these are in order: 中 4, 吴 7, 粤 12.

Note that they aren't in alphabetical order: 中 Z, 吴 W, 粤 Y.

Japanese appears between Wu and Cantonese for unclear reasons.
by Sohcahtoa82 | 2025-05-19 16:12:39+00:00
£1 per liter‽ Where‽

I just checked my local grocery store website. The cheapest wine they have is $4 for 750 mL, and $5 off if you spend $15. So you could buy 4 bottles for $12. That's still $3/L.

But ah, yeah, your point still stands. Wine can be REALLY cheap.

Though back when I worked retail, I only ever had one guy that was always buying lots of wine. The customers that came in frequently to buy alcohol typically bought 12- or 24-packs of cheap beer, though the homeless would buy 40 oz Olde English 800 or the 24 oz Steel Reserve cans.

FWIW, I live in Oregon where hard liquor has to be bought from licensed liquor stores, not grocery stores.
by bjt | 2025-05-19 16:12:47+00:00
I know it's practically cliche to say so these days, but that picture is giving strong AI vibes. Look at the joints between the big beams. If you needed beams that large to hold up a building, you wouldn't cut them in the middle like that. And you wouldn't have those gaps.

Plus, all the text on the page is future tense, talking about what the super wood beams will be able to do.

So I don't know how much that picture really represents what the wood will look like.
by whartung | 2025-05-19 16:13:05+00:00
My friend, in the office next door, was a respected saucer hunter back in the day.

Saucer hunting was, essentially, the degenerate game play that base Asteroids reduced down to when you were playing for score.

The game was to leave a last, single, small rock floating about, and wait for the fast, 1000 point saucers to show up.

The trick was that the saucers were very fast, and very accurate. So the solution was to essentially hold down the thrust button, and race from bottom to top (since the ship rolled over the edges, rather than bounced off).

When a saucer showed up, you had to quickly react, point the ship in the right direction, just a bit off axis, and blast the saucer with a stream of bullets.

I was never particularly good at that myself, but my friend was. That's how you got on the high score boards in the local arcades back in the day.
by 999900000999 | 2025-05-19 16:13:25+00:00
>But wouldn't it be rather less extreme to simply push for sustainable cultural values to begin with?

Completely change a culture that's developed over hundreds of years to make life too stressful to raise a family ? The moment people(women) had the agency to opt out they did.

>Most Western nations are still fairly close to sustainable levels.

>Summary: U.S. population growth is projected to decline, and the population will become much older over time. Preventing these outcomes will require faster immigration by several multiples of its current rate.

https://budgetmodel.wharton.upenn.edu/issues/2024/3/22/us-de...

Immigration is holding up the populations of many western nations.

Honestly it might just be time for a economic system that doesn't demand infinite growth. Who are we to tell a 25 year old to settle down and have 2.1 kids.

This is really a triumph of individual freedom over anything else. 100 years ago you'd be 20, pressured to marry someone you don't really like, and expected to have kids even if you'd rather do something else.

The current generation is largely saying no. It's not just an economic issue, most negative population growth countries are relatively wealthy.

It's a matter of individual autonomy.
by gejose | 2025-05-19 16:13:30+00:00
> Peer dependencies are so broken that they had to make v4 pretend it's v3

I'm not sure this is the right conclusion here. I think zod v4 is being included within v3 so consumers can migrate over incrementally. I.e refactor all usages, one by one to `import ... from 'zod/v4'`, and once that's done, upgrade to v4 entirely.
by WorldMaker | 2025-05-19 16:13:31+00:00
Everything flexbox can do, CSS Grid can do, with easier/better/cleaner support for the second axis. At this point, I'd be interested in dropping flexbox entirely for CSS Grid.

("I don't need to worry about the second axis" seems to be a "not thinking fourth dimensionally enough" excuse to me today. You haven't considered enough responsive breakpoints or you haven't considered future features or future expanded data or future localizations, yet.)
by ruined | 2025-05-19 16:13:36+00:00
that's why they're taking the dual-availability approach, with a separate 'mini' edition. it's easy to perform a progressive migration without messing with the package manager.

consumers uninterested in the 'mini' edition don't have to bother with that part.

but, the benefits of the 'mini' edition are so drastic for tree-shaking that it was driving development of alternatives - zod had to either do it (and benefit), or deprecate.
by deafpolygon | 2025-05-19 16:14:09+00:00
Funny - I went the opposite direction. Built my PKM in neovim (still a works in progress) + lua + markdown [main plugins I use is treesitter, telescope]; the upside? It's the same tool I use for editing all of my code, config, documentation. I have already re-implemented features such as Dataview and Tasks (not a 1:1 re-implementation, but covering the gaps) using common shell tools (i.e. lua, rg, sed, etc). I have written a few small functions, plugins for neovim that I use myself. I've kept it as barebones and minimal as possible (don't want to overbuild) so I can maintain it myself and not incur maintenance cost for this.

I sync using git between my two laptops - I have given up on mobile sync as I realize: I rarely need to edit my notes on the go, it's mostly for view only, and most of my deep work is on the laptop anyways. Yes, I have a "3 copies - 2 locations - 1 remote" backup system in place (I upload an encrypted volume once a week to iCloud [I'm already paying for it] for my remote).

I wanted to eliminate a dependency on proprietary tools and I've found a way to manage my notes in the same way I manage everything else - using my filesystem, and common open source tools.
by MichaelDickens | 2025-05-19 16:14:56+00:00
I'm almost positive it's AI generated. Look at the chairs at the kitchen island in the background. No human would draw chairs that look like that.

The picture at https://www.inventwood.com/superwood-facade also looks AI-generated.

The fact that they're using AI images on their landing pages does not give me confidence in the quality of the product.
by lscharen | 2025-05-19 16:15:23+00:00
The states decided to add one digit to these numbers to further subdivide them. They did it differently, of course, and some didn't subdivide at all. Some of them have typos with "O" in place of "0" in a few places. Some states dropped the leading zeroes, and then added a suffix digit, which is fun.

Any identifier that is comprised of digits but is not a number will have a hilariously large amount of mistakes and alterations like you describe.

In my own work I see this all the time with FIPS codes and parcel identifiers -- mostly because someone has round-tripped their data through Excel which will autocast the identifiers to numeric types.

Federal GEOIDs are particularly tough because the number of digits defines the GEOID type and there are valid types for 10, 11 and 12-digit numbers, so dropping a leading zero wreaks havoc on any automated processing.

There's a lot of ways to create the garbage in GIGO.
by perching_aix | 2025-05-19 16:15:32+00:00
Not really sure I see the benefit to the linguistic choices there. It makes sense, but I just don't see the point. Doesn't help that you can implement emulators in hardware (e.g. FPGA-based emulation), and that the "emulated hardware" phrase can be misinterpreted as a reference to the real device in question.
by fmxsh | 2025-05-19 16:15:38+00:00
> Will our preferred notes system last the sands of time?

Yes... My note system will last.

> Could you see yourself using your note-taking app you use today in 30 years?

No, I do not trust apps to last. Therefore I use a simple file system hierarchy to categorize everything. Then I use the best avaliable browser and editor.

My setup is Markor on mobile for browse and edit. Syncthing-fork to get it all into my big system where I run customized Neovim and can make scripts to interact with the data as well as syncing any generated output to the phone.

Having been a Obsedian fan, with similar plug-in fascination, I also experienced the negatives the article mention, and I finally settled with a simple file hierarchy and resorting to as few and basic tools as possible. Obsidian is great, but I didn't need all the features. I need a way to categorize, to quickly find, to edit, and to easily sync and my current setup satisfies that and I'm productive with it. (of course it does not reflect Obsidian's second brain feature, but personally I found that concept to require more work than reward and it wasn't intuitive for me to get accustomed to, but I guess the second brain thing is more like a lifestyle).
by johnfn | 2025-05-19 16:15:42+00:00
Hmm, this is pretty interesting, but I still have issues. While Zod seems to be able to transform my server-returned object into a discriminated union, it doesn't seem to be able to tell which of the unions it is. For instance, say that api/user/mod-panel (e.g.) returns only moderator user objects. My API endpoint already knows that it will have moderator-related fields, but Zod forgets that when I parse it.
by skrause | 2025-05-19 16:16:43+00:00
Germany isn't ramping up gas imports, it's replacing both nuclear and coal with renewables.

And even though gas power plants are the designated backup power plants for times when there is neither enough sun nor wind, this doesn't actually happen often enough that you need even more gas. So gas consumtion in Germany is actually projected to decline by at least 50% until 2040 [0].

[0] https://www.spiegel.de/wirtschaft/energie-nachfrage-nach-gas...
by immibis | 2025-05-19 16:16:45+00:00
I'm not focused on any particular metric other than motivation here.

I'm sure some things on my ideas list could make a bunch of money - like taking some SaaS everyone hates because it's enshittified, making one that's not enshittified yet, then selling it to an enshittification company in a few years for a big payout. You'd think the possibility of money would be motivating, but it's not.

I do have unsuccessful side projects that I do sometimes work on, and I'm not motivated to finish them to any substantial degree either.
by squigz | 2025-05-19 16:16:51+00:00
How could they not? It was inevitable without data protection laws. Even if 23andme didn't go bankrupt, this would have happened as they chased more money - either directly selling the dataset, or "licensing" it

I think people knew this would happen, eventually. The real question is whether they cared. To most people, protection and privacy of data like this is still an abstract concern. I suspect that won't change until a serious data leak happens or something along those lines - although I hope I'm wrong.
by solardev | 2025-05-19 16:17:25+00:00
Are you using the new AI / Gemini search? It seems to work better when I turn that OFF and use the old search. It's buried in the settings.

Mine brings up hundreds of photos of cats, both mine and random ones that I didn't even know were in the photos.

It's even semi decent at telling apart individual pets (you can give them names just like people), though it sometimes struggles between our different black and white cats.
by JoeAltmaier | 2025-05-19 16:17:41+00:00
Ah yes, I found this:

"The Judica-Cordiglia recordings are widely dismissed as forgeries these days. In his biography, Gagarin suggested that most of the lost cosmonaut theories could be explained by accidents that happened in low orbit, not actually in space.

Even in declassified Soviet documents about the space program, there’s no mention of any missing cosmonauts. So, most of the evidence suggests that the story of the lost cosmonauts is probably just another of the many myths of the Cold War."

Thanks for the correction. (Could be a tad more diplomatic I suppose)
by jillesvangurp | 2025-05-19 16:17:48+00:00
There's also a commercial argument here. If your website or app sells stuff, you might want to care about your audience and addressing them in their own language.

There are hundreds of millions of people around the world that aren't fluent in the local language of wherever they are. Many of them probably speak English. Quite a few of those are possibly not that poor either and have disposable income.

So, if your business is selling stuff online, you could do worse than serving up stuff in English when being informed by the Accept-Language header that that is a preferred language. It's not that hard.
Ask HN: Tech Behind the "Magic" Company?
by ChicagoBoy11 | 2025-05-19 16:17:53+00:00
Many of you probably remember the company "Magic" from several years ago, which made waves by being a concierge service whose entire customer-facing experience was simply a phone number that you could simply text and make all sorts of requests from.

I work at a small consumer facing company but for our product most of our customers need to interface with lots of different folks internally. The "Magic" experience came to mind, and we were wondering if we could try and recreate it -- basically an efficient way to deal with so many disparate user requests but have it all, from the customer perspective, feel as if they only needed one simple channel to communicate with.

With that in mind, anyone know of any particular tech (be it existing CRMs, custom solutions, etc.) that the Magic team may have leveraged to accomplish what they were doing?
by not_your_vase | 2025-05-19 16:18:03+00:00
But it is still not possible to turn it off on IntelliJ products, right?

2 or 3 weeks ago I decided to learn Rust. I found an old version of RustRover (early 2024) on my machine, so I used that, and it was fine. Then I switched to my laptop, on which I installed the latest version. As I typed the tutorial code, it just kept pre-typing every line for me as it's in the Rust book, despite the fact that I disagreed and disabled all AI related options, since I wanted to learn, instead of watching a robot... so I stopped using my laptop for this. And I'm happy that I didn't update my desktop.
by kubav027 | 2025-05-19 16:18:38+00:00
I have switched to joplin from evernote and I am using webdav on synology NAS to synchronize notes. It is open source and also self hosted and works on all platforms without problem. I also share notes with my wife. We use it for planning and shopping lists and it works really great. It has some basic conflict resolution which is usable for two people.

Joplin uses sqlite as storage but you can export collection to md files and there is backup plugin which does that periodically.

Also you can setup external editor. I am editing notes in neovim and joplin is just for viewing.
by lxgr | 2025-05-19 16:18:49+00:00
Yes, please.

And while we're at it: Google, you know literally everything about my life. You know which languages I speak, which countries I live or have lived in.

So why is it impossible to find results relevant to country A, in country A's language, while browsing from country B, but with both languages A and B in my "Accept-Language", and me having lived in both A and B for years?

Why does the "languages I speak" setting on Google's search settings, which seems to be the only way to maybe make Google get the message, auto-reset at random all the time? How is using a VPN to get around this limitation a thing in 2025?
by ashf023 | 2025-05-19 16:19:45+00:00
IMO pushing ifs up makes sense when the condition is enforceable by the type system, e.g. in the Option<Walrus> vs Walrus example, and when doing so makes the function's purpose more clear, or gives callers more flexibility. I think it's generally intuitive when writing code - can I use the type system to guard this rather than checking in my function, and should this function decide what happens in the unexpected cases?

Pushing fors down is usually not that relevant in Rust if all it achieves is inlining. The compiler can do that for you, or you can force it to, while improving reusability. It can make sense if there's more optimization potential with a loop e.g. lifting some logic outside the loop, and the compiler doesn't catch that. I also would avoid doing this in a way that doesn't work well with iterators, e.g. taking and returning a Vec.
by dinfinity | 2025-05-19 16:21:03+00:00
> Let's just say that people once thought that Big Tech was once invincible, until it wasn't.

Half the world runs on Big Tech. Some of them have cash reserves bigger than the GDP of sizeable countries. They lead in R&D investment: https://www.rdworldonline.com/top-15-rd-spenders-of-2024/

> Obviously those exposed in the AI hype will tell you that there is no winter.

Go look at how much money was spent on AI R&D in the last AI 'summers' (and winters). Pennies compared to the billions and billions of dollars the private and public sector is throwing at it right now.

Will some investments turn out to be a waste of time and money? Yes.

Will investment be reduced to a fraction of what it is today? Hell no.

The music stops when humans are economically obsolete.
by rvnx | 2025-05-19 16:21:15+00:00
From Day 1, it was Google in the shadows of the company (due to the connection with Wojcicki), so it's obvious that a Google-connected company would try to monetize the data.

Now that being said, when it was launched, 23andme was the only way to have very affordable and high-quality and reliable DNA scans.

This data is very useful to improve your quality of life today using tools like Promethease. This to be weighted, against a risk that "potentially" someone may use maliciously in X or XX years.

There is also the "risk" that they use this data to develop popular medicines that will actually help your long-term quality of life (if you can afford it).
by gavinray | 2025-05-19 16:21:49+00:00
This doesn't help in your case, but this is what GraphQL was invented for.

TS libraries for GQL queries can dynamically infer the response shape from the shape of the selected fields.

Such that the query

query { user { username posts { text } } }

Would be

type Response = { user: { username: string posts: Array<{ text: string }> } }

And a query with just { user { username } } would have the posts property omitted entirely.
by etblg | 2025-05-19 16:22:06+00:00
Powder Mountain (Reed Hastings' ski resort) has lift tickets available for about $100-150, in-line with most common ski resorts in America (about the same price as Hunter Mountain in New York, for example, the place everyone in the area takes their family).

If he wanted to not ski with the poors he would do as rich people already do and go to Deer Valley.

Although last I heard Powder Mountain was pivoting a bit to an premium resort kind of deal, same kind of thing Windham Mountain in NY is doing. Still, neither are pricing out normal skiiers yet, they're just edging in to "do you have more money than sense? dump some of it in this overpriced 'mountain club'" territory. If I had Reed Hastings money I wouldn't bother buying one of them up, I would just fly in to any of the existing nice ones with better terrain and facilities than Powder Mountain (or Windham) have.