Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
deepsun
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
10 ms
·
301.
▲
by
deepsun
6mo ago
What I found teaching coding us that Python is actually not good as the first language. The main issue is types -- you should always think of what type your variable is (and what types are collection items are). Python makes it hard. Spaces
302.
▲
by
deepsun
6mo ago
Well, oxygen _is_ poison. It's eager to react (sometimes violently) with almost everything. It rusts and oxidates perfect shiny metals and silicon making everything an oxide!
303.
▲
by
deepsun
6mo ago
Yubikey can be used as passkey atorage, I do it on Linux desktop/laptop with passkeys. It requires touching it (but no biometrics). I just couldn't make Android ask my hardware device, it wants to handle passkeys by itself. It
304.
▲
by
deepsun
6mo ago
Cloud-based passkeys are okayish (1pass, bitwarden), as they are available on multiple devices. However not all devices play well with it, e.g. iOS and Android don't ask 1pass for the passkey. I also couldn't make it ask NFC for m
305.
▲
by
deepsun
6mo ago
Every formal verification depends highly on requirements. It's pretty easy to make a mistake in defining the task itself. In the end, you'd want to verify system behavior in real world, and it's impossible to completely defin
306.
▲
by
deepsun
6mo ago
All true, but if the third party receives a delete request from you, they have to oblige (and may notify the bank). Otherwise it would be very easy to circumvent the law by saying "oh we're just keeping it for another customer, we
307.
▲
by
deepsun
6mo ago
I'm not sure about that, I'm pretty sure any company that has your PII is obliged to follow the law, regardless of their contracts with their customers/vendors. Law doesn't make you investigate who's the end custome
308.
▲
by
deepsun
6mo ago
If Flock collects and processes PII data, then all their customers are "subprocessors". Flock should really have a Data Processing Agreement with their subprocessors, to legally ensure they follow the same PII handling controls as
309.
▲
by
deepsun
6mo ago
And that's why you should have multiple appenders. So in code you write "log.error("...", exception)" once, but logging writes it in parallel to: 1. STDOUT for quick and easy look, short format. 2. File as J
310.
▲
by
deepsun
6mo ago
Then why nobody forked minio?
311.
▲
by
deepsun
6mo ago
Btw, Go does have runtime exceptions, they just call them Panics and don't have any nice tooling around it. :)
312.
▲
by
deepsun
6mo ago
And Java typically does produce both (see Exception "cause" field). So when an exception stack trace is printed it's actually list of stacktraces, for each "cause". You can skip stacktraces and just concatenate caus
313.
▲
by
deepsun
6mo ago
Why not compiling it to Java source code (not bytecode)? Users would use their own Java compiler then. Same as, say, ANTLR generates code to parse various texts to AST.
314.
▲
by
deepsun
6mo ago
I code on both and they are just for different purposes. E.g. I think it's madness to develop desktop apps in Rust. Development velocity is way greater in Java.
315.
▲
by
deepsun
6mo ago
Why not compiling it to Java source code (not bytecode)? Users would use their own Java compiler then. Same as, say, ANTLR generates code to parse various texts to AST.
316.
▲
by
deepsun
6mo ago
All of that tooling and Rust will always be less efficient than Assembler.
317.
▲
by
deepsun
6mo ago
I hate when tools only produce generic "TLS Handshake failed" instead of saying why exactly it failed, where is the problem.
318.
▲
by
deepsun
6mo ago
You forgot about NaNs (all of them), infinities and positive/negative zeros. Tests warranted.
319.
▲
by
deepsun
6mo ago
Just because you have more features and ways to use them. Say I like to use a different garbage collector for a tool.
320.
▲
by
deepsun
6mo ago
> didn't actually do nation building USA did, at least tried, but it's just not feasible. Sarah Paine described it way better than I can do: https://www.youtube.com/shorts/6d_mQwwiPjM
321.
▲
by
deepsun
6mo ago
"Provide a way" -- what if it's way too expensive, even for a huge country? And populace just doesn't want it (e. g. it goes against sacred texts). And there are no infrastructure nor institutions to build upon. It'
322.
▲
by
deepsun
6mo ago
I don't think crime can always be fought through democratic processes. What if the whole country lives on heroin exports (Afghanistan)? Any "processes" are doomed to fail, as populace would vote to feed their families.
323.
▲
by
deepsun
6mo ago
Well, it's much better to be on the invading side though. I've been to a coutry that was on invaded side (Ukraine), and, trust me, you'd always want to be on the invading side. And sometimes all it takes is just one invasion.
324.
▲
by
deepsun
6mo ago
Why would you do that (The Merge) to yourself? Is it really any different than forcing everyone to `git-rebase` their work to the latest (shifting) `main` on Fridays? Then the tool does not matter. As usually happened (and happens today wit
325.
▲
by
deepsun
6mo ago
Plenty disagreements everywhere. Under (usually fake) ideas of not enough resources for everyone, so the strongest must survive. Nazi planned to exterminate several whole ethnicities. If you think it was (or is) unversally accepted as "
326.
▲
by
deepsun
6mo ago
I object, we once paid $40k for that "negligible cost".
327.
▲
by
deepsun
6mo ago
Yes, and stand by it: > All outgoing traffic from AWS is charged no matter what. Your example with VPC endpoints does not leave AWS. Sorry for the confusion you probably thought about outgoing from S3, but I mean outgoing from AWS.
328.
▲
by
deepsun
6mo ago
SVN in SVN for sure, it's a well made product. The market just didn't like it's architecture/UX that doctates what features available. CVS is not much different from copying files around, so would not be surprised if the
329.
▲
by
deepsun
6mo ago
Naah, the moment the first million of those is sold -- the price crashes. In other words, imagine some investor had those billions, and could buy the key. Should they? A thing is worth as much as someone is willing to pay for it.
330.
▲
by
deepsun
6mo ago
S3 GET operations are billed anyway. Traffic may be free, but not the operations.
More ›