MurphyA/hacker-news huggingface dataset:
by reducesuffering | 2025-09-07 22:04:23+00:00
There are a plethora of hormonal problems being observed with no clear answers what's causing them or why. We have generational testosterone decline and sperm counts falling. Puberty age has been dropping consistently. Could be a mix of the following: microplastics, pesticides, sunscreen chemicals, tap water pollutants, endocrine disrupting chemicals on receipts and cans, etc.

Many times in history things weren't obvious until years of damage had passed. You could also say, if they were remotely safe, it would be pretty obvious, but the FDA hasn't been able to determine that. Right now the evidence is unknown, proceed at your own risk. And you have an alternative with minimum blood absorption right next to it in the aisle.
by skippyboxedhero | 2025-09-07 22:04:26+00:00
That isn't how this can work. If you are running a service and then find out that AWS is spamming you every 100ms to find out what your CPU is doing (or calling out every 100ms) then people would be quite unhappy.

The majority of these massive bills are due to traffic, there is pretty much no way that AWS could stop your server in time...if they had the choice, which they don't.

I think my original point was unclear: I am pointing out that if you just think about how this stuff can possibly work, billing alerts can not work in the way you expect. The alert is updated async, the horse has bolted and you are trying to shut the gate.

I don't use AWS for personal stuff because I know their billing alerts won't stop me spending a lot. Don't use them if that is a concern.

I do use AWS at work, we are a relatively big customer and it is still very expensive for what it is. The actual hardware is wildly overpriced, their services aren't particularly scalable (for us), and you are basically paying all that overage for network...which isn't completely faultless either. Imo, using them in a personal capacity is a poor idea.
by bdn_ | 2025-09-07 22:04:29+00:00
New.css developer here, thanks for sharing :)

I’ve been thinking about creating a CSS tool somewhere about halfway between new.css and Pico CSS for very basic page layout tools (containers, callouts, menu bars, etc) that still focuses on being extremely small and performant.

I feel that a tool like that would be helpful for laying out a simple but functional site (sourcehut’s site [1] comes to mind) where you need a few basic layout tools but don’t need all of Bootstrap.

[1]: https://sourcehut.org/
by librasteve | 2025-09-07 22:04:46+00:00
Two reasons - (i) tailwind is not really a good start if you want a nice set of design patterns already built for you (sure there are good tailwind component libraries, but HARC is an antidote to JavaScript I hope) and (ii) HARC leans into FP (Air::Functional) for HTML code and a semantic HTML library such as Pico helps to avoid clutter in the source code and imo improves maintainability. But, unlike TW you need to submit to some kind of structure for your style … but HARC components help to maintain a good locality of behaviour (LOB).

Nevertheless HARC will add some TW themes soon - next on the list after Bulma.
by seabass-labrax | 2025-09-07 22:04:49+00:00
Good point! Wasn't the Sony PlayStation significant for being the first console to ship with a C API from the manufacturer, or am I misremembering? I always thought that Net Yaroze sounded fantastic but never ended up getting one.

Oh, and another question on that topic: did you ever write self-modifying code for games, or had that already gone out by 2000?
by Sharlin | 2025-09-07 22:05:16+00:00
Additional 1991 gadgets you now have in your phone:

- Color TV (screen's a bit tight though)

- VCR

- Pager

- GPS (very recent and expensive in 1991)

- In-car navigation (just barely available in 1991)

- Portable cassette player

- Portable video game console (GameBoy launched in 1989)

- Modem and sound card for the Tandy

- SGI workstation for rendering 3D graphics
by AnimalMuppet | 2025-09-07 22:05:37+00:00
Adaptive quadrature is an algorithm for numerical integration. You have a function of one variable, and two endpoints of a range, and an error limit. You want to return the value of the integral of that function over that range, a value that is no further from the correct value than the error limit.

What you do is, you do a three-point approximation and a five-point approximation. The difference between the two gives you a fairly good estimate of the error. If the difference is too high, you cut the region in half, and recursively call the same function on each half.

That calling twice is what makes it hard for a while loop. I mean, yes, you could do it with a work queue of intervals or something, but it would be much less straightforward than a recursive call.
by pylua | 2025-09-07 22:06:34+00:00
The solution is to hire and train people inside the country. To build the knowledge base and skills within the country.

I totally understand that it is universally abused. I’ve seen it abused in white collar work. Companies need to adjust economically and plan their budgets accordingly.

Honestly, in many parts of the country there is no hope, no jobs, and just drugs. It’s time to invest in the U.S. citizen again.

I’m happy there is a crackdown because I have seen U.S. jobs lost due to this behavior. It’s actually the only reason I voted for trump.
by d10 | 2025-09-07 22:07:11+00:00
When I had this need I put together https://src.d10.dev/lotter. It takes as input ledger-cli entries and puts out entries with lot info added, which you can then run through `ledger`. You can quickly scan its output and see if what it does makes sense to you.

The repo hasn't seen activity for a while, but AFAIK it still works. I just haven't needed it myself recently.
by wduquette | 2025-09-07 22:08:39+00:00
It’s true. I remember the glory days of the “Blogosphere”: the Truth-Laid Bear’s blog ecosystem (I was a finny fish at one point, IIRC), USS Clueless, 2Blowhards, servers going down under the weight of an Instalanche, and many many others. Some are still around; I see posts from Iowahawk once in a while. But it wasn’t all personal diaries. There were pundits, essayists about every topic, diarists; me, I reviewed books. It was a heady time, and great fun.
by bboygravity | 2025-09-07 22:08:45+00:00
I feel 1200 is not that bad for what it offers. Also if we're talking Fenix 8: there's a cheaper version that has the same software and features but is like 900 or something (simpler design and hardware). The 1200 USD is the most expensive OLED + Titanium with Sapphire glass edition AFAIK.

It beats having to buy a running watch AND a scuba diving computer AND an oxygen saturation sensor AND some kind of sleep monitor. And it's nice for surfing and sleeping better and jetlag recovery tips and heat aclimation and checking the pressure sensor to see when airplane cabin pressure starts dropping and tons more. After a while I noticed tons of other random interesting things too: when HRV goes down for a few days, I'll know I'll be sick 1 to 2 weeks later, when resting heart rate is like 55 or higher (high for me) I probably did exercise too close to bed time or am having sleeping probems, etc.

IMO super cool that it does all of those and more very well.
by BeFlatXIII | 2025-09-07 22:08:55+00:00
Where is a 10×10 storage locker $5k/yr? That's a bit over $400/month! About a decade ago, I rented a 10×15 storage locker for $130/month, or $1560/year. Surely inflation has not been that bad to triple the price. Perhaps it's a geographic thing.
by libraryofbabel | 2025-09-07 22:08:58+00:00
I used a similar map ten years ago when teaching a class for gen ed freshman undergraduates about “the internet” (mostly cultural topics with a bit of technical flavor). It’s interesting how things have changed a little since then - for example, there used to be no direct link between South America and Africa (a fact that we confirmed in my class with a traceroute). Now there are four cables.

The submarine cable map was consistently a student favorite and a big “wow” moment in the class. Many of them said they had thought all the Internet traffic went over satellite.
by smelendez | 2025-09-07 22:12:33+00:00
Phones especially killed the giftable gadget market.

Department stores and Radio Shacks used to be full of little golf computers and VHS rewinders and electronic Scrabble dictionaries and sports trivia games around Father’s Day and Christmas. It would be unusual in most families, I think, to give someone an app for Christmas.

They’ve also changed our relationship with industrial design. There are probably fewer people designing gadgets, and consumers are less used to acquiring a new device and learning how to use it. I didn’t grow up in a particularly gadgety household, but by the time I was 12 I had learned to work a pretty wide variety of electronics with different interfaces and physical media. Nowadays even your TV is basically a smartphone with a remote.
by kiitos | 2025-09-07 22:12:47+00:00
huh? "list 20 biggest files in the current directory" is a search query, or a llm prompt input, it's not any kind of precise incantation.. ?

I mean if greppers is just translating queries like that to related command-calls, that's fine but bizarre and nothing that would require a community-contribution-based database of mappings, that's just a search engine and/or llm mapping problem...
by Bender | 2025-09-07 22:13:31+00:00
One direction to venture would be running rsyslog on every node, using regex to match all the known patterns and use various plugins/addons to send all the applications to the local rsyslog instance using a local spooler and then encrypt the rsyslog upstream to centralized logging servers. Rsyslog supports using a spooler so that if the up-stream server is offline for whatever reason the logs are spooled locally and then resume when upstream is online.

Regex matching on logs is slow but if performed on every node the CPU load is distributed vs. doing this upstream. Configuration management can push the regex rules to all the nodes. This won't help with unknown-unknowns but those can be added quickly to all nodes through configuration management after peer review.

Rsyslog also supports encrypting the log stream so that secret leakage is limited to the sending nodes and the central nodes and it checks a few boxes.

Another thing that helps is limiting to warn and above sent upstream and using an agent on the local nodes to monitor for keywords in the range of info to debug to let someone know to go check the node logs. Less junk on the centralized servers that may have SOC1/SOC2/PCI/FEDRAMP log retention requirements. One can not leak what is not sent in the first place.
by dragonwriter | 2025-09-07 22:13:53+00:00
That whole /8 is reserved for loopback, but sometimes (usually?) only 127.0.0.1 is implemented as a loopback if you know that that’s true of your equipment, you could use the rest of that space for local addresses instead of 192.168/16, 172.16/12 and/or 10/8.
by opo | 2025-09-07 22:14:18+00:00
>Japan's decision to surrender in Aug'45 was based on when the Japanese knew then, not on what historians know now.

Nobody is saying anything different.

>...And several previous Japanese conclusions of "the USSR will not be able to do X" had proven catastrophically wrong. For example …

The Japanese had already moved all of their experienced troops from Manchuria before the invasion. They were surprised that the USSR would break the Soviet–Japanese Neutrality Pact, but the defense of the home islands was their main concern at that point.

As your source says:

>...The Soviet entry into this theater of the war and the defeat of the Kwantung Army were significant factors in the Japanese government's decision to surrender unconditionally on 15 August, as it became apparent that the Soviet Union had no intention of acting as a third party in negotiating an end of the war on conditional terms.

The Japanese knew the USSR was not a threat to the main islands and the USSR knew they would likely fail if they tried to invade Hokkaido. The Japanese had hopes that the USSR would be willing to negotiate with the Allies on their behalf, but once the Soviets declared war was, they knew that would not happen.
by HarHarVeryFunny | 2025-09-07 22:16:34+00:00
Mind boggling that they would roll it out at scale without testing.

Using open ended natural language to make a multiple choice selection (choose a taco) seems like a way to massively complicate a simple problem.

What next - have a humanoid robot bring the food out to the car?

Looking forward to more "AI Darwin Award" stories!
Ask HN: Why is there no native SSH hook to run a local command before connecting
by tetris11 | 2025-09-07 22:16:37+00:00
The `LocalCommand` parameter only runs a command on the local machine after the connection is established.

Is there no pre-connection hook?

My use case is simply that I do port knocking to expose my ssh port, and want this working automatically at the SSH config level so that I can use it transparently from other utilities (e.g. Ansible inventory, Emacs over TRAMP)
by brudgers | 2025-09-07 22:16:55+00:00
Each member has to learn to grok community norms.

If you think about a behavior, and wonder if it is within community norms, not behaving that way is the simplest thing that might work.

Or you can always ask the moderators using the |contact| link at the bottom of every page.

And sure you can just do it and find out what happens. If you do that you have no reasonable complaint and “sorry” is the best response.
by fluoridation | 2025-09-07 22:17:15+00:00
I thought you were going to say "but they ignored the $100 textbook on the dashboard" or something. The anecdote doesn't demonstrate anything. How much of an inconvenience the theft was for you is not a factor for the thief. They got $10 by chucking a rock through a window, and they only lost the opportunity cost of choosing a different victim.
by dns_snek | 2025-09-07 22:17:17+00:00
Such is the nature of probabilistic systems. Generally speaking, LLMs read the top N search results on the topic in question and uncritically summarize them in their answer. Emphasis on uncritically, therefore the quality of LLM answers is strongly correlated with the quality of top search results.

Relevant blog post: https://housefresh.com/beware-of-the-google-ai-salesman/
by Aloha | 2025-09-07 22:18:00+00:00
I have 4 clock radios at home, and 2 tabletop radios that are clearly derived from a clock radio - they sound decent, and have reasonably good audio quality.

I've been an avid FM radio listener most of my adult life (NPR mostly), while I can really no longer stand most of NPR programming, when I wanted to do whole house music, I did so with an small sound mixer fed into FM Modulator which in turn fed into coax and an small antenna.
by kannanvijayan | 2025-09-07 22:18:30+00:00
Varint encoding is something I've peeked at in various contexts. My personal bias is towards the prefix-style, as it feels faster to decode and the segregation of the meta-data from the payload data is nice.

But, the thing that tends to tip the scales is the fact that in almost all real world cases, small numbers dominate - as the github thread you linked relates in a comment.

The LEB128 fast-path is a single conditional with no data-dependencies:

if ! (x & 0x80) { x }

Modern CPUs will characterize that branch really well and you'll pay almost zero cost for the fastpath which also happens to be the dominant path.

It's hard to beat.
by specialist | 2025-09-07 22:18:52+00:00
Yes and: Requiring genuine parts reduces risk of silent hardware pwnage. Which is a no-negotiable requirement these days.

That said...

I demand that Apple makes genuine parts available to end users and 3rd repair shops.

And being 100% pro Right to Repair, I support repairs with non-genuine parts.

For peace of mind, have your gear repaired by Apple. For the cost sensitive and tinkerers, you have options.
Show HN: Semanticcache – A high-performance semantic caching library for Go
by botirk | 2025-09-07 22:19:01+00:00
I built semanticcache, a Go library that uses vector embeddings to cache and retrieve semantically similar content. It’s designed for LLM applications, search systems, and other use cases where semantic similarity matters.

Features include multiple backends (in-memory LRU, LFU, FIFO, Redis), OpenAI embedding integration, vector similarity search with pluggable comparators, extensibility for custom backends and providers, type-safe generics, and batch operations.

You can cache responses or documents with semantic lookup, use custom similarity functions, and choose between in-memory or Redis persistence.

Repo: https://github.com/botirk38/semanticcache
by simne | 2025-09-07 22:19:02+00:00
> all that still needs code

Nope.

It's 2025 outside.

Google "Visual Scripting", "Unreal Blueprints". It is now possible to make game literally without writing any STRING of code.

Second, with development of AI more and more appearing "no-code" solutions, in some cases even capable deliver app from blueprint painted with pencil on paper.
by ludicity | 2025-09-07 22:19:08+00:00
I've interacted with a lot of reasonably randomly selected companies after starting a consultancy last year, and honestly yes, 80% of software developers are incompetent.

It's honestly a stretch to say they're software developers as you're probably imagining, but if you walk into a random office, most people with that title won't use version control, won't ever ship, and are generally a bit concussed.

It can be hard to imagine because many times, when we find competent teams, many of the members have never directly experienced a truly average team, as the culture one acquires on those teams makes it hard to ever be accepted on a good team (frequently the weaker developers don't even understand there's anything lacking in their skillset).

I'm more sympathetic now than I was a year ago, but it's also pretty unacceptable when you remember they work at hospitals and the government!
by vehemenz | 2025-09-07 22:19:52+00:00
I appreciate strong opinions, but I appreciate good arguments even more. And there's just nothing here.

You're raising a bunch of meyerweb talking points from 2003, except why? WHY does markup need to be "semantic" in the sense that you mean? Actually, WHY? Provide a supporting argument that it makes a difference to developers or end users. Remember, we've all been doing it that way for years, and we switched to Tailwind. You need to have something more compelling to developers who have already made up their minds.

> Not only that, but it introduces useless abstractions that could've been avoided by just writing CSS directly. How is `.content-center` better than `align-content: center`?

There are several reasons, but media queries would be reason 1. Why is it useless, again? Remember, we can't tell what your high-level abstractions do without opening at least two files, plus we have to understand any inherited/cascading rules on top of that. If that complexity doesn't matter, then it's argument time again.

> It's making people forget how to use CSS

Tailwind relies on CSS for its class names. How would one use it without knowing CSS in the first place? Secondly, why would it be bad (argument time again)?

The reasons for Tailwind are well understood. It's way faster, trivial to pick up, and easier to maintain longterm, especially in a team environment, than bespoke CSS/DOM abstractions that have layers of hidden complexity. Now, what does your way of doing CSS offer? Remember, tons of people switched from older methodologies to Tailwind and have already priced in the benefits, small as they were.
by afpx | 2025-09-07 22:20:34+00:00
Actually, it's exactly that: they completely omit the values or conclusions that they don't agree with or understand. I hear it every day. They dismiss half of the country as 'extremist', 'far-right', 'uneducated' - those are the actual words I heard used today to describe the types of people who make up over half of my neighborhood.

A couple of days ago, I heard a host and a reporter literally mock and make fun of RFK Jr. when they should have been trying to educate him and his supporters. Trust in institutions (including the news) has completely eroded, and instead of trying to build it back, they double down on what hasn't worked.
by gerdesj | 2025-09-07 22:20:42+00:00
That is pretty daft. Surely, you should always send the intention rather than the mechanism when a dodgy medium is involved!

If the medium was ATM or hard wired ethernet then sure why not send button presses. Those are reliable media.

The obvious fix would be transmit "vol+1/Pressed" on button press and "vol+1/Release" on button release. On receipt of v+1 do just that and no more. Note a /Release to colour a widget correctly, perhaps. Holding down V+ would transmit multiple v+1 or use a wheel as an old school Walkman did to send actual values.

Nothing new is old or something 8)
by araes | 2025-09-07 22:20:59+00:00
Enjoy their quote midway through about how pointlessly miserly the Spectrum Holobyte people were about development. Made me bleak laugh a little.

> suddenly we really had to finish it by end of March, and they required us to work in-house in Chipping Sodbury seven days a week, 10 hours a day for several months. They didn’t give us any extra resources. In fact, we had to beg them to give us a more powerful computer to use, because my brother’s computer couldn’t handle it! My computer was having serious overheating problems. I had to remove the case and it crashed occasionally. They begrudged us one new computer for Nick and they stuck us in this tiny little room.

The Magic and Mayhem quote's pretty funny too about game dev, still seems to be the same.

> They said RPGs don’t sell, which was, of course, complete rubbish. They wanted to make it much more RTS-focused, partly because of Command & Conquer, which was very popular at the time. (...) We started to make it before Diablo came out, and it was also before Baldur’s Gate, which was the real milestone in RPGs.

And naturally the demise of Nintendo

> my boss was opposed to doing a sequel. He said the 3DS was dead and that we had to go with the PS Vita

3DS sells 76 million, PS Vita ... 10. Ghost Recon: Shadow Wars even sold "acceptably". 340,000 according to the data available.[1] Not exactly Mario Kart 7 or Pokemon, still acceptable for a third party.

[1] https://www.vgchartz.com/game/47651/tom-clancys-ghost-recon-...

It was an enjoyable read at least. Lots of standard horrible practices in the game development community, and some actually surprising ones. Such as, "they didn't even hire the X-COM people to work on any of the X-COM sequels?"
by skuxxlife | 2025-09-07 22:21:21+00:00
Purikura is not just taking photos of yourself in a photo booth. There is a strong cultural aspect to it, especially for school-aged girls, and I’m honestly surprised hasn’t really made it over to the US in any big way because it’s pretty fun.

The booths are large and fit 4-5 people. Even back in the early 2000s, they had fancy ring lights, touch screens, keyed-in green screen backgrounds, and automatic face retouching. They all had different themes as well. Arcades had/have whole floors of them, and sometimes would have costumes you could put on. Booths would often change seasonally, putting out different themes or gimmicks so you could come back and see different ones.

Once you take your photos, you get to decorate them on screens on the outside of the booth. You add digital stickers, write/draw on them, tweak the editing, and choose the layout you want. Then you print! They have scissors to cut up the pictures and divvy them out. The printed photos also have sticker backing so you can stick them to your cell phone, your journal, whatever.

Lots of girls collect them, swap with friends, and/or take them to commemorate particular events in their lives. It’s also a popular date activity, much like photo booths outside of Japan. But it’s a pretty far cry from the photo booths you’re describing. Honestly it’s a lot more similar to Snapchat, but like 30 years ago.