Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
roca
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
39 ms
·
511.
▲
by
roca
5y ago
Feel free to not use those apps. But a lot of people do want to use them.
512.
▲
by
roca
5y ago
No, Go is not memory safe for concurrent code. Race detection is good but can't eliminate races altogether.
513.
▲
by
roca
5y ago
That paper has many problems. For example: > There is no particular need to rewrite existing C code, provided the same benefit can be obtained more cheaply by alternative implementations of C To be clear, those "alternative implemen
514.
▲
by
roca
5y ago
Lots of sites use WebRTC for video and audio calls. Google Meet, Discord, Slack for example. On desktop it's far more secure to use those in-browser than via desktop apps.
515.
▲
by
roca
5y ago
Chrome eating the Web is something Mozilla cares very much about.
516.
▲
by
roca
5y ago
How did Mozilla lose interest? Firefox for Android supports PWAs. Firefox supports push notifications on both Android and desktop.
517.
▲
by
roca
5y ago
"A sufficiently advanced compiler will optimize all the overhead away" is the standard line for all high-level languages with automatic memory management. It works for tracing GC too, you just need "sufficiently advanced"
518.
▲
by
roca
5y ago
Lots of porn users are unhappy about their use of porn. Lots of people are unhappy about their partner's use of porn. Lots of therapists are worried about their clients' use of porn. Etc. And these are not issues of stigma; we kno
519.
▲
by
roca
5y ago
We've been doing a decades-long experiment to test whether getting rid of the stigma makes porn harmless. So far, the results aren't good. But for the sake of science apparently we have to run the experiment to the end.
520.
▲
by
roca
5y ago
Nope. Swift manages memory via reference counting, which turns read-only workloads into read-write workloads, which is inherently problematic.
521.
▲
by
roca
5y ago
Apple is using Rust too. We don't know how much, because Apple. > doesn't have a path to interact with any language other than C https://crates.io/crates/cxx > so new code in existing libraries may not
522.
▲
by
roca
5y ago
> That’s your baseline — you can expect that order of magnitude of bugs in the initial release of your rewrite. My point was that the test suite you start with for your rewrite will be (or at least should be) a lot better than the test
523.
▲
by
roca
5y ago
> if your goal is security The goal is never just security. E.g. for a Web browser like Firefox the priority has to be to be as fast or faster than the competition, THEN be secure. That's just the reality of what users care about. I
524.
▲
by
roca
5y ago
There is a bit of a risk of new bugs that Rust doesn't catch, but if your development process is at least modestly competent you'll have a large suite of automated tests for the bugs you found in the previous iteration of the soft
525.
▲
by
roca
5y ago
Even infinite looping is much better failure mode than "villains seize control of your device".
526.
▲
by
roca
5y ago
The overhead of the stream abstraction is typically a lot greater than the cost of accessing a byte array. Also, maybe I'm wrong, but when I read "image parsing" I think that actually means "image decoding".
527.
▲
by
roca
5y ago
"Rewrite everything in Rust" is not that useful, but "write new code in Rust so you're not digging deeper holes" and "rewrite your most sensitive code in Rust" is pretty good advice.
528.
▲
by
roca
5y ago
It's memory-safe (assuming you avoid the use of the 'unsafe' keyword) and it's performant. In particular, for fast parsing of large objects you want to avoid copying data as much as possible, and Rust's lifetime m
529.
▲
by
roca
5y ago
You can just use a handwritten parser in any memory-safe language. However, I suspect parsers for big objects like images tend to have more vulnerabilities because developers try to avoid copying data, for performance reasons. Many memory-s
530.
▲
by
roca
5y ago
"exaggerated to the point of caricature" is de rigeur for wuxia.
531.
▲
by
roca
5y ago
Is it a "Western stereotype of the Oriental" if it's also been part of Chinese culture since time immemorial?
532.
▲
by
roca
5y ago
> “There are Western fantasies about every martial art,” explains Sánchez-García. “Karate is laden with mysticism and stories about secret cults, which are part of the stereotypical vision of ‘the Oriental.’ Films, in particular, spin fa
533.
▲
by
roca
5y ago
FWIW, in the NZ context, AFAIK there are no tax advantages for NZ's investor visa schemes (over whatever all NZers enjoy). And NZ is far from a tax haven.
534.
▲
by
roca
5y ago
> And it would have been relatively easy to put up a notice that said "your DNS server seems to be dropping all EDNS0 data or whatever stupid thing it's doing; would you like to switch servers"? Which would have avoided ce
535.
▲
by
roca
5y ago
> Any tips for how to break into the US market? Most people I know doing this have a network, but there are companies that would probably interview you without a referral. In particular fully-remote companies like Zapier and Gitlab would
536.
▲
by
roca
5y ago
Yes, but it's not that expensive when you do have to pay. The fees don't even cover the full cost of the MIQ stay. It should be double or triple the cost of the MIQ stay because of the opportunity cost.
537.
▲
by
roca
5y ago
I have no reason to believe Hölzle is particularly corrupt or that he obtained entry in a way that's more corrupt than the banal "paid really diligent people to work the bureaucracy to his advantage". NZ's tolerance for
538.
▲
by
roca
5y ago
Our IT market is absolutely starving for people. The problem is, local companies don't pay very much. They consider a 150K NZD a good salary. You can make twice that if you get a job doing similar work remotely for a US company; I used
539.
▲
by
roca
5y ago
NZer here. Everything is expensive, there are some good houses, and local opportunities don't matter if you have your own business or work remotely for a US company (I've done both). With the right remote job you get paid enough t
540.
▲
by
roca
5y ago
The day-ahead thing is fine. I work half-day on Saturday and Monday is nice and quiet.
More ›