Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
wahern
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
74 ms
·
931.
▲
by
wahern
3y ago
Everything about io_uring has screamed security nightmare from day 1--the amount of kernel attack surface it opens up, the fact it put little thought into how it interacted with process and privilege boundaries and related overarching model
932.
▲
by
wahern
3y ago
> > malloc(sizeof(Entry) + strlen(key)); > Don't forget +1 for the terminator. Also should check for arithmetic overflow, or at least static_assert that sizeof(Entry) is "too small" to matter. (Hopefully the process
933.
▲
by
wahern
3y ago
How does China's Yuan Longping ( https://en.wikipedia.org/wiki/Yuan_Longping ) stack up against Borlaug, in your opinion?
934.
▲
by
wahern
3y ago
This doesn't answer the question, but FWIW the earliest reference I could find to setlocale or related is from a 1986 journal article, Programmer's Journal, Volume 4, page 45: > In order to preserve the existing, large body of
935.
▲
by
wahern
3y ago
The OpenBSD man pages say that isspace, et al come from Version 7 Unix, which was released in 1979. The C89 rationale seems to suggest that they copied this pre-existing API. Rationle section 4.3 says[1], > Pains were taken to eliminate
936.
▲
by
wahern
3y ago
The fact that Unicode codepoints were being passed to isspace instead of iswspace indicates the relevant code was already fubar'd. > For example, isspace(0x01fe) is true. I can't figure out why this might be considered a whites
937.
▲
by
wahern
3y ago
It uses native GUI widgets. Some of those screenshots are ancient. But also it only binds a least common denominator subset of widgets, so applications will lack many of the niche widgets and layouts that platform-native applications often
938.
▲
by
wahern
3y ago
IUP uses native GUI widgets and has been around for decades as is evident by those screenshots, some of which clearly were taken on some rather old versions of Windows.
939.
▲
KeyMux – Secure key enclave integration tool
(keymux.com)
1 points
by
wahern
3y ago
|
0 comments
940.
▲
by
wahern
3y ago
The bootstrap seed, https://github.com/oriansj/bootstrap-seeds/blob/master/POSIX... , is a tiny interpreter that takes a much larger program written in a special-purpose, bytecode-based language. This pro
941.
▲
by
wahern
3y ago
> In other words: the author's assumption that a C compiler won't optimize `add_twice` in the same way that Rust will is not a guarantee, and assuming that it won't is relying on unspecified behavior. In C, objects of the
942.
▲
by
wahern
3y ago
The prosaic version of Lenin's vanguardism. I also like to remind myself that those groups aren't fixed--at any moment the composition of the 5% can be different, and any particular person can often be placed in different groups a
943.
▲
by
wahern
3y ago
I dunno about 10 minutes, but in my very limited experience it's easier to crank the heat up when you have several pounds of onions. Otherwise, if you're just carmelizing one onion, stirring doesn't really allow you to tempor
944.
▲
by
wahern
3y ago
Perhaps part of the calming effect was being alone with Bob Ross. Adding human characters to the scene might invite people to project their stressful relationships or lack of relationships. Not quite the same thing, but I do have vague me
945.
▲
by
wahern
3y ago
The debate was between two rationalist schools of Sunni Islamic philosophy, Ash'arism ( https://en.wikipedia.org/wiki/Ash%27arism ) and Mu'tazilism ( https://en.wikipedia.org/wiki/Mu%27tazil
946.
▲
by
wahern
3y ago
The Arab dynasties during the Golden Age were multicultural; that's part of what made them so successful. But Islam in the Middle East had already turned away from natural philosophy before the Mongols, in a resolution to a religious
947.
▲
by
wahern
3y ago
Use revision control and frequently commit your work, preferably along with comments describing your thinking process. In law school I used Git as that's what I was familiar with and it made it easy to backup my work (git push), but I
948.
▲
by
wahern
3y ago
Worse, a socket read can return a UDP packet from any client as QUIC associates connections using 64-bit identifiers in the UDP payload, not using IP/port pairs. Ditto for the fact there can be multiple logical streams per connection.
949.
▲
by
wahern
3y ago
Ah. TIL male African elephants must have tusks to be viable, but male Asian elephants can be tuskless, and in some regions up to 90% of male Asian elephants can be tuskless (per https://nationalzoo.si.edu/animals/asian-
950.
▲
by
wahern
3y ago
I think the numbers went from 15% to 33%, with 91 being the number of female elephants in the sample group. https://www.smithsonianmag.com/smart-news/female-elephants-a... Per that article, tuskless male elephants don&
951.
▲
by
wahern
3y ago
> How are there more Roff projects on GitHub than there are projects in Julia or Haskell or Perl? Presuming it encompasses nroff and troff, manual pages and other documentation, combined with forking of such projects? Even Perl has a rof
952.
▲
by
wahern
3y ago
Generally speaking, you also need some sort of an operating system to make use of HTTP, and yet that doesn't figure into the complexity of HTTP. In classic HTTP TLS was layered beneath it, providing important degrees of freedom, includ
953.
▲
by
wahern
3y ago
> Yes, the barcade business model works. Does Dave & Busters fit into this category, or would you say they have the wrong focus? I've never been to a Dave & Busters, but they're a fairly large chain that long-preceded t
954.
▲
by
wahern
3y ago
I think that line is a riff on "there are four kinds of countries: developed countries, underdeveloped countries, Japan, and Argentina", attributed to the famous economist Simon Kuznets. See, e.g., https://slate.com
955.
▲
by
wahern
3y ago
I didn't say the left are the real racists. Racism comes in many shapes and forms, some more obvious than others. (FWIW, I grew up one town away from an infamous "sundown town", where people didn't feel the need to use d
956.
▲
by
wahern
3y ago
> The tendency to valorize Native Americans as somehow above material trends, not prone to waste, etc. etc. is a cultural invention of the latter 20th century and the counterculture movement. Perceiving peoples living outside industriali
957.
▲
by
wahern
3y ago
> Er, a much better approach is to allow unnormalized Unicode in source code and use form-insensitive matching of symbol names so that all forms of a symbol are equivalent. Linkers will often be blissfully unaware of Unicode or any form
958.
▲
by
wahern
3y ago
In most cases the reference is hidden in the context of a lexical closure. And arguably it's not about unexpected mutability, but the context of mutability. Nobody is expecting `i' to be immutable, but in the context of a for loop
959.
▲
by
wahern
3y ago
Which part did abvaw not understand?
960.
▲
by
wahern
3y ago
And on a company laptop with automagic backups to the cloud of your home directory, what's secure? At a previous company I disabled persistent shell history, and lost count of the number of times this prevented a sensitive password or
More ›