Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
kccqzy
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
34 ms
·
931.
▲
by
kccqzy
11mo ago
I hate this kind of management culture that misuses story points. Story points are supposed to take into account difficulty. So if you spend an entire week debugging a difficult bug, you should’ve accumulated about the same amount of story
932.
▲
by
kccqzy
11mo ago
I will personally recommend that unless you are writing performance sensitive code*, don’t use mutexes at all because they are too low-level an abstraction. Use MPSC queues for example, or something like RCU. I find these abstractions much
933.
▲
by
kccqzy
11mo ago
I’m actually thinking of the sheer size of pthread mutexes. They are giant. The issue says that they wanted something small, efficient, and const constructible. Pthread mutexes are too large for most applications doing fine-grained locking.
934.
▲
by
kccqzy
11mo ago
There was a giant super-long GitHub issue about improving Rust std mutexes a few years back. Prior to that issue Rust was using something much worse, pthread_mutex_t. It explained the main reason why the standard library could not just adop
935.
▲
by
kccqzy
11mo ago
You mean Finder. Well Finder hides all files beginning with a dot by default. And in a Terminal the `ls` command also hides all such files by default, which is a behavior mandated by POSIX.
936.
▲
by
kccqzy
1y ago
R142A is simply the name of a type of subway car. The NYCT identifies the car by contract number which is increasing (bigger number means more recent). The latest is R211 in three variants (R211T, R211S, R211A).
937.
▲
by
kccqzy
1y ago
It’s not obvious if you are only using macOS, because macOS hides all of these extra files it creates. It’s only obvious if you use Windows or Linux. But of courses the chances of a typical macOS user also using Windows or Linux is very low
938.
▲
by
kccqzy
1y ago
AirDrop sometimes just doesn’t work and gives you zero tools to debug why. In my experience airdrop between phones seem to work fine (probably helped by UWB), but involving Macs makes it an unreliable mess. Staring at the “there is no one n
939.
▲
by
kccqzy
1y ago
When you create a ZIP, the extended attributes are saved to separate files. When you copy them to a FAT filesystem they are also saved to separate files.
940.
▲
by
kccqzy
1y ago
Not just phones, the Mac as well. So it’s not like Apple doesn’t know about this feature of Bluetooth. They just chose not to do it on the iPhone.
941.
▲
by
kccqzy
1y ago
> Airlines don’t collect most passenger information — travel agents do. Most passengers never deal with the airline until they check in for their flight at the airport. And standard travel agency procedures make them function, in practic
942.
▲
by
kccqzy
1y ago
If you are looking for real-world code for an effect system, not just a PDF paper, you should probably look at the eff library: https://github.com/hasura/eff The acknowledgement section on that GitHub README mentions t
943.
▲
by
kccqzy
1y ago
I would do the same. But the reason for that is because I’m terrible at drawing and digital art, so I would need some help with the graphics in an infographics anyways. I don’t really need help with writing text or typesetting the text. I f
944.
▲
by
kccqzy
1y ago
In my experience some of the best courses in my college are taught not by “professors” but by “lecturers.” The distinction is that professors need to do research and teach, so they necessarily have divided focus. But lecturers only have tea
945.
▲
by
kccqzy
1y ago
The iOS camera format control is one of the most confusing UIs in iOS. It first asks you to select between high efficiency and most compatible (HEIF vs JPEG). Then it asks you whether you want ProRAW. Then under ProRAW it asks whether you w
946.
▲
by
kccqzy
1y ago
I think Apple still has aspirations to include professional-level photography in their OS so a photographer could do advanced RAW edits with just the OS. The article says: > photographers can take full advantage of Apple’s fantastic RAW
947.
▲
by
kccqzy
1y ago
I think I am having some misunderstanding about exactly how this cost control works. Suppose that a company in the transportation industry needs 100 CPUs worth of resources most of the day and 10,000 CPUs worth of resources during morning&#
948.
▲
by
kccqzy
1y ago
Reserving the cost until the end of the billing cycle is super unfriendly for spiky traffic and spiky resource usage. And yet one of the main selling points of the cloud is elasticity of resources. If your load is fixed, you wouldn’t even u
949.
▲
by
kccqzy
1y ago
If you can’t understand the implications of this and need to ask “so what” just go read what Stallman and FSF say on this.
950.
▲
by
kccqzy
1y ago
GP completely misunderstands “parse, don’t validate” and also calls it an anti-pattern. GP clearly has no idea what this is.
951.
▲
by
kccqzy
1y ago
Yes, madness. VS Code wasn’t developed entirely by Microsoft. It uses plenty of other open source libraries. Why is it that VS Code should be acknowledged but not the underlying V8 engine, or Chromium, or WebKit or KHTML? Stallman said that
952.
▲
by
kccqzy
1y ago
Why credit? Come on, the world has moved on from 1990s-era 4-clause BSD licenses. If you recall, the 4-clause BSD license states that all advertising materials must display an acknowledgement. It’s widely considered to be a mistake and nobo
953.
▲
by
kccqzy
1y ago
Balance is too weak of a word. OpenAI was conceived specifically to prevent Google from getting AGI first. That was its original goal. At the time of its founding Google was the undisputed leader of AI anywhere in the world. Musk was then
954.
▲
by
kccqzy
1y ago
It’s not a sufficient improvement over JSON for it to be worthwhile. The configuration languages that are truly worthwhile are the ones that the author deride as being too similar to programming languages, like Jsonnet, Starlark, CUE, and D
955.
▲
by
kccqzy
1y ago
XML has a DOM API. And most people use JavaScript in a browser to manipulate the DOM. So I would say among all the language it should be the JavaScript devs that are the most proficient at the DOM API. Once you have learned the DOM API, it’
956.
▲
by
kccqzy
1y ago
Just some opinions with no serious arguments. Okay XML is in the past but so what? There are still use cases for it. And Pkl/CUE/Dhall/Starlark looking like full-blown programming languages is a feature, but being deliberatel
957.
▲
by
kccqzy
1y ago
The feature itself is probably still __attribute__((cleanup(f))). That’s documented at https://gcc.gnu.org/onlinedocs/gcc/Common-Variable-Attribute...
958.
▲
by
kccqzy
1y ago
The MRO fix was added to Python 2.3. The new style classes that would cause diamond inheritance to be prevalent were already present in Python 2.2. So they weren’t simultaneous. A better phrasing would be that Guido predicted the prevalen
959.
▲
by
kccqzy
1y ago
Diamond inheritance is in fact highly pervasive in Python. The reason is that every class is a subclass of object since Python 3 (Python 2 allows classic classes that are different). So every single time you use multiple inheritance you h
960.
▲
by
kccqzy
1y ago
Oh I've seen one team constructing an object while skipping the constructor for a class owned by another team. The second team responded by rewriting the class in C. It turns out you cannot call `object.__new__` if the class is written
More ›