skysight-inc/HackerNews huggingface dataset:
There was a good blog post on bicycles and tariff's earlier this week[1].

A key point was that volume really matters in what you can onshore. Whether you go for full automation or not, dies, tooling, machinery etc. all need to be amortized across what you sell. High-volume, low-end products are relatively easy to amortize, being both less demanding to manufacture and having higher volume. Such products are usually made in several factories around the world. Specialized, high-end stuff tends to be much harder to sell in large enough quantities to be economically viable. In many cases, one factory serves the entire world and barely makes a profit.

The Tariffs and counter-tariffs currently being implemented create a barrier around the U.S. market. If a product is low-end and high-volume, then it may make sense to manufacture it in the U.S. if it wasn't made there before, primarily to bypass the barrier and serve the U.S. market as profitably as possible. Exporting from within the U.S. may not necessarily make sense. Not all low-end, high-volume products will be onshored either. For low-end products in which manufacturing costs are a small portion of the consumer price, simply paying the tariffs may make more sense.

Manufacturers of high-end, low-volume products that rely on access to world-wide supply chains and markets are unlikely to move to the U.S.. The U.S. is a big market, but the rest of the world is bigger. High-end, niche manufacturers currently in the U.S. may be forced to consider moving abroad or shutting down. Many high-end, specialized products will become more expensive in the U.S. and there will be no domestic competitor. Some products that are barely profitable now will simply be impossible to make with significant trade barriers around the U.S. market and will cease to be offered anywhere.

Dividing up the world market into walled off economic regions is, ultimately, likely to reduce the range of high-end, specialized stuff that the world can produce. If countries insist on a higher degree of self-sufficiency and throw up trade barriers, there will be things we all simply stop making.

[1]https://news.ycombinator.com/item?id=43572820
Show HN: A Swift-First, Reactive Programming Framework with No Bloat
Hello HN!

I've developed Pledge, a lightweight and thread-safe reactive programming framework for Swift. It aims to simplify state management and event propagation in Swift applications by offering:

Thread-Safe Observables: Ensure safe state management across different threads.

Flexible Binding Mechanism: Easily bind observables to UI components or other data sources.

Minimalistic API: Focus on simplicity without sacrificing functionality.

I created Pledge to address the complexities often encountered with other reactive frameworks. It's designed to be intuitive and easy to integrate into existing projects.

You can find the project here: https://github.com/gokulnair2001/Pledge

I would greatly appreciate any feedback, suggestions, or contributions from the community. Your insights will be invaluable in improving the framework.

Thank you for taking the time to check it out!
There's plenty evidence of the general intelligence of LLMs. And a site that has climbed to the 6th most visited in 2 years is clearly not failing to be generally useful.

I do think the author was more scathing than necessary here though
Of course we do! Imagine search engine taking 10¢ for every search query you enter, what a ridiculous replacement.
"Certain use cases", yes
Naming things?
> it gives the central bank a worrying amount of power

Heh, only an American would say that. What a peculiar worldview.
How can the EU work on "building things" if the companies with the most resources and the greatest capacity for "building things" are actually making copycat software propped up with policies that exclude competition?
Show HN: Speech and Audio To Text – Transcribe voice messages offline
Hi HN,
I’d like to share a side project I recently finished: Speech & Audio To Text, a small iOS utility to transcribe voice messages from apps like WhatsApp, Telegram, and Voice Memos — fully offline and without sending any data to the cloud.

The motivation was personal. I often receive voice notes when I can't listen to them — during meetings, while commuting on noisy trains, or when I don’t want to disturb others. I used to rely on an app that handled this well, until it moved to a subscription model and started requiring constant internet access.

I wanted something that would:

- Work offline
- Not send audio to any server
- Be available with a single, one-time purchase
- Support WhatsApp and Telegram voice messages directly
- Handle multiple languages

So I built it. It’s completely local, lightweight, and doesn't use any AI or external APIs. The speech recognition relies on on-device iOS capabilities, and supports over 60 languages depending on system settings.

I'd love to hear your feedback or suggestions. Thanks for checking it out.
C++: terser (shorter) lambda == SHORTY (ab-use?)
Yeah, I still use search engines.

LLMs are amazing for technical research or getting a quick overview and a clear explanation without clicking through ten links. But for everyday searches — checking restaurant hours, finding recent news, digging into niche forums, or comparing product — search engines are still way better.

I don’t think it’s a matter of one replacing the other — they serve different purposes.
Is it possible to calculate how much wealth they are saving by not having to create a profit and other kinds of free market deficiencies?
I am not sure you see the irony in your own statements.
Tip #688 – Disable third-party sign-in prompts on websites
Followed by gross new brand styling

Could've at least gone with calling themselves "Wise.com" or something, like "Make.com" does.

Got nothing on "X" though. Have yet to hear someone in person say "on X" rather than "on Twitter".
Thank you. I get a lot of this litigious attitude on Hacker News but the bad actors are either wrong or trying to instigate irrational arguments. Like someone will post something political, I’ll point out an inconsistency in their argument, so they accuse me of starting a flame war and downvote me into oblivion. There’s more opinion making, control of narrative, and group-think on this site these days. It’s weird.
There is something to be said for trust here. I like that I can go straight to the imprint ("Impressum") to know with whom I'm dealing with online, where the company is located and who the CEO is. This is not always easy to decipher from the "Terms" pages companies in the US and elsewhere provide.

The downside for founders is that you have to divulge your address, unless you take additional steps to give yourself a mailbox address, but this can also be illegal if you're not careful. You can also rent an office of course, but for indie devs and freelancers, this is usually not financially viable.
I have cards from the 90's that had 2d hardware acceleration
I think more than cost; it is more a desire for sovereignty and also making everything trackable. As happened in Russia, US govt can block Mastercard/Visa from the country or can block a company like Huawei and local govt has no say in it.
From my experience in big tech, another reason is that OPS guys just cant resist the concept of eBPF, go all the way done trying to figure out what this beautiful technology can do and forgot what thery really wanted at the begining.
> I think that is related to #1 above

It isn't; if we had lower labor costs than everywhere else, free trade would still have the same effects.
(.. or a search on https://pkgs.org to surface metadata)
The above story is a separate category of journalism, think photo-journalism as opposed to news reporting. My statement on journalistic integrity was specifically referring to the topics' discussion on news reporting journalism.

But I agree there is a type of journalism -- I think there is another name for it but I can only think of photo-journalism atm -- where creative writing, or linguistic flair, can and does contribute if done in good faith (integrity).
Wonderful essay! OP's tireless research is appreciated.
> I think saccharin is probably the safest of all the artificial sweeteners. Stevia and monk fruit extracts (herbal sweeteners) are probably okay too, as long as you're not allergic to them.

No, isomaltulose(a.k.a Palatinose) is the best. Not very sweet, but it's literally just glucose and fructose connected differently, no other off-products or metabolic consequences, just a sweet carbohydrate with slow metabolism that doesn't cause cavities and is beneficial to the gut microbiota due to the slow release of sugar, just like a good resistant starch would.

It's not as sweet, low calorie, or inexpensive, but health-wise forget being harmless, it's outright better than almost all other carbs.
VC investments are for private solutions to build likes of Alipay in India. These are govt. initiatives to ensure no one party gets monopoly on core infrastructure of the nation.
Looks great :)
The layout has some issues on Arc on iOS though.
Seems like Arc gives you less vertical space and the player buttons are covered by the browser UI because of that.
I like this article. It opens with a statement of its thesis and presents a few profiles of video game workers whose lives have been negatively impacted by AI. Each profile follows a basic template: a paragraph or so about who they are and what they do, a summary of how AI entered their workplace, a bunch of interview quotes about their reaction to it, and a paragraph at the end about what the final outcome was for the person or their company. Succinct, to the point, and easy to read. You don't see a lot of online journalism like this; the clickbait era has been marked by an entire novel about the E! True Hollywood Story of the major player(s) before the fucking point is even mentioned -- or worse still, AI-generated slop as the body text. Props to Aftermath and Luke Plunkett for maintaining a high standard of prose.
EU companies should work on building things. EU government is there to regulate (and encourage via regulation).
No. There would be some guy on the street goading you to enter a restaurant by offering you free chicken, and once you did enter, they would start pressuring you into ordering other things while overpaying for that bucket of low quality chicken that may or may not be a health hazard. There would be a threat of violence and you would not be allowed to leave before paying.
From a user’s perspective, it doesn’t really matter how the data is collected. What actually matters is whether the tool helps you answer questions about your system and figure out what’s going wrong.

At Coroot, we use eBPF for a couple of reasons:

1. To get the data we actually need, not just whatever happens to be exposed by the app or OS.

2. To make integration fast and automatic for users.

And let’s be real, if all the right data were already available, we wouldn’t be writing all this complicated eBPF code in the first place:)
Overcoming the Legacy Roadblock
Thanks! No library. Just svg, foreign objects, and event listeners
I just can't bring myself to believe there is a meaningfully sized group of developers that have considered the performance of text-wrapping.

You're kidding, right? There are a ton of non-trivial edge cases that have to be considered: break points, hyphenation, other Latin-based languages, etc.

From a Google engineer's paper describing the challenges: https://docs.google.com/document/d/1jJFD8nAUuiUX6ArFZQqQo8yT...

Performance Considerations
While the `text-wrap: pretty` property is an opt-in to accept slower
line breaking, it shouldn’t be too slow, or web developers can’t use
them due to their performance restrictions.

The pinpoint result when it is enabled for all web_tests is in this CL.
Complexity
The score-based algorithm has different characteristics from the
bisection algorithm. The bisection algorithm is O(n * log w) where n is
the number of lines and w is the sum of spaces at the right end. The
score-based algorithm is O(n! + n) where n is the number of break
opportunities, so it will be slower if there are many break
opportunities, such as when hyphenation is enabled.

Also, computing break opportunities are not cheap; it was one of
LayoutNG's optimizations to minimize the number of computing break
opportunities. The score-based algorithm will lose the benefit.

Last 4 Lines
Because computing all break opportunities is expensive, and computing
the score is O(n!) for the number of break opportunities, the number of
break opportunities is critical for the performance. To minimize the
performance impact, the implementation caches 4 lines ahead of the
layout.
Before laying out a line, compute line breaking of 4 lines ahead of the
layout.
If it finds the end of the block or a forced break, compute the score
and optimize line breaks.
Otherwise layout the first line from the greedy line breaking results,
and repeat this for the next line.
The line breaking results are cached, and used if the optimizer decided
not to apply, to minimize the performance impact.

Currently, it applies to the last 4 lines of each paragraph, where
“paragraph” is content in an inline formatting context separated by
forced breaks.
The Length of the Last Line
Because the benefit of the score-based line breaking is most visible
when the last line of the paragraph is short, a performance
optimization is to kick the optimizer in only when the last line is
shorter than a ratio of the available width.

Currently, it applies only when the last line is equal to or less than ⅓
of the available width.
Checking if the last line has only a single word
Checking if the last line has only a single word (i.e. no break
opportunities) requires running the break iterator, but only once.
Don't do systematic embezzlement, or at least try to look contrite when you get caught, and you'll be fine. Bardella is a much stronger candidate for the RN anyway.

Some people _really_ like criminals here it seems. If I had my work pay for my father's butler and claim that as 'business expenses', I sure hope they would fire me when they eventually find out years later.
^ I really should have used the "myopic," instead of "brain dead" to describe the C-Suites of the world. My apologies.
Its up to interviewers but discussed matters can be checked quickly (ah you claim 10 years java backend integration experience? Ok lets dig deep. If reality is (almost) 0 thats lying in plain view).

Also not sure you understand english language, greatly exaggerating or making up stuff is still same lying, details are irrelevant.
I've done 97km in 26 hours before, in the Sahara (I think we started around 8am, and finished around 10ish the next morning), which works out to about 2.3mph, so I'd agree 2-2.5mph is reasonable.

hmm, [0] this says the longest stage was 91km in 2009 (I did it in 2015), so I could be wrong, but I'm going by what my garmin told me.

[0] https://en.wikipedia.org/wiki/Marathon_des_Sables
Yes: Kagi
More than that, any value it has is based on the fact you have to pay taxes in it, by threat of violence.
> the easiest way would be to run it as a Docker container

Regarding this part, you can always just run a base image and add the app yourself. I'm on mobile so can't test, but should be along these lines:

docker run --rm --name dockerfmt \
-v /path/to/Dockerfile:/tmp/Dockerfile \
golang:1.24-alpine sh -c \
"apk add git && go run github.com/reteps/dockerfmt@latest /tmp/Dockerfile"

> against an existing file

For this part yes, you'd still need one, but it can be any of your own.
Show HN: DKIM-relay – sign and relay in Rust
an SMTP server which creates a 'DKIM-Signature' header for incoming emails, then relays the email to another SMTP server. includes handy dkim-gen-keys app
What do you have that will help you beat the 100 other UAS companies that were started this year?
I've recently tinkered with creating an automated install script for a home server. It was good practice for me and I want to setup a small home server with pihole, sonarr and so on.
I've created it with Claude and ChatGPT and both preformed poorly. Huge chunks of code, that might be running, but creates much more mess than it should. Only after going and reading the documentation the old fashioned way and with the help of search, I was able to reduce the size of the script and solve many problems with it.
Oracle: Preparing for Post Quantum Cryptography
Quant hedge fund Renaissance suffers steep losses in tariff tumult
https://www.youtube.com/@benbikman
This dude is awesome
What is their use case in an IPv6 internet? Or is this another company with a vested interest in stopping IPv6 from happening?
The digital edition of Baldur's Gate 3 is 80€, nothing has changed.

More like Nintendo has caught up to the pricing of other companies.
Awesome work! We've been searching for something to switch away from MySQL Workbench for years, but the one feature we need is the automatic generation of SQL migration based on a current and a new schema.
A lot of my ancestors are South African so they were doing apartheid until pretty recently :/
What do "all pc gamers" use to communicate then? Teamspeak? Ventrilo?
Thank you! Yeah we don't have views yet, but will
Those people are so short sighted. I put two 0's in front because I really care about humanity. This, I believe, will help fix climate change. Excuse me while I sniff my own farts.
Any chance you would be able to point me to a good source or article describing/explaining the first half of your comment? I.e. someone getting into the nuts and bolts?

Netflix is a platform - their strategic advantage is in their content sourcing and development pipeline which is fed the unique insights on audience preferences. This is distributed with recommendation algorithms and UX. It could be argued, like someone also already pointed out, that this infra aspect is a commodity at this point.
I'm currently using it to analyze a version of the Kaczmarz algorithm, generalizing my answer here: https://mathoverflow.net/a/490506/5429

But more generally, why do we want to analyze combinatorics and algorithms? I suppose it gives us some confidence that we are actually making progress.
I think that's more a case of unnecessary pedantry. Rust "has garbage collection" in that you can opt in to the lifetime of some objects being handled by some kind of garbage collection. Rust doesn't "have garbage collection" in that Rust does not require a GC'd runtime to implement its semantics in a memory-safe manner. Two different concepts with similar terminology.

Edit: Also looking at that commenter's history I am rather skeptical they would reasonably be considered a "Rust evangelist"
I've found this ineffective for anything where I need a factual answer and brilliantly where I need the vibe of subjective or fictional things.

Bad: summarizing scientific research or technical data

Great: finding travel ideas or clarifying aspects of a franchise's fictional universe.
Coming... https://imgur.com/a/U8cbJ5Y. Working on versioning, based on which migrations will be generated.
It's also a problem if resolution. Birds see a little of everything while mammals see more of something.
I like the dog logo. Thanks for calling attention to it, I now have something to ghiblify.
I think Sweden is one of the very most entrepreneur-friendly EU countries. It's got a big safety net, but doesn't impose much bureaucratic or financial burden on new businesses or even solopreneurs just getting started out.
LLMs are good at translating between languages that have significant amounts of written content on the internet. There are few languages in this category that do not already have correspondingly large Wikipedias.

There are plenty of languages with millions of speakers that are only rarely used in writing, often because some other language is enforced in education. If you try to use an LLM to translate into such a language, you'll just get garbage.

It's very easy for a hand-crafted template to beat an LLM if the LLM can't do the job at all.
Doubtful.

OpenStep used Display Postscript and was written in Objective-C; WebKit is written in C++.

Rendering text on the web is a different animal all together.
33M would be 33 software consultants each making 250k a year.
Bond rout starting to sound market alarm bells
>“I am yet to have a team or gamerunner push back on me once I actually explain how these AI art generators work and how they don't contribute in a helpful way to a project, but I have a sense of dread that it is only a matter of time until that changes, especially given that I've gone the majority of my career with no mention of them to every second conversation having it mentioned.”

I recently played through a game and after finishing it, read over the reviews.

There was a brief period after launch where the game was heavily criticised for its use of AI assets. They removed some, but apparently not all (or more likely, people considered the game tainted and started claiming everything was AI)

The (I believe) 4 person dev team used AI tools to keep up with the vast quantity of art they needed to produce for what was a very art heavy game.

I can understand people with an existing method not wanting to change. And AI may not actually be a good fit for a lot of this stuff. But I feel like the real winners are going to be the people who do a lot more with a lot less out of sheer necessity to meet outrageous goals.
Why "the orange site"?
Yes. Amazing read. This is the kind of content I come to hacker news for.
Personally, I think free software are really important, and I love the developers that I am hiring to be in this mindset as well.
So the first think I am doing is to check their gitlab / github profiles. If they love to write code and to share it, there obviously will be code there to check.
Of course this code could be written with help of an AI but, nothing is preventing the developer to use it while working as well. As long as the result if good, everything is fine.
Can't we combine symbolic AI with neural networks into something that exceeds the capacities of both?
Nextstep used compositing in the late 1980s.
These channels don’t exist because it’s a better way to display information. It’s a more click bait way.

A chart that works that way is the title equivalent of “you won’t guess who wins”.

I get sucked into those “X over 50 years videos” and watch to the end to get the satisfaction. But it doesn’t help me remember the outcome at all.

It’s just engagement bait in video form. A chart on a webpage like this is just chart junk like the poster said unless it’s actually updating in real time.
I fed it some 200 lines of non-trivial Delphi code and asked it to implement a stub method in the middle of the code, and it did a decent job.

The implementation was solid Delphi code and used the existing code correctly, but it didn't solve the core problem 100% correct.

However, I'm just using the Q4 variant as I'm constrained by my GPU's 16GB of VRAM, and my question was just a simple one-liner with very few details, and the code wasn't commented. So overall I was pleasantly surprised.

Though definitely too heavy for my system for such tasks. Due to the thinking it used 14k tokens total, leading to just partially offloading layers on the GPU, which in turn meant just 10 tok/s response speed.
Since it's less efficient than modern processes I don't think it had any application besides the fun of a DIY project.

Though I guess it's an interesting way to obtain nitric acid for individuals, since access to it is quite restricted otherwise.
Not everyone lies. To say everyone does is just lying to yourself in an attempt at rationalisation.

Tell the truth. If you perform poorly in an interview, you now know where your weaknesses are. Work on them. Do a hobby project that lets you gain experience in that area. Use that as an example in your interview. Not only can you be truthful, you'll be more confident as you'll actually understand what you're talking about and can turn it into a positive - "I was weak in this area, so I went off an studied it myself" reveals more about your character than just the specific thing you learned.