MurphyA/hacker-news huggingface dataset:
by superkuh | 2026-02-20 15:56:12+00:00
I'm glad the llama.cpp and the ggml backing are getting consistent reliable economic support. I'm glad that ggerganov is getting rewarded for making such excellent tools.

I am somewhat anxious about "integration with the Hugging Face transformers library" and possible python ecosystem entanglements that might cause. I know llama.cpp and ggml already have plenty of python tooling but it's not strictly required unless you're quantizing models yourself or other such things.
by __mharrison__ | 2026-02-20 15:56:20+00:00
When folks ask about my keyboard preferences, I always state that these things are personal and there is no "one size fits all". Fully realize that my keyboard, layout, hot keys, etc won't work for 99.9% of people.

However, I feel very strongly that if your body is telling you that something hurts or it is in pain, you should take action rather than right through it.
by mort96 | 2026-02-20 15:56:29+00:00
> No. We were talking about using malloc/free vs. a resizable buffer.

No. This is a conversation about Go. My example[1], that you responded to, was an example taken from a real-world project I've worked on which uses Go wrappers around SDL functions to render text. Nowhere did I mention malloc or free, you brought those up.

The code you gave this time is literally my first example (again, [1]), which allocates a new surface every time, except that you forgot to destroy the surface. Good job.

Can this conversation be over now?

[1] https://news.ycombinator.com/item?id=47088409
by parliament32 | 2026-02-20 15:56:36+00:00
I don't think there's anything wrong with sharing something cool, even if it's trivial to other people. The problem is framing a blog post with "ooh this was buried in the secret leaked CIA material".. and then the reader opens it to find out it's just xargs. It feels very clickbaity. Akin to "here's one simple trick to gain a treasure trove of information about all the secret processes running on your system!!" and it's just ps.
by freedomben | 2026-02-20 15:56:41+00:00
Testing. If you share something you've tested and know works, that's way better than sharing a prompt which will generate untested code which then has to be tested. On top of that it seems wasteful to burn inference compute (and $) repeating the same thing when the previous output would be superior anyway.

That said, I do think it would be awesome if including prompts/history in the repos somehow became a thing. Not only would it help people learn and improve, but it would allow tweaking.
by iugtmkbdfil834 | 2026-02-20 15:56:54+00:00
<< The highly agentic are people who just do things. They don’t timidly wait for permission or consensus; they drive like bulldozers through whatever’s in their way.

I genuinely like the author's style ( not in the quote above; its here for a different reason ). It paints a picture in a way that I still am unable to. I suck at stories.

Anyway, back to the quote. If that is true, then we are in pickle. Claw and its security issues is just a symptom of that 'break things' spirit. And yes, this has been true for a while, but we keep increasing both in terms of speed and scale. I am not sure what the breaking point is, but at certain point real world may balk.
by tinyhouse | 2026-02-20 15:57:12+00:00
Openai is just playing catchup at this point, they completely lost thier way in my view.

Anthropic on the other hand is very capable and given the success of claude code and cowork, I think they will maintain their lead across knowledge work for a long time just by having the best data to keep improving their models and everything around. It's also the hottest tech conpany rn, like Google were back in the day.
by munk-a | 2026-02-20 15:57:35+00:00
Genuinely, I think the US is pretty doomed if the Trump family and administration cronies aren't stripped of their wealth, tarred and feathered. If it is known that being president is a great way to make a bunch of money through corruption and there are no consequences then we'll be in the same situation as the Roman Republic in the waning days before Caesar. Caesar himself was funded by Crassus to make sure Crassus wealth making tactics stayed legal and grant him a big payout in the form of a rich governorship. Towards the end of the republic that sort of quid pro quo was standard operating procedure and if it happens and goes unpunished - if those benefiting see any positive RoI - then it'll just happen more and more.
by Tade0 | 2026-02-20 15:57:37+00:00
No, but you're already the second person to ask this, meaning I now have to see this place.

I'm not American, but I was meaning to visit Altoona, PA as, according to one person living there, it was "the most average town in US". Unfortunately Luigi Mangione put it on the map, so it most certainly lost that title by now.
by phkahler | 2026-02-20 15:57:45+00:00
>> I kinda wish blender could just do CAD honestly

Have you tried the "CAD sketcher" add-on? I think Blender should have similar functionality built-in, but for now this looks like a nice add-on.

Blender is a very very long way from being used as a general purpose CAD tool, and IMHO it should not strive to be that. But having this ability to do simple CAD designs without opening and learning a different program is cool.
by dijit | 2026-02-20 15:57:48+00:00
You know what, I'm going to defend this, because despite how off-colour and bad faith it comes across there's a definite nugget of truth that we have to sit with.

If your hiring program is built around increasing diversity, and you have an enemy who would count as diverse by default then you have quite literally opened the door for exploitation.

All the handwringing in the sibling comments are not even trying to contend with this.

(Also, it seems to be second generation migrants with greater affinity for religious extremism and patriotism for their parents country, and those are usually full citizens: this is very difficult to contend with).
by reliabilityguy | 2026-02-20 15:58:18+00:00
You are saying that basically we do not have to hold anyone to any standard because (1) it’s hard, and (2) it’s enough to use prior behavior and common sense to deduce the conclusion.

Great!

If the US government explicitly stated their goal of promoting racist ideology, then it should not be hard to find a video clip of a video conference, a published policy memo, or anything of the sorts, that states this. Not an interpretation written by a journalist of something, but a raw source. But, there is nothing.

All we have is articles written in media (which can be biased), which you parse with your own specific bias (so, it’s already bias(bias(rumor))), and you want me to accept it?

I’m sorry, but it sounds like BS.
by mort96 | 2026-02-20 15:59:43+00:00
Your comment was in reply to nasretdinov, but its fundamental logic ignores what I've been telling you this whole time. You're pretending that the only solution to iterating through files is a work queue and that any solution that does a synchronous open/close for each iteration is fundamentally bad. I have told you why it isn't: you don't always need the performance.
by pjmlp | 2026-02-20 15:59:44+00:00
While not automated, you can make use of function-try-blocks, e.g.:

struct Example {
Example() = default;

~Example()
try {
// elease resources for this instance
} catch (...) {
// take care of what went wrong in the whole destructor call chain
}
};

-- https://cpp.godbolt.org/z/55oMarbqY

Now with C++26 reflection, one could eventually generate such boilerplate.
by elAhmo | 2026-02-20 15:59:47+00:00
I am still baffled by the notion that Trump and co. managed to spread the 'other countries are paying for the tariffs' narrative into mainstream and having so many world leaders bend over just to have them not imposed. Knowing they are short-lived, unpredictable, illegal, and in the end hurting the US consumers primarily.

Sure, if there is a huge tariff on something, the user might look for an alternative, causing lower sales and, therefore, damaging the source company and economy, but for many products there isn't really a US-available substitute.
by dekhn | 2026-02-20 16:00:21+00:00
I would go so far as to say that the vast majority of the time, systems that evolved are robust, not brittle, and you're right, this compromise "works better" or is "good enough to reproduce more than my relatives". And other times something gets caught in a local minima- but other bits around it optimize anyway (I think the "backwards" human eye might be an example of that- https://en.wikipedia.org/wiki/Evolution_of_the_eye#Placement and see also, https://en.wikipedia.org/wiki/Evolutionary_baggage).

Anyway, the example I was thinking of is here: https://en.wikipedia.org/wiki/Diffusion-limited_enzyme where some enzymes have evolved to reach extremely close to the maximum rate of catalysis limited by diffusion rates (and some enzymes have clever tricks to get around that).
by kjshsh123 | 2026-02-20 16:00:22+00:00
Building apartments where people want to live generally reduces commute time. The same people need to get to the same place but usually you're letting people start closer. The same people driving less distance means less traffic, not to mention, you might even get people out of cars. Taking transit or walking are dependent on living close enough to where you want to go. Transit funding is also dependent on density.
by MegaDeKay | 2026-02-20 16:00:29+00:00
> The authors get somewhat blinded to the pain because they're used to it, plus change is difficult for the established userbase. There's also a feeling that emulating competitors is surrendering one's own identity, and the idea that some of the rough edges are justified by "the powerfulness". Thus radically changing defaults, streamlining, simplifying and even just matching user expectations is often perceived as "taking the power away" and really difficult to have the daring-do to just do. Even though on the other side of the transition a much larger and happier userbase awaits.

I think it is unfair to say that they are "blinded to the pain". They are well aware of it from what I've seen of the Dev discussions on Discord. But the vast majority of the devs are volunteers so they can only do so much so fast. There are also some very nice usability improvements as of late that borrow from other programs, like the Solidworks-style navigation settings and the on-screen draggers for pad / pocket / transform type operations. Yes there are tons of preferences and some of the defaults might not be great, but they've added a "Search Preferences" field to help sort through them all. Then there are issues like in the link below where the discussion of how to improve FreeCAD considers comparisons with other pieces of software.

https://github.com/FreeCAD/FreeCAD/issues/19440#issuecomment...

Another point I'll add is their creation of a Design Working Group to help sort through usability issues and generate a consensus for devs to subsequently implement.
by kalterdev | 2026-02-20 16:01:08+00:00
When I have this problem, I catenate two outputs:

man curl |grep -e -L
man curl

This way, I have all the matches at hand. When I pick the one I need, I select the line and search for it, finding the next occurrence in the full man-page.

Checking sub-command section is trivial as well. Because the editor remembers the exact location of the cursor, you can always go back to it after scrolling up and down however you feel like.

For this scenario to work nicely, you have to have run the commands from a text editor. I use Acme [1], it’s optimized for this style of work and doesn’t shy away mice.

So, to hell with AI.

[1]: https://p9f.org/sys/doc/acme/acme.html
by carlosjobim | 2026-02-20 16:01:18+00:00
I'm just here to enjoy the endlessly fractal spiraling double-think of tariffs being the devil when the US implements them, and being double-plus-good when the European Union implements them (or China or South America).

As hackers here are very intelligent but also very unwise, they find great enjoyment in double-think exercises and the resentment it gives them.
by disgruntledphd2 | 2026-02-20 16:01:43+00:00
> “Poverty” might be the cause, but it’s not just poverty by itself. Every country has rich people and poor people. The U.S., however, has that normal spectrum, plus subpopulations that have unique circumstances that aren't accounted for just by income level.

Culture is a thing, as I'm sure you know (we discussed it some time ago here). Like, in general, (many) Irish people value education above and beyond what would be expected of similar socio-economic groups, which lead to their descendants doing better than might naively be expected. The Asian thing is almost certainly similar, given all the memes that exist around demanding Asian parents. Jewish people have similar cultural beliefs.

However, you can't really aggregate up to an White level, as these factors will vary massively. Same with Asians, you'd need to control for a lot of factors.

Fundamentally though, it's better for society if everyone gets a chance to develop their potential, and my argument is that this doesn't happen to the same extent in the US as it might elsewhere, because of large gaps in income inequality and social forcing functions (if everyone you know drops out of school early, or doesn't take it seriously then most people will too).

> “Poverty” might be the cause, but it’s not just poverty by itself. Every country has rich people and poor people. The U.S., however, has that normal spectrum, plus subpopulations that have unique circumstances that aren't accounted for just by income level.

I get that you're more familar with US society, but this is a thing basically everywhere. Like, African descendants in the UK are probably one of the most successful immigrant populations, rather than less succesful than the average in the US. I honestly think that the US "unique circumstances" are cope for the lack of decent income mobility and social safety nets that prevent a larger proportion of people from realising their potential.
by ameixaseca | 2026-02-20 16:01:57+00:00
> I have a personal aversion to defer as a language feature.

Indeed, `defer` as a language feature is an anti-pattern.

It does not allow the abstraction of initialization/de-initialization routines and encapsulating their execution within the resources, transferring the responsibility to manually perform the release or de-initialization to the users of the resources - for each use of the resource.

> I also dislike RAII because it often makes it difficult to reason about when destructors are run [..]

RAII is a way to abstract initialization, it says nothing about where a resource is initialized.

When combined with stack allocation, now you have something that gives you precise points of construction/destruction.

The same can be said about heap allocation in some sense, though this tends to be more manual and could also involve some dynamic component (ie, a tracing collector).

> [..] and also admits accidental leaks just like defer does.

RAII is not memory management, it's an initialization discipline.

> [..] what I would want is essentially a linear type system in the compiler that allows one to annotate data structures that require cleanup and errors if any possible branches fail to execute the cleanup. This has the benefit of making cleanup explicit while also guaranteeing that it happens.

Why would you want to replicate the same cleanup procedure for a certain resource throughout the code-base, instead of abstracting it in the resource itself?

Abstraction and explicitness can co-exist. One does not rule out the other.
by embedding-shape | 2026-02-20 16:02:09+00:00
> Why doesn't HF support BitTorrent?

Harder to track downloads then. Only when clients hit the tracker would they be able to get download states, and forget about private repositories or the "gated" ones that Meta/Facebook does for their "open" models.

Still, if vanity metrics wasn't so important, it'd be a great option. I've even thought of creating my own torrent mirror of HF to provide as a public service, as eventually access to models will be restricted, and it would be nice to be prepared for that moment a bit better.
by tracker1 | 2026-02-20 16:02:14+00:00
According to the first militia act, which defines the militia ss every able bodied male over 18... everyone is required to own a firearm... yeah, it's a musket, but it was the most common weapon of the time, today it would likely be a 9mm handgun and an AR-15.

It would also mean having regular meetups in your community to discuss any coordination necessary in times of emergency... Where to show up with your gun(s), who is in charge, who to communicate with, etc.

I'd be a proponent of returning to this norm.
by _dan | 2026-02-20 16:02:24+00:00
There are a bunch of aluminium Lily58 cases out there, they're not cheap tho.

Most of the time keys popping out means your plate is too thick or the switch holes aren't a good fit. You can often improve it (and the sound) with some foam between the plate and the pcb - you can buy laser cut neoprene plate foam for lily58s, or you can always freehand it with a knife and a sheet of 2-3mm foam (it's not that hard and doesn't have to be perfect).
by languagehacker | 2026-02-20 16:02:44+00:00
I'm a big fan of Karl Popper's work. I learned about him when reading the book Empirical Linguistics by Geoffrey Sampson. At the time, it was a pretty iconoclastic publication, since it directly struck against the assumption of nativism by framing the study of language as something that could be evidence-based in a way where hypotheses were truly falsifiable. The ability to collect and process large amounts of data pertinent to language make it a lot easier to strike down some of the more inscrutable theories of the '90s and '00s -- at least to those who are willing to do real science.
by maerF0x0 | 2026-02-20 16:02:54+00:00
DEFAULT_BRANCH=$(git remote show origin | sed -n '/HEAD branch/s/.*: //p')

git branch --merged "origin/$DEFAULT_BRANCH" \
| grep -vE "^\s*(\*|$DEFAULT_BRANCH)" \
| xargs -r -n 1 git branch -d

This is the version I'd want in my $EMPLOYER's codebase that has a mix of default branches
by sowbug | 2026-02-20 16:03:21+00:00
To the CPAs among us: will the refunded import taxes be treated as extra profit for all the importers who paid them?

I could see an argument that they don't have a legal obligation to pass the refunds on to their customers, any more than my local grocery store owes me 5 cents for the gallon of milk I bought last year if the store discovers that their wholesaler had been mistakenly overcharging them.
by vladvasiliu | 2026-02-20 16:03:30+00:00
I'd argue they're actually much better than some bargain-bin realtek cards, especially if you want raw performance.

They'll also probably work out of the box on whatever "server" distro you throw at them, which seems to be an issue with the machine in question.

However, GP was most likely talking about actual NUCs, not NICs. I mean, there wasn't a typo. The point probably being that the CPUs in some of those mini boxen are likely to be woefully undercooled, so performance may not be what you expect by just looking at the CPU model.
by rekabis | 2026-02-20 16:03:38+00:00
> Even on my crowdsourced list of well-made apps and sites, someone mentioned Bear – interestingly enough another note-taking app – this way:

>> The fact that in the 10+ years I’ve been using it, there’s only been a single major overhaul update is a feature, not a bug to me.

The big problem with Bear is that it offers only subscriptions, yet comes with absolutely nothing that could possibly justify a subscription.

Sorry, but that’s a pretty big evil in my book.
by vel0city | 2026-02-20 16:03:43+00:00
Because without that the argument of "everyone has a password manager" fails. Tons of people don't have 1Password or Bitwarden or Lastpass or KeypassXC or whatever.

So sure, they might technically have a password manager installed, in that every major browser has a password manager included. But do they actually use it? That's what really matters.
Show HN: Expectllm – "expect"-style pattern matching for LLM conversations
by entropyvector | 2026-02-20 16:03:52+00:00
I've been experimenting with agent frameworks and noticed that many workflows reduce to a simple pattern:

- Send input
- Wait for a pattern
- Branch on the match

This is essentially the classic Unix expect model, but applied to LLM conversations.

So I built expectllm — a minimal pattern-matching conversation flow library (365 lines of code).

Example:

from expectllm import Conversation

c = Conversation()
c.send("Review this code for security issues")
c.expect(r"found (\d+) issues")

if int(c.match.group(1)) > 0:
c.send("Fix the top 3")

No chains, no schema definitions, no output parsers.

Features:
- expect_json(), expect_number(), expect_yesno()
- Regex → auto format instructions
- Full conversation history for multi-turn flows
- Auto-detects OpenAI / Anthropic via environment variables

The idea: treat LLM conversations as explicit state machines, where each expect() is a state transition.

Repo: https://github.com/entropyvector/expectllm
PyPI: pip install expectllm

Would love feedback — especially on where this abstraction breaks down.
by WarmWash | 2026-02-20 16:04:00+00:00
After 30 years with a shit operating system known as Windows, Linux still cannot get over 5% adoption. Despite being free and compatible with every computer.

"Regular People" know ChatGPT. They know Gemini (largely because google shoves it in their face). They don't know anything else (maybe Siri, because they don't know the difference, just that siri now sucks). I'm not sure if I would count <0.1% of tokens generated being "flooding the market".

Just like you don't give much thought to the breed of grass growing in your yard, they don't give much thought to the AI provider they are using. They pay, it does what they want, that's the end of it. These are general consumers, not chronically online tech nerds.
by rep_lodsb | 2026-02-20 16:04:06+00:00
const diff = if (order == .asc) b_int - a_int else a_int - b_int;
const sign_bit: u1 = @truncate(@as(UWInt, @bitCast(diff)) >> @intCast(bits));
var mask_word = @as(usize, 0) -% @as(usize, sign_bit);

This code in the fallback path (when no constant-time @min/@max is available) will only work if the subtraction doesn't overflow. Or is this not a problem for some reason?
by zbentley | 2026-02-20 16:04:07+00:00
You'd be surprised. I've worked on a municipal/local-area webapp that launched with auth and a create-account form. Userbase in the low 100ks, a few interactions a year. It was an ordinary create-account form: name, address, email/phone, no payment info or government ID. The only alternative to this service--and I do mean only--was to go into a city office and wait in line/fill out forms. Failure to do either resulted in a fine (I forget how much; in USD it would have been less than $50 I'm pretty sure).

Before we added SSO, huge numbers of users would enter but never complete the signup flow. We assumed they were making the (baffling) choice to take time to go to an office and wait inline over filling out a web form. A year later, we added Google and Facebook login. Failures to finish signup dropped to almost zero (a lot of folks were still bailing out of the manual create-account form without finishing, but they were then falling back to Google/Facebook).

More surprising, that year the net number of signups (across web and brick and mortar) more than tripled.

People weren't choosing in-person over a filling out the create-account form. They were choosing to pay a fine instead of filling out the create-account form.

So ... I don't know about "less valuable than TikTok", but a lot of folks' decisionmaking sure is wild.
by pavel_lishin | 2026-02-20 16:04:27+00:00
> Before sending the first mails, I stopped for a moment to reassess whether this was a good idea. What ultimately helped me decide was whether I would like to get the mail as an author.

The only reason this is a reasonable thing for this person to do is this:

> since I ultimately manually check every error

Imagine these emails going out automatically, and incorrectly.