Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
nrclark
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
12 ms
·
121.
▲
by
nrclark
2y ago
Across a large enough sample set, I definitely see occasional serial errors (although they're rare). For me, I detect them by checking the exit-code on each command that I run, and also by looking for expected output in response to the
122.
▲
by
nrclark
2y ago
I use pexpect frequently for automating serial-port communications. It’s very useful for implementing test/flashing automation that needs some kind of a serial-port step (such as asking u-boot to run a few commands).
123.
▲
by
nrclark
2y ago
There's no reason to reinvent a tool that has literally decades of development behind it, is included in pretty much every Linux distro, and does what you need. Dismissing it as being for olds is short-sighted.
124.
▲
by
nrclark
2y ago
Can you give me a specific example of what I said that's incorrect?
125.
▲
by
nrclark
2y ago
Make recipes are literally shell scripts. Make is designed to take a bunch of little shell scripts, give each one an arbitrary name (which can be the output files if you want, but doesn't have to be), and run them. Dependencies are run
126.
▲
by
nrclark
2y ago
As near as I can tell, the main benefit is "new and shiny", combined with "tabs???? yuck" and "I used Make in college and never really learned it, therefore it's bad"
127.
▲
by
nrclark
2y ago
Make can do all of those, easily, even eliminating TABs if you really care that much (I don't, my IDE handles them and it's really not a big deal). Have you ever taken the time to learn how to use it? Make targets can be whatever
128.
▲
by
nrclark
2y ago
unrelated but curious - what do you think of OSTree-based embedded distros? Any future in it?
129.
▲
by
nrclark
2y ago
Agreed, NXP does a good job with their yocto layer.
130.
▲
by
nrclark
2y ago
Globally, I would bet that there are more daily Android users than daily Windows users. There is no real competitor to Youtube.
131.
▲
by
nrclark
2y ago
You mean strnlen.
132.
▲
by
nrclark
2y ago
I like Tcl. It's still very common in the electronics design industry, and it's a fun language to write things in. Kind of feels halfway in-between LISP and Bash. Tcl is also found in Python (weirdly) as the implementation languag
133.
▲
by
nrclark
2y ago
That chart has real Krazam Microservices vibes to it.
134.
▲
by
nrclark
2y ago
If you were trying to convince a german to abandon old/bad process, what would be a convincing / resonant counter-statement?
135.
▲
by
nrclark
2y ago
it's worth noting: meat production is only resource-intensive because of the amount that we produce. In smaller quantities, cows / sheep / goats can graze on land that isn't useful for anything else. Pigs and chickens ca
136.
▲
by
nrclark
2y ago
The nice thing about my approach is that pip-tools is only needed when modifying your requirements, and it also lives in a separate venv/requirements.txt from the dependencies you actually care about. So yes: you need those dependencie
137.
▲
by
nrclark
2y ago
I ship a lot of Python in a CI/CD or devops context, and also deploy it to embedded targets. I've never needed anything more than pip, a venv, and pip-tools (to provide pip-compile). Venvs are treated as disposable. The basic work
138.
▲
by
nrclark
2y ago
Is there any good way to make some Bazel targets hermetic, and some non-hermetic? I'd love to be able to set my build up with something kind of like: 1. Non-isolated Bazel target that produces a container image. 2. All other
139.
▲
by
nrclark
2y ago
One other hidden Bazel trap that I've seen is for companies to migrate a large codebase to Bazel, but then to rely on OS-provided tools and libraries. Commonly, this gets paired with a glib answer like "it's fine, we build fr
140.
▲
by
nrclark
2y ago
Can you point me at some more detailed rules that support your assertion? Not trying to argue - I’m actually interested to read more details on that.
141.
▲
by
nrclark
2y ago
QNX really needs to modernize if they want to survive. Their tooling ecosystem is stuck in 2008, and their kernel's performance is pretty low. IIRC, the kernel itself is also single-threaded, and can't take advantage of multiple C
142.
▲
by
nrclark
2y ago
For the curious - it looks like this uses the Allwinner F1C100S, which is a 533MHz single-core ARMv7 with 32MB of onboard DRAM. What other parts are out there that are similar to this? It would be fun to play with one that has a little more
143.
▲
by
nrclark
2y ago
Iterm2’s remote tmux integration is a killer feature for me. Gives you a native, normal “windows and tabs” kind of feel, but for a remote connection. You can also disconnect/reconnect without losing your windows and tabs. You don’t nee
144.
▲
by
nrclark
2y ago
this kind: https://tron.fandom.com/wiki/Gridbug
145.
▲
by
nrclark
2y ago
as a side note: pickup is also better for the restaurant, because they don't have to pay a cut to the delivery service. If you like your local restaurants and want to support them, order pickup instead of delivery.
146.
▲
by
nrclark
2y ago
HN is not the right forum for sports-team red vs blue politics, and that kind of mentality is not good for our nation as a whole. We are all one nation.
147.
▲
by
nrclark
2y ago
TL;DR: the little arrow that represents your car on Google Maps is descended from Space Wars.
148.
▲
by
nrclark
2y ago
lol that's fair enough. This is a tangent and unrelated to Make - but I also find myself in that situation pretty frequently, since I do a lot of embedded systems and some CI/CD work. If you find yourself in that situation freque
149.
▲
by
nrclark
2y ago
> I think this post is well intentioned but misses the point entirely. > > GOOS=darwin GOARCH=arm64 go build -ldflags="-X 'main.Version=v1.2.3'" > > Executing this with variables for os/arch
150.
▲
by
nrclark
2y ago
Targets don't need to produce files in Make (see: your examples of 'all' and 'clean'). And non-file targets can depend on other non-file targets. Make does this out of the box, by default. But if you ever get to a p
More ›