MurphyA/hacker-news huggingface dataset:
by PetitPrince | 2025-08-25 07:28:53+00:00
I barely remember this trivia (a bit from Tom Scott podcast?) but the reason you don't see pills sold by the bottle in Europe is that pharmacy are required by law to sell them under blister. The reason is that this little it of friction apparently significantly reduce the suicide rate. And thus for me euro eyes having someone taking pills by the handful seems very wrong.
by seanwilson | 2025-08-25 07:29:47+00:00
> It also works the other way around, where you can change the lightness value to create various color shades and there is no hue or saturation drift unlike in other color modes.

> In the example above, you can see that the OKLCH colors maintain consistent blueness across all of the shades, while in the HSL example, the lighter shades drift to purple and the darker ones muddy out towards grayish.

I see lots of automatic palette generator projects where the shades of each color are generated with OKLCH by only varying the lightness value on some chosen base color. The problem I find is if you look at popular open source palettes, the way the hand-crafted hue and saturation values vary across the shades for different hues isn't that predictable (the curve of the hue/saturation values over shades aren't straight lines or typical easing curves).

Hawking my own tool (using HSLuv with RGB for now), but you can load and compare the hue and saturation curves as they vary over shades of a color using example palettes from Tailwind 3, USWDS and IBM Carbon, plus tweak each shade to your liking:

https://www.inclusivecolors.com/?style_dictionary=eyJjb2xvci...

So I think OKLCH is a nice starting base for palettes and a quick way to generate a color you need in CSS, but I think designers will always need to tweak the hue and saturation of each shade so it looks just right as there's no single right answer you could encode into the color space.
by deathanatos | 2025-08-25 07:30:19+00:00
Pagination: do not force me to drink from a paginated coffee stir. I do not want 640 B of data in a response, and then have to send another response for the next 640 B. And often, pagination means the calls are serialized, so I'm just doing nothing but waiting for round trip latency after round trip latency for the next meager 640 B of data.

Azure I'm looking at you. Many of their services do this, but Blob storage is something else: I've literally gotten information-free responses there. (I.e., 0 B of actual data. I wish I could say 0 B were used to transfer it.)

When you're designing, think about how big a record/object/item is, and return a reasonable number of them in a page. For programmatic consumers who want to walk the dataset, a 640 KiB response is really not that big, and I've seen so many times responses orders of magnitude less, because someone thought "100 items is a good page size, right?" and 100 items was like 4 KiB of data.

> If you have thirty API endpoints, every new version you add introduces thirty new endpoints to maintain. You will rapidly end up with hundreds of APIs that all need testing, debugging, and customer support.

You version the one thing that's changing.

As much as I hate the /v2/... form of versioning, nobody reversions all the /v1/... APIs just because one API needed a /v2. /v2 is ghost town, save for the /v2 APIs.
by _Algernon_ | 2025-08-25 07:31:17+00:00
The issue with social media isn't the free flow of information but the amplification of certain information — the information that tends to make you angry. The amplification is the cause of echo chambers, spreading of misinformation and disinformation, etc. It makes possible what in essence is a distributed denial of service attack on the human brain.

Sure, chain emails existed before, but they had a pretty low ceiling of how many it would reach. It didn't scale well.

In other words, you should regulate the amplification mechanism ("algorithm"), not what information is allowed to be said. I think forcing platforms to go back to subscribe+reverse chronological feeds would be a pretty good start.
by koliber | 2025-08-25 07:32:18+00:00
Once upon a time there was an email MTA (email server) called qmail. It had an architecture that was surprising and Daniel Bernstein documented his philosophy. It left an impact on me by showing me how we can rely on the OS-supplied facilities to accomplish a lot. I don't think qmail is some shining star that will teach you everything you need to know about software design. It is an interesting case study to add to your repertoire.

See https://en.wikipedia.org/wiki/Qmail
by bigiain | 2025-08-25 07:33:42+00:00
Normally, unless (as I mentioned in another reply) you buy your SIM at a going-away party for a foreign student or backpacker who's leaving the country and doesn't need a local mobile number any more.

(Then you just need to worry about the CCTV recording of the place where you pay cash tor the pre paid Visa cards you use to top up the prepaid SIM...)
by cantor_S_drug | 2025-08-25 07:33:53+00:00
> Creative destruction is brutal math. The capital? Gone. Completely vaporized. But infrastructure isn’t stock certificates. Those fiber optic cables didn’t vanish when Pets.com did. The data centers kept humming after Webvan went dark. All that ‘wasted’ investment had already transformed into something physical. The pipes, servers, and networks that would become the foundation for Google, Facebook, Amazon Web Services, and the digital transformation that actually did change everything. The bubble’s victims unknowingly funded the future. They just paid a decade too early.

The flow of money to spur innovation is exactly like "Cambrian Explosion". We should do this more often, with biotech and future fields to come.
by miki123211 | 2025-08-25 07:34:03+00:00
Knives help you cook delicious food, knives can also help you stab your partner to death. This doesn't mean knives should be banned (though, ironically enough, the UK believes otherwise).

Different technologies are in different places on the "societal usefullness versus danger" spectrum. Nuclear weapons are obviously on the "really fricking dangerous" side, no country lets a civilian own them. Forks are obviously on the "useful" side, even though you can technically use one to gouge somebody's eye out.

What's the right tradeoff for guns, printing presses, typewriters and social media companies is a matter of some debate.
by mgaunard | 2025-08-25 07:34:22+00:00
Let's not be overly dramatic.

The main misinformation you see on the Internet is attention-grabbing women pretending to care about you and people trying to misrepresent mass-made white-label Chinese stuff as indie original designs.

Few people spread hate other than to say our society is a disaster and we'd be better off with communism or anarchy which has been typical discourse of young men since the dawn of the modern age.

In general I've found much higher quality of content on the Internet than elsewhere, with genuine testimonies, in-depth analyses, and a variety of opinions and experiences. Whenever I watch the news on TV I am appalled by how superficial and one-sided it is, sometimes misunderstanding the issue altogether, completely out of touch and misrepresenting reality.
by sim7c00 | 2025-08-25 07:35:02+00:00
its not weird .its companies putting themselves in places where regulations favor their business models.

it wont be all chinese companies or ppl doing the scraping. its well known that a lot of countries dont mind such traffic as long as it doesnt target themselves or for the west also some allies.

laws arent the same everywhere and so companies can get away with behavior in one place which seem almost criminal in another.

and what better place to put your scrapers than somewhere where there is no copyright.

russia also had same but since 2012 or so they changed laws and a lot of traffic reduced. companies moved to small islands or small nation states (favoring them with their tax payouts, they dont mind if j bring money for them) or few remaining places like china who dont care for copyrights.

its pretty hard to get really rid of such traffic. you can block stuff but mostly it will just change the response your server gives. flood still knockin at the door.

id hope someday maybe ISPs or so get more creative but maybe they dont have enough access and its hard to do this stuff without the right access into the traffic (creepy kind) or running into accidentally censoring the whole thing.
by _flux | 2025-08-25 07:35:26+00:00
There's https://openipc.org/ , if open source camera firmware is of interest to you. I actually ordered a few supported IP camera modules (basically complete IP cameras but without the case) from Aliexpress and tested that I'm able to compile a firmware, I shall see if I get it working once they arrive.

It's not quite clear to me what the firmware is actually able to do, though. Apparently its motion detection is very basic, though, so you'd need to use e.g. Frigate for that.
by koliber | 2025-08-25 07:36:17+00:00
It's not something I spring on all candidates. I only ask the ones who seem suspicious. I recently started explicitly mentioning WHY I am doing it and stating my desire to not support the murderous regime of North Korea. The call always drops abruptly.

Re: fixed cam, I'm pretty sure you have a cell phone that you could walk over to a window, take a snap, and show me on a webcam if push came to shove.
by _Algernon_ | 2025-08-25 07:37:18+00:00
This argument is basically the same as saying that stores should be allowed to sell alcohol to kids because it's the parents' responsibility to guard the store so their kids don't buy it.

Kids do not only have access to their own devices (for one, these days schools provide them with devices that parents have little say over often with only trivial filtering). And that is assuming the best case scenario where parents have the technical know-how to put in place non-trivial limits. Most don't.
by sim7c00 | 2025-08-25 07:37:53+00:00
it seems more looping possible answers, just going back to same bad answers hoping you forgot you gave it. we're training incredibly expensive and eloquent goldfish.

maybe this is the effect of the LLMs interacting with eachother, the dumbing down. gpt-6 will be a markov chain again and gpt-7 will know that f!sh go m00!
by kragen | 2025-08-25 07:37:54+00:00
Witness the chaos you have unloosed upon the world; not even little Lua is safe:

> =dd-{"Todo","es","bueno"} /call("gsub", "[aeiou]", "i") /call("rep", 2) /call "lower" {"tiditidi", "isis", "biinibiini"} > ps={{x=5, y=7}, {x=5, y=4}, {x=3, y=4}} > =dd-ps/get"x" {5, 5, 3} > =dd-ps/where {y=4} {[2] = {y=4, x=5}, [3] = {y=4, x=3}} > =dd-ps/group "x" {[5] = {{x=5, y=7}, {x=5, y=4}}, [3] = {{x=3, y=4}}} > =dd-ps/group "x"/get(1) {[5] = {x=5, y=7}, [3] = {x=3, y=4}} > =dd-ps/group "x"/map(get"y") {[5] = {7, 4}, [3] = {4} > =dd-ps/group "x"/map(get"y")/map(max) {[5] = 7, [3] = 4} > =dd-ps/group "x"/map(get"y")/map(max)/min 4 > =dd-ps/group "x"/map(get"y")/map(max)/sum 11 > =dd-ps/where(function(p) return 9 < p.x+p.y end) {[2] = {y=6, x=8}} > function bytes(s) return {s:byte(1,#s)} end > =dd-{"hey", "you"}/map(bytes) {{104, 101, 121}, {121, 111, 117}} > =dd-{"hey", "you"}/map(bytes)/flat/freq {[111] = 1, [101] = 1, [104] = 1, [121] = 2, [117] = 1}
by cturner | 2025-08-25 07:38:33+00:00
Summary: The mainstream ear has changed. As a result, traditional choral compositions have become less accessible to mainstream audiences, but the form of choral music remains accessible. People who participate in choral music train themselves into a traditional taste as a side-effect of participation.

Sung pentatonic music seems to be accessible to everyone from a young age.

For most things beyond that, our brains need exposure to the form to be able to appreciate it. This affects rhythm, melody and instruments.

My three-year-old hates the sound of guitar distortion. I am confident he will acclimatise to it.

Accessibility of traditional choral music will be influenced by what the audience knows. People who grew up with sung carols on at Christmas will be more open to it than people who have grown up with post-war pop Christmas.

Everyone now living in the developed world has been exposed to beat-backed major/minor easy-listening music by television, films, car radio and shopping centres. This is recent. People a hundred years ago did not have the same ear. The large choral work Elijah was easy-listening to audiences who had heard sung mass hundreds of times.

In 2025, a church music director wanting a twentieth century composer would schedule Rutter easily - Rutter writes music that suits the ear of pop Christmas. They would prefer Howells if they thought the congregation had a more traditional ear. They would schedule Messiaen only for a particular occasion.

The OP wrote - "It has struck me that most recommenders and lovers of choral music [are] themselves singers (or conductors) of choral music."

It is easy to get involved, so many people who are curious get involved. Once involved, people will find their tastes becoming traditional as a side-effect of exposure to the repertoire. This creates a running division between people who participate and the mainstream.

Note that before seventy years ago, almost everyone who loved music would have participated in it, even if only singing to young children or helping out at church. Outside royal circles, the practice of loving music yet being a pure consumer is a recent phenomenon.

Some forms of choral music will have a different relationship with pop than high-church music. For example - Gospel, accompaniment to rock songs like /Under the Bridge/ or /You can't always get what you want/. The Beatles were a mainstay of post-war pop, but /Because/ on Abbey Road has the character of a Renaissance choral work - George Martin was classically trained.

The mainstream ear may be making another shift now to more sophisticated beats with closer melodies (smaller pitch jumps) and simpler chords. If it happens, we will see evidence of it in popular Christmas music. As far as I know there has not been a new addition to that repertoire since /All I want for Christmas is You/ which is c20 pop.
by throwawayffffas | 2025-08-25 07:40:00+00:00
> If you ban a residential proxy IP you're likely to impact real users while the bad actor simply switches.

Are you really? How likely do you think is a legit customer/user to be on the same IP as a residential proxy? Sure residential IPS get reused, but you can handle that by making the block last 6-8 hours, or a day or two.
by twhb | 2025-08-25 07:40:24+00:00
Great post!

Also check out oklch.com, I found it useful for building an intuition. Some stumbling blocks are that hues aren’t the same as HSL hues, and max chroma is different depending on hue and lightness. This isn’t a bug, but a reflection of human eyes and computer screens; the alternative, as in HSL, is a consistent max but inconsistent meaning.

Another very cool thing about CSS’s OKLCH is it’s a formula, so you can write things like oklch(from var(--accent) calc(l + .1) c h). Do note, though, that you’ll need either some color theory or fiddling to figure out your formulas, my programmer’s intuition told me lies like “a shadow is just a lightness change, not a hue change”.

Also, OKLCH gradients aren’t objectively best, they’re consistently colorful. When used with similar hues, not like the article’s example, they can look very nice, but it’s not realistic; if your goal is how light mixes, then you actually want XYZ. More: https://developer.mozilla.org/en-US/docs/Web/CSS/color_value....

Also, fun fact: the “ok” is actually just the word “ok”. The implication being that LCH was not OK, it had some bugs.
by BLKNSLVR | 2025-08-25 07:40:36+00:00
Blocking a residential proxy doesn't sound like a bad idea to me.

My single-layer thought process:

If they're knowingly running a residential proxy then they'll likely know "the cost of doing business". If they're unknowingly running a residential proxy then blocking them might be a good way for them to find out they're unknowingly running a residential proxy and get their systems deloused.
by praptak | 2025-08-25 07:40:52+00:00
"I'm seriously thinking that the CCP encourage this with maybe the hope of externalizing the cost of the Great Firewall to the rest of the world. If China scrapes content, that's fine as far as the CCP goes; If it's blocked, that's fine by the CCP too (I say, as I adjust my tin foil hat)."

Then turn the tables on them and make the Great Firewall do your job! Just choose a random snippet about illegal Chinese occupation of Tibet or human rights abuses of Uyghur people each time you generate a page and insert it as a breaker between paragraphs. This should get you blocked in no time :)
by jam_cha123 | 2025-08-25 07:41:01+00:00
I made a Job Search App that helps you customize your CV to a specific company and helps you summarize google searches on said company too.

It uses OpenAI and Google Search API to summarize and adapts your CV to said company.

It uses anonymous login so no login needed (i might add login page later) Hope you enjoy and feel free to other feedback, bye
by heavyset_go | 2025-08-25 07:41:14+00:00
> Every platform these days is full to the brim with misinformation and propaganda (which ends up in mainstream media as well), deliberately making many of us hateful and sometimes violent. The free flow of information is undoubtedly being used for harm.

I remember what it was like before the internet, and misinformation and propaganda were just as pervasive and perverse, except you couldn't be sure about it unless you read a book, did actual research or talked to an expert, and you sure as shit weren't going to change anyone's mind or at least be able to say "you're wrong and here's why" when you hear obvious bullshit.

IMO, there was a big change in the nature of harmful misinformation once you could Google things like "did convenience store workers really celebrate on 9/11" when that particular urban myth spread in the aftermath of the attack.

I do agree that the nature and vector of misinformation and propaganda are different. The ways in which we're wrong and dumb changed, but we were just as wrong and dumb before the internet, and we were statistically more hateful and violent then, too.
by mschuster91 | 2025-08-25 07:41:20+00:00
> Seeing a woman being gang raped, choked and beaten, "consentually"? That's a new problem.

That is not that new either, BDSM has been a thing for decades. "Histoire d'O" for example came out in 1975, the literary work it's based on is even older. And the panic back then about these books is exactly the same kind of bullshit we're seeing today.

> The question is how to prevent that harm without depriving adults of their rights and liberties, not whether such a thing is harmful to a child's future ability to form healthy relationships.

Teach your kids about sexuality from early age. That also helps cutting down on cases of sexual abuse - think of all the clergy and sports trainer scandals. A lot of these failed prosecution or went on far too long because the kids lacked the vocabulary to describe what happened to them, or didn't recognize that what they went through was wrong.

The problem is, anything veering into this direction is immediately attacked by Conservatives, religious extremists and the likes.
by tuananh | 2025-08-25 07:42:32+00:00
I built hyper-mcp[1] as side project with each MCP as a WASM plugin.

The idea is each plugin runs in their own wasm vm with limited network/file system access. Plugins are written in any language, as long as they can compile to WASM and publish to OCI registry (signed & verified with sigstore)

Recently, Microsoft released their own version of hyper-mcp named Wassete[2]

Ideally, I want to make it like a gateway with more security & governance features in this layer.

[1]: https://github.com/tuananh/hyper-mcp [2]: https://github.com/microsoft/wassette
by rnhmjoj | 2025-08-25 07:44:33+00:00
A /64 is the smallest network on which you can run SLAAC, so almost all VLANs should use this. /56 and /48 for end users is what RIRs are recommending, in reality the prefixes are longer, because ISPs and hosting providers wants you to pay like IPv6 space is some scarse resource.

[1]: https://www.ripe.net/publications/docs/ripe-690/
by skylurk | 2025-08-25 07:44:33+00:00
What's hard to appreciate about this?

https://www.youtube.com/watch?v=nMLkrTJ9BZI

Sure, the HALO track has instrumental sections too but music is all about contrast.

Frankly a lot of purely monastic stuff was boring on purpose, that was the whole point. They also wore the same garb every day for decades.
by gligorot | 2025-08-25 07:45:53+00:00
I would argue it disrupted engineering. So many videos on YouTube can be found of people cutting out expensive molds (for example) and getting a product to market faster and cheaper. And this is happening in companies as well (Prusa released an enterprise grade printer not long ago).

At the same time, Printables and MakerWorld are flooded with…toys. They gamified their platforms and a ton of “thingy” models, ex. generic planter pots (some of them just renders, never even printed!) is the result.

This certainly hides the benefit but I very much think it’s there.
by thisisit | 2025-08-25 07:46:12+00:00
First, what came out of these bailouts?

Each example industry continues to require some sort of government intervention to remain solvent at one point or the other. Auto/banks/saving and loans getting bailouts in 2008/2009. Airlines in 2020/2021 due to COVID etc. These industries employ a lot of people and now have become a political hot zone for voters so there is no way to remove these backstops now.

And whether these industries remain competitive globally is another question. Because it is always funny to hear countries accuse each other of propping up one industry or other through government intervention.

Second, these were industry wide bailouts. This action is not.

The genesis of CHIPS Act is a 2020 deal to onshore TSMC. The idea was to further persuade Samsung and Intel to produce chips in US through tax benefits, loan guarantees and grants. But now with US taking a stake in Intel, the strategy for onshoring TSMC and Samsung becomes unclear. Maybe the idea is to use tariffs to make TSMC and Samsung uncompetitive if they don't onshore but that is a bad idea. Because if Intel finds it easier to just coast on "national security" and continue producing last gen chips, they are going to do that and lower innovation even more. This is a win-win for Intel though.