MurphyA/hacker-news huggingface dataset:
by EncomLab | 2025-04-26 14:01:11+00:00
My photoresistor nightlight can "see" that it is dark and it "knows" to turn on the light - not only does it not have training, it does not have any code!

And if you think that is amazing, my bi-metallic strip thermostat "feels" the temperature and then modifies the environment because it "knows" if it's hot to turn on the A/C, and if it's cold to turn on the heat - no training or code!

All of this AI stuff is just unbelievably incredible - what a brave new world (of word games)!
by lorenzopalaia | 2025-04-26 14:01:28+00:00
For now the strategy is to check the manifests in the root of the project without fetching to the github API. Alternatively you can check recursively and search for manifests and other files also via API but you lose the speed of response. It is a first draft and above all an open source project and I would like someone to contribute.

Thanks for the feedback on the website. The API is intended as a core product, to help developers who integrate the github API to get programming languages from a repo.
by sswatson | 2025-04-26 14:01:56+00:00
The phrase "solely one of birthright" suggests the diminishment of the citizenship of certain people. That is not how citizenship works: no one is less of a citizen than anyone else.

The most objectionable part here — by far — is not the deportation of the parents, but the deportation of citizens and the lack of due process.

The alternative being proposed is that if ICE is going to deport the parents of US citizen children, the parents should be given the opportunity to seek legal counsel regarding how they're going to ensure care for their children.
by tycho-newman | 2025-04-26 14:02:03+00:00
Altruism, trust, and cooperation often emerge from acts and choices that seem completely self-interested.

Heck, cooperation is a survival strategy that came out of evolution. It exists outside of humans. It doesn’t need to come from human intent.

It feels weird to me that people think they can intelligently design cooperative societies and groups. You can try, but there’s always going to be trade offs between individuals and the group.

In this moment, individuals are in a place where they can avoid many of those trade offs and costs. I think this is generally positive considering my own experience of costly kinship groups. But I can see why others disagree.
by LiamPowell | 2025-04-26 14:02:44+00:00
As an example of this:

Here's a hinge mechanism: https://files.catbox.moe/06g9cg.png

Here's the very first sketch in the timeline, I've just clicked on this to edit it, there was no undoing required: https://files.catbox.moe/xzr3un.png

Here it is overlaid on the model, which just requires a single mouse click to toggle: https://files.catbox.moe/339fvg.png

Here it is after I changed a bunch of numbers: https://files.catbox.moe/pvykrx.png

Here's what it looks like when I press the button to show the final model again: https://files.catbox.moe/6bjc0c.png

Just like that the entire model has changed based on the initial sketch. I didn't have to go edit any other features here.

As a bonus here's the assembly being moved by dragging the mouse after those changes, showing that this might not be the most well-designed hinge after those changes: https://files.catbox.moe/eztkja.mp4

Also here's the timeline I mentioned, you can see how I've clicked on a feature and it shows me exactly what it did, this also works when clicking on part of the model: https://files.catbox.moe/f0bb2k.png
by the_snooze | 2025-04-26 14:03:08+00:00
Imagine the time when kids could actually do things on their own and learn resilience, independence, and community alongside their friends. Instead, their parents now need to drive them everywhere alone because communities got rid of school buses, sidewalks, and speed bumps to help make cars go faster. We've done the real-life version of gamers min-maxing the fun out of a game.

https://www.theatlantic.com/family/archive/2024/09/school-dr...
by GaggiX | 2025-04-26 14:04:08+00:00
Some people are really good at GeoGuessr, but also their best performance are more likely to get views.

If you want a bot that is extremely strong at geoguessr there is this: https://arxiv.org/abs/2307.05845

One forward pass is probably faster than 0.1 second. You can see its performance here: https://youtube.com/watch?v=ts5lPDV--cU (rainbolt is a really strong player)
by NalNezumi | 2025-04-26 14:04:09+00:00
The article already mention physical changes (car dependent suburbs, lack of 3rd places) and cultural shift (work as identity and nuclear family) but I think the two last things can be expanded to: we now have higher expectations of friends/people we meet.

I recently moved back from Asia to Northern Europe, famous for being a place hard to make friends. I made a new friend, when I one day went to the local swimming pool and just started to talk with an old, pensioner guy.

He reached out to me later, we set up a coffe chat and now it's a biweekly routine.

It was a fun story so I told it to friend & partner/families. All of my women friends first reaction was caution. "what does he want? Be careful with your drink!". My guy friends were more perplexed on why I'd even bother befriending someone almost 50+ year older than me. What's there to be gained.

I realized a few years back that meeting people with absolute zero expectations is the most fun way. It even worked good on online dating. As long as I enjoy taking to the person (a low bar) it's not time wasted.

Time is not to be wasted. Everything needs a goal/reason. Most people cultivate this mindset and the added expectations on new connections, to me seems like a cultural shift that happened as a result of what the article describes. One can remove that sentiment even with the work/nuclear family stuff. (not sure about the physical constraints)
by wkat4242 | 2025-04-26 14:04:18+00:00
With our modern health systems we are pretty much a huge evolutionary blind spot ourselves. Many illnesses that would be filtered out because the carrier wouldn't survive, are now trivial. And on the journey hand we can screen for known illnesses.

I think we are already post evolutionary, or control it ourselves. Not a big issue either IMO, it's totally ok that this is happening.
by hughes | 2025-04-26 14:05:24+00:00
> I’m confident it didn’t cheat and look at the EXIF data on the photograph, because if it had cheated it wouldn’t have guessed Cambria first.

If I was cheating on a similar task, I might make it more plausible by suggesting a slightly incorrect location as my primary guess.

Would be interesting to see if it performs as well on the same image with all EXIF data removed. It would be most interesting if it fails, since that might imply an advanced kind of deception...
by quietbritishjim | 2025-04-26 14:06:49+00:00
> ... confusing as hell to "newcomers". For example, when a list comprehension has multiple `for`s, what order are they nested in?

I get that this is just a rhetorical question to make a point about newcomers, and I do agree it's not immediately obvious, but for the record: you can imagine any "if"s and "for"s in a list comprehension are nested statements in the same order. So, for example, this:

l = [ y.foo() for x in my_list if x.blah() > 7 for y in x.ys() ]

Is equivalent to this:

l = [] for x in my_list: if x.blah() > 7: for y in x.ys(): l.append(y.foo())

So the least comprehension is basically in left to right order with the one exception of the actual expression to be added to the list (like y.foo() in the example above).
by pclmulqdq | 2025-04-26 14:06:57+00:00
Most of those statuses are called "visas" and they have been around for a while. Obama's innovation was giving a weird form of status ("we know you broke the law and we aren't enforcing it") to people who broke the law when crossing the border. Most people with a non-illegal and non-citizen status are supposed to apply for that status before crossing the border.
by scarface_74 | 2025-04-26 14:07:29+00:00
It’s one thing when being on different sides of the political spectrum meant disagreeing about supply side economics. It’s another when it means they are racist, homophobic, etc.

I have a friend who on one hand believes all of the anti-vax, evil illegal immigrate stuff and might even believe that Trump’s tariffs are okay. But on the other hand, I have never heard him say anything negative about other people, cultures, sexualities etc.

I consider him a good friend. On the other hand, there was this other guy I was friends with for awhile. He became full MAGA. It got to the point where I just couldn’t deal with him anymore.

I guess the people I won’t deal with or Trump conservatives (ie populists). I’m good with traditional conservatives we can usually even have polite intellectual conversations about politics.
by foldr | 2025-04-26 14:08:03+00:00
The BBC certainly serves the interests of Britain, but it does so precisely because it is not merely a state propaganda service. You mention the limits on the PM's power. More generally, there are reasonably effective democratic norms and institutions that prevent the BBC's independence from being subverted by the government. Independent journalism isn't unbiased or uncolored by its political environment, but it's distinct from propaganda.

If you want to say that the BBC is British propaganda just because the journalists are British and present a British point of view (rather than, say, a Surinamese point of view), then ok, but I don't think that's a very interesting point. By that definition, every American news service is American propaganda.

Some of your other points here are transparently not serious, such as the suggestion that I can't compare the British PM to the Russian President because the latter has a different title.
by gruez | 2025-04-26 14:08:06+00:00
>Article says they're losing customers to Wasabi, but as far as I can see on a quick perusal of their website, Wasabi is just straight storage?

That's addressed in the article:

>Since 2021, Backblaze’s B2 Cloud Storage segment revenue growth has outpaced its legacy Computer Backup segment. In Q4 2024, the company announced that its B2 Cloud Storage segment generated $17.1 million in revenue, surpassing its Computer Backup revenue of $16.7 million.

Even if Wasabi isn't a straight replacement for Backblaze's entire business, it's a replacement for its biggest and fastest growing segment.
by surgical_fire | 2025-04-26 14:08:37+00:00
> We're not deporting "undesirables", just those who flooded in here illegally.

Ironically you say that in the comments section of a US citizen being held prior to deportation. Maybe those pesky children are flooding in there illegally?

> if we didn't have people trying to illegally shield them from ICE.

If only those annoying people weren't trying to hide Jews from the SS back in the day eh?

> Equating that to Nazi Germany is disingenuous and completely off the mark.

By all means, proceed. I am watching from afar with amusement as the US descends into banana Republic status with a sprinkle of old school European fascism now that the ICE is basically acting like Stasi or Gestapo from years past.

I wonder what you would consider to be enough for the comparison to not be disingenuous anymore. Perhaps when the ovens are burning in some Central American death camp.
by svilen_dobrev | 2025-04-26 14:08:56+00:00
So how the usual otherwise-harmless treatment with extract of Serenoa repens works? Seems even that is not clear - [1] is ~2011, [2] is 2024

it seemed to work for me, took it for few months, 10y+ ago. "Lasted" 8-9 years.. - until recently..

[1] https://pmc.ncbi.nlm.nih.gov/articles/PMC3175703/

[2] https://wjmh.org/DOIx.php?id=10.5534/wjmh.230222
by davorak | 2025-04-26 14:09:40+00:00
The reports of no due process or little to no due process for citizens[1], that is the main point to my understanding. Due process for [1] would at least include making sure the proper documentation was in order so they could easily return in the future, making sure any health care needs could be meet in Honduras or any other critical needs, (not all the details are in but) the father in [1] wanted the child to stay in the US, but they were deported anyway.

I am not seeing all the details I want, but given the reports of 4 year olds having to defend themselves without representation it is easy to believe these reports of no or little due process for child citizens.

[1] https://www.politico.com/news/2025/04/25/us-citizen-deportat...
by tpmoney | 2025-04-26 14:09:41+00:00
Feeling good about things has nothing to do with liking or disliking something though. I dislike things about the Rust language and the larger ecosystem around it (things like async/await as the dominant concurrency model, or the separate and very different macro syntaxes), but I'm still a fan of seeing rust projects and things people do in and with Rust. If someone builds a database driver built on Tokio, no one (not eve me) benefits from me doing drive by "async/await is complex and annoying, you should have done this differently" criticism. I may think that, and I may not like a Tokio based driver. But I don't have to "feel bad" about it, and neither do the creators. Feeling bad about it won't make a non Tokio driver appear. Nor will just criticizing Tokio and Async/Await. For something different and better to appear, I have build enthusiasm for an alternative and I have to engage with the parts I do like. Spending a hour building the starts of a a non Tokio driver and giving it to other enthusiastic people would be a far more effective use of my time than spending an hour writing a take down of async/await and giving it to other like minded critics. The phrase "preaching to the choir" comes to mind, and too often these days I feel like criticism online is largely geared towards exactly that. Polemics for people who already agree with the author, about some thing that the author dislikes.
by larodi | 2025-04-26 14:10:01+00:00
My point here being - the images are synthetic. Not questioning their utility to the article, quality, or other aesthetics. It's a challenge to the intent to use synthetic imagery while writing against getting too much used to synthetic text (and the lack of personal craft in it).

Does the author fail to recognize his own actions, is this failure on his part or a reinforcement of his fears...? Perhaps not a complete contradiction to his general thesis.

I don't personally like the images. I think he could've put together some sort of collage that would go along better.
Show HN: Fix unplayable tracks in Spotify playlists
by srvaroa | 2025-04-26 14:11:04+00:00
Scratching this itch: tracks suddenly become unplayable in my [carefully curated] Spotify playlists. Fixing them is cumbersome. Spotify usually has alternative recordings of the same song, but you have to find and replace them by hand. I figured I could automate the process, and made it into a website in case others find it useful.

Disclaimer: I'm a backend person with an LLM. Please forgive my UI/UX, and lack of proper mobile support.

Feedback welcome! (social things in profile)

--

For the curious, here is a brief explanation of this annoying phenomenon (I worked on the catalogue ingestion systems for Last.fm a few years ago, so I have a rusty and likely out of date but still above-average familiarity with this topic)

On the surface, a music catalogue is based on a naive data model made up of Tracks, Artists, and Albums. Identifiers are basically made up of names and titles, or some composite.

Reality is (a lot) more complex. A slightly less naive, but far from accurate, data model includes the concept of "recording". Take Lou Reed's "Coney Island Baby". It's one "track", but there are actually 9 recordings of it (see https://songstats.com/track/35oekh1n/coney-island-baby). These "recordings" have unique identifiers (International Standard Recording Code). How are they used? Well, take two of them: USRC10300143, GBLLT2105923. Same track, different country (US, GB). E.g. the track was published in two different issues of the same album in different countries. And the licensing for each of those may be completely different (e.g. rights in the US may belong to $companyA and rights in the GB for $companyB). Or $companyC might come and buy rights for distribution in the GB, and perhaps decide to take down the GB recording.

For the purposes of your playlist, you want to listen to Lou's song, and don't care if you're listening to USRC10300143 or GBLLT2105923. But labels do, and Spotify (or any streaming service) has to care and report listens / downloads / etc. on the recording, not the track.

But.. when you add a track to a playlist you're actually adding a _recording_. So there are a lot of not-immediately-evident reasons why you may end up losing access to $track because someone took down $recording with a foreign key to $track. And when you go and search for $track, you're annoyed to find exactly the same track playable.

Why doesn't Spotify doesn't keep your playlists healthy? The basic reason this may be simply that the volume of metadata changes into music catalogues is surprisingly large, so not a trivial problem at Spotify scale.

A further reason is that it's actually not trivial. What are acceptable alternatives? Well.. replacing Bobby Womack's "Across 110th street" with Bobby Womack's "Accross 110th street - Original" is probably fine, but using "Accross 110th street - Drum and Bass mix" as fallback may not make every listener happy.
by subpixel | 2025-04-26 14:11:34+00:00
I agree with all the points made in the article, and chuckle to see some comments here (let bad communities fail!) that are manifestations of the lack of vulnerability brought about by living in online, single-player mode.

But in my experience, friendship quality is much more important than quantity.

I’m only truly friends with people I admire and am interested in, and grow to care about. Some of these friendships happen fast and others are slow burners - they aren’t all alike. But they are definitely hard to come across, particularly in middle age.

I believe those friendships give me the kind of benefits that experts suggests we lose in isolation. These are the kinds of friendships you carry with you wherever you are - often wondering what those friends would or do think about the things you are experiencing.

On the other hand, I have many acquaintances, some quite longstanding, where the friendship switch never got flipped. Perhaps I am viewed as a bit stand-offish. I am never not gracious but I just don’t have the small talk gene.
by gruez | 2025-04-26 14:12:07+00:00
>These days, I think we have a pretty good idea of what market rates are for cloud storage. Anything less than market rates should be viewed with suspicion.

Are you talking about their B2 product or their backup SaaS? The former has "fee that scales with usage", and the latter probably has enough normal users (ie. not data hoarders backing up 50 TB on the $99/year plan that they're not losing money overall.
by seabass-labrax | 2025-04-26 14:12:54+00:00
> You're welcome to go to the front lines and attack the Russian tanks with your own preferred tools!

By that logic, we should skip the depleted uranium and head straight to thermonuclear weapons, and throw in some Sarin for good measure. No, the purpose of prohibiting such weapons is for wartime, and whilst it is true that some countries are backsliding on previous commitments, that comes out of cowardice; it should not be reinterpreted as pragmatism. The rules of war weren't idealistic, they were prompted by very real horrors that were witnessed on the ground, especially during the Great War.
by NemoNobody | 2025-04-26 14:14:33+00:00
I'm all right with changing that rule - anchor babies means we get two people and one them is brand new. Considering people are the most valuable resource, I think we should take all the potential anchors possible - let's give both parents citizenship automatically if they are parents of a citizen.

Let's fast track Aunts and Uncles too - maybe we can get the whole family.
by gitremote | 2025-04-26 14:14:45+00:00
The media in liberal democracies reflect the diversity of their people more than state media in a fascist dictatorship that jails dissenters, critics, and oppresses ethnic and/or gender and sexual minorities. Human rights, free speech, and a free press are the bare minimum before you tackle other problems like affinity bias in hiring.

You are engaging in the logical fallacy and propaganda tactic called whataboutism.* If people genuinely care about diversity and challenging bias, they wouldn't uncritically view an unelected president (or an elected president chosen in a country without free elections) as the spokesperson for their ethnic group.

* https://en.m.wikipedia.org/wiki/Whataboutism
by CamperBob2 | 2025-04-26 14:15:56+00:00
I find that both right and left media tend to say the same things about the other side

The left tends to be more likely to be correct, however (speaking as someone who identifies with neither.) This isn't a matter of opinion; polls have repeatedly found that Fox News viewers, for example, are less well-informed than people who consume no news at all.

"BSAB" thinking doesn't work. No good reasons remain for pretending that it does. One side is objectively and consistently bad for America... but they are better at herding dull-witted people to the polls, so they are winning.
by whatever1 | 2025-04-26 14:16:18+00:00
Hypotheticals are useful, but here we have facts we can discuss. A smart device released in 2010 was already using the REST api and HTTPs over WiFi. A brand new smart device will communicate exactly the same way. So it is just Google’s decision to deprecate the device. And even if some of these protocols were deprecated, Google could just release a hub to keep the legacy devices online.
by timeforcomputer | 2025-04-26 14:16:45+00:00
I have felt similar, wanting to learn physics sims. I have had to learn over time to separate domains of knowledge like physics from programming tools used to ~manifest them. Especially starting with gamedev, initially it felt like there should be a natural programming idiomatic way to set up each of the major simulations like rigid bodies, cloth, springs, fluids, so the first thought I had was these sims will be naturally encoded in the language, like a fluid sim being somehow setting up a grid, then choosing some update rules per timestep. But really it is modelling a problem as real mathematics and physics, then mapping this to a language/toolset which perhaps can't naturally express it idiomatically.

There are a few algorithms like some cloth sims based on particle positions and springs, which can be coded easily, but that was misleading to me when trying to improve, I had to dig a lot more into physics and numerical analysis then mapping the problem to code, which can end up clunky and with a lot of magic numbers.