MurphyA/hacker-news huggingface dataset:
by TheRealPomax | 2025-05-19 16:02:02+00:00
Linguistic nit: that's not what cargo cult means. Cargo cult refers to doing things that don't in themselves do anything, just because XYZ did them, in the mistaken belief that "showing signs of XYZ-ness" will lead to the same results that XYZ sees/produces.

Copying big-name-here's practice of localizing based on IP is not that. Copying "the way they comment the start of every file" would be. Or "using the same pep talk to the full company" would be. Actually using an approach that has both code that actually does something, and has an immediate and measurable effect on the user, isn't.
by immibis | 2025-05-19 16:02:03+00:00
I've diagnosed myself with a lack of motivation, not a lack of energy. (Which is also what "burnout" refers to, by the way)

I could, in theory, spend six months writing Uber for dogs. But why would I? That hardly feels worth it. Or I could try to implement AF_ONION in the Linux kernel. Also doesn't really feel motivating. Or (let me check the list) port libsodium to WUFFS. Write a framework for interactive tablet applications (at least on the pinetab2). Try to compile something by telling an LLM to pretend it's gcc, just for laughs. Set up an IRC botnet (the legal kind). Write an SSH honeypot. Set up an MQTT server so I can log my own location via an app on F-Droid. All stuff that seems slightly interesting but not enough to actually do it. And what seems interesting enough to focus on it for a few months to the exclusion of all other possibilities? Nothing at all.

Just today I wanted to post a link to a meme in IRC, but all the Google results were on garbage sites like Facebook, Instagram, Reddit, and Imgur. I could go build a meme hosting site where you just have direct links to images. Maybe it would even be the best one. That's how Imgur got started. Still doesn't feel worth doing.
by Der_Einzige | 2025-05-19 16:02:04+00:00
High end furniture from brands that last 50-100 years (i.e. Hancock and Moore, Century, a lot of other brands made in the Hickory NC area) hold their value. Go to the estate sales near you and watch as the prices for pieces from those companies (also real mid century modern furniture) holds at least 1/2 it's value 10+ years later.

High end furniture is the kind, like goodyear welted boots, where you keep it forever and reupholster it every 10 years.
by habedi0 | 2025-05-19 16:02:30+00:00
I'm not using it in a larger project at the moment. The examples right now are mainly included to help people get started quickly. About the applications, they are somewhat context-dependent, but I might add one or two larger examples later if I have the time.

I guess CoT prompting could be used for ARC Prize (https://arcprize.org)
by bigyabai | 2025-05-19 16:02:36+00:00
They'll use the internet regardless, you never got to choose that for them. Hence, the problem.

Plus, you're still not looking at the shoe on the other foot. What happens to your witch-hunt when people justify annexing Crimea or Ukraine "because Nazism" and ridicule you for demanding patience? Do you honestly think the popular movement can tell the difference between right and wrong when propaganda is afoot?
by PopAlongKid | 2025-05-19 16:02:38+00:00
An arcade game from the same era with many of the same features attribted to Asteroids (flying a ship in all directions, gravity/interia, vector display, shooting at things while other things shoot at you, no joystick) was Gravitar. Spent uncounted hours and quarters with a good buddy on this game while working on a graduate degree.

"Gravitar is a color vector graphics multidirectional shooter arcade video game released by Atari, Inc. in 1982. Using the same "rotate-and-thrust" controls as Asteroids and Space Duel, the game was known for its high level of difficulty"

https://en.wikipedia.org/wiki/Gravitar
by allemagne | 2025-05-19 16:02:54+00:00
Baseless wild speculation time: I don't think the timing quite matches up, but the Neolithic Y-chromosome bottleneck is a little close to this.

What if radiation from the sun actually sterilized something like 90% of neolithic men? Is that possible?

This creates a selection pressure for men whose sperm just happens to be resistent to the sun's radiation to get with as many women as possible. So any groups that don't practice patriarchal polygyny are at a sudden and catastrophic disadvantage for not utilizing their men who are still fertile and get outcompeted in a generation.

Thousands of years later we're still unwinding the social ramifications of this.
by sph | 2025-05-19 16:03:17+00:00
I love how 95% of the comments are about anything but the effing article.

Looking forward to a new VM manager. virt-manager is what I use and it's not very maintained: it still has issues on a HiDPI screen where scaling is all messed up. GNOME Boxes is both buggy and featureless in the usual GNOME sense, haven't found much use for it. I think all the focus has been on the virsh CLI and we haven't had a decent VM GUI in a while.
by PaulHoule | 2025-05-19 16:03:19+00:00
Accuracy.

If you got N people (say N=10) to classify different segments of the script you'd find that they'd mostly agree about how to classify them but they wouldn't agree perfectly. You can get closer to a "gold truth" if you sit people together to discuss the difficult cases.

Any given classifer is going to be like one individual, if it is any good it is going to mostly agree with the gold truth but sometimes it won't. It's also the truth that some classifications will be ambiguous as some segment of the script will have some characteristics of one class and some of another or just might not fit rationally into the schema.

This toolbox

https://scikit-learn.org/stable/model_selection.html

is helpful for the process of testing a number of different models for a range of parameters and deciding what works best. A classifier that is calibrated (returns a probability of class membership) can skip cases where it knows it doesn't know what it is talking about. In the financial world, a calibrated model + a Kelly better can make money trading, an uncalibrated model will lose money almost always.
by filoleg | 2025-05-19 16:03:19+00:00
It’s not a requirement, just a suggestion. The most i ever got was “say cheese!” once at one of my DL renewals, but that was it.

In the US, I had to take photos for driver’s license at least 4 times, for green card 1 time, and for passport 1 time, not in a single one of them I am smiling. Saw the DLs of my friends more than a few times (either at bars or clubs or while crossing the border or when the topic arrived naturally), and the breakdown of smiling vs not smiling is 40/60 at most (with a heavy lean towards not smiling)[0].

I partially agree though about the US being a bit special in the aspect of even just allowing people to smile in ID photos. In the previous country I lived in and where I had to take ID photos, it was explicitly prohibited to smile in those photos, and they would reject applications if someone did.

0. Purely anecdotal, as it could totally be the case that I just accidentally ended up befriending mostly those who don’t smile for ID photos.
by stephen_hn | 2025-05-19 16:03:52+00:00
I think you would use discrimated unions.

const MyResult = z.discriminatedUnion("status", [ z.object({ status: z.literal("success"), data: z.string() }), z.object({ status: z.literal("failed"), error: z.string() }), ]);

You can define passthrough behavior if there are a bunch of special attributes for a moderator but you don't want to list/check them all.

With different methods that have different schema- If they share part of the same schema with alterations, you can define an object for the shared part and create objects that contain the shared object schema with additional fields.

If you have a lot of different possibilities, it will be messy, but it sounds like it already is for you, so validators could still at least validate the messines.
by colinmorelli | 2025-05-19 16:04:49+00:00
Sorry, I should have clarified, but no this is not ChatGPT's self assessment.

I am suggesting that today's best in class models (Gemini 2.5 Pro and o3, for example), when given the same context that a physician has access to (labs, prior notes, medication history, diagnosis history, etc), and given an appropriate eval loop, can achieve similar diagnostic accuracy.

I am not suggesting that patients turn to ChatGPT for medical diagnosis, or that these tools are made available to patients to self diagnose, or that physicians can or should be replaced by an LLM.

But there absolutely is a role for an LLM to play in diagnostic workflows to support physicians and care teams.
by pixl97 | 2025-05-19 16:05:02+00:00
> pretty sure a neural network trained on IQs and photographs could find reliable signals of intelligence therein.

exactly how?

Or I should say, all humans are intelligent baring extreme circumstances (for example signs of genetic defect, potential inbreeding, or FAS may possibly be a sign of lower IQ it's not a certainty of it). Are we trying to say there is some correlation between 'high' IQ and outward appearance, because that is quite the statement, and one that really has no scientific basis that I know about.
by drcongo | 2025-05-19 16:05:05+00:00
I've been using Jetify's Devbox instead of Homebrew for the last few months, with Mise for project specific installs. I've mostly found this to be much better than Homebrew, but Devbox has some flakiness. Working with Mise has been excellent though, and led me to finding `Ubi` [0] (it's a backend for Mise when needed) which seems to be doing roughly the same thing. Beyond this scratching your itch (which is always the best reason to make something), does it have any differentiators from Ubi?

[0] https://github.com/houseabsolute/ubi
by bgnn | 2025-05-19 16:05:06+00:00
They fund a lot of R&D in house and let people try crazy new ideas. Too bad it's just for a niche product.

They have a famous networking (optical and wireline) group doing a lot of state-of-the-art research, and they deploy these in their mainframe products.

There's no other company like it. They are, in a sense, exact opposite of Apple where all HW engineers are pushed for impossible deadlines and solutions that save the day. Most in house developed IP is then not competitive enough and at the end doesn't end up in production (like their generations of 5G modems and the IPs in these like data converters etc).
by bluGill | 2025-05-19 16:05:19+00:00
That has been getting much less common. My dad used to have "his secretary" do tasks like schedule is meetings and book travel - the secretary was a department secretary for a couple dozen engineers and was kept busy just serving those needs. Today I don't have a secretary for several hundred engineers. My computer is better at scheduling meetings than the secretary ever was. Go back 100 years and the rich would have hard far more servants than they would today because various levels of automation have replaced many jobs.

The right still have servants of various types of course. Right now "Virtual personal assistant" are too limited to replace humans. Since I cannot afford a human servant I'm hoping that changes. Time will tell.
by dominicrose | 2025-05-19 16:05:20+00:00
I hate reddit because it auto-translates to French and users have a specific style that would be hard or impossible to really human-translate anyway. Even if I didn't speak English the translated content would not be worth it.

The feature to change the language or show original content is hard to find and it depends on wether it's the app or mobile web or desktop web.

They also try too hard to make us download the app but that's an other issue.
by WorldMaker | 2025-05-19 16:05:31+00:00
It's fascinating how much "email HTML" is trapped in about HTML ~2.5, with limited CSS support and still a ton of FONT tags and TABLE layouts.

HTML 2 might be an interesting subset of HTML to "focus on" for smolweb, but it would be a big retro throwback, and not feel at all modern.

If you were starting today, might be more interesting to start with the most modern stuff and work backwards. HTML 2 TABLE could be implemented as a specialization of CSS Grid, for instance.
by potato3732842 | 2025-05-19 16:05:49+00:00
>The very rich have circles of people they rely on to take care of problems. Like having "a lawyer" who they go to for and have known for years. There seems to be much more of a sense of personal relationships / loyalty. Almost like the old feudal oaths.

That has more to do with owning business interests than wealth. The guy who owns a small chain of a mundane business, has stake in another business via investment, etc, etc, his social circle looks roughly the same.
by rafram | 2025-05-19 16:06:07+00:00
https://bundlephobia.com/package/arktype@2.1.20: 38.3 KB

https://bundlephobia.com/package/zod@3.24.4: 64.3 KB

https://bundlephobia.com/package/valibot@1.1.0: 84.1 KB
by PaulHoule | 2025-05-19 16:06:12+00:00
I think in recent incarnations, yes. Back in the 1960s the spider was radioactive because people had anxiety about radiation. Now, now they are afraid of genetic modification.

Of course a spider has the proportionate strength it does because it is small and I guess that smallness is encoded in its DNA. Scale it up to your size and it can't breathe. If you want to be as strong as an ant (carry a grain of food bigger than yourself over your head) you have to shrink down really small like Ant-man.
by jandrewrogers | 2025-05-19 16:06:32+00:00
I don’t have a link. I’ve never seen a good writeup but the practice is really old.

It is literally encrypting whatever type you are using as a handle for records that you send the user, typically an integer, a UUID, or some slightly more complex composite key. The only restriction is that the key should not be longer than 128-bits so that you can encrypt it to a UUID-like value; in practice you can almost always guarantee this [0]. The encryption only happens at the trust boundary i.e. when sending it to a random user. That encrypted key is not stored or used at all internally, it just changes the value of the key the user sees.

Most obvious ways of generating handles in a database leak private state. This is routinely exploited almost to the point of being a meme. Encrypting the handles you show the user prevents that.

An advantage of this is that if you are systematically encrypting exported keys then you can attach sensitive metadata to those keys at runtime if you wish, which can be very convenient. You have 128 bits to work with and a unique serial only needs 64 at most. If you are paranoid, there are schemes that enable some degree of key authentication. And while well beyond the scope here, similar constructions work nicely for compact keys in federate data models.

At scale, the cost (storage, compute, etc) of all of this matters. Encryption of keys, if done intelligently, is atypically efficient on all accounts while providing explicit inspectable security guarantees.

[0] There are reasons you might want to expand the exported key to a 256-bit value, particularly in high-assurance type environments, but the advantage of 128-bits is that it is literally drop-in compatible with UUIDs almost everywhere.
by ty6853 | 2025-05-19 16:06:35+00:00
The real cost of hiring people to do stuff for your house is it's actually hella expensive to get licensed and bonded legal employees with references that attest they aren't thieves, and if you don't eventually they steal your shit or they get hurt and sue you for a billion dollars.

I could easily hire people to do it, but I sweat bullets everytime I am guilt tripped into letting a neighbor kid mow the lawn because I know if he gets hurt I'll lose everything (renter's/ homeowners insurance usually doesn't cover unlicensed contractors).
by johnfn | 2025-05-19 16:06:43+00:00
The problem with this is that your One True User shape tends to have a bunch of optional properties on it. e.g., in the user profile you fetch Post[], but in the user directory you don't, and so on with other joined properties. If every endpoint returns the One True User, then you end up needing to write conditional logic to guard against (say) `.posts` when you fetch users in the profile, even though you know that `.posts` exists.
by varun_ch | 2025-05-19 16:06:47+00:00
I got into coding through Scratch, and I've been involved with Scratch for over a decade now (I'm 18). I think an often overlooked aspect of Scratch is that it's more than just a drag and drop coding editor; there's an entire community site to share projects on too. And the site is super 'hackable', the APIs are fairly open and all of the client side code is open source too. There's a whole ecosystem of other kids building stuff for/around Scratch (like the Scratch Addons browser extension [0]), as well as projects like this.

To be honest, I learnt more from hacking Scratch than using it as intended. I thought this was just a 'me thing', but last summer I was an intern on the Scratch Foundation's engineering team, and my mentor explained that they're totally aware of this effect, and that they take it into account when designing the platform. I like Scratch.

[0] https://scratchaddons.com/
by bigyabai | 2025-05-19 16:07:15+00:00
It sounds like you're a little too focused on metrics of success. Something can be "worth it" if it works well and nobody but you uses it. If you look at everything through the lens of opportunity cost, you'll be kicking yourself for not curing cancer. It's okay to work on an unambitious, likely unsuccessful side project. That time is only "wasted" if you're not proud of the work and can't show it to future employers.
by PurpleRamen | 2025-05-19 16:07:20+00:00
> Nothing stops you from altering plugins or making your own.

You still have no control over obsidian itself. Any change can and will break plugins. So you either settle with one version for the next decade, or you have to maintain them. This is just the normal dependency-hell that every project has, where you have to compromise with external dependency and their whims. Just that neither plugins nor obsidian (to some degree) are the level of professional software-projects in that regard.

And let's not talk about changing Obsidian on fundamental levels. You have even less control on how it works on everything which is not accessible by plugins.
by Tade0 | 2025-05-19 16:07:34+00:00
I grew up in a panel block, now live in a more recent building and my general impression is that while their build quality left much to be desired, I had no complaints about walkability. I could go to school, the clinic, the dentist or post office without crossing a road - only streets with heavily restricted traffic. Almost all parking spots were in a ring around my superblock.

Much of that was due to the fact that communists weren't so bent on squeezing as much value as possible from every square meter of land.

Meanwhile in more modern architecture the (built in 2002) block neighbouring mine is spaced a regulatory-approved 7 metres away - windows facing. My relative lives in an even newer apartment which has windows facing the southwest only. AC becomes a necessity in such circumstances.

I can't recall ever seeing panel blocks where you could peer into your neighbour's apartment like that. In all the instances I can think of both blocks have blank walls there.
by 0x62 | 2025-05-19 16:07:48+00:00
Zod 4 supports converting a Zod schema to JSON-Schema (natively, this has always been possible with 3rd-party libs).

One key difference is preprocessing/refine. With Zod, you can provide a callback before running validation, which is super useful and can't be represented in JSON. This comes in handy more often than you'd think - e.g converting MM/DD/YYYY to DD/MM/YYYY before validating as date.
by metalman | 2025-05-19 16:08:31+00:00
There is a great deal of prior art in aviation and automotive engineering for densified wood, which have all proven to be non competitive with metal. Lighter, stronger, but not quickly adaptable to new designs or refinements.....the molds are large, complex, heavy, and expensive. And a simple no go for beams is that they(wood) burns and steel does not, will instantly remove them(wood) from bieng used in most building codes past a certain hight, where minimum times for evacuation durring a fire can not be met.
by perihelions | 2025-05-19 16:09:06+00:00
Another facet of this is that current US foreign policy sort of coerces Taiwan into buying American natural gas. Not the only factor, but I think a major one going forwards (unless trade policy randomly flips again).

i.e.

https://www.reuters.com/markets/asia/taiwan-plans-response-t... ("Taiwan plans response to Trump tariffs with energy imports, tariff cuts")

https://www.reuters.com/world/asia-pacific/taiwan-says-trump... ("Taiwan could buy $200 billion more from US, increase LNG imports as part of trade deal")

> "Asked about raising the proportion of Taiwan's imports of liquefied natural gas (LNG) from the United States from 10% to 30% of the total, Kuo said that was the "direction" being eyed."

> "Most of Taiwan's LNG now comes from Australia and Qatar."
by jamesjulich | 2025-05-19 16:09:46+00:00
A few months ago, I found a security vulnerability for better-auth. Within 24 hours of reporting the vulnerability to the team, it was patched, a notice had been posted, and I had been credited with a CVE. THAT is how you do it, folks!

This team is top notch. The community leadership, responsiveness, and development speed has been incredible. The project itself is also great--this library is so much more flexible than others and requires much less effort to wrap my brain around. I'm so happy that this library is getting the recognition it deserves.
by cscheid | 2025-05-19 16:09:51+00:00
This is the kind of task that LLMs are precisely terrible at; there isn't an abundance of Zod 4 examples, and the LLM will sure as shit will give you _something_ you are now by definition ill-equipped to assess.

I'm confident about this assessment because I maintain a large-ish piece of software and perenially have to decipher user reports of hallucinated LLM syntax for new features.
by bluGill | 2025-05-19 16:09:53+00:00
People tend to stick together. Once you know one odds become higher that you get introduced to a few more. Billionaires like parties as much as anyone else, so if you are not an insane stalker and get to know one well they will invite you to parties just to have a group of friends and now you are vetted so the others will not stay away as much. Different people have different sizes of friend circles so breaking in is hard.
by bryanlarsen | 2025-05-19 16:10:10+00:00
Some argue that the bent-stainless unibody design of the original Cybertruck prototype was a design for efficient low volume production. Then 1M pre-orders flooded in and they were forced to design for high volume production. Which is hard, and takes a lot of time.

Those sales projections were based on pre-orders and deposits taken. Normally that's a fairly robust projection method, and perhaps would have been if the Cybertruck would have arrived on market in a timely fashion at the promised price.

The big mistake with the Cybertruck was that promised $40K price tag. Without that the pre-orders likely would have much more closely matched sales.
by 90s_dev | 2025-05-19 16:10:42+00:00
Array.isArray isn't needed when you know your array isn't going to be deserialized e.g. via MessagePort. What other supposed bugs?

And yes I'm aware this doesn't have a huge API surface. That's the whole point. If I already have a JSON object, I can reach into it and get either what I ask for or nothing. In many real world cases, this is enough.