Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
vlovich123
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
2121 ms
·
7141.
▲
by
vlovich123
9y ago
I'm still learning the architecture but my understanding is that the way it works is that the frontend sends the character to the backend which incorporates it into the model & then generates a notification back to the front-end vi
7142.
▲
by
vlovich123
9y ago
Most of the messages are tiny & the decoding occurs off the main thread (encoding varies I think). JSON is definitely fine as a first choice to get the system running but we are considering at some point upgrading to something more mod
7143.
▲
by
vlovich123
9y ago
There's caching all over the place so that you don't end up redoing the expensive stuff (ie creating attributed strings & CTLineRefs). It seems to work pretty well in terms of maintaining 60fps.
7144.
▲
by
vlovich123
9y ago
This strategy might work semi OK for the same vendor, but I struggle to see how it works for Android vs iPhone since iPhones typically have half the RAM (since it's all native code instead of GC'ed Java) & a drastically more e
7145.
▲
by
vlovich123
9y ago
Or maybe read the thread beyond Linus' rant. You'll get a better appreciation for the context. My impression is that Linus probably just misunderstood what the context/purpose of the patch & he's frustrated by the
7146.
▲
by
vlovich123
9y ago
I highly recommend reading the rest of the thread beyond just Linus' complaint. This isn't about Meltdown but Spectre which impacts all CPUs with speculative execution. I believe these patches apply to AMD too even though Intel
7147.
▲
by
vlovich123
9y ago
I think my point was that they may teach you if you already have some fundamental knowledge (or help remind you of the rules anyway) but they're not instructive in and of themselves (you could copy-paste the suggestion to "fix&quo
7148.
▲
by
vlovich123
9y ago
Those 2 bugs are part of the class of timing attacks which are quite common for security & no amount of memory safety will help you there (as Spectre & meltdown have shown they're not even restricted to the SW domain). Same go
7149.
▲
by
vlovich123
9y ago
How many people do you think crime syndicates employ? Also, maybe coinbase has changed its policies but when I signed up I just needed a bank account #. Also, if you don't intend to transfer to/from fiat, Coinbase doesn't n
7150.
▲
by
vlovich123
9y ago
Note this is a hypothetical since it's quite possible it's not the case, in which case even by your logic the moron label is incorrect. So in your opinion engineers are unintelligent because they listen to the demands of people w
7151.
▲
by
vlovich123
9y ago
Here's the thing though. People always make mistakes. It's an unavoidable fact of life. The more power you have the bigger the scale of your fuckup. The problem is the denial of a problem (which Intel did in some ways & di
7152.
▲
by
vlovich123
9y ago
For the most part he actually does a good job staying away from personal attacks. The problem is that his approach isn't going to yield great results. For there's 2 problematic parts to this e-mail. The first is the personal att
7153.
▲
by
vlovich123
9y ago
I started a X business that only sells widget Y for bitcoins. You shuffle all the coins through intermediary wallets that use small payments. The current transaction fee is $20 but regardless of what it is you just scale how much you tran
7154.
▲
by
vlovich123
9y ago
> I would argue that the rest of your paragraph talks about how Rust (indirectly) improves security issues. I think perhaps I didn't communicate my meaning clearly enough. Rust does significantly reduce the risk of a certain class
7155.
▲
by
vlovich123
9y ago
Spectre & meltdown would like to have a word with you. Yes, memory/concurrency are a large class of problems for C/C++, but plenty of security issues still exist in other languages (check out the CVE count for Django for inst
7156.
▲
by
vlovich123
9y ago
You make some good points but I think it's incorrect to compare Rust & Go. Rust is a systems programming language. It competes with C/C++ more than other high-level languages. In fact, while Go was originally positioned as
7157.
▲
by
vlovich123
9y ago
It's a strawman in the sense that it's completely devoid of context with a contrived example. FWIW, I found 0 instances of something like this on GitHub ( https://github.com/search?q=%22ASCII_A%22&type=Code&
7158.
▲
by
vlovich123
9y ago
You could have a binary file format with a header of ABBA. You could choose to check the signature by doing an integer comparison of 65666665, 0x41424241 or "ABBA". Like I said, ASCII_A is a bit silly, but the maintenance value
7159.
▲
by
vlovich123
9y ago
In this strawman example, perhaps. However, code is usually surrounded by other code. So you could have the 'A' in multiple places. By using an explicit identifier you are protecting yourself against typos (depending on the lan