Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
orlp
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
52 ms
·
601.
▲
by
orlp
5y ago
All of this touches on maybe 1% of the potential of geometric algebra: https://bivector.net I would strongly suggest watching some talks about it: https://bivector.net/doc.html For example a rigid body simulator
602.
▲
by
orlp
5y ago
> How does Bright Data acquire its residential IPs? > Bright Data has built a unique consumer IP model by which all involved parties are fairly compensated for their voluntary participation. App owners install a unique Software Develo
603.
▲
by
orlp
5y ago
Interstellar "rods from god": https://en.wikipedia.org/wiki/Kinetic_bombardment A civilization powerful enough to make mega-structures is almost certainly able of landing on one of its endemic large meteors,
604.
▲
by
orlp
5y ago
Technical nitpick purely on the wording of the title: the pentesters declared that "no important security issues were found during the pentest". Unfortunately in our current world that's about as good as you're going to
605.
▲
by
orlp
5y ago
> Not trying to flame Please, flame away. I'm not here to put up a fight for one approach or another, simply interested in hearing what people think works well and what doesn't; what they'd expect/want.
606.
▲
by
orlp
5y ago
Allow me a moment to hijack this thread. I'm a PhD student looking to make analytics of JSON data a first-class citizen in https://duckdb.org/ . I'm still very much in a literature study stage, so I'd love to
607.
▲
by
orlp
5y ago
This dichotomy is as old as the dictatorship. A king/emperor/tzar/<dictator variation #923>'s assets are the people he commands. All his value comes from taxation of the people or extraction of natural resources by
608.
▲
by
orlp
5y ago
Holy shit this comment resonates so much with me. It used to be that you could Google something about your game and find a 150KiB text file article (no ads, no useless pagination/SEO filler) which is a treasure trove of useful informat
609.
▲
by
orlp
5y ago
What if a government requests Github to take down this repository itself?
610.
▲
by
orlp
5y ago
Even if you make this assumption it still wouldn't be a successful attack because OTP makes no security claims if the key is re-used. If there's no security claim there's nothing to attack to begin with.
611.
▲
by
orlp
5y ago
No, Dec(0^n) would give you a unique keystream never used before or since. That is the whole point of the >>one-time<< pad.
612.
▲
by
orlp
5y ago
> which is vaguely classifiable as a "chosen-ciphertext attack" Only if we interpret the jargon at face value as a layman. But is is jargon, with a specific meaning. A chosen-ciphertext attack isn't just any attack in whic
613.
▲
by
orlp
5y ago
> A one-time pad is vulnerable to chosen-ciphertext attacks No it isn't. A one-time pad in isolation is vulnerable to being malleable since it provides no authentication, but the data it carries is 100% unknowable.
614.
▲
by
orlp
5y ago
That's almost correct, but not quite (depending on your definition of correct). It fails to account for the problem that Allen Downey's paper so carefully took care of. I think it's best shown with an image (exaggerated to ha
615.
▲
by
orlp
5y ago
Yes, woops, fixed.
616.
▲
by
orlp
5y ago
Oh, I know very well who iq is :) And for a visual demo it might make perfect sense to sacrifice completeness of a solution for speed / code size. But to me, "pick a random number from {k/2^23 : 0 <= k < 2^23, k ∈ ℕ}&qu
617.
▲
by
orlp
5y ago
What do you mean by "normally distributed values"? Your reply also doesn't follow a normal distribution by the way. Did you mean uniform? For uniform values there is a way to go and my other reply exactly describes how.
618.
▲
by
orlp
5y ago
You can make this approach very efficient using bitwise operations, and the count trailing zeros instruction common on many CPUs. See my other comment for a reference to the paper describing the technique and a link to a low level implement
619.
▲
by
orlp
5y ago
Sure, but who said N has to be sizeof(int)? And besides that, the distance between x and successor(x) is not constant throughout the range of [0, 1).
620.
▲
by
orlp
5y ago
It's a neat trick, but can not generate all floating point values. See my other comment for that.
621.
▲
by
orlp
5y ago
I don't know about a better book, but I do know how to generate a random float in [0, 1] very efficiently and accurately. A 2007 paper describing the technique is Generating Pseudo-random Floating-Point Value by Allen B. Downey. I have
622.
▲
by
orlp
5y ago
That's almost the beauty of a lot of audio DSP filters. They can be 1-10 lines of code, but to understand why they work and how to create similar ones with properties you want you need a heavy math background and a 500+ page book (e.g.
623.
▲
by
orlp
5y ago
> Distortion is always there, whether it comes from an imprecise sensor/instrument or from extrapolating sampled data. Specifically regarding the latter part of "extrapolating sampled data", I would highly recommend watchi
624.
▲
by
orlp
5y ago
> It's also common in audio manipulation, e.g. change to the frequency domain in order to modify pitch, then change back to the time domain. Funnily enough, yes but actually no. For understanding and mathematical proofs the Fourier
625.
▲
by
orlp
5y ago
> They're perfectly entitled to track you as long as you don't opt out. This is false, GDPR is opt-in.
626.
▲
by
orlp
5y ago
This is also why basically all GDPR consent trackers are "accidentally" so forgetful about your choice not to consent. You need to say no every single time (with potentially shifting interfaces). Similarly if I remember correctly
627.
▲
by
orlp
5y ago
If your program is sufficiently large and diverse the constants embedded in the instructions are no better than a table load/lookup. The jump to the conversion routine is unpredictable, and the routine will not be in the instruction ca
628.
▲
by
orlp
5y ago
> No, it's really not part of what makes libre/free stricter than Open-Source. I edited out the libre portion and I clarified in my comment that I don't (by default) include the 'binary virality' a-la GPL in my s
629.
▲
by
orlp
5y ago
> Not every open-source project accepts contributions. This is something that you just interpret into "open source", but was never part of it. I do interpret it into it, as do many others. But not everyone. Stallman and the peo
630.
▲
by
orlp
5y ago
I never thought this would become relevant in a context like this, but here it is, and it is painfully relevant: https://www.youtube.com/watch?v=uMSV4OteqBE
More ›