Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
rictic
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
14 ms
·
151.
▲
by
rictic
5y ago
The security problems of a browser are very similar to the security problems of a traditional mainframe OS. You need to execute potentially malicious code in isolated containers (processes / pages). You need to protect the system from
152.
▲
by
rictic
5y ago
And with hooks that's become even more true, there's now a distinction between React functions and regular JavaScript functions, and you can only call a React function from another React function.
153.
▲
by
rictic
5y ago
Expanding on this, if you do all the work on the main thread, you're implementing a cooperative multitasking system, with all of the problems that entails. It's surprisingly hard to break up potentially long tasks in an ergonomic
154.
▲
by
rictic
5y ago
The miner received those ETH, nominally in exchange for their services validating transactions. Previous situations like this have been the result of the transaction author (or their software) making a mistake.
155.
▲
by
rictic
5y ago
The Rust compiler and ecosystem are tuned more towards generating faster code rather than generating smaller code. In my experience, even small wasm apps that are careful about their dependencies end up shipping hundreds of KB of wasm over
156.
▲
by
rictic
5y ago
- This is one big advantage for using Rust for both backend and frontend, in that you never have to worry about your types getting out of sync. One thing to be aware of here, you may have users with stale clients after deploying an update t
157.
▲
by
rictic
5y ago
Current hypothesis is that they're just moving slowly, there are signs of life
158.
▲
by
rictic
5y ago
TypeScript is deliberately not a language in the sense that you mean, and this is very much a load bearing part of the design and why it was successful. Many other languages have tried what you're suggesting, most infamously Dart, and
159.
▲
by
rictic
5y ago
In fairness to the TypeScript team, their position on this subject has been consistent for a very long time, since well before Deno. They do not see themselves as being in the business of rewriting import specifiers because there's jus
160.
▲
by
rictic
5y ago
> I don't care how safe it is I guess it's polite to point out when you're unwilling to change your mind based on evidence, but that's a hell of a take.
161.
▲
by
rictic
5y ago
Attacking a cell phone is different in some ways from attacking a subway system though. The cell phone's defenses are effectively 100% automated, and the attacker can buy a perfect copy of their intended target's phone to and safe
162.
▲
by
rictic
5y ago
If you pulled a marble out of a bag ten times a day, with a 0.1% chance each time that it was red: after a day you'd have a 1% chance of seeing a red marble, the first week you'd have a 6.7% chance, the first month you'd have
163.
▲
by
rictic
5y ago
I don't think I've ever heard someone argue that the rational position is the compromise in the middle. I have heard people argue that it's the only politically available option in one circumstance or another, which makes sen
164.
▲
by
rictic
5y ago
A "centrist" who looks at each issue and takes the average of the mainstream parties' positions is a fool, and will be wrong more often than someone who picks a party and follows along with their beliefs. Someone who looks at
165.
▲
by
rictic
5y ago
> An engagement pod is a group (or ‘pod’) of Instagram users who band together to help increase engagement on each other’s content. This can be done through likes, comments, or follows.
166.
▲
by
rictic
5y ago
China's digital Yuan has some similar properties to Ecash. You have horizontal privacy (you can spend your money without your partners knowing how much you have or what you do with it), but not vertical privacy (the government gets to
167.
▲
by
rictic
5y ago
It's more like, if you buy a Ford car, does Taco Bell owe 30% to Ford when you use their drive through? Or can Ford forbid Taco Bell from operating drive through stores of their own, and require Ford owners to go through Ford's ow
168.
▲
by
rictic
5y ago
I won't speak to profit, but battery performance per dollar has been improving at a fast exponential clip for the past couple decades, which is one of the largest costs of an EV. An EV drivetrain is also far, far simpler. Fewer parts,
169.
▲
by
rictic
5y ago
The closest I've seen is Idris, which lets you pass around data along with proofs about that data. The proofs can be generated at either runtime or compile time (the usual distinction between the kinds of things you can do at runtime v
170.
▲
by
rictic
5y ago
You can totally write web components with Preact: https://preactjs.com/guide/v10/web-components/ From a quick skim of their docs, it looks like AMP still uses web components. The nice part about web component
171.
▲
by
rictic
5y ago
You have the golden rule almost 100% backwards. It isn't "do unto others what you think they'd do unto you".
172.
▲
by
rictic
5y ago
Did they? You can rely on your reader to know that you're referring to Xinjiang.
173.
▲
by
rictic
5y ago
Yeah, and in the part of that second link that directly addresses the question: > *Will the FSD Computer make my car fully autonomous?* > Not yet. All Tesla cars require active driver supervision and are not autonomous. With the FSD C
174.
▲
by
rictic
5y ago
> Theae stats are often quoted by Musk and Tesla to suggest that driverless cars are here and safer than human drivers, and the only thing preventing them are regulators. That's surprising, I hadn't seen that. Could you link to
175.
▲
by
rictic
5y ago
Do you mean that any individual student driver is likely to have a perfect record because they haven't driven much? That seems like it wouldn't apply here, because Teslas have, in fact, driven a large number of miles. Or are you c
176.
▲
by
rictic
6y ago
Scaling may take us to some strange places, but it's worth noting that an Apple M1 chip has >100x the transistors of a 2004-era Pentium 4, and achieves ~500x the FLOPs at a fraction of the power draw. Yes this isn't single-thre
177.
▲
by
rictic
6y ago
My point is that your post is clearer with per capita numbers and percentages.
178.
▲
by
rictic
6y ago
> The US vaccinates 3 million every day. The US has like 30x as many people as Belgium. A better comparison would be Ohio, which has about the population of Belgium and is administering ~90k doses per day, which is sorta like vaccinating
179.
▲
by
rictic
6y ago
https://www.kalzumeus.com/2014/11/07/doing-business-in-japan... has more background on this and other aspects of business life in Japan. A few excerpts: > Need to file paperwork with City Hall? Someone fro
180.
▲
by
rictic
6y ago
Hm, that's accelerationist logic, wanting iOS to collapse to opposing things that would improve iOS for real world users. The downside is that if the brinkmanship fails and iOS doesn't collapse, then the primary outcome is just th
More ›