Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
JoshMcguigan
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
1.
▲
by
JoshMcguigan
2y ago
Thanks for reading so closely and providing great feedback! You are totally right on problems 1 and 2 being swapped. For problem #5, you caught me taking too large a logical leap and making some assumptions there. Turns out the issue is jus
2.
▲
by
JoshMcguigan
2y 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
3.
▲
Swapping GNU coreutils for uutils coreutils on Gentoo Linux
(joshmcguigan.com)
89 points
by
JoshMcguigan
2y ago
|
128 comments
4.
▲
by
JoshMcguigan
3y 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
5.
▲
by
JoshMcguigan
3y ago
I was using ldd to investigate how nix handles dynamic linking and I was seeing some output I didn't understand. Others were asking about this on stackoverflow[0] but I wasn't able to find any explanation. After a little digging I
6.
▲
A surprising fact about ldd
(joshmcguigan.com)
1 points
by
JoshMcguigan
3y ago
|
1 comments
7.
▲
by
JoshMcguigan
3y ago
“cargo run” does in fact flash the dev board. Cargo allows configuring a custom runner, which is what the embassy examples do [0]. [0]: https://github.com/embassy-rs/embassy/blob/main/examples/stm...
8.
▲
by
JoshMcguigan
4y ago
Thanks for sharing! I built a similar tool (also in Rust) which allows tracing system and library calls, and could be used for this purpose. I wanted to expose the functionality both as a library and CLI, but for now I’ve only published doc
9.
▲
by
JoshMcguigan
4y ago
What part of SSH takes 6 minutes?
10.
▲
by
JoshMcguigan
4y 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 pe
11.
▲
Internal pull-up resistors are insufficient for I2C
(joshmcguigan.com)
14 points
by
JoshMcguigan
4y ago
|
10 comments
12.
▲
by
JoshMcguigan
4y ago
Save game compatibility would be very useful for testing if a bug was reproducible in the original game.
13.
▲
by
JoshMcguigan
4y 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?
14.
▲
by
JoshMcguigan
4y ago
I agree with you, but the article does address this point.
15.
▲
by
JoshMcguigan
4y ago
You can replace this with a match statement to avoid the unwrap.
16.
▲
by
JoshMcguigan
5y ago
Any ideas what caused the spike then drop of go packages?
17.
▲
by
JoshMcguigan
6y ago
> Normally Luke would group the same functions together but since I don’t have debugging symbols I had to eyeball nearby addresses to guess if it’s the same place. I really enjoyed this article, but I do have a question about this part.
18.
▲
by
JoshMcguigan
6y ago
I wrote this blog post after spending some time troubleshooting a linux process which seemed to be getting stalled, to capture a few one-liners that I found to be really useful for gathering initial informatoin about the problem. I'm n
19.
▲
Troubleshooting a Stuck Process
(joshmcguigan.com)
3 points
by
JoshMcguigan
6y ago
|
1 comments
20.
▲
by
JoshMcguigan
6y ago
It’s like your VPS except without having the manage OS and NGINX updates. And probably higher availability if you are concerned about that.
21.
▲
by
JoshMcguigan
6y ago
Any tips on fix-old-typo? I'm familiar with interactive rebase, but for some reason I'm not able to get something the `git verify` script likes.
22.
▲
by
JoshMcguigan
6y ago
I’ve never used Tridactyl, but I switched from vim vixen to qutebrowser and found the full browser allows a much deeper vim integration and customization than a plugin ever could. I’d highly recommend checking out qutebrowser if you are int
23.
▲
by
JoshMcguigan
6y ago
The article is about an internal employee group raising concerns that the leadership team decided in favor of hosting the episodes. I’d guess the group would have similar opinions about the Eminem songs.
24.
▲
by
JoshMcguigan
6y ago
I could see this data being used by Facebook to argue that they are providing $n per week of value to each user, based on that being the price users demand in exchange for not using Facebook. Of course loss aversion being what it is, humans
25.
▲
by
JoshMcguigan
6y ago
I’m not sure what is meant here, because that top example would compile. edit - Alright I think I see what the original article was trying to express. In the original article that top example method was defined as part of a trait. Because t
26.
▲
by
JoshMcguigan
6y ago
I 100% agree with this. Using fzf.vim for finding/opening files, searching across files, searching within a file, etc had a definite positive impact on my productivity. For reference, I was previously using netrw. fzf is also really us
27.
▲
by
JoshMcguigan
6y ago
When I was first learning Vim I remapped caps lock to escape, and it was a huge improvement. But as I became more comfortable in Vim I realized I was using the control key a lot. I've since remapped caps lock to control, and use ctrl-[
28.
▲
by
JoshMcguigan
6y ago
DNS infrastructure is really interesting. I did a bit of a deep dive on it a few months ago, culminating in running my own authoritative name servers [0] for a while. [0]: https://www.joshmcguigan.com/blog/run-your-own-
29.
▲
Switching from Fedora and Gnome to Arch and Sway
(joshmcguigan.com)
3 points
by
JoshMcguigan
6y ago
|
0 comments
30.
▲
by
JoshMcguigan
6y ago
It’s not that rust wasn’t a good fit. It’s that writing a regex engine from scratch in rust to be integrated into their c++ code base wasn’t the right choice for them when compared against integrating an existing c++ solution.
More ›