Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
karanlyons
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
1.
▲
by
karanlyons
6y ago
This is covered in the whitepaper: https://github.com/zoom/zoom-e2e-whitepaper
2.
▲
by
karanlyons
7y ago
A naïve hash of the data you’re encrypting stuffed into the nonce leaks whether two plaintexts are the same (or…collided). A hash of the key and plaintext leaks whether the two plaintexts are the same under the same key. Using a proper keye
3.
▲
by
karanlyons
7y ago
There’re also SIV constructions if you’re the more cautious type, which isn’t a bad type to be in cryptography.
4.
▲
by
karanlyons
7y ago
Oh, neat: https://github.com/Valve/fingerprintjs2/issues/491
5.
▲
by
karanlyons
7y ago
A lot of these look like children. Nowhere in the article is it mentioned that a lot of these look like children. No one in the comments has brought up that a lot of these look like children. A lot of these look like children.
6.
▲
by
karanlyons
7y ago
Because `const` is a js level keyword that has different semantics: it applies only to the reference binding being immutable, not the value as being so. `const a = "hello"` does have the shape `"hello"` as you’d expect
7.
▲
by
karanlyons
7y ago
`as const` is useful there as well, as TypeScript’s type inference only narrows as far as the type and not the literal value. `let z = {text: "hello"}` has the shape `{text: string}`, with `as const` it has the shape `{text: "
8.
▲
by
karanlyons
8y ago
I'm not arguing that one should write things from scratch. I think I may have poorly articulated my position, but that you and I actually share the same opinion here. I don't think you should reinvent the wheel unless for some rea
9.
▲
by
karanlyons
8y ago
There's absolutely nothing wrong with using black boxes, and I'm not arguing that it should be totally avoided. I'm arguing that a lack of understanding of how to solve your problem leads to only gluing black boxes together
10.
▲
by
karanlyons
8y ago
> Many JavaScript developers are scared (by scared I am paralyzed in the face of death catatonic scared to the most possible irrational extreme) to write original code when often times original code takes less time and is a better fit to
11.
▲
by
karanlyons
8y ago
You can hack that in with a decorator if you’d like, at some cost to performance.
12.
▲
by
karanlyons
8y ago
Not everyone speaks English as a first language and “payed” is a completely reasonable assumption given how a bulk of words are conjugated.
13.
▲
by
karanlyons
8y ago
You’re going to want to look at https://en.wikipedia.org/wiki/Kneser–Ney_smoothing for further improvements on an ngram based approach.
14.
▲
by
karanlyons
8y ago
Yes, and it is...not great. It's generally fine as far as the language goes (considering it's a retrofit), but the builtin asyncio library is not the way to go in my opinion. trio is far better for just aping a lot of the Erlang
15.
▲
by
karanlyons
8y ago
Can you network multiple boards together to drive larger LED arrays in sync?
16.
▲
by
karanlyons
8y ago
My tests do not show this, but show that putting the CPU under load alone is enough to get rather disheartening results: https://imgur.com/a/ehtleu4
17.
▲
by
karanlyons
8y ago
Yeah, I dunno why it never took off, though Meyer was one of the few to star the repo, so I thought that was nice. I was never able to get much traction on my extension either, though some people did port it to every browser, which was also
18.
▲
by
karanlyons
8y ago
You might want to take a look at https://github.com/karanlyons/pinpoint to see if there's anything there you want to grab, especially around the selector creation: https://github.com/karanlyons
19.
▲
by
karanlyons
9y ago
Don’t worry, it’s safe: I didn’t put the actual solver, just proof that I solved it. Wouldn’t want to spoil the fun for anyone else :)
20.
▲
by
karanlyons
9y ago
I wouldn’t say this work is novel in the general case of “PRNGs are not CSPRNGs”. You can throw a constraint solver at most any PRNG and given sufficient output determine the state fairly easily. As a datapoint, doing this for xoroshiro too
21.
▲
by
karanlyons
10y ago
The answer is maybe. You need to reduce that text to a set of features that you can pipe into a clustering algorithm, and what’ll really make or break your approach is how you convert the text. There are two types of features and related cl
22.
▲
by
karanlyons
13y ago
It's sort of like `pip install -r` in Python. I used to do `cat brew_requirements.txt | xargs -L1 brew install`, but Brewfiles mean that that sort of thing is now standardized, and also gives support for things like tapping, linking, e
23.
▲
by
karanlyons
13y ago
You could swap your PATH back to the OS's python, or compile python yourself. Homebrew is great for the latter, and much more.
24.
▲
by
karanlyons
13y ago
Your homeowner's/renter's insurance should cover items stolen from your person outside of the home (I'm not clear on the legal wording, but my insurance covered a stolen iPhone.). Moreover, anything can be stolen from yo
25.
▲
by
karanlyons
13y ago
My bet's on Bryan Veloso, just going by the Japanese sub headings.
26.
▲
by
karanlyons
14y ago
Also (shameless plug), if you want to use murmurHash3 in JavaScript: https://github.com/karanlyons/murmurHash3.js
27.
▲
by
karanlyons
14y ago
That's a fascinating pricing model. It makes a great deal of sense, too, since presumably there's work to be done keeping all that data fresh and up to date. But I wonder how many other transit apps we're going to see with a subscription mo
28.
▲
by
karanlyons
14y ago
If you do, take a look at TesseractTrainer, which basically automates the entire training process: https://github.com/BaltoRouberol/TesseractTrainer
29.
▲
by
karanlyons
15y ago
That's a little bit of a shame. I'm not close enough to make it to the meetup, but I and others would love some way to take part and chat with everyone.
30.
▲
by
karanlyons
15y ago
I wouldn't pay for it either, since I only have to maintain contact with a manageable number of people. But were I the head of a large company, or in any position wherein I was keeping track with an un manageable number of people, I'd defi
More ›