Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
LukeShu
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
19 ms
·
211.
▲
by
LukeShu
4y ago
> Having write already implies that you have read Yes, but if it's just being implied then it won't list "READ" separately in the "permissionSources", it will just list "WRITE".
212.
▲
by
LukeShu
4y ago
IME, the problem with the GraphQL API is that it does a poor job of indicating where permissions came from, and you have to fall back to bad heuristics. For example, if team="company" has "READ", and team="company
213.
▲
by
LukeShu
4y ago
> I've not heard of Go maps being very high load factors, so they probably resize around 50% or so full. Go uses a load factor of 6.5 (expressed as average load of a bucket; where buckets have a maximum load of 8; i.e. 81% full) (re
214.
▲
by
LukeShu
4y ago
OSS is necessary, but (as you point out) not sufficient.
215.
▲
by
LukeShu
4y ago
It annoys me to no end that TESS links aren't sharable. But if you click the "TSDR" button, it will take you to an equivalent TSDR page for which the link is sharable: (It seems Twitter actually has the "tweet"® tr
216.
▲
by
LukeShu
4y ago
For a long time reStructuredText was "the Python thing", the way POD is "the Perl thing", where it's the "only" choice in that ecosystem, but you didn't really see it outside of that ecosystem. But n
217.
▲
by
LukeShu
4y ago
I had been under the impression that LWN does archive the entire ML; but it seems that I was mistaken and that you are correct.
218.
▲
by
LukeShu
4y ago
> > .WAIT > What's a use case for this? Is the idea that you can use it for explicitly sequencing build order of dependencies, without making them actually dependent on each other? Why would you want that? A use-case that I&#x
219.
▲
by
LukeShu
4y ago
They're both just mailing list archives; and HN has never really preferred one archive over another; even one when is "first party". Heck, most LKML posts get posted as lkml.iu.edu or lwn.net; rather than lore.kernel.org or l
220.
▲
by
LukeShu
4y ago
3.82 was a pretty big change, it should have been called "4.0" (and they realized their mistake--the very next release was 4.0). In particular, 3.82 changed how precedence between pattern rules works.
221.
▲
by
LukeShu
4y ago
FWIW, I didn't interpret the parent post as a dismissal.
222.
▲
by
LukeShu
4y ago
HN truncates URLs for display, and it looks like you copied the truncated version from your original post. fixed link: https://www.elitedaily.com/p/googles-burger-emoji-shows-chee...
223.
▲
by
LukeShu
4y ago
OpenRC's great! But it doesn't detract from the point that systemd isn't nearly as complicated as some people act like it is. PS: Who's still using OpenRC with heavy ol' sysvinit instead of the lighter openrc-init?
224.
▲
by
LukeShu
4y ago
> It shouldn't be this hard to stop a service gracefully. It's not. > you just need to drop a script into /etc/init.d symlink it from the appropriate rc directories. You just need to drop a unit file into /etc
225.
▲
by
LukeShu
4y ago
It's the default for Go; with Go you have to explicitly turn on the debug features that you want.
226.
▲
by
LukeShu
4y ago
I'd phrase that as "release mode by default", not "always in release mode". There are various debug things you can turn on, such as the race detector, the memory sanitizer, or coverage tracking.
227.
▲
by
LukeShu
4y ago
Or `fallocate` if you care about the space actually being allocated on disk (rather than the file being sparse).
228.
▲
by
LukeShu
4y ago
I believe the way it goes is that USR1 kills BSD dd. The Linux kernel doesn't have SIGINFO. GNU dd uses SIGINFO on platforms that have it, or SIGUSR1 otherwise. The default action for SIGUSR1 is to kill the process. So it makes sens
229.
▲
by
LukeShu
4y ago
Going through the historical versions (copying from my other comment): - >=9.1 (2022-04-15) : Use the `copy_file_range()` syscall and let the kernel figure it out - >=8.23 (2014-07-18) : max(128KiB, st_blksize(infile), st_blksize(outf
230.
▲
by
LukeShu
4y ago
> In that case I guess dd does call a sync() on every output block? Only if you tell `dd` `oflag=sync` or `oflag=dsync`.
231.
▲
by
LukeShu
4y ago
Ah, I misunderstood you. You're correct, `dd`'s default block size was and is 512, which is specified by POSIX. I interpreted "the command" in the original article as "the command you end up running, whether it be
232.
▲
by
LukeShu
4y ago
> though I would guess the shell redirect might have. As that's really the thing doing the work there, not cat. No? The shell redirection is just int tmp_fd = open("/dev/sdb", O_WRONLY|O_TRUNC, 0666);
233.
▲
by
LukeShu
4y ago
Right, and the parent comment is saying that `cat` doesn't figure it out very well. I recall that GNU cat used a constant value that was tuned for read performance on common hard drives, giving no consideration to write performance.
234.
▲
by
LukeShu
4y ago
It's for one server/IP serving multiple hostnames. For instance, the same physical server at 45.76.26.79 serves both www.lukeshu.com and git.lukeshu.com with the same instance of Nginx. Once Nginx decrypts the request, it needs
235.
▲
by
LukeShu
4y ago
Indeed, it was originally published December of 1999; it would seem that 2012 is when it was imported in to Git. https://www.shacknews.com/article/3555/quake-source-released https://techreport.com/
236.
▲
by
LukeShu
4y ago
What? 4 years to get from "I think I'm going to rethink the entire GNU/Linux graphics stack" to "usable" is amazing, especially if you consider the GPU-drivers work that was involved. And to be clear: A big
237.
▲
by
LukeShu
4y ago
> Like, according to the linked article, the standard is out there since 2008 - so the adoption period is already 14 years! 2008 is when the project started . In 2012 it was sorta-usable as a new weird experimental thing, but it was ab
238.
▲
by
LukeShu
4y ago
As someone who was a highschooler 2008-2012 who built their own simple PHP apps for things: Script kiddies of the time definitely were scanning for arbitrary forms. Not necessarily trying to exploit the code, but just anything that would al
239.
▲
by
LukeShu
4y ago
(Also on Firefox on Linux) I can't begin fathom how that could happen. It's not some fancy JS thing, it's a very simple CSS effect: a:hover { filter: opacity(0.5) !important; } .post a { ba
240.
▲
by
LukeShu
4y ago
AFAICT, there's not a way to get those nice hover effects with a <map>, at least not without a bunch of JS.
More ›