MurphyA/hacker-news huggingface dataset:
by mananaysiempre | 2025-10-05 04:24:32+00:00
This one has a lead acid battery in it (I’m guessing a sealed one), which I don’t expect to enhance its lap-friendliness.

What somewhat puzzles me about these early portables (also including e.g. the Macintosh Portable, sold 1989–1991, in a similar form factor) is the manufacturers’ insistence on putting a (heavy) mains transformer inside the chassis. That could not have helped the weight, so I have to guess they didn’t see it as a problem?..
by chatmasta | 2025-10-05 04:24:35+00:00
Maybe, but any reasonable person would expect some clear, explicit notice of when that would happen. Until they “give me that period of time,” I have no reason to disable the safety feature that I won’t be able to re-enable…

And disabling your iCloud Account doesn’t mean that they would stop you from disabling ADP. It would probably be a red icon in settings that says “iCloud sync is paused, disable Advanced Data Protection to resume.”

(But I’m not sure I’m even subject to this, which is why I asked my original question… what’s a “UK user?” I have the US App Store active right now. I can switch to the UK store but that cancels all subscriptions, presumably including Apple Care+, which I could not re-purchase without buying a new device.)
by ok123456 | 2025-10-05 04:27:23+00:00
Can regular expressions parse XML: No.

Can regular expressions parse the subset of XML that I need to pull something out of a document: Maybe.

We have enough library "ergonomics" now that it's not any more difficult to use a regex vs a full XML parser now in dynlangs. Back when this wasn't the case, it really did mean the differnce between a one or two line solution, and about 300 lines of SAX boiler-pate.
by omoikane | 2025-10-05 04:28:01+00:00
There is a bug in this example:

char ch; while ((ch = fgetc(in)) != EOF) { fputc(ch, out); }

https://little-book-of.github.io/c/books/en-US/book.html#exa...

The return type of fgetc() is `int` and not `char`. This example will not differentiate between end-of-file in input versus reading 0xff. 82.7 appears to be the only example with this issue, all other places with fgetc correctly uses `int`.

----

I found another section with lots of syntax errors, for example:

int x = 10; int *p = &x; int pp = &p; // Should be int **pp

https://little-book-of.github.io/c/books/en-US/book.html#add...

Most likely because the two asterisks needed for pointer-to-pointer isn't rendering properly.
by nebula8804 | 2025-10-05 04:28:30+00:00
I recently became addicted to the SpaceSimsx and SimulaVerse. My takeaway is that so many just slight deviations can extinguish life on earth. I used to think of possibility of life in other worlds just in the lens of statistics. There are so many combinations and possibilities that it seems inevitable. But seeing just how perfectly aligned our solar system is makes me really reduce the probable number of chances of other habitable scenarios in my mind.

These channels helped me realize just how important all the planets in the solar system are to our continued existence. Its as if we have an entire family thats just perfect to make our existence possible. An entire family each one quietly doing their part without fanfare or credit.

What if we had 2 moons with half the mass?: Destruction [0]: https://www.youtube.com/shorts/v3xxaTkKGTQ

What if we moved Earth 5% further from the Sun?: Destruction [1]: https://www.youtube.com/shorts/g-na5x0Kldk

What if we dimmed the Sun by 1%: Destruction [2]: https://www.youtube.com/shorts/Cc3DRRJxhB8

What If We Delete the Biggest Planet from Our Solar System?: Destruction [3]: https://www.youtube.com/watch?v=kHJpIWoksKw

What If We Delete All Gas Giants Except Jupiter?: You guessed it...Destruction [4]: https://www.youtube.com/watch?v=Eg9fPNg00EE
by defanor | 2025-10-05 04:29:37+00:00
FWIW, some of the things I configure differently:

- More of anti-UCE, with postscreen (greylisting, DNSBL and DNSWL checks), policyd-spf, body_checks, check_sender_access, check_client_access, postscreen_access_list.

- Setting "home_mailbox = Maildir/", to keep mail in user directories and in the Maildir format (which seems to be less prone to corruption than mbox is, and well-supported by MUAs).

- Leaving TLS defaults, except for the paths. I used to set mandatory TLS, but then ran into some servers not using it, and figured that I do not trust the involved servers more than channels between them anyway (especially the servers that do not support TLS). Being overly strict with allowed protocol versions (or even ciphers) also reduces compatibility, while for encryption it is better to rely on OpenPGP.

- I do set Dovecot (for both IMAP and SMTP submission); the recent configuration change did not seem like a big deal to me, and it was documented, so I found it easy to update. It is nice to be able to use email from a server (and that ability does not go away with Dovecot), but a local MUA also has its advantages.

- Registered at dnswl.org, to improve deliverability in some cases.
by kazinator | 2025-10-05 04:30:43+00:00
In the interior of a sphere of uniform density, the gravitational strength is proportional to the radius, exactly like Hooke's law for an ideal spring. That's why the object in the bore hole undergoes harmonic motion.

Why is the graviational strength proportional to the radius?

Firstly, you have to know that the field strength is zero inside a hollow sphere. This is part of that shell theorem.

So for a point at a given depth inside the sphere, we can divide the sphere into a hollow sphere consisting of everything less deep, and a solid sphere consisting of everything deeper. Only the deeper sphere matters; we can ignore the hollow sphere.

So as we progress toward the centre, the attraction is due to a smaller and smaller sphere, whose mass is proportional to r^3. The radius is shrinking though, which has the effect of increasing gravity: the gravitational field strength is proportional to 1/r^2. Wen we combine these factors, we get r.
by red369 | 2025-10-05 04:30:53+00:00
In the US, Apple still release refurbished iPhone 13 Minis every now and again. In case you haven't heard, I believe they are new battery, new screen, new case. Basically a new phone, but with a plain white box. There are sites that allow you to receive notifications when they are available again. Apple may have finally stopped selling the 13 Mini - I don't follow it anymore. For a while, I keen enough to get one, I was going to use a freight-forwarder to ship one from the US, but they didn't come up while I was waiting and when my phone died, I was in a hurry so I bough a used iPhone 13 mini instead of waiting.

6 months ago, I submitted to HN thinking it would be helpful to the people holding out for one. The submission was flagged, so I haven't tried again - I suppose it just seemed like advertising. https://news.ycombinator.com/item?id=43337518

If you're outside the US, it's a lot harder to get hold of those Apple refurbished phones. Actually, I heard something I found interesting when I was buying a different phone in one of the shops that refurbish themselves. They had an Apple-refurbished iPhone 11 - basically a new iPhone 11, around a year ago! The person at the shop said that when the devices get really old, Apple start selling their refurbished phones to those kind of shops, instead of selling them on their own website.

They thought it would be a year or two before iPhone 13s turned up that route. I don't know much about how accurate any of that was, but I've always wanted to buy a refurbished phone from Apple so I found it interesting.
by defrost | 2025-10-05 04:30:57+00:00
New account, two rapid fire submissions to same blog: https://news.ycombinator.com/submitted?id=MarryJames

Please don't use HN primarily for promotion. It's ok to post your own stuff part of the time, but the primary use of the site should be for curiosity.

~ https://news.ycombinator.com/newsguidelines.html
by brandnewlow | 2025-10-05 04:31:40+00:00
This movie was great. If you liked thoughtful almost-action movies No Country for Old Men or even something like The Fugitive, you’ll enjoy this. There are cinematic set pieces as beautiful as anything I’ve seen in years (the rooftop sequence!) the acting is stellar throughout, and the finale gives an original take on one of the most common film plot devices of all time.

The film’s politics are very progressive/liberal so I can imagine that deterring some viewers but PTA adds a lot of nuance and subversion throughout that make it more of an examination of radicalism than a straight trumpeting of it. As mentioned in another comment the radical characters often disagree and are shown taking very different strategies that then produce very different outcomes.
by missingrib | 2025-10-05 04:32:00+00:00
This is relatable, mine is somewhat similar. It feels like a very specific version of performance anxiety that unfortunately affects the most banal social interactions. It is obviously multiplied tenfold when I'm in a situation where there are actual stakes (an interview, a first date, etc), but it still applies if I am just talking to a friend of a friend at a party that I don't know very well. The stakes feel very high to me because it's our first time talking.

It's less that I need them to like me or fear being disliked and more that I am just way too conscious of the stakes and the social interaction that's happening, which causes my brain to sort of freeze up. It feels like when I used to play tennis in high school. I'd do great at practice, then freeze up and barely remember how to hit the ball in games because the stakes on each point felt so high.

If I'm around some good friends it completely goes away. If I have hung around the person enough (even without directly talking to them), it goes away. I've also had random days where I don't feel the performance anxiety and performed really well in those situations (and coincidentally some of those days I'd meet a new group of friends or a girlfriend). It's extremely frustrating. Xanax makes the performance anxiety go away completely but slows me down cognitively so I become much less witty and interesting to talk to.
by rmoriz | 2025-10-05 04:32:18+00:00
Mastodon never had a good amount of orginal content to explore, only very few creators produced and shared. Topics I followed were mainly infosec, programming, biking but content and interaction faded dramatically over the last 6 months. You won’t get anything back, no reach, no constructive feedback, no real life contacts. Twitter was a place to get inspired and learn new things, find OC memes, code snippets, niche insight, etc. Mastodon lately just went full anticapitalist, anti-tech, anti AI. Nothing insightful. Irrationality. Depression. Reddit is still a better place to discover and discuss things, if you find active subs covering a topic.
by WalterBright | 2025-10-05 04:35:11+00:00
Businesses do tend to fail eventually. Their business model become obsolete, the market for their product fades away, they strangle themselves with bureaucracy, they zig instead of zag. That isn't short-term-itis.

But you cannot grow a small company into a large one by concentrating on short term profits. The S&P 500 is composed of 500 large companies.

Imagine if you were selling MSFT short every quarter since they IPO'd in the '80s.
by alganet | 2025-10-05 04:35:15+00:00
No, there aren't.

There is open source training and inference software. And there are open weights.

Those things are not enough to reproduce the training.

Even if you had the hardware, you would not be able to recreate llama (for example) because you don't know what data went into the training.

That's a very weird library. You can get their summaries, but you don't have access to the original works used when creating it. Sounds terrible, open source or not.
by zeroq | 2025-10-05 04:35:54+00:00
"At this point I think I know more about manufacturing than anyone currently alive on Earth."

It's that dumbass at your work who thinks that solely because he landed a job that pays him more than their parents ever made combined in his early 20s he can school everyone on every topic imaginable, from nutrition to religion.

Him and Elon makes way more than that dumbass so ego get inflated even more.

I don't especially like Tucker Carlson, but I think the more screen time we'll give to this people with an open mic it's better for everyone to have a first hand experience of how detached from reality these people are.
by runarberg | 2025-10-05 04:37:28+00:00
My speculation is that the size of space is an obvious geometric constraint which will limit the span of any civilizations almost immediately.

If we look at humans, we have both the space, technology, and the resources to expand even further on earth, yet our span only marginally larger then it was 10 000 years ago. We can have permanent settlements on Antarctica, floating on the ocean, etc. but we don’t. We can increase our population by another order of magnitude, but again, it looks like we won’t. This follows the same population dynamics as most other species on earth. I think aliens will be no different.
by flare_blitz | 2025-10-05 04:37:38+00:00
I would suggest reading this blog post from Meta, which should resolve your concerns: https://engineering.fb.com/2024/01/18/developer-tools/lazy-i...

Regarding risks in practice:

> Libraries such as PyTorch, Numba, NumPy, and SciPy, among others, did not seamlessly align with the deferred module loading approach. These libraries often rely on import side effects and other patterns that do not play well with Lazy Imports. The order in which Python imports could change or be postponed, often led to side effects failing to register classes, functions, and operations correctly. This required painstaking troubleshooting to identify and address import cycles and discrepancies.

This isn't precisely the scenario I described above, but it is a concrete example of how deferred imports can cause issues that are difficult to debug.

Regarding performance benefits:

> At Meta, the quest for faster model training has yielded an exciting milestone: the adoption of Lazy Imports and the Python Cinder runtime. ... we’ve been able to significantly improve our model training times, as well as our overall developer experience (DevX) by adopting Lazy Imports and the Python Cinder runtime.
by rich_sasha | 2025-10-05 04:39:46+00:00
Ok fine, companies have a duty to their shareholders to do as they are told, within relevant laws, which usually means maximising profits over some timeframe. Screwing your clients usually hurts long term profits so companies don't always do it.

In what way are shareholders not business owners? They control, via boards, what the company does, and have exclusive access to the profits. These can even be clawed back, in certain situations, if the company then goes bankrupt - i.e. shareholders aren't just paid spectators, they bear responsibility for the business.

So how are they not owners?
by Joel_Mckay | 2025-10-05 04:40:06+00:00
Indeed, the USB standards body prevented allocated company VID reuse, and thus greatly simplified identifying the correct hardware. There is also additional generic information like company name (often Trademarked) or serial number that may be queried from many devices as well.

If it were free or cheap, than people would have just started another domain squatting business. That could have been far worse. =3
by visarga | 2025-10-05 04:40:21+00:00
> That's when A.I. starts advancing itself and needs humans in the loop no more.

You got to put the environment back in the loop though, it needs a source of discovery and validity feedback for ideas. For math and code is easy, for self driving cars doable but not easy, for business ideas - how would we test them without wasting money? It varies field by field, some allow automated testing, others are slow, expensive and rate limited to test.
by solatic | 2025-10-05 04:41:39+00:00
> DID is resolved to hosting

Yes, via DNS, of which you have lost control if you use did:web, unless you decide to have your did:web links resolve to a secondary domain under a separate TLD, registrar, and payment method, which only the most paranoid individuals will accept the overhead of doing.

Because you lost control of DNS, the new domain controller may decide to take those DIDs offline, or direct them to a different server for which the domain controller will receive a valid web PKI cert from the likes of Let's Encrypt since domain control is used to determine ownership. This will break pre-existing links.

Your claims are true only when using did:plc, under which your identity is ultimately controlled by a third party, with associated risks, see original post. Yes, domain control is also controlled by third parties (either the TLD owner or a registrar could steal your domain), and there's a good-faith debate to be had over which is safer, which is why the reigning advice is to use a neutral TLD and boring registrar with a good reputation.

Wait until the Chinese, etc. start to come in and threaten to start to block ATProto-based social sites en-masse (Bluesky in particular but other ones as well) until plc.directory takes down the DID links to dissident content, then we'll see how small the risks of did:plc really are.
by kazinator | 2025-10-05 04:41:43+00:00
Although a regular expression cannot recognize recursive grammars, regular expressions are involved in parsing algorithms. For instance, in LALR(1), the pattern matching is a combination of a regex and the parsing stack.

If we have a regex matcher for strings, we can use it iteratively to decimate recursive structures. For instance, suppose we have a string consisting of nested parentheses (perhaps with stuff between them). We can match all the inner-most parenthesis pairs like (foo) and () with a regular expression which matches the longest sequence between ( and ) not containing (. Having identified these, we can edit the string by removing them, and then repeat:
by tptacek | 2025-10-05 04:42:17+00:00
For the same reason your Toyota Camry doesn't have a roll cage.

I'd use a hybrid if I was designing a system; I am deeply suspicious of all cryptography, and while I don't think Kyber is going to collapse, I wouldn't bet against 10-15 years of periodic new implementation bugs nobody knew to look for.

But I'm cynical about cryptography. It's really clear why people would want a non-hybrid code point.

Let me just say this once as clearly as I can: I sort of don't give a shit about any of this. A pox on all their houses. I think official cryptographic standards are a force for evil. More good is going to be done for the world by systems that implement well enough to become de facto standards. More WireGuards, fewer RFCs. Certainly, I can't possibly give even a millifuck about what NIST wants.

But I also can't be chill about these blog posts Bernstein writes where it's super clear his audience is not his colleagues in cryptography research, but rather a lay audience that just assumes anything he writes must be true and important. It's gross, because you can see the wires he's using to hold these arguments together (yes, even I can see them), and I don't like it when people insult their audiences this way.
by Gud | 2025-10-05 04:43:16+00:00
It’s dirty, extreme class divide , people don’t give a shit, you see young people homeless begging everywhere.

The UK is a dystopian society, an example on what not to do.

I am not from the UK, I just get forced to work there. I’ve been here for 2 out of the last 7 years.

Good music though
by testdelacc1 | 2025-10-05 04:43:40+00:00
I stand corrected. I fear I may lose my $5 now.

If you don’t mind my asking, did TB add support for transaction metadata? I’ve seen this anti-pattern of map<string, string> associated with each transaction. Far from ideal, but useful. Last I checked TB didn’t support that because it would need dynamic memory allocation. Does it support it now or will it in future?
by fooker | 2025-10-05 04:44:03+00:00
Interesting point. I can see this could turn out to be true.

If we needed, for example, 1000 TWH to power AI for a huge drone swarm but could not do it while China could, this would be problematic.

It requires a future where MAD with nuclear weapons is obsolete though, with some futuristic new missile defense tech. I don't see that happening until some currently unknown physics makes it possible.
by fulladder | 2025-10-05 04:45:17+00:00
I'm not affiliated with this company, but I personally believe that not having a website (or any public presence) is the future of our industry. The issue is that any information you put out there can now be used by AI to emulate you. This can be used by competitors to quickly reach feature parity with your product, it can be used by bad actors like scammers, and just generally is harmful to you.

I know it sounds silly but not having a website is probably the future of the web.
by lovelearning | 2025-10-05 04:45:36+00:00
There seems to be an implicit assumption here that Apple and Google managements don't like Trump's ICE policies and are doing all this under duress.

But is this a valid assumption? Or is it mere wishful thinking? If almost half the US population revoted Trump into power, it's logical to assume the same proportions apply to the managements and employees of A and G too.

I'm against granting any management any benefit of the doubt without solid proof they deserve it.
by galaxyLogic | 2025-10-05 04:45:42+00:00
Are our brains "analog"? Or are they in fact "digital"? I would think actually more digital than analog. A synapse triggers or it does not trigger. It either triggers or not, not something in between. In this sense it is 0 or 1.

Similarly transistor-based logic is based on such thresholds, when current or voltage reaches a certain level then a state-transition happens.
by int_19h | 2025-10-05 04:46:18+00:00
The weird thing about "tucking your thumbs" is that you get used to that after a while if you mostly use Apple keyboards, and then you end up trying to do Cmd+C in Windows or Linux.

This is one case where I feel that Apple's take is genuinely more useful for largely historical reasons related to terminals, but at the same time Windows also can't change for legacy reasons of its own, and Apple ends up being this special flower that doesn't work "like most everything else" (i.e. most desktops around - which aren't majority macOS even in countries where it has strong penetration). Basically as soon as you introduce it into the equation, constantly switching back and forth becomes painful.
by vineyardmike | 2025-10-05 04:46:43+00:00
Open source model, created at great expense… by a still small cohort of people.

There are like a dozen organizations globally creating anything close to state of the art models. The fact that you can use some for free on your own hardware doesn’t change that those weights were trained by a small cohort of people, with training data selected by those people, and fine-tuning and “alignment” created by those people.

Sure you can fine-tune the smaller ones yourself, but that still leaves you at the will of original creator.
by visarga | 2025-10-05 04:47:35+00:00
1. If I wanted the "style of Van Gogh" I would simply download Van Gogh, why waste time and money on approximative AI. But if I want something Else, then I can use AI. But Gen AI is really the worst infringement tool, for example would anyone try to read bootleg Harry Potter from a LLM to avoid payment? Don't think so.

2. LLMs will give back what you put in + what they learned, it's your job to put in the original parts. But every so often this interaction will spark some new ideas. The LLM+human team can get where neither of them would get alone, building on each other's ideas.