MurphyA/hacker-news huggingface dataset:
by tialaramex | 2026-01-03 17:40:33+00:00
> I fled from C++ back to C exactly because of templates

Obviously I sympathize as someone who spent the front half of their career writing C and has no interest in writing C++ beyond toy examples. Nevertheless, IMO you're cutting off a choice here, forcing yourself to make potentially sub-optimal choices.

Sometimes the templates would have been better and writing X-macros is just worse, ergonomically at least. Perhaps C++ people use templates more often than they should, but I'm sure "never" is not the correct amount.

Still, if C gets fat pointers that's at least a step in the right direction. So I must wish you the best with that part.
by jmyeet | 2026-01-03 17:41:10+00:00
The one part of this I will agree with is that US foreign policy is uniparty.

The disastrous War on Terror spanned 4 presidential administrations, 2 Democrat and 2 Republican. Middle East policy differences between the two parties are somewhere between superficial and nonexistent.

Even something like Ukraine where you might say Republicans and Democrats differ isn't true. Had Trump been in office when Russia invaded Ukraine, the two parties would simply be in each other's seats.

This is 100% the case when it comes to China too. Oh, and when it comes to Taiwan (and Hong Kong), official US policy is the so-called One China policy [1].

As for US manufacturing, it's dead. Because capitalists killed it by moving it to China to increase profits and (under Regan, in particular) to destroy unions and the labor movement [2].

As for China and IP, US companies did this to themselves knowingly to increase short-term profits and to break unions and suppress wages. At no point will I accept the framing that a Chinese person, a Mexican, an Indian or a person from [developing country of choice] stole someone's job. No, a capital owner made a choice to take your job and give it to someone else so he or she could become slightly richer.

I'm not sure how immigration factors into China concerns.

[1]: https://en.wikipedia.org/wiki/One_China

[2]: https://ourfuture.org/20140930/reagan-set-up-the-death-of-th...
by pstuart | 2026-01-03 17:41:15+00:00
Indeed. There's plenty of other forms of disenfranchisement (restricted polling access, overly aggressive purging of voter rolls, etc)

It's a pity that this is perceived as such a hot-button partisan topic, because that's not my intent -- I just want to see free and fair elections.

The more distressing fact is that despite my assertion of election fuckery, there's clearly a large number of people that are willing to vote against their best interests because they are so easily swayed by anger and hate. Democracy really is the worst form of government except for all those other forms that have been tried from time to time.
by ck2 | 2026-01-03 17:41:35+00:00
There's no power change, the core of your whole post is wrong

All of Maduro's people are still in power and the president just said the woman who actually won the vote is not suitable to be in charge

Good luck with the US running another country when we are cratering ourselves

Impeach him and send him to the Hague for trial if this was so justified

BTW they are now talking about Cuba, we are headed for WW3 by 2028
by andsoitis | 2026-01-03 17:41:47+00:00
Not sure I follow your line of thinking.

Are you arguing that Utilitarianism isn't a way to guide decisions? And are you saying it is an invalid moral framework?

FWIW, many ethicists suggest using multiple frameworks and would argue using Utilitarianism for policy.

For example, in the EU utilitarianism is rarely used as the sole moral foundation but serves as the primary tool for practical decision-making and public policy. Most visible in how the EU balances competing interests to achieve the "greatest good".
by adhithyasashi | 2026-01-03 17:41:59+00:00
location: chennai, india
remote: yes
willing to relocate: no
technologies: python, pytorch, transformers, llms, huggingface, speech & audio processing, rag, fastapi, docker, gcp, mlops, llmops, data structures, algorithms
résumé/cv: https://drive.google.com/file/d/1lFFMC3MhyCIvZhR0e8e2iRYCU6F...
email: sashiradhithya@gmail.com
by esarbe | 2026-01-03 17:42:05+00:00
As hard as it is to watch a people suffer a dictatorship; that's the Venezuelan's task, not the US's, not Russia's and not China's.

International law clearly states that a sovereign nation has the right to self-rule, without external intervention. The UN Charter doesn't differentiate between democractic and non-democratic nations - it's up to the people of a nation to select their leadership.

We've seen this principle violated before, when the Ukrainian people took the streets for months to topple their leader in 2014. Russia to this day takes this as an excuse to question Ukrainian sovereignty, framing the events as a "US coup" to justify their violent invasion of Ukraine.

The argument you make just plays in their hand. "There was a violent coup - we need to remove the coup government and bring back democracy to Ukraine", they say.
Because in your framing leaves open who gets to decide what it means to be democratically legitimized.

What if the US decides that it will not recognize the government of Denmark as democratically elected and moves to liberate the people of Greenland from their despotic dictatorship?

You're argument opens the door for unlimited military intervention.
by hackerdevops1 | 2026-01-03 17:44:06+00:00
arabs and iran you should now team up and do something about your collective security, because US is now openly started kidnaping the future of countries. team up with pakistan and ensure it's economic stability and make some NATO like agreement and get atleas 10 Nukes each otherwise you will also see the same day as maduro. i beleave you have very little time.
by lazide | 2026-01-03 17:44:09+00:00
That is what link local addresses are for - which you can access your devices on just fine, and don't change. And bonus points - aren't externally routable either.

They are also much shorter. [https://en.wikipedia.org/wiki/Link-local_address]

One really nice thing about IPv6 is you can (and do) have many addresses, all of which work.

for example, you can add a manual fe80::5 address to one machine, and fe80::9 on another - and use those to access those machines on the local network. And not have to worry about that being externally addressable, or having conflicts, etc.

And they won't change when your external addresses change either (unless there is some weird software bug in your OS or something).

Though you probably want to use a unique local address range instead [https://en.wikipedia.org/wiki/Unique_local_address] as they're more equivalent to the 10.0.0.0/16 type behavior you're expecting.
by chronos00 | 2026-01-03 17:44:16+00:00
I agree Zelensky is a legitmate ruler.

But the Russian narrative would be that Viktor Yanukovych was ousted by the Ukraine Parliament in 2014 in what Putin described as a "coup". So Moscow will allege that any president from a future election is illegimate.

Just listened to the Trump press conference, it seems Machado won't be involved in the US-led transition government. He said she is deeply unpopular in Venezuela and it wouldn't work. Conversations are developing between Sec.State Rubio and Venezuela VP Delcy Rodriguez who is Acting President.

This situation feels messier by the minute.
by damnitbuilds | 2026-01-03 17:44:31+00:00
"do not permit your API to have any behaviours, useful or otherwise, which someone might depend on but which aren't part of your design goals"

I can not follow this law by making my API depend, say, the contents of a string value.
Preventing APIs depending on the value of a comment is no different, so your argument is not a reason for not having comments.
by raphman | 2026-01-03 17:44:39+00:00
Some information on the author:

- The blog seems to be associated with this Twitter account: https://x.com/sichuan_mala. That person seems to be a good friend of Cremieux¹.

- The article seems to have originally been published/unpublished in 2024 https://x.com/cremieuxrecueil/status/1922743591924899962

- It was only re-uploaded in September 2025 (?). There's some discussion of the claims under a tweet by Cremieux who announced the re-upload: https://x.com/cremieuxrecueil/status/1974990143544287715

¹) FWIW: https://en.wikipedia.org/wiki/Jordan_Lasker
by NellowTCS | 2026-01-03 17:44:41+00:00
I posted this last night, and completely forgot to get the web demo from the repo onto GitHub Pages. Here you go: https://flo-audio.github.io/demo/

Opus is, obviously, currently more optimized, offers better lossy compression, and has really low latency (great for streaming)

It does have some problems though :P
Metadata editing is one of the hardest out of most formats, You would need two separate formats (FLAC + ogg) to keep lossless + lossy

flo can be lossless as well as lossy, metadata editing is extremely easy, much richer metadata, simpler but subjectively better file organization/format, and I tried to optimize it for the web!
by cb321 | 2026-01-03 17:45:15+00:00
I see from `test/test_suite/compile_time_introspection/paramsof.c3t` that there is a way to get names & types of function parameters [1]. The language also seems to support default values { e.g. `int foo(int a, int b = 2) {...}` } and even call with keyword arguments/named parameters [2], but I couldn't find any `defaultof` or similar thing in the code. Does anyone know if this is just an oversight / temporary omission?

[1] https://github.com/c3lang/c3c/blob/master/test/test_suite/co...

[2] https://c3-lang.org/language-fundamentals/functions/
by sirwhinesalot | 2026-01-03 17:45:30+00:00
NOTE: I'm a fan of value semantics, mostly devil's advocate here.

Those implicit copies have downsides that make them a bad fit for various reasons.

Swift doesn't enforce value semantics, but most types in the standard library do follow them (even dictionaries and such), and those types go out of their way to use copy-on-write to try and avoid unnecessary copying as much as possible. Even with that optimization there are too many implicit copies! (it could be argued the copy-on-write makes it worse since it makes it harder to predict when they happen).

Implicit copies of very large datastructures are almost always unwanted, effectively a bug, and having the compiler check this (as in Rust or a C++ type without a copy constructor) can help detect said bugs. It's not all that dissimilar to NULL checking. NULL checking requires lots of extra annoying machinery but it avoids so many bugs it is worthwhile doing.

So you have to have a plan on how to avoid unnecessary copying. "Move-only" types is one way, but then the question is which types do you make move-only? Copying a small vector is usually fine, but a huge one probably not. You have to make the decision for each heap-allocated type if you want it move-only or implicitly copyable (with the caveats above) which is not trivial. You can also add "view" types like slices, but now you need to worry about tracking lifetimes.

For these new C alternative languages, implicit heap copies are a big nono. They have very few implicit calls. There are no destructors, allocators are explicit. Implicit copies could be supported with a default temp allocator that follows a stack discipline, but now you are imposing a specific structure to the temp allocator.

It's not something that can just be added to any language.
by conradojordan | 2026-01-03 17:45:39+00:00
Actually you are hand-waving. Look at the original post, it says "Notice the hypocrisy of the "explosions reported" title instead of "US bombs Venezuela".".
It is referencing the usage of passive voice and the lack of mention to the actor that did the reported act, it is not referencing the absence of casualty at all. So you are just straw manning and criticizing an argument that neither the OP nor myself defended at any point of the conversation.
by WoWSaaS | 2026-01-03 17:47:41+00:00
I didn’t want to rely on paid ads while growing my SaaS.

Instead, I experimented with something different:
treating the blog as programmable infrastructure, not “content.”

Over the last few weeks, I built ~70 tightly scoped pages where each page is designed as a reusable growth unit, not a standalone article written for vanity metrics.

The system is intentionally engineered, not editorial:

• Pages are built around real search and AI intent, not generic keywords
• Internal links are designed like dependency graphs, not random references
• Each page feeds multiple others, so traffic compounds instead of decaying
• Zero paid ads, zero bought backlinks, no distribution hacks

The goal was never “publish more posts.”

The goal was to create a deterministic system where every new page increases the surface area of discovery across search engines and AI-driven discovery systems.

What surprised me along the way:
• Pages started indexing faster as the system scaled
• Long-tail queries brought higher-quality users than ads ever did
• The blog started behaving more like a product than a marketing channel

It’s still early, but this experiment fundamentally changed how I think about growth:
less campaign thinking, more system design.

Main product: https://vect.pro

Blog / growth engine: https://blog.vect.pro

If you’re building in public, bootstrapping, or experimenting with content-as-infrastructure, happy to share what worked and what didn’t.
by Teknomadix | 2026-01-03 17:48:31+00:00
> And to confuse matters more, in a 2013 interview with Time Magazine, Bangalter says:

> > So we've never actually made music with computers! [laughs] Neither Homework nor Discovery nor even Human After All were made with computers.

> Was he contradicting himself from 12 years before? Or did he forget? Or maybe it's a terminology thing?

The thing is—and this is coming from someone who has been making electronic dance music daily for over 35 years and counting—when Bangalter spoke earlier in their career about a PC (likely an Atari ST or Falcon) it was being used as a MIDI / SMPTE timepiece and master sequencer, nothing more. Later when he speaks about never making music with a computer, the context of the discussion has changed, as by that time computers were becoming more accomplished at DSP. The comment he is making is that they didn't use computers for audio domain tasks, like Pro Tools, Digital Audio Workstation type action.

That said, computers were still deeply embedded in their workflow—just not in the way most modern producers would recognize. Even the SSL 9000 J console at the heart of their studio relied on an onboard computer system for total recall, automation, and channel configuration. The distinction Bangalter draws is really about where the actual audio lived: in 12-bit sampler memory, on tape and through analog audio circuits, not as samples and waveforms being crunched inside a CPU. The computer was a conductor, not a performer.
by onetimeusename | 2026-01-03 17:48:58+00:00
The worst case scenario, which imo is also the most likely is, the US spends a bunch of money and then this repeats itself. So we lose a bunch of money and nothing changes. We've been doing that for decades. DC foreign policy wonks have some stupid belief that there is a difference between the people of a country and their leaders.

It's probably going to turn out that Venezuelans brought someone like Maduro on themselves and we'll get a regression to the mean and find that corruption and the drug industry are endemic. So the US will have to constantly intervene just like in Afghanistan and Iraq and it will be another decades long boondoggle we pay for while being lied to about the success of it.
by simoncion | 2026-01-03 17:50:08+00:00
> There really needs to be a universal way to bring IPv6 addresses to your ISP...

There is. It's "Provider-Independent" address space.

It's used sparingly because widespread use of it would explode the size of routing tables.

I think you could also "simply" [0] become your own AS/LIR/whatever and negotiate with your ISP to route your prefix/subnet/whatever to your site (or some box in a colo somewhere that you attach to your site with some sort of tunnel).

[0] It is my understanding that it is often not at all simple to do this.
Show HN: RustAPI – An AI-first Rust API framework
by Tunti35 | 2026-01-03 17:50:34+00:00
Hi HN,

I’ve been working on RustAPI, an open-source Rust API framework designed with AI-first development in mind.

While frameworks like Actix and Axum are powerful, I noticed that LLMs struggle with their boilerplate-heavy and rigid patterns when generating APIs. RustAPI focuses on readability, composability, and predictable structures so both humans and AI can work with it more effectively.

It includes built-in OpenAPI/Swagger support and is optimized for SSE, MCP, and LLM-driven workflows.

I’m sharing this to get early feedback from Rust and backend developers — especially those experimenting with AI-generated code.

Repo:
https://github.com/Tuntii/RustAPI
by isr | 2026-01-03 17:51:19+00:00
Dude, theres not much point in arguing that. You see this kind of 5th column in the aftermath of most popular revolutions, from Iran to Chavez in Venezuela. A whole horde of folks who were part of the previous elites (or more likely, their functionaries) who decamp en masse to the US, where they proceed to spout unhinged propaganda ad infinitum.

A tell tale is how they tend to completely overlook (to the point of pretending it isnt happening) the role of economic sanctions, blockades & other forms of coercive pressure on the economies of those countries. Instead, putting it all down to local actions by local actors.

There won't be much mention of any of the social improvements & economic uplift which Chavez in particular was able to do, before the external economic pressures became overbearing.

When you can control the narrative on both sides of the equation to this extent, kidnapping the leader of a sovereign (until today) country seems almost normal.

Jeffery Sachs summed it up best a couple of hours ago. The US is not even pretending to be a constitutionally-governed state any more, and this is just 1 sign of that.
by 2b3a51 | 2026-01-03 17:51:40+00:00
You mention arm64 bit. What sku is that? a 'pro' version or did it come installed on retail hardware?

(We use Windows 11 on plastic Thinkpads (L15s, intel) at the centre I work in, an educational organisation. They have ads, insist on switching to edge even though we need Chrome for single sign on and do seem a tad sluggish).
by ccorcos | 2026-01-03 17:51:58+00:00
I might be missing something because I don’t really understand why you mean by “health” related deaths…

But it seems like you’re making Dan’s point for him. “We need to adapt our lifestyles to climate change” is not an acceptable answer to someone dying of heat stroke who would very much prefer (out of self-interest) air conditioning and a higher standard of living…
by jltsiren | 2026-01-03 17:52:37+00:00
Negative numbers are a hack in the sense that they can be confusing, and it's easy to make mistakes with them. For example, I would interpret "-100 L/min outflow" as an indirect equivalent of "100 L/min inflow". To avoid confusion, you could drop terms "inflow" and "outflow" completely and talk about "-100 L/min (net) flow". Or you could separate the type and the magnitude of the flow.
by ericmay | 2026-01-03 17:52:43+00:00
Are you really trying to paint Maduro’s authoritarian regime, who traffics people and drugs, and helps Russia evade international oil and arms sanctions and the US arresting of him as “their leadership doesn’t want to give America access to their natural resources”?

The EU doesn’t even recognize Maduro as the legitimate leader of Venezuela and he forced the democratically elected president into hiding!
by yousif_123123 | 2026-01-03 17:52:50+00:00
Responsibility for the aftermath is with the US. They previously didn't do a good job in Afghanistan or Iraq after they assumed defacto control, without really trying to make the countries stand on their own. Life is not much better for the average person there.

Venezuela has lots of oil and drugs. If different factions fight between themselves there's no reason you couldn't end up with a divided and dangerous country that in some ways could be worse for the people than Maduro.

The best way for "oppressed" people to be liberated is through some joint effort by parties that really want to help out and assume responsibility, or by supporting a revolution that naturally takes over. I don't think there's been any cases of success from this process of forcibly removing the dictator, and crossing your fingers that things will go well.
by mytailorisrich | 2026-01-03 17:52:56+00:00
Perhaps people forget that countries are sovereign and can do whatever they want. The "global order" has always been based on strength: the stronger do what they want and the weaker do what they can.

What the US have just done is not something new because of Trump.

We are told about "international law" and "norms" so much that we perhaps forget that this is mostly BS.
by ignoramous | 2026-01-03 17:53:11+00:00
> This is not what this article does.

Discounting books, many other well written articles on JIT have been shared on HN over the years [0][1][2]; the one I particularly liked as it introduces the trinity in a concise way: Compiler, Interpreter, JIT https://nickdesaulniers.github.io/blog/2015/05/25/interprete... / https://archive.vn/HaFlQ (2015).

[0] How to JIT - an introduction, https://eli.thegreenplace.net/2013/11/05/how-to-jit-an-intro... (2013).

[1] Bytecode compilers and interpreters, https://bernsteinbear.com/blog/bytecode-interpreters/ (2019).

[2] Let's build a Simple Interp, https://ruslanspivak.com/lsbasi-part1/ (2015).
by m000 | 2026-01-03 17:54:19+00:00
It's so much easier to keep score these days. Up until the 90s, you were tube-fed the news from your TV (pun intended). You would have to go out of your way to read anything contrary to the sanctioned narrative or to see the effects of your country's policies and actions.

These days everything is live-streamed. So, anyone with an inquiring mind can lookup different sources and make their own conclusions.

But I fear this won't be for long. It is slowly becoming clear that the AI rally is less about productivity and more about mass surveillance and controlling online dissent globally [1].

[1] https://www.bbc.com/news/articles/c1dz0g2ykpeo
by maccard | 2026-01-03 17:54:23+00:00
> Which goes to show that Ctrl-C profiling is often enough to solve a simple problem, and it’s usually much easier than learning how to use a profiler and how to properly read its output

As the article says, this is a low frequency sampling profiler, which means it comes with all the caveats of a sampling profiler, and interpreting its output. As a very crude tool, sure, but it is not an excuse to not learnt to use a profiler. Perf, instruments and UIForETW are simple enough to use that anyone who can follow the instructions in this blog past can pick up the basics in the same length of time.
by netbioserror | 2026-01-03 17:54:35+00:00
And so the size of your data structures matters. I'm processing lots of data frames, but each represents a few dozen kilobytes and, in the worst case, a large composite of data might add up to a couple dozen megabytes. It's running on a server with tons processing and memory to spare. I could force my worst case copying scenario in parallel on each core, and our bottleneck would still be the database hits before it all starts.

It's a tradeoff I am more than willing to take, if it means the processing semantics are basically straight out of the textbook with no extra memory-semantic noise. That textbook clarity is very important to my company's business, more than saving the server a couple hundred milliseconds on a 1-second process that does not have the request volume to justify the savings.