MurphyA/hacker-news huggingface dataset:
by peterfirefly | 2025-10-13 21:39:16+00:00
succ(seg(x)) and pred(seg(x)) turned out to be equivalent of just seg(x) in TP6.

Earlier versions of Turbo Pascal (and Poly Pascal) generated poor code for "... + 1" but better code with succ(...) and doing memory access via memw[s:o] was common for speed for certain kinds of code. Allocating whatever size you needed + 16 guaranteed you had allocated enough to have paragraph aligned allocation (16 instead of 15 so you could just use the segment + 1).

I think it took a day or two to find this bug in some text-mode windowing code I'd written.
by rufugee | 2025-10-13 21:39:18+00:00
For me, it's not about ricing. I find Omarchy to be an incredibly productive setup, from the launchers for webapps to the focus on TUIs.

I'm conflicted about the drama and still learning more about it, so not ready to draw a conclusion yet. But Omarchy is definitely a very, very fun experience for me.

Granted, I've heavily customized it and am using hy3 for i3-like capabilities, so whatever path out of this for me is likely to i3wm or sway.

And, fwiw, I've been running linux since the late 90s, and most of that as my primary OS (with a decade-ish period of macOS I'd rather forget). I know what I'm doing.
by CharlesW | 2025-10-13 21:39:25+00:00
> …perhaps you and Google have different notions of who the consumers are.

A relatively small percentage of HN users have empathy for people who haven't the faintest idea how their gadgets work and no curiosity about learning that. It can seem inconceivable.

I agree with you that normal people deserve safety when using their most intimate device, and that backdoors that can give technical people unfettered access will ultimately be abused by bad actors. I wish the world didn't work this way, but it's the one we live in.
by zb3 | 2025-10-13 21:39:28+00:00
If I buy a Google Pixel device then I AM a consumer. You don't have to choose, you could release a separate device for those who know what they're doing, just like Mozilla releases a separate edition of Firefox that doesn't require signatures.

And yes, I while I can still install some alternative OS on my older Pixel (now Google has stopped providing device trees for the newer ones which I therefore won't buy), Google constantly tries to make this as insufferable as possible with their "Play Integrity" crap.
by sfink | 2025-10-13 21:39:58+00:00
Before jj came along (or rather, before it reached my threshold of awareness), I was such a person. Started with git, switched to mercurial, wanted to work against github so tried sapling, loved it and started telling people about it.

I probably would have stuck with Sapling, but my company switched to git and the jj integration was cleaner -- especially being able to run in colocated mode: your project root directory has both .jj/ and .git/ subdirectories, and you can use both jj and git commands without much trouble. If someone gives me a git commit hash, I can just use it directly with jj.

Sapling is good. I'm still fond of it, and in fact still have a few repositories I haven't switched over yet. But being able to do everything with a single tool is useful, plus jj gives me some extra capabilities over sapling (or at least things that I don't know how to do as easily).
by mempko | 2025-10-13 21:40:54+00:00
This is important for everyone here to watch. A divided house does not stand, and if you haven't noticed, it's getting more divided every day. Don't be a sucker, don't let them divide us.

For perspective, we now have masked agents roaming the streets kidnapping people in broad daylight. In the United States. Think about how fast this came.

EDIT: Why not have a conversation instead of downvoting. What did I say is wrong?
by niffydroid | 2025-10-13 21:40:56+00:00
Sorry, the T7 is actually the multi van now, which is VW based The old transporter and panels vans were called T6 and this is where confusion lies. None the less, the Transporter etc are Fords.

Re T naming convention https://en.wikipedia.org/wiki/Volkswagen_Transporter

https://en.wikipedia.org/wiki/Volkswagen_Transporter_(2024) Straight up based on the ford platform Vw Transporter Panel Van £38,620 Ford Ford Transit® Custom £33,350
by pigeons | 2025-10-13 21:41:32+00:00
I find it incredibly more distracting when someone nearby or in the household is watching tiktok or similar within earshot than if they are watching a longer-form video or television program. Seemingly because I can "tune-out" the long form program but every time the video switches with tiktok, my brain "activates" and gets distracted to check if it needs to pay attention or not.
by tmnvix | 2025-10-13 21:41:55+00:00
> Some of it is a different nature along the lines of "why mine yours when you can buy someone else's". You keep yours in the ground until you have to get it.

My understanding is that a large part of the issue is processing capacity/ability - not mining of the ore. In fact, a significant amount of ore mined in the US is sent to China for processing. I don't think it's a simple case of the US standing up some processing plants in 1-2 years. If that were the case, wouldn't you think it would've happened by now? Is US leadership that bad that they failed to address this risk? Or - more likely - is it because solving the issue will take a lot more than some quick investment?

This is a huge issue for the US MIC. Plans (e.g. with regard to Iran) are going back to the drawing board for sure.
by this_user | 2025-10-13 21:42:08+00:00
That whole REE thing is more of a scare tactic than anything. REEs are really not all that rare, and the current imports of REEs into the US are worth around $200-250M annually. That is millions, not billions. It's actually a laughably small amount.

The main reason that it's mostly China producing them may simply be due to the fact that the volumes are so small that building your own industry is not really worth it.
by rmason | 2025-10-13 21:42:13+00:00
Locally Michigan State is covering all their parking lots with solar panels. The added advantage is that since you're car is parked under them you don't have to clear the snow off.

https://ipf.msu.edu/about/news/solar-carport-initiative-earn...

But what I haven't figured out is if they have to broom them off after a snow or just wait until the sun melts it. By the time I am around in the afternoon time they are always cleared.
by hshdhdhj4444 | 2025-10-13 21:42:28+00:00
“Protect their market” - And yet the U.S. and Europe are richer than ever.

It’s hilarious seeing the US oligarchs distracting from the fact that they’ve transferred massive amounts of wealth from the broader society to themselves by blaming every one else.

There is a fair argument to protect strategic industries and actions like these are probably needed, but let’s not pretend the “markets” are at risk because of anything China is doing, which is essentially giving Americans and Europeans actual stuff in return for pieces of paper.
by RealityVoid | 2025-10-13 21:43:05+00:00
> About the rest of the post - I would say it's a bit more complicated than just black or white.

Yes, I think that was his point as well. Policy is a set of tools, and depending on the current state of the system there is a right tool for the the job,with, of course, a set of tradeoffs. Discarding tools "of the right" or "of the left" is foolish.
by withinboredom | 2025-10-13 21:43:34+00:00
We are saying the same thing. I was pointing out that the article missed one of the hardest parts of actually implementing this, where your algorithm architecture can totally fuck you over if you didn’t plan for it. I just think it’s interesting that they missed pointing it out. Either they got it right on the first try or they haven’t realized the issue with the schema they’re proposing.
by jay_kyburz | 2025-10-13 21:45:56+00:00
I find the shorts on youtube super addictive, but the algo is too repetitive. I once watched a drumming video to then end, not I get heaps of drumming. It's cool, but I'm just not that into drumming.

I've been trying to correct the algo but giving a down thumb to videos I don't want to watch but its not learning.
by pedrig | 2025-10-13 21:46:27+00:00
I'm working on a tool to track and smoothly visualize paragliding flights in 3d: https://skyviz.io.

It started as a side-project for my own needs. I wanted to share flight replays of my paragliding tracks on instagram, but there just was no tool for it, so I hacked something together. People seemed to like the resulting videos, so I figured I could build an UI for it and publish it and see what happens :)
by dabockster | 2025-10-13 21:47:00+00:00
Software updates for cars should be rare, with the infotainment systems physically isolated from the rest of the car (aside from constant/switched power). And if it needs updates for whatever reason (eg a recall), they should be done at a dealership - not over the air.

Bricking a car with an over-the-air software update is stupid and unacceptable behavior. Stuff like this is why I'm actually kind of happy to be driving a 20 year old car still.
by gopher_space | 2025-10-13 21:47:01+00:00
Anthropology started at a time when people thought civilizations evolved in a straight line from savages to England. But it's hard to pretend that the natives sat around a rock grunting at each other when their e.g. bone-setting techniques were essentially modern, so there's a tradition of "not as benighted as you might have thought" articles.

WHY that point of view still exists is a question every anthro novice asks, and it turns out that cultural evolution is too attractive an idea for some people to let go of.
by galangalalgol | 2025-10-13 21:47:05+00:00
How easy is the machinery and tools needed to keep all the infrastructure running? Earth movers are pretty maintainable and barely depreciate. Survey tools though? They have gotten famcy right? Water management has gone quite high tech in some ways. I could see them falling apart kind of like when some hospitals had to revert to paper tape logs. It didn't scale anymore.
by doubled112 | 2025-10-13 21:47:31+00:00
I have a couple of machines that I can spin up if I need the power and performance, but it was amazing to me that the always on services that I'm actually using would run on an N95 mini PC.

YMMV, I'm not saying it's enough for every use case. The CPU will transcode my 1080p media using QSV at ~500 FPS. I don't have enough users to saturate that using Jellyfin.
by mediaman | 2025-10-13 21:48:11+00:00
This is terribly confused.

Economics is the study of scarcity. Scarcity comes in many forms: land, attention, materials, time. (It is not the study of money, which is a common belief of those who have not thought about what money is. Money is merely a fungible token claim on resources, not the resource itself.)

You could also believe that the study of physics is just the study of business, because businessmen operate in a world governed by physics.
by simonw | 2025-10-13 21:48:46+00:00
Yes, that number is according to OpenAI. They released that 800m number at DevDay last week.

The most recent leaked annualized revenue rate was $12bn/year. They're spending a lot more than that but convincing customers to hand over $12bn is still a very strong indicator of demand. https://www.theinformation.com/articles/openai-hits-12-billi...
by Waterluvian | 2025-10-13 21:49:36+00:00
They must given they can react to vehicle speed or prevent access to things while driving etc. I always imagined that to be a fairly hardened API that not even I, after a drunken bender, equipped with Electron, could cause any harm with.

Hmm. Would it be a read only API or can infotainment ever effect change to the vehicle’s operations? My Forester’s vehicle settings (eg. modifying the autonomy features) are managed by the crappy screen behind the wheel rather than the nice touch screen.
by nunez | 2025-10-13 21:49:38+00:00
+1 to all of this.

This is why I continue to use env vars and dotenv for configuration. They are extremely simple, work well, and are compatible with secrets managers and other secrets tooling.

Though lately I've been veering into sOps the last few years. YAML is just so nice for expressing how an app should be configured, and sops makes encrypting chunks of it so easy. Dealing with GPG keys can be challenging though, which Vault/OpenBao solve, but then lock-in becomes an issue (though less so with OpenBao).
by RALaBarge | 2025-10-13 21:50:53+00:00
I come from rural Michigan and everyone in the areas where the turbines are complain about it. Its the view or its the sound. The former sure, the latter I haven't heard it myself but I don't go home anymore. It is also the only new investments made in the area in 50 years in any which way shape or form.

When they first started, they had to build the infrastructure and stations to collect the power to transport it from the turbines. My mom rented out some rooms of her house to make some cash when that went on for maybe 2 years in total. There was a lot of work and money coming into the area for a moment, but now the only people making money are the farmers who own the land the turbines sit on.

It's always a trip to see a view you have seen for 40 years but with the turbines there in the background. Slowly, these rural areas are losing vital services one by one. The specialists stop coming to the hospital, even on rotation. The dentists and optometrists retire out and unless someone growing up there has a passion for teeth and genetically modified corn then the roles get pushed out to the bigger cities, 30-45m away.
by measurablefunc | 2025-10-13 21:51:15+00:00
No amount of shuffling bits will make coal any more abundant or easier to mine. At the end of the day there is way too much hype relative to the actual results. The modern economy, including AI, is propped up by access to cheap energy. Once those energy sources dry up, the whole house of cards will fall apart. Excerpt below on the real material reality of the fossil fuel economy.

---

The Scale of Stored Energy

The geological process of fossil fuel formation represents an almost incomprehensible concentration of ancient biomass. The energy density that powered the Industrial Revolution and modern civilization is a direct result of this multi-million-year process of collection and compression. An analysis by Carnegie Science provides a stark quantification of this energy subsidy: to produce the precursor organic material for a single U.S. gallon (3.8L) of gasoline required approximately 90 metric tons of ancient plant matter. Scaled up to a global level, the numbers become even more staggering. The total amount of fossil fuels burned in the single year of 1997 was created from ancient organic matter containing 44e18 grams of carbon. This is more than 400 times the net primary productivity (NPP)—the total amount of new biomass created through photosynthesis—of the entire planet's current biota, both terrestrial and marine, in a year.

This reveals a fundamental truth about our energy system: industrial civilization is not running on a "current account" of solar energy, such as that captured by modern plants, solar panels, or wind turbines. Instead, it is liquidating a vast capital reserve of ancient sunlight that the planet took geological eons to accumulate. This also explains why these fuels are, on any human timescale, non-renewable. The specific conditions and immense time required for their formation mean that the Earth is not producing any significant new deposits. We are, in effect, draining a finite reservoir.
by lovehashbrowns | 2025-10-13 21:51:41+00:00
I'm not very musically inclined but this is what I was able to make:

$: arrange( [4, "<sh09_bd>(4,8)"], [4, "<sh09_bd>(4,8)"], [1, "<sh09_bd mfb512_sd>(6,6)"] ).s().fast(2).layer(x=>x.add("0,2")).gain(".4!2 .5").phaser(2).phasercenter("<4000 800 4000 4000>")

$: s("gm_tinkle_bell").distort("<1 2 1 2:.5>").crush("<8 8 8 6 6 8 8>").chop(4)

$: arrange( [2, "<c4 e4 g4>(3,8)"], [1, "<f4 a4 c5>(3,8)"], [1, "<c4 e4 g4>(3,8)"] ).note().chop(4).fast(4).distort("<3:.5>").phaser(4).phasercenter("<800>").fm(4).fmdecay("<.05 .05 .1 .2>").fmsustain(.4)._scope()

I don't know what half this stuff does but it was still so much fun and this is probably one of my favorite projects ever. What made it most fun for me is that the reference docs are in the page so it's really easy to pick something at random and just see what it does.
by itopaloglu83 | 2025-10-13 21:51:46+00:00
Everybody is a fan of free access and capital markets, until a foreign entity purchases something of importance.

It’s a continuation of recent trends and closing markets.

Nobody in their sane mind would allow a company like ASML or the likes to be purchased by competitors.

But the irony is that when a non-European entity were to do something like this, e.g. nationalize their oil or mining etc. industry or a firm, the whole hell would brake loose.
by ForgeLang | 2025-10-13 21:52:04+00:00
Hey everyone,

After months of coding, I finally put my language Forge out into the world. It’s an interpreted language I built from scratch in C++, and the part I’m most proud of is a feature called (@expect)

(@expect) lets you write symbolic assertions that don’t just crash when something goes wrong, they actually explain what happened, suggest fixes, and can even recover automatically (still working out kinks). Here’s an example: ``` let x = 3 let y = 10

@expect(x > 5 && y < 5, "x and y must be in range") else: { println("Recovering: adjusting x and y") x = 6 y = 4 } ``` If that fails, Forge prints a full analysis of what went wrong (it even breaks down composite conditions like && or ||), shows the deltas, and can run a recovery block. It also logs a summary at the end of your program.

I wanted debugging to feel less like punishment and more like a conversation, something that helps you understand why a condition failed and how to recover from it.

It’s open source, and you can check it out here: https://github.com/FrostByte232/ForgeLang

I’d love feedback, ideas, or even wild feature suggestions. Right now it supports boolean expectations, recovery blocks, and composite condition analysis.

I know it’s still small, but this project has been pretty fun. I’d really appreciate any feedback, code reviews, stars, or just opinions.

Thanks for reading!
by mk89 | 2025-10-13 21:52:15+00:00
You can call it Economic nationalism all you want, but these are similar principles that were applied in authoritarian states like in Fascist/Nazi times.

I don't care if they are Communists - we call them like that to say "they're authoritarian", however, we're failing to see where we (West) are getting. In order to "defend" our democracy we're becoming increasingly like them.

To think that all that it takes would be to change our lifestyle NOT to buy anymore 5 pairs of low quality shoes per year or so, but 1 or 2 good ones, maybe made by your neighbour. Which is exactly how I grew up with, until someone told us that we need to buy a load of cheap crap, otherwise you're not cool.
by mlsu | 2025-10-13 21:54:42+00:00
If P successfully produces the relevant behaviors of O (burning, light, etc), then P is an implementation of O. There's no separate "real O" floating out there that P fails to capture. In other words, when you are playing the game, there _is_ fire involved.

You define a 'real' implementation to exclude computational substrate, then use the very same definition to prove that computational substrate cannot implement 'real' implementations. It's circular!
by xp84 | 2025-10-13 21:55:25+00:00
Seems useful to me in the context of something like a progressively rendered UI. A large block of text appearing a few characters at a time would be fine, but a number that represents something like a display metric (say, a position, or font-size) going from 0 to 0.5 or from 1 to 1000, would result in goofy gyrations on-screen that don't make any sense. Or imagine if it was just fields in the app's data.

Name: John Smith. Birth Year: A.D. 1 [Customer is a Senior: 2,024 years old]

Name: John Smith. Birth year: A.D. 19 [Customer is a Senior: 2,006 years old]

Name: John Smith. Birth year: A.D. 199 [Customer is a Senior: 1,826 years old]

Name: John Smith. Birth year: 1997
by nezhar | 2025-10-13 21:55:32+00:00
Author here. This release adds two features I've found useful for understanding Claude Code behavior:

1. API Proxy - Transparently logs all interactions with the Anthropic API. Every request/response is captured without modifying Claude Code itself.

2. Datasette Integration - Lets you query and visualize the captured API data with SQL. Useful for tracking token usage, analyzing prompt patterns, or debugging unexpected behavior.

The container itself provides isolation from the host system while maintaining persistent credentials and workspace access via bind mounts.

Happy to answer questions about the implementation or use cases.
by oblio | 2025-10-13 21:55:58+00:00
Awesome approach.

I'm all for abolishing IP if all AIs are owned communally. I.e. ideally they're utilities or flat out co-ops like some Spanish businesses.

https://en.wikipedia.org/wiki/Mondragon_Corporation

Consum (Spanish supermarket).

They don't get to use everything communally and then capitalism their way forward.
by lunias | 2025-10-13 21:56:02+00:00
Here is something I find quite funny, when I search multithreading vs multiprocessing on google I get the following AI response:

[Multithreading] Cons: A single thread crash can bring down the entire process. Not ideal for CPU-bound tasks on a single core due to limitations like Python's Global Interpreter Lock (GIL)

So, it assumes that I'm using Python... and that's why threads are not preferable... got it.
by DaveZale | 2025-10-13 21:56:12+00:00
Magnesium (Mg²+), the natural NMDA channel blocker, has an apparent dissociation constant (Ka/Ki) of roughly 2-3 mM (2,000,000-3,000,000 nM), making memantine ~1000x stronger at NMDA than Mg2+.

Magnesium sure wears a lot of hats in our biochemistry. It's also weakly active on our benzodiazepine receptors. And involved in dozens more areas, or more
by zamadatix | 2025-10-13 21:56:33+00:00
I also avoid spending much (if any) time listening to the radio/podcasts/etc these days for the same reasons.

> Negative measures such as clearing history, putting dislikes and using "not recommend" just doesn't work because from my experience the only negative metrics which works is just refusing to watch shite.

Clearing history certainly works, just make sure there is absolutely not a single unwanted video in your history or the algorithm will go on a tirade thinking "I REALLY bet I can get this person interested in Lego videos because they watched one 4 weeks ago and I have a ton of Lego content they've not even touched yet". The instant you clear the final offender the recommendations change like night/day.

I'm not sure dislikes/"Not interested" actually do anything. "Don't recommend channel" also definitely works, though there may be a limit to how long they are saved and it's better to just aim the algorithm.

The only thing the algorithm is really good for is finding videos it thinks will suck up your time. The curation is ultimately down to how much work you put into it, which isn't all that unique to YouTube. Putting similar effort into curating any large body of content will also get you more content than you have time to consume, but still doesn't help you actually gain much from engaging with it anyways.
by vivalahn | 2025-10-13 21:57:28+00:00
I looked at the Jeep awhile back but their safety ratings were absolutely terrible. I’ve been in car accidents aplenty so that was a deal breaker for me. Just about the only real electronic thing in my Lexus is an ECU which rarely goes and can be replaced relatively easily . Forget updating the maps and other nonsense. Just drive the damn thing and do mechanical maintenance and a little grease.