MurphyA/hacker-news huggingface dataset:
by skydhash | 2026-02-20 02:08:24+00:00
React is opinionated. The whole point of the library is having UI updates being driven by state mutation. When I hear complain about the hooks, I ask about what is the state, and where do mutations occur, and usually, I get blank stares in returns.

It's all about the state. `useState` is the starting point (adding new items to the state set), `useEffect` for tying the UI to external systems, `useMemo` for state transformation, `useRef` for storing stuff outside of the state you want to react to,... Then you use custom hooks to make the code modular, stuff like usePost, useProfile, useCommentUpvote,... (HN domain)

If you design your state well, the application, at least the UI layer, becomes easy to code and maintain.
by codethief | 2026-02-20 02:09:10+00:00
> the Digital Services Act […] The UK in particular

You do realize that the UK is not part of the EU? So I'm not sure how UK's supposed "weaponization" of Ofcom has anything to do with Macron's statement.

> which is repeatedly and routinely used by European nations to crack down on protected political speech.

I'm really looking forward to your sources here. The DSA does not contain any provisions that change anything about the legality of speech. It's mostly meant to harmonize procedural aspects across the member states.

https://www.csis.org/blogs/europe-corner/does-eus-digital-se...

https://bhr.stern.nyu.edu/quick-take/a-clear-eyed-look-at-th...
by seattle_spring | 2026-02-20 02:11:11+00:00
The only semi-concrete example that article gives:

> After the Southport stabbings, several people were questioned by police over false communications for spreading claims the attacker was a Muslim immigrant. In one instance, a man pleaded guilty to the offence for a livestreamed video on TikTok where he falsely claimed he was “running for his life” from rioters in Derby.

That very much seems like an attempt to harass or invite harassment against a group of people...
by rohan_joshi | 2026-02-20 02:11:50+00:00
New Kitten TTS V0.8 models are out in three variants - 80M, 40M, 14M. The largest model has the highest quality. The 14M variant reaches new SOTA in expressivity among similar sized models, despite being <25MB in size. All models are highly expressive and realistic with high quality voices. Kitten TTS is an open-source series of tiny and expressive text-to-speech models for on-device applications, built by KittenML (with < 3) .
This release supports English text-to-speech applications in eight voices: four male and four female. Most models are quantized to int8 + fp16, and it uses onnx for runtime. The model is designed to run literally anywhere eg. raspberry pi, low-end smartphones, wearables, browsers etc. No GPU required! This release bridges the gap between on-device and cloud models for tts applications.
Multi-lingual support is planned for the future.

We'd love your feedback! On-device AI is currently bottlenecked by the availability of tiny performant models. We're trying to change that by releasing open-source models that can unlock on-device voice agents and applications in the next few months.

Code, weights and more information available on our github: https://github.com/KittenML/KittenTTS
by Zopieux | 2026-02-20 02:11:59+00:00
We do this because using AI makes you immediately lazy in a way that is difficult to put in words but that anyone who tried can relate to.

We do this because we were impressed that one time the stars aligned and the output was decent. So we write just one more prompt bro in the hope it'll will be better than the latest 10, which ended up a waste of time.

We do this because $boss has been successfully spitting out 7 PowerPoints a day with it, which nobody reads but makes them feel productive, therefore this must be the future, therefore AI use shall be mandated until team productivity improves.
by skeledrew | 2026-02-20 02:13:48+00:00
The content of the article seems OK, but I'm still going to generally disagree with it. Maybe my take is just confirming the thesis, but I don't find the larger things I do with AI to be borifying (yes I just invented that word).

I've been ramping my use since the start of this month, and have already made serious progress on a number of projects, many of which have been on ice for years, and have also built out a stable of supporting tools. And I've found it generally exhilarating; making good progress where there was none before is pretty heady.

One of the more memorable experiences I have was a problem that I had to deal with for years, had thought hard about, and then in the end Claude resolved it cleanly with about 1/3 a screen of code (would share the link, but there's no "share" in the mobile app):

===============
I often use [snoop](https://github.com/alexmojaki/snoop) because I like the features and output formatting, but it doesn't support async. I have found [ASnooper](https://github.com/LL-Ling/ASnooper), but it only supports async. I'd like to add ASnooper's async feature to snoop.

I'm thinking of creating a project that imports both, and patches the relevant parts of snoop with the async functionality from ASnooper. I have some notes from looking into the snoop code:
- A `ConfiguredTracer` object is exposed in `builtins` (configuration.py, line 142).
- Whenever the `ConfiguredTracer` object is called with an async function, it raises (tracer.py, line 166).
- The trace event is passed to a formatter, and then a writer (tracer.py, line 280-281).
... and in the ASnooper code:
- An `ASnooper` object is exposed (__init__.py).
- Whenever the `ASnooper` object is called on an async function, it creates formatter and writer objects (core.py, line 69-75).
The approach I'm considering is to wrap `ConfiguredTracer.__call__` with a method that delegates async function tracing to `ASnooper`, and replace the `OutputFormatter` and `OutputWriter` classes with versions that delegate to `snoop`'s implementation. I've prepared a repo for the solution:
"""
.
./README.md
./pyproject.toml
./tests
./tests/__init__.py
./src
./src/async_patched_snoop
./src/async_patched_snoop/__init__.py
"""

I've also extracted excerpts from both projects, as unified diff contexts (attached). Any issues, questions or suggestions? Or a better approach that doesn't involve forking the targeted projects?
===============

I prompted Claude with this along with a file containing the diffs (constructed with the help of another prompted tool), Claude informed me of the issues in my approach and suggested a couple alternate solutions, I selected the one 1 preferred, Claude asked for some more context and then did the implementation, and now I have async support in snoop. Probably took me over an hour to construct that initial prompt, and under 5 minutes of conversion to completed solution. I really don't think that that's boring.
by falkensmaize | 2026-02-20 02:13:56+00:00
I just tried this question today with Opus 4.6, and it got the answer right - “Drive. You’ll need the car”.

I changed only the destination however and it got it wrong. I think they are manually “fixing” these things as they get publicized.

“I need to go to the mechanic shop. It is 50 meters away. Should I walk or drive?

Walk. 50 meters is basically a one-minute stroll — no reason to deal with starting the car, driving, and parking for that distance.”
by LargoLasskhyfv | 2026-02-20 02:14:47+00:00
I'm using an old Marquardt Mini Ergo(modded to ps/2-usb meanwhile) which is split, but fixed. Either I am so used to it by now, that I don't want to use anything else, but that is not how I remember it when I got it around the year 2000, or slightly before that. It felt like it was made for me!

But I'm not sitting like a robot in front of it. My office chair is set to sviveling back, which I often do. I'm even exchanging that chair for an inflatable big rubber ball to sit on, from time to time.
by tehjoker | 2026-02-20 02:14:50+00:00
That's true, I've seen it in action, but at the same time... the number of grants and the rate of grant issuance has been very slow. They aren't using a scalpel to eliminate all the "woke".

They are also attacking Harvard, the number 1 science university in the US. There's a scandal at Harvard last month where the Dean of Science was fired because he was protesting against eliminating graduate students in the sciences (they eventually settled for something like firing him and 50% cuts to my knowledge). I have no love for Harvard by the way, I never thought I would be defending them.
by josephg | 2026-02-20 02:15:05+00:00
> What is it about the tests that make you not care about how it’s implemented versus other code?

Huh this is a thought provoking question.

I think there's a few reasons. In a test suite:

- I don't care about performance.

- I don't care (as much) about reliability. My users aren't affected by crashes and other failures in my tests.

- I don't care (as much) about correctness. Erroneously failing tests will get human attention. Tests that erroneously pass are a bigger problem, but my test suite is not the last line of defence against bugs reaching users.

- If I had infinite time, I'd love every line of code to be a mathematically beautiful work of art. But I don't. Writing this test suite by hand would have taken me about 3 weeks. Instead, I did it in 1 day with claude. This let me spend 14 productive days working on other things. I would rather have a good-enough test suite and 14 days of productive work than an excellent test suite and nothing else. I could spend those 14 days fixing all the bugs it found. Or writing more tests. Or getting claude to write more tests. Or going outside with my friends. These are all better uses of my time.

If I was writing the core of a new game engine, the scheduler of an operating system or the data storage engine for a new database, then I would think hard about every line of code. But not all code is like that. We must adapt ourselves to the project at hand. Some lines of code matter a lot more than others. Our workflow should take that into account.
by helterskelter | 2026-02-20 02:15:32+00:00
I just said it in another post today, but I had a family member recently die from colorectal cancer when they were on a list for a new treatment at Yale, which was canceled because of the so-called Big Beautiful Bill. The doctor who was to perform it literally said "I want you to think of this procedure in terms of a cure" when they were stage 4 for like 7 years at that point.

BBB slashed funding for cutting edge medical research which would not only save, or at least prolong lives, but also generate revenue for this country -- when we export our IP, or when people come here for some of the most advanced medical procedures. To say nothing of immigration policies which actively repel some of the best and brightest and may be leading us to an actual population decline.

Sure we weren't perfect by an stretch before, but it feels like we're getting drowned in a toilet at the moment.
by jcgrillo | 2026-02-20 02:16:27+00:00
Do you have any more information/sources to share on this? I have an Eastern 18 powered with a Yamaha 60hp 4 stroke and I've been struggling to dial the prop right. I don't know off the top of my head what the specs of my current prop are but basically I feel like I'm not taking advantage of the engine's torque at less than WOT, so I basically just run it flat out. If I could extract just a little more thrust out of the prop at lower RPMs it feels like the engine would have enough grunt to make the boat plane in the mid-high 4000s instead of 5000-5200rpm where I currently run it. Ideally, given the bsfc/hp curves, I'd like to run the engine at a bit lower RPM, but the way it's currently set up at ~4600rpm it's not fully up on the step. I was (perhaps wishfully) thinking a little more efficient prop design might help.

The other thing I was thinking of trying is swapping in a different "high torque" lower unit with a lower gear ratio and running a significantly larger prop.
by exabrial | 2026-02-20 02:16:39+00:00
If you're an athlete doing athletic things, get a Garmin. Apple with all of it's nearly unlimited budget cannot do what Connect does.

If you want an iPhone on your wrist get an iWatch. Garmin trades superfluous animations, apps, high frame rates, UI, and probably most promintantly: fashion... for utility.

but also... having a flashlight and compass on your wrist at all times and a 8 day battery life is also a great reason to have a Garmin.
by hn_acc1 | 2026-02-20 02:17:08+00:00
Thanks. As someone who has lived in 3 countries (2 as an adult) and is considering leaving the US again.. Any hints on how NOT to end up on that list? I.e. avoid large transfers? What's the best way to transfer some $$ out of the US? I have no red flags in my background other than some speeding tickets 10+ years ago and have dual citizenship.

How far does this extend? I read the ICC judge had her credit cards canceled - which would be bad, but, has she been prevented from just going to her bank / withdrawing funds / writing a cheque to pay for her bills? Which western countries are more / less integrated into this?
by rkagerer | 2026-02-20 02:17:26+00:00
Glue and seals weaken with exposure to temperature extremes in both directions. I found this out the hard way too.

Yeah, the stuff everyone uses in consumer electronics is crap.

I learned a lot about this after I got a used boat and started working on it myself. I wish manufacturers would take a page from the marine industry and use better quality materials like Stainless 316 for metal frames and fasteners (much more rust-resistant than common 304 Stainless), Santoprene for gaskets (a UV-resistant EDPM blend with a working temperature from -81°F to 275°F / -60°C to 135°C), higher quality adhesives, etc. I noticed SCUBA (diving) and SCBA (firefighting) hardware tends to be built somewhat better (though still not perfect), presumably because it's life-safety. And NASA and others pioneered incredible materials and assembly methods for aviation and spaceflight back in the day. We have the means to build for longevity, it just costs 3X+.

Don't even get me started about commodity vulcanized rubber coatings that become a sticky mess after a few years.
by ratface_ | 2026-02-20 02:19:19+00:00
Jason, thanks for this.

I had a pretty cool experience with kantext.

1) installed the mcp in cursor
2) directed opus 4.6 to read through every tool (appreciate the quick start tool call btw. kudos for including that) and generate some "boilerplate" .kant files based on the contents of my (moderately complex) monorepo
3) set up a claude code before hook to enforce kantext invocation

I'm still not entirely certain I'm using kantext correctly, but hot dang dude.
by abustamam | 2026-02-20 02:20:09+00:00
10% is still quite a lot!

Reliability matters in lots of areas that aren't war. Ignoring obvious ones like medicine/healthcare and driving, I want my banking app to be reliable. If they charge me $100 instead of $1 because their LLM didn't realize their currency was stored in floating point dollars and not cents, then I may not die but I'd be pretty upset!
by stubish | 2026-02-20 02:21:33+00:00
Trick is to not get into the unwinnable situation. I think the correct response is to not shield clients from blame when they refuse or are unable to comply with court orders and throw them under the bus. Which is what Julie Le did when she informed the court the violation was intentional, and was fired for.

"Julie Le, was removed from her post in Minnesota after she told Judge Jerry Blackwell the violations were the result of both a personnel shortage and lackluster procedures intended to ensure orders are followed." “And, yes, procedure in place right now sucks. I’m trying to fix it,” she said. “The system sucks. This job sucks.”
by just6979 | 2026-02-20 02:22:30+00:00
and Git Flow and similar day "that's what merges to main or for". GF and TDB really are way more similar than anyone wants to admit. It's basically "branch for release" vs "merge for release". There are benefits and downsides to both. IE: fully continuous and non-blocking QA/testing is non-trivial, and GF can help with keeping development on "the next thing" moving along without having the dreaded potential huge rebase looming overhead if QA comes back with lots of changes needed. Or just if some requirement changes come down from proect management.

For smaller projects with tests, something like TBD is great: easy to reason about, branches are free, tags are great. For bigger things with many teams working on overlapping features, keeping a TBD setup "flowing" (pun intended) can require a bit more fore-thought and planning. Release engineering, in other words. TBD vs GF is kind of just "do you want your release engineering at the beginning or at the end"?
by b00ty4breakfast | 2026-02-20 02:22:38+00:00
you can build a 3d printer out of general-purpose electronic bits, anything they tried to ban would send ripples into countless other industries that are completely unrelated to each other or 3d printing.

By "general-purpose" I mean that there's no components that are 3d-printer specific; motor controllers and microcontrollers and voltage regulators and all the various jellybean parts. And even if there were any, they could easily be replaced with general-purpose components.
by pembrook | 2026-02-20 02:23:31+00:00
> has largely been unchanged for 150 years. I really don't understand the recent outrage over these and other laws. We have been fine

The last 150 years of Germany have...ahem...not been what I would call "fine."

It would be interesting to have a replay of history without this law and similar ones related to it. Could be nothing different happens.

On the other hand, any law regulating speech is going to have a reverberating effect on the marketplace of ideas with 2nd and 3rd order outcomes that are impossible to disentangle after the fact.
by zaptheimpaler | 2026-02-20 02:23:58+00:00
The people doing the arresting have no ID and wear masks, arrest people without any evidence, throw them in detention centers and then deny them their legal right to a bond hearing and instead detain them indefinitely. Even someone like you should understand, police are not the judges, they can arrest someone but detaining them for a long period of time requires ascertaining their legal status and offering a chance for bond. The judges also overwhelmingly ruled the same thing, while ICE is directly disobeying their legal orders. If they were law enforcement, they would be following the law not breaking it.

https://news.bloomberglaw.com/litigation/ice-detainees-succe...
by RupertSalt | 2026-02-20 02:24:13+00:00
It is a media franchise for children, and there are many elements, and trademarks in addition to copyrights. I think most fans understand the bright line that stops them copying an entire book or film work, unless their dad has a Roku at home.

But there are over 34,000 images uploaded to the Fandom.com site alone. There are character bios and generous quotes from films and books. Countless fans are using elements in memes and avatars and social media posts.

Fan-fiction abounds, where the characters and scenarios are endlessly remixed and mashed up with other fandoms.

Quidditch... simulated... is a collegiate sport, but they had to rename it.

Even on the official Wizarding World site, you can make custom downloadable stuff. Not long ago, freely download wallpapers. Get free clips and trailers on any video site.

News outlets had a difficult time explaining the "Public Domain" status of Mickey Mouse and Betty Boop with the new years. Because Mickey Mouse and Betty Boop, the characters, aren't the things which are copyrighted, and the characters' status didn't change with the new year.

I would bet that the typefaces in the official books have their own copyrights, and the book binding processes are patented.
by AxiomLab | 2026-02-20 02:24:35+00:00
A terminal grid is the purest form of a layout constraint.

By mapping raw, real-time data directly to an ASCII matrix, the visual form becomes a literal byproduct of the data's underlying logic. It entirely strips away the decorative bloat modern GUIs suffer from.

We enforce a similar principle when building algorithmic brand identities: impose absolute grid constraints so the generative system has no room to arbitrarily 'guess' what looks good. Elegance is subtractive.
by jacob_harris | 2026-02-20 02:26:00+00:00
Far from it. There has already been ample reporting on how inflated and distorted DOGE's savings are (for instance, they made rudimentary errors in understanding how blanket purchase agreements work and also counted the whole amounts of contracts as savings when they canceled ones that were already mostly disbursed). You can probably search for coverage by ProPublica or David Farenthold if you want to see what I mean, but I would guess you don't want to.

Instead, I have been focusing my efforts on tracking DOGE's staffing in agencies and their activities and system access there. DOGE has not been transparent at all. Rather, they have abused the Vacancies Act and government detailing to hide their activities and skirt many of the laws around government ethics, privacy and data security in the process. And they have been doing a lot of damage in the process, claiming to be doing "IT Modernization" but doing many things outside of the scope of the Executive Order that established them and also the separation of powers that gives Congress the power over appropriations.
by AxiomLab | 2026-02-20 02:26:05+00:00
L-systems perfectly illustrate how massive visual complexity can be mathematically derived from a handful of discrete axioms.

It’s a core mental model. When building generative systems, the designer's job fundamentally shifts from manually drawing the final shape to strictly engineering the initial recursive rules. A design system that cannot be expressed as a recursive function is usually just arbitrary styling, not a true system.
by exabrial | 2026-02-20 02:28:01+00:00
You know what would slay right now? A native app.

Not another piece of Electron bloatware, a regular, efficient, fast, snappy, native, app. One that connects to my MCP severs and has local filesystem tools.

Anthropic might fall behind Google/OpenAI eventually, but their Desktop App + MCP/Connectors is unbelievably useful to get real work done.
by groundzeros2015 | 2026-02-20 02:28:06+00:00
> hoping it becomes a divisive topic.

Actually no. Did you notice I’m criticizing both administrations?

The similarity to ICE funding is about the misuse of agencies as places to stock resources for your party.

> You’re shifting the discussion to organizations being political

The article suggests that a bunch of IRS people got cut. The missing context is the bunch that got added at the end of the Biden administration. Without considering the 2022 bill, we can’t tell the delta.

Are you suggesting either decision is not political?