Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
anyfoo
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
33 ms
·
481.
▲
by
anyfoo
2y ago
Choosing the right algorithm is usually the prerequisite for fast code. Optimizing the constant factors is often pretty useless if you pick an algorithm with a runtime that grows quadratically, when there are much better options available.
482.
▲
by
anyfoo
2y ago
Why would they never run on another machine? It's not that hard to write portable code, and done very often. Nowadays for example, you rarely ever think about whether you're on arm or x86. If you write non-portal code, there might
483.
▲
by
anyfoo
2y ago
What have static type systems ever done to you, that you avoid them so much?
484.
▲
by
anyfoo
2y ago
Choosing the right algorithm effectively means optimizing runtime complexity. Then, once runtime complexity is fixed with the right algorithm, you're still left with a lot of constant factors that O-notation deliberately ignores (it&#x
485.
▲
by
anyfoo
2y ago
> I’ve written a lot of JavaScript. I like JavaScript. And more importantly, I’ve built up a set of skills in understanding, optimizing, and debugging JavaScript that I’m reluctant to give up on. It's not that hard to do the same fo
486.
▲
by
anyfoo
2y ago
Don't have my license yet, but for me it's definitely building homebrew (i.e. designed by me) transceivers. Not actually that interested in talking to other hams except for then testing my gear.
487.
▲
by
anyfoo
2y ago
I know very little about antenna technology, but physics might play a role. 2m/70cm is pretty far away from the few-cm-wavelengths of somewhat modern cellphones (70cm a bit less so). For FM radio, the common workaround was to use the c
488.
▲
by
anyfoo
2y ago
The common workaround for FM radio was to use the wired earphones plugged into the phone as an antenna. But FM radio is usually extremely, unbelievably strong (a lot of hams know that), so YMMV for other bands with much lower power signals.
489.
▲
by
anyfoo
2y ago
I remember that my HTC Desire Z Android phone, and possible also the iteration of a Nexus Android phone that I later owned, had FM Radio. It was relatively common back then, and I made use of it almost every day on my bike commute and such.
490.
▲
by
anyfoo
2y ago
How do you "repurpose" a 2m repeater for that?
491.
▲
by
anyfoo
2y ago
I get that, but I'm not talking about that. I'm talking about people whose job content is, and who may have had the same job in the 90s, e.g. newspaper journalists. So I'm asking those who don't want to pay for a subscri
492.
▲
by
anyfoo
2y ago
What I always don't understand is: So you don't want to pay for online content, but you also want to use an ad blocker. In summary, you don't want the author or creator to get paid? Personally, I hate ads, so I pay. I have di
493.
▲
by
anyfoo
2y ago
I don't understand why the problem existing elsewhere in Europe (which I did not mention) is relevant. Europe is made up of countries vastly differing in almost every regard, including for example the Balkans. I would have been far les
494.
▲
by
anyfoo
2y ago
I tried several times to find an appropriate answer to your comment, but it's hard. If you do not realize that "Europe" is made up of many vastly different countries, and that Bavaria is not a part of Hungary, then I just d
495.
▲
by
anyfoo
2y ago
Encrypt with an individual key for each user. Throwing away the key is indistinguishable from deletion.
496.
▲
by
anyfoo
2y ago
> the problem only partially smaller, since you still need to sync and back up the keys. I mentioned that: It makes the problem much smaller, as you only have one single, small piece of data to backup and and erase, instead of an ever-
497.
▲
by
anyfoo
2y ago
Thanks, that’s insightful. In this case, it seems sensible to me at least.
498.
▲
by
anyfoo
2y ago
This article rather seems to prove what I said? “The authors of the study stated that it could be assumed that other municipalities in Germany – with the exception of Frankfurt am Main and the southern German states – might also be confro
499.
▲
by
anyfoo
2y ago
Those are solvable problems. I could also argue how address space separation and more generally MMU protections make things so, so much more complex (they do!), yet we don’t question that one very much. There is no end to end encryption inv
500.
▲
by
anyfoo
2y ago
What they should do (I have no idea what they do) is to encrypt every record belonging to a user with an individual key. Live records, backups, everything. If a user wishes to be deleted, that live key is simply obliterated, making any da
501.
▲
by
anyfoo
2y ago
Didn’t seem sufficient to me at all, but I’m happy to be proven wrong.
502.
▲
by
anyfoo
2y ago
That’s one of the more bizarre things in the US to me. Lead pipes have been outlawed in Bavaria in the 1800s. It’s not something anyone ever thinks about, so imagine my surprise when I moved to a major US city and was told that I should te
503.
▲
by
anyfoo
2y ago
This is great. I shudder a bit over doing all that dev work from Windows, but they made it work very nicely.
504.
▲
by
anyfoo
2y ago
I don't, and I absolutely did not mean to imply that anyone should implement HMAC themselves. I was addressing people who want to potentially use HMAC (after proper consultation with cryptographers), for which a general understanding
505.
▲
by
anyfoo
2y ago
Thanks, forgot to mention that. Needless to say, I always consult real cryptographers when working on stuff like that.
506.
▲
by
anyfoo
2y ago
Only started reading, but: Just to keep you on your toes, there does exist a single one-byte instruction that takes 16 cycles - FIN. However, that is only the beginning. Please tell me that was intentional.
507.
▲
by
anyfoo
2y ago
Yeah, if you have a shared secret, HMAC is the way to go. It's also super simple: It's almost literally just concatenating the secret and the message you want to authenticate together, and take an ordinary hash (like SHA256) of th
508.
▲
by
anyfoo
2y ago
> I put all of my eggs in one basket most of the time, and I've been part of at least a dozen ventures that all failed. It's like flipping a coin and getting tails 30 times in a row, which feels like 1 in a billion odds of losi
509.
▲
by
anyfoo
2y ago
I would not have wanted to be in a laboratory that is set up to play my most favorite song very loudly over and over again, either. I don't think it's an artistic judgement.
510.
▲
by
anyfoo
2y ago
I wouldn't call it a "bug", more "unfortunate physics". Still possible to guard against that, specifically. (There will always be more "unfortunate physics", for example I bet that the hard disk also fails
More ›