Hacker Newsnew | past | comments | ask | show | jobs | submit | cryptofistMonk's commentslogin

Wait is go test automatically running it under QEMU or what's going on here?


Ah I found this https://ctrl-c.us/posts/test-goarch I guess it's qemu-user-binfmt registering the alternate bin formats to automatically run under QEMU, that's pretty neat


Yep.

The Go build system runs under your current architecture, cross-compiling tests to your target architecture.

Then, the Go test runner also runs under your current architecture, orchestrating running your cross compiled test binaries.

Since you registered to run cross-compiled binaries under QEMU, those test binaries magically run through QEMU.

The Go test runner collects test results, and reports back to you.

The first run might be slowish, as the Go compiler needs to cross compile the standard library and all your dependencies to your target platform. But once that's done and cached, and if your tests are fast, the edit-test cycle becomes pretty quick.


Hah, got it in 4 even though my first guess started with 'a' because I didn't know this was binary search yet


"They’d switch to a 4096 bit RSA key, but not only was I no longer able to mint my own API tokens, the legitimate ones I’d initially generated still worked."

I wonder how the old JWTs signed with the 512-bit key still work safely, isn't that 512-bit key cracked??


This is not really that worrying IMO - we already have weaponized toxins, viruses, and enough explosives to blow up the entire planet. So what if an AI can come up with something a little bit worse? It isn't the existence of these things that's stopping us all from killing each other.


> sounds like you're in a place where an EV doesn't make sense. They don't make sense for everybody, but that doesn't mean they aren't fine for the majority of people who drive. So don't buy an EV

Sounds great, the problem is when law makers get involved - BC is banning the sale of ICE vehicles within the next 10-15 years, the law is already on the books. Plenty of real cold places here, not to mention the fact the our electrical grid will never be able to keep up


Damn, unfortunate that you will revoke all these certificates if there is truly no security risk. This is likely going to break a lot of our users, or require manual intervention within the next 42 hours.



Seems like a very simple email filter would do the job, for internal emails at least


Very often unpaid


The Pastors I've known in my life have been dual-income households, and Megachurches are infamous for using that set-up. Though I grew up in a small town with a decent mix of residential incomes, so there was no particularly poor churches in town.


Presumably order numbers are easily guessable, so the md5 really offers no protection at all in this case and is no better than just using the order number


And the thing is, even if they can't be guessed, it's only 999,999 calls to try every 6-digit possibility. And you'd only take 11 days if you were nice and paced yourself to 1 req/sec.


You don't even need to store multiple hashes, just check both versions of the submitted password against the one stored hash


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: