Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
eridius
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
60 ms
·
631.
▲
by
eridius
8y ago
Lately I've been getting reCAPTCHA prompts all the time even though I'm not browsing in incognito mode and haven't cleared cookies. All I'm doing is running a very basic ad blocker, using Safari (which blocks third-party
632.
▲
by
eridius
8y ago
They were "not accurate". That's a deliberate choice of words. There's a ton of ways to say "BuzzFeed's story is wrong", and they went with the phrasing that could mean "BuzzFeed's story is 99% a
633.
▲
by
eridius
8y ago
Nope. From your own link: > “BuzzFeed’s description of specific statements to the Special Counsel’s Office, and characterization of documents and testimony obtained by this office, regarding Michael Cohen’s Congressional testimony are n
634.
▲
by
eridius
8y ago
The poll on the "What is this?" page is pretty stupid. Legal Poll: Is it illegal to walk into someone else's home uninvited if the door is wide open? No door, no locks, no guard dog, no "no trespassers" sign at all.
635.
▲
by
eridius
8y ago
Some details are merely descriptive. Others have a history of being associated with discrimination in some form. Unless race is relevant to the story, it should be omitted. I’m sure there are plenty of other details about the couple that co
636.
▲
by
eridius
8y ago
Slack migrating to Electron was by far the worst decision they’ve ever made for UX. That one migration introduced a ton of bugs and platform inconsistencies, most of which are still around. One I just complained about the other day is Ele
637.
▲
by
eridius
8y ago
AIUI the mechanism the FBI used was already known to not work on newer devices at that time and only worked because the iPhone in question didn't have a secure enclave.
638.
▲
by
eridius
8y ago
> For example as a merchant you don't have to trust PayPal with your money and trust them to process credit cards from the buyer and then send it to you. > You can just accept payments digitally directly like if they gave you
639.
▲
by
eridius
8y ago
> Cryptocurrencies doesn't remove all trust. It's about removing trust in third parties to send and receive transactions. That's it. And that's a big deal. I'm not sure what you mean by this. In a "normal&
640.
▲
by
eridius
8y ago
I believe the implication is that when he wrote the code it compiled just fine. There were no reentrant mutexes, so one can assume the database connection he was working with conformed to Send at that point, and it was only with the additio
641.
▲
by
eridius
8y ago
Oh you're right. I glanced at the spec and saw that it defined build metadata as [0-9A-Za-z-] but didn't realize that it was actually defining this as a dot-separated series of components where each component was [0-9A-Za-z-].
642.
▲
by
eridius
8y ago
I would suggest putting it in the "build metadata" section then. If you're already putting a commit hash there, you can use the hyphen to separate it, like. 1.5.4+build123-b5bb9d80
643.
▲
by
eridius
8y ago
SemVer calls it a pre-release identifier but you can in fact put anything you want in there that matches the syntactic rules, so you could just use your build id as a pre-release identifier. Or as the build id field, if you're not alre
644.
▲
by
eridius
8y ago
The site claims it works on mobile > On mobile, a user starts touching their display before releasing it, leaving on average 90 ms to preload the page.
645.
▲
by
eridius
8y ago
Overwriting the heap is pointless if you immediately crash due to hitting the guard page(s). The point is to move the stack pointer without actually writing anything, so you can then write what you want into the heap without crashing. The 2
646.
▲
by
eridius
8y ago
You're not supposed to use the array, it's just supposed to exist on the stack. I'm not sure how to ensure the stack space isn't reclaimed; maybe we can do something with declaring it up top, then putting the `if` that
647.
▲
by
eridius
8y ago
A [u8;32] doesn't work with Pin. Pin only works when you wrap it around a pointer type. From the documentation on Unpin: > Since Rust itself has no notion of immovable types, and will consider moves to always be safe, this trait ca
648.
▲
by
eridius
8y ago
There's 2 ways Apple handles music you've ripped. If the music's fingerprint matches that of something they already have in the iTunes Store, your iCloud Music Library will be populated with the iTunes Store version of the so
649.
▲
by
eridius
8y ago
They probably did do this in the first place. But products change over time, so they need to keep doing them.
650.
▲
by
eridius
8y ago
You might be able to hack it by saying something like let huge_ary: [u8; 2097152]; if false_value_compiler_cant_prove_is_false { huge_ary = [0; 2097152]; } // hopefully huge_ary has reserved space on the stack despit
651.
▲
by
eridius
8y ago
Rust isn't going to just silently move the pointed-to data in something like Box<[u8; 32]>. It looks like the point of Pinned is to protect against operations like swap() that would move the pointed-to data, but the point here is
652.
▲
by
eridius
8y ago
> For example, the maximum value for CPU utilization that you can have regardless of load is 100%. I'm surprised it can't use load average to estimate the true resource demand.
653.
▲
by
eridius
8y ago
I haven't tried, but maybe with something like let huge_ary: [u8; 2097152 /* 2MiB */] = unsafe { ::std::mem::uninitialized() }; // hopefully huge_ary has bumped the stack pointer past any guard pages /&
654.
▲
by
eridius
8y ago
I'm not particularly familiar with Pinned but the documentation on std::pin suggests it prevents moving data, not copying data (and is primarily designed around enabling self-referential structs).
655.
▲
by
eridius
8y ago
This is almost certainly due to the car trying to use the old iPod control protocol to tell your device to play. AFAIK that protocol just talks to the Music app, but it's also been obsolete for years.
656.
▲
by
eridius
8y ago
> The recent change to the default media player for play-pause away from the last app and to Apple Music is one example. What are you referring to? The play/pause button has never been an "Apple Music" button, and in f
657.
▲
by
eridius
8y ago
It's definitely not security theater. But it's also not perfect, and they can only catch the things they actually look for.
658.
▲
by
eridius
8y ago
Of course, serving up javascript from your backend to a [JSContext evaluateScript] call is itself a violation of the app store guidelines. Interpreted code not executed as part of a web page rendered by WebKit either has to be bundled in th
659.
▲
by
eridius
8y ago
Cargo.lock is something the top-level program uses. If you're writing a library that does crypto, your Cargo.lock will be ignored by any upstream libraries/applications that depend on you (and because of this the recommendation is
660.
▲
by
eridius
8y ago
Huh. Seems to me they should just do that for everybody instead of for people with DNT turned on.
More ›