Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
kbsletten
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
11 ms
·
61.
▲
by
kbsletten
9y ago
He said in the post that he was able to reset the password because the account was linked to "his" email.
62.
▲
by
kbsletten
9y ago
This, of course requires tracking of owners. If you're on the JVM, that's not so cheap. If you're already tracking pointers or can do compiler-aided RAII like python, or c++ then it's relatively simple unless you also ne
63.
▲
by
kbsletten
9y ago
That's not true. What if you want to support un-delete? That's a reason.
64.
▲
by
kbsletten
9y ago
In the language of the article, this is subtyping without subclassing. Sure Java/C# implement this as interfaces, but in C++ this would be a case of multiple inheritance. This is a good example of the article's main point that peo
65.
▲
by
kbsletten
9y ago
If I remember correctly, Google has done this with the `.dev` TLD they own, so we're already seeing some of it.
66.
▲
by
kbsletten
9y ago
I guess you'd be wrong. "Online shoppers" is most people these days, and Walmart is one of the strongest retail brands around. They don't even have to be that good to compete in online retail. I think you're likely
67.
▲
by
kbsletten
9y ago
Well, really their hand was forced because they needed to be able to specialize all of the array-of-primative types. It's not as much they saw the advantage as they couldn't imagine a language where you can't express `byte []
68.
▲
by
kbsletten
9y ago
I'm not sure that's as good an idea as you think. Even LE has designed ACME to ideally be replicated elsewhere. The big problem with having only one CA is that if they get compromised or go down, that's the entire internet .
69.
▲
by
kbsletten
9y ago
Man, I hope so. Do you know how many times I've seen "really simple" one-line changes hose everything? Bonus points if they're to fix something that was pressing but not urgent and now you've just made it 10x worse.
70.
▲
Making Poirot Fast
(kylesletten.com)
1 points
by
kbsletten
9y ago
|
0 comments
71.
▲
by
kbsletten
9y ago
The decrement is the same either way, the value yielded by the decrement expression would however be different. I don't like the wording either.
72.
▲
by
kbsletten
9y ago
I know this was changed recently-ish in Java, but I hadn't heard of anybody doing the old substring trick in .NET, do you know when they cut over?
73.
▲
Show HN: A library to help await multiple tasks at once
(github.com)
1 points
by
kbsletten
9y ago
|
0 comments
74.
▲
by
kbsletten
9y ago
I think that the point is that most users can't be expected to understand the risks present in allowing a high resolution timer. It's a very nuanced decision, unlike camera and storage and location.
75.
▲
by
kbsletten
9y ago
The 11MB is (most likely) 11MB of the Java runtime (compared to 200MB for the full runtime which includes all the classes required by the standard library) + a few dozen bytes of bytecode.
76.
▲
by
kbsletten
9y ago
Yeah, this "meant to" attitude seems a little be self-aggrandizing. I feel like that's a very convenient way to say, "programmers only club, no _others_ allowed." My favorite thing has been teaching scratch in middl
77.
▲
The Issue with Inheritance
(kylesletten.com)
2 points
by
kbsletten
9y ago
|
0 comments
78.
▲
by
kbsletten
9y ago
They're not saying that C++ compilers do the best possible register allocation, they're saying that C++ compilers generate a register allocation that works and doesn't contain bugs. Technically, spilling everything to memory
79.
▲
by
kbsletten
9y ago
Yes, which would have the effect of cutting down on speeding tickets issued since it's an extra court date for the officer. Many can't be bothered already when you take a ticket to court.
80.
▲
by
kbsletten
9y ago
It's probably to avoid/mitigate lawsuits. It's possible that this would still be covered under false advertising but there's something to be said about the feasibility of testing a lot of unopened packages to show the in
81.
▲
by
kbsletten
9y ago
Actually, most of us conservatives have a core stance of "don't trust anything you care about to the government." Nothing more, nothing less. Liberals love to parade out the worst of us because then no "reasonable"
82.
▲
by
kbsletten
9y ago
What is the crash rate improvement all about? I get the address randomization, but what changes in 64 that fixed crashes?
83.
▲
by
kbsletten
9y ago
Well, to be fair programming is (currently, at least) an optional skill competing with soccer, guitar, and video games for mind space. Reading is the lowest bar for practically everything in modern life so there's more tolerance for su
84.
▲
by
kbsletten
9y ago
Yes. The problem is nobody has "perfect fertility information". Little flukes in exact timing could change the "safe" days significantly. There's actually a whole bunch of info for couples wanting to do this with mu
85.
▲
by
kbsletten
9y ago
I believe that they've framed it in this article as mostly for compatibility with C/C++. A simple example is JS objects are often represented as a single f64 with the NaN space punned for 32-bit pointers and 53-bit integers. If yo
86.
▲
by
kbsletten
9y ago
I'm pretty sure this is because there's a critical limit on how wide a column of text can be before your eye won't snap back to the next line as easily. The thing I love about the phone centric web is that I don't have t
87.
▲
by
kbsletten
9y ago
I completely agree. That's what we ended up doing to "remove all those usings." I do admit it was poorly phrased.
88.
▲
by
kbsletten
9y ago
You're correct in your assessment, but the parent is correct in their criticism. I'll try to rephrase, though the particular example is not of particular importance.
89.
▲
Learn to Read Code
(kylesletten.com)
195 points
by
kbsletten
9y ago
|
57 comments
90.
▲
by
kbsletten
9y ago
Unless there is some other mutable state that they both interact with that may cause a race condition. :)
More ›