MurphyA/hacker-news huggingface dataset:
by dghlsakjg | 2025-06-27 00:33:33+00:00
That's a goal-post shift. GP were complaining that accurate, fulsome statistics aren't there, when they are.

The media narrative is out of the control of the various statistics bodies, and it is up to the informed reader to seek out better sources if the article they are reading has scanty info. For the record though, FRED is frequently cited as a source in reputable mainstream media (I see it in the NYT all the time). Read The Economist some time, that's an international news source that will deeply report on these stats. Can't be helped if people prefer Fox or other garbage as their news diet.

You are complaining about media literacy and bad journalism, which is an entirely separate issue from the fact that the data both exists, and is extremely easy to access.
by taping-memory | 2025-06-27 00:33:44+00:00
> Using repr(C) makes it 4 bytes.

That makes sense, they just don't use repr(C) for the PrintResult so I didn't consider that.

> But then again, modeling a C enum to a Rust enum is bad design. You want to use const in Rust and match against those.

That makes sense but if there could be a way to safely generate code that converts to an enum safely as proposed in the article that would be good as the enum is more idiomatic.

> But it is a bad example in general, because the author passes on a pointer of a string slice to FFI without first converting it to a CString, so it isn't null terminated.

The signature for async_print in C is `async_res_t async_print(const *uint8_t, size_t)` and they are passing a pointer to a &[u8] created from a byte string literal, so I think it's correct.
by jwr | 2025-06-27 00:34:18+00:00
> the "sources" for the answers are just someone's opinions — unsubstantiated by any facts

Isn't that the nature of the web?

I mean, that's exactly what I expect from web searches, so as long as you don't consider the fancy-looking [1] citations "scientific", it just digs up the same information, but summarized.

I don't expect miracles: Perplexity does the same things I've been doing, just faster. It's like a bicycle I guess.
by Incipient | 2025-06-27 00:34:53+00:00
It's really not the reality. AI spam is diluting the voice of 'new entrants' and removing any traffic based revenue they may get.

All I can see AI doing is entrenching those large enough to integrate it into their offerings in a meaningful way, and sustain a significantly lower cost base.

I use copilot at $10/mo. Gpt4.1 costs $2/m in and $8/m out. I'd do that in a single day, easily. There is no way any product I try and make can compete with that while consuming any meaningful number of tokens.
by Larrikin | 2025-06-27 00:35:36+00:00
As an app developer, if the app is nothing but images and text and the full experience is just a series of json, it should be a website. Those kind of apps are the most boring to work on.

But our phones are more powerful than the computers that landed us on the moon and are packed full of sensors and connectivity. The web is incapable of matching a native app, if it is actually doing something interesting.
by fingerlocks | 2025-06-27 00:35:49+00:00
The swift compiler is definitely bottle necked by type checking. For example, as a language requirement, generic types are left more or less in-tact after compilation. They are type checked independent of what is happening. This is unlike C++ templates which are effectively copy-pasting the resolved type with the generic for every occurrence of type resolution.

This has tradeoffs: increased ABI stability at the cost of longer compile times.
by burnt-resistor | 2025-06-27 00:36:41+00:00
Pascal has subrange integer types. I'm wondering if any other language besides family relatives Ada or Delphi has this, apart from dependent type systems like Idris[0] or an explicit Haskell type like Data.Range.[1]

0. https://stackoverflow.com/questions/28426191/how-to-specify-...

1. https://hackage.haskell.org/package/range-0.3.0.2/docs/Data-...
by alganet | 2025-06-27 00:37:58+00:00
You don't throw away dams, bridges, factories, submarines, planes.

There is a lot of man made stuff you just cannot easily replace. Instead, we maintain it.

Remember, _this is not about you_. The post is about qemu.

I would argue that qemu is analogous to one of these pieces of infrastructure. There is only a handful of powerful virtual machines. These are _not_ easily replaceable commodities.
by saurik | 2025-06-27 00:40:00+00:00
As someone who once worked on a product that had to carefully walk the line of legality, I haven't found any mention in this discussion of what I imagine is a key problem for qemu, that doesn't face other projects: as an emulator, they are already under a lot of scrutiny for legality, and so they are going to need to be a lot more conservative than other random projects with respect to increasing their legal risk.
by techpineapple | 2025-06-27 00:41:10+00:00
“ All of which makes the latest batch of numbers so startling. This year, enrollment grew by only 0.2 percent nationally, and at many programs, it appears to already be in decline, according to interviews with professors and department chairs. At Stanford, widely considered one of the country’s top programs, the number of comp-sci majors has stalled after years of blistering growth. Szymon Rusinkiewicz, the chair of Princeton’s computer-science department, told me that, if current trends hold, the cohort of graduating comp-sci majors at Princeton is set to be 25 percent smaller in two years than it is today. The number of Duke students enrolled in introductory computer-science courses has dropped about 20 percent over the past year.”

I don’t understand what this means exactly, Stanford must have chosen not to enroll so many comp sci majors right? Like I can’t imagine not enough people applied. Wouldn’t you see trail offs maybe start at small schools, not leading schools?
by linkage | 2025-06-27 00:41:58+00:00
Half the point of containerization is to have reproducible builds. You want a build environment that you can trust will be identical 100% of the time. Your host machine is not that. If you run `pacman -Syu`, you no longer have the same build environment as you did earlier.

If you now copy your binary to the container and it implicitly expects there to be a shared library in /usr/lib or wherever, it could blow up at runtime because of a library version mismatch.
by throwaway422432 | 2025-06-27 00:42:12+00:00
His genius is really just making good bets on people, and letting them do their thing.

People like Scott Guthrie who was a key person behind dot.net, and went on to be the driving force behind Azure. Anyone who did any dot.net work 10+ years ago would know the ScottGu blog and his red shirt.

Google similarly bet on Demis, and the results also show. For someone who got his start doing level design on Syndicate (still one of my all-time favourite games) he's come a long way.
by AdieuToLogic | 2025-06-27 00:42:30+00:00
OS-X/macOS supports RAM drives and a script which defines one for use as /private/tmp (which /tmp is symbolically linked to) is:

#!/bin/bash ramfs_size_mb=1024 mount_point=/private/tmp counter=0 ramfs_size_sectors=$((${ramfs_size_mb}*2048)) ramdisk_dev=`hdiutil attach -nomount ram://${ramfs_size_sectors}` while [[ ! -d "/Volumes" ]] do sleep 1 counter=$((counter + 1)) if [[ $counter -gt 10 ]] then echo "$O: /Volumes never created" exit 1 fi done diskutil eraseVolume HFS+ 'RAM Disk' ${ramdisk_dev} || { echo "$O: unable to create RAM Disk on: ${ramdisk_dev}" exit 2 } umount '/Volumes/RAM Disk' mkdir -p ${mount_point} 2>/dev/null mount -o noatime -t hfs ${ramdisk_dev} ${mount_point} || { echo "$0: unable to mount ${ramdisk_dev} ${mount_point}" exit 3 } chown root:wheel ${mount_point} chmod 1777 ${mount_point}

Adding a plist definition to /Library/LaunchDaemons can ensure the above is executed when the system starts.
by ghaff | 2025-06-27 00:42:42+00:00
There is definitely a split in coffeehouses. You see all the coffeehouses that have all the laptops open. (If maybe less active socializing.) And then you have the drive-through lines for lattes around the block. Not sure how you reconcile. Could block WiFi but then I imagine a lot of people would just use their phones. (Or skip.)

There maybe is an old European style of coffeehouses but nut sure that's been hit on beyond a very local level.
by jwr | 2025-06-27 00:42:54+00:00
I'd genuinely like to know how these small models are useful for anyone. I've done a lot of experimenting, and anything smaller than 27B is basically unusable, except as a toy. All I can say for smaller models is that they sometimes produce good answers, which is not enough for anything except monkeying around.

I solved my spam problem with gemma3:27b-it-qat, and my benchmarks show that this is the size at which the current models start becoming useful.
by muzani | 2025-06-27 00:42:56+00:00
Yeah, it's unintuitive that more people = slower, as most people have never hit that level of scale. But it means teams and managers and communication communication communication.

Will Wright said that you go from 4 hours of work per hour of meetings to 1 hour of work per 4 hours of meetings. This can be scaled down with wikis and tools. Chinese companies tend to have "living documentation" aka system analysts - a person whose job is to understand everything and be asked questions whenever someone gets stuck. Western companies are very resistant to this model for some reason.

Bethesda is another way to build things at scale. Lots of isolated sections that don't link into the main thing. But it's hard to build something like Fallout 2 that way when the whole story isn't in one person's head.

Part of the reason for so many layoffs recently is because it works. It's a magic tool that increases speed and reduces costs, and you just pay for it with everyone's motivation and soul.
by MindSpunk | 2025-06-27 00:43:20+00:00
The 'essentially no dependencies' isn't entirely true. It depends on the 'windows' crate, which is Microsoft's auto-generated Win32 bindings. The 'windows' crate is huge, and would be leading to hundreds of thousands of LoC being pulled in.

There's some other dependencies in there that are only used when building for test/benchmarking like serde, zstd, and criterion. You would need to be certain you're building only the library and not the test harness to be sure those aren't being built too.
by dmschulman | 2025-06-27 00:44:57+00:00
Regional Rail runs a little on the expensive side. Round trip from Philly back to the suburbs is $17.50. I take that to get to work sometimes. The bus, subway, and trolley are extremely affordable for what they are.

Over 1/4 of the residents in Philadelphia live at or below the poverty line so services need to reasonably priced. Some data from Pew: https://www.pew.org/en/research-and-analysis/reports/2019/07...

Can't find it right now, but I also remember a study that compared funding for other major metro transit agencies, and SEPTA ranked very highly for offering as many transit options for the amount of riders they handle given their relatively anemic budget (compared to NYC or Chicago).
by sabellito | 2025-06-27 00:44:57+00:00
It's a full management app for recruiting companies.

There are still 3 companies that use it (since 2008), so their employees don't have a choice really. The app does a lot, so to stop using it the companies would need to hire and migrate to 3-4 other services. I reckon SAP and the kind could do everything as well, but these companies are too small for that.

There isn't a website or anything anymore for me to show, and I haven't been involved in it for over 10 years.
by southernplaces7 | 2025-06-27 00:45:09+00:00
You speak way off base. Many, possibly most people in their early 40s can have kids and still keep up with them well into their 50s. Not only is it easier than ever to pull this off for many modern reasons of health and lifestyle decisions, it's not even exceptionally hard unless you're unlucky with your health or do something to really fuck it up. Even decades ago, many many men at least were commonly fathering children in their 40s and even 50s, and rearing them.

You write your comment about the maximum safe age for having children as if most people (at least in the advanced countries and moderately reasonable income brackets) were living the lives of 19th century industrial workers.
by NoPicklez | 2025-06-27 00:46:26+00:00
Bit of a silly take, the difference is that you're the only one control of that car, whereas the item you bought off of Amazon could be controlled by someone else.

If someone broke into my car and drove it into a wall, I highly doubt I'd be found at fault. If someone broke into my IoT device and used it in an attack I highly doubt I should be found at fault.

At the end of the day it is very difficult to impose security management across consumers. You cannot expect the average consumer to pen test their home network and have active vulnerability scanning software to mitigate potential vulnerabilities that result in Botnets.

It is difficult to hold people liable when someone else misappropriates their assets in a way that was not its original intended purpose. When its difficult to capture the perpetrator people start to blame everything else, that doesn't mean we should just shift liability to the buyer who is just simply an easier target to place the blame on than a random unidentified person in another country.

That may sound like a solution but its not the right one. Now someone has the ability to misappropriate your assets from the other side of the world and you become charged with the crime, when all you did was buy a new Samsung TV. Heck knowing that, maybe someone would target you knowing full well you'd be in trouble for it.
by zajio1am | 2025-06-27 00:46:32+00:00
Hard disagree. Disk buffer cache is too eager on writes (which makes sense for the usual case), so temporary data written to a filesystem are almost always written to the medium. With several GBs of temporary data it easily could fill up internal SSD write buffers and make whole system choppy.

My use case is to use yt-dlp to download videos to ramfs, watch them and then delete. Before i switched to ramfs, the final pass of yt-dlp (where audio and video tracks are merged to one file) ordinarily caused the issue with choppy system.
by pseufaux | 2025-06-27 00:47:08+00:00
That's not a bad analogy. I like that it makes clear that the storage mechanism isn't relevant.

Personally, my read is that the issue with most of these cases is that we are treating and talking about LLMs as if they do things that humans do. They don't. They don't reason. They don't think. They don't know. They just map input to probabilistic output. LLMs are a tool like any other for more easily achieving some outcome.

It's precisely because we insist on treating LLMs as if they are more than an inefficient storage device (with a neat/useful trick) that we run into questions like this. I personally think the illegal status of current models should be pretty clear simply based of the pirated nature of their input material. To my understanding, fair use has never before applied to works that were obtained illegally.
by nitwit005 | 2025-06-27 00:48:27+00:00
If you built React into the web platform, what I'd expect is everyone would stop using it the moment a big new version of React came out, and it'd eventually get deprecated and removed.

There has been long running complaints about how many UI frameworks there are, and how often they change. It's settled down some, but I don't expect that situation to change for a long while.
by neilknowsbest | 2025-06-27 00:48:58+00:00
PR has a dry season when the island receives less rain, and there are dry regions that generally get less rain. In fact, there are sometimes forest fires [1].

Regarding construction, I've never seen a smoke alarm inside a residential building in PR. I would hazard a guess that this is allowed for concrete/cinderblock; presumably the roof thing is the same.

[1] - https://www.elnuevodia.com/noticias/seguridad/notas/incendio...
by kcorbitt | 2025-06-27 00:49:25+00:00
I was curious about this so I had o3 do a bit of research. Turns out 300 L40s have more compute than any supercomputer before 2013 (and arguably before 2016, depending on how you count reduced-precision FLOPs).

https://chatgpt.com/share/685dea79-26ec-8002-bd62-7ed83aedf4...
by slt2021 | 2025-06-27 00:49:50+00:00
the only reason for population growth is that economy (asset valuation) is based on future projection of consumption (which is based on population) and social security, which is based on future taxpayer paychecks.

the idea behind "population growth" is that we will need future slaves to prop up our social security and asset bubbles.

think of a country as an ant colony, what happens if population decreases? the queen will get less food
by fluidcruft | 2025-06-27 00:51:18+00:00
/tmp is not specified to be a RAM disk by POSIX. Just that things in there are considered to be not persistent after a program stops (with implications for backups and disaster recovery). Sure, RAM disks work if the amount of /tmp space you need is less than your free physical RAM but sometimes that's not the case, either.

Back in the day you might place /tmp in a good spot for random access of small files on a disk platter. /var is vaguely similar but intended for things that need to be persistent.

Anyway it's not uncommon for systems to persist /tmp and clean it periodically from cron using various retention heuristics.

Ultimately POSIX concepts of mountpoints are strongly tied to optimizing spinning rust performance and maintenance and not necessarily relevant for SSD/NVME.
by crossroadsguy | 2025-06-27 00:52:53+00:00
It's been years of seeing Matrix posts being made on hn here (and founder - that is you - enthusiastically replying to comments; which is actually nice that you still care) and even that is long after I finally gave up on it realising it is (and now it seems was never even planned to be) a communication tool for the "masses" or end users - you know - you, I and our friends and family... kind of.

Reason? It is still "work" to even try to start using Matrix and yes I tried the kicks-ass-new-swift-client and it seems to be just another dull almost useless iOS messaging app which was done as a proof of concept of an open source project with very high values and goals and completely missing the point of usability and what people need and where smartphone messaging is today.

Also by the way - how many has it been? Matrix -> Riot -> Element.. is it changing again now?

> 80% of the people who say "Matrix sucks" are actually talking about bad experiences on the old Element mobile apps

Maybe 100% of times you are missing the point why people think that way by just assuming this?

> self-hosted, decentralised WhatsApp and Teams replacement for governments

Well, I do hope you realise that "Govt as the entity" per se that would not use these apps - but "the people" (which actually kinda comes back to you, I, and our friends) in those governments will use those apps and services.

Anyway, good luck.
by stubish | 2025-06-27 00:53:07+00:00
Specifically violent crime. Poor areas had more violent crime. These areas got dumped with more lead pollution. The rise percentage wise correlates almost perfectly with lead levels, with poor (and now polluted) areas rising more than well off areas. And then the drop, where after lead was removed from petrol you get a significant drop, but still less of a drop in areas more lead soil contamination, such of those blocks next to a highway. We know the developmental effects on young brains from lead; it is why we banned it.
by chillfox | 2025-06-27 00:53:19+00:00
Yep, compression is on and I think that's what does it considering how large games are these days.

I stay away from XFS, every time I have used it in the past my entire drive have ended up scrambled within a few months. It's by far the worst file system I have ever used, not even FAT32 was that unstable for me.
by stek29 | 2025-06-27 00:54:11+00:00
Looks beautiful! Here are some thoughts:

- Having a dark theme seems logical for an app focused circadian rhythms, would be nice to have a dark appearance

- Not being able to switch between days by swiping felt quite annoying: the Home page requires two taps to change to another day, and the Progress page needs one — but it could’ve been a swipe. And the calendar on the Day page can’t be swiped down, only closed by tapping on the (x).

I hadn’t even realized that Apple had rolled out Time in Daylight — Apple Health hasn’t promoted or highlighted it like it does for other new Categories, and even then, the visualization still feels lacking.

I have been trying to get more consistent morning natural light exposure lately, so this is perfect timing!
by mandevil | 2025-06-27 00:55:23+00:00
That is not how international law works, you don't get to say "we are a new country and therefore not bound by treaties that earlier forms did."

This principle was established when Nazis were convicted for war crimes at Nuremburg for violating treaties that their predecessor state the Weimar Republic signed, even after the Nazi's repudiated those treaties and claimed they were signed by an illegitimate state, and that they were a new Reich, not like the Wiemar Republic.

Basically if territory changes hand to an existing state that state will obviously still have obligations, and if a new state is formed, then generally it is assumed to still carry the obligations of the previous state. There is no "one weird trick" to avoid international law. I assure you that the diplomats and lawyers 80 years ago thought of these possibilities. They saw what resulted from the Soviet and Nazi mutual POW slaughters, and set up international law so no one could ignore it.