MurphyA/hacker-news huggingface dataset:
by bionhoward | 2025-05-07 12:39:18+00:00
This is already a thing, I do this right now. You configure the linter to forbid panics, unwraps, and even arithmetic side effects at compile time.

You can configure your lints in your workspace-level Cargo.toml (the folder of crates)

“””

[workspace.lints.clippy]

pedantic = { level = "warn", priority = -1 }

# arithmetic_side_effects = "deny"

unwrap_used = "deny"

expect_used = "deny"

panic = "deny"

“””

then in your crate Cargo.toml “””

[lints]

workspace = true

“””

Then you can’t even compile the code without proper error handling. Combine that with thiserror or anyhow with the backtrace feature and you can yeet errors with “?” operators or match on em, map_err, map_or_else, ignore them, etc

[1] https://rust-lang.github.io/rust-clippy/master/index.html#un...
by lgiordano_notte | 2025-05-07 12:39:24+00:00
Basically treating extraction as an adaptive loop instead of a static function. If first parse fails or looks incomplete, tweak the prompt, inject more context, or switch strategies. Memory helps carry forward partial wins so you don’t start from scratch. We’ve seen the same pattern in agentic web environments. Structured retries, context propagation, and memory turn brittle flows into robust automation, especially with high-variance input and fuzzy schemas.
by criddell | 2025-05-07 12:40:28+00:00
A while back, I asked ChatGPT to help me learn a Pixies song on guitar. At first it wouldn't give me specifics because of copyright rules so I explained that if I went to a human guitar teacher, they would pull the song up on their phone listen to it, then teach me how to play it. It agreed with me and then started answering questions about the song.
by kevinisherenow | 2025-05-07 12:40:29+00:00
Hi! You can take the tutorial at the homepage, or else sign in (you can just sign up with Google), and then mess around- text to create, present, add sounds, images, etc. There are instructions on the right side of the page (shortcuts, syntax, etc.).

I mean, if you mess around with it for a little bit you'll get an idea quickly.

Essentially, it's a text-first tool for creating structured, shareable content-presentations, walkthroughs, even lightweight docs—using a Markdown-like syntax. But unlike most markdown tools, you can also embed images, audio, logic, and interaction, so it’s supposed to be more expressive/quicker.

It's broad right now. I'm trying to figure out wwhat people might actually use it for.. what features they like.. and what they hate.
by seafoamteal | 2025-05-07 12:40:42+00:00
I generally use Neovim, but Zed was the first code editor that made me go, "Wow, I can see myself actually using this." My only gripe is the "Sign In" button at the top that I can't seem to remove.

But apropos TFA, it's nice to see that telemetry is opt-in, not opt-out.
by senordevnyc | 2025-05-07 12:41:17+00:00
I’m not overestimating the freedom that entrepreneurs actually have. I didn’t make any statements about entrepreneurs in general, we’re talking specifically about your rich relative and how much freedom they have.

For the record, I am currently self-employed again after a five-year stint in big tech. Prior to that I worked for myself for more than a decade. I’ve seen this issue from both sides, and I definitely wouldn’t say most entrepreneurs can pick anywhere on the work/life balance continuum. But again, we’re not talking about most entrepreneurs, or even really about entrepreneurs at all. We’re talking about people who have reached financial independence, specifically your relative. All of this would still be true if they were an employee who had enough money to stop working tomorrow.
by bArray | 2025-05-07 12:41:49+00:00
Not sure, but it is difficult to imagine where these new sounds are coming from. I have never heard another bird quite like some of the sounds, one particularly clear one sounds like "eel" but it's as clear as a human would pronounce it.

He also cycles through a pattern (probably for attracting a mate) and it gets more and more complex as time goes on. He keeps adding to the noises and pattern, but it's very predictable.
by ghaff | 2025-05-07 12:42:07+00:00
Or, if they're in a reasonably dense area, people go out to a nearby restaurant. Bring your own lunch has almost certainly declined over time. During the 10 years or so I worked for smaller companies in cities, it seemed as if going out for lunch with coworkers or otherwise was pretty much the norm. (Otherwise there were company cafeterias at the larger firms.)
by AStonesThrow | 2025-05-07 12:42:08+00:00
Is it, though? Is it really?

First you have to have frozen chicken nuggets on hand at home. That means that you've already been to the grocery store, picked some up, and brought them home somehow to be stored.

Now you've also got a working and clean air fryer, sink, utensils, and other kitchen accoutrements that can be used on the nuggets. You may also find it necessary to have, on-hand, some condiments or side dishes to make a complete meal of the nuggets you're trying to make.

Then you put them onto a plate -- hope you got a plate -- and eat them with clean utensils, and then you clean that stuff up, wipe the counter, wash and put away dishes. Then you make a note on your shopping list or inventory, to replenish what you just ate.

It's not a simple proposition, all of these steps, especially when someone is a bachelor, mentally ill, isolated, etc. You feel it's easier for you, that is great, you've got some life skills, but other people struggle mightily with just the cleanup bits, for example.
by PicassoCTs | 2025-05-07 12:43:33+00:00
They can not imagine that the dysfunction of the world is part of them. Its always the external thing, the state, the people who don't share the vision, counter-movementarians. Once they control everything- the excuse machine runs dry of the oil- and turns towards conspiracy. There are traitors everywhere, which prevent ideological perfection and heaven on earth. And against such pure evil, such single-minded cancer, there can only be one resolution. Welcome to StallInc. You have gone all the way around, to reach the same outcome.
by AndrewStephens | 2025-05-07 12:44:15+00:00
This is the truth. I interview a lot of C++ programmers and it amazes me how many have gone their whole careers barely touching C++11 let alone anything later. The extreme reach of C++ software (embedded, UIs, apps, high-speed networking, services, gaming) is both a blessing and a curse and I understand why the committee is hesitant to introduce breaking changes at the expense of slow progress on things like reflection.
by jillesvangurp | 2025-05-07 12:44:44+00:00
I would look forward to the next 20 years and not backward to the last 20.

The whole frontend/backend distinction did not really exist until the web. And infrastructure is definitely something that should be automated far more than it currently is. If it needs babysitting by a team of devops, you just created a lot of work rather than automating/solving it. Tedious and repetitive. It has "AI will make this a lot easier" written all over it.

So, just be ready for the ambition level to be raised for developers. Learn to build the whole system, not just bits and pieces of the system. Lean on AI to get stuff done and figure things out. It's all just code. None of it is really that hard. But it can be a lot of work if you do all of it manually.

And let's be honest, agentic tools are showing promise and great progress but they are nowhere close to independently working on existing code bases. That's not how I use them. But they are great for problem solving, debugging, prototyping, exploring some new languages and APIs, and generally taking care of more tedious coding tasks.
Show HN: Knighty Chess – Around 20k chess puzzles with hints and a leaderboard
by krishnasangeeth | 2025-05-07 12:45:14+00:00
Hi HN,

I've built an iOS app called Knighty Chess, designed for improving chess tactics through daily puzzles and structured learning, and I'd love to share it with you.

The app offers around 20,000 puzzles organized into skill trees, covering various tactical motifs from basic to more complex patterns. It includes daily challenges and tracks progress with XP, achievements and leaderboard.

You can check it out on the App Store: https://apps.apple.com/us/app/knighty-chess/id6745241794 This is my second project related to chess. Last year I built termichess , a terminal app to play chess which received a lot of support from the HN community. This was a personal project, and I'm here to discuss it. I'm particularly interested in any feedback you might have on the puzzle selection, user experience, or any features you think would make it better for learning.

Thanks for taking a look
by shakna | 2025-05-07 12:45:21+00:00
Just to add to this conversation, because I haven't seen it discussed yet -

One of the groups of people using these apps are the disabled. Those aren't people who can just hop in a car. And they aren't always able to walk. But they absolutely are people who feel run ragged and too tired to cook some nights.

Australia's NDIS even partners with some of them to perform that service.
by dredmorbius | 2025-05-07 12:45:36+00:00
The statement was presented during sentencing hearings, again according to the source article:

[L]ast month, artificial intelligence brought [Christopher Pelkey] back to life during his killer’s sentencing hearing.... Pelkey’s sister and brother-in-law used the technology to recreate his image and voice likeness to “talk” to the courtroom about his life and the day he met Gabriel Paul Horcasitas, who shot him during a confrontation near Gilbert and Germann roads.

<https://www.abc15.com/news/region-southeast-valley/chandler/...>

AFAIU sentencing is performed by the judge, not jury. It's still wildly divergent court practice.
by alt227 | 2025-05-07 12:45:40+00:00
Isnt everything measures and countermeasures though?

As far as I am aware there is no such thing as a silver bullet anywhere when it comes to security.

Its like moving your SSH port from port 22 to some other random one. Will it stop advanced scripts from scanning your server and finding it? No, but it sure as hell will cut down the noise of unsophisticated connections which means you can focus on the more tough ones.
Show HN: LocoStudio - A better UI for Ollama
by simmy345 | 2025-05-07 12:45:45+00:00
Hi HN,

I’m excited to share LocoStudio (http://locostudio.ai), a local-first AI chat app for Mac that lets you chat with AI models both locally and in the cloud—all in one place.

Why I built it: I wanted a private, fast, and flexible way to use the latest AI models without sending my data to the cloud. Most AI chat apps are either cloud-only (raising privacy concerns) or have clunky interfaces for local models. LocoStudio aims to make local AI chat as easy and powerful as using ChatGPT, but with your data staying on your device.

What it does:

- Private, local-first: Run open models (like Llama, Mistral, DeepSeek, Gemma) directly on your Mac—no internet required. - Cloud when you need it: Seamlessly switch to cloud models (OpenAI, Anthropic, Gemini) by plugging in your own API key—no subscriptions or data sharing. - All-in-one UI: Chat with multiple models side-by-side to compare answers and find the best fit for your needs. - Rich context: Chat with PDFs, YouTube videos, images, and even website content. - Privacy-first: We never store or process your chats or API keys—everything happens on your device or directly with the provider. - No account required: Download and start using immediately.

Other features:

- Analyze sensitive documents (PDFs, images) locally - Web search integration - Token stats and performance metrics - Keyboard shortcuts - Premium themes and UI customization (with purchase, helps support the app) - Works fully offline

I’d love your feedback, questions, and suggestions!
by outcoldman | 2025-05-07 12:45:47+00:00
I am amazed how well it works. Yesterday I have spent a full day with a new macOS project with idea in my head. Spend half a day writing basic features, and after that opened the project in Zed to add features. Not very well documented things like AppKit + SwiftUI integration - no issues, and I mean I was getting about 500 new lines from my questions and was getting compilable code (and working). A few times after review I modified a few things to make it compilable/or better. But still. And I had one interesting problem with objc/swift and javascript integration - and Zed AI delivered some masterpiece in JavaScript, that is definitely outside my knowledge. This technology is definitely going to change how we program now.
by koljab | 2025-05-07 12:45:48+00:00
Yeah I know the voice polarizes, I trained it for myself, so it's not an official release. You can change the voice here:

https://github.com/KoljaB/RealtimeVoiceChat/blob/main/code/a...

Create a subfolder in the app container: ./models/some_folder_name Copy the files from your desired voice into that folder: config.json, model.pth, vocab.json and speakers_xtts.pth (you can copy the speakers_xtts.pth from Lasinya, it's the same for every voice)

Then change the specific_model="Lasinya" line in audio_module.py into specific_model="some_folder_name".

If you change TTS_START_ENGINE to "kokoro" in server.py it's supposed to work, what does happen then? Can you post the log message?
by ska-zattoo | 2025-05-07 12:46:08+00:00
Zattoo | Berlin | Full Time | ONSITE / HYBRID | Engineering Manager - Ingest & Storage

Zattoo: Back in 2005, we pioneered Europe’s first TV streaming service. Today, we’re the world’s first certified climate neutral TV streaming provider. 3 million users across three countries. Over 230 colleagues of 47 nationalities.

// Engineering Manager - Ingest & Storage https://grnh.se/7060be52teu

The Ingest & Storage team develops the software that drives the company’s satellite headends, video processing systems (live and VOD encoding, transcoding), and video storage clusters. We work closely with several “sister teams” that maintain other video-related components: Streaming & CDN, Ads Backend, and Playback.
by jbentley1 | 2025-05-07 12:46:27+00:00
This isn't exactly correct, it is a combination of training and system prompt.

You could train the system prompt into the model. This could be as simple as running the model with the system prompt, then training on those outputs until it had internalized the instructions. The downside is that it will become slightly less powerful, it is expensive, and if you want to change something you have to do it all over again.

This is a little more confusing with Anthropic's naming scheme, so I'm going to describe OpenAI instead. There is GPT-whatever the models, and then there is ChatGPT the user facing product. They want ChatGPT to use the same models as are available via API, but they don't want the API to have all the behavior of ChatGPT. Hence, a system prompt.

If you do use the API you will notice that there is a lot of behavior that is in fact trained in. The propensity to use em dashes, respond in Markdown, give helpful responses, etc.
by vidarh | 2025-05-07 12:46:44+00:00
I have other things to do, and don't drive. That's the incentive.

Cold food has never been a problem for me with these services.

I'd pick Deliveroo over a restaurants own delivery service any day because it means not having to keep track of numbers, having tracking, and trusting their customer service. In fact, to the point that while Deliveroo allows restaurants to do their own delivery, because you lose the tracking I tend to avoid ordering from restaurants that do.
by Fleetio | 2025-05-07 12:47:18+00:00
Fleetio | Full-time | 100% REMOTE - open to candidates in the USA, CANADA & MEXICO (Pending role) | https://www.fleetio.com/careers | Fleetio is a modern SaaS platform that helps thousands of organizations worldwide manage their fleet of vehicles and equipment. Founded in 2012, 2025 Series D, 6k+ customers, $65M+ ARR, 350+ employees, 4.5 rating on Glassdoor. Benefits: Competitive pay + equity + annual bonus, 401(k) + match, health, vision & dental insurance, remote first since 2012, 4 weeks PTO + floating holidays, wellness fund, professional development fund, equipment stipend + more. HIGHLIGHTED ROLES (More available on our careers site):

-- AI Engineer: https://grnh.se/79b4c6237us

-- Senior SRE, Infrastructure: https://grnh.se/390a8a597us

-- Senior SRE, Performance: https://grnh.se/6b74cfbe7us

-- Senior SWE, Billing: https://grnh.se/0cad2f5b7us

-- Senior SWE, iOS Platform: https://grnh.se/6dedc88b7us
by lordofgibbons | 2025-05-07 12:47:30+00:00
I really want to move off VS Code and start using Zed, but unfortunately the text is always extremely blurry. It's just unusable.

I check back on the GitHub issue every few months and it just has more votes and more supportive comments, but no acknowledgement.

Hopefully someone can rescue us from the sluggish VS Code.

https://github.com/zed-industries/zed/issues/7992

I have a 1440p monitor and seeing this issue.
by anonymars | 2025-05-07 12:47:48+00:00
Oh, I have one for you. The article that the state news media auto-published and then retracted when reality failed to measure up: https://www.bbc.com/news/technology-60562240

You can run the original through a translator as it's still archived. https://web.archive.org/web/20220226051154/https://ria.ru/20...

> Russia is restoring its unity - the tragedy of 1991, this terrible catastrophe of our history, its unnatural dislocation, has been overcome. Yes, at a great cost, yes, through the tragic events of a de facto civil war, because now brothers, divided by their belonging to the Russian and Ukrainian armies, are still shooting at each other - but Ukraine as anti-Russia will no longer exist. Russia is restoring its historical completeness, gathering the Russian world, the Russian people together - in all its totality of Great Russians, Belarusians and Little Russians. If we had refused this, had allowed the temporary division to become entrenched for centuries, then we would not only have betrayed the memory of our ancestors, but would also have been cursed by our descendants - for allowing the disintegration of the Russian land.

Note that referring to Ukrainians as "little Russians" is grossly offensive but fits with the big picture idea (which you can see scattered in this very thread! https://news.ycombinator.com/item?id=43913680) that Ukraine isn't a real country or a separate nationality. This year we have been provided a very easy parallel: the rhetoric that Canada isn't really separate and should just be the 51st state. (What a coincidence!)
by rors | 2025-05-07 12:48:21+00:00
People are odd in terms of what they will tolerate. I prefer having a 15 mins stroll to pick up my coffee or food, for others it’s deal breaking.

The time argument is also weird. I find that I have a maximum of 6 hours highly productive work in me a day, perhaps an additional few hours of less productive work. A stroll or cooking recharges my mind. I envy all the people here who are working a productive 12 hour day.
by timschmidt | 2025-05-07 12:48:35+00:00
> Many of the members of the Rust Evangelism Strike Force, as main audience.

Well I'm not them. I'm just a regular old software developer.

> The strength of C++ code today is on the ecosystem

Ecosystem is why I jumped ship from C++ to Rust. The difference in difficulty integrating a random library into my project is night and day. What might take a week or a month in C++ (integrating disparate build systems, establishing types and lifetimes of library objects and function calls, etc) takes me 20 minutes in Rust. And in general I find the libraries to be much smaller, more modular, and easier to consume piecemeal rather than a whole BOOST or QT at a time.

And while the Rust libraries are younger, I find them to be more stable, and often more featureful and with better code coverage. The language seems to lend itself to completionism.
by cmiles74 | 2025-05-07 12:49:00+00:00
It reads to me like they compare the output of different prompts and somehow reach the conclusion that Claude is generating more than one token and "planning" ahead. They leave out how this works.

My guess is that they have Claude generate a set of candidate outputs and the Claude chooses the "best" candidate and returns that. I agree this improves the usefulness of the output but I don't think this is a fundamentally different thing from "guessing the next token".

UPDATE: I read the paper and I was being overly generous. It's still just guessing the next token as it always has. This "multi-hop reasoning" is really just another way of talking about the relationships between tokens.
by kllrnohj | 2025-05-07 12:49:07+00:00
> Thinking that only "embedded" cares about custom allocators is just naive.

I said absolutely no such thing? In my $dayjob working on graphics I, too, have used custom allocators for various things, primarily in C++ though, not Rust. But that in no way makes the default of a global allocator wrong, and often those custom allocators have specialized constraints that you can exploit with custom containers, too, so it's not like you'd be reaching for the stdlib versions probably anyway.
by a_shovel | 2025-05-07 12:49:08+00:00
They did sell some as souvenirs for 5 shillings a piece (about 5 GBP today?) according to Wikipedia, but there's a limited quantity of people with an interest in buying ancient Roman nails at that price. They're not the most dazzling display piece.

Note also that they would have recycled most of them in the old days as well, and that's where much of the value would come from.
by afactcheck | 2025-05-07 12:50:04+00:00
Good advice. Fortunately for the aspiring cannibal, however, Creutzfeldt–Jakob disease is very rare with an estimated prevalence of 1 case per million people per year [1], and it's exposure to prions through the eating of infected meat that allows transmission this way rather than cannibalism specifically.

There's a popular belief that cannibalism can cause prion disease. However, this seems not to be the case with famous outbreaks such as Kuru being the result of many members of the community eating or being exposed to the brain tissue of already infected individuals [2]. Concern of transmission via eating meat of animals with a prion disease was the reason for European bans on British Beef in the 90s and 2000s [3].

If you're concerned about exposure to prion disease then good news! They are rare diseases and research suggests that most (87%) of the few cases that do occur are due to protein misfolding in the individual (spontaneous CJD) rather than genetics (familial CJD) or prion exposure (iatrogenic and variant CJD) [4].

[1] https://web.archive.org/web/20170704234755/https://www.ninds... [2] https://en.wikipedia.org/wiki/Kuru_(disease)#Transmission [3] https://en.wikipedia.org/wiki/Bovine_spongiform_encephalopat... [4] https://doi.org/10.1002%2Fana.410430611
by bArray | 2025-05-07 12:50:09+00:00
Thank you for sharing.

My parrot is very particular about food, but will try most things. He likes his sweetcorn cooked, peas cooked, carrot uncooked, etc. He also drops dog food down to the dogs and watches the dogs eating it, and then likes to eat some of the dog food himself (the dog food is mixed with boiling water and cooled so that it is more soggy). He has also successfully trained a young budgie to copy him.

We try not to feed him too many fats. He has access to seeds all of the time, sometimes we put millet in the cage, and occasionally we break up peanuts for him. He is rather partial to a cashew, but they are very fatty. He's not a big bird and smaller birds have more trouble with fats.

He's about 1 year now and seems to be sexually mature, we're hoping we can get him to either do tricks or talk, but not sure about how to train him.