MurphyA/hacker-news huggingface dataset:
by thomasfromcdnjs | 2025-12-28 01:53:11+00:00
hey hey,

I currently use ai sdk by the vercel team heavily, thought it would be nice to have a registry for all tools as a matter of convenience with a few added goodies. Currently, it is simply an npm mirror where package authors can set a top level property in their package.json called "tpmjs" which flags it to be picked up by tpmjs. Beyond just simply being a directory, I've also added an executor playground which is currently free to use (and open source) which makes it very simple to just add the tpmjs search and execute tool to your agent's which allows them to take advantage of all listed tools without installing any of them locally in your own codebase. (sounds horrible I know but if you play around with the idea enough it could actually make sense if you hosted everything yourself)

if you play around with https://playground.tpmjs.com the thing to note is, is that app does not have any of those tools compiled in, it is using the external executor at runtime. It fetches via esm.sh and runs it inside a sandboxed deno which returns the results to your agent.

currently will be reaching out to tool authors to get their feedback on adding the "tpmjs" property to their package.json

all feedback is welcome
by jordanb | 2025-12-28 01:54:20+00:00
Yeah by the 90s the travel agents had metastasized into a middle man. The airlines saw them as a necessary evil because they made bookings appear automatically in SABRE to fill up their planes without having to do any customer outreach or support.

From the perspective of the customer you were a lamb to the slaughter. They could find you the best option, or they could just sell you the itinerary that made them the biggest commission. Finding an honest travel agent was a bit like finding an honest stock broker or car salesman.

Airlines putting their availability online was easy (it was already digitized) and they didn't really have much reason not to do it. They had little loyalty to the agents, and from their perspective a booking coming through priceline was no different than a booking coming from an agent. Customer satisfaction was higher because the customer felt like they had more control and transparency.
by landosaari | 2025-12-28 01:55:09+00:00
The UAE has a CT (corporate tax) of 9% since 2023 [0, page 8]

This provides an overview [1]

For 2026 "The UAE's tax system is getting stricter. Not in rates. In enforcement." [2]

[0] https://mof.gov.ae/wp-content/uploads/2025/04/Federal-Decree...

[1] https://mof.gov.ae/en/public-finance/tax/corporate-tax/

[2] https://www.kayrouzandassociates.com/insights/uae-tax-change...
by zelphirkalt | 2025-12-28 01:55:23+00:00
Correct. If things are mutable, then in most languages, there can be spooky action at a distance, that mutates some field of some other object or does so indirectly via some calls. This then can change how the thing behaves in other circumstances. This style of programming quickly becomes hard to fully grasp and leads to humans making many mistakes. Avoiding mutation therefore avoids these kinds of faults and mistakes.
by lanfeust6 | 2025-12-28 01:56:43+00:00
> he can have teams of lawyers exploiting their way into not paying taxes faster than the state can patch the laws

This is unsubstantiated.

> avoid antitrust through lobbying

Lobbying does not guarantee any result, it is literally just asking the government for something you want. And, why does Amazon need to be subject to anti-trust? By far their most profitable product is AWS, and it has a ton of competitors.

> How many presidential pardons have been bought so far in the US this term?

This says a lot about Trump, but pardons? That's it?
by cubefox | 2025-12-28 01:57:41+00:00
I think there is a strong case that ADTs (algebraic data types) aren't so great after all. Specifically, the "tagged" unions of ADT languages like Haskell are arguably pretty clearly inferior to the "untagged" unions of TypeScript or Scala 3. Because the latter actually behave like a logical "or" rather than an artificial construct that needs to be wrapped and unwrapped.
by logicprog | 2025-12-28 01:57:46+00:00
Agreed. But I figured that slippery equivocation was obvious: the value provided by the big cloud platforms is an insane amount of engineering and system administration work to provide a reliable and large scale way for people to connect and share data, that's why we all go there, as well as, as you say, advertisements. The idea that any random CS department could replicate the Amazon Marketplace or AWS, or Facebook's infrastructure, is absurd.
by zeroonetwothree | 2025-12-28 01:58:04+00:00
You don’t have to be wealthy to pay to use them, you just have to value the time savings more than others. Imagine a “poor” person late for their job where they will get fired, they might value the lane more than a “rich” person just cruising around for fun. Whereas if it weren’t an option at all the poor person in this scenario loses their job and is strictly worse off.
by only-one1701 | 2025-12-28 01:58:17+00:00
Something I keep thinking about when I consider the trade-offs between building a site with HTML/CSS wherever possible vs JS is what the actual _experience_ of writing and maintaining HTML/CSS is vs JS. JS gets knocked around a bunch compared to "real" languages (although less so in recent years), but at the end of the day, it's a programming language. You can write a loop in it.

Writing a web server in C++ is a way to get excellent performance. So why don't most people do it?
by RijilV | 2025-12-28 01:58:21+00:00
except of course on the wire, where it's wildly a mess.

TLS 1.3 version in the record header is 3.1 (that used by TLS 1.0), and later in the client version is 3.3 (that used by TLS 1.2). Neither is correct, they should be 3.4, or 4.0 or something incrementally larger than 3.1 and 3.3.

This number basically corresponds to the SSL 3.x branch from which TLS descended from. There's a good website which visually explains this:

https://tls13.xargs.org/#client-hello/annotated
by hollow-moe | 2025-12-28 01:59:03+00:00
Soooo, when my email client is text-only and doesn't show me the attachments from the multi-part, it's "actively destroying the Fediverse" ? Ploum doesn't make any sense here. A "platform" such as Mastodon, Pixelfed, Peertube etc. (Do not mistake with "client", there's multiple Peertube "clients" or "frontends" for instance) using ActivityPub shouldn't have to implement and provide the user with the whole spec, otherwise just make the "ActivityPub" platform, implement everything there why even bother making other platforms?
by zelphirkalt | 2025-12-28 02:00:25+00:00
If you have strong types, it is still possible to make a mutable thing, that will be mutated from the other end of the program and that will introduce bugs, that can be hard to find. If you are doing FP on the other hand, at least change always results in new objects, with structural sharing at most. This excludes a whole category of bugs.
by rvz | 2025-12-28 02:00:32+00:00
You should also include Google, Microsoft, Amazon, Meta, OpenAI, IBM, Anthropic, and any tech company that has a defence contract with the US Department of Defence / War and ICE or any government.

Yet the big problem is of course for those being “principled” about this subject are not serious themselves as some either work there and profit from it, continue to use their products including LLMs or will concede to using them due to social inertia.

The only time this is taken seriously is when all these contracts are scrapped. (They won’t be.)
by marstall | 2025-12-28 02:00:36+00:00
>Opus 4.5 has really startled me - it genuinely can do complex software engineering tasks which I'd expect a proficient developer to take hours in minutes with very few defects.

don't use Opus, but I use Sonnet 4.5 and ChatGpt 5.1, which are only a bit down the chart.

in my daily experience, these tools only can help with certain tasks - scaffolding crud, writing tests, explaining how this or that part of the code works, are three that come to mind.

But a mature piece of software has usually graduated to a point that it has numerous subsystems, layers and integrations that crosstalk with each other in often hacky ways. And my work is smack dab inth middle of that. Writing a feature or fixing a bug in that soup, I have found, is something that the best AIs will slow you down with as often as they speed you up.
by heavyset_go | 2025-12-28 02:00:45+00:00
> BTW what's up with people pushing N150 and N300 in every single ARM SBC thread?

For 90% of use cases, ARM SBCs are not appropriate and will not meet expectations over time.

People expect them to be little PCs, and intend to use them that way, but they are not. Mini PCs, on the other hand, are literally little PCs and will meet the expectations users have when dealing with PCs.
by davidbau | 2025-12-28 02:00:48+00:00
No question this will be hard to do.

But I am not so pessimistic. I do think it will be possible, because it is more fun to test your tests now than in the pre-LLM era. You just need a little bit of knowledge and patience, and the LLM absorbs most of the psychic pain.

If programmers get accustomed to doing their tests of tests, software might actually get better.
by delichon | 2025-12-28 02:01:39+00:00
Here are the result for this username, this title and this description:

https://hn-ph.vercel.app/results/ZT06GF

It got a 62, a C+, predicting that this won't be very viral. So you either didn't test this submission on your own product, or you did, but didn't feel that the low score was a handicap? You don't seem to be dogfooding. If this post does well it would be evidence against its own accuracy. If it fizzles out, congratulations on being correct.
by DGrechko | 2025-12-28 02:01:53+00:00
Just wanted to elaborate on the state of the project and the goal.

think of it as a modular field computer inspired by
Flipper Zero, but aimed at outdoors/survival/trades folks instead of security people.

Right now I'm deep in the software/OS layer - getting the core system working
(Qt/QML UI, Docker services, on-device AI with Phi-3, offline maps, Meshtastic
integration). Once I validate everything with field tests, I'll finalize the
hardware design. It's built on Raspberry Pi 5 + ESP32-S3 doing the heavy lifting
for LoRa mesh comms and always-on sensors.

The big idea is making something that's flexible like Flipper Zero but for
different use cases - you could run apps for hunting, survival navigation, plant
identification, whatever fits your lifestyle. The app ecosystem is key - I want
developers to easily build specialized tools that work in their workflow.

Communication-first design too - Meshtastic for long-range mesh when networks are
down, with graceful degradation from LTE → WiFi → LoRa → GPS beacon. The whole
thing is designed to work offline-first - max functionality with zero internet
dependency.

Still super early (hence the software focus first), but the goal is a rugged
platform that people can actually build on and customize for their specific needs.
Not trying to replace phones, just be the reliable tool that works when phones don't.
by DannyBee | 2025-12-28 02:02:09+00:00
"It wasn't until much much later that it was discovered to be an obesity drug. It was a completely coincidental and accidental discovery."

Define "much much later"

It was known by the early 1990s that GLP-1 slowed stomach emptying, with a key study in 1993 demonstrating its effects on gastrointestinal functions like gastric emptying, leading to longer feelings of fullness, which is the central mechanism at work here. See, e.g., https://pubmed.ncbi.nlm.nih.gov/35635627/

It just took eons for someone to decide that therefore maybe it was worth thinking about for weight loss.

That part is due to lack of exec vision - the fact that weight loss was not commonly treated with drugs (amphetamines work, but ...) meant they never thought really that hard about it.

To be fair, that lackof vision is not unreasonable in the sense that they have both plenty of high value targets, and plenty of arrows to shoot at them. Most of the arrows miss of course, but that's okay.

There is not always tremendous incentive to try new targets until they start missing the target too much, or the value of existing targets drops.

They almost certainly give up on, or ignore/drop/whatever, a near infinite number of things that may have turned into life saving drugs, billion dollar blockbusters, you name it.

At least right now, that's how this kind of thing works, for better or worse.

However, this is quite separate from when x was discovered to be a y, as it is here.

FWIW - I'll offer another lack of vision in the same vein - by slowing stomach emptying significantly, GLP-1 also causes the same amount of alcohol to do significantly less damage, because it enters your small intestine in much smaller amounts and over a much longer period of time. So much so that is a very effective treatment for alcoholism because it both reduces alcohol craving, and causes significant amounts of alcohol to do less damage. See, e.g., newly published studies like https://pubmed.ncbi.nlm.nih.gov/37192005/ and https://jamanetwork.com/journals/jamapsychiatry/fullarticle/...

Again, this should have been somewhat obvious to study a long time ago, but it wasn't started until 2 years ago.

It also turns out to reduce drug cravings, which is more unexpected, but would have been discovered much earlier with better vision.
by userbinator | 2025-12-28 02:03:14+00:00
But I suspect that the Macintosh team in '84 was closer in intentions to contemporary RMS than to contemporary Apple.

Apple has always been patronising and thought of users as exploitables to be controlled and herded; the Macintosh, and even more so the Lisa that came before it, were far more closed systems in comparison to the IBM PC.
by cjbgkagh | 2025-12-28 02:03:24+00:00
Many things work just fine right until they stop working, our current strategy of blowing ever bigger economic bubbles has worked for a long time and I expect it will continue for long time. It has the very stable property of enriching the already wealthy.

But it will not last forever and I do expect to see the end of it within my lifetime. It is this calamity that I'm interested in diminishing and it is on this basis that I think a weaker federal reserve would be less damaging. Since the federal reserve obscures the true state of the economy uncovering the true state will coincide with a weakling of the federal reserve and will appear causal.

I'm not a gold bug, I don't own any of it, I do own some bitcoin but my main asset is my software company.
by rjrjrjrj | 2025-12-28 02:03:32+00:00
The lightest SuperDuty has a gas engine. Diesel SuperDuty fuel economy is a bit better, but the vehicle also weighs more and is likely to be carrying/pulling more. But regardless of whether the multiple is 2 or 3.4 or somewhere in between, it is a small fraction of the added road wear.

By the fourth power law, an unloaded diesel Superduty creates ~22x the road wear of a honda civic. Loaded can be 100x more.
by acemarke | 2025-12-28 02:04:01+00:00
Completely unrelated.

- Immer (C++) appears to be roughly equivalent to Immutable.js ( https://immutable-js.com/ ): a set of specialized data structures

- Immer (JS), on the other hand, uses JS Proxies to wrap plain values, traps attempted mutations, and then replays them to return a safely immutable updated final result

As far as I know, Michel Weststrate came up with the name independently (although I can't 100% confirm that).

(source: I didn't create Immer (JS), but I started using it in Redux Toolkit in 2018, am quoted in the docs about how much I love it, spent the last couple months doing performance optimization work that got shipped in Immer 11.x, and just put up some more bugfix PRs today. I'm a secondary maintainer at this point.)
by gmuslera | 2025-12-28 02:04:03+00:00
Debian have multiple mirrors, and some distributions even promote to have local mirrors, the model is different, as you say the packages are signed so you know who made them, wherever you got them from.

And I said above, SSL is more than about encryption, but also knowing that you are connecting to the right party. Maybe for a repository with multiple mirrors, dns aliases and a layer of "knowing from whom this come from" is not that essential, but for most the rest, even if the information is public, knowing that it comes from the authoritative source or really from who you think it comes from is important.
by cyberax | 2025-12-28 02:05:11+00:00
> Do you have any source for these numbers & the equivalent for auto travel?

There are several ways you can look at it. The easiest way is to divide the opex budget by the ridership. E.g. MTA ( https://en.wikipedia.org/wiki/Metropolitan_Transportation_Au... ) had a $19B budget in 2023 for 1.15B rides, resulting in about $16 per ride. Assuming conservatively 60 rides a month, that's $960 a month for transit in NYC. Without any capital expenses taken into account.

The average total car cost in the US in 2023 was around $1000 a month ( https://usafacts.org/articles/how-much-does-it-cost-to-own-a... ). And this includes _everything_, including the capital cost.

> Also worth noting that comparing capital costs of underground transit to above ground private travel is pretty apples and oranges. Buses would be fairer comparison IMO.

Buses don't scale for large cities.
by zdragnar | 2025-12-28 02:05:40+00:00
Until your client tells you that it doesn't work in Edge and you find out it's because every browser has its own styling and they are impossible to change enough to get the really long options to show up correctly.

Then you're stuck with a bugfix's allotment of time to implement an accessible, correctly themed combo box that you should have reached for in the first place, just like what you had to do last week with the native date pickers.
by toomuchtodo | 2025-12-28 02:05:50+00:00
I think it speaks volumes that Buffet has nowhere else to put that ~$382B in cash; that speaks more about current asset valuations ("everything bubble" [1]) more than that US cash is trash. If assets classes are inflated, US treasuries are no longer a safe haven, gold and other precious metals are overbought, where do you go? There is no immediate answer, imho, but only a slow burn as the world reconfigures around the US not being a superpower, the dollar not being a reserve currency, etc. As Workaccount2 comments downthread, "The dollar sucks but everything else sucks more. [2]"

[1] Look around: Bubbles are everywhere. - https://news.ycombinator.com/item?id=46303596 - December 2025

[2] https://news.ycombinator.com/item?id=46407032
by deIeted | 2025-12-28 02:06:01+00:00
Well, that's human slop, and it's actually more insidious than AI slop. You know what's weird? We've had this for almost twenty years. This human slop in writing this is the first time ever that this painful writing has been addressed by someone else on a comment on the internet. I've raised it so many times, but it's the first time I've ever seen one other person acknowledge it. Like, how crazy is that? Is the last twenty years been a fever dream?
by cyberax | 2025-12-28 02:06:26+00:00
> Oh, sorry, that doesn't have a line item on the toll receipt, silly me.

Money is a pretty good proxy for CO2. So the carbon footprint of large cities is unsustainable.

The most eco-friendly model? Low-density semi-rural areas, with EV-based infrastructure, with sane-sized cars (not SUVs).
by qingcharles | 2025-12-28 02:06:32+00:00
A colleague and I demo'd something really neat we'd made in our spare time to the execs at the tech company we worked at, as a potential investment.

Two days later the network admin of the company stopped by my desk and whispered in my ear, "They're looking at your employment contracts. Whatever you showed them, they are trying to figure out if they can take it for free." (I guess he was reading all their emails...)

Bad news for them: they'd been in such a bind to hire me originally that I'd taken a pen and scribbled out a large chunk of my employment contract before we signed it. I'd never have thought to try it, but someone with bigger balls than me had done it the day before on theirs and told me about it.
by alexcos | 2025-12-28 02:07:14+00:00
"I've never felt this much behind as a programmer. The profession is being dramatically refactored as the bits contributed by the programmer are increasingly sparse and between. I have a sense that I could be 10X more powerful if I just properly string together what has become available over the last ~year and a failure to claim the boost feels decidedly like skill issue. There's a new programmable layer of abstraction to master (in addition to the usual layers below) involving agents, subagents, their prompts, contexts, memory, modes, permissions, tools, plugins, skills, hooks, MCP, LSP, slash commands, workflows, IDE integrations, and a need to build an all-encompassing mental model for strengths and pitfalls of fundamentally stochastic, fallible, unintelligible and changing entities suddenly intermingled with what used to be good old fashioned engineering. Clearly some powerful alien tool was handed around except it comes with no manual and everyone has to figure out how to hold it and operate it, while the resulting magnitude 9 earthquake is rocking the profession. Roll up your sleeves to not fall behind."
by jstimpfle | 2025-12-28 02:07:28+00:00
In C++, in particular when restricting to a C like subset, I prefer looking at an expression like

foo->bar.baz

instead of (in Rust and other modern languages that decided to get rid of the distinction)

foo.bar.baz

For example, the former lets me easily see that I can copy foo->bar and I now have a copy of baz (and indeed bar). In a newer language, it's harder to see whether we are copying a value or a reference.
by MilnerRoute | 2025-12-28 02:08:07+00:00
Here's another take.

https://www.noemamag.com/the-politics-of-superintelligence/

It's mostly about AGI predictions, but it made the point that talking about "inevitability" of AI apocalypses ultimately moves resources to AI companies.

That said, I'm all in favor of tech companies offering useful retraining to the masses. (It's just that I've always seen predictions that AI will also create jobs, so I'm not ready to concede that mass displacements are inevitable...)
by femto | 2025-12-28 02:08:18+00:00
Look to Sydney, Australia, if you want to see where this is heading, as Sydney is completely tied up with toll roads. On the point of them being regressive, the NSW government has been forced to reduce political pressure by capping annual toll expenditure with a government funded rebate system.

It's no coincidence that the companies behind the expansion of US toll roads are mostly the Australian companies that run Sydney's toll roads: Transurban, Macquarie, IFM, ...
by aGHz | 2025-12-28 02:09:08+00:00
I think one good reason is connecting with the youth. My kids are too young for Tik Tok but old enough to come home with 6-7 (btw, best antidote to that is the 7-8-9 joke ;) ) and "chicken banana", and I'm told this comes from Tik Tok. I grew up in a house where every BSOD was caused by the fact that we installed video games, and I'd rather not be that kind of parent to my own kids. I'm also like GP though, I'd rather not go full scrollhead, so it's a bit of a dilemma.