MurphyA/hacker-news huggingface dataset:
by mxey | 2025-12-24 07:20:07+00:00
So there’s no way to have commit messages on changes to patches?
There’s also https://dep-team.pages.debian.net/deps/dep3/

People keep saying “just use Git commits” without understanding the advantages of the Quilt approach. There are tools to keep patches as Git commits that solve this, but “just Git commits” do not.
by aryehof | 2025-12-24 07:20:54+00:00
I disagree with much of this. Programming isn't just a tool we use in pursuit of being an “Engineer” or whatever aggrandizing title is applied. I cant help but smile at the pretension of it.

Currently AI models are inconsistent and unpredictable programmers, but less so when applied to non-novel small and focused programming tasks. Maybe that will change resulting in it being able to do your job. Are you just writing lines of code, organized into functions and modules using a “hack it till it works” methodology? If so, I suggest be open to change.
by echelon | 2025-12-24 07:21:34+00:00
These are neat in that you can jump on and extend existing wifi infra, but it'd be nice if they also included 5G. I want a product that does both.

It's cool to have your own network in a hotel. But it'd be nice to be able to do that on the road, away from public wifi, internationally, whenever - which hotspots do. But at the same time, it'd be nice to be able to do the WiFi thing too to cut back on data usage. I frequently blow through my hotspot data.

I'd rather this be in one device instead of two. Beggars can't be choosers, though, I suppose?
by troupo | 2025-12-24 07:21:44+00:00
As others hsve pointed out, it's a very coarse (and rather arbitrary) categorization.

E.g. both Turkish and Russian are in Category 3, but Turkish is trivial compared to Russian.

Turkish grammar is extremely regular, and follows easily defined rules that fit about two pages of easily digestible tables.

In comparison, Russian is a separate class tought in Russian schools for four years to native Russian speakers. And you still get people who can't properly inflect numerals, for example.
by mikemcquaid | 2025-12-24 07:21:51+00:00
You will find many examples of me apologising and changing on Homebrew’s issue tracker, they just tend to not be the cases that people decide to bring up here. It’s unsurprising to me that 16 years of working on Homebrew most days has a bunch of suboptimal communication in that time. I am not perfect but also never claimed to be.

Attacking my communication here doesn’t help you. I got involved in this thread after seeing someone saying they regret sharing this (interesting) project from your reaction and feeling the same way after your reaction to something I’ve shared. Feel free to ignore me as is your right.
by bsder | 2025-12-24 07:23:09+00:00
I could order MOQ (minimum order quantity) of anywhere from 100-500 depending upon range. I didn't need to be an LLC, but it sure helps to actually know the lingo and understand how to deal with distributors and FAEs (field application engineers).

One thing you absolutely have to remember is that when it comes to distributors and FAEs is that as an individual you are wasting their time. Talking to anyone other than you is more profitable. Nevertheless, most won't ignore you (sales is their job, after all) but you very definitely have to make their lives as easy as possible and understand that you get their time after they have serviced everybody more profitable.

Tariffs made everything miserable because the FAEs and salespeople were up to their earballs dealing with the daily price swings of customers with actual volumes.
by noduerme | 2025-12-24 07:25:28+00:00
>> Arrays cannot have holes. Writing an element after the end is not allowed:

a = []
a[0] = 1; // OK to extend the array length
a[10] = 2; // TypeError

If you need an array like object with holes, use a normal object instead

Guess I'm a bit fuzzy on this, I wouldn't use numeric keys to populate a "sparse array", but why would it be a problem to just treat it as an iterable with missing values undefined? Something to do with how memory is being reserved in C...? If someone jumps from defining arr[0] to arr[3] why not just reserve 1 and 2 and inform that there's a memory penalty (ie that you don't get the benefit of sparseness)?
by heavyset_go | 2025-12-24 07:25:45+00:00
There actually was a time when Python dictionary keys weren't guaranteed to be in the order they were inserted, as implemented in CPython, and the order would not be preserved.

You could not reliably depend on that implementation detail until much later, when optimizations were implemented in CPython that just so happened to preserve dictionary key insertion order. Once that was realized, it was PEP'd and made part of the spec.
by Zetaphor | 2025-12-24 07:26:21+00:00
> Yes, appears. To know for sure you’d have to read more of it. You’d have to spend time to understand it. If you know the author and know they have been writing code before LLMs and they tell you they have written it all themselves or at the very least reviewed it all, you’ll place a certain amount of trust in the code based on the author. If, however, they say they vibe coded all of it and verified nothing, you’re no longer trusting the abilities of the author but the random musings of LLMs.

Dude you are taking this very simple piece of software way too seriously. Not everything requires this level of attention or effort. This is a Bluetooth controller adapter, not a an O2 regulator on the ISS. My criteria here are quite simple:

* Is the code readable, so that _if_ I ever have to actually modify it I can? Yes.

* Does it do what it says on the label? Yes.

It's not that deep man.
by culi | 2025-12-24 07:26:33+00:00
A man who tried to overturn an election is in power and is disappearing people on the streets without due process.

The other day there was news about some ICE members who blew up the door to a family's home in order to detain a man. The man was a citizen. They knew that. They came to intimidate him because a few days earlier he tried filming their cars on a public street. That's just one example but these cases are only becoming more common.

One thing that's clear is that if he tries to overturn an election again, he is way better positioned to succeed this time. ICE is now the 5th most heavily funded military in the world and the whole point of DOGE[0] was to centralize the government and fill only with loyalists.

[0] NYT investigation recently proved there were little savings https://archive.ph/y5guv
by PlanksVariable | 2025-12-24 07:27:49+00:00
You certainly seem to be arguing just to argue. You’re comparing Valve to the companies you choose to work for or the median German company, but those are irrelevant. You’re using the wrong reference set.

Valve is a global, revenue-dominant, platform-level technology company. In its category, 300 employees is extremely small.

Valve is not a German company, so that’s an odd context, but if you want to use Germany for reference, here are the five German companies with the closest revenue to Valve’s:

- Infineon Technologies, $16.4B revenue, 57,000 employees

- Evonik Industries, $16B, 31,930 employees

- Covestro, $15.2B, 17,520 employees

- Commerzbank, $14.6B, 39,000 employees

- Zalando, $12.9B, 15,793 employees
by ChrisArchitect | 2025-12-24 07:29:30+00:00
LinkedIn poster updated the post:

> Update:
It appears my post generated far more attention than I intended... with a lot of speculative reading between the lines.

> Just to clarify... Windows is *NOT* being rewritten in Rust with AI.

> My team’s project is a research project. We are building tech to make migration from language to language possible. The intent of my post was to find like-minded engineers to join us on the next stage of this multi-year endeavor—not to set a new strategy for Windows 11+ or to imply that Rust is an endpoint.
by throwaway17_17 | 2025-12-24 07:30:22+00:00
I really am curious why the article goes with just implementing Templates early. If the question is going back from today (or even 2013 as the year for Bjarne giving the question to his class) why would someone recommend templates when typed polymorphic datatypes constructors are a more sound method for implementing ‘generics’ (also easier to produce sensible error messages)?

Also, why go with constexpr as a replacement (which is not as expressive unless I have badly misunderstood how they work) for pre-processor macros. There have been type-safe and sound implementations of macros, along with explicitly staged computations, since the early 2000’s, why would that not be more preferable?

I think the article is a fun thought exercise, but i think it attempts to stick too closely to what C++ has become in our timeline and ignored better alternatives that if explained and implemented at the outset would result in a language that retained the performance and abstraction characteristics of C++ as it is today but would place it on sound foundation for further evolution as the language adapts to changes in the industry at large.
by mpweiher | 2025-12-24 07:30:25+00:00
In 1979 the “standard practice in C of passing a large struct to a function” wasn’t just not standard practice, it didn’t exist!

All you could pass as a parameter to a function were pointers to structs. In fact, with one exception, all parameters to functions were basically a machine word. Either a pointer or a full size int. Exception were doubles (and all floating point args were passed as doubles).

Hmm..maybe two exceptions? Not sure about long.

The treatment of structs as full values that could be assigned and passed to or returned from functions was only introduced in ANSI C, 1989.

And of course the correct recommendation to Bjarne would be: just look at what Brad is doing and copy that.
by SarahC_ | 2025-12-24 07:32:01+00:00
Always been a "Dev"..... "Senior" is often a trap for longer hours, less pay, and more responsibility for nothing.
I do like helping other people out with their code, and giving them ideas for alternative easier/better to maintain code. I love talking to our end users about their experience and needs. So often the Jira ticket isn't matching the users "Vison" (however rare users having vision is.... if you ask the right questions, they DO often know what they want, just not how they want it)

I've given lots of help in the past but my name never appeared on tickets. My green boxes were few and far between. Sadly when the redundancies came - my boxes were mostly white. Axed. So be careful!

I think "Senior" is a massive extent of skills - and most people aren't on the same page of its meaning.

Some would even say "Senior" is that grumpy old guy that over-engineers everything and shouts at the youngsters if they say he's making stuff 9/10 other dev's can't maintain even with the documentation.
by dragonwriter | 2025-12-24 07:32:07+00:00
> My point with this is that lawyers, which the Department of Justice is full of, are no strangers to this process so should be able to do it adequately. If they reveal something damaging to their client this way, they themselves can get sued for whatever the damages are. So it's something they're careful about, for good reason.

> So in my opinion, it's unlikely that this is an act of resistance. Lawyers won't generally commit overt illegal acts,

Political redaction in this release under the Epstein Transparency Act is an overt, illegal act.

Does that reconfigure your estimation of whether DoJ attorneys that aren't the Trump inner-circle loyalists installed in leadership roles might engage in resistance against (or at least fail to point out methodological flaws in the inplmentation of) it?
by larusso | 2025-12-24 07:32:33+00:00
This year I had to create SBOM files for our Unity projects. Of course there is nothing. For all that don’t know: UPM (Unity Package Manager) is a way to easily install packages in Unity. And as a side note, for whatever reason they decided to built on top of npm not nuget for the package infrastructure and metadata format.
Anyways: Most packages we use are simply wrapper packages for other packages. Like a wrapper for a .NET library. There is no clear dependency try but based on the package ID I’m able to see them. So I wrote the SBOM files based manually with an SBOM library and added pedigree statements to the original nuget package being wrapped. Idea was if the nuget package has a security issue the UPM package also gets flagged. Showed that one of the security engineers of the software we use. As wer was cool but that is not a standard. There is also no official package specification for UPM (I also made that up as part of the purl)
So yes SBOM is a standard with a huge array of ways to declare said information. And it seems most companies consuming the files don’t built general parsers but expect specific formats for X.
by ulrikrasmussen | 2025-12-24 07:32:42+00:00
I disagree with the premise. For me, "works better" means that I can swap out one of the devices in my fleet with a different brand and still have a functioning setup.

But even ignoring that, I think your claim can be true while forcing Apple to be compatible is still the right thing to do, because optimizing for personal convenience and user experience only is not the best outcome if it comes at the expense of market failure due to vendor lock-in.
by notepad0x90 | 2025-12-24 07:35:05+00:00
The checksum just tells you what the hash is, nothing more. Supply chain attacks aren't always against the main executable either. With authenticode, the "catalog" can be signed. You're even more opposite of OP than I (OP proposes lockfiles which are at runtime).

It shouldn't be for "just" any state of the software. We should be able to verify SBOM and take actions at any point. At build time, it is only useful for the developer, I don't get why SBOM is relevant at all. I think you mean at deployment time (when someone installs it - they check SBOM). What I'm saying is, when you fetch the software (download, package manager, appstore,curl|sh), when you "install" it, when you run it, and when it is dormant and unused. At all of those times, SBOM should be checkable. Hashes are useless unless you want people to collect hashes for every executable constantly, including things like software updates.

The problem is, people are looking at it only from their own perspective. People interested in audits and compliance don't care about runtime policy enforcement. People worried about software supplychain compromises, care more about immediate auditability of their environment and ability to take actions.

The recent Shai-Hulud node worm is a good example. Even the best sources were telling people to check specific files at specific locations. There was just one post I found on github issues where someone was suggesting checking the node package cache. Ideally, we would be able to allow-list even js files based on real-time SBOM driven policies. We should be able to easily say "if the software version is published by $developer between dates $start and $end it is disallowed".
by arreow | 2025-12-24 07:35:51+00:00
Hi HN,

I'm one of the creators of Knowimg. We built this because running Stable Diffusion locally requires expensive GPUs, and existing web tools are often fragmented or too complex.

Knowimg combines text-to-image generation, in-painting editing, and a specialized "Virtual Try-On" feature into one browser-based interface. It's powered by the Nano Banana Pro model backend.

We're trying to make AI image editing accessible to everyone without technical setup.

Would love to hear your feedback on the generation quality and the UX!

(We have a free tier so you can try it out without a credit card.)
by jacquesm | 2025-12-24 07:38:34+00:00
> Are you allowed to name them?

Unfortunately not. But the devices they make are absolute life savers and I found it one of the most interesting jobs I did in the last couple of years because I think I learned more from them than they learned from me. I was just focusing on a handful of details, they had to keep the broader picture in mind all the time and educate me to the point that my knowledge became useful to them.

You are probably right that they are uncommon, but the fact that the company was led by a scientist who was very much involved in the process and the mission and offloaded as much of the non-essentials of the CEO job to others made me feel I had gone back in time to be near HP when they were just founded. In the longer term I expect them to dominate the space.
by rgblambda | 2025-12-24 07:38:57+00:00
>I don’t believe we had that button at the founding

Every government everywhere has and has always had state secrets e.g. names of spies.

>make being involved with witness harm at any layer of indirection a capital offense.

People still commit capital offenses. This just makes it much easier to get to that witness and get away. We also know from empirical evidence that the death penalty is not useful for deterring crime.

Witness protection is also getting to start over without everyone in your neighborhood knowing you were a criminal. It's part of the deal.
by roncesvalles | 2025-12-24 07:38:59+00:00
I think AI is completely optional for software development.

There seems to be a new kind of anxiety wherein devs feel that they aren't leveraging AI to the fullest in order to make them more productive at developing software, and that since they aren't doing so, they should just give up writing software completely.

This anxiety is unfounded. The difference between using AI vs not using AI is not like using a physical spreadsheet vs Microsoft Excel. It's more like using a text editor versus an IDE. If you're happy producing software the way that you always were sans AI, you should just keep doing it that way and don't even pay mind to AI tooling.

Those guys who have super sophisticated MCP/tool use setups, and a roster of agents, and testdrive all the latest tools and plugins, and curate a personal library of carefully tuned prompts that make them the "LLM Whisperer" — they're not actually doing that much better than you at producing software. Or at least not to the extent that you are totally obsolete.
by zwnow | 2025-12-24 07:39:01+00:00
Its a startup that prioritizes features, once we have a few more customers we can scrap the project and focus on quality over quantity and actually check what the customers actually use. Fixing stuff at this point in time is looked at as a waste of time. Mind we do ticketing and cashless and already serve small festivals, so in my mind it would be important to fix things but I am not the person deciding on this.
by pipo234 | 2025-12-24 07:39:22+00:00
For starts, wouldn't it be kind of ironic to set up limits and authorization in a context that is about making some content available to the public?

I'd say any technical or legal restrictions or possible means to enforce DRM ought to be disabled or absent from the media format used when disseminating content that must be disclosed.

Censorship (of necessary) should purge the data entirely,ie: replace by ###
by onion2k | 2025-12-24 07:39:24+00:00
Isn't one fairly major problem with using lockfiles that there could be packages in the lockfile that aren't used in the application? If I run "npm i package" that doesn't tell you whether or not 'package' is actually used in the app.

For most things that unused dependency is just annoying but if your government has mandated that you use a specific package for something (e.g. cryptography) the lockfile isn't enough to give you confidence that the app is actually doing that. You'll still need to audit the application code.
by rasz | 2025-12-24 07:39:35+00:00
Because GPU developers started to be less lazy :)

No T&L meant everything was culled, clipped, transformed and per-vertex divided (perspective, lighting) on CPU.

Then you have brute force approach. Voodoo 1/2/3 doesnt employ any obvious speedup tricks in its pipeline. Every single triangle pushed into it is going to get textured (bilinear filtering, per pixel divide), shaded (lighting, blending, FOG applied) and then in the last step the card finally checks Z-buffer to decide between writing all this computed data to buffer or simply throwing it away.

It took a while before GPU devs started implementing low-hanging fruit optimizations https://therealmjp.github.io/posts/to-earlyz-or-not-to-early...

Hierarchical-Z, Fast Z clearing, Compressed Z buffer, Compressed Textures, Tiled shading. It all got added slowly one step at a time in early 2000.
by antisol | 2025-12-24 07:40:15+00:00
> How would you do this ?

It depends. I have many questions.

> My goal is to minimize CPU usage on the computer. Would h264 compression be a good thing here given source and destination are the same machine?

No.

> Other ideas?

1. Why does it need to be displayed in a web browser (as opposed to more appropriate / better performing software specifically built for video)?

2. via what interface/library is the camera connected to the machine? What format/codec is the uncompressed stream you're getting from the camera?

3. I am available at very reasonable consulting rates
by milch | 2025-12-24 07:40:29+00:00
I don't think they necessarily compete for the same market as some of these other routers. This seems way more compact than many of the other options on the market. I just briefly looked around on Amazon and even many other wifi 5 routers look to be about 2x or thicker than this one. Compared to the GL.inet Opal for example, it's about 20mm smaller in each dimension: 118 x 85 x 30mm (Opal) vs. 95.95 x 65 x 12.5 mm (Unifi). The Unifi is pretty close to a tiny 5000 mAh portable battery.

Now what I'd be really more interested in a Pro version, more so than wifi 6, would be a built-in modem with SIM/eSIM.
by silisili | 2025-12-24 07:41:12+00:00
I'm torn on this.

Initially I agreed, just because so many other languages do it that way.

But if you ignore that and clean slate it, IMO, 1 based makes more sense. I feel like 0 based mainly gained foothold because of C's bastardization of arrays vs pointers and associated tricks. But most other languages don't even support that.

You can only see :len(x)-1 so many times before you realize how ridiculous it is.
by tsimionescu | 2025-12-24 07:42:45+00:00
> A word processor can save it's state at an arbitrary point... That's what the save button is for, and it's functional at any point in the document writing process!

No, they generally can't save their whole internal state to be resumed later, and definitely not in the document you were editing. For example, when you save a document in vim it doesn't store the mode you were in, or the keyboard macro step that was executing, or the search buffer, or anything like that.

> In fact, nearly everything in computing is serializable - or if it isn't, there is some other project with a similar purpose which is.

Serializable in principle, maybe. Actually serializable in the sense that the code contains a way to dump to a file and back, absolutely not. It's extremely rare for programs to expose a way to save and restore from a mid-state in the algorithm they're implementing.

> Another for example is that on the internet lots of videos have a 'poster frame' - often the first frame of the video. That frame for nearly all usecases ends up downloaded twice - once as a jpeg, and again inside the video content.

Actually, it's extremely common for a video thumbnail to contain extra edits such as overlayed text and other graphics that don't end up in the video itself. It's also very common for the thumbnail to not be the first frame in the video.
by akimbostrawman | 2025-12-24 07:43:14+00:00
"In 2023, nearly 45.6 percent of all e-mails worldwide were identified as spam, down from almost 49 percent in 2022. While remaining a big part of the e-mail traffic, since 2011, the share of spam e-mails has decreased significantly. In 2023, the highest volume of spam e-mails was registered in May, approximately 50 percent of e-mail traffic worldwide."

you have to be a fool to think there is less spam 2 years later but thank you for proving once again your clear bias and inability to read.