JoshMcguigan

Joined 8 years ago

Karma
429
Submissions
83
Member since
Nov 17
https://www.joshmcguigan.com/
View on Hacker News

Recent submissions

Comment · 2 years ago
Comment · 2 years ago
Thanks for pointing out `package.provided`. It does look like it could be a reasonable way to do this, but I'm not sure how exactly I'd be able to atomically swap GNU coreutils for uutils coreutils using that method?

I think I'd need to add `sys-apps/coreutils` to `package.provided`, then install uutils coreutils while telling Portage to ignore file collisions (because I'd be overwriting GNU coreutils binaries). However, that would have hidden the fact that I would have also been overwriting binaries from other packages (for example `hostname`, which is provided by `sys-apps/net-tools` in Gentoo).

Comment · 3 years ago
For anyone interested in trying out ladder logic, I run a web app that includes a ladder logic simulator in the browser. There is a small set of lessons too.

http://www.plcfiddle.com

Sorry it’s desktop only for now. I never got around to figuring out how to make the drag and drop interface work well on mobile screens, although I’d love to.

Comment · 3 years ago
Comment · 3 years ago
Comment · 3 years ago
Comment · 3 years ago
What part of SSH takes 6 minutes?
Comment · 3 years ago
I was using I2C for the first time, as part of a brushess ESC project, and had to learn the hard way that internal (to the mcu) pull-up resistors would not work at any reasonable (for my needs) communication speed.

This post compares the performance of the circuit using the internal pull-up resistors against external 1kohm resistors, including plots showing the improved signal quality.

Comment · 3 years ago
Save game compatibility would be very useful for testing if a bug was reproducible in the original game.
Comment · 4 years ago
Thanks for sharing! In the first screenshot of CLI output, it seems to show three buses all being 1 minute out? Am I misreading that?
Comment · 4 years ago
I agree with you, but the article does address this point.
Comment · 4 years ago
You can replace this with a match statement to avoid the unwrap.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton