MurphyA/hacker-news huggingface dataset:
by porridgeraisin | 2025-09-20 15:46:37+00:00
I'm seeing a mismatch between what was said in news articles and by the govt officials as well as trump in the video, and what is written in the official order[1]

Considering your background, what is your take on this? Many folks I know who are on H1-B don't know what to believe

[1] https://www.whitehouse.gov/presidential-actions/2025/09/rest...
by fnordpiglet | 2025-09-20 15:47:03+00:00
That’s not actually what the paper is about and it does discuss that LEDs did random number generation isn’t new. It’s more about using GaN microLEDs to produce high volume real time random numbers at a very low component, cost, and power. The key emphasis in the paper is on the high rates of number creation - 9Gb/s.
by ViewTrick1002 | 2025-09-20 15:47:54+00:00
This reads to me like an attempt at polishing a pig.

Just hide all issues people using your project stumble upon in internal mailing lists and project a polished facade.

This reads like an issue anyone can stumble upon with the answer being ”you’re holding it wrong”.

I want to find that from a quick search rather than wading through endless internal discussions.
by rbehrends | 2025-09-20 15:48:12+00:00
> The shell, perl and python are likely for scripting and not used during runtime.

Some git subcommands are implemented in these. git filter-branch is a shell script, git cvsimport is a Perl script, and git p4 (perforce interop) is a Python script. There are not too many left these days (git add -p/-i also used to call a Perl script), but they exist.
by dmarcotte | 2025-09-20 15:48:19+00:00
That's right, KSON the language is any string that parses successfully as KSON. We have a formal grammar for the language [1], and once we validate/harden the design through our beta, we plan to express that in a spec, and we plan to provide a test suite for external implementations to validate themselves against (likely something similar to https://github.com/nst/JSONTestSuite).

I don't think warnings will be part of the spec, though classes of errors may be specified (TBD). This will allow, for instance, implementations that prioritize pure speed by leaving all the guardrails off and simply replying "NO." when they are unable to parse some KSON (and then possibly falling back to a parse with richer validations?).

But languages are more than syntax, they are also the ecosystem of tools around the language. And for a language to be useful and reliable, that ecosystem of tools needs to be excellent, and it needs to be available on any platform you want to use that language. That's a really important motivator for KSON's multiplatform architecture, which allows us to reach all these platforms[2] and editors[3] (with even more to come!)

[1] https://github.com/kson-org/kson/blob/857d585ef26d9f73e080b5... [2] https://kson.org/docs/install/#languages [3] https://kson.org/docs/install/#editor-support
by Peritract | 2025-09-20 15:48:27+00:00
> If pro-labour is going to mean something it has to mean trying to get labour a better deal than a free market would offer, otherwise it isn't really taking a position on labour at all

I think you're assuming here that 'a better deal' means 'more money than someone else', whereas lots of people would define it as 'everyone has more rights/security'.
by bmacho | 2025-09-20 15:49:09+00:00
I propose a new form of government. I call it "liberal democracy". The gist is that when liberals are in power they make sure that fascist never get in power again. (So it's not a democracy, only in name.) E.g. they can make fascism illegal, and don't allow them to run for seats. This has the following advantages:

Over democracy: no danger for it to swing into fascism or autocracy.

Over autocracy: bad governments can be replaced.

Additionally, in practice, it should feel the same that we were having for ages when liberal parties were on power. (Proof?)

Probably this is the mythical "better than democracy" form of government that we are all waiting for?

Thoughts?
by pclmulqdq | 2025-09-20 15:50:27+00:00
Rusty rust and C++-y C++ are both often slower than hand-rolled C for a given function, and zig is intended to be a better way to hand-roll some C.

C as a language is obsessed with the fact that C runs everywhere. Even on a DSP with a 24-bit char and a 24-bit int. If you take out those complexities and you add 40 years of lessons on language design, you can make something a lot simpler.
Show HN: GitType – A typing game that turns GitHub repos into challenges
by unhappychoice | 2025-09-20 15:50:28+00:00
I’ve been building GitType, a CLI typing game that generates problems directly from GitHub repositories. Instead of practicing on random text or predefined exercises, you type through real-world code.

The latest release (v0.7.0) includes:

- Problem generation improved: several times more challenges from the same repository

- Faster startup with caching

- `gittype repo` play to instantly replay repositories you’ve already tried

- In-game help screen with scoring and ranking information

- Various bug fixes and UI improvements

You can find the project here: https://github.com/unhappychoice/gittype

How high can you score? Can you break 10000 points?
by em-bee | 2025-09-20 15:50:46+00:00
your positive responses make me wish i had an opportunity to build my next site with it. not ready for that yet, but hopefully when i get some time to work on my aurelia side project again, i can try making a second version using dagger.js.

actually in recent weeks i have been thinking about building simple sites with just vanilla js, but with some custom functions to enable binding and routing which is the most important stuff. but then i'll probably need iteration, click events, and a few other things, and when i saw dagger.js i realized that my own collection of features would pretty much get me to where you are now...
by xtracto | 2025-09-20 15:51:18+00:00
I feel for you. I just wonder, at this point why would someone look to go back to the US "At any price", given how bad are they being treated? From what I can see, it seems most of us non-US people are "persona non grata" in the US.

I myself am and live in a so called "shithole country ". But specially because of my Technical skills, I've got plenty of opportunities over here. I would never think on living in the USA. Even though I easily could via TN visa. But it's clear US people dont want me living there.
by daft_pink | 2025-09-20 15:52:40+00:00
My understanding is that depends heavily on whether you’re from a quota country. If you’re from India, you’re in immigration jail for decades. If you were from Costa Rica, the H1B is much more decent path.

If this doesn’t apply to foreign US university students then this policy actually helps those students because it will free up spots in the lottery for them or eliminate the lottery, and reduce the quota line for quota country student currently studying.
by toast0 | 2025-09-20 15:53:15+00:00
> You are. This is firm "I don't want to have to learn new things" territory, which isn't a viable attitude in this industry.

It's viable, but limiting. Sometimes you have to do things you don't want to, which is why it's called work. But if you can choose what platforms you work on, you can orient towards things where things change less, and then you don't need to learn new things as often.

Chances are, if you get into the weeds in a lot of C programs, Rust is in your future, but it's viable to not want that, and to moan about it while doing it when you need to.
by pyrale | 2025-09-20 15:53:40+00:00
A maintainer for that specific platform was more into the line of thinking that Git should bend over backwards to support them because "loss of support could have societal impact [...] Leaving debit or credit card authorizers without a supported git would be, let's say, "bad"."

To me it looks like big corps enjoying the idea of having free service so they can avoid maintaining their own stuff, and trying the "too big to fail" fiddle on open source maintainers, with little effect.
by magnio | 2025-09-20 15:54:18+00:00
https://www.sonatype.com/blog/pytorch-namespace-dependency-c...

https://socket.dev/blog/pypi-package-disguised-as-instagram-...

https://socket.dev/blog/monkey-patched-pypi-packages-steal-s...

https://socket.dev/blog/malicious-pypi-package-targets-disco...

https://socket.dev/blog/typosquatting-on-pypi-malicious-pack...
by baby_souffle | 2025-09-20 15:54:46+00:00
> I feel like Docker and other containerization tools are becoming even less relevant given that systemd can twiddle the same isolation bits so there's no real difference in terms of security that using a container tool grants.

I see it as _exactly_ the opposite. Podman gives me more or less the same security controls as systemd and the package/delivery problem is solved.

Call me when `systemctl pull ...` fetches the binary and everything else needed to run it _and_ puts the .service file in the right spot.
by zahlman | 2025-09-20 15:54:47+00:00
> Okay but that's still ambiguous.

I don't think the way I said it was ambiguous at all, but I will expand.

I do think the term has other meanings, such as the natural one that results from the common adjective + noun construction used to mean "not really the thing described by the noun, but something roughly analogous mediated by the adjective". (Some critics might snark that the adjective "social" is commonly used in this way.) In this case, something that is not Marxism, but which treats culture analogously to how Marxism treats class and economics. Which is to say: identifying oppressor and oppressed groups, asserting a need for revolution, having a particular notion of what equality (or "equity") looks like, adopting a strongly collectivist/anti-individualist attitude, etc.

It also could refer to the specific work of the Frankfurt school, with or without the belief that those ideas are inherently "subversive", with or without the allegation of "intentional academic effort" to spread those ideas.

(And it certainly doesn't depend on caring about the religion or ethnicity of the original academics. Just like any generic reference to "elites" isn't inherently anti-Semitic.)
by AnotherGoodName | 2025-09-20 15:56:46+00:00
That's better. In fact the best option is to store it as methane. Electricity to methane production has the same efficiency as hydrogen. It's just a small step across to allow the hydrogen to bond to free carbon when producing it and doesn't really hurt the overall efficiency of hydrogen production from electricity since the biggest losses are in the production of the hydrogen itself. Both methane and hydrogen production from electricity have the same efficiency.

As methane it's reasonably easily liquified. You also already have a network of natural gas systems that you can utilise this in right now. There's literally fleets of natural gas vehicles today as well as pipelines everywhere. If making hydrogen from electricity was in any way viable we'd already be doing it for the methane networks we have today.

Of course if we start talking like this the myth of hydrogen being green gets blown right out of the water and we realise that storage isn't even the biggest issue of hydrogen. "Hey Toyota why don't we just use your existing CNG cars instead, it'll save us making hydrogen from methane and if we ever do start making it from electricity in bulk couldn't we just make methane similarly?".
by rdtsc | 2025-09-20 15:57:09+00:00
> The fact that the shooter was conservative, from a conservative family?

He implied it was trump maga head or some kind. Not just implied, he made it sound like it's a sure thing. Moreover, it applied to a crime that was just committed. When FCC threatened them ABC knew they couldn't appeal or fight. It wasn't worth it, it would have been a PR disaster.

This guy is nothing like a maga whatever, he as trans girlfriend, leftist views, parents said that much (they are the ones who turned him even), wrote "Bella ciao" on bullets and "catch, fascist" and most importantly heshoots a trump-loving personality like Kirk. How did Kimmel arrive at him being some trump fan, I don't see it. That's the intentionally spreading misinformation related to a crime, good enough for FCC to threaten him and good enough for ABC to realize they'll be in a losing game defending him.
by keiferski | 2025-09-20 15:59:34+00:00
Sorry I edited my comment and expanded it.

I think audiovisual media is better for most educational things, especially languages and skills. If you're learning Spanish or how to fix your car, I think a video (with audio) is better than a book most of the time. To be fair, there are definitely things better taught via book, but I do wonder if part of the reason why is 1) books have a longer history and 2) watching video is still kind of an awkward experience; I can't easily grab text from inside it or view the entire contents at once, like I can with text.

But more generally, I think audiovisual media just more closely matches the human experience of the world. Sitting hunched over an object looking at symbols is a learned activity, whereas watching and hearing something is more "natural" to people – see for example, how most languages were spoken-only for a long, long time before anyone wrote them down.
by aDyslecticCrow | 2025-09-20 16:00:56+00:00
Isn't that just the new standard set by phones and instant messaging? Iterative instant commutation rather than "letters" of formatted text. I too write a lot of messages in a single pass and press *send*, only to "edit" any errors afterawrds. (or a with good old "*afterwards" message afterwards)

Phones are the new default, but they are terrible for long form writing. Moving a cursor to the middle of a section or moving a section around is frankly more effort than its worth. Just send it and clarify later. I'm not saying its a good thing, but i would call it more of a shift than a decline. If you ask them to write a report the writing may spectacular, since they're actually by a proper keyboard and in a format with more strict writing standards.
by fragmede | 2025-09-20 16:00:58+00:00
Reader here: maybe listen to reader feedback? If your goal is to write into the ether to generate training data for LLMs, then by all means, continue! As a human, I'm trying to communicate ideas and thoughts to people. When people don't understand what I'm trying to transmit to them, I adjust my transmissions to better and more. effectively communicate with them.
by 0_____0 | 2025-09-20 16:01:02+00:00
This is a heat pipe. A technology from the 60s. Your laptop almost certainly has heat pipes in it. They usually use alcohol rather than water as the phase change material though. The (relatively) novel thing is that it's packaged small enough to be in a phone. I suspect the only reason it hasn't been used in handhelds more is because the TDP of mobile processors wasn't high enough to warrant it.
by ilaksh | 2025-09-20 16:01:09+00:00
If you look at the actual ranges on his graphs, the conclusion is a little bit exaggerated, but the basic point is valid.

Education systems need to have very strong curriculum about AI use and the necessity of just not using it to some degree to be able to obtain any level of actual literacy or other competency.

Actually education should be redesigned to properly incorporate personalized AI tutoring and as part of that effort provide a supportive environment where students don't feel the need to go around it to cheat.

If the goal is to communicate and solve problems, the technologies will probably be a huge improvement if we can manage them properly.

I definitely do not have the depth of vocabulary that some 18th century readers had, but I am a good problem solver. Probably a more effective problem solver with AI. But kids do need to be trained that they will lose it if they don't use it.

If you look at the extreme amount of video content these days and combine that with the increasing abilities of AI video generation, there may be a trend towards more visual (and often more literal) communication.

I often find that screenshots or screencasts are important for technical communication.

But of course we don't have any visual replacement for the abilities of natural language so I hope we can keep that.

We need a deliberate and effective effort in education.

But we are rapidly approaching the era where your access to AI and robotics determines your labor productivity. So it increases the existing inequalities.

It comes down to the topology of the social networks and how the built environment and belief systems shape that. But the belief systems mostly serve the social groups rather than the other way around. So maybe what happens is determined by group dynamics.

Thank you to anyone who read my ramble.
by BrunoBernardino | 2025-09-20 16:01:35+00:00
I've struggled with this a lot and wrote about being able to overcome it with "Healthy, slow.: How I lost 30kg in 5 years", back in 2020. It's a short pamphlet/eBook available at https://healthy-slow.onbrn.com

If you can't afford it, I'd be happy to give you the PDF for free.
by Barrin92 | 2025-09-20 16:01:57+00:00
>We need a better security model where it's still possible to do powerful stuff on the whole machine

That's not possible. If you can do powerful stuff on the whole machine by definition you have no security. Security is always a question of where you create a perimeter. You can hand someone a well defined box in which they can do what they want, you can give someone broader access with fewer permissions, but whether vertically or horizontally to have security is to exercise control and limit an attack surface.

That's even implicit in the statement that it's YOUR computer. The justification being that there's a dividing line between your computer and other computers. If you'd be part of of a network, that logic ceases to hold. Same when it comes to components on your machine.
by 5555624 | 2025-09-20 16:02:40+00:00
Just because someone is a comedian doesn't mean everything they say is a joke. If Kimmel's comment on Monday were a joke,m someone needs to explain it to me, because I didn't get it.

What I did hear was some "facts" that did not seem to line up with things I heard in the news. I just assumed he ignored his staff of "fact checkers" -- see Kimmel's comments when he had the dust up with Aaron Rogers -- and was just on another of his anti-Trump rants.

While his show isn't all that bad, his monologues are political and have gotten old. Stick to jokes.
by daft_pink | 2025-09-20 16:02:44+00:00
I think it’s even more interesting the random ways that streaming services decide to pull episodes of TV shows that aren’t particularly moral like the Simpson or South Park. The Simpson episode where Michael Jackson sings a song uncredited is unavailable. You can murder someone’s parent and eat them on South Park but making fun of Charlie Kirk before he died was pulled. I don’t quite understand it.
by zahlman | 2025-09-20 16:03:41+00:00
> Instead of macros it uses Zig itself to execute code at runtime (comptime).

Nice. FWIW, I have a vague PL design in my head that does this despite being a much higher-level language. (For that matter, I think of my idea much as "like a modern Python with lessons learned".) Point being I definitely think this is a good idea.

To my understanding, the things actually called "macros" in Lisp also do this.

> Custom allocators are the norm.

On the other hand, this doesn't sound to me like an upside. Of course it's fine and well if it's easy to do this. But hopefully you'd prefer not to have to... ?

> No hidden control flow, everything is very explicit and easy to follow.

What sort of hidden control flow do you see in C? (Are modern code bases using setjmp/longjmp in new code?) I would have thought that C++ is where that really started, via exceptions. But I also don't think most programmers see that as problematic for understanding the code.

> Single unit of compilation has some nice properties, allowing to support colorless async.

Would appreciate some explanation of the theory here. Though it does occur to me that the languages I can easily think of with "coloured" async also don't exactly statically link everything all the time.

Also, how does all of this compare to Rust, in your view?
by thisisit | 2025-09-20 16:04:05+00:00
This is such bad policy making. Its like using a cannon to kill a mosquito. And for a party which idolizes the founding fathers these people seem to have forgotten the lesson from Benjamin Franklin. They went from letting 100 criminals go than make 1 person suffer to punishing 100 criminals to full extent of the law and then justify the action if 1 innocent is presented. End justify the means.

And for anyone who is supporting this - Sorry to burst your bubble but just like everything done by this admin so far it is not going to tide over the American job problem.

First, Secretary of Homeland Security has a discretion. It means companies can graft/lobby him to get exception. Maybe shops like Infosys might not get one but Tesla can get one under the garb of supporting American manufacturing.

Second, companies are going to find ways to get that exception. Consulting shops can always open a subsidiary with all American front and lobby for exception.

Third, consulting shops can always bill their customers - maybe partial amounts - that is American companies. Or they can encourage to offshore even more. "You can now save $X + 100k if you offshore".

So and so forth. You need a thoughtful policy not a blunt instrument like this.
by jfess | 2025-09-20 16:04:08+00:00
Hi HN, I built pacecalculator.io to help triathletes do two things: plan their race day and optimize their training.

You can calculate your pace and finish times for over 150 built-in events. Then, you can dial in your training with personalized FTP, CSS, and LT-Pace calculations.

I used Angular, Node.js and MongoDB.

I would love to hear your thoughts and feedback. Every suggestion helps me make the tool better. Let me know what you think!
by trod1234 | 2025-09-20 16:04:10+00:00
You go where the work is, and you have unrelated skills you can fall back on to put food on the table.

If society wants to burn itself down by forcing competent people into poverty and homelessness, then it loses the benefits that those people would bring. That can only go on for so long, the worse it is, the more violent the times become because people become more desperate and without future; a complete abandonment of the social contract.

Its a sticky choice of recognizing bad investments. If the loud voices want to pretend its not happening, they can pretend, but they aren't fooling anyone. They just show how malicious they are, and while violence can never be justified in a civilized society, when you have systems forcing people to poverty/slavery you are no longer in a civilized society.

All it takes is around 10-20 years of continuous systemic abuse, the people remember and talk, and the generation that comes after are not fooled by the lies. They come prepared to do what's necessary, such is the rise and fall of empires historically.
by rdtsc | 2025-09-20 16:04:33+00:00
> This is a violation of the US Constitution. Full stop

I needs a comma, or semicolon at least.

> The US government threatened a private company

Threatened with what, imprisonment, death? They threatened to pull the FCC license. It turns out broadcast content is controlled by the government. It always has been. Kimmel can and should continue saying what he was saying on his own website or platform or whatever.

> This is a violation of the US Constitution.

Ok, let's say it's a clear cut violation, with a full stop, an open and shut case. ABC can file a lawsuit, it's an easy win isn't then? And, plus they get to show how they fought and won over fascism. Why did they fold so quickly then?