MurphyA/hacker-news huggingface dataset:
by KingMob | 2025-07-22 11:18:38+00:00
That's still true in jj, too.

But instead of commits, most of the time you're working with (the not greatly-named) "changes", which are a conceptual history of related commits. E.g., a single change ID points to the most recent commit in a list.

As long as you keep editing on a change, it keeps accumulating commits under the hood. When you move to another change (via `jj commit`, `jj new`, etc), all your new commits end up under a different change.
by TuxSH | 2025-07-22 11:18:39+00:00
> This design decision at the source level, means that in our linked binary we might not have the logic for the 3DES building block, but we would still have unused decryption functions for AES256.

Do people really not know about `-ffunction-sections -fdata-sections` & `-Wl,--gc-sections` (doesn't require LTO)? Why is it used so little when doing statically-linked builds?

> Let’s say someone in our library designed the following logging module: (...)

Relying on static initialization order, and on runtime static initialization at all, is never a good idea IMHO
by mpalmer | 2025-07-22 11:18:40+00:00
This is an extremely credulous take. Even reading the press release it's obvious Gabbard (a massive defender of Putin's Russia) is conflating two entirely different things, namely hacking election infrastructure vs the massive political influence/misinformation campaigns.

You might also recall a Senate Republican-led effort that determined that Russia did attempt to influence us elections in favor of Trump, unless you are avoiding facts that don't confirm your priors.
by rbanffy | 2025-07-22 11:19:06+00:00
These are not consumer grade devices, and I can't even find an easy quote for their 30TB devices.

The price point is determined by the benefit provided over the expected lifetime of the device, so, if you have a ~150 PB data footprint you'll needn't about 1 full rack of these drives (for 12 bays per rack unit, which is a low density).

To do the same with current HDDs, you'll get, at best, 360TB per rack unit, meaning you'll need roughly 10 full racks, a 10x increase in datacenter space. So, in space alone, you'll be spending 10x more with the HDD solution. If power and speed were the same (they aren't), this would mean that paying $48,000 for a drive like this would still be a good deal.

So, I assume it'll be a long time before we see a 245TB flash drive selling for $600.
by moskogaige | 2025-07-22 11:19:14+00:00
Since Pocket’s sunset, I switched to Raindrop.io —clean UI, solid tagging, and open API. For devs, Wallabag (self-hostable) is great, though setup takes effort.

If you’re building your own, consider:

Simplified archiving (just URLs + highlights) Offline-first (PWA works) AI tagging (auto-categorize saves)

I actually built Veo3 (https://veo-3.app/) after a similar "why isn’t there a X?" moment. Sometimes the best alternative is the one you make.
by breitling | 2025-07-22 11:20:10+00:00
Canadian banks, telecoms, and even retail chains, have been shamelessly replacing Canadian workers with Indians for decades.

At this point, a plurality of our new immigrants come from one or two states in India.

I would challenge you to go to a coffee shop in any major city and try to find a Canadian worker.

Not sure what the future is for a Canadian worker, but it's bleak.
by p_v_doom | 2025-07-22 11:20:15+00:00
Its also not just business text. People dont read period. Sometimes they dont even watch. Sometimes I feel that reading the docs is a super power. Reading an article, watching the occasional talk? Its enough to take over the world... or get to a point where you can exactly predict what is going to happen, know how to fix it, but dont have the power to do it, so you are doomed to watch as it all crumbles down yet again, just like you foretold last time, and the time before that and the one before that...
by SideburnsOfDoom | 2025-07-22 11:21:00+00:00
> But what to do in Finland during the winter months?

Is this a serious question or "raising concerns".

A quick search brings up wind: https://en.wikipedia.org/wiki/Wind_power_in_Finland

and hydro: https://www.andritz.com/hydro-en/hydronews/hn-europe/finland

And connections with friendly neighbours: https://cinea.ec.europa.eu/news-events/news/cef-energy-finla...

I'm sure that there is a role for Nuclear or gas to cover the last few % that renewables find hard to reach. For now.
by e1-m | 2025-07-22 11:21:47+00:00
Hey folks, quick update! I just shipped a new version of [*Dispytch*](https://github.com/e1-m/dispytch) — async Python framework for building event-driven services.

# What Dispytch Does

Dispytch makes it easy to build services that react to events — whether they're coming from Kafka, RabbitMQ, Redis or some other broker. You define event types as Pydantic models and wire up handlers with dependency injection. Dispytch handles validation, retries, and routing out of the box, so you can focus on the logic.

# Comparison

|Framework|Focus|Notes| |:-|:-|:-| |Celery|Task queues|Great for backgroud processing| |Faust|Kafka streams|Powerful, but streaming-centric| |Nameko|RPC services|Sync-first, heavy| |FastAPI|HTTP APIs|Not for event processing| |FastStream|Stream pipelines|Built around streams—great for data pipelines.| |*Dispytch*|Event handling|Event-centric and reactive, designed for clear event-driven services.|

# Quick API Example

# Handler

user_events.handler(topic='user_events', event='user_registered') async def handle_user_registered( event: Event[UserCreatedEvent], user_service: Annotated[UserService, Dependency(get_user_service)] ): user = event.body.user timestamp = event.body.timestamp print(f"[User Registered] {user.id} - {user.email} at {timestamp}") await user_service.do_smth_with_the_user(event.body.user)

# Emitter

async def example_emit(emitter): await emitter.emit( UserRegistered( user=User( id=str(uuid.uuid4()), email="example@mail.com", name="John Doe", ), timestamp=int(datetime.now().timestamp()), ) )

# What’s New?

*Redis Pub/Sub support* You can now plug Redis into Dispytch and start consuming events without spinning up Kafka or RabbitMQ. Perfect for lightweight setups.

*Dynamic Topics* Handlers can now use topic segments as function arguments — e.g., match `"user.{user_id}.notification"` and get `user_id` injected automatically. Clean and type-safe thanks to Pydantic validation.

Try it out:

uv add dispytch Docs and examples in the repo: [https://github.com/e1-m/dispytch](https://github.com/e1-m/dispytch)

Feedback, bug reports, feature requests — all welcome. Still early, still evolving

Thanks for checking it out!
by tux3 | 2025-07-22 11:22:49+00:00
This works, but scripting with the ar tool is annoying because it doesn't handle all the edge cases of the .a format.

For instance if two libraries have a source file foo.c with the same name, you can end up with two foo.o, and when you extract they override each other. So you might think to rename them, but actually this nonsense can happen with two foo.o objects in the same archive.

The errors you get when running into these are not fun to debug.
by visarga | 2025-07-22 11:22:57+00:00
Yes, it is covered technically. But practically nobody knows what is infringing in the non-literal infringement case. It all depends on the judge and context. Was this idea sufficiently original or was it a necessity, or a generic pattern? Each level of abstraction can get protection from copyright. You can only know if you sue/get sued.

I find non-literal copyrights (total concept and feel, abstraction filtration comparison/AFC) to be a perverse way to interpret "protected expression" as "protected abstraction". It is a betrayal of future creative activities to prop up the past ones.
by jdjdmizn | 2025-07-22 11:24:06+00:00
Funny thing is, talking in general terms, everyone hates off shoring but not every one hates exports/expanding to other markets and profiting off it. By this logic, you should also advocate for native jobs and salaries for every market the company is in, no?

Not saying company X isn't off shoring to save costs and hurting local jobs. But it is also perhaps true that company Y is growing and selling their services/products in N countries but only has jobs in one(or few) of countries perhaps. Why is this fair if the first one isn't ?
by fivestones | 2025-07-22 11:24:08+00:00
I wrote 100% of my post myself. There’s no bragging going on. I’m warning people that I learned it from chatgpt so they know it may not be trustworthy. Still in my experience the vast majority of what I learn from ChatGPT/gemini/claude is correct, and in this kind of case where the knowledge is interesting but not something I’m going to need to rely on for anything, the benefits of quickly learning are so high for me that I thought someone else might appreciate it too. I’m sorry if I offended you.
by christopher8827 | 2025-07-22 11:24:15+00:00
Its not just CBA, but Westpac, Optus and pretty much any large corporate in Australia.

ACS is being a hypocrite since: 1) they charge $$$ fees for validating IT experience so they would never advocate lowering the immgiration rate (its also a conflict of interest). So they have a hand in dismantling Australian tech jobs. 2) they inform the government that there's still a "skills shortage" of developer , when in reality, they do it to suppress wages.
by molteanu | 2025-07-22 11:24:21+00:00
One big issue I haven't seen addressed in these types of critiques: equating business with humanity.

To elaborate: if a CEO or Happy Worker Joe uses AI to write his Excel Sheets and Typist Jane codes their yet another website in less than two hours without coding knowledge (I know! It's amazing!), does that mean we're loosing our sense of self, or whatever?

Well, if it does, equating human with business has already done that a long time ago. Why complaining now? Only because AI is accelerating it?

If it doesn't, there are plenty of other areas outside work when one can actually be human.
by Eddy_Viscosity2 | 2025-07-22 11:24:38+00:00
> government body with power to adjudicate consumer complaints about businesses and the legal teeth to enforce its judgements

These would in fact be great thing. The problem being that if this existed and did what it was supposed to do, it would only be a matter of time before Trump appointed someone to either destroy it or weaponize it against perceived enemies.

The bigger question is how can we have a body that can both protect consumers from bad businesses AND can also be itself protected from the purchased political influence of those bad businesses.
by ofrzeta | 2025-07-22 11:25:00+00:00
Related discussion with comments by the author: https://news.ycombinator.com/item?id=28458930

including "Under the hood, this is essentially just a Python wrapper around JUCE (https://juce.com), a comprehensive C++ library for building audio applications. We at Spotify needed a Python library that could load VSTs and process audio extremely quickly for machine learning research, but all of the popular solutions we found either shelled out to command line tools like sox/ffmpeg, or had non-thread-safe bindings to C libraries. Pedalboard was built for speed and stability first, but turned out to be useful in a lot of other contexts as well."
by palata | 2025-07-22 11:25:25+00:00
And I totally agree! And if jj works better for you, please use it!

My point is just that I am yet to find a convincing example that would suggest that jj would improve my workflow. If people find it hard to stash a change, I don't tell them that they shouldn't get their shit together and not use jj. But I don't find it hard to stash a change, so why do I feel like jj evangelists try to convince me that something is wrong with me?
by inopinatus | 2025-07-22 11:26:54+00:00
your choice of

https://ipa-reader.com/?text=%C9%92kˈt%C9%92p%C9%99di%CB%90z

and

https://ipa-reader.com/?text=%C9%92kˈt%C9%99%CA%8Ap%C9%99di%...
by surgical_fire | 2025-07-22 11:27:02+00:00
> How big is the "gamer" market really? How much is it set to grow? Are "gamers" really going to be buying the high margin kit from Intel

I was saying that more about your argument about Apple products.

I don't think Intel benefits from the gamer segment, my point is only that there is a significant segment that donown computers and that segment has no interest in Apple notebooks.

In fact, basically everyone I know that owns a laptop has a laptop primarily to play games, not macbooks.
by lazide | 2025-07-22 11:27:02+00:00
MI6 doesn’t have a covert action arm? Are you kidding me? lulz [https://en.m.wikipedia.org/wiki/MI6]

“ SIS activities included a range of covert political actions, including the overthrow of Mohammed Mossadeq in Iran in the 1953 Iranian coup d'état (in collaboration with the US Central Intelligence Agency).[85]”

“ During the Soviet–Afghan War, SIS supported the Islamic resistance group commanded by Ahmad Shah Massoud and he became a key ally in the fight against the Soviets. An annual mission of two SIS officers, as well as military instructors, were sent to Massoud and his fighters. Through them, weapons and supplies, radios and vital intelligence on Soviet battle plans were all sent to the Afghan resistance. SIS also helped to retrieve crashed Soviet helicopters from Afghanistan.[90]/

“Some of SIS's actions since the 2000s have attracted significant controversy, such as its alleged complicity in acts of torture and extraordinary rendition.[10][11]”

“ The stated priority roles of SIS are counter-terrorism, counter-proliferation, providing intelligence in support of cyber security, and supporting stability overseas to disrupt terrorism and other criminal activities.[8]”

“ In March 2016, it was reported that MI6 had been involved in the Libyan Civil War since January of that year, having been escorted by the SAS to meet with Libyan officials to discuss the supplying of weapons and training for the Syrian Army and the militias fighting against ISIS.[113] In April 2016, it was revealed that MI6 teams with members of the Special Reconnaissance Regiment seconded to them had been deployed to Yemen to train Yemeni forces fighting AQAP, as well as identifying targets for drone strikes.[114] In November 2016, The Independent reported that MI6, MI5 and GCHQ supplied the SAS and other British special forces a list of 200 British jihadists to kill or capture before they attempt to return to the UK. The jihadists are senior members of ISIS who pose a direct threat to the UK. Sources said SAS soldiers have been told that the mission could be the most important in the regiment's 75-year history.[115]”

“ E Squadron is the sole paramilitary group within SIS.[132] There is limited information about the squadron in the public domain, and it was not until the 1990s that it was officially recognised by the British government. Although the Government has declassified some information about the squadron, details about its operations generally remain secret. Before the 1990s, the group was known mainly by pseudonym The Increment.[133] Out of all the British special forces units, E Squadron is a branch of the wider UKSF and many of its combatants are hand-picked to work with the SIS. The group is available for undertaking any task at the requirement of the both UKSF Directorate and SIS. It is manned by operators from the Special Air Service (SAS), Special Boat Service (SBS) and the Special Reconnaissance Regiment (SRR).[133]”

They definitely have guns, and aren’t afraid to use them. And they’re fundamentally covert.
by benreesman | 2025-07-22 11:27:45+00:00
This is the nastiest one in my `libmodern-cpp` suite: https://gist.github.com/b7r6/31a055e890eaaa9e09b260358da897b....

It took a few minutes, probably has a few edge cases I haven't banged out yet, and now I get to `-l` and I can deploy with `rsync` instead of fucking Docker or something.

I take that deal.
by wahnfrieden | 2025-07-22 11:28:06+00:00
Yes, you are holding it wrong. The good of it is that it does not output imaginary voices when used with VAD.

Show us a technology with better results that does not use VAD. If you can’t, then I’m not sure what you’re arguing against except superficialities so inconsequential that I can’t comprehend the condescension. The results speak for itself
by tux3 | 2025-07-22 11:28:13+00:00
If you mean updating some dependency without recompiling the final binary, that's not possible with static linking.

However the ELF format does support complex symbol resolution, even for static objects. You can have weak and optional symbols, ELF interposition to override a symbol, and so forth.

But I feel like for most libraries it's best to keep it simple, unless you really need the complexity.
by 0xEF | 2025-07-22 11:28:21+00:00
I'm in the manufacturing sector, on the integration side of things now, but yes, change is always a battle. The way I see it, the problem is two-fold:

Side 1: the workers, especially the labor portion, are extremely resistant to learning new ways to do things unless you can prove, beyond the shadow of doubt, that the new way will be easier than the old way (aka, less to remember/think about) but also does not diminish the quality of their work or increase the perception that their coworkers might see them as having it easier than them.

Side 2: the people responsible for purchasing and resource allocation often do not know what they are buying. In any shop, if you say "we need new PC's for the office" the first thing the purchaser will do is ask a supplier for a deal on a fleet of Dells because that's just what they've always done. If the company is larger and has an actual IT department, they will just provide Windows PCs because that's what they were trained to support. The alternative, Linux, is never considered because they simply don't know anything about it and it's not being offered by their suppliers anyway, so why learn?
by dzaima | 2025-07-22 11:28:47+00:00
--localize-hidden seems to be more what I was thinking of. So this works:

ld --relocatable --whole-archive crappy-regular-static-archive.a -o merged.o objcopy --localize-hidden merged.o merged.o

This should (?) then solve most issues in the article, except that including the same library twice still results in an error.
by vintermann | 2025-07-22 11:29:49+00:00
> I can 100% imagine a company such as 23andMe storing DNA for later sequencing

They do, as far as I know. Most genealogical DNA testing companies do, and they tell you so. In case you want to upgrade the analysis later.

> doing WGS to do their side business

That would land them in hot water with the EU. Per GDPR, you can't ask for PII for one purpose and use it for something else down the line. 23andMe customers didn't consent to WGS.

But there's another reason I think they wouldn't do that, and that's that WGS is time-consuming and expensive. Some random person's DNA data isn't that valuable. There's a reason payment is part of their business model, and if that's true for cheap microarray tests, how much more isn't it true for terribly expensive WGS tests?
by giantg2 | 2025-07-22 11:30:10+00:00
"100/20 is barely enough for a household of 3-5 "light" users."

It's plenty for my household with a similar number of users. We have people working from home, streaming, downloading documents or games, etc with no problem.

"The US already has abysmal broadband speed/bandwidth/latency metrics compared to the rest of the developed world"

Because the countries in the rest of the developed world are about the size of 1 state and have higher urbanization. If you want better coverage for an area this size, then it makes sense to include satellite coverage. The gigabit goal excludes them.

"Why spend money and time to expand copper into rural areas when fiber is the same cost."

They're only the same cost if you're starting from the same location. Copper has better penentration already. Expanding copper might mean adding a couple miles. Expanding to that same location with copper might mean putting in 10-50 miles plus any sort of hub or substation. So yes, equal distance is roughly equal cost, but almost everywhere fiber is put in, it's alongside copper anad thus not increasing coverage nor decreasing costs.
by david-gpu | 2025-07-22 11:30:26+00:00
I had 4-day weeks with a 20% loss of pay for a few years. It made a disproportionately big difference in my everyday life. Felt a lot less stress.

The downside was that I had to be very careful with which meetings to attend, because they now had a noticeable effect in my weekly coding, so as a result I was kind of out of the loop most of the time.
by philipallstar | 2025-07-22 11:30:33+00:00
Depends on the place, but e.g. in the UK it's massively high. Almost as high as the US. (Just talking legal immigration; I don't know how to interpret illegal immigration stats.)

The UK takes in about 700k people a year net, and builds about 30k houses a year (which is probably about enough to cope with "natural" population growth.

Supply and demand. Dwellings get smaller (or subdivided) because people will pay more and get less. Landlords appear to solve the problem (and make a profit from the fact) that young people can't raise the capital to buy a full house themselves any more.

It's not the only factor - the jump to two-income households also raised prices massively and transferred a load of wealth to existing home owners back when that happened - but I'd say it's by far the largest factor today.
by ToucanLoucan | 2025-07-22 11:31:13+00:00
A solid portion of the 1.8 trillion figure the GP quoted was also the insane spending that had to happen to keep the economy somewhat afloat during the pandemic.

Of course in proper propagandist fashion, we only ever hear about how much money the undeserving poors got, and nothing about the millions upon millions of dollars in loans given to private businesses and their owners that were definitely, 100% used for them to weather the pandemic, and later forgiven despite being explicitly loans.
Show HN: A word of the day that doesn't suck
by jsomers | 2025-07-22 11:31:24+00:00
I’ve long thought that the Word of the Day was a wasted genre. The goal should be to give you words you can use; to enrich your understanding of words you already know; or at least to use words to tell you something neat about the world.

Instead, what you usually get is words that will never be used in conversation, held up as curios. Some examples from Dictionary.com’s daily email: thewless, balladmonger, vagility, contextomy. These words are... not useful.

I’ve always thought I could do better. My friend Ben recently created a daily puzzle game, called Bracket City, launched here on HN [1], which I like because it takes about the same amount of time as Wordle but has some of the variety and artistry of a good crossword.

Ben agreed to let me write a word of the day for the game’s audience. We’ve collected them all here: https://bracket.city/words. It’s such a joy to write -- every day, I pay homage to a word I love or use or have newly discovered. I find myself paying more attention to words I encounter, thinking if they deserve a place.

It’s also fun for another reason. Many years ago I wrote a blog post, "You’re probably using the wrong dictionary" [2], that made the rounds and actually still finds new readers today. It was about how the modern-day dictionaries we find by default on our iPhones and web browsers are actually kind of bureaucratic and lifeless. Through a writer I love, John McPhee, I rediscovered Webster’s 1913 dictionary, which feels like it was written by a thinking person who loved words. I still consult it all the time. Writing a word of the day has reminded me just how delightful and useful Webster’s old dictionary is -- and reacquainted me with the OED, which I now look to every day, and which I discovered you can access with your library card.

Some of my favorite entries so far: sophisticated, twee, gravitas, blockbuster, meteorologist, send, bid. There are more than 175 now -- and more coming once a day, every day, for as long as Bracket City stands.

To sign up to see each word of the day as it’s published, go to https://bracket.city/words.

[1] https://news.ycombinator.com/item?id=43622719

[2] https://jsomers.net/blog/dictionary