MurphyA/hacker-news huggingface dataset:
by zelphirkalt | 2025-11-10 09:39:56+00:00
Building a language learning tool again[1].

I have found for myself that there is a lack of vocabulary learning apps that have good search functions. When I make a search function, I want it to be able to find all subsets of words, that I could think of. Instead what many search functions only allow you to do is, to first find one set of words, and then in a new separate search find another set of words. Currently working on that search function.

Also what I find annoying in spaced repetition learning apps I have seen so far is, that they will ask you very simple words over and over again, just because you didn't see them in a while. But I really don't need to learn those words over and over again, because I just know them.

Another annoying thing is, that in some apps you cannot see your learning progress. How many percent you already learned. Or that you cannot specify how difficult a word is to learn. Or how relevant it is. All this metadata, that could be good for learners to be able to search through, when searching for the subset of words they want to learn next. Oh, and of course tags ... With tags one can add all kinds of attributes to words. Maybe I am only looking for nouns or verbs. Maybe I am only interested in words that have something to do with family.

There is still a lot to do, but it is taking shape nicely.

The app is written in Python and tkinter. It is very simple to use in most aspects, and I really don't care much about the looks. I actually find them refreshingly simple and functional. Not this "everything flat" kind of epidemic in UI, and widgets still give feedback when using them. Not web based with the typical nodejs or npm overhead and tens or hundreds of dependencies. Nope, keeping it very minimal so far.

I also have another idea, that might give it a modern touch, but that might also introduce overhead and probably should be an optional setup or feature: Give users tools to let LLMs generate example usages of words, if they want to do so. Of course that would have to be a local LLM I don't want to get into users having to sign up somewhere and get API keys and all that.

I am also not planning to make a mobile app. Maybe later I can create an API, so that one could build a web frontend, if one chooses to do so. But first I want to build this app and the functionality behind it.

[1]: https://codeberg.org/ZelphirKaltstahl/tkapp
by stevefan1999 | 2025-11-10 09:39:56+00:00
You rent the compute, storage and network from the worker clusters at a fixed monthly price as one budget package, just like how you buy VPSes back in the days (think EC2 Lightsail or Linode, except now you just have a K8S context). You can choose multiple geolocations, but I'm still looking for a successful lab simulation first.

Right now I'm hosting my own test cluster under my bed so I can't show it.

You don't have to manage CNI, CSI, Linux kernel, etcd. You just need Kubernetes app development knowledge and that's basically it.

Now I'm still thinking about how to get live migration and failover working, so it is going to take a painful while...Kata Container doesn't support it out of the box but Cloud Hypervisor does
by ndsipa_pomu | 2025-11-10 09:40:57+00:00
As I understand it, X is a cesspit of right-wing hate and vitriol, so I wouldn't trust their evaluation of "left". As I said, it's really not a useful term to use and you're diverting the discussion away from the issues involved to a discussion of politics instead. Your comments come across as if you're trying to push a specific narrative.
by Freak_NL | 2025-11-10 09:41:22+00:00
Especially since their own licence for this project's data (the Roman roads), is CC-BY.

Itiner-e: the digital atlas of ancient roads © 2024 by Brughmans, Pažout, de Soto and Bjerregaard Vahlstrup is licensed under CC BY 4.0
by oleg_antonyan | 2025-11-10 09:41:32+00:00
Working on adding MPD [1] client mode to my music player: https://github.com/olegantonyan/mpz

Currently it works as standalone player. Addition of MPD client mode opens possibility to play music on a separate device while keeping the UX of the music player that I like.

[1] https://www.musicpd.org/
by jack_tripper | 2025-11-10 09:42:30+00:00
>A lot of commenters showing up suspiciously quickly to crow about how "biased" the BBC is

Yes, it's suspicious when too many people at the same time think for themselves and speak their minds freely, and not parrot the committee approved talking points. The government should moderate that via Digital-ID™ and Chat Control™.

- UK logic apparently

>In fact independent checking reveals the BBC is consistently centrist with a slight leftward skew, and scores highly for accuracy/reliability.

In the same tune, all the "independent graphs" all show how the economy today overall is up-up-up since 2019, but if you talk to people on the street when life was better and more affordable for them, they'd all say 2019 and not today, so nobody cares what independent Name Brand™ think-tanks say.

The objective reality that matters, is only how the majority of people feel. You can deny this all you want, but you'd be in for an unpleasant shock at election times.

Because this "independent checking" you speak of, is not some scientifically indisputable facts, like gravity, the speed of light or the earth's rotation around the sun, but only someone else's interpretation and opinion, that is biased from their viewpoint.
by devjeffhk | 2025-11-10 09:42:53+00:00
Just shipped Scrype, a library for devs who want a cool way to showcase their code.

It's fully typed. Works with vanilla JS, Vue, React, or just a script tag.

Got some feedback that it may not be the best UX-wise but let me know what you guys think!

Demo: https://devjeff.info/scrype Repo: https://github.com/DevChanQ/scrype
by bazoom42 | 2025-11-10 09:43:44+00:00
The patient-0 terminology arose from a misreading of the label patient-O, where O is the letter O.

When numbering discrete elements you usually start with 1, so first is 1, second is 2 etc.

Indexes in C are not ordinal numbers though, they should be thought of as offsets or distances from the first element. So [0] is 0 steps away from the first element, hence the first element. The confusion arise when you think these indices are actually ordinal numbers.
by jeroenhd | 2025-11-10 09:43:54+00:00
Professional and serious websites, yes, but there were plenty of websites on Geocities that looked very much like this. These websites may not have been the majority of the internet, but they weren't rare either.

Just browsing around on a geocities website you can find pages like https://geocities.restorativland.org/CollegePark/Lounge/3449... and https://geocities.restorativland.org/Eureka/1415/ (audio warning on both)

If anything, this retro site is a bit too modern for having translucent panels, the background not being badly tiled, and text effects being too stylish.
by yanhangyhy | 2025-11-10 09:44:25+00:00
yes but for now.if you analyze Japan's industrial data in detail, you'll find that they are in an unstoppable downward trend. Basically, all the industries they excel in, just like those in South Korea and Taiwan, are being replaced by China. Shipbuilding has become a game dominated by China(>50%) and Korea; home appliances, automotive industry, steel, chips, computers, and so on. Of course, right now, like in the automotive sector, Japan still holds an advantage in terms of volume, but everyone knows that electric vehicles are the future, and the core technology for the battery industry is almost entirely in China's hands. Even Tesla initially used Japanese technology, but they were ultimately surpassed by China. Relying on native protectionist strategies from the US and Canada, Japanese cars still have many advantages. But in open markets, Chinese electric vehicles are making inroads everywhere. Vietnam is gradually banning fuel-powered motorcycles, which is one of Japan's main products, but policy changes will allow Chinese electric vehicle brands and VinFast to capture more market share. We cannot predict exactly how long it will take for Japan's industry to completely exit the historical stage, but what we see is indeed a dying man. (Of course, Germany is already dead.)

so i wouldn't say 'always', even it can be reach to 100 years(unlikely). its a great achievement, but its not 'always'.

(Moreover, when predicting industrial trends, we must note that the future trend is robots. In this regard, due to China's vast population, the per capita number of robots hasn't yet reached the top spot, falling below Singapore and South Korea. But in terms of robot technology, I believe even the United States can't compare. Of course, in large models, the United States is still leading by a wide margin. So, determining how long China can rule industry in history, first of all, it will definitely be much longer than Britain and Japan, and another core reason is the decisive role of robots. If robots lead to the end of industrial transfer, then as long as China doesn't collapse for other reasons, China will forever have industrial advantages.)
by the_other | 2025-11-10 09:45:15+00:00
My only use of XSLT (2000-2003) was to make interactive e-learning applications. I'd have used it in 2014 too, for an interactive "e-brochure", if I could have worked out a cross-browser solution for runtime transformation of XML fragments. (I suspect it was possible then but I couldn't work it out in the time I had for the job...)

If you can use it to generate HTML, you can use it to generate an interactive experience.
by widdershins | 2025-11-10 09:45:51+00:00
> With respect to the income tax, it is possible for higher earning (not by US standards) employees to receive a bonus and actually take home less money than before they received the bonus.

What are you referring to here? Higher rates of income tax are only taken on the money earned over the band. So If you earn £50,271, you pay 20% on £50,270 and 40% on £1.

Are you referring to some other kind of tax then?

https://www.gov.uk/income-tax-rates
Show HN: Free CS Education for Future SWEs (YC F25)
by sam_goldman | 2025-11-10 09:47:53+00:00
Hey HN,

My friend and I are building a free coding school that's entirely project-based, self-paced, and emphasizes skills that we think are important in the AI era (e.g. system design).

We're building this because we think a program should exist that's as affordable as self-studying, nearly as rigorous as a university, and as practical as a coding bootcamp.

A bit about us: I was the first engineer at a five person startup, and my friend was the youngest SDE II at AWS SageMaker. We’re friends from UC Berkeley and recently went through YC together.

Full disclosure: we’ve only released the beginning of the first project so far. If you’re just starting your coding journey, we’d love for you to try it. If you’re more experienced, feel free to sign up for updates.

Also, we’ll be hanging in Discord if you need support/guidance :)

Check it out here:

https://vectorschool.ai/
by velvet_thunderr | 2025-11-10 09:48:00+00:00
When I first read it I thought the AI would look at your photos, and match you with people on the same hotness scale, which would be messed up of course. But turns out the AI will go through photos to gauge your interest and provide more compatible matches.

While it sounds like an interesting idea, giving tinder full access to your photos is scary, even if it could result in meeting your soulmate :)
by jimbohn | 2025-11-10 09:48:14+00:00
I think it's in part generational (a bunch of western countries have a quasi dead-locked democracy because boomers will vote whatever suits them short term, they will be dead when the bill comes anyway) and part due to the lack of accountability that democracy has brought to the upper echelon of society, or lack of skin in the game for the ruling class.

Revolving doors, blatant corruption, and downright incompetence lead to absolutely no repercussions; what's there to lose? Schröder is the poster child of this.

We are creating generations of people with no stake in society (no housing, no family because it's costs too much and no time anyway) while at the same time having a complete lack of ethos as a civilization, with a terrible ruling class. Europe (and the UK) are in a horrible position.
by ben_w | 2025-11-10 09:49:12+00:00
Europe as a whole didn't give up in the 1970s, but the 1970s was famously bad for the UK.

That said, I think this was more a case of when the rot in the UK became visible rather than when it started; the British government hasn't been competent for a very long time, and still isn't. With the caveat that I'm not a historian and have only an amateur knowledge of the events, I'd say the problems set in even before the peak of the British Empire, which itself I place at just before the outbreak of WW1 owing to how Pyrrhic that victory was.
by lifthrasiir | 2025-11-10 09:50:36+00:00
But XSLT is not strictly required for styling. In fact, Firefox also supports an out-of-band stylesheet inclusion via the `Link` HTTP header [1]:

Link: </style.css>; rel=stylesheet

(Yes, this works even without <?xml-stylesheet?> PI others have mentioned.)

I think the best strategy for Google is to support this and simultaneously ditch XSLT. This way nothing is truly lost.

[1] You can test your browser from: https://annevankesteren.nl/test/html-element/style-header.ph...
by zigrazor | 2025-11-10 09:51:02+00:00
Network infrastructure analysis is critical for maintaining robust and secure systems. Whether you're managing a corporate network, analyzing internet topology, or identifying bottlenecks in distributed systems, graph theory provides powerful tools for understanding complex relationships. In this article, we'll explore how CXXGraph—a modern, header-only C++ graph library—can help identify critical vulnerabilities in network infrastructure.
Show HN: Run HF Transformers in pure Go (10 MB binary, no Python)
by openfluke | 2025-11-10 09:51:13+00:00
Hey HN! Author here.

Built this because deploying ML models is painful. Python + pip dependencies + Docker = 5GB+ images. For edge/embedded/air-gapped systems, this doesn't work.

LOOM loads HuggingFace transformers directly in Go. No Python runtime. ~10MB binary.

Technical highlights: - Native safetensors parser - Pure Go BPE tokenizer (no transformers library) - Full transformer stack (MHA, GQA, RMSNorm, SwiGLU) - Cross-platform determinism (MAE < 1e-8) - Published to PyPI, npm, NuGet

Tradeoff: CPU-only, 1-3 tok/s on small models. Correctness first, speed second.

Works with Qwen, Llama, Mistral, SmolLM. Cross-compiles everywhere Go runs.

Demo: https://youtu.be/86tUjFWow60

What layer types should I add next? Currently have: Dense, Conv2D, MHA, RNN, LSTM, LayerNorm, RMSNorm, SwiGLU, Softmax (10 variants), Residual.

Questions welcome!
by jillesvangurp | 2025-11-10 09:52:09+00:00
A simple deposit might fix this. Many countries already do this for glass bottles and cans. You get the money back when you return them for recycling.

Also could work for other e-waste (phones, tablets, etc.). For some goods like washing machines, this is already common. Extending that to other product categories might be doable.

It does put some additional work on shop owners that have to pay back those deposits and collect them. Which means additional bookkeeping and some mechanism that ensures they don't end up in the negative on deposits for goods bought in another shop. And of course the extra deposit means prices go up as well. Even if you get it back at the end of the product life, it is extra cost.

Vapes being thrown away casually on the street has a bigger underlying problem of littering not really having any consequences. Some people just dump their trash wherever and it's just considered normal (by them). Some big fines would be appropriate here in my view. It's negative behavior. It's easy to know when you are doing it wrong and pretty much inexcusable. The only reason people do this is that they are being sloppy and don't really care. If you are caught red handed dropping your trash where you shouldn't, it should have some consequences. I'm not a fan of the nanny state but this is an area where I wouldn't mind people being corrected quite a bit more than they currently are. I don't think this should be that controversial.
by hn_throw2025 | 2025-11-10 09:52:53+00:00
The BBC are critical of those to the right of the centre-left. But because they are also critical of the extreme loony left, we should consider them balanced…?

They are a publicly funded Public Service Broadcaster with impartiality built into their charter, which they have long dismissed with a grin and a wink. They’ll get a pass with this Government, but not the next one. It will be long overdue. Most British people simply don’t trust them any more.
by falleng0d | 2025-11-10 09:54:24+00:00
I think it’s safe to say that by “We” we can assume it would be your country and its allies.

War and spying has been a thing for a long time now. I think it’s unreasonable to expect countries to not make use of their respective industries and enterprises to get an edge on each other.

The fact is that this kind of hardware is just very good for that so as I a costumer, I feel you and I think the best we can do is buy a custom hardware and install a custom OS. Like open-wrt.

But I will not complain of my country doing that because when I see adversaries doing it, it’s completely reasonable that it also do. In fact, game theory, mandates it.
by Antibabelic | 2025-11-10 09:54:54+00:00
Paper abstract:

"We explore a much-neglected area of SETI - solar system technosignatures. As our cursory solar system exploration consolidates into commercial industrialisation, it is crucial that we determine what to look for and where. We first consider the rationale for interstellar self-replicating probes and their implications for the Fermi paradox. Whether for defensive or exploratory reasons, selfreplicating probes are a rational strategy for Galactic investigation. We determine that selfreplicating probes will systematically explore the Galaxy by tracking resources of sufficient metallicity. We focus on the resource requirements of a self-replicating interstellar probe that may have visited our solar system. After considering asteroid resources, we suggest that evidence of asteroidal processing will be difficult to discern from natural processes given the constraints imposed by self-replication. We further determine that the Moon is an ideal base of manufacturing operations. We suggest that nuclear reactors – such as the Magnox reactor model - can feasibly be constructed from lunar resources which will have left isotopic ratio signatures of 232Th/144Nd and/or 232Th/137Ba. We further suggest that in anticipatory economic trade for resources, a self-replicating probe may have left artefacts buried with asteroidal resources on the Moon. Such gifts would be detectable and accessible only once a threshold of technological sophistication has been achieved. An obvious gift in trade for the resources utilised would be a universal constructor."
by wahern | 2025-11-10 09:55:21+00:00
The original proposal at https://www.open-std.org/jtc1/sc22/wg14/www/docs/n1406.pdf explains why.

> Some implementations have permitted anonymous member-structures and -unions in extended C to contain tags, which allows tricks such as the following.

struct point { float x, y, z; }; struct location { char *name; struct point; // inheritance in extended C, but // forward declaration in C++ };

> This proposal does not support that practice, for two reasons. First, it introduces a gratuitous difference between C and C++, since C++ implementations must treat the declaration of point within location as a forward reference to the type location::point rather than a definition of an unnamed member. Second, this feature does not seem to be used widely in applications, perhaps because it compiles differently in extended C vs. C++.
by madaxe_again | 2025-11-10 09:55:23+00:00
3mph is a pretty slow stroll - 5 or 6mph is more normal for purposeful walking on the flat - so it’s more like 1:10 of walking, which could take the form of a 35 minute walk somewhere, and a 35 minute walk back.

As for cleaning, repairing things, parenting, shopping - those are all things which can readily incorporate walking and physical activity.
by DecoySalamander | 2025-11-10 09:58:07+00:00
> An autocratic one may use them when the leader is close to defeat as one last "f*ck you"

I don't think that could realistically work. The suicidal leader would need buy-in not only from the military command, but also from the numerous operators responsible for preparing and conducting the launches. Everyone involved would be presented wiath a choice between signing death sentenses for themselves and their loved ones or trying their luck with whatever enemy they were facing.
by tleb_ | 2025-11-10 09:58:19+00:00
-fplan9-extensions adds even more, it is not an alias: https://gcc.gnu.org/onlinedocs/gcc-15.2.0/gcc/Unnamed-Fields...

One of the link of past discussions was from Apr 2018 and discusses it. At that time GCC -fplan9-extensions support was too recent (gcc-4.6) to be considered. https://lore.kernel.org/lkml/20180419152817.GD25406@bombadil...

Now the reasoning isn't present in the patch but it probably is because they want step increments and -fms-extensions is a small-ish first step. Maybe -fplan9-extensions could make sense later, in a few years.
by bananapub | 2025-11-10 09:58:22+00:00
since this post has been immediately brigaded by far right lunatics, it's worth clarifying these people have resigned based on a far right wing pressure campaign over the way a trump speech was presented, in a third-party-produced current affairs show, that was broadcast last year.

this[0] article by the BBC covers the details of that fine. here's the meat of it, for the extremely lazy:

> In his speech in Washington DC on 6 January 2021, Trump said: "We're going to walk down to the Capitol, and we're going to cheer on our brave senators and congressmen and women."

> However, in Panorama's edit, he was shown saying: "We're going to walk down to the Capitol... and I'll be there with you. And we fight. We fight like hell."

> The two sections of the speech that were edited together were more than 50 minutes apart.

> The "fight like hell" comment was taken from a section where President Trump discussed how "corrupt" US elections were. In total, he used the words "fight" or "fighting" 20 times in the speech.

> After showing the president speaking, the programme played footage of flag-waving men marching on the Capitol, the Telegraph said.

> According to the leaked memo, this "created the impression President Trump's supporters had taken up his 'call to arms'". But that footage was in fact shot before the president had started speaking.

it is worth considering the bar that is being demanded here, and how every single other news source in the world would compare against that bar.

the reason this is in the news now is that someone "leaked" an internal memo from the BBC that discussed the show. the claim is that it was fundamentally unfair to suggest that trump was encouraging these people. since that day he has:

- explicitly claimed he supported them and what they did [1]

- given federal pardons to ~all of them, including ones who had commited previous crimes and then after being pardoned committed further crimes [2]

0: https://www.bbc.co.uk/news/articles/ckgzkyk7knzo

1: https://apnews.com/article/trump-jan-6-evolution-downplay-vi...

2: https://www.bbc.co.uk/news/articles/cjw4vjvlgxpo