MurphyA/hacker-news huggingface dataset:
by adrian_b | 2025-12-31 08:31:41+00:00
They have instructions for memcpy/memmove (i.e. rep movs), not for strcpy.

They also have instructions for strlen (i.e. rep scasb), so you could implement strcpy with very few instructions by finding the length and then copying the string.

Executing first strlen, then validating the sizes and then copying with memcpy if possible is actually the recommended way for implementing a replacement for strcpy, inclusive in the parent article.

On modern Intel/AMD CPUs, "rep movs" is usually the optimal way to implement memcpy above some threshold of data size, e.g. on older AMD Zen 3 CPUs the threshold was 2 kB. I have not tested more recent CPUs to see if the threshold has diminished.

On the old AMD Zen 3 there was also a certain size range above 2 kB at sizes comparable with the L3 cache memory where their implementation interacted somehow badly with the cache and using "non-temporal" vector register transfers outperformed "rep movs". Despite that performance bug for certain string lengths, using "rep movs" for any size above 2 kB gave a good enough performance.

More recent CPUs might be better than that.
by esperent | 2025-12-31 08:32:28+00:00
It's been available in Vietnam for around 2 weeks now. So maybe it's a privacy thing in the EU?

Honestly though you're not missing much, it doesn't feel revolutionary.

> Join Discord -- Unexpected to see this from a Google product

I did a trial of Gemini Enterprise last month - a product absolutely not ready to be released - and they use Slack which also surprised me. So maybe internal teams at Google are allowed to choose their own messaging platform?
by lotsofpulp | 2025-12-31 08:33:44+00:00
This comment makes even less sense than jotras’ comment.

Pension funds buy shares in businesses such as Microsoft. The money going into the pension fund is not typically a function of the tax paid by companies such as Microsoft, but rather from a combination of actuaries’ recommendations, payroll tax receipts, and politicians’ priorities.

Therefore a pension funds’ equity holdings, such as Microsoft, doing well means taxes can be lower.
by Krssst | 2025-12-31 08:33:55+00:00
Not everyone is the same. My teeth and gums are not that good and I definitely feel much better brushing them after every meal (though I'm aware I should wait after acidic food).

(time-wise, I started increasing brushing after the situation got worse. The root cause for the worsening was not seeing a dentist for two years. Don't do that, definitely see a dentist periodically. And the dentist seems happy with my brushing decision, need to do as much as I can to prevent plaque formation)

For airplanes, I buy three small bottles of water before flight (15hr flight). And I use that for drinking, rinsing and washing my toothbrush. While we cannot bring bottled water from outside the airport to the embarking area, there are usually shops in that area that sell small bottles.
by onSmallMessage | 2025-12-31 08:35:01+00:00
The cost of a horse in the United States can vary widely depending on breed, training, age, and intended use. For most buyers, the purchase price is only part of the total expense. Understanding both upfront and ongoing costs is key before buying a horse.

Average Horse Price in the U.S.

In the U.S. market, the average horse typically costs between $2,000 and $10,000.

$1,000–$3,000: Older horses, beginner-friendly mounts, or companion horses

$3,000–$8,000: Well-trained riding horses for trail riding or casual competition

$8,000–$15,000: Horses with advanced training or show experience

$15,000+: Competition, breeding, or discipline-specific performance horses

Elite show horses or racehorses can sell for $50,000 to over $100,000, depending on pedigree and results.

What Affects the Price of a Horse?

Several factors influence horse prices in the U.S.:

Breed: Popular breeds like Quarter Horses, Thoroughbreds, and Warmbloods often cost more

Training level: Horses with professional training command higher prices

Age: Horses aged 6–12 are usually the most expensive due to peak usability

Health and soundness: A clean veterinary exam increases value

Discipline: Horses trained for jumping, dressage, racing, or reining are priced higher

Location also matters. Horses in states with strong equestrian communities, such as Texas, Kentucky, California, and Florida, often cost more.

Monthly and Annual Horse Costs

Owning a horse in the U.S. typically costs $400–$1,200 per month, depending on boarding and care choices.

Common expenses include:

Boarding or pasture fees

Hay, grain, and supplements

Veterinary care and vaccinations

Farrier services (hoof trimming or shoeing)

Tack, equipment, and insurance

Emergency vet care and specialized training can significantly increase annual costs.

Is Buying a Horse in the U.S. Worth It?

For many owners, horse ownership is both a lifestyle and a long-term commitment. While the costs can be high, proper planning makes the experience rewarding and manageable.

First-time buyers are usually best served by choosing a well-trained, calm horse, even if the upfront price is slightly higher. In the long run, it often saves money, time, and stress.
by cco | 2025-12-31 08:35:35+00:00
I was really hoping, and with a different administration I think there was a real shot, for a huge influx of cash into clean energy infrastructure.

Imagine a trillion dollars (frankly it might be more, we'll see) shoved into clean energy generation and huge upgrades to our distribution.

With a bubble burst all we'd be left with is a modern grid and so much clean energy we could accelerate our move off fossil fuels.

Plus a lot of extra compute, that's less clear of a long term value.

Alas.
by steve_adams_86 | 2025-12-31 08:36:43+00:00
In my experience, sometimes your employer blatantly lies to you about what you're making and how it'll be used. I was once recruited to work on a software installer which could build and sign dynamic collections of software which was meant to be used to conveniently install several packages at once. Like, here's a set of handy tools for X task, here are the default apps we install on machines for QA people, here is our suite of apps for whatever. It seemed to have genuine utility because it could pull data in real time to ensure it was all patched and current and so on. That could be great for getting new machines up and running quickly. Several options exist for this use case today, but didn't then as far as I recall. This was on Windows.

Ultimately it was only used to install malware in the form of browser extensions, typically disguised as an installer for some useful piece of software like Adobe Acrobat. It would guide you through installing some 500 year old version of Acrobat and sneakily unload the rest of the garbage for which we would be paid, I don't know, 25 cents to a couple dollars per install. Sneaking Chrome onto people's machines was great money for a while. At one point we were running numbers of around $150k CAD per day just dumping trash into unsuspecting people's computers.

At no point in the development of that technology were we told it was going to ruin countless thousands of people's browsers or internet experiences in general. For quite a while the CEO played a game with me where I'd find bad actors on the network and report them to him. He'd thank me and assure me they were on top of figuring out who was behind it. Eventually I figured out that the accounts were in fact his. They let me go shortly after that with generous severance.

I don't miss anything about ad tech. It was such a disheartening introduction to the software world. It's really the armpit and asshole of tech, all at once.
by esperent | 2025-12-31 08:38:07+00:00
It showed up as "a new way to build Gems" on my Gemini account a couple of weeks ago. I tried it a couple of times but the basic idea I had of creating a top level agent with sub-agents depending on the query (supervisor pattern I think?) doesn't seem to work. There's no branching, it seemed to just run app possible paths at the same time which takes ages and wastes tokens. Maybe I was doing something wrong, or maybe I misunderstood the purpose of this. But each thing I tried could be handled better by a normal gem with custom prompt.

It might be useful for a specific kind is multi step non branching problem, but I didn't have any problems like that to test it with.
by gucci-on-fleek | 2025-12-31 08:39:25+00:00
Fair enough. The only reason that I bothered setting up HTTPS certificates in my home network was because I was using a domain where I had previously enabled HSTS. I was wasn't very enthusiastic about it when I first added the certificates, but once I figured it out, I appreciated seeing a little padlock when I logged in to my router. That's essentially the only benefit though, so I certainly don't blame you for not wanting to go through the effort to set it up.
by copirate | 2025-12-31 08:39:34+00:00
If the attacker is waiting for a lucky event to occur (finding more blocks than others while having less than 51% of the mining power) it means that they are constantly wasting mining time. That in itself is a huge cost (operational cost and block rewards thrown away), but it also means that they can't predict when it will happen. A double spend attack must be planned in advance because the first transaction must occur at the beginning of the attack. I'm not sure how they could constantly try double spends without risking losing the money each time the attack doesn't happen.

I don't see how it could be profitable. If it can't be profitable, then the risk of someone doing it is pretty low. If they already have the necessary hardware, they'd be much better off mining.
by josephg | 2025-12-31 08:39:45+00:00
> That's not true. React only re-renders down from where the update happens. And it skips over stuff that is provably unchanged -- which, fair, involves manual memoization hints.

React only skips over stuff that's provably unchanged. But in many - most? web apps, it rerenders a lot. Yeah, you can add memoization hints. But how many people actually do that? I've worked on several react projects, and I don't think I've ever seen anyone manually add memoization hints.

To be honest it seems a bit like Electron. People who really know what they're doing can get decent performance. But the average person working with react doesn't understand how react works very well at all. And the average react website ends up feeling slow.

> Most of complexity of React is elsewhere.

Where is the rest of the complexity of react? The uncompressed JS bundle is huge. What does all that code even do?

> I actually count [solidjs / svelte] as "React-like" because it's still declarative componentized top-down model unlike say VB6.

Yeah, in the sense that Solidjs and svelte iterate on react's approach to application development. They're kinda React 2.0. Its fair to say they borrow a lot of ideas from react. And they wouldn't exist without react. But there's also a lot of differences. SolidJS and Svelte implement react's developer ergonomics, while having better performance and a web app download size that is many times smaller. Automatic fine grained reactivity means no virtual dom, no vdom diffing and no manual memoization or anything like that.

They also have a trick that react is missing: Your component can just have variables again. SolidJS looks like react, but your component is only executed once per instance in the page. Updates don't throw anything away. As a result, you don't need special react state / hooks / context / redux / whatever. You can mostly just use actual variables. Its lovely. (Though you will need a solidjs store if you want your page to react to variables being updated).
by Xyra | 2025-12-31 08:39:47+00:00
Holy cow, I didn't know getting reddit was that straightforward. I am building public readonly-SQL+vector databases optimized for exploring high-quality public commons with Claude Code (https://exopriors.com/scry), I so cannot wait until some funding source comes in and I can upgrade to a $1500/month Hetzner server and pay the ~$1k to embed all that.
by lrvick | 2025-12-31 08:40:09+00:00
I to am in the bay area, and clearly I have been shopping at the wrong colos. I expected to find nothing with unlimited bandwidth for under $1k/mo given past experience with what may have been higher end DCs.

In any event if I was the volunteer sysadmin that had to babysit the box, I would rather have it at my home with business fiber where I am on premises most of the time because getting in and out of a colo is always a whole thing if their security is worth a damn.

Even given a frugal and accessible setup like that I can imagine 400k lasting 5 years tops especially if paying for the volunteers business fiber and much more especially given I expect some of it is to provide a sustainable compensation to key team members as well. Every cent will count.
by bigcat12345678 | 2025-12-31 08:41:02+00:00
> It’s just that Manus is particularly egregious in their false advertising, and their bullshit is an insult to people doing actual heavy lifting, like DeepSeek or Alibaba Qwen team.

I still felt this baseless.

Manus at the time is break through result. Are they egregious in advertising they being deepseek moment? I don't know think so. Is it a marketing ploy? Yes, but it's far less egregious than any normal AI startup, like cluely.

Comparing to deepseek or qwen, heavy lifting what? Manus is built on Claude at the time it's doing egregious marketing, how can it be considered heavy lifted by unrelated products. What's the point you want to make?
by mpeg | 2025-12-31 08:41:09+00:00
Exactly this, I like to give the benefit of the doubt to people but pushing huge chunks of code this quickly shows the whole thing is vibe coded

I actually don’t mind LLM generated code when it’s been manually reviewed, but this and a quick look through other submissions makes me realise the author is simply trying to pad their resume with OSS projects. Respect the hustle, but it shows a lack of respect for other’s time to then submit it to show HN
by choeger | 2025-12-31 08:41:22+00:00
You're absolutely correct! ( ;) )

The issue is that generation of error-prone content is indeed not very valuable. It can be useful in software engineering, but I'd put it way below the infamous 10x increase in productivity.

Summarizing stuff is probably useful, too, but its usefulness depends on you sitting between many different communication channels and being constantly swamped in input. (Is that why CEOs love it?)

Generally, LLMs are great translators with a (very) lossly compressed knowledge DB attached. I think they're great user Interfaces, and they can help streamline buerocracy (instead of getting rid of it) but they will not help getting down the cost of production of tangible items. They won't solve housing.

My best bet is in medicine. Here, all the areas that LLMs excell at meet. A slightly distopian future cuts the expensive personal doctors and replaces them with (few) nurses and many devices and medicine controlled by a medical agent.
by Krssst | 2025-12-31 08:44:11+00:00
A bit sad that this sound advice is downvoted (maybe just out of topic rather than a disagree?).

https://pmc.ncbi.nlm.nih.gov/articles/PMC11203943/ shows that covid transmission goes up exponentially (x1.5 per flight hour) without masking.

I guess people really don't like putting something on their face. Nobody advices only washing hands and being generally healthy against getting ISTs; the advice is blocking the pathogens in the first place, I'm not sure why our lungs don't deserve as much protection.

(plus masking makes the air more humid which helps with the dry air I feel)
by epolanski | 2025-12-31 08:44:58+00:00
Yes it's taxing and mentally draining, reading code and connecting dots is always harder than writing it.

And if you let the AI too loose, as when you try to vibe code an entirely new program, I end up in the situation where in 1 day I have a good prototype and then I can spend easily 5 times as much sorting the many issues and refactoring in order to have it scale to the next features.
by redwall_hp | 2025-12-31 08:46:11+00:00
> If you have another architectural style for western civilization which bases its institutions on Greece and Rome, I’d be interested in learning more about it.

Carolingian architecture didn't just cargo cult, they literally pilfered Roman columns and integrated them into anachronistic designs. If I recall my art history class correctly, the columns from Charlemagne's Palatine Chapel were "repurposed" (looted) from a Roman temple. [1]

This is also an example of architectural skeuomorphism: designing something in a way reminiscent of an older thing, to borrow the associations people have with it. In this case, Roman authority.

[1] https://en.wikipedia.org/wiki/Palatine_Chapel,_Aachen#/media...
by timr | 2025-12-31 08:46:28+00:00
> I know you said don't engage in "you're holding it wrong"... but have you tried these models running in a coding agent tool loop with automatic approvals turned on?

No. I just explained to you that I'm manually reviewing their output enough to not trust them. Why in the world would I do that?

I'm beginning to see the fundamental source of the difference in opinion between us here.
by gucci-on-fleek | 2025-12-31 08:47:10+00:00
> The idea that microkernels are slow came from analyzing a popular microkernel at the time - mach. It in no way is a true blanket statement for all microkernels.

Don't microkernels inherently require lots of context switches between kernel-space and user-space, which are especially slow in a post-Meltdown/Spectre world? I know that Linux has semi-recently added kTLS and KSMBD to speed up TLS/SMB, and Windows used to implement parts of font rendering and its HTTP server in kernel mode to speed things up too, so this gave me the impression that having more things inside the kernel (== more monolithic) is better for speed. Or is this only the case because of how the Linux/NT kernels are implemented, and doesn't apply to microkernels?
by lenkite | 2025-12-31 08:47:56+00:00
> OpenAI's losses might actually be attractive to certain investors from a tax perspective.

OpenAI is anyways seeking Govt Bailout for "National Security" reasons. Wow, I earlier scoffed at "Privatize Profits, Socialize Losses", but this appears to now be Standard Operating Procedure in the U.S.

https://www.citizen.org/news/openais-request-for-massive-gov...

So the U.S. Taxpayer will effectively pay for it. And not just the U.S. Taxpayer - due to USD reserve currency status, increasing U.S. debt is effectively shared by the world. Make billionaires richer, make the middle class poor. Make the poor destitute. Make the destitute dead. (All USAID cuts)
by RealityVoid | 2025-12-31 08:48:32+00:00
Right, but the odds of this happening is small(ish) - I'm certain there is a sweet spot for witholding time. If they don't find a block within the time interval, then effectively all the work for that time is "wasted" by the other participants since it could not have been put on the chain anyway AND the witholder has a headstart of a couple of seconds searching for a new block.
by dxdm | 2025-12-31 08:50:51+00:00
> The attacker HTTPS contemplates controls whether victims see SYN+ACK packets in response to their 80/tcp SYNs.

This informationally dense and adventurously worded sentence is the kind that you can only understand if you already understand it, it feels like. I certainly can't unpack it without getting my hiking gear on. Not this rainy morning, though, may the transport layer gods forgive me.
by timr | 2025-12-31 08:51:17+00:00
Good question. No strict line, and it's always going to be subjective and a little bit silly to categorize, but when I'm debating this argument I'm thinking: a product that does not exist today (obviously many parts of even a novel product will be completely derivative, and that's fine), with multiple views, controllers, and models, and a non-trivial amount of domain-specific business logic. Likely 50k+ lines of code, but obviously that's very hand-wavy and not how I'd differentiate.

Think: SaaS application that solves some domain specific problem in corporate accounting, versus "in-browser speadsheet", or "first-person shooter video game with AI, multi-player support, editable levels, networking and high-resolution 3D graphics" vs "flappy bird clone".

When you're working on a product of this size, you're probably solving problems like the ones cited by simonw multiple times a week, if not daily.
by yellow_lead | 2025-12-31 08:52:39+00:00
I might be wrong but I think it's like this..

A finds a block after 1 minute, then powers off and waits for another minute. They reveal the block after 2 minutes.

B searches for the block for 2 minutes.

After 2 minutes, A has used 1 minute of their compute, and B has used 2.
by shiveeshfotedar | 2025-12-31 08:53:04+00:00
You are right. This is just an exploration. The main motivation was to play with the pressure input from Apple Taptic engine. I was trying to applying "physical" properties to virtual objects.

Designing for visual is what is missing, I would want to work on the visual plus audio to compliment the "heaviness" I think someone else also mentioned in the comments on experiments with audio to express physicality to
by onion2k | 2025-12-31 08:54:09+00:00
Pictures on websites have always been either stolen from other sites a long time ago, then stock pictures from Unsplash or Pexels for a while, and now they're AI because that's just the easiest way to get images now. I don't think it's fair to developers to assume that the ones using AI generated images are also vibe-coding the software though. It's not like the ones writing hand-crafted artisanal code are also out with their cameras taking pictures for the website after all.

FWIW I don't disagree with you. I also assume people are vibe-coding things. I just don't think it's fair to assume that means the devs are taking that code and firing it straight up to a production server. They're probably fixing the problems and making it better. I know I do that in my code (most of the time.)
by hulitu | 2025-12-31 08:55:00+00:00
> Multicore systems have been fairly standard for the last 10+ years, and while you occasionally notice a misbehaving process hog an entire core, it never visibly impacts system performance because there are still several other idle cores, so you don't notice said "hogs."

Except on Windows laptops. Where, although the computer is idle, your favourite svchost.exe will heat your system and trigger thermal trottling.
by sidkshatriya | 2025-12-31 08:55:10+00:00
All the standard libraries use naked ^T .

Maybe(T) would be for my own internal code. I would need to wrap/unwrap Maybe at all interfaces with external code.

In my view a huge value addition from plain C to Zig/Rust has been eliminating NULL pointer possibility in default pointer type. Odin makes the same mistake as Golang did. It's not excusable IMHO in such a new language.
by oliwarner | 2025-12-31 08:55:27+00:00
I understand the weirdness of picking out a couple of examples, but I'd expect they'll confiscate and destroy any DIY SOC/microprocessor encased in a bundle of wires or aerials. An exhaustive list is tedious, a class would undoubtedly catch random consumer electronics.

They don't mention cookware or DIY either but try entering with a pressure cooker and a bag of nails. They won't pause to look for explosives.

For the sake of one day in one place, it's not worth getting angry about.
by nobodywillobsrv | 2025-12-31 08:56:58+00:00
Thank you for saying this. I often find this "glib" explains of ML stuff very frustrating as a human coming from an Applied Math background. It just makes me feel a bit crazy and alone to see what appears to be a certain kind of person saying "gosh" at various "explanations" when I just don't get it.

Obviously this is beautiful as art but it would also be useful to understand how exactly these visualizations are useful to people who think they are. Useful to me means you gain a new ability to extrapolate in task space (aka "understanding").