MurphyA/hacker-news huggingface dataset:
by nickjj | 2025-07-04 16:11:13+00:00
Docker helps with this nowadays. Of course you need to understand setting things up the first time you do it but once you know, it can apply to any tech stack.

I develop and deploy Flask + Rails + Django apps regularly and the deploy process is the same few Docker Compose commands. All of the images are stored the same with only tiny differences in the Dockerfile itself.

It has been a tried and proven model for ~10 years. The core fundamentals have held up, there's new features but when I look at Dockerfiles I've written in 2015 vs today you can still see a lot of common ideas.
by hombre_fatal | 2025-07-04 16:11:47+00:00
Next.js and similar are surprisingly complicated. You pay a hefty price for the optimization of SPA + data on the first request (which is a cool optimization).

I think one of the reasons it's so popular is less about the niche optimization and more about how it seems simpler, especially to beginners, than running an API server that your frontend app connects to.
by paddy_m | 2025-07-04 16:12:43+00:00
So, this is a jupyter/anywidget project. I think OpenAPI can work, but it's a bit of grafting I think.

Further, I develop the frontend visualization library separately from the python code. It is much more natural to write typescript there, first for types that power the frontend. I just want to make sure earlier that python is sending the same types. I'd like to avoid pydantic, because it is a another dependency, and I control both sides. I'm not worried about an errant request/response, just proviing at build time that I am sending and receiving the proper compatible types.
by hn_throwaway_99 | 2025-07-04 16:13:04+00:00
What you're describing is essentially the whole FIRE movement (financial independence, retire early). While I find adherents to that movement can be "culty"/extreme around the edges, the general advice of living below your means so that you can then have at least some number of years where you can engage in a more meaningful use of your time (doesn't have to be "retire") is good advice.
by dnautics | 2025-07-04 16:13:12+00:00
> Good luck

Thanks! I think this could be implemented as a (3rd party?) compiler backend.

And yeah, if it gets done quickly enough (before 1.0?) it could get enough momentum that it gets accepted as "considered to be best practice".

Honestly, though, I think the big hurdle for C/C++ static analysis is that lots of dependencies get shipped around as .so's and once that happens it's sort of a black hole unless 1) the dependency's provider agrees to run the analysis or 2) you can easily shim to annotate what's going on in the library's headers. 2) is a pain in the ass, and begging for 1) can piss off the dependency's owner.
by Wowfunhappy | 2025-07-04 16:15:08+00:00
...what makes the frame rate thing especially weird is how many TVs ship with motion smoothing enabled by default, which looks so much worse than actual high frame rate content would.

I don't like it at all. But someone must, or the TV manufacturers wouldn't do it.

Part of me thinks that it's only the people who know what "frame rate" means who prefer low frame rates, and a majority of the general public actually prefers high frame rates but lacks the terminology or knowledge to express this desire.
by masklinn | 2025-07-04 16:15:28+00:00
> Much of that is well addressed by one allocator arena per cpu, and either pinning threads to cpus or at least having a high threshold to move threads across NUMA boundaries.

Note that that can have an awkward effect: if the thread gets parked (either entirely, or just stops calling the allocator because it has reached its steady state), the allocator may never have the opportunity to release that thread's memory. IIRC mimalloc suffers from this issue, you need to call an allocator specific API to tell it about the regime change.
by cootsnuck | 2025-07-04 16:16:12+00:00
Honestly, why would you care? IF, and this is a big if, you are confident your interview process accurately assesses the abilities of candidates to carry out the role, then why would LLM assistance even matter? Are they not going to be allowed to use LLMs on the job?

This faux-outrage is just showing how broken the whole hiring process is in tech.

Stop giving people puzzles and just talk to them. If you're unable to evaluate if someone's a good fit for a role then you either need to learn more about effective interviewing, learn more about the role, or find someone else who is good at hiring/interviewing.

This has all been a long time coming.
by santiagolarrain | 2025-07-04 16:16:37+00:00
I'm interested in those examples of sperm whales attacking humans. I believe those might have been defending and not actively attacking. It is said that Mocha Dick was docile until attacked. And I think that an animal that defends itself when attacked, is a different game. I haven't heard of cases of people hunting down and fishing Orcas, like we did with Sperm Whales. Perhaps we would have had Orcas attack then?
by RestartKernel | 2025-07-04 16:18:03+00:00
There are plenty of opportunities for entrepreneurship in the EU if you don't mind implementing boring, existing tech for more "physical" business owners. It's more that the world of risky VC-funded tech start-ups is somewhat foreign to us.

Such ventures are certainly still out there if you know where to look, but they feel native to the U.S. tech industry in all their facets — for better or worse, I suppose.
by CoastalCoder | 2025-07-04 16:18:30+00:00
> People routinely write completely wrong CMakeLists and then complain about CMake being "sooo bad".

I think this conflates a few issues.

I believe you that some people have problems with both CMake and Meson.

But in my opinion CMake's scripting language really is pretty poorly suited for it's role, e.g. because of its blurry distinction between strings and lists.
by nobodyandproud | 2025-07-04 16:18:36+00:00
Yes and no.

The physical world is bound by rules that are unchanging (more-or-less). Above this layer we’ve also devised and agreed upon standards that remain unchanging, though it’s regional: Voltage, screw/bolt sizes, tolerance levels, materials, material measurements, etc.

At this layer, we’ve commoditized and standardized because it’s useful: It makes the components cost-effective and predictable.

In software and computing, I can only think of the low-level networking standard that remain stable. And even that has to be reinvented somewhat for each OS or each nee language.

Everything else seems to be reinvented or rewritten, and then versioned.

Imagine having to upgrade your nuts and bolts in your car to v3.01 or lose support?
by citrin_ru | 2025-07-04 16:19:10+00:00
A complex software much much easier to break accidentally. While one character can break "hello world" is not something one would do while trying hard not to break it. And potential bugs in a simple application much more likely will be cough during a review. For a complex application no-one have a good mental model to predict what a given change would do reliably. For a simple one it's possible.
by doodlebugging | 2025-07-04 16:19:20+00:00
Probably just an editing error but I find it interesting that, according to the text of the article, they were finished with the restoration before they ever started.

>The restoration of the Hall of Constantine began in March 2025 and was completed in December 2024.

Someone probably fat-fingered a number in one or more of those dates or swapped them.
Instagram appears to be issuing fake Community Standards violations
by casenmgreen | 2025-07-04 16:19:34+00:00
I made an Instagram account.

Account verification by email.

I uploaded one photo, test photo of some fireworks.

About an hour late, the account is suspended.

Email states;

Your Instagram account has been suspended. This is because your account, or activity on it, doesn't follow our Community Standards on account integrity.

If you think we made a mistake, you have until December 31, 2025 to appeal.

If you don’t take action, your account will be permanently disabled.

There's a link to verify, which has only one way to verify, by providing a phone number.

Phone number is the gold standard for collating information from third parties and although I may be wrong, I suspect this is the real reason for suspension, as a device to obtain phone number.

The text "Community Standards on account integrity" is a link.

This goes to a page which forces you to accept all cookies.

On that page is generic information - there is no way to make the appeal mentioned in the email. I can see no way to make that appeal.

Note the text says the account will be permanently disabled, not deleted, so Instagram are not deleting what they have; only permanently disabling the account.

Searching on-line, Instagram gives the following instructions to delete an account;

You can delete your account by going directly to Accounts ownership and control settings in Accounts Centre. Or you can follow these instructions:

This is not possible, as it is not possible to log in (logging in takes you to the page to provide a phone number for authentication).

Finally, the email address which sent the email is a "no-reply" address.
by ww520 | 2025-07-04 16:20:11+00:00
One issue I have with the old reader/writer pattern is that it is not easy to store them in a struct. Reader and writer are passed into a function as 'anytype' which implements any of the read() or write() functions. Often time in a struct's init() function, I want to take in a reader/writer and store it for later use. It's close to impossible since I don't know what type of the field of the struct to store them.

Does the new change make it easier to store reader/writer in a struct?
by WalterBright | 2025-07-04 16:20:22+00:00
> function arguments can be "in", "out", "inout", "ref", "scope", "return ref" - and combinations.

None of them are required. What they do is provide enforcement of semantics that otherwise would have to be put in the documentation. And, as we all know, function documentation is always either missing, outdated or just plain wrong.

For a (trivial) example:

void foo(int* p) { *p = 3; }

vs:

void foo(out int i) { i = 3; }

In the latter, you know that `i` is being initialized by the function. In the former, you'll have to rely on the non-existent documentation, or will have to read/understand the foo()'s internals.

`out` definitely is a win. Let's look at `scope`:

void foo(int* p) { static int* pg = p; } void bar(*) { int x; foo(&x); // oops }

vs: void foo(scope int* p) { static int* pg = p; } // compiler flags error

This is most definitely a memory safety feature.
by Semaphor | 2025-07-04 16:20:40+00:00
That sounds wrong, efficient intel chips should be very comparable to pi's. Measurements for the futro s740 (j4105 CPU) were [0] around 2-4 W idle when properly configured

[0]: https://github.com/R3NE07/Futro-S740/blob/main/power_consump...
by carefulfungi | 2025-07-04 16:20:45+00:00
> why no government for the past 20 years did not bother to change those laws?

There have been efforts by all presidents over the last 20 years to do so.

Obama increased the rate of deportations and doubled border patrols as part of a gambit to reach consensus on immigration reform. Congress didn't take up the offer. https://obamawhitehouse.archives.gov/blog/2013/01/29/preside....

Trump (first term) put forward reforms that never passed the Senate (https://en.wikipedia.org/wiki/RAISE_Act).

Biden late in his term put forward an immigration reform package that Trump, as a candidate, guided his party to reject. https://www.factcheck.org/2024/02/unraveling-misinformation-...

The US Congress is not an effective institution. It is captured by lobbying dollars. And the specific geographies each member represents in the House of Representatives have been organized to create partisan (far-left/far-right) districts that don't elect middle-ground candidates. Congress is more partisan than the country in general and also corrupted by financial influence. By design, the US Congress requires broad consensus to operate (bills need to pass the house, the senate, and then be signed by the president; to pass the senate, many bills need 2/3rds approval in practice). Congress has been largely unable to reach this broad consensus (on many issues, not just immigration) over the last many years.
by icedchai | 2025-07-04 16:21:56+00:00
During good times, many companies simply don't care about which services or how much. I've worked at several startups where they got a large funding round and the word was "we don't care about cloud costs, just get it done fast / make it scale." Unfortunately, one bad mistake (like storing all data in a proprietary service like DynamoDB) can make this difficult to unwind when things get bad...
by vips7L | 2025-07-04 16:22:05+00:00
I don't really have the energy to debate this, but the Kotlin standard library doesn't use Result at all:

\kotlin\libraries\stdlib> gci -r | where extension -eq .kt | where name -ne Result.kt | grep "\): Result<" | measure-object | select count Count ----- 0

It does however throw a shit ton of exceptions:

\kotlin\libraries\stdlib> gci -r | where extension -eq .kt | grep "throw " | measure-object | select count Count ----- 1176

So like I said the language doesn't tell you what can error. Cheers man.
by hiAndrewQuinn | 2025-07-04 16:22:10+00:00
An atheist's principles usually have to be deduced at the source, by e.g. talking to the atheist. This isn't hard, but it does take time. It usually doesn't scale to other atheists.

A moderately devout Christian's principles are likely ones you already know in some low resolution through cultural osmosis. This is reason enough to suspect that, ceteris paribus, people will prefer to engage in voluntary trade with the Christian over the atheist. It is less because of the Christianity itself, than because trying to follow a known standard for good conduct reduces transaction costs.
by pxc | 2025-07-04 16:23:10+00:00
> unless you're very watchful by looking for academic responses to questions

I've noticed that a lot of the supposed hallmarks of "AI slop writing" (em-dashes, certain multisyllabic words, frequent use of metaphor) are also just hallmarks of professional and academic writing. (It's true that some of them are clichés, of course.)

It seems like most efforts to instruct people on how to "fight back against AI writing" effectively instruct them to punish highly literate people as well.

I think it's often still possible to tell human writing that uses some of the same tropes or vocabulary apart from AI writing, but it's very vibes-based. I've yet to see specific guidance or characterizations of AI writing that won't also flag journalists, academics, and many random geeks.
by unshavedyak | 2025-07-04 16:23:22+00:00
I wish there was a /model setting to use opus/ultrathink for planning, but sonnet for non planning or something.

It's a bit annoying having to swap back and forth tbh.

I also find planning to be a bit vague, where as i feel like sonnet benefits from more explicit instructions. Perhaps i should push it to reduce the scope of the plan until it's detailed enough to be sane, will give it a try
by Havoc | 2025-07-04 16:23:23+00:00
I've been running one of these quad nvme mini-NAS for a while. They're a good compromise if you can live with no ECC. With some DIY shenanigans they can even run fanless

If you're running on consumer nvmes then mirrored is probably a better idea than raidz though. Write amplification can easily shred consumer drives.
by muzani | 2025-07-04 16:23:24+00:00
Some software literacy questions are fine. My favorites are what is grep, what's functional programming, what is the difference between TCP and UDP, what does hashing do.

Even if they were cheating, you could tell because the definition would be too definition-like. I expect people to stumble over what is functional programming, but they should be able to bring up things like immutability or the map() thing lol.

Another favorite is "what is TDD". The wrong answer is being fanatical/emotional about it either way.
by nurettin | 2025-07-04 16:23:30+00:00
The communist manifesto is what basically communism is. It is a real document billions swear by.

But I get it. You are basically arguing that nothing and nobody exists or ever existed or do or does anything to anything or anyone or had any ideas and arguing ideas or what people do or could do or would do is pointless.

Well, have fun with that. Sorry all this thread space was a waste.
by jauntywundrkind | 2025-07-04 16:24:27+00:00
Would be nice to see what those little N100 / N150 (or big brother N305 / N350) can do with all that NVMe. Raw throughput is pretty whatever but hypothetically if the CPU isn't too gating, there's some interesting IOps potential.

Really hoping we see 25/40GbaseT start to show up, so the lower market segments like this can do 10Gbit. Hopefully we see some embedded Ryzens (or other more PCIe willing contendors) in this space, at a value oriented price. But I'm not holding my breath.
by shermantanktop | 2025-07-04 16:24:46+00:00
I’d add “The DOM api probably already has everything you need and has zero dependencies.” That applies to many lower-level APIs which have gotten smarter and better over the years—often in response to the needs of fancy frameworks, but now they are pretty rich by themselves.

“I don’t have time to learn a new framework, I have things to do.” Everybody’s cool new abstraction is a cognitive burden for someone else.
by varispeed | 2025-07-04 16:25:11+00:00
Why this has so many upvotes? This is very much a wall of text with just waffle and very little substance.

The "mind-body" thing is a great tool for doctors who are into abuse and take pleasure in having power over their patients.

"You are still having chronic pain, because you are not working hard enough!"

"No, I will not prescribe you medication. The pain is in your head!"

Oh and abusive partners also love this crap. You have a flare up? No you don't! You are just a lazy slob who doent't want to work and is whinging like a little baby. Stop imagining your pain!

GTFO with this crap.
by johnnyjeans | 2025-07-04 16:25:20+00:00
sml, specifically the MLTon dialect. It's good for all the same reasons ocaml is good, it's just a much better version of the ML-language in my opinion.

I think the only thing that ocaml has that I miss in sml is applicative functors, but in the end that just translates to slightly different module styles.
by spacecadet | 2025-07-04 16:25:31+00:00
Hey hey, guess this gives me an opportunity to mention my AI dungeon master...

https://github.com/derekburgess/dungen

There are some interesting ideas in this paper, but even just role playing with ChatGPT demonstrates how poorly it does at world building and narrative... I was impressed by the Wayfarer model, and I imagine there are other models out there on civit or something that could be used together in some group chat orchestration to create a more dynamic "party" atmosphere.
by skwee357 | 2025-07-04 16:27:14+00:00
The problem with what you say is that you need to be in such environment. Not everyone pays good salaries. Europe is far behind US salaries. In US high salaries are concentrated around SF, which in turn means high cost of living, or subpar living conditions (I couldn’t imagine myself living with roommates in my 30s for example, and what do you do when having a relationship?)

And then comes the downsizing. Sure you can live only with necessities, but then question do you want to find yourself in mid thirties, or early forties, without any travel experiences, no relationship, living in your parents basement? I exaggerate a bit, but the math does not work out. You either live very frugally, or you use exploit geo arbitrage (low cost of living area, with a high paying remote job). There are no other shortcuts.
by FirmwareBurner | 2025-07-04 16:27:51+00:00
>People already distrusted the elites and the `deep state` and he marketed himself as the outsider who’d fix things.

Q: If this was such an obvious slam dunk on how to win the presidency, why didn't the Dems come up with such a candidate? Wouldn't that make them stupider than the Donald for such an obvious oversight of the electorate?

>That still isn’t sufficient evidence in his favor, given everything happening now.

Managing to become president twice is insuficient evidence?
by evil-olive | 2025-07-04 16:28:00+00:00
the author has a previous blog post about his monitoring setup:

https://www.jeffgeerling.com/blog/2025/how-i-monitor-and-con...

I can recommend those Third Reality outlets as well, I have about a dozen now and they Just Work with my Zigbee dongle (Sonoff ZBDongle-P) and zigbee2mqtt / Home Assistant setup. I use Home Assistant's Prometheus integration to get the data into VictoriaMetrics, which lets me build Grafana dashboards showing the usage of each plug over time.
by yieldcrv | 2025-07-04 16:28:17+00:00
and all I’m saying is that it didn’t matter for a bullish thesis whether this is just a nitpick fyi or a nuance you really care about

the only thing that mattered was the malleability of the system to meet its goal of attracting transactions, including the future malleability of what you are pointing out. blockspace became scarce. it was predictable that anything that undermined that would be excised out of the network.
by foobiekr | 2025-07-04 16:28:23+00:00
I have a pretty severe back injury - double pars fracture and significant spondylolisthesis from an accident (not a car accident). For many years i was in incredible pain, but it just kept going, sometimes getting a lot worse. When this happened I would go get some imaging done to make sure there weren't degenerative changes that needed to be addressed - you should never, ever get back surgery if you don't need it, so I am cautious about it. But I noticed something, all on my own, and that is that it seemed to correlate with periods of intense stress. I still have a ton of stress, but recognizing that actually kind of made a tremendous difference.

I hesitate to add a link to this on the thread, but there is an interesting story around chronic pain actually being psychological and there are now some high quality studies coming out.

https://journals.lww.com/painrpts/Fulltext/2021/09000/Psycho...

I especially hate to link to LessWrong but this is an actually decent thread on the topic:

https://www.lesswrong.com/posts/BgBJqPv5ogsX4fLka/the-mind-b...

I didn't know about any of this and had never been exposed to any of it when I drew my conclusions and started to feel less pain. Don't get me wrong, there are still things that will set my back off, but now I probably go actual years without even thinking about it.
by blacksmith_tb | 2025-07-04 16:28:32+00:00
You can run ARM Win 11 on the RPi 5, even in VMs. But that doesn't seem terribly practical, the little N100 I have running Home Assistant cost less than $90... I will stick with the Zero 2 W for anything in the sweet spot of "needs an OS but isn't doing too much, and uses GPIO" and x86_64 for anything bigger.
by FirmwareBurner | 2025-07-04 16:28:58+00:00
>Grifters are systems thinkers but in a limited short sighted way.

For the average voter, the grifts are irelevant since all candidates do it anyway, they just want a candidate that executes on their dissatisfactions with the system and that turned out to be the Donald.

Just follow the portfolios of those who funded the campaigns of the presidential winner, it doesn't matter if it's Clinton, Bush, Trump or Obama, all politicians are grifters, since once elected they need to pay back via grifts those who funded their campaigns as that's the main reason wealthy elites spent million for their candidate to win, to get into grifts with the government that make them even richer.

>The morons who support them dont see why this is not the optimal strategy

What IS the optimal strategy? I think MAGA base is getting what they voted for (mass deportations and shit) so for them IT IS the optimal strategy.