MurphyA/hacker-news huggingface dataset:
by jongjong | 2025-06-04 11:23:20+00:00
The stuff about laws no longer being aligned with shared ethics makes sense. Nowadays, there seems to be a lot of focus on the wording of the law rather than intent or ethical principles. This focus on wording reflects a lack of moral grounding and it is the source of loopholes. I doubt such word 'loophole' would even have existed in medieval times. It's an absurd concept, just like the concept of 'limited liability' or the concept of 'corporate personhood'...

Just try to explain out loud what 'limited liability' actually means... Imagine the damage you inflict on others vs the liability you incur is a pie graph. Who is paying for that slice of damage you did which you did not pay for? Somebody is paying. Limited liability is a corrupt philosophy. There is no excuse. Economies of scale, efficiency, blabla, invalid excuses and impossible to actually prove as beneficial by all definitions, from all perspectives.

The coercive coupling of state and money, the concept of limited liability and the concept of corporate personhood have created a society which is deeply corrupt but which maintains a superficial veneer of civility.

People's happiness and sense of justice in this system depends entirely on their ignorance of the functioning of the system. I suppose this hasn't really changed much since the times of slavery. The slave owners were often religious and often saw themselves and their society as highly moral. It all rested on a small number of self-serving assumptions.

The unjust social order used to be held together by false narratives around racial differences. Nowadays it's held together by false narratives around arbitrary social achievements which any intelligent person would realize aren't worthy of regard once analyzed properly through the lens of justice and ethics. Modern achievements barely even deserve regard from an amoral game theory point of view because the playing field is so extremely asymmetric.

The whole modern system is held together by empty superficial ideas; words not backed by real meaning and numbers not backed by real value. It's a hollow scheme. It's probably why the feeling of 'emptiness' permeates every facet of our existence as individuals in this society, it is its foundation. The taller the pillar, the more hollow it has to be.
by Daneel_ | 2025-06-04 11:23:23+00:00
I feel like a lot of these systems, while reducing some types of incidents, also cause others.

I know the lane-keeping assist function in my 2024 car (that turns itself back on every time I start the car) has a healthy appetite for trying to veer the car into oncoming traffic whenever I’m on a road with no lane markings. This is quite common on suburban roads. So far I’ve been lucky, but if it happens at just the wrong moment I can absolutely see it causing a head-on collision that wouldn’t have happened otherwise.

For me this is the crux of the issue - these systems greatly improve some situations, but it’s not acceptable to do so at the expense of worsening others.
by Anthony-G | 2025-06-04 11:23:44+00:00
I largely agree with what you say but I have my doubts about the following statement.

> If you live in a first world country the ocean plastic isn't from you

I live in Ireland and I’m not sure that’s the case for us. Plastic was collected in the recycling bins and then shipped to China for processing. I was always skeptical of the environmental soundness of shipping plastic to the other side of the planet – and the lack of transparency about what happens to the plastic waste after. I always wondered if any plastic that wasn’t PET was just dumped in a river or the sea. A few years ago, China stopped accepting plastic refuse from Western countries so the plastic was sent to other Southeast Asian countries but they also find it to be not economically viable to process. I looked into this issue before but found it hard to get solid evidence that the plastic is actually recycled. I wouldn’t be surprised if a lot of the plastic that is collected in the West for “recyling” ends up in the ocean, while we in the west pat ourselves on the back for doing the “right thing”.

Personally, I do my best to Reduce and Reuse rather than Recycle.
by matthewdgreen | 2025-06-04 11:23:45+00:00
I don’t know what a climate change advocate is: someone who believes in physics? But in general nobody believes that resources are infinite. We just have a lot of offshore wind area, onshore wind area, and space to fit solar panels. Not infinite, but enough to massively increase humanity’s access to energy sources and put us back on the growth path we were on before fossil fuels caused us to stagnate.
by incrudible | 2025-06-04 11:24:01+00:00
Sure they can, but if you define an interface that allows this, every container type implementing it must support it, and it is probably gonna be rather slow operation for the effort. That's why the question is not "can you do this?" but "why would you want to do this?". I can't think of a good reason for generic containers, if you need something like that, it should be a purpose-built data structure that efficiently supports it.

The STL containers are full of "features" that containers in other languages just do not support, yet it's worse to use in my opinion.
by kiitos | 2025-06-04 11:24:33+00:00
> Indeed, you can absolutely handle some cases with combinations of `errors.Is` and `fmt.Errorf` instead of implementing your own error.

Not "some cases" but "almost all cases". It's a categorical difference.

> Most of the Go code I've seen (including big parts of the standard library) doesn't document how one could handle a specific error. Which feeds back to my original claim that "errors are primarily meant to be logged and that you have to get out of your way to develop errors that can actually be handled".

First, most stdlib APIs that can fail in ways that are meaningfully interpret-able by callers, do document those failure modes. It's just that relatively few APIs meet these criteria. Of those that do, most are able to signal everything they need to signal using sentinel errors (ErrFoo values), and only a very small minority define and return bespoke error types.

But more importantly, if json.Marshal fails, that might be catastrophic for one caller, but totally not worth worrying about for another caller. Whether an error is fatal, or needs to be introspected and programmed against, or can just be logged and thereafter ignored -- this isn't something that the code yielding the error can know, it's a decision made by the caller.
by GRBurst | 2025-06-04 11:24:57+00:00
Loving these kind of apps :-) I personally use WhoBird, which runs complete local on your android device, so it works also when you don't have internet and is available on fdroid (https://f-droid.org/packages/org.woheller69.whobird/). Will give merlin a shot as well to see how it compares
by ho_schi | 2025-06-04 11:25:20+00:00
On Linux there is the handy fbgrab. I guess they have something similar.

https://github.com/GunnarMonell/fbgrab

You also can set timeouts and switch between virtual terminals.

PS: I’m love good TUIs. Clean and concise and it is surprising how well user can use them. If - they’re well made. I think the installer of Debian or Linux menuconfig are good examples.
Show HN: LLM Hallucination Detector – Works with GPT, Claude, and Local Models
by Shmungus | 2025-06-04 11:28:04+00:00
I built a lightweight hallucination detector that works with any LLM API.

It checks for signs of hallucinated or unreliable output using a multi-method approach (overconfidence patterns, factual density, coherence, contradictions, etc).

What it does:

Works with GPT, Claude, local models (e.g., Mistral, DialoGPT)

Outputs a hallucination probability (0.0–1.0)

Flags overconfident or uncertain language

Scores factual density, coherence, and contradictions

Compares responses to context (if provided)

Fully framework-agnostic — no extra dependencies

Built for production + research workflows

Benchmarked on 1,000+ samples:

F1: 0.75

AUC-ROC: 0.81

Fast: ~0.2s per response

Comes with plug-and-play examples:

OpenAI, Anthropic, local models

Flask API

Custom scoring configs

I’m giving this away free under MIT. Would love feedback, issues, PRs — or just to know if it helps you build safer LLM apps.

GitHub: https://github.com/Mattbusel/LLM-Hallucination-Detection-Scr...
by petesergeant | 2025-06-04 11:28:30+00:00
I came back to guitar after being self-taught and not very good, and was pleasantly surprised that the Trinity Guitar Initial Grade (eg the first book you'd start a kid on) had some awesome music that you could make the melodies of very quickly. Like, 2-3 hours of practice and you can slowly pick out the melody from Runaway Train, Orange Crush, and Where did you sleep last night.

I guess my point is you can get some good sounds out of the guitar very quickly, which can be very intrinsically motivating.
by TeMPOraL | 2025-06-04 11:28:46+00:00
> I don't see LLMs playing a big role in this yet. People don't derive their opinions on abortion for example from ChatGPT. They derive them from group leaders, personal experience and interactions with their peers.

I think that's slowly changing now. Technically the views of ChatGPT are sourced from people and reflect a similar mix of group beliefs and personal experience, but they're blended with a much broader (approximation of) perspective of the LLM, and subject to the limited "reasoning" skills of the models, creating a somewhat unique take (or family of takes - across models, prompts) on the world. And people absolutely do use ChatGPT to refine or challenge their opinions on things[0]. It'll take some time before it'll start affecting society in general, and it'll take time before next-gen LLMs pick up on it, completing the loop, but we're definitely on our way there.

> And in this context of small things contributing to something big I would wager that all the small interactions we have with other humans do a lot more to form a society than the small interactions have on building an LLM. So to your original point again: I don't think contributing to an LLM is the biggest contribution online content has on a society.

That's fair, and I won't challenge it. I guess my original point is narrower than I thought. I arrived at it when thinking of blog posts, comments, and self-publishing, and more in terms of contributing discrete knowledge and ideas; I didn't really think much about interactions (like comment threads where people engage in a discussion) and communicating vibes[1]. Most importantly, I evaluated this in context of whether one's wronged and entitled to compensation when such content gets pulled into LLM training data without their knowledge or consent.

All this to say, because of our exchange here, I'm no longer convinced of my original point (contributing to an LLM being the biggest value most online content can provide); I'll need to rethink it thoroughly. Thanks!

--

[0] - First example that comes to mind: it's well-known that a lot of people are using ChatGPT as therapist. And in this role, ChatGPT isn't a glorified search engine - it's being mostly asked for opinions, not citations. I'm guilty of that myself, too, with several LLMs from OpenAI and Anthropic. They helped me work through a few minor personal issues, and in a way, you could call it me deriving some opinions from ChatGPT.

[1] - This term is getting increasingly uncomfortable to use for some reason.
by omneity | 2025-06-04 11:28:51+00:00
> Time-to-First-Token of approximately 19 seconds for a gemma3:4b model (this includes startup time, model loading time, and running the inference)

This is my biggest pet-peeve with serverless GPU. 19 seconds is a horrible latency from the user’s perspective and that’s a best case scenario.

If this is the best one of the most experienced teams in the world can do, with a small 4B model, then it feels like serverless is really restricted to non-interactive use cases.
by jvanderbot | 2025-06-04 11:29:07+00:00
Coffee addict here. Like any addiction, the ritual is the scaffolding on which the whole thing is built. Sure, I'd get a headache or be groggy without it at first, but having an excuse to sit and sip a warm beverage for 15-30 minutes has become a peace-creating space for myself to think and prepare. When I go on vacation, it's much less important or pressing, because that ritual is broken. There are seldom adverse effects in those situations when avoiding coffee.

There's nothing about this that requires coffee, but habits require primers and repetition, and starting coffee is that primer, and the socially accepted aspect of it maintains those boundaries so it can be repeated. When we go on vacation, it all goes away.

I used to smoke cigarettes as a young kid, and 90% of the reinforcement of that was the ritualistic work smoke break where you sat and bullshitted with coworkers or friends outside for 15 minutes. Without that, the habit broke easily because smoking didn't actually reinforce or be reinforced by anything joyful.

It is easy to look down ones nose at coffee drinking, but the core tie is rarely some crippling physical addiction so much as a ritual that is itself enjoyable, and we all have those. Any guidance on breaking addiction usually centers on the rituals you've created around your substance.
by TestingSpike1 | 2025-06-04 11:29:18+00:00
It's not acceptable to have FSD crashes same as it's not acceptable for people to crash.

Here, sun just made a tesla kill someone, could have been you or your family.

Everyone else predictably slowed down.

Who is responsible and should be sent to jail for murder?

The FSD software developers?, the driver since he was doing fuck all?
by hermannj314 | 2025-06-04 11:29:18+00:00
I am on the site because it is full of very thoughtful and intelligent people in the tech industry.

I don't stand a chance in an interview pool made up of a sample of HN readers.

Outside of HN, I am a successful IT director, with a graduate degree and a good career. Here, I am an auto-reject bottom-rung parasitic loser that never went to Stanford.
by decimalenough | 2025-06-04 11:29:28+00:00
You can set max instances in Cloud Run, which is an effective limit on how much you'll spend.

Also, hard dollar caps are rarely if ever the right choice. App Engine used to have these, and the practical effect was that your website would completely stop working exactly when you least want it to (posted on HN etc).

It's better to set billing alerts and make the call yourself if they go off.
by pjio | 2025-06-04 11:29:40+00:00
After decades of trying to make the code encapsulate as much meaning in as few words as possible now there seems to be a new trend of "more code is better" and because AI writes and reads it, it's ok. I'm already sick of finding subtle bugs in AI generated code, looking at fever dream like AI images and reading text without the intentional style which indicates a human writer.
by DrScientist | 2025-06-04 11:30:14+00:00
I once had a university assignment where they provided the figures from a paper and we had to write the paper around the just the given figures.

A bit like how you might write a paper yourself - starting with the data.

As it turned out I thought the figures looked like data that might be from a paper referenced in a different lecturers set of lectures ( just on the conclusion, he hadn't shown the figures ) - so I went down the library ( this is in the days of non-digitized content - you had to physically walk the stacks ) and looked it up - found the original paper and then a follow up paper by the same authors....

I like to think I was just doing my background research properly.

I told a friend about the paper and before you know it the whole class knew - and I had to admit to the lecturer that I'd found the original paper when he wondered why the whole class had done so well.

Obviously this would be trivial today with an electronic search.
by nchmy | 2025-06-04 11:30:16+00:00
The Ocean Cleanup immediately comes to mind. I very much doubt that they're even slightly "sustainable" in a financial sense, but their engineering and logistics efforts seem to be serious, and outcomes meaningful.

And I've seen various cottage industries in the developing world grow out of/highlighted by Precious Plastic - ones who provide perhaps 5-30 jobs in poor and polluted areas of the world. A warehouse, some crude but effective machinery for processing the waste.
by Aerbil313 | 2025-06-04 11:30:26+00:00
There are 2 bypass-free self-restriction (or self-liberation!) solutions for the iPhone.

The first is is supervised MDM. If you have a Mac you can do it yourself (though you need to learn iPhone MDM). You can also pay companies like TechLockdown, they'll give you a customized remote-controlled profile to install that is not removable at a weak moment. You can set a lock with delay. When you need to wait 6 hours to change the settings, you won't be changing your settings to allow $ADDICTIVE_APP.

The second option is much more complicated and has some caveats, like an inability to update apps, but I'll explain it since nobody seem to know about it.

There is a way to turn an iPhone into a dumbphone, while keeping your banking app, without a Mac, for free.

Go to Settings > Screen Time:

- Set up a PIN for Screen Time. You’ll be asked to provide a recovery account. Create another Apple account with a password hard to memorize, like sjhr3762962826. Write that down.

- In Content Restrictions > App Store, Media, Web, & Games > Web Content, set it to Only Approved Websites. Add all the websites you need to use in your daily life. Start simple, you'll quickly discover which ones you actually need. I'll let you in on a little secret: You don't need news.ycombinator.com in your pocket.

- In Content Restrictions > iTunes & App Store purchases, disallow Installing Apps.

- Personally, I also delete all apps that have any sort of infinite online content (even Wikipedia).

- Set up Downtime for when you are supposed to be asleep.

- Set up Always Allowed for critical apps which you might need even during your usual sleep hours (Health app, WhatsApp, Google Maps, etc.)

- Final step: Let a very close person (like family member) change the Screen Time PIN, and let him write it down somewhere safe. Then give the password and the PIN to the person for safekeeping.

When you need to change the settings (you want to add another allowed website, you want to install a new app, etc.) ask that person to make the change.

There is a way you can not rely on another person, too. I won't detail it here, but it involves timelocking the Apple account's password and the Screen Time PIN. See https://github.com/rayanamal/timelock

With this setup, you can’t change the Screen Time settings yourself, and you can’t reset the PIN using “I forgot the PIN” button either.
by mythz | 2025-06-04 11:31:14+00:00
RunPod also charges per second [1], also this is Google's expected avg cost per hour after running it 24/7 for an entire month, I couldn't find an hourly cost for each GPU.

When you need under <1hr than you can go with Runpod's Spot pricing which is ~4-7x cheaper than Google, where even 20min of Google would cost more than 1hr on RunPod.

[1] https://docs.runpod.io/serverless/pricing
by latexr | 2025-06-04 11:31:45+00:00
> The article claims that Earth will be incinerated, but we could just move Earth further from the Sun.

The article isn’t trying to make science-fiction predictions, it’s simply explaining how things are expected to go according to the workings of the Universe. The article also isn’t suggesting humans will go to Europa to survive, only that life could theoretically develop and persist there.

We can’t even let our fellow humans live. Hatred and division is growing, and we’re ever more worshipping and giving power to destructive, selfish, science-denying, power-hungry maniacs with access to world-destroying technology. And you think there’s any chance we’ll all agree and unite to move the whole planet? It would be nonsensical for the article to even hint at entertainment that scenario in any serious capacity, and it would have been rightly dismissed by most people if it did.
by sawyna | 2025-06-04 11:31:47+00:00
For reducing the number of points, I had to do something similar but for an isochrone. There were 2000 points for each isochrone and we had like 1000s of map markers. I simply picked every 200th point from the isochrone polygon and works reasonably well.

Of course, mapbox provides a parameter in the API to reduce the number of points using Douglas-Peucker algorithm. But I didn't want to make API call every single time, so we stored it and used a simple distilling depending on the use case.
by haunter | 2025-06-04 11:31:49+00:00
The why part is the most interesting because seemingly there no obvious answer to it though I like the “pure taste” theory.

>So why did the cockatoos gravitate to drinking fountains in the first place, when plenty of other water sources such as puddles and creeks are available? Perhaps they have developed a taste for the purer fountain water, Klump says. Or the elevated fountain perch helps them spot approaching predators such as eagles and falcons.
by chrismorgan | 2025-06-04 11:32:12+00:00
I had cause to need WhatsApp a bit over a year ago: it requires a device that runs iOS, or Android with Google Play. I just assumed I could get past this, but the signup flow refused to run on LineageOS with MicroG via Waydroid on my laptop—wanted an authentic, Google-approved environment. Maybe that can be worked around; I don’t know. Subsequently you can run WhatsApp Web… but you can’t make calls that way, and if you don’t run it on an actual phone for two weeks, it’ll boot you.
by hassonofer | 2025-06-04 11:32:19+00:00
I'm the author of the Birder framework (a computer vision toolkit for bird classification) - https://gitlab.com/birder/birder It's still in early alpha, but you might find it useful for your DSLR workflow.

If you're interested in trying a web-based alternative, I have a demo space at https://huggingface.co/spaces/birder-project/birder-image-cl... where you can upload images directly from your browser. Fair warning though - it's primarily designed to showcase the models rather than provide any kind of user experience, so you'll need to manually select the appropriate regional model (look for suffixes like eu-common, arabian-peninsula, etc. based on where your photos were taken).

The coverage is still very limited... More regions will follow in the coming months.
by armchairhacker | 2025-06-04 11:32:21+00:00
Anecdotally, more academics I know are on Twitter than BlueSky or Mastodon. But a large fraction do have active accounts on BlueSky or Mastodon, and some have moved entirely. (At least some probably have an account that I’m not aware of. Some, like me, also have no social media presence.)

I haven’t seen any dead Bluesky or Mastodon accounts, even from those who have active Twitters, so I suspect that most of the people who did move off Twitter haven’t rejoined.
by bencyoung | 2025-06-04 11:32:27+00:00
I think it's more that western cultural cliches become invisible to western audiences rather than moving on. E.g. the "superhero" is definitely a western cliche. "A lone operative defies the rules to do the right thing because might is right if you're right. Individual exceptionalism triumphing etc". Somewhat shallowly examined in some films but still turns up all over the place.
by blacklion | 2025-06-04 11:32:38+00:00
So, self-delimitered format (JSON) is embedded in format with lengths? I change one space in JSON, JSOM is valid, whole DiffX file is invalid.

Nice, nice.

Format looks very clunky and messy, to be honest, mixture of self-invented headers and JSON payloads, strange structure (without comments here I will not notice different number of dots in `.meta`), need essentialy two parsers.

Idea to have extended diff with standard way to put metadata is good.

This implementation looks bad, sorry.