Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
MathMonkeyMan
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
4 ms
·
31.
▲
by
MathMonkeyMan
2mo ago
This is a harder problem than it seems. I've been thinking and reading about it for a side project, but haven't done much testing yet. There are a few places to get the current time: - on-board real-time clock (RTC) connected to a
32.
▲
by
MathMonkeyMan
2mo ago
Yep: https://vimdoc.sourceforge.net/htmldoc/digraph.html I started using them a long time ago to type Greek characters, but then I switched to vscode with a vim extension and it didn't support that keybinding so I
33.
▲
by
MathMonkeyMan
3mo ago
It does have the title going for it.
34.
▲
by
MathMonkeyMan
3mo ago
I shut my computers all the way down when I'm done with them. I like a clean slate when I return.
35.
▲
by
MathMonkeyMan
3mo ago
Is there a difference, though? "You think you know so much because you read a book, but I actually lived it so I really understand it." At best you understand your own experience, and I wouldn't even make that claim about mos
36.
▲
by
MathMonkeyMan
3mo ago
I've always been a stickler for being specific about which regex language your thing accepts, and whether it is to match any substring, or a prefix, or a suffix, or the whole thing, or a line, or a substring of a line, or whatever. Her
37.
▲
by
MathMonkeyMan
3mo ago
more like over 88.1
38.
▲
by
MathMonkeyMan
3mo ago
The median age in America is about 40, so depending on how you define old the majority could go one way or the other.
39.
▲
by
MathMonkeyMan
3mo ago
I switched out asio's epoll backend for its io_uring in a database server and CPU utilization shot up. Probably depends on usage and the specifics of how it's integrated into the event code.
40.
▲
by
MathMonkeyMan
4mo ago
Patients don't care about all of that medical mumbo jumbo, they just want to feel well.
41.
▲
by
MathMonkeyMan
4mo ago
Yep, I use this for a @reboot job and a few regular jobs on my home server. I use user crontabs, so I can get around the "unknown shell/path/etc." by prefixing every job with /some/shell -l myjob.sh or
42.
▲
by
MathMonkeyMan
4mo ago
I haven't studied history or political science, but I suspect that a bunch of cooperating individual local municipalities can as easily lead to war as to federalism. The Federalist Papers talk a lot about factionalism versus tyranny. O
43.
▲
by
MathMonkeyMan
4mo ago
I think it might have been a cognitive development thing, but at some point in high school, Stroustrup's "The C++ Programming Language" just kinda clicked for me, like I hadn't been reading it properly before.
44.
▲
by
MathMonkeyMan
4mo ago
You got downvoted, but you're correct. Obligatory XKCD: < https://xkcd.com/927/ > Personally I prefer lisp 1 languages, like scheme. Even there, though, there was a split over r6rs, so we got a bunch of mostly
45.
▲
by
MathMonkeyMan
5mo ago
Seeing what came later with gauge theories and more speculative stuff like loop quantum gravity, you can't blame Einstein for thinking that the theory of everything might take the form of a set of field equations for a connection. Math
46.
▲
by
MathMonkeyMan
5mo ago
You can do this as a convention in javascript since 2015, but I haven't seen a library that does it: > function foo({a, b, c}) { ... return {x: a, y: b, z: c}; ... } undefined > foo({a: 1, b: 2, c: 3}) {
47.
▲
by
MathMonkeyMan
5mo ago
This made me go down a rabbit hole of techniques for separating sodium and chloride from urea/ammonium/ammonia solutions. I wonder if it could ever be made viable when compared to the Haber process for ammonia production. Also, ph
48.
▲
by
MathMonkeyMan
5mo ago
I remember hearing about an interview problem from a while back, and the trick was to use exclusive-or. Now I understand why.
49.
▲
by
MathMonkeyMan
5mo ago
Urine can contain too much sodium, and pharmaceuticals.
50.
▲
by
MathMonkeyMan
5mo ago
Yes, it's often the randos who feel this way.
51.
▲
by
MathMonkeyMan
5mo ago
C++ is a rather old programming language.
52.
▲
by
MathMonkeyMan
5mo ago
This is true. To be fair, if you use only the Linux syscall interface, then a program that you compiled on x86 in the 90s will probably still run anywhere today. Linus is adamant about this. But if you want to use... anything else, then it&
53.
▲
by
MathMonkeyMan
5mo ago
> It is a hilarious and catastrophic failure of Linux userspace that the best API for running games on Linux is Win32 Studios don't target Linux, they target Windows and sometimes Mac. Imagine if Flappy Bird targeted only iPhone, be
54.
▲
by
MathMonkeyMan
5mo ago
I agree with you, but even with the ability to install your own OS properly, you can't necessarily use some of the hardware. As I recall from Ubuntu Touch, they had to build a system that was a thin wrapper around Android so that they
55.
▲
by
MathMonkeyMan
5mo ago
> The British occupation of Washington, D.C., lasted for roughly 26 hours. Still technically correct :)
56.
▲
by
MathMonkeyMan
5mo ago
I don't know, but many of them have a triggering smell, which must be on purpose. A polarizing prompt might show you what somebody thinks, but it is also likely to show you whether they think at all. I'm reminded of "This I B
57.
▲
by
MathMonkeyMan
5mo ago
> Algorithms and data strictures are important — to a point. I don’t see pharmacist interviews test trivia about organic chemistry. There’s something fucked with our industry’s interview process. Pharmacists have to get a special degree
58.
▲
by
MathMonkeyMan
5mo ago
`xor eax, eax` is less code when assembled. That's why compilers generate it.
59.
▲
by
MathMonkeyMan
6mo ago
I did undergrad in Physics at the University of Florida. Some (many?) labs there did condensed matter experiments involving Helium 3. It's a million times more rare than normal helium. Nonrenewable, all that. There was a dedicated syst
60.
▲
by
MathMonkeyMan
6mo ago
I read, for probe missions, that one technique is to get a bunch of consumer chips and irradiate the hell out of them. Now take the winner model and get a bunch of those. Irradiate them. The winner goes to Mars. The claim was that some plai
More ›