Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
MathMonkeyMan
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
151.
▲
by
MathMonkeyMan
11mo ago
This is why I stopped watching American presidential "debates." If I wanted that kind of entertainment, I'd listen to a rap battle.
152.
▲
by
MathMonkeyMan
11mo ago
If your use case can have C++, then [std::from_chars][1] is ideal. Here's gcc's [implementation][2]; a lot of it seems to be handling different bases. [1]: https://en.cppreference.com/w/cpp/utility/f
153.
▲
by
MathMonkeyMan
11mo ago
Unspecified, really? cppreference's [C documentation][1] says that it returns zero. The [OpenGroup][2] documentation doesn't specify a return value when the conversion can't be performed. This recent [draft][3] of the ISO sta
154.
▲
by
MathMonkeyMan
1y ago
Neat, but I think that functions already do what we need. For one thing, the example isn't the most compelling, because you can: const greeting = 'hello'.toUpperCase() + '!!!'; or const greeting = &#x
155.
▲
by
MathMonkeyMan
1y ago
I just upgraded my recently bought X1 Carbon Gen 12 from Ubuntu 22.04 LTS to Ubuntu 24.04 LTS. And now the sound stutters occasionally :( My guess is it's something with Pipewire replacing PulseAudio, where some apps now use a PulseAud
156.
▲
by
MathMonkeyMan
1y ago
How many times can you say "genocide" in an article about Amazon?
157.
▲
by
MathMonkeyMan
1y ago
It doesn't understand anything. Yet if you prompt it with a question about what it understands, its output is consistent with something that understands. Text in, text out. The question is how much a sequence of tokens captures what we
158.
▲
by
MathMonkeyMan
1y ago
Lacto fermentations like 2-3% salt by total mass. So if you ate nothing but pickles and drank water, you might have around a 2% salt diet. Then again I wonder about pizza, hotdogs, and potato chips. They're crazy salty, but don't
159.
▲
by
MathMonkeyMan
1y ago
The trick is defining "their own people."
160.
▲
by
MathMonkeyMan
1y ago
The trick is not to show anybody the prototype, especially your manager.
161.
▲
by
MathMonkeyMan
1y ago
The two days before you received the package was two days. QED.
162.
▲
by
MathMonkeyMan
1y ago
Hey, things have improved. Once in a while still I find a website that intercepts right click with an alert box: "This website's content is COPYRIGHTED!" On the other hand, making text unselectable in an app is more annoying.
163.
▲
by
MathMonkeyMan
1y ago
Maybe the distinction is in that word "app." We started calling programs "apps" when smart phones came out. Smart phones are remote-first, and it makes sense (or it did) as long as you think of a phone as your terminal i
164.
▲
by
MathMonkeyMan
1y ago
The free software evangelist in me says "because local-first gives more to the user of the software," which will tend not to happen when the user is not in control of the software. Realistically the reason is probably that it'
165.
▲
by
MathMonkeyMan
1y ago
Socially awkward dog prefers not to dog.
166.
▲
by
MathMonkeyMan
1y ago
The only context in which I heard it mentioned is the idea of trying to date the earth by its temperature. Assume it was a hot molten mess in the past and has been cooling down ever since. Factor in the rate at which it would radiate heat a
167.
▲
by
MathMonkeyMan
1y ago
That gives you an idea of how much I enjoy buses and airports. I complained, but it wasn't that bad. Mostly I was pointing out that the "premium" line is in disrepair. This is why they're replacing them. I've ridden
168.
▲
by
MathMonkeyMan
1y ago
All other things being equal, yes. Static types work well for constraints on function parameters. "Parse, don't validate" and all that. Some contracts are more difficult to express, though. The worst kind involve sequences of
169.
▲
by
MathMonkeyMan
1y ago
I took the Acela from NYC to DC to visit a friend. It was expensive, but I wanted to try it. The interior of the cars was old and beat up. The tray in front of me didn't work. The bathroom door was borked and there was this persistent
170.
▲
by
MathMonkeyMan
1y ago
He stole the gun, so it was robbery. I feel like an armed robbery is one where you bring a weapon, which makes the robbery more dangerous. This guy was looking for cash and found a gun, so "armed robbery." The comment above claimi
171.
▲
by
MathMonkeyMan
1y ago
I know of a guy who got nailed with "armed robbery" because he stole a gun from the glove compartment of an unoccupied car that he had broken into. All a prosecutor wants to do is screw somebody as hard as possible and win the cas
172.
▲
by
MathMonkeyMan
1y ago
"J. Robot Choppenheimer" is what earned my upvote. If this knife works as well as the pitchman says, that's amazing. Just don't touch the edge. I've gotten into the habit of using one of those slatted knife sharpene
173.
▲
by
MathMonkeyMan
1y ago
This is what undefined behavior is for. You specify a contract for your function, and then the implementation of the function assumes that the contract is satisfied. It does not check, and does not try to diagnose errors. It's not ab
174.
▲
by
MathMonkeyMan
1y ago
The mole got me.
175.
▲
by
MathMonkeyMan
1y ago
GotchaScript
176.
▲
by
MathMonkeyMan
1y ago
ee-see-ehm-ay-skript? It's ECK-mah-script.
177.
▲
by
MathMonkeyMan
1y ago
Ants are descended from a wasp-like ancestor.
178.
▲
by
MathMonkeyMan
1y ago
That was xslt, which is part of the xml toolset but not specific to libxml2.
179.
▲
by
MathMonkeyMan
1y ago
I don't know, but when I was playing with finite difference code as an undergrad in Physics, all of the docs I could find (it was a while ago, though) assumed that I was going to use MPI to run a distributed workload across the univers
180.
▲
by
MathMonkeyMan
1y ago
I'd pay $155 for it, definitely. < https://anycrap.shop/product/eyeball-miniaturizer >
More ›