Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
roca
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
12 ms
·
211.
▲
by
roca
4y ago
In Auckland I run home from work barefoot most days. And I work for Google.
212.
▲
by
roca
4y ago
Controlling mutation by completely abolishing it is one way to go, but often inefficient. Rust gives you a nice third way.
213.
▲
by
roca
4y ago
I agree that GC languages are faster for prototyping, but this article downplays the disadvantages of GC. E.g. "deterministic destruction" is listed as a benefit of reference counting, but it really should be listed as a disadvant
214.
▲
by
roca
4y ago
gdb's built-in recording slows down the debuggee by about 1000x, rr more like 2x. That makes a huge difference in practice. rr's recording works across system calls, thread context switches, etc, but gdb's doesn't. rr&#x
215.
▲
by
roca
4y ago
I think the most interesting thing about C++ in 2022 is that big C++ names at Google are saying in public that if you can use Rust instead of C++, you should. https://github.com/carbon-language/carbon-lang/blob
216.
▲
by
roca
4y ago
Now.
217.
▲
by
roca
4y ago
rustls isn't formally verified but no critical CVEs have been found in it yet. The only CVE is one DoS. And I don't know about "used at scale" but we use it in production for Pernosco.
218.
▲
by
roca
4y ago
Anyone who writes a library that might get used in a context where it is presented with inputs derived from potentially malicious data, is writing security-critical code whether they acknowledge it or not.
219.
▲
by
roca
4y ago
Moral non-realism is intellectually attractive (especially to religious non-believers who cannot accept divine command theories), but in practice practically everyone seems to speak and act as moral realists. Example: https://rob
220.
▲
by
roca
4y ago
This isn't a good example to use to critique the Start Menu because it's a special case --- downloading Chrome is an action that Microsoft does not want you to complete, so making it a good experience is a Microsoft non-goal.
221.
▲
by
roca
4y ago
Yeah, Messages device pairing should work perfectly for this.
222.
▲
by
roca
4y ago
This is trivial for Android phones running the Google Messages texting app. Go to https://messages.google.com , scan the QR code with the Messages app, and now all your text messages are accessible via the Messages Web site. Bank
223.
▲
by
roca
4y ago
I'm pretty sure one major reason Martin hasn't finished WINDS OF WINTER after over 10 years (never mind A DREAM OF SPRING) is that he he finds it easier to spawn new characters and subplots than to wrap them up. I.e. the TV series
224.
▲
by
roca
4y ago
This seems like a bad assumption: > stars suitable for settlement should provide “environments nearly identical to that of the home planet.” Seems pretty clear that we're on a path to machine intelligence, and that interstellar voya
225.
▲
by
roca
4y ago
Google staff aren't allowed to share Imagen results with you, unfortunately.
226.
▲
by
roca
4y ago
Keeping GPT-3 behind an API lets OpenAI track how the model is being used and filter outputs they deem potentially harmful.
227.
▲
by
roca
4y ago
In the USA, the baby boomer gerontocracy has amassed dominating wealth and power to the detriment of all. It's daunting to imagine a world where they never die . "Do something about it" is much easier said than done. Another
228.
▲
by
roca
4y ago
It's true that writing code in safe Rust does not make other non-Rust code safe. Nevertheless, the more code we write in Rust, the safer we will be. Especially because popular kernels and system libraries are often very well tested the
229.
▲
by
roca
4y ago
> the big problem is that for applications that do need to do non-trivial reference semantics, Rust doesn't really offer much. For those applications you can almost always encapsulate the unsafe code in a data structure library with
230.
▲
by
roca
4y ago
You seem to be saying that if she had not reigned, that suffering would not have occurred. That seems unlikely.
231.
▲
by
roca
4y ago
For better or worse, you very very quickly pile up complexity when programming in a way that novices can't deal with (and experts too, often). What we're going to find out is whether novice users of image generator AIs frequently
232.
▲
by
roca
4y ago
A function returning a value that depends on the lifetime of the function's parameter is not crazy at all. Every class getter method that returns a reference to a member of the class does this.
233.
▲
by
roca
4y ago
Political representation of different view/value systems is much better in the USA than in China. > (Though viewing China as a full autocracy with absolute power of a single individual is extremely simplistic) It's overly simpl
234.
▲
by
roca
4y ago
The CCP: -- Put a million Uighurs in camps -- Persecutes followers of pretty much all religions --- Muslims, Christians, Buddhists, Falun Gong, etc -- Flat-out censors anything that offends them in the slightest -- Puts whoever they want in
235.
▲
by
roca
4y ago
You don't have to be American to see American big-tech companies as the lesser of two evils here.
236.
▲
by
roca
4y ago
I strongly agree with this. It's a dangerous tool, and it's easy to imagine the CCP seizing that tool in an emergency.
237.
▲
by
roca
4y ago
iPhone Firefox isn't really Firefox, it's still using Apple's Webkit engine (as does Chrome on iPhone).
238.
▲
by
roca
4y ago
I'm just saying that declining office attendance is self-reinforcing, not making a judgment whether it's good or bad. FWIW I think remote work has many good effects. It's let me live in New Zealand and do interesting work, fo
239.
▲
by
roca
4y ago
There are (at least) two powerful forces that will make "hybrid work" evolve into "WFH" at many offices. What I saw at Mozilla with a remote-heavy workforce is that declining office attendance is a vicious cycle. The few
240.
▲
by
roca
4y ago
To a large extent this is what happened at Mozilla pre-pandemic. It was always a remote-heavy group because of its open-source roots, and over time office attendance just eroded away in many locations. I expect this to happen at a wide rang
More ›