Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
vivekseth
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
31.
▲
Is an MBA useful for starting a business?
(farhad667.wordpress.com)
1 points
by
vivekseth
6y ago
|
1 comments
32.
▲
Three suggestions to improve the CSV “Standard” (RFC 4180)
(github.com)
1 points
by
vivekseth
6y ago
|
0 comments
33.
▲
by
vivekseth
6y ago
Hashes are inherently lossy. Although a rainbow table can maybe tell you one possible input for a given hash, it cannot tell you exactly what was hashed.
34.
▲
by
vivekseth
6y ago
Surprised no one has mentioned https://darknetdiaries.com yet! The podcast covers the stories of hackers, and the stories behind hacking attacks like Stuxnet. The creator comes from the cybersecurity field, so episodes don'
35.
▲
by
vivekseth
6y ago
Maybe a concise way to describe it is that in databases NULL represents the absence of a value. Since NULL is not a value, operators like == and != don't really make sense on NULL, and also produce NULL as an output.
36.
▲
by
vivekseth
6y ago
Thanks for the explanation, I forgot that null != null in databases. I was thinking more about how null != 0 and is a separate concept in languages with optional values. You’re right that optionals in these languages don’t quite work the sa
37.
▲
by
vivekseth
6y ago
Although this is relevant for languages like C where NULL == 0, other (typically more modern languages) treat Null similar to how databases treat it. Ex: Swift, Kotlin, Rust
38.
▲
by
vivekseth
6y ago
I don't think it is not possible to enforce perfectly sequential numbers at the application level. This is the same problem as multiple threads trying to increment the same global variable. Unless there is mutual exclusion while the va
39.
▲
by
vivekseth
6y ago
In addition to the suggestions in the post, I would strongly recommend https://www.craftinginterpreters.com/ It’s a very clear introduction to creating a language and building parser, interpreter, compiler, and VM for it. T
40.
▲
by
vivekseth
7y ago
The primary use of MMKV seems to be a replacement for NSUserDefaults. I agree the SQLite is probably the best solution overall, but this could be a faster alternative to anyone just using NSUserDefaults
41.
▲
by
vivekseth
7y ago
Couldn’t find IDOL on Affirm’s github. Is any of it open source? I’d love to take a look if so.
42.
▲
by
vivekseth
7y ago
I’d bet that the compilers mostly commonly used would probably inline a function only used once. If not, many languages provide an `inline` keyword to tell the compiler to in-line the function directly. Even if there was no way to inline a
43.
▲
by
vivekseth
7y ago
There is! https://sapper.svelte.dev/
44.
▲
by
vivekseth
7y ago
I haven’t done much React, but I’ve played around with svelte a bit recently and I haven’t found any severe issues with the props model. What don’t you like about it?
45.
▲
by
vivekseth
7y ago
I think the OP is thinking of InsomniaX ( https://github.com/semaja2/InsomniaX ). That’s what I first thought this was too
46.
▲
by
vivekseth
7y ago
That link defines what the IETF means by "rough consensus". In this context, I think it just refers to "general agreement". https://www.merriam-webster.com/dictionary/consensus
47.
▲
by
vivekseth
7y ago
Yeah! I find git to be easy to understand conceptually, but the CLI is unintuitive and sometimes inconsistent. I often know exactly what I want to do, but don't know how to phrase it in a git command.
48.
▲
by
vivekseth
7y ago
Why not something as simple as `return (a - b)` ? It’s concise and simple to understand. Instead of returning 1 or -1 it returns a positive or negative value with I think is equally effective.
49.
▲
by
vivekseth
7y ago
When I said "class", I really just meant "type". CRDTs are relatively new so there may not be many classes yet that teach them. If you want to learn about them, I recommend you first watch this video: https://
50.
▲
by
vivekseth
7y ago
Recently, I've been into learning about CRDTs a class of data structures which can be edited independently and merged without conflicts. They can be used to build experiences similar to Google Docs (although Gdocs uses a different appr
51.
▲
by
vivekseth
8y ago
If a+b != b+a that breaks the commutativity property of addition.
52.
▲
by
vivekseth
8y ago
One downside to static typing is the overhead required when writing/running programs. For example, let's say you have a class `Dog` that you want to rename to be more generic so you now call it `Animal`. In Python you can test out
53.
▲
by
vivekseth
8y ago
“Off to Be the Wizard” from the Magic 2.0 series
54.
▲
by
vivekseth
8y ago
You can use an Apple Watch to unlock a Macbook!
55.
▲
by
vivekseth
8y ago
Why don’t you do it?
56.
▲
by
vivekseth
8y ago
Do you guys hire other kinds of servants for things like cooking/cleaning/laundry?
57.
▲
by
vivekseth
8y ago
Yeah, I don’t think I’ll fully trust self-driving cars until they are safe enough to operate in India. I wouldn’t even trust myself to drive in India.
58.
▲
by
vivekseth
8y ago
Are drivers in India limited to just the upper class? Whenever I visit India it feels like anyone who’s not lower class can afford to hire a driver.
59.
▲
by
vivekseth
8y ago
Someone can be male without even having a Y chromosome: https://www.encyclopedia.com/science/encyclopedias-almanacs-...
60.
▲
by
vivekseth
8y ago
I think humans can see a wider range of blues and greens than they can yellows and reds. Check out: https://upload.wikimedia.org/wikipedia/commons/thumb/3/3b/CI... I believe this chart roughly corre
More ›