Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
LukeShu
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
83 ms
·
751.
▲
by
LukeShu
8y ago
I've been very happy having switched from gometalinter to golangci-lint: https://github.com/golangci/golangci-lint
752.
▲
by
LukeShu
8y ago
I've had 2 coworkers who use different IDEs report that apparently their IDE is running `go` commands in parallel, because they'll get the corrupted module caches.
753.
▲
by
LukeShu
8y ago
Nvidia provides good support for CUDA on Linux, but not good support for graphics on Linux. You recognize this, and use a different brand GPU for graphics. The Nvidia users that Sir_Cmpwn is frustrated with are those that think that the s
754.
▲
by
LukeShu
8y ago
That's an unfair comment on 2 counts. Firstly, it's refuting a different point than the one I was making. If the problem were "it's too difficult to determine if hardware is compatible with the distro I want to use,&quo
755.
▲
by
LukeShu
8y ago
I have distinct memories of people buying PC hardware specifically because it came with a "compatible with Windows Vista" sticker, and they were thinking of switching. I didn't read any "holier-than-thou" sentiment
756.
▲
by
LukeShu
8y ago
In general, users of $foo have no problem researching their hardware purchases to make sure that they are compatible with $foo. ...unless foo=FOSS. When buying a printer, many users have no problem researching the printer to make sure it
757.
▲
by
LukeShu
8y ago
- HTTP/1 is "1 HTTP stream over 1 TCP-ish L4 connection" (TLS-over-TCP is a TCP-ish L4 connection) - HTTP/2 is "multiple HTTP streams multiplexed over 1 TCP-ish L4 connection" - HTTP/3 is "HTTP over Q
758.
▲
by
LukeShu
8y ago
The Linux kernel itself will use the serial console by default if there's no VGA device: If no console device is specified, the first device found capable of acting as a system console will be used. At this time, the system
759.
▲
by
LukeShu
8y ago
I don't think the FSF is currently selling physical copies of the Make manual.
760.
▲
by
LukeShu
8y ago
For context: Firefox 64 removed `browser.showQuitWarning`, which would show a dialog asking "cancel"/"save session"/"discard session" when you quit.
761.
▲
by
LukeShu
8y ago
I usually agree with that. The projects I was referring to are either Go (where the norm is to check in code-gen'ed files, so that things are `go get`able), or static websites (where every commit will get rolled out as soon as you pus
762.
▲
by
LukeShu
8y ago
A workflow in a few projects I work with: Have a "develop" branch that does not contain any generated files, and a "master" branch that does. Have a post-commit hook that uses a worktree pull every commit from "dev
763.
▲
by
LukeShu
8y ago
How fast the system makes updates has nothing to do with it. Premise: The current state is "foo". Alice would like to change the state to "bar". Bob would like to change the state to "baz". Alice and Bob are
764.
▲
by
LukeShu
8y ago
gtk.org, the active and current homepage of GTK+, says right there on the homepage: > GTK+ is free software and part of the GNU Project. GTK+ development does take place on gitlab.gnome.org, but it is still part of GNU (unlike the rest
765.
▲
by
LukeShu
8y ago
GTK+ is a GNU project.
766.
▲
by
LukeShu
8y ago
Linux is the kernel. The rest of it is... not Linux. It's almost like RMS had a point with the rant that he gets mocked for.
767.
▲
by
LukeShu
8y ago
Yes, I said that.
768.
▲
by
LukeShu
8y ago
> "It was 4G that gave us the smartphone." The iPhone was released in June 2007, more than 3 years before the first LTE phone was released in November 2010. The iPhone wasn't the first smartphone, but it did kick off th
769.
▲
by
LukeShu
8y ago
That's the in-page <h1>-title, the HN title is taken from the page's <title>-title, which is different. <title>Ford: We're going to make F-Series all-electric</title> <h1>'We're go
770.
▲
by
LukeShu
8y ago
I agree with sjburt when he says "I think once you understand the graph, then looking at what the graph looks like and what you want it to look like usually leads you to being able to figure out what operation you want." When I w
771.
▲
by
LukeShu
8y ago
> I looked over digital ocean and they say they are working on kubernetes FYI, Digital Ocean Kubernetes opened to everyone on December 11th.
772.
▲
by
LukeShu
8y ago
Why? The {} doesn't prevent glob expansion or field separation.
773.
▲
by
LukeShu
8y ago
Do note that was my complaint with $0, that when using $PATH it was set to that full gross path. If /bin/foo is actually /nix/store/3508wrguwrgu3h5y9354rhfgw056y-foo-5.0/bin/foo, then when you run "
774.
▲
by
LukeShu
8y ago
Yes, that's what we've been stuck doing, because the full path included in $0 is useless if the program was run via $PATH.
775.
▲
by
LukeShu
8y ago
You're looking at the wrong file. Setting argv[0] doesn't update /proc/self/comm, it updates /proc/self/cmdline. demo.c: #include <unistd.h> #include <string.h> int mai
776.
▲
by
LukeShu
8y ago
The argv array (and the envp array) are in a page the kernel set up when it created the process, and the kernel holds on a reference to it, and remembers the addres of those arrays in the page. The kernel doesn't need to "watch&q
777.
▲
by
LukeShu
8y ago
Sure. But iOS doesn't have Bash (I don't think, even if it does: Then just ship GPLv2 Bash on iOS, and modern Bash on macOS where users might actually care). The GPLv3 of Bash doesn't infect the shared kernel or libraries b
778.
▲
by
LukeShu
8y ago
Sure, argv[0] is a just string, that the caller can set when they call execve(). That doesn't have mean that it doesn't have meaning. You are correct, there is no way to know how your executable was passed as the first argument
779.
▲
by
LukeShu
8y ago
That was kind of the idea of Unix. C was just a nicer from Assembly. You might write a performance-sensitive or low-level routine in C, much like you might drop to C when writing a Python library. But the high-level language of the syste
780.
▲
by
LukeShu
8y ago
> I don't think changing argv[0] in the current process will have any effect in the /proc file system. Yes it does. This is a standard trick for changing the process name at runtime, several daemons do this to change the pro
More ›