Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
duskwuff
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
35 ms
·
781.
▲
by
duskwuff
1y ago
That being said: FSKit is a userspace API. In that respect, it's a lot better than filesystem code running in the kernel - it can't crash your computer or corrupt data on other filesystems, and it's much more tightly sandboxe
782.
▲
by
duskwuff
1y ago
Not this kind of disk image. ASIF is a read-write disk image; an OS update would be distributed in a read-only image (if it is indeed a disk image).
783.
▲
by
duskwuff
1y ago
A filesystem is not a file. (Yes, you can store a filesystem in a file - and that's a trivial sort of disk image, but one with some serious drawbacks like "you have to allocate all of the space up front". We can do better.)
784.
▲
by
duskwuff
1y ago
Is it actually supported and usable now? I seem to recall it spending a lot of time in a "half-documented and not actually available" state.
785.
▲
by
duskwuff
1y ago
No. Disk images aren't involved in the OS update process.
786.
▲
by
duskwuff
1y ago
This set of symbols has some interesting properties which allow for this solution: func symbolHash(c byte) byte { x := (c - 1) >> 5 y := int(c) + 0x1b150000>>(x<<3) return byte(y & 31)
787.
▲
by
duskwuff
1y ago
> The cache line with the counter would, of course, still ping-pong as it's mutated, but not excessively. And the way you solve this is by using a separate counter for each core, at least a cache line apart from each other to ensure
788.
▲
by
duskwuff
1y ago
> D3 doesn’t get reset because it’s guaranteed to be 0 at the beginning of each scanline There's no such guarantee. The NEXTHOR loop only inverts for points which are to the absolute left of the point being tested ("IS HORIZ &l
789.
▲
by
duskwuff
1y ago
Funny, I was just discussing this on HN a few days ago: https://news.ycombinator.com/item?id=44185892 There's a lot of questions about the nutritional content of food which you can't answer just by looking at a ph
790.
▲
by
duskwuff
1y ago
There are limits on how much traffic can pass in and out of the boundaries of an eruv. I suspect that's why it avoids high-traffic areas like Times Square, as well as the area around Turtle Bay.
791.
▲
by
duskwuff
1y ago
It's a bit more than that. The list of X coordinates is cumulative - once an X coordinate has been marked as an inversion, it continues to be treated as an inversion on all Y coordinates below that, not just until the next Y coordinate
792.
▲
by
duskwuff
1y ago
> But how was the region implemented? The source code describes it as "an unpacked array of sorted inversion points". If you can read 68k assembly, here's the implementation of PtInRgn: https://github.com/h
793.
▲
by
duskwuff
1y ago
Scroll-linked effects are the new carousels.
794.
▲
by
duskwuff
1y ago
Those who were there will remember: on openbackground --merryxmas merryxmas "on openbackground --merryxmas" end openbackground (And now I'm curious if this post will trip anyone's antivirus software...)
795.
▲
by
duskwuff
1y ago
Caddies were fairly common in early CD-ROM drives. Tray-loading (and, even later, slot-loading) drives were a later development. One theory I've seen is that caddies were developed in part to protect valuable data CDs from accidental d
796.
▲
by
duskwuff
1y ago
That's not quite how I read the story. Jobs didn't ask Atkinson if he remembered regions - Atkinson brought it up.
797.
▲
by
duskwuff
1y ago
The QuickDraw source code refers to the contents of the Region structure as an "unpacked array of sorted inversion points". It's a little short on details, but you can sort of get a sense of how it works by looking at the imp
798.
▲
by
duskwuff
1y ago
Honestly, I can understand the decision. "Jihad" is technically the correct term, but it carries so many negative connotations in the West that using it would be a distraction.
799.
▲
by
duskwuff
1y ago
Here's the story - https://folklore.org/MacPaint_Evolution.html
800.
▲
by
duskwuff
1y ago
I am suddenly reminded of the fact that the most recent movie adaptation of Dune used the word "crusade" for what the book consistently, unflinchingly called a "jihad". https://www.aljazeera.com/opinion
801.
▲
by
duskwuff
1y ago
> Yup that's trivially easy if you have permissions to use mknod and mount. Docker containers don't have mount permissions by default.
802.
▲
by
duskwuff
1y ago
The answer to that question is "probably not". First: the image recognition model is unlikely to have seen very many depth maps. Seeing one alongside a photo probably won't help it recognize the image any better. Second: even
803.
▲
by
duskwuff
1y ago
Quite frankly, this isn't even that large. There are entire books about topics like JNI (Java <-> C) or Swig (Python <-> C); this page is fairly short given the broad scope of Swift's C++ integration.
804.
▲
by
duskwuff
1y ago
> Can you define "local network"? Sure - a destination is "local" if your machine has a route to that IP which isn't via a gateway. If your network is large enough that it consists of multiple routed network segm
805.
▲
by
duskwuff
1y ago
Or probing your local network for vulnerable HTTP servers, like insecure routers or web cameras. localhost is just the tip of the iceberg.
806.
▲
by
duskwuff
1y ago
> A good oscilloscope is stupid expensive They're not that bad. You can get a good entry-level oscilloscope from a company like Rigol or Siglent for ~$300.
807.
▲
by
duskwuff
1y ago
> - this only applies to task-focused jobs; e.g. the service industry still needs people to work all the time customers might turn up This is a problem which service industry jobs have already solved by scheduling employees in shifts. A
808.
▲
by
duskwuff
1y ago
The user you're replying to isn't the author.
809.
▲
by
duskwuff
1y ago
Re. brands: A bunch of the names on this list are literally just brand names, not manufacturers. Figuring out the actual manufacturers could be interesting - this can be accomplished either by querying the cards, or by physically inspecting
810.
▲
by
duskwuff
1y ago
Or wildly misinterpreting a source. A few months ago, I saw an especially egregious example where, when asked for the maximum current capacity of a 22 AWG copper wire, Google's AI responded confidently with "551 amps". The co
More ›