Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
pps43
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
41 ms
·
391.
▲
by
pps43
10y ago
The point I was trying to make is that complexity is not in encrypt() and decrypt(). Those things can be very simple, yet cryptographically strong. Complexity begins when you try doing something more involved than just symmetric block encry
392.
▲
by
pps43
10y ago
Well, it does Encrypt() and Decrypt(), which is what was asked. And it's not particularly difficult to pick 128 bit block size (after all, bigger is better). The problem is, it's not nearly enough to just do Encrypt() and Decrypt(
393.
▲
by
pps43
10y ago
> Encrypt(data,key) and Decrypt(data,key) and be done. That's the easy part. You can find a library that does exactly that, and only that. Will probably be just one file, not even a library [1]. But then you'll also need paddin
394.
▲
by
pps43
10y ago
> However, it might well reduce the death rate, and that's better than nothing. Multiple studies [1] found no effect. > In America, you are far more likely to be killed by a toddler than by a terrorist. You can pick a day when a
395.
▲
by
pps43
10y ago
That's partly because M&P hasn't been around that long. Among recent movies (released after 2005 when M&P was created), imfdb lists 10 with DE and 16 with M&P. TV is 11 DE vs. 23 M&P, and video games 9 DE to 1 M&am
396.
▲
by
pps43
10y ago
Quick, which company makes M134, M240, or Thompson SMG? I had to look up two of the three, even though I think I'm reasonably well-versed in guns. So if it is a long game, it's a really long one.
397.
▲
by
pps43
10y ago
I would say that video games affect people's choices more than TV or movies. For example, gun ranges usually have Desert Eagle for rent, but not S&W M&P. In real life Desert Eagle is pretty rare because it is completely impract
398.
▲
by
pps43
10y ago
Why would gun industry ask film industry to do product placement for M134 Miniguns, M240 machine guns, or Thompson submachine guns when they can't sell full auto guns to civilians since 1986?
399.
▲
by
pps43
10y ago
> I don't think that in any of the drawn games Karjakin ever had a winning position. Karjakin had a winning position in game 9, but did not find the key move Qc4. He analyzed this line, but did not see Bg8 and thought it's not
400.
▲
by
pps43
10y ago
There is another way to do it, without integrals and convolutions. Say player A has threshold a and player B has threshold b, a <= b. Write 3x3 table of Player A win probabilities for ranges 0 to a, a to b, and b to 1. It will have 1
401.
▲
by
pps43
10y ago
The main problem with taking out carriers is figuring out where they are. In a war between major powers, satellites will be shot down almost immediately (their trajectories are very predictable). ASW ships and helicopters of a carrier group
402.
▲
by
pps43
10y ago
Depends on the job. Experience matters more for CRUD or Web programmer, formal education matters more for DSP or heavy data science.
403.
▲
by
pps43
10y ago
Unless you use R markdown, in which case there is no need for a separate script or makefile.
404.
▲
by
pps43
10y ago
> they are obviously not worse, in some places are much better Not sure why it is obvious, especially after Alex Biryukov et al reverse engineered S-Boxes of Streebog and Kuznyechik [1]. If you suspect Dual_EC_DRBG kind of weakness, why
405.
▲
by
pps43
10y ago
The problem is, it's hard to understand statistics without knowing at least basic calculus. As soon as you move from coin flips to probability density, you need derivatives and integrals. These days you can solve many practical statist
406.
▲
by
pps43
10y ago
On the flip side a large percentage of human drivers is unlikely to suddenly run into the nearest stationary object because of the botched software update.
407.
▲
by
pps43
10y ago
At 8 kHz sampling rate, you can tell f from s only by context (they sound the same).
408.
▲
by
pps43
10y ago
> from someone older, who was in the 80s There was the same amount of time, but it was allocated differently. There were phone calls. If somebody calls you on the phone, you stop doing what you're doing and talk to them. Apart from
409.
▲
by
pps43
10y ago
Vacuum tubes and transistors have different failure modes. If you apply high voltage to a vacuum tube, it will arc and warm up, but not sustain much damage. Do the same with a transistor and it will promptly turn into a resistor. Source: bu
410.
▲
by
pps43
10y ago
> Einstein found that the constant distance was the square root of x^2+y^2+z^2 – ct^2, where c is the speed of light Units don't match - ct^2 is in m*s, not m^2.
411.
▲
by
pps43
10y ago
I'm not implying anything, but speaking from first-hand experience. As a foreign engineer who got decent education outside of US for free and then came over on H1B, I did have clear advantage over my US counterparts. I had no student l
412.
▲
by
pps43
10y ago
> I think of it more as they need more engineers to get more work done. They can easily get more engineers by simply increasing salaries. Let's say I'm a bright student deciding whether to study software engineering or plumbing
413.
▲
by
pps43
10y ago
To add to confusion, Subaru sells several very different systems and calls all of them the same "all time all-wheel drive". There is viscous coupling center differential that goes with manual transmissions and nearly always splits
414.
▲
by
pps43
10y ago
> one such analyst can ultimately generate millions of models Right, just like one programmer can ultimately generate millions of programs. That's why now that computers are so cheap and abundant, there are so few programming jobs l
415.
▲
by
pps43
10y ago
That's a lot of boiler plate code. Is there a way to make it smaller? For example, if all I need is to open and process a file with no GUI (maybe a progress bar).
416.
▲
by
pps43
11y ago
Wiki shows Algorithm R, this article talks about Algorithm D, both by the same author. The former is well known, while the latter is more obscure. This is probably because the extra complexity of Algorithm D is rarely necessary. If k and n
417.
▲
by
pps43
11y ago
I think the point here is not which prior to use for effect of chocolate, but how to account for the differences between actual and self-reported chocolate consumption, which itself might be correlated with cognitive ability. Maybe people w
418.
▲
by
pps43
11y ago
"Not statistically significant" is not the same as "statistically insignificant". It only means that p-value is greater than or equal to 0.05. There can still be an effect, it just cannot be seen over noise given sample
419.
▲
by
pps43
11y ago
Weighting by number of homicides is actually reasonable. Since homicides are rare, variance of homicide rate is driven by number of homicides rather than by population. Weighting by inverse variance is pretty common.
420.
▲
by
pps43
11y ago
Changing "if (attempts > max_attempts)" to "if (false)" does not seem to be a big change. Same thing with increasing timeouts.
More ›