MurphyA/hacker-news huggingface dataset:
by thaumasiotes | 2025-11-16 01:30:39+00:00
> While not an outright flaw, I also think it has become clear by now that it is highly suboptimal for "address" and "port" to be separate notions.

If we fixed that issue, what would be different? The operating system still needs to assign different addresses to different sockets. So now... we have 48-bit addresses, and instead of reserving one "address" and giving each socket a 16-bit port, we reserve a /32 block of 65536 addresses and give each socket its own address with a unique 16-bit suffix?
by rsync | 2025-11-16 01:31:30+00:00
I don't know if "tech capitalists" care about humans or not but I am certain that we should behave as if they do not.

I include myself in that.

I hope people find value in the things I have built and I assume that my literal skin in the game, in the form of my children and eventual grandchildren, will allow others to identify aligned interests ...

... but don't let your guard down just because that one guy did some nice things.
by alksdjf89243 | 2025-11-16 01:33:57+00:00
Wealth means you don't pay taxes. You don't pay fines. You don't go to jail.

otherwise, there's no value in wealth and no one would do the things necessary to get and keep it.

But we need people to want to get and keep it so we can incentivize people to work, otherwise, there's no reason to work.

Because there is no reason to work people just don't know that.
by HarHarVeryFunny | 2025-11-16 01:34:07+00:00
> And there's something there that the looking is of or like, if that makes sense

I think I know what you mean, but if you consider something really simple like the patch of a single color, even without any color associations (although presumably they are always there subconsciously) then isn't the experience just of "a surface attribute, of given spatial extent". There is something there, that is the same in that spatial region, but different elsewhere.

At least, that's how it seems to me, and isn't that exactly how the quale of a color has to be - that is the essence of it ?!
by majormajor | 2025-11-16 01:34:18+00:00
The issue with batteries on older iPhones isn't even replacing the battery. Apple will do it for like $80 bucks or so out of warranty. That's WAY cheaper than a new phone.

But every new OS version manages to use more CPU and GPU and burn down that battery faster even if it's brand new, since the older chips have to work harder to run them than they had to work to run the older OSes.

I replaced my battery which was showing around 83% of original capacity last year, in a 3-4 year old phone. I was skeptical of the 83% reported number. Nope. The new battery didn't last much longer, nowhere close to how long it lasted on the OS it shipped with.

(This software-cpu-bloat is not unique to Apple. My Pixel, after 4 years or so, was practically unusable just from the amount of background shit the CPU was doing, compared to when it was new.)
by siliconc0w | 2025-11-16 01:36:38+00:00
Elon Musk gleefully presided over the destruction of USAID which is estimated to kill 14,051,750 including 4,537,157 children by 2030. (https://www.thelancet.com/journals/lancet/article/PIIS0140-6...)

No matter what his companies builds or accomplishes, those numbers are his legacy.
by yunnpp | 2025-11-16 01:37:25+00:00
Yeah, comments like these really make you question the authors' background in optimization. Never mind that AMD actually publishes ISA specs for all of their graphics IPs -- it is not their point that you don't understand it -- what's holding GPU programming back is often that the underlying assembly primitives are not exposed in the high level languages.

I also do wonder what 'raw assembly' is supposed to be. Is it like sushi? Perhaps it is left as future work in the paper for the authors to answer.
by majormajor | 2025-11-16 01:37:48+00:00
> How many people can name the chairman of the board at Apple today off the top of their head (Arthur Levinson)? And how much does Arthur Levinson steer the broader direction of the company? That's just not what the role is about.

Jobs in that role would likely take a much more occasionally-active role w.r.t. future product direction since that was kind of his bread-and-butter and the company was his long-time passion project. Not because that's the regular purpose of that role, but because that's what he'd probably want to keep doing.
by topato | 2025-11-16 01:38:58+00:00
Its scary how many things Trump says, claims that are roughly equivalent to, "1 + 2 = 4", which people just eat up as truth!

It feels like all the deficets in our education system (going back decades) are finally coming to roost... so many people lack critical thinking skills and media savvy/awareness. I think its too late to fix it, now that a sufficient majority of people are susceptible to this deception, and a sufficient chunk of politicians are willing to deceive them... there is too much motivation to keep them dumb. The hatred towards the "Intellectual Elite" is scary, and really is reminicent of Pol Pot.
by Animats | 2025-11-16 01:39:22+00:00
> I still find it baffling that Trump managed to convince people that, somehow, "China" is paying these tariffs, despite the fact that that makes no fucking sense.

Right. In one forum where someone said that, I posted a U.S. Customs and Border Protection tariff bill. There really is a tax bill, and it has to be paid before you get the stuff.

Usually, there are customs brokers, and shippers acting as customs brokers, to buffer the end user from dealing with CBP directly on small shipments. You still pay.
by tombert | 2025-11-16 01:39:42+00:00
"Composition" is a word that can mean several things, and without having read the original source I never really understood which version they mean. As a rule, I've always viewed "composition" as "gluing together things that don't know necessarily know about each other", and that definition works well enough, but that doesn't necessarily eliminate inheritance.

So then I start thinking in less-useful, more abstract definitions, like "inheritance is vertical, composition is horizontal", but of course that doesn't really mean anything.

And at some point, it seems like I just end up defining "composition" to mean "gluing together in a way that's not inheritance". Again, not really a useful definition.
by bitwize | 2025-11-16 01:40:43+00:00
Except that Smalltalk is so aggressively duck-typed that inheritance is not particularly first class except as an easy way to build derived classes using base classes as a template. When it comes to actually working with objects, the protocol they follow (roughly: the informally specified API they implement) is paramount, and compositional techniques have been a part of Smalltalk best practice since forever ago (something it took C++ and Java devs decades to understand). This allows you to abuse the snotdoodles out of the doesNotUnderstand: operator to delegate received messages to another object or other objects; and also the become: operator to substitute one object for another, even if they lie worlds apart on the class-hierarchy tree, usually without the caller knowing the switch has taken place. As long as they respond to the expected messages in the right way, it all adds up the same both ways.
by majormajor | 2025-11-16 01:44:22+00:00
Why not? Other than "because they're old"?

Tiger and Snow Leopard in particular were very solid releases.

Heck, the aluminum Macbooks from that era are still the foundation of Apple's laptop design. And they didn't have the butterfly keyboard fiasco!

But this is a bit of a irrelevant distraction. Apple under Jobs wasn't loved for quality of hardware, it was loved for telling a better story of progress of personal computing. From the iMac "make it simpler by going back to basics, but future-looking basics" to "easier to manage, funner to use music players" through showing how smartphones and then tablets could be far more functional and usable than MS', Palm's, or Nokia's visions. The watch is the next best category-definer since then, and the iCloud cross-device stuff generally feels better-done than competitors still, but otherwise... refine, refine, refine, and slowly add more ads and upsells. Microsoft or anyone else could run that playbook, in a way that they never could match the Apple playbook from 1997 to 2011.

(One side question here is "are there new segments out there waiting to be invented?" which I don't know the answer to. But even so, "becoming just another upsell-pushing, ad-driven, software-subscription-service provider" wasn't a necessary path.)
by blaufast | 2025-11-16 01:45:42+00:00
Almost every top comment is negative. This negativity about apple has existed since the 90s.

Apple has been the most profitable example of betting against the herd for the last 20 years. And possibly the easiest if you’re willing to look at the world plainly. I’m glad to see the herd hasn’t changed and I have plenty of gains left.
by embedding-shape | 2025-11-16 01:45:52+00:00
> For productivity you can check Phoronix or even the GeekBench details in the compiler section

I guess the reason people prefer something like cpubenchmark, is because it seems way easier to get an overview / see data in aggregate. GeekBench (https://browser.geekbench.com/v6/cpu/multicore) for example just puts a list of all benchmarks, even when the CPU is the same. Not exactly conductive for finding the right CPU.
by amelius | 2025-11-16 01:46:39+00:00
With Woz:

- Apple M-series CPUs become fully documented

- iOS is ditched. iPhones and MacBooks now run the same OS

- no developer fees

- fixed price to have an app in the App store

- App store and content filters become orthogonal. Anyone can start an app store. Anyone can make content filters.

- Apple starts releasing stuff for the maker-community such as Apple 3D printers
by calvinmorrison | 2025-11-16 01:47:55+00:00
a purported niche/low-volume electronics, but the profit is somehow dependent on BOM price? a tariff bump on a small BOM doesn’t take you from profitable to homeless.

if that happened, the business already had seriously bad margins, bad cash flow, over-leverage, or maybe he was just doing it out of love getting paid maybe back for his time or not.

tariffs might’ve hurt, but they don’t collapse a healthy niche hardware company where buyers are presumably also into the niche.

seems weird i dont get it. can you explain further?
by gibbitz | 2025-11-16 01:48:21+00:00
What's really messed up about this is that as designers of what AGI even means, these mostly self-taught or otherwise non-scientific clowns who think that being rich makes them smart will create the post-human life forms they think will outlive humanity. The problem is it will be inadequate like most of their products and we'll all die for nothing.

I've been thinking that industrialization at the end of the enlightenment was not the conclusion of the enlightenment but a stifling that led back into a new dark age where we replaced God and the church with money and business. I only hope we can recognize the system has supplanted the people again.
by 65 | 2025-11-16 01:48:22+00:00
I've written SSR SPA frameworks with basic DOM "morphing" - e.g. I need to keep a sidebar from changing the HTML content/state when you click on a link, and I've always found advanced DOM morphing to be sketchy/bug prone and unnecessary.

The way I do it is to update everything _except_ for the DOM nodes that need to be excluded (via data attributes), e.g. the sidebar or a video player. I have found no problems with this approach as I maintain state since the JS is already running before clicking a link, and everything else is updated.

I think this is for if you absolutely have to SSR your markup at all times (e.g. using HTMX), but with something like Alpine.js and using <template> elements, there is no reason to DOM morph.

And like you say, if you need to use crazy advanced DOM morphing, you should probably be using a client side framework anyway. If not, I've gotten away with some very tricky state updates with just Alpine.js.
by HeinzStuckeIt | 2025-11-16 01:48:48+00:00
If true, it makes the magazine come out even worse. The Haitian Revolution was followed within a year by the massacre of most of the European population, a few selected demographics aside.[0] This was already well known down the long decades to that 1938 book and today. So, the mag closed its eyes to a reign of terror no better than the 1789 French revolution.

As for the controversy of Jacobin ideologically, the magazine typically takes a Marxist standpoint, but not all leftist schools of thought are Marxist.

[0] https://en.wikipedia.org/wiki/1804_Haitian_massacre
by axiolite | 2025-11-16 01:49:43+00:00
> Knowingly downloading CSAM is very likely illegal.

Put CSAM in a banner ad, and arrest everyone who was served that ad?

Post a CSAM photo behind plexiglass on a wall in a public space, and arrest everyone who walks by and glanced at it?

Just how stupid do you think lawmakers, judges, prosecutors, and police are? People get arrested for paying for, or sharing CSAM, not just stumbling on a website that might have something questionable. It is illegal to possess, but just loading a website is hardly possession... If it was, all of Facebook and Google's content moderators would be facing life-sentences.
by jltsiren | 2025-11-16 01:50:04+00:00
By becoming wealthy later than European countries.

Shipyards are long-term investments. It makes sense to build them when you have the expertise and labor costs are in your favor. But once you have built them, they are a sunk cost. You can remain competitive against countries with cheaper labor for decades.

Globalization and the growth of international trade also helped. China built new shipyards, but the demand for new ships also grew, keeping Korean and Japanese shipyards in business. Meanwhile, the wage gap is gradually getting narrower.
by superkuh | 2025-11-16 01:50:09+00:00
I thought this was cool because it worked even in my old browser. So cool I went to add their RSS feed to my feed reader. But then my feed reader got blocked by the system. So now it doesn't seem so cool.

If the site author reads this: make an exception for https://www.owl.is/blogg/index.xml

This is a common mistake and the author is in good company. Science.org once blocked all of their hosted blogs' feeds for 3 months when they deployed a default cloudflare setup across all their sites.
by fragmede | 2025-11-16 01:51:28+00:00
my imagined device has the hand a bit more vertical, which would give more leverage for moving the device around.

Could you do a thing with magnets where you have a special mousepad as well with the pad being all one pole pointing up and the device the same pole pointing down?

Also my imagined device would not need the full keyboard, just the full right side of a qwerty keyboard.
by hopelite | 2025-11-16 01:51:58+00:00
Like a genocide? Or maybe various statements of politicians and events around and related to Ukraine, elections, Epstein, and any number of hot button topics, especially as the writing is on the wall that populations all around the West are starting to get extremely fed up?

I know for a fact that political classes of several European countries have started openly talking about destroying evidence if they lose power and America just declared Antifa a terrorist organization; that all seems to be a plausible motivation.
by eqvinox | 2025-11-16 01:52:27+00:00
In Germany, you can pre-register with DHL Express¹ with a bank account and optionally an EORI (Economic operators registration and identification) number, and then they immediately ding your bank account instead of providing their "disbursement service" where they 'benevolently' loan the customs fee to you for a 'minor' fee. I've not found similar options elsewhere, though I would assume they exist but might be corporate-only.

¹ annoyingly enough this doesn't even work with DHL, which is a separate thing from DHL Express in Germany.
by jerf | 2025-11-16 01:53:48+00:00
No, because the LSP is specifically about inheritance, or subtyping more generally. No inheritance/subtyping, no LSP.

It is true that an interface defines certain requirements of things that claim to implement it, but merely having an interface lacks the critical essence of the LSP. The LSP is not merely a banal statement that "a thing that claims to implement an interface ought to actually implement it". It is richer and more subtle than that, though perhaps from an academic perspective, still fairly basic. In the real world a lot of code technically violates it in one way or another, though.
by crystal_revenge | 2025-11-16 01:55:34+00:00
I find the Monoid/Semigroup typeclass pretty concisely captures what is generally meant by "composition" in the minimal sense.

> As a rule, I've always viewed "composition" as "gluing together things that don't know necessarily know about each other"

The extension to this definition given the context of Monoids would be "combining two things of the same type such that they produce a new thing of the same type". The most trivial example of this is adding integers, but a more practical example is function composition where two functions can be combined to create a new function. You can also think of an abstraction that let's you combine two web components to create a new one, combining two AI agents to make a new one, etc.

> "inheritance is vertical, composition is horizontal", but of course that doesn't really mean anything.

This can actually be clearly defined, what you're hinting at is the distinction between sum types and product types. The latter of which describes inheritance. The problem with restricting yourself to only product types is that you can only add things to an existing thing, but in real life that rarely makes sense, and you will find yourself backed into a corner. Sum types let you have much more flexibility, which in turn make it easier to implement truly composable systems.
by mekoka | 2025-11-16 01:58:40+00:00
Inheritance being "sane" in Python is a red herring for which many smart people have fallen (e.g. https://www.youtube.com/watch?v=EiOglTERPEo). It's like saying that building a castle with sand is not a very good idea because first, it's going to be very difficult to extract pebbles (the technical difficulty) and also, it's generally been found to be a complicated and tedious material to work with and maintain. Then someone discovers a way to extract the pebbles. Now we have a whole bunch of castles sprouting that are really difficult to maintain.
by flexagoon | 2025-11-16 01:59:13+00:00
Have you tried AmneziaWG? From what I know, it's specifically designed to bypass protocol-level blocking of WireGuard

> decent VPN providers

You'd be surprised by the amount of people I know who use random "VPN services" which are literally just WireGuard configs you can buy through a Telegram bot for like 100₽/month
by realitydrift | 2025-11-16 01:59:25+00:00
Half the struggle is that all the meta actions around doing the thing create a kind of synthetic realness. It feels like progress, but it’s just noise. When the Reality Drift Equation tilts toward excess entropy, your brain mistakes preparation loops for actual work and you end up in identity drift instead of momentum. The only way out is collapsing the loop by acting, not optimizing the wrapper around the action.
by BoiledCabbage | 2025-11-16 02:01:04+00:00
> In my mind, the line for middle class is how long you can pay your bills at without working. If you've got enough money that the answer is a while, then you're rich. If you have so much that you're able to fund other people's dreams, then you're wealthy.

If someone has a $10M/yr salary, but chose to buy a mansion and their income can only cover their bills for a few months they are still "rich" (using your term). Or "upper income" / "not middle-class" using more standard terms. I mean it's great you have your own definition, but that doesn't really make it apply generally.
by axiolite | 2025-11-16 02:02:06+00:00
Yeah, I noped-out when I saw eBay's writeup on tariffs owed by the buyer (not paid by the seller):

"Shipping carriers or US Customs usually charge $5–$30 in processing fees. Add the item price, import fees, and processing fees to estimate your final cost."

https://pages.ebay.com/tariffs/

Not something I'm doing for a $5 item... I'll sit back and wait until the Supreme Court finds the tariffs are illegal, and the Fed has to pay every cent back to the businesses, suddenly sending the US spiraling into the biggest budget deficit in history.
by jankcorn | 2025-11-16 02:02:31+00:00
I usually think of the ideas behind "composition" as "how do I assist a future developer to replace the current (exported) implementation of a type with a new one by restricting external visibility of its internal implementation through the use of private methods and data".

In "inheritance", it often feels like the programmer's mindset is static, along the lines of "here is a deep relationship that I discovered between 2 seemingly unrelated types", which ends up being frozen in time. For example, a later developer might want to make a subtle innovation to the base type; it can be quite frightening to see how this flows though the "derived" types without any explicit indiction.

Of course, YMMV, but I think of "composition" as "support change" and "inheritance" as "we found the 'correct way to think about this' and changes can be quite difficult".

Since I think that the key to building large systems handling complex requirements is 'how do we support disciplined change in the future' (empowering intellectual contributions by later generations of developers rather than just drudge maintenance).
by vunderba | 2025-11-16 02:03:07+00:00
> We care deeply about developers. We know we have work to do on the experience, both on the everyday usability, from inconsistent dialogs to power user experiences.

With respect, that's a load of horse crap. This is NOT why so many of your users are upset. They're angry because you've exhibited a long, deliberate pattern of historical abuse: upgrade-style dark patterns, invasive telemetry, advertisements built into Windows, and outright hostility toward users who want to own their OS rather than the other way around. God damn.
by oojuliuso | 2025-11-16 02:03:34+00:00
I think Cook left easy money on the table by not competing against NVIDIA. They could've tested the waters by loading up Apple Silicon on PCIe riser cards, maturing the toolkit for AI workloads, and selling them at competitive prices. Yes I know they're in the business of making entire widgets, but it would've been easy money. The hardware and software stacks are there. Unlimited upside with nearly zero downside risk.
by ofalkaed | 2025-11-16 02:04:57+00:00
Disclaimer: Internet is not working well for me tonight so I could not watch the video.

C3 seems to be building on the faults of C and not fixing much, but maybe I just drank the the Zig Kool-aid? Giving it a quick look, it really seems like C3 is increasing C's abilities for ambiguity and obfuscation with things like operator overloading and C's pointers. Can anyone fill me in here? Google searches fail when looking for C/C3/Zig comparisons, thinks I meant C# and failed on the key combo. Any good sources on the topic would be appreciated.
by hansvm | 2025-11-16 02:05:08+00:00
"Gluing together in a way that's not inheritance" is useful enough by itself. Most class hierarchies are wrong, and even when they're right people tend to implement th latest and greatest feature by mucking with the hierarchy in a way which generates wrongness, mostly because it's substantially easier, given a hierarchy, to implement the feature that way. Inheritance as a way of sharing code is dangerous.

The thing composition does differently is to prevent the effects of the software you're depending on from bleeding further downstream and to make it more explicit which features of the code you're using you actually care about.

Inheritance has a place, but IME that place is far from any code I'm going to be shackled to maintaining. It's a sometimes-necessary evil rather than a go-to pattern (or, in some people's books, that would make it a pattern like "go-to").