Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
dasyatidprime
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
10 ms
·
61.
▲
by
dasyatidprime
2y ago
This is interesting—my observations on Windows 10 (mostly with a layout arranged via MSKLC) have always been that it does some kind of QWERTY-on-Control thing which I'd actually like to turn off but never found out how to; my keyboar
62.
▲
by
dasyatidprime
2y ago
Among other things, avian brains have a higher density of neurons than mammalian ones! https://www.cell.com/current-biology/fulltext/S0960-9822%282... seems to be a primer on some of the differences.
63.
▲
by
dasyatidprime
2y ago
Not the parent commenter, but I've encountered “people from the counterparty organization get confused and wonder whether you're part of it too / pretending to be part of it too”. This can be mitigated with some obscuring tra
64.
▲
by
dasyatidprime
2y ago
And how does the caller extract those fields?
65.
▲
by
dasyatidprime
2y ago
> LuaJIT is really good software, it is hard to beat it as its own game. Pallene tries to get its edge elsewhere: it tracks Lua 5.4, whereas LuaJIT diverged around 5.1 and will stay that way forever. Last I saw (admittedly some years ago
66.
▲
by
dasyatidprime
2y ago
In binary floating point, 4.0 = 1.0×2^2, so the mantissa of the multiplicand will stay the same (being multiplied by 1.0) and the exponent will be incremented by 2. Scaling by exact integer powers of 2 preserves the relative accuracy of the
67.
▲
by
dasyatidprime
2y ago
UK English mostly treats unadorned “bracket” as referring to (), in fact, as opposed to US English which more often treats it as referring to [].
68.
▲
by
dasyatidprime
2y ago
I would like to half-seriously recommend that you overwrite a different character than the first when mangling the environment variable name. Specifically one beyond the third, so as to stay within the LD_ namespace (not yours exactly, bu
69.
▲
by
dasyatidprime
2y ago
The first part is true for ‘normal’ string literals, but there's suffixed string literals since I think C++17: "foo"sv is a std::string_view if you have operator""sv from std::string_view_literals visible.
70.
▲
by
dasyatidprime
2y ago
Yeah, I agree that the way that comes out is really awkward. The first line there is reporting the context from in the Task module (because task.ex includes it explicitly in the exit call), and then the second is reporting a strerror-like t
71.
▲
by
dasyatidprime
2y ago
Bletch, I had the wrong version of the documentation bookmarked—here's the revised relevant sentences from https://hexdocs.pm/elixir/1.16.2/Task.html#await/2 (my system has 1.16.2): > If the timeout i
72.
▲
by
dasyatidprime
2y ago
Task.await tries to exit the calling process when the timeout hits, but IEx traps the exit in that process, so it doesn't terminate and thus the linked task process doesn't either, I think? If I do all of this wrapped in another
73.
▲
by
dasyatidprime
2y ago
FWIW, in C++11, a class C can similarly cooperate to enable reconstructing a shared_ptr from a raw one by deriving from std::enable_shared_from_this<C>.
74.
▲
by
dasyatidprime
2y ago
What is “let mpre”?
75.
▲
by
dasyatidprime
2y ago
Do you not count LispWorks in this? I haven't had a chance to play with the commercial Lisps myself, but anecdotally it seems to still have some currency.
76.
▲
by
dasyatidprime
3y ago
Asking for “set language français” at the beginning of a session seems to vastly increase the chance of responses barrelling through the user's ‘turn’ and initiating various ‘commands’ on their own. I wonder whether that's causing
77.
▲
by
dasyatidprime
3y ago
I agree; I meant “including” in the non-restrictive sense, not “including only”. Stack allocation is a special case where the lifetimes are arranged in a convenient way—see also escape analysis in languages where stack allocation isn't
78.
▲
by
dasyatidprime
3y ago
I have to wonder whether some of this is semantic drift over time or context. My recollection since undergrad (a few decades ago) involves treating “garbage collection” as referring to tracing garbage collection, and “reference counting” as
79.
▲
by
dasyatidprime
3y ago
Seems like a good time to mention that (despite anecdotal lack of enforcement) GitHub's terms of service continue to officially forbid having more than one free account for manual use. https://docs.github.com/en/si
80.
▲
by
dasyatidprime
3y ago
I do observe it applying to video games in many circles. This is more true for social (cooperative or competitive) games and in game-adjacent social contexts like Twitch streaming, but it's also applicable to recognizing references and
81.
▲
by
dasyatidprime
3y ago
You mean VNC?
82.
▲
by
dasyatidprime
3y ago
Where are you getting this? My memory is the exact opposite: XMPP targeted one-to-one messages first and then MUC was a sort of weird bolt-on.
83.
▲
by
dasyatidprime
3y ago
Not the OP, but I have a similar desire, not because I make lots of progress, but mostly because progress comes from many different directions, and then in some ways because I make little enough progress at a given time, between other t
84.
▲
by
dasyatidprime
3y ago
The usual way to generate an exit status for a signal that normally terminates the process is to explicitly unset the handler and then raise the signal yourself. In C, the latter half of that can be done with the ‘raise’ function; on (at le
85.
▲
by
dasyatidprime
3y ago
Exactly equidistant, in fact. 5×2 = 10 ∴ log(5) + log(2) = log(10) ∴ 0.5log(10) − log(2) = log(5) − 0.5log(10).
86.
▲
by
dasyatidprime
3y ago
Light correction: hexl-mode is the hex editor proper. hexlify-buffer called by itself just does a transformation to a side-by-side hex/chars view; it doesn't set up for hex-editor navigation or transforming back to binary on save
87.
▲
by
dasyatidprime
3y ago
The results don't exactly match your description, but a cloud-run self in which multiple plans are available and in which the implications of copyright enforcement and advertising-supported options figure prominently was depicted in th
88.
▲
by
dasyatidprime
3y ago
“overlooks” doesn't seem right to me. He states within the first few paragraphs: > It's obviously true that the returns for performance are superlinear in business. Some think this is a flaw of capitalism, and that if we change
89.
▲
by
dasyatidprime
3y ago
The latter and definitely not the former, in my case. As far as I can tell from internal experience, my automatic procedural memory of where to reach for a character, function, or string transforms along with the layout I currently have it
90.
▲
by
dasyatidprime
3y ago
That's the same thing I was getting at, yes. When I said “KEY_Q in the header file”, I was referring to the #define that attaches it to a number (edit to clarify: in linux/input-event-codes.h, specifically, which seems most likely
More ›