Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
franky47
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
19 ms
·
271.
▲
by
franky47
4y ago
I hoped to see a paragraph on hexadecimal notation (eg: 0xbeef), alas we'll have to settle for Stack Overflow's [1] wisdom on this: > Short story: the 0 tells the parser it's dealing with a constant (and not an identifier&
272.
▲
by
franky47
4y ago
Pretty much, the same way fractions carry over inches as decimals carry over the next power of ten, and as a developer I find powers of two more intuitive. Example: I mostly work with 3/4" thick material, which is a breeze to divi
273.
▲
by
franky47
4y ago
Disclaimer: I'm French, we use metric everywhere. I've picked up woodworking and imperial inch fractions are a much better mental model for simple math (doubling/halving/dividing lengths, centering things etc) than arbit
274.
▲
by
franky47
4y ago
For those who may be baffled at the result, it comes from parseInt accepting two arguments (string & radix), and map providing three per iteration (the value, index and whole array). The whole array is omitted, but the radix passed to p
275.
▲
by
franky47
4y ago
If you're a billionaire, maybe. For everyone else, the current climate trajectory doesn't bode well.
276.
▲
by
franky47
4y ago
Gary Bernhardt's hilarious predictions [1] are truly becoming closer to completion. [1] https://www.destroyallsoftware.com/talks/the-birth-and-death...
277.
▲
High Performance with Node.js
(nearform.com)
6 points
by
franky47
4y ago
|
0 comments
278.
▲
by
franky47
4y ago
A side effect of this technique is that the "obvious next step" to fix the broken code left over lives rent-free in my mind until I can come back to it. For some people, leaving things in a broken state when the solution is known
279.
▲
by
franky47
4y ago
If ever such a study is attempted, it should look into a correlation with vehicle mass, speed, and energy requirement from the operator.
280.
▲
by
franky47
4y ago
I'll raise you on the report and propose that scooters should report themselves when badly parked. Unless incentivised, nobody would report bad parking, or it could be abused and whatnot. Most of them already have a GPS system for flee
281.
▲
by
franky47
4y ago
+1 on this. Interestingly, I use a car sharing service which has fixed stations (cars have designated parking spaces where they're picked from, and you leave your car where you found it), and I find myself multimodalling (walk or cycle
282.
▲
by
franky47
4y ago
One major annoyance with these e-scooters is their "take it from anywhere, leave it anywhere" rental model. Sure, it's practical for the user, but it litters the pavement for everyone else with scooters badly parked, sometime
283.
▲
by
franky47
4y ago
We should also not divide people into Elon and non-Elon.
284.
▲
by
franky47
4y ago
> Other ideas include: do not index new packages before they've garnered enough downloads. Which would be trivial to automate.
285.
▲
by
franky47
4y ago
"The best minds of my generation are thinking about how to make people click ads. That sucks" -- Jeff Hammerbacher
286.
▲
by
franky47
4y ago
I've owned an MK3 since 2018, since then some defects have started to appear (the LCD has a contrast blob at the center, and I cracked the X-axis stepper bracket), but nothing that prevents the printer doing its occasional job. I print
287.
▲
by
franky47
4y ago
Self made, but you can't be sure I'm not a large language model.
288.
▲
by
franky47
4y ago
Avoid listing every possible association, lest entity Paypal adapts logic evaluating perpetrators.
289.
▲
by
franky47
4y ago
Thanks, updated.
290.
▲
by
franky47
4y ago
0°F: cold, 100°F: warm 0°C: cold, 100°C: dead 0 K: dead, 100 K: dead
291.
▲
by
franky47
4y ago
If anyone from GitHub is reading, the docs page for testing SSH keys needs an update on the RSA key fingerprint: https://docs.github.com/en/authentication/connecting-to-gith... (it would actually be best to update
292.
▲
by
franky47
4y ago
> You can migrate to a Free Team organization to a Personal account by opening a support ticket. No action will be taken against your account while your ticket is being processed. Support request sent, I wish there were more clear on wha
293.
▲
by
franky47
4y ago
> The worst part is how the public now thinks if you’re involved in software you must be a massive believer in cc/NFTs because they keep hearing about it so all techies must think it’s awesome, right!? This used to be the case about
294.
▲
by
franky47
4y ago
Should mention the year (2004). I knew Catmull as the co-author of the Catmull-Rom spline [1], didn't know he was a Pixar co-founder. [1] https://en.wikipedia.org/wiki/Centripetal_Catmull%E2%80%93Ro...
295.
▲
by
franky47
4y ago
Even if we assume a proper protocol is in place (secrets remain in the HSM which is doing secure computation), the problem of trusting the hardware remains: how do we know a three letter agency isn't tampering with the HSM hardware ass
296.
▲
by
franky47
4y ago
> Do "secure keystores" just not exist? Probably not if we consider threat models evolving in the same userspace as where they're implemented (eg as cited: keyloggers and malicious native programs). HSMs may provide an ent
297.
▲
by
franky47
4y ago
Another footgun is that Curve25519 has a cofactor of 8, which may reveal some information about your private key if some high-order points are used [1]. Some curves (eg: Ristretto) were designed to alleviate this problem. [1] https:/&
298.
▲
by
franky47
4y ago
Adding a pre-hash is the overhead here, because of the internal hash. Granted, verifying only that hashes match for integrity would be cheaper than checking the signature. But since you need to to that anyway for authenticating the payload,
299.
▲
by
franky47
4y ago
Both ECDSA and EdDSA hash the message internally before signing. The only advantage of signing a pre-hash, other than convenience of computation (eg: if a streaming implementation of the internal pre-hash is not available) would be to allow
300.
▲
by
franky47
4y ago
> stronger digest algorithm for repository signing: We now use SHA256 instead of SHA1 for the index signature Neither SHA-1 nor SHA-256 are signing constructs, they are hash functions. They provide integrity, not authenticity. For this
More ›