MurphyA/hacker-news huggingface dataset:
by sausagefeet | 2025-11-08 17:22:40+00:00
The way I look at it is that TF has a limitation on state size. And when you hit that limit, you have to either slow down a ton or do a (big) refactoring.

As comparison, if a programming language forced you to split your software into multiple executables when you got to a certain number of functions, I think, almost universally, we would say that it's not a production language. That is a stupid limitation and forcing development work on users because of stupid limitations is disqualifying.

But for TF, even if we are refactoring it because the tool is doing it, we tell ourselves that it's a good idea anyways because of good software practices. But splitting infrastructure over multiple root modules is, in my analogy, the same as being forced to do it over multiple executables. It comes with a lot of unnecessary limitations.

With Stategraph, you can choose to split your infrastructure over multiple root modules, if that is what you want to do, not because you don't have a choice.

V1 of Stategraph is a drop-in TF/Tofu replacement, but once it's there, you can see a path to something more like k8s operators, without having to do any migration of infrastructure.
by tananan | 2025-11-08 17:22:53+00:00
Fortunately, as you mention in your last sentence, stress is introspectable.

How exactly stress corresponds to biomarkers doesn’t matter if your desire is to lower it.

The issue is that many of us don’t pay attention to how we keep our body & mind throughout the day, or do so on a very superficial level. So strain on the body can accumulate for a long time.

“Stress management” is a lifetime skill. It doesn’t come in bulletpoints, it’s as broad as “living happily”.

Edit: That said, this can make the advice “be less stressed” a bit vacuous.

But people do get scared when random health issues flare up and become more conscious of how they deal with stress in life.

So it’s not bad to keep reminding people either :)
by creer | 2025-11-08 17:22:57+00:00
Besides talking to a relevant lawyer and finishing your PhD...

1) Talk to other people who have gone through the adventure and get some idea of how it went for them. Both before they finished the PhD and after they started their business. Currently you have little idea of how that works and you are not the first person to go through this course.

2) If your objective is to start a business, then licensing fees and royalties are only a small part of the adventure, costs and profits. And the tech transfer office absolutely has incentives to negotiate: their job, nominally, is to get stuff out there. You just don't know yet how these offices negotiate - what the usual terms are.

What it might end up looking like, is - by contrast to the entire business - a smallish licensing fee and smallish royalties (ongoing payments per device), of which 40% (perhaps) would go back to you personally. As opposed to going to your business which will be a different legal entity and ownership entirely. Your income stream personally and your business' income stream are very different things. Depending on how things go, your share of ownership of the business can be quite small (as opposed of ownership of the invention). Lower than 40% most often, and still be an extremely valuable piece of the pie. And the two things are separate assets for you: interest in the invention and interest in the business.

3) By the time the business has an actual product, it's pretty likely there will be several patentable inventions in the business. The one pre-PhD, the university one, being just one of several, the rest owned outright by the business or others. Which probably matters in the discussion of licensing terms and royalties.
by TimorousBestie | 2025-11-08 17:23:02+00:00
The article is a really good exposition of move semantics, but unfortunately many modern C++ features benefit from the pedagogical technique of “imagine this feature didn’t exist, this is why someone would want to develop it.”

I say unfortunately because this doesn’t scale. A junior programmer doesn’t have the time to process 30 years of C++’s historical development.

Mathematics (which has a much longer history and the same pedagogical problem) gets around this by consolidating foundations (Bourbaki-style enriched set theory -> category theory -> homotopy type theory, perhaps?) and by compartmentalization (a commutative algebraist usually doesn’t care about PDEs and vice versa).

I don’t see C++ taking either route, realistically.
by chongli | 2025-11-08 17:23:07+00:00
So I submit a query, click a link, then I give up and close the tab. How do you tell that apart from me finding exactly what I wanted and staying there? Whether it's my first query or the 10th (and final) query in a chain of re-queries, you still have no way of knowing when I've found what I wanted or when I've given up.
by kragen | 2025-11-08 17:23:24+00:00
Thermal energy storage solves the problem of cooking and washing.

I have a half-liter thermos bottle that leaks about 0.3 watts at ΔT ≈ 50° (635g of water dropped from 71.9° to 69.8° over five hours and 8 minutes), so any power supply averaging over about a watt would be sufficient to boil water in it—eventually. If you needed to do it in the 4 hours the sun was near peak on a single day, you'd need at least 15 watts. (I don't live in Africa, but I do live in a third-world country. Blown-glass thermoses are pretty widely available because, although they're fragile, they're light and never wear out, just shatter.)

Sand batteries are potentially extremely cheap and can easily deliver cooking temperatures. A super-low-tech version of this approach is "salt frying", where you preheat a few kg of table salt (melting point 800.7°) to frying temperature, then stir dry food into it. Most of the salt won't stick to the food, but the few grains that do won't cause the edibility problems that sand would.

TCES potentially offers much greater storage density and much greater controllability than these sensible-heat energy-storage technologies, since you can store the "heat" indefinitely.

Phase-change thermal energy storage is another potentially appealing possibility, potentially offering a stable cooking temperature for many hours, although I don't know of any suitable materials. The MgCl₂-KCl–NaCl eutectic, for example, doesn't melt until 401°. Maybe something like calcium stearate (m.p. 150°–180°) would work, but its heat of fusion isn't great, I'd be worried about long-term stability, and although it's easy to get anywhere in the world, it's probably a lot more expensive than salt. (Table salt is US$100/tonne, but the eutectic mentioned above would be closer to US$400/tonne.)
by scottlamb | 2025-11-08 17:23:34+00:00
I'm not rooting for Zig [1] but I think there are some misses here, e.g.:

> Cross-compilation looks like a standout feature in Zig, although C developers have been doing the same thing for decades. ... You can target an embedded ARM board or a RISC-V chip with one flag:

Disagree: Zig's cross-compilation support is better than anything else. For one, installing a toolchain for a different OS/arch combo is not necessarily so easy with C. For another, with Zig you can target an arbitrary Linux glibc version with a commandline argument. Without Zig's toolchain, [2] the best I've seen is to run within a Docker container with that glibc version installed.

[1] almost entirely because I think all new languages should have memory safety (via GC or borrow checking).

[2] I see people linking Rust programs with Zig's toolchain for this reason: https://github.com/rust-cross/cargo-zigbuild
by lisbbb | 2025-11-08 17:23:55+00:00
Love the chart at the bottom--it really puts on display media bias and lack of integrity and using fear to push idiotic policies which area really just a way to put everyone in the pocket of government and keep them there permanently with zero real improvement to public health. Fear get eyeballs. the Covid mass hysteria proves that, too.

As far as heart disease goes, yes, it's the big killer and it's time people started waking up from the media haze, but to do that, you have to admit you were wrong, and for many, that is far too tall a hill to climb.
by inshard | 2025-11-08 17:24:06+00:00
This misses the fundamental information problem. Your recommendation algorithm is centralized—it only knows what its signals can measure. Ads create a decentralized market mechanism where businesses themselves can signal “your algorithm is underweighting me.”

Consider the failure modes of pure algorithmic ranking:

Cold start problem: A phenomenal new restaurant opens. It has no ratings, no historical visit data, no repeat customer signals. Your algorithm buries it. How does it escape this trap? Organic discovery is glacial—it might take months to accumulate enough signals while the business burns cash.

Structural bias: Your algorithm might systematically underweight certain business types. Maybe sit-down restaurants generate longer “time spent” signals than excellent quick-service spots. Maybe your visit detection misses certain building types. The algorithm doesn’t know it’s biased.

Local knowledge asymmetry: The business owner knows their value proposition intimately—they know their recent quality improvements, their new chef, their differentiation. The algorithm is looking backwards at historical data.

Network effects lock-in: Once a place is highly ranked, it gets more visits, more ratings, reinforcing its position. Even if quality declines, the algorithm is slow to react.

Quality-weighted ads let businesses with superior local information challenge the algorithmic ranking. If you’re genuinely better than your algorithmic position suggests, you can bid to prove it. The quality weighting means you only profit if you’re right about your own quality—it’s costly signaling backed by conversion economics. This is “outside-in” because you’re not trying to perfect a centralized algorithm. You’re creating a market mechanism where distributed information surfaces through economic incentives. The businesses that are most undervalued by the algorithm have the strongest incentive to correct it.

Pure algorithmic ranking is central planning. Quality-weighted ads are a market.
by sim7c00 | 2025-11-08 17:24:31+00:00
opengl can do dots, lines, triangles, quads, ngons. just an option in the drawcall. pretty sure dx and vulkan will be the same but i didnt try em... what is more optimal.. idk.

maybe under the hood past the drawcall it will triangulate it. never bothered to look into that.

pretty sure the HW doesnt care one bit as it operates on vertices... not primitive shapes. (ofc like u note if ur quad is non planar it wont look like u expect but thats no concern for the driver or hw..)
by carbocation | 2025-11-08 17:24:42+00:00
Key Takeaway: Get a CT or CTA scan, and if you can afford it go for the CTA with Cleerly.

There is a reason that we don't recommend getting imaging for everyone, and that reason is uncertainty about the benefit vs the risks (cost, incidentalomas, radiation, etc, all generally minor). Most guidance recommends calcium scoring for people with intermediate risk who prefer to avoid taking statins. This is not a normative statement that is meant to last the test of time: it may well be the case that these tests are valuable for a broader population, but the data haven't really caught up to this viewpoint yet.
by sjs382 | 2025-11-08 17:25:07+00:00
Depends.

If you're a restaurateur, do you have the .ai files your agency created, an Adobe Illustrator license, and know-how to get in there and change the prices? And then know where/how to deliver the result to get it printed? If so, you probably still have something better to do...

You probably pay an agency an hourly rate plus markup to get them updated, prepped and sent off to be reprinted.

Next time: negotiate fixed prices/timelines for small updates, own the files, and own the relationship with the printers.
by Buttons840 | 2025-11-08 17:25:27+00:00
I am not a statin skeptic--or rather, I don't want to be a statin skeptic. I've done the research and it makes sense to me, but I still feel some social and psychological pressures to reject statins.

When I see that it is widely accepted that ApoB is better to measure than LDL-C, but the industry continues to measure LDL-C, but not ApoB, I wonder why. It makes me skeptical.

When I see that the purpose of statins is to reduce plaque buildup in the arteries, and that we have the ability to measure these plaque buildups with scans, but the scans are rarely done, I wonder why. Like, we will see a high LDL-C number (which, again, we should be looking at ApoB instead), and so we get worried about arterial plaque, and we have the ability to directly measure arterial plaque, but we don't, and instead just prescribe a statin. We're worried about X, and have the ability to measure X, but we don't measure X, and instead just prescribe a pill based on proxy indicator Y. It makes me skeptical.

In the end statins reduce the chance of heart attack by like 30% I think. Not bad, but if you have a heart attack without statins, you probably (70%) would have had a heart attack with statins too. That's what a 30% risk reduction means, right?

As you can see, I'm worried about cholesterol and statins.
by rramadass | 2025-11-08 17:26:22+00:00
Both Yann LeCun and Richard Sutton (author of "The Bitter Lesson" essay where he argued scaling of general purpose methods brings about significant returns) have already pointed out that LLMs are a dead end.

All that the AI Industry is doing is scaling computation/data in the hope that the result may encompass more of "existing real-world data" and thus give the illusion of thinking. You don't know whether the correct answer is due to reasoning or due to parroting of previously seen answer data. I always tell common folks to think of LLMs as very very large dictionaries eg. with the words from a pocket oxford dictionary you can construct only so many sentences whereas from a multi-volume set of large oxford dictionaries you can construct orders of magnitude more sentences and thus the probability of finding your specific answer sentence is much much higher. Now they can understand the scaling issue, realize its limits and why this approach can never lead to AGI.
by zippyman55 | 2025-11-08 17:27:32+00:00
It has purpose but its difficult to avoid using it as a crutch and if misused, the user becomes weaker or is a weak individual performing with a crutch. One computer language I developed with books and time I know really well. A recent computer language I used chatGPT and while my SW engineering skills are fine and I developed several projects, my skills of the language is little. Ok, but I am a senior person and have substantial cognitive skills to develop something. But take a lower level person, in the career development cycle: they need to be careful to not fall into a trap of relying on these tools and not develop their skills. They risk always being superficial employees and low value contributors.
by tyami94 | 2025-11-08 17:27:55+00:00
I'd argue it's probably time to drop 32-bit x86 support, but the rest of this stuff is arbitrary and doesn't have any tangible benefit except conveniently providing hardware manufacturers with an excuse to unload new hardware onto people when there's nothing wrong with what they have. (not to mention, pardon the conspiracy theory, they're probably trying to use the TPM to turn the PC into a smartphone-like platform)
by captainkrtek | 2025-11-08 17:27:58+00:00
A relevant anecdote. I’m very athletic and skinny, eat well, have a resting heart rate in the 40s, but was recently prescribed a statin at 30, due to my very high LDL cholesterol and lipoprotein A.

My family has a history of cardiovascular disease despite us doing what we can w.r.t eating and exercise. I’d encourage you to get some tests at least.

My mother similarly was put on statins and is getting a cardiovascular work up (calcium scan) because she now has early atherosclerosis. She eats super healthy and is a former olympic sprinter..

Bonus anecdote: In my free time I do shifts as an EMT with my fire dept (911), that is a big wake up call to wanting to be as healthy as can be. The number of patients I see who are 50+, nearly all are on 5-10+ meds, few are just one 0, 1, or 2. At that age I see type 2 diabetes, hypertension, high cholesterol, and more.
by ethbr1 | 2025-11-08 17:28:00+00:00
> 'pot cosy' to insulate the pot and stop radiated heat loss

Is this a product that exists?

The closest I could find was ceramic fiber insulation [0], which could presumably be cut to shape and fastened (high temp fastener?) into pot shape.

[0] https://www.amazon.com/s?k=ceramic+fiber+insulation
by mikkupikku | 2025-11-08 17:28:34+00:00
At least you're bargaining instead of demanding, I respect that.

I would have to jump through all kinds of hoops to do that, like creating an account, staying logged in, and on top of that I would still need to have my adblocker to fix their website trying to shove "trending" videos down my throat. The real recommendations based off viewing history work great with a disposable anonymous cookie.

Simply put, paying doesn't provide enough value over doing it the free way. This is YouTube's problem, not mine. I don't pirate games, simply because buying them from steam or gog is a much nicer user experience than pirating the games. But dealing with google and getting so little in return, still needing to use extensions to fix their crap website anyway? Nah, I don't care about their business model.
by dust42 | 2025-11-08 17:29:26+00:00
Long story short care about your health. If you don't do already, maybe now is a good time to start.

What you put into your body: no processed food, cook yourself, lots of variety of veggies and fruits, little meat, little alcohol.

What you do with your body: regular exercise, low stress, enough sleep.

What you do with your mind: good social environment, good relationships.

And an apple a day keeps the doctor away!
by dgacmu | 2025-11-08 17:29:32+00:00
Those transfers would be represented as having dependencies on both accounts they touch, and so would be forced to be ordered.

Transfer(a, b, $50)

And

Transfer(b, c, $50)

Are conflicting operations. They don't commute because of the possibility that b could overdraft. So the programmer would need to list (a, b) as the dependencies of the first transaction and (b, c) as the second. Doing so would prevent concurrent submission of these transactions from being executed on the fast path.
by guzik | 2025-11-08 17:29:42+00:00
> It's not sexy, and as a result an overwhelming majority of the population is unaware about how to avoid succumbing to it

When I started building an ECG Holter in my early 20s, I tried to get some friends to use it and kept hearing "yeah, but it’s not exactly sexy to wear that thing." That’s when it hit me how little people care about prevention until something goes wrong. We still have a huge awareness gap to close.
by lysace | 2025-11-08 17:29:51+00:00
Tech companies/bloggers/press/etc are perpetually bad at benchmarks. For browsers they kept pushing simplistic javascript-centric benchmarks even when it was clear for at least 15 years that layout/paint/network/etc were the dominant bottlenecks in real-world usage.

It's primarily marketing-driven. I think the technical parts of companies need to attempt to own this more.

It gets really weird when engineering priorities shift because of these mostly irrelevant benchmarks.
by kakacik | 2025-11-08 17:30:03+00:00
> its incredible how much easier and convenient pirating ebooks is to buying them.

Pirating everything is easier than buying, copyright owners have firmly adopted this mindset. It keeps swinging across the line of comfort up and down over the decades and these days its mostly back down. Games don't have OS Ring 0 level denuvo style crap making your computer more vulnerable and slower, and these days all big ones have all patches available pretty quickly after release. Plus sometimes its good to wait few days before applying if its not a disaster, instead of auto-update.

Remember those unskippable FBI warnings in beginning of official movies? Unknown in pirated version. Even these days with say Netflix stuff that is in EU, but isn't in Switzerland (or it is but only in german voiceover, even though I live in french part FFS. Where is original voice? Who knows). Movies keep disappearing from collection. I know, not a fault of Netflix as much as copyright owners, but at the end I don't care. So I have 10 TB local drive, 1080p/4K in quality I prefer, with audio and subs I prefer.

Music - nothing beats local collection of flacs, I can listen to them on plane or elsewhere without any signal (or half around the world with no good roaming), top quality streamed via aptx lossless to Sennheiser plugs, absolute top. For discovery free Spotify is enough, not forking 20 bucks for me & my wife monthly, thats a ridiculous sum just for (average quality) music.

Books - I feel like if I buy/bought I would be re/buying them over my life numerous times, collection stability and ease of use of shops isn't something I trust long term. I agree with all you write above.
by tharne | 2025-11-08 17:30:36+00:00
> I very much doubt the execs understand how much they're damaging the brand for that little bit of extra revenue.

I disagree. They know exactly what they're doing. Executives get paid and promoted based on quarterly profitability, not long-term vision or a sustainable business model. By the time the damage from what they've done is apparent and felt, the execs responsible will have long since retired to a beach somewhere in the tropics, or taken a higher paying role at another company where they'll start the process anew.
by everdrive | 2025-11-08 17:30:49+00:00
What if heart disease saves me from dementia? I'm not just being contrarian. I think about this a lot of the time. I'm already 40. I'm being healthy now, but whatever damage has already been done is baked in. (plus whatever is in my genetics) A quick death at 65-70 might be much more preferable to a slow terrible decade-long decline.
by chuckadams | 2025-11-08 17:30:50+00:00
I had exactly the same reaction to Effective C++, and I'd learned it back in the 90's (my first compiler didn't even support templates!). It's a wonderful book for sure, but it's a wonderfully detailed map to a minefield. The existence of guidelines like the "Rule of 7" should be raising questions as to why such a rule needs to exist in the first place.

As for this article, it really did de-mystify those strange foo&& things for me. I had no idea that they're functionally identical to references and that what C++ does with them is left up to convention. But I still felt like I had to fight against sanity loss from a horrid realization.
by doug_durham | 2025-11-08 17:31:59+00:00
"Fabricated hypotheticals"??? How did you like living through the 1990s and early 2000's when Windows was an unfettered vector for viruses. Your position is elitist at best. Only the anointed few who know how to make keep their systems safe from exploits shall have access to computing. Ask your friends in who are not in the software business how they like checking the cryptographic signatures of the binaries that are about to install from the command line. What they don't know how? Well no compute for them.
by bambax | 2025-11-08 17:32:33+00:00
> Don’t Die!

Why the f* not.

My in-laws are over 95. They refuse to go to an elderly home and as a result make everyone miserable, starting with themselves and inflicting infinite suffering on their children who each have a family of their own, and need to take care of them all of the time.

I don't want to do that to my own children. I don't want to not die. I don't esp. want to die but I'm not really afraid of it, it's just a normal part of life.

Preventing heart disease is probably a good thing, but if one prevents every ailment conceivable then how does this work eventually?