Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
roblabla
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
49 ms
·
481.
▲
by
roblabla
7y ago
Given hulu is supported, it’s pretty weird. Nintendo clearly doesn’t mind streaming apps. So I assume it’s netflix that’s uninterested in the platform, not Nintendo. But I’m an outsider, this is all speculation.
482.
▲
by
roblabla
7y ago
Keeping it separate allows ensuring the test works easily: just revert the fix keeping only the patch for the test and make sure the test fails. My workflow tend to be to keep them separate, and write a big description in the merge commit r
483.
▲
by
roblabla
7y ago
Not an issue for me, my kernel has no swap or other such thing - by design. Of course I realize not everyone is in my shoes - such an approach would absolutely fail on Linux!
484.
▲
by
roblabla
7y ago
Yeah, at first I wanted to use TSX exclusively, but I came to the same conclusion you did while digging into it more deeply. I still think having a fast path using TSX could be useful, but since I never had a CPU with it, I never had a chan
485.
▲
by
roblabla
7y ago
Unsure if this is a joke and I'm about to be wooshed, but for anyone who doesn't know: Unfortunately, IA-64 is already taken for the itanium architecture. That's why the Intel Software Developer Manual names it IA32-E and not
486.
▲
by
roblabla
7y ago
FWIW, my understanding is that XBEGIN/XEND/XABORT are still available on the affected CPUs. Only XACQUIRE/XRELEASE are disabled. So the clock isn't really reset. I, too, wish TSX was more ubiquitous. I'm working on
487.
▲
by
roblabla
7y ago
The problem with File::create is that it must interoperate with the existing OSes. And it turns out, File::create can fail for many many reasons. Your file can be on disk, it can be remotely accessible on the network, it can be virtual, etc
488.
▲
by
roblabla
7y ago
I’m pretty sure this is wrong. JS objects and arrays are different. The former will only yield elements from the array itself when iterated on, and has a consistent iteration order, while the later does not.
489.
▲
by
roblabla
7y ago
What your parent is suggesting is to make those private APIs public, or at least make a public replacement. It's not calling into question the ban, but instead saying that there's a hole in the public API Apple provide and that th
490.
▲
by
roblabla
7y ago
A technical solution is good, but it only protects the tech savvy. The GDPR gives us several additional guarantees compared to the technical solution: - It protects everyone equally. - It shifts the incentives towards not collecting, since
491.
▲
by
roblabla
7y ago
With async-std, you can just do let future = async_std::task::spawn(timer_future()); And then do more work. The timer_future will run cooperatively, and the future returned by spawn is merely a “join handle”. But this is a feature
492.
▲
by
roblabla
7y ago
Join doesn't do everything. It's just a way to take multiple futures, and return a Future wrapping them all. I think there's a misunderstanding of how Futures and Executors interact in rust here which is why everyone is havin
493.
▲
by
roblabla
7y ago
> * Calling an async function constructs its stack frame without running any of its body. This is actually possible to do by using async blocks instead of async functions. E.G. you can write this: fn test() -> impl Future<Out
494.
▲
by
roblabla
7y ago
This is where things get tricky: Rust didn't standardize an event loop - it only standardized common traits that allow implementing one, and a way to communicate whether a computation needs more time or already has a result. If what yo
495.
▲
by
roblabla
7y ago
Rust and JS have very very different execution models. You can absolutely control how many futures are allowed to make progress at the same time fully in userspace. If you're joining N futures, and want to only allow M futures to make
496.
▲
by
roblabla
7y ago
In Rust, you can use a future adapter that does this: futures::join!(asyncTaskA(), asyncTaskB()).await See the join macro of futures[0]. The way it works is, it will create a future that, when polled, will call the underlying poll
497.
▲
by
roblabla
7y ago
I mean, if someone is forcing me to login at gunpoint, I'll gladly oblige - no need for them to gouge my eye out. This is not the threat model being used here. This feature is meant to protect you when you forget your yubikey on your l
498.
▲
by
roblabla
7y ago
By nobody, I meant here in this article. Also, just a nit, iPhones aren't purely biometric. You have to input your pin after reboot or a long period of inactivity. I'll agree it's still a bit too close to being a password for
499.
▲
by
roblabla
7y ago
If your server is running baremetal, no problem. If it's running on a shared hosting environment, a co-tenant VM can exfiltrate your data. See L1TF/Foreshadow.
500.
▲
by
roblabla
7y ago
That's why you combine them. Nobody is saying auth should purely be based on biometric. It's all three: Something I know, AND something I have, AND something I am. If your DNA is compromised, you still have the thing you know and
501.
▲
by
roblabla
7y ago
Well, why the hell is electron/chromium using private APIs? That seems like the real problem here...
502.
▲
by
roblabla
7y ago
Go has a few escape hatches like the unsafe package, but outside from that, I'm pretty sure arbexec isn't achievable in Go. The compiler inserts bounds check to prevent overflows, UAF isn't really achievable thanks to the G
503.
▲
by
roblabla
7y ago
I mean, for 99% of the packages in most distribs, that’s how it works. Someone makes a cool binary, someone else packages it up and submits it to their favorite distro’s package manager.
504.
▲
by
roblabla
7y ago
They can drag and drop it on the firefox window and it will install it just fine still. The only change that is happening is auto-installation of extensions found in a specific folder, which is how a lot of crapware extensions find their wa
505.
▲
by
roblabla
7y ago
I have exactly the same problem on my personal email server, ms silently drops my email! Their server replies with OK, but the email is nowhere to be found in the recipient’s inbox. Even if the conversation was initiated by the microsoft ac
506.
▲
by
roblabla
7y ago
> They made it difficult to get a good timing source in JS, so there’s that. No, they didn't. A while loop with a counter is a good timing source, and you can't really prevent that without severely crippling everything's p
507.
▲
by
roblabla
7y ago
Gamers aren't very loyal. And Blizzard has certainly not been defended by its gamers here - it's been heavily condemned by the whole gaming community, which is why we're hearing so much about it and blizzard is issuing a PR
508.
▲
by
roblabla
7y ago
That looks cool! Any chance it gets upstreamed into rust proper? And if so, is there a place to keep track of that progress?
509.
▲
by
roblabla
7y ago
Then only click on links that say "Free Software". OSI redefined "Open Source" post-facto, and it has always been somewhat ambiguous. Free Software has always been unambiguously "Free as in Freedom Software".
510.
▲
by
roblabla
7y ago
> There's no rule that your DNS server must be on the same network as you, or send your subenet if it isn't. It's the default configuration. 99% of internet users follow this configuration (at least, until web browsers sta
More ›