News for hackers. Stuff that matters.

1597

Re:Ask HN: Best way to learn advanced Python? on Friday August 05, 2022 @02:33PM (#32360048)
unless you're arguing for checked exceptions I don't see the evidence for inconsistency. Plus when it comes to knowing when something "is False" python's far more strict than c++'s boolean conversion rules.
Re:Enough with the notifications on Friday August 05, 2022 @11:28AM (#32357547)
My typical workflow when recording a video on iPad is: Turn on. Open Camera app. Press record. Wait 3 seconds. Dismiss "Sign in to iCloud" notification.
I've noticed this with youtube. Even though I'm on desktop with an adblocker they repeatedly autoplay the same video with a creator embedded crypto promotion at the beginning (especially when it would be plausible to infer I'm asleep from user interaction and clock/watch time). Must be getting a cut (plus scamming the ad buyer).
Re:Twitter accounts dropping “.eth” from usernames on Saturday April 09, 2022 @09:00AM (#30967677)
"h" suffix is a pain in the ass in MASM and probably other assemblers (a leading 0 is required for hex literals that begin with a letter to distinguish from identifiers e.g. mov eax, 0FACEDEEDh)