HNHacker News
TopNewBestAskShowJobs

gbin

1,401 karma · joined June 18, 2012

* ex-CTO Skyways YC-17 * Leader in the Autonomy and robotics space * Original author of errbot
submissionscomments
gbin··on Intuitive concurrent programming in any language
If you like the idea and work in robotics try out copper-rs, it works on the same underpinning concept but at compile time in rust + a graph description. The latest addition to the kernel is a profile guided scheduling feature that allows you to optimize the concurrency of the graph still at compile time based on previous timing measurements from its deterministic logs.
gbin··on NYC's "Click to Cancel" rule is now in effect
It looks good reading it like this but I am always scared about the unintended effects. Like the ... cookie banners. Dynamic pricing absolutely has to go this is so unethical
gbin··on Photopea creator weighs in on Photosuite project
From 5h ago, and suddenly you found that immediately, this is very juvenile.
gbin··on Photopea creator weighs in on Photosuite project
I was about to say this. Even if the offline version was an authorized thing, there was no license attached to the project, meaning full copyright.
gbin··on Mold Linker Version 3.0.0 Release – Rewritten in Rust
I think it needed to be said because I really don't see why.

LLM are excellent translation tools. Nothing is learned or stolen from them out of this exercise if this is a copyright issue you are getting at.

Then Rust? Why picking on it, the language is morally corrupt? In what way? If it were a rewrite in Object Pascal it would be better?

gbin··on Mold Linker Version 3.0.0 Release – Rewritten in Rust
What warrants an off the cuff comment like this? I can take any piece of software and just say a vague statement like that. All of software... What does it even bring to the conversation? Just vague "they"s again we keep on propping up? Who is unethical? The mold team? The AI? The rust foundation? The ASCII character set? The cloud system it has been compiled on? Oh no obviously the backdoors in there?! Oh let us guess!!
gbin··on Writing Efficient C++ Code (2013)
I don't know if you got my point. Starting a multi gigabyte machinery for the web just for a chatting app is pure insanity sorry. It will be slow to start, slow to react and a battery hog vs a comparable quality QT app. The worse part is usually people use the web stack for desktop app because they don't want to bother giving a good experience to the people on their own native platform.
gbin··on Writing Efficient C++ Code (2013)
It is probably very domain specific. In robotics for example everything is a zero sum game: CPU, memory bandwidth, GPU, battery life etc ... So it is really a topic, probably true for anything embedded actually. Some other offline applications: HFT, Telco etc.. I wish the GUI apps devs respect more the laptop resources they are running on, don't get me started on the 4 instances of chrome I need to run just for discord, signal etc ...
gbin··on Copper-Rs: Live Telemetry Deterministic Twins for Robots
Author here, feel free to ask any questions about this feature or copper in general!
gbin··on Rivian's gambit for full autonomy
This is very basic for any self driving car system you can see on the road today or even 10 years ago.
gbin··on Show HN: I missed the moving blocks, so I built a real Linux disk defragmenter
yeah, this will definitely shorten the lifetime of an nvme.

but check my other comments, it makes a difference, even on a slow nvme. Probably the overhead of the wasted small extent, and maybe prefetching?

gbin··on Show HN: I missed the moving blocks, so I built a real Linux disk defragmenter
check my other comments with numbers, while small for a human being, I could see the variations benchmarking copper-rs.
gbin··on Show HN: I missed the moving blocks, so I built a real Linux disk defragmenter
My observation is that it is not completely true. I constantly have a close to full partition in ext4 and there is no secrets when there is no space the filesystem WILL create a bazillion of small extents because, it has no physical choice! and everytime you have a non maxed out extent, it will create an overhead I don't see how magically you can avoid that. And it is not like a few, on my main working partition, extends of a few KB by the thousands per files are created instead of the optimal size of 128MB. If you just use defrag in read mode on it, it is red from top to bottom, you cannot find a block of few MB with no fragmented file in it.
gbin··on Show HN: I missed the moving blocks, so I built a real Linux disk defragmenter
What actually triggered me to do that was to be able to test repeatably my other open source project in rust were the compile target directory can go to hundreds of gigabytes of files and at the same time I need to benchmark it on large linear slabs we do create for memory mapped files and I definitely noted the impact. I can only guess but non-optimal extent length create a repeated round trip to the metadata in main memory instead of "linear reads" (as consecutive logical numbers) + maybe the fact that those SSD are probably super smart and prefetch the next sectors? (see the jitter numbers I get even on a slow device in other comments)
gbin··on Show HN: I missed the moving blocks, so I built a real Linux disk defragmenter
Yes: I discovered that tested performance on copper-rs a high performance OS for robotics when I run it on ext4 and what is annoying in robotics is the max latency & jitter. Especially that we allocate large slabs so this is not helping at all.

(fragmented relative to baseline) bandwidth: 100.65 -> 94.74 MiB/s (-5.86%) elapsed time: 339.550 -> 360.699 s (+6.23%) mean latency: 9935.7 -> 10554.6 us (+6.23%) p50 latency: 6715.2 -> 6838.9 us (+1.84%) p95 latency: 19394.4 -> 20599.9 us (+6.22%) p99 latency: 131498.2 -> 131988.3 us (+0.37%) max latency: 183713.2 -> 624392.9 us (+239.87%) jitter stddev: 17823.1 -> 19806.0 us (+11.13%) jitter CV: 179.38 -> 187.65% (+4.61%)

Also check your nvme granularity with fstrim -D if you are on 4KB your nvme is so fine grain that it doesn't matter much but if it is 64KB like my main one. Ouch, those small files in the middle of the 64KB won't magically go away.

gbin··on Show HN: I missed the moving blocks, so I built a real Linux disk defragmenter
I discovered that tested performance on copper-rs a high performance OS for robotics when I run it on ext4 and what is annoying in robotics is the max latency & jitter. Especially that we allocate large slabs in copper so this is not helping at all.

This is on a slow device but it might be worse on a fast one as the extra allocation of small extents start to hit harder on the host side:

(fragmented relative to baseline) bandwidth: 100.65 -> 94.74 MiB/s (-5.86%) elapsed time: 339.550 -> 360.699 s (+6.23%) mean latency: 9935.7 -> 10554.6 us (+6.23%) p50 latency: 6715.2 -> 6838.9 us (+1.84%) p95 latency: 19394.4 -> 20599.9 us (+6.22%) p99 latency: 131498.2 -> 131988.3 us (+0.37%) max latency: 183713.2 -> 624392.9 us (+239.87%) jitter stddev: 17823.1 -> 19806.0 us (+11.13%) jitter CV: 179.38 -> 187.65% (+4.61%)

Also check your nvme granularity with fstrim -D if you are on 4KB your nvme is so fine grain that it doesn't matter much but if it is 64KB like my main one. Ouch, those small files in the middle of the 64KB won't magically go away.

gbin··on Saving 100 terabytes of memory by optimizing 1.1.1.1's DNS cache
This is true if you can scale out (ie you can add resources to your system). But for a robot for example, just adding a GPU can just flop your product completely: you need more battery, more weight, suddenly your unit economics is out of the window... Your next hardware iteration will be very slow to come and very expensive. So here, you better not have a system wasting too much resources pretty early on after the prototype phase.
gbin··on Software development with AI is starting to feel like cooking steak
I read corn oil while I expect 3 star Michelin steak. What are we talking about oO
gbin··on Linux eliminates the strncpy API after six years of work, 360 patches
It is more like a "design by committee" issue to me. The decisional structure needs to be built for some opinionated decision. When you have a committee there is not one clear thing they are solving for as everyone has an agenda to tug the language towards their own interests. The result of that can certainly be inaction because it is easier to say no than yes.
gbin··on Arch Linux Now Believes Malware Incident Under Control: More Than 1,500 Packages
Yes and honestly super kudos to paru's creator for the nagging warning about installed orphan packages that made me remove them immediately.

So with a dozen of various systems running arch/cachyos for various purposes, 0 impact.

We seriously dodged a bullet though, should we have some kind of AI spotting shady activity before it hits the userbase?

gbin··on Why TUIs are back
I don't think it is surprising. Loading entire chrome processes for simple super laggy UIs is just unbearable.

TUI are snappy, accessible over ssh, small screen friendly, easily embeddable in zellij or other multiplexers, easy to copy paste from... Amazing.

gbin··on How ChatGPT serves ads
Oh no ... Sweet summer child. Whatever the revenue is, whatever profit there is, whatever cash buffer any corporate has, you can be sure of one thing: they need this to go up and to the right...

It became almost a perfect science to optimize your behavior: this is why you end up, bit by bit with enshitiffied products all around you where basically the pain of using that product is just at the threshold of you actually bashing it against the wall.

ChatGPT is just one of them, like Google search, your TV serving ads or ...

gbin··on Drone pilot makes US rescind no-fly zones around unmarked, moving ICE vehicles
What are you talking about. Read part 107. Flying a drone is almost as hard as flying legally a private plane. Fines are huge. They are enforced.
gbin··on SDL Now Supports DOS
The real question is "why not?" :)
gbin··on FIM – Linux framebuffer image viewer
A crime?! Please people I don't even know what happened here but removing some bitmap support is a crime now for a maintainer of an open source piece of code? You are not happy with the project then where is your fork so we can assign some crimes to you and get out of our way to not recommend it? (Note: I am not affiliated at all with the project and I don't even know what happened but you really need to take a breather, no one forced you to use kitty)
gbin··on Ask HN: What Are You Working On? (April 2026)
Still improving copper-rs! https://github.com/copper-project/copper-rs a rust first robotics runtime and operating system. It allows you to target your algorithms for both a traditional OS and embedded targets with a perfectly deterministic replay. Our users are from all over the autonomous systems spectrum: AMRs, humanoids, drones, self driving... If you are a rust enthusiast wanting to test the robotics waters or a robotics rust curious. Come and join us!
gbin··on FCC updates covered list to include foreign-made consumer routers
A trusted website that compiles it from source and a way for you to go to a webpage and flash from there automatically. The FPV community does that all the time with a set of websites for their ESC, flight controllers, radio, all open source. You can add signatures etc but just a trusted website goes a long way vs a random blob preinstalled
gbin··on Nightingale – open-source karaoke app that works with any song on your computer
You don't want to add untrusted binary download sources in your Linux system. Your distrib is already doing that. This is not strictly about "downloads from the internet" of course
gbin··on Show HN: Robotics runtime in the browser (flight controller, WebAssembly)
Author here, we also have a simple cart-pole demo available https://cdn.copper-robotics.com/demo/balancebot/index.html
gbin··on Greg Kroah-Hartman Stretches Support Periods for Key Linux LTS Kernels
Here: 20 years of desktops and laptops basically installing the latest kernel asap on Gentoo then Arch. I did break stuff, especially Gentoo, a lot... but out of those I maybe got hit once by a kernel regression?

I don't think people realize how long it takes for the kernel to eventually catch up with your hardware.

My one year old framework laptop motherboard STILL don't have properly implemented usb-c PD apis in the kernel today. Imagine if I took a 5y old kernel?

Page 1 of 11Next →