MurphyA/hacker-news huggingface dataset:
Doo: A Simple, Fast Programming Language Built on Rust and LLVM
by nynrathod | 2025-11-03 08:37:48+00:00
Hey HN!

https://github.com/nynrathod/doolang

I'm Nayan, and I'm stoked to share Doo, my project turned side hustle for a lang that's dead simple to write but punches like Rust. Think clean syntax (inspired by Rust but less boilerplate), auto memory mgmt via ref counting (no GC pauses), rich types, and it spits out standalone native bins via LLVM/clang.

Why Doo? Coding should feel fun, not fighty. No more wrestling with lifetimes or macros just to get a "hello world" but still safe and speedy.

Quick tour (hello.doo):

fn main() { let msg = "Hey HN!"; print(msg); }

Static Type System: Compile-time type checking with type inference Automatic Memory Management: Reference counting for data types Rich Data Types: Integers, strings, booleans, arrays, maps, and tuples Module System: Organize code with a hierarchical import system Control Flow: Conditional statements, for loops, and range iteration Function System: First-class functions with parameter and return type annotations Native Compilation: Compiles to standalone executables using clang/lld

Repo: https://github.com/nynrathod/doolang (stars/pulls welcome!)

What do you think? Too Rust-y? Missing a killer feature?
by franga2000 | 2025-11-03 08:38:36+00:00
> Privatisation replaces the leadership with people who are incentivised to make the organisation as efficient as possible

This is the core lie that economists have sold us. Private companies are not incentivised to be efficient, but to make as big a profit as possible. This usually means they cut quality, reduce unprofitable activity and extract every last cent they can out of their customers or other source of funding.

Public benefit companies run on a service-first principle. They deliver the required service to everyone, at the same quality, at a reasonable price - at all cost. They're sometimes inefficient at doing that, but more often than not, any "efficiency" gains would mean reducing service quality or accessibility, which is not acceptable when you work for the people, not the shareholders.
by seszett | 2025-11-03 08:38:38+00:00
That one was in activity about the same period I took the Montparnasse station somewhat regularly, and over those years I couldn't ever take it as it was always either broken or running opposite to my direction.

I do think a concept with parallel tracks moving at different speeds would have been easier to use and more reliable though. But it might not have been revolutionary/over-engineered enough to attract attention and subsidies.
by nis0s | 2025-11-03 08:38:42+00:00
You can’t survive in survival bunkers or islands, and thinking otherwise is a pipe dream. We don’t have a true model of what this might look like, but if there’s extreme instability then wealth doesn’t serve as a safety measure—it will be a target. You need backing by governed armies to protect status and wealth, but in some proto-civilization model, there will just be warring factions with bunker busters and maybe nukes going at each other. They’ll eventually form treaties and merge into city states, repeating the same trend towards nation states and democracy. Just skip the dumb bloodshed in the middle, and settle on Nordic socialism from the get go.
by dragonwriter | 2025-11-03 08:39:40+00:00
> unpopular opinion, but what is the point of having borders, countries and legal systems if they are all connected into one global unit giving merely an illusion of separation to groups of people?

You didn't state an opinion (unpopular or otherwise), you asked a question.

But the question is very much like asking why have defined property rights, property lines, fences, etc., when people still engage in voluntary trade and other interactions.
by spwa4 | 2025-11-03 08:39:49+00:00
Where the sad truth is that just the debugging features of the JDK alone make it worth using it even for just using C libraries. You can separate the C libraries, restart them without losing memory, communicate with them at least as efficient as through RPC ...

Memory management means that you can just inspect any piece of memory, even through code.

AND it's statically typed, unlike the one other environment that even tries to do this.
by efreak | 2025-11-03 08:39:53+00:00
Why can't I lock my computer and have Windows turn off my displayport monitor without having it turn itself on and off every few minutes until I log back in?

Why can't I turn off the power button on my monitor and then turn it back on to keep using it again without having to shut down my PC, turn off the PSU switch, press the power button to fully power it down, then bring everything back up? I just want my monitors off when I'm in bed...
by throwaway7486 | 2025-11-03 08:40:33+00:00
> Another big issue imo to me feels like ssh, X servers ssh forwarding/vnc just works, Yet I haven't really found ways to do things like VNC on wayland on a server or something as easy (or even possible?) on wayland as compared to x servers

Waypipe[0] for native Wayland applications, and if you need to forward X11 apps there's xwayland-satellite[1].

You can hook xwayland-satellite with Waypipe and forward X11 apps through Waypipe. This way you get even better performance than with traditional X11 forwarding methods.

The other day I was playing Steam/Proton games through the network this way.

Of course, X11 forwarding also works fine on Wayland with ssh -X, but as I said, consider Waypipe + xwayland-satellite.

[0] - https://gitlab.freedesktop.org/mstoeckl/waypipe/

[1] - https://github.com/Supreeeme/xwayland-satellite
by Towaway69 | 2025-11-03 08:41:35+00:00
`KEY_INFLATE_SIGNAL_STRENGTH_BOOL`

Hm - what is the word 'INFLATE' doing there?

I would like to believe your opinion but that word INFLATE makes it hard ...

If it is a UI correction, then surely it would have had a different name: ENSURE_SIGNAL_IS_ONE_BASED ... ;)
by jbstack | 2025-11-03 08:43:02+00:00
There is actually scientific evidence that direct engagement with material (e.g. making notes, re-writing in your own words, completing exercises, explaining it to others, etc.) is very beneficial to memory formation.

So, although creating a card is similar to reviewing it once (in that they will both help you remember it for a while), the former is worth more than the latter as a "unit" of memorisation. This means that you'll likely have longer review intervals, and therefore spend less time on reviews, if you wrote the card yourself, because the memory starts out stronger.

That has to be balanced of course with the amount of time you spend writing the card vs the gains you make in saved review time from having done so.
Show HN: Stack Masters – a physics-based Tetris-like dice stacking game
by BSTRhino | 2025-11-03 08:44:24+00:00
This is a game where you have to fight physics to get your dice in a row. Throw stacks of dice in the air to get the right ones along the bottom. In my opinion, this game feels really satisfying on a touchscreen, so try playing it on your tablet or phone if you have one! Still feels great with a mouse though too.

Just thought it'd be an intriguing use of a physics engine that HN might enjoy!

This game was created in 3 days for a gamejam. All music and artwork original. Made with Easel.
by Aissen | 2025-11-03 08:44:54+00:00
During the mid 2000, an experimentation in the Montparnasse metro station in Paris transformed a moving sidewalk in order to have an acceleration ramp from 3 to 9km/h. It was slower(most of the time) than the 1900 expo's 10km/h. And there always was a "slower" sidewalk (3km/h, the default) next to it. The goal was to go up to 11km/h (it did at some point). And yet it failed, and was removed 15 years ago. Only the slow options remain.

https://fr.wikipedia.org/wiki/Trottoir_roulant_rapide#/media...
by fragmede | 2025-11-03 08:45:30+00:00
> I've organized so many parties that I feel qualified to comment here

> I refuse to use an event page personally because I think it makes it less personal. I always DM people directly if I want to invite them.

These parties you've organized, I'm sure they were quite lovely, but can't have been truly epic, yeah? DMing, say 30 people is one thing, but if you're looking at, let's say 500, is another matter. If you need to spend 30 seconds per attendee to get their name and their telephone number and then paste in the same message, 500 attendees makes that take over 4 hours!
by imron | 2025-11-03 08:46:28+00:00
> having people spend time prepping good commits is potentially time wasted if nobody ever looks at the PR commit history

Good habits make good engineers.

You never know which of your commits will cause a future problem so structuring all of them well means that when you need to reach for a tool like git bisect then your history makes it easy to find the cause of the problem.

It takes next to no extra effort.
by jesterson | 2025-11-03 08:46:49+00:00
> This is a Russian narrative.

What is the "russian narrative"? Whats is this made up definition?

> Putin is a dictator.

Based on what?

> Russia was once again living in fear; you did not speak out

I don't think Russia is living in fear, neither I should be speaking out as I am not in any way related to it.

> It looks from material being produced by Putin, the State and the military Russia by about 2010 was looking to take Ukraine

Doubt this is true.

> Putin had his man running Ukraine - into corruption and thuggery

Yea, all presidents/PMs were "his men". If this is not propaganda what you are desperately trying to do (and you do it quite poorly I must admit), then I don't know what propaganda is.

> Ukraine wanted, and wanted, freedom

Thats why ukraine sold everything it had, including it's rare minerals for years to west :) We certainly have different definitions of freedom.

> Putin wants to possess Ukraine,

There is no proof for that. What "posess" means?
by sim7c00 | 2025-11-03 08:47:12+00:00
presumably nothing because its about old devices which dont have UEFI. that being said, i suppose you mean BIOS interrupts are silly and you dont really want to know about them these days. that's true. (theres more than bios stuff in this list tho).

for ppl looking to discover BIOS interrupts and their meanings in this list, follow the breadcrumb given and go and checkout EDK2.
by rramadass | 2025-11-03 08:47:41+00:00
What Smolin is trying to point out are the meta principles which underlie the feedback loop of the Scientific Method itself. Once the principles are adhered to, the loop becomes commonsense. This is because all of "doing Science" are human activities where we discover knowledge through three means viz. 1) Authority(Textual/Oral) 2) Reasoning 3) Experience. All three have to be considered to come to a definite conclusion. The submitted article ignores this trifecta and seems to conflate "Empiricism" solely with external validation.
by Frieren | 2025-11-03 08:47:53+00:00
> Think of Afghanistan as an example,

A country that has been destabilized by foreign invasions again and again. The last one from the USA.

It is not about culture, it is about been ruled by outside powers that do not allow for internal development. Except for a few tax havens, former colonized countries struggle with violence, inequality, and corruption. That was the system that was setup for them and it will take decades to fix if they are left alone, it will never be fixed if other countries intervene to keep the status quo to profit from it.
by fragmede | 2025-11-03 08:48:16+00:00
If the ex-Palantir CEO (who has subsequently left Partiful) gets Palantir stock, and that stock goes up in valuation, and that CEO sells the Palantir stock (which has gone up due to Partiful giving them the social graph and Palantir being able to data mine it) and uses the money from that sale to fund Partiful, is that considered selling user data?
by drnick1 | 2025-11-03 08:48:42+00:00
I find this hard to believe. Generally speaking, games run slightly slower on Linux (that's on Arch with latest Nvidia drivers). Usually, the difference isn't really noticeable, and several rigorous benchmark show that even though average FPS is single digits lower, the standard deviation is also smaller. This may be due to Nvidia not performing as well on Linux, the worst impact I have seen is on Helldivers 2 (at least 15 to 20% lower FPS).
by gunnarmorling | 2025-11-03 08:49:09+00:00
Are you referring to using Debezium embedded as a library? If so, yes, it absolutely has its place; for instance, it's used by Flink CDC. There's pros and cons to either way of running Debezium. Seeing embedded Debezium a lot for in-app use cases, for instance cache invalidation. Going through Kafka allows for reply and setting up multiple independent consumers for the same change event stream.
by Spectadrone | 2025-11-03 08:49:34+00:00
I'm no stranger to Linux and its setup. homeservers, pi's and any old laptop I come across.

But for my main Desktop(gaming,dev,fun,...) I've reluctantly bought a W11 key (cheap one thank god).

I don't mind working through driver issues and needing time to figure stuff out but the thing that bothers me is 'Compatibility between online games and Linux is hindered by anti-cheat software, which often lacks Linux support, especially kernel-level anti-cheat systems' (thx google).

I could go on a very technical rant, or start about setting up w10/w11 vm's with 5% loss in performance etc...

But honestly, I wanna play my online gaems =(
by iliesaya | 2025-11-03 08:50:16+00:00
"and real-time radio streaming without requiring internet connectivity." is misleading. iPhones don’t have an accessible FM tuner, so there’s no true offline radio here. The project does P2P audio over Bluetooth/Wi-Fi (walkie-talkie style) and streams FM stations over the internet. Cool demo, but not RF radio — the README makes it sound like the phone can receive broadcast FM, which it can’t.
by 1313ed01 | 2025-11-03 08:50:47+00:00
Not as my primary language, but I wrote two or three small command-line tools for my own use in recent years. Cross-compilation and platform support is excellent, so it is convenient for writing something once to run on multiple systems as just a static binary without having to mess with installing any dependencies on the target systems.

Sticking to very basic, procedural, non-OO, Pascal though. At its core Free Pascal, like early Turbo Pascal, is very small and simple, even compared to C, and there is value in that, especially since it is also a whole lot safer than C (but still has things like pointers and inline ASM when you need that).
by pants2 | 2025-11-03 08:51:23+00:00
I had a very dangerous 1-bar the other day. You see I was in the Canadian wilderness relying on iPhone text-over-satellite, which works well, but only when you have no signal. I needed to relay a message to the rest of my group when suddenly I find myself with one bar of 3G that was completely and totally inoperable. No messages were getting through. But to make matters worse, since my phone thought it had a bar, it wouldn't activate satellite. I tried every setting and then for 20 minutes hiding behind various rocks to try to get my one bar to go away when finally I found a spot that would let me satellite text again.
by dnouri | 2025-11-03 08:52:25+00:00
Interesting question. However, I haven't worked with those kinds of tests before.

It looks like there's two pytest plugins at least to support you with that:

- Mutatest: Python mutation testing: https://mutatest.readthedocs.io/

- Mutagen: https://github.com/timpaquatte/pytest-mutagen

Let me know how it goes.
by drnick1 | 2025-11-03 08:52:40+00:00
> Basically none of the existing Linux desktop components are mature, either design or technical wise and more often than not, both.

What do you have in mind specifically? GNOME 3 is very mature, and has a consistent, polished design that far surpasses Windows 11. In fact, in view of recent macOS redesigns, I am tempted to say that it surpassed it too.
by janderson215 | 2025-11-03 08:56:00+00:00
While I appreciate the effort and strive to do so myself, I’m not sure this is entirely a matter of you trying harder/doing better. You can often explain the context well enough to a degree that is practical enough to solve the narrow case, but communication is lossy by nature, so descriptions of systems become impoverished. It is so hard not to make bad assumptions about the reader, especially if you look forward even 1 or 2 generations from now. It seems this is a large part of the role of the US Supreme Court and I’m certain that is not perfect even with days of deliberation. For technically enforced systems with faster feedback loops, higher volumes, and lower tolerances, there are necessarily more errors.
by gruturo | 2025-11-03 08:56:09+00:00
Make that 3.0000001%

After trying Bazzite for a few weeks around 1.5 years ago, I was pleasantly surprised but the (back then) poor state of nVidia support was an issue. I went back to the Windows 10 partition with the intention of switching over for good once the support ran out. I went a few days past that date, but seeing this article yesterday evening made me pull the trigger. Made a CachyOS USB stick, swapped the NVME out for a fresh one (the 3080 was blocking it and the release springy thingy on the PCIe connector was almost inaccessible, grr) and it's been smooth sailing. I'm also trying not to install Chrome at all this time, let's see if I manage.

I was keeping my games in a separate drive already, so when I mounted it and told Steam to look there, it just recognized everything and let me play right away!

It also exposed me to a new shell (fish) but that didn't go well. I ripped it out within seconds when the tab completion picked up files NOT matching what I had already typed, WT actual F? I'm sure it's configurable but screw that.
by sweetjuly | 2025-11-03 08:57:46+00:00
I used to really believe this too, but I stumbled across the "Five Geek Social Fallacies" and it really helped me understand why I was so apprehensive to exclude others.

Some people just don't mesh well, and trying to force it will just ruin the entire vibe. You don't have to throw all your volatile or otherwise abrasive friends to the side, but it's important to understand that some friends are better one-on-one as opposed to group gatherings (especially with people who aren't familiar with their quirks). Trying to force it just makes everyone miserable.

[1] https://plausiblydeniable.com/five-geek-social-fallacies/
by Vespasian | 2025-11-03 09:01:29+00:00
There's a good chance he was fighting in WWI being in his mid 20s.

If he survived that he lived through economic crisis in the twenties and thirties and ultimately WWII including occupation and terror in France.

And ultimately if he got old enough he could have witnessed the early cold war but also European economic bounce back and begining reconciliation between former enemies.
by NaOH | 2025-11-03 09:02:18+00:00
>1. If this is a dinner party (or people are all seated), force people to get up and move in a way that they'll meet new people. Do this when you're about 2/3 of the way through the party.

Better, I've found, for compelling people to interact with others they may not know, is to assign seats. This enables separating couples or others with a preexisting connection. The act of eating offers the benefits of a subject to discuss (if needed) and makes it so it's acceptable to periodically look away from the conversation partner. Just note that depending on the size/shape of the dinner table, it may be necessary to think about who people will be seated adjacent to and seated across from.
by djmips | 2025-11-03 09:02:35+00:00
When I came upon this list, and I don't remember how, I went from the The 97 Pound Weakling to a perfectly developed hacker. Seriously, it was a game changer and launched me into a game of catchup on the PC (I was a Apple II and C64 guy). I had so much fun at work with hacks but also making cool utilities.
by ElectroBuffoon | 2025-11-03 09:02:47+00:00
It's like if Wayland is not just a graphical system, but a full business plan.

Control upstream, then companies wanting solutions will go to you first. Because why go to someone else in the FOSS market, when there is no certainty the code or standard (extension, protocol, etc) will get accepted, forcing you to maintain a fork? With IBM-RH and Ubuntu doings eg., it's hard to say FOSS is immune to vendor lock-in.
by jcattle | 2025-11-03 09:02:52+00:00
> As bad as Trump is he's only got 3 more years in power until next elections

And even in the "best case" scenario where trump does not win that next election, what are you left with then?

A new reality where potentially the office of the president has widely increased powers. Depending on what the supreme court says on wednesday the president will now be able to raise tarrifs at will, send the army into domestic cities at will, have the army kill foreign civil citizens we are not at war with at will and a massively expanded ICE agency which will be really hard to downsize for later administrations.
Show HN: Serie – A rich Git commit graph in your terminal
by lusingander | 2025-11-03 09:04:51+00:00
Serie is a TUI application that uses the terminal emulators' image display protocol to render commit graphs like git log --graph --all.

This is not a full-featured git client, nor are there any plans to add such functionality, so it is not a replacement for tig, lazygit, gitui, etc.

The only purpose of this tool is to provide a pretty git log --graph and make commit information easily accessible.

While some users prefer to use Git via CLI, they often rely on a GUI or feature-rich TUI to view commit logs. Others may find git log --graph sufficient.

Personally, I found the output from git log --graph difficult to read, even with additional options. Learning complex tools just to view logs seemed cumbersome.

Limitations:

- Sixel is not supported. Only terminals that support the iTerm and kitty image protocols are supported.

- Terminal multiplexers are not supported.

- Windows is not supported.

https://github.com/lusingander/serie
by crote | 2025-11-03 09:06:05+00:00
The problem is that treatment like that is probably not compatible with the whole "being biodegradable" thing - which defeats the entire purpose.

Same with "paper" coffee cups: you want coffee cups which can be recycled, and paper is recycleable, but paper can't hold water, so it requires a plastic / hydrophobic coating, so you can't recycle the paper, so your recycleable coffee cups aren't recycleable.
by mschuster91 | 2025-11-03 09:07:21+00:00
> Southern Europeans export their tasteless tomatoes to Northern Europe because people there don’t value tasty tomatoes that much. So southern Europeans keep the good vegetables for themselves.

It's the other way around. The problem is that mass-market tomato varieties have been selected and bred for a long shelf life - which led to them losing taste because breeders didn't care about taste, only about durability [1]. And the flavors aren't the only thing that went away, the second breeding focus on yield led to tomatoes that don't have as much sugar any more because there's only so much sugar a single plant can make.

So if you want to ship tomatoes to Nothern European countries that actually last a few days of display time on the shelf before going bad, you'll want to breed varieties with less taste. If you were to ship tasty tomatoes, probably half the shipment would go bad before ever reaching the store.

And that's not just valid for tomatoes, it's valid for all sorts of agricultural products - including meat. You're only going to get the truly good stuff if you go local and pay the surcharge for varieties and breeds that are "less efficient" to grow but yield more flavor.

[1] https://www.science.org/content/article/why-tomatoes-got-bla...