Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
pdpi
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
18 ms
·
361.
▲
by
pdpi
1y ago
> ignore current warnings - I’m using a MacBook Pro charger + cable and still got the warning that I need a 5V/5A PSU. You need to be careful with this one. The USB spec goes up to 15W (3A) for its 5V PD profiles, and the standard w
362.
▲
by
pdpi
1y ago
Parentheses are inserted by pressing two keys simultaneously. Diacritics on layouts that use dead keys are inserted by pressing two keys in sequence. Or, often, two keys simultaneously and then a third key in sequence (E.g. Shift-6 then Spa
363.
▲
by
pdpi
1y ago
So, first off: as a matter of "taste", I really don't like the idea of giving the Peace prize specifically to anybody whose attitude is "where's my Nobel?" It should be going to somebody who believes in the cau
364.
▲
by
pdpi
1y ago
For this particular one, you could easily see that comment on any community with a sufficient number of Asterix fans. Banners and standards with "SPQR" written somewhere were common enough that they should produce a Pavlovian reac
365.
▲
by
pdpi
1y ago
> - with transformations between them > > - including a ‘do nothing’ transformation > > - that can be composed associatively (a sequence of statements `{a; b;}; c` transforms the state in the same way a
366.
▲
by
pdpi
1y ago
> In the end arguing about whether mathematics is a science or not makes no more sense than bickering about tomates being fruit That's the thing, though — It does make sense, and it's an important distinction. There is a reason
367.
▲
by
pdpi
1y ago
> Pure mathematics is regarded as an abstract science, which it is by definition. I'd argue that, by definition, mathemtatics is not, and cannot be, a science. Mathematics deals with provable truths, science cannot prove truth and m
368.
▲
by
pdpi
1y ago
Laziness comes in many forms. Arguably, discovering and using private APIs is a form of intellectual laziness — it requires you to refuse acknowledging that the whole system is telling not to do things that way.
369.
▲
by
pdpi
1y ago
That's unnecessarily negative. I'd argue it's not overpriced in the least. It's insanely pricey, of course, and that price tag comes with no real utility above and beyond what a more mundane mechanical keyboard would pro
370.
▲
by
pdpi
1y ago
Adam Savage posted a video a couple of weeks ago, where he discusses this keyboard with Ryan Norbauer. That thing is overengineered to the point I'd argue it actually becomes some sort of artistic statement. https://www.yout
371.
▲
by
pdpi
1y ago
Inverted Y axis means that the stick mirrors my head movements.
372.
▲
by
pdpi
1y ago
> Actually, the Rust toolchain makes cross-compiling way easier than any other fully-compiled language I've ever used Zig takes the crown on that one, to the point that some people use Zig to cross-compile Go projects with CGo depen
373.
▲
by
pdpi
1y ago
You can express Monoid as an interface if Monoid<T> is implemented by a standalone object instead of by T itself — it’s how Scala does it.
374.
▲
by
pdpi
1y ago
Manipulating bit patterns isn't really that common in most workloads.
375.
▲
by
pdpi
1y ago
I assume OP means the actual post. The second example under "Case 1: Illustration to Figure" is a panty shot.
376.
▲
by
pdpi
1y ago
Zig is still at the 0.x stage, and there's still a bunch of churn going on on really basic stuff like IO and memory allocation. I really enjoy writing it, but it's by no means stable to the point many people would write production
377.
▲
by
pdpi
1y ago
As an industry, we've swung from thin clients to fat clients and back countless times. I'm sure LLMs won't be immune to that phenomenon.
378.
▲
by
pdpi
1y ago
We don't, for the most part. Most American brands are fairly unpopular here. Tesla is (was?) the exception.
379.
▲
by
pdpi
1y ago
"I didn't know to withdraw consent" isn't the same as "I consent". Thank you for doing the right thing.
380.
▲
by
pdpi
1y ago
A bit of a Baader–Meinhof moment for me. Adam Savage discussed on Youtube earlier this week[0] the Chinese water torture episode of Myth Busters, and mentioned an email he got some time after, from somebody who had apparently actually used
381.
▲
by
pdpi
1y ago
That's what I was hinting at. MacOS is kind of split into two personalities, and the way to be a good citizen in the system is to respect the boundaries between those two personalities. CLI tools are definitely part of the Unix persona
382.
▲
by
pdpi
1y ago
If your binary is supposed to live in `/Applications`, by all means put its config in `~/Application Support`. If it lives in `/bin` or somewhere similar, or if its default or system-wide configuration go in `/etc`, conf
383.
▲
by
pdpi
1y ago
> Fortunately, it's all context-dependent. So when you watch a video that is inherently rectangular on a Mac, that takes precedence. It's only shown below the notch, and the rounded corners on the bottom disappear. Also, it
384.
▲
by
pdpi
1y ago
WoW has always been exceptionally good at treating macOS like a first-class citizen. It's a shame Blizzard has stopped supporting macOS for their newer games.
385.
▲
by
pdpi
1y ago
> I ended up trying to explain that tail-recursivity doesn't explode in memory for the rest of the call (and failed) I count that as a successful interview – They sent an interviewer who doesn't understand how tail recursion en
386.
▲
by
pdpi
1y ago
> For example, you need to manage a stack to do iteration on your binary tree Recursion around trees can get you into trouble with the stack. Consider: def traverse(node): do_work(node.payload) traverse(node.left)
387.
▲
by
pdpi
1y ago
> Tail recursion IME is a bigger foot gun This is true for some languages, but not all. E.g. scala has @tailrec annotations, which make it a compile error for the annotated function to not be tail recursive. Clojure doesn't have t
388.
▲
by
pdpi
1y ago
> And if nitrogen in the air were prone to react with the dirt, there wouldn't be much nitrogen left in the air. Our atmosphere is almost 80% N₂. If it weren’t for the fact that N₂ is basically inert and doesn’t like reacting with a
389.
▲
by
pdpi
1y ago
You misunderstood me. I started off by saying that 0-9a-v digits was "a bit extreme", which was a pretty blatant euphemism — I think that's a terrible idea. Visually ambiguous symbols are a well-known problem, and choosing yo
390.
▲
by
pdpi
1y ago
The moment you feel the need to skip letters due to propensity for errors should also be the moment you realise you're doing something wrong, though. It's kind of fine if you want a case insensitive encoding scheme, but it's
More ›