Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
cesarb
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
43 ms
·
601.
▲
by
cesarb
2y ago
> but any sane security policy will have certificates that expire and that in turn means that in a couple years your build environment won't be reproducible anymore. "Reproducible" is usually defined as "identical out
602.
▲
by
cesarb
2y ago
> I think Fukushima shows that reactor accidents will happen from time to time, and when they happen, it's a disaster. IMO, the most important thing about Fukushima is not how much damage it might or might not have caused. The most
603.
▲
by
cesarb
2y ago
> That's why I'm advocating for nuclear. It's not meant to turn on and off -- fine, but it will buy us time to invest in storage infrastructure and develop plans to move those electrons around at a moment's notice. On
604.
▲
by
cesarb
2y ago
> Question is - how can pumped hydro be probably ever "maxed out"? Playing devil's advocate: once you've run out of places with enough height difference to build one upper and one lower reservoir. It's going to t
605.
▲
by
cesarb
2y ago
> it’s hard to know whether it’s possible to “cold start” the grid at all, much less timely. This is called "black start", and it's something all grid operators plan for and regularly test. How it works is very simple: som
606.
▲
by
cesarb
2y ago
> I'd rather categorize handwaving of Rusts additional complexities by their community as silly. I believe what steveklabnik meant, was that all this extra complexity (the borrow checker) already exists in the language for other rea
607.
▲
by
cesarb
2y ago
> It turns every read into a write. Not exactly; it turns every passing of a reference , even when it's going to be used only for reading (or not used at all, or just passed on further) into a write of the reference count. But if y
608.
▲
by
cesarb
2y ago
> JavaScript was forced on the world by being the language of the browser, but Java was foisted on the world by Sun Microsystems in a massive marketing campaign. [...] Don't forget the millions Sun spent literally ADVERTISING Java.
609.
▲
by
cesarb
2y ago
> You could collect rainwater, but realistically water outages are usually not "the taps are dry", but rather "the water treatment plant failed so we can't guarantee the water is safe to drink." This happened lit
610.
▲
by
cesarb
2y ago
> Thus, your syscalls might be using a newer version of the table but it a) not actually be implemented, That's the same case as when a syscall is later removed: it returns -ENOSYS. The correct way is to do the call normally as if i
611.
▲
by
cesarb
2y ago
> It's true that Linux has a stable-ish syscall table. It's not "stable-ish", it's fully stable. Once a syscall is added to the syscall table on a released version of the official Linux kernel, it might later be
612.
▲
by
cesarb
2y ago
> Would some kind of LD_PRELOAD interception for socket(2) work? That would only work if the call goes through libc, and it's not statically linked. However, it's becoming more and more common to do system calls directly, bypas
613.
▲
by
cesarb
2y ago
The metadata about the linked document ( https://www.ietf.org/archive/id/draft-peabody-dispatch-new-u... ) is at https://datatracker.ietf.org/doc/draft-peabody-dispatch-new-... which shows that
614.
▲
by
cesarb
2y ago
Static linking in Go and Rust includes compiled code only for the target platform. It does not include compiled code for every possible architecture, including 32-bit MacOS and Solaris on PowerPC.
615.
▲
by
cesarb
2y ago
> [...] and this cost is worth it only when native calls are relatively common. In Java they are rare and easily abstracted away, [...] but it's clearly the right one for Java given the frequency of native calls [...] Native calls a
616.
▲
by
cesarb
2y ago
> While the justifications given are great for the consumer, I didn't see any reason for a manufacturer to sign on. [...] So, why should they relenquish that to the user? It makes sense that the first ones to use this new standard w
617.
▲
by
cesarb
2y ago
> Sounds pretty bad for people living in warmer climates then, as they tend to be above 30 celsius anyway. ;) As a data point, the ambient temperature right now where I live is 33°C. I just walked home from a quick grocery trip a couple
618.
▲
by
cesarb
2y ago
> As the post explains, the Reliable and Safe bit are really handled by the car, not the charger. Not all of it; the whole point of having a controller on the wall box is that there's mains power in the cable only while it's pl
619.
▲
by
cesarb
2y ago
> But AFAIK there is no Linux equivalent to loadlin, so I can't use a live image as a flexible environment from which to run a bootloader like I did with MS-DOS over a quarter of a century ago. There's kexec ( https://
620.
▲
by
cesarb
2y ago
The difference is that WSL either emulates the Linux system call interface (WSL1) or runs Linux on a VM (WSL2); in both cases, the operating system running the machine is still Windows. With LOADLIN, the Linux kernel completely replaced MS-
621.
▲
by
cesarb
2y ago
> There's a capability baked into the entire system named 'setuid' which allows certain binaries run by a user to access things as if they were root. It's actually "to access things as if they were the owner of t
622.
▲
by
cesarb
2y ago
> and so you could install Linux without its own partition right beside DOS. Then you'd use loadlin which would load the kernel into memory and run it, basically shoving DOS out of memory. It was more than just "install Linux w
623.
▲
by
cesarb
2y ago
The Brazilian CPF (our equivalent to the SSN) goes up to eleven (literally) by including not one, but two check digits; IIRC, the first one (the tenth digit) is computed over the first nine digits, and the second one (the eleventh digit)
624.
▲
by
cesarb
2y ago
> UK becomes first country to ban default bad passwords on IoT devices It might be the first country , but as far as I know, not the first place to do that; I've read at https://www.servethehome.com/why-your-favor
625.
▲
by
cesarb
2y ago
> If you are writing calendar software, it is legitimate to have "floating time" i.e. your medication reminder is at 7pm every day, regardless of time zone, travel, or anything else. If you have to take medication (for instance
626.
▲
by
cesarb
2y ago
> Bush hid the facts For those who don't know that reference: https://en.wikipedia.org/wiki/Bush_hid_the_facts (A text file containing only the ASCII bytes "Bush hid the facts", when opened in Windows
627.
▲
by
cesarb
2y ago
> So not all power strips are surge protectors but almost all surge protectors are also power strips. There are panel-mounted surge suppressors (which can protect all circuits coming from the panel), and also inline surge suppressors wit
628.
▲
by
cesarb
2y ago
What I've read is that their main failure mode is that, as they age, their trigger voltage gets lower and lower, and at some point the normal line voltage is enough to trigger them all the time. And when they overheat, either due to be
629.
▲
by
cesarb
2y ago
> The center tapped transformer that provides residential split phase 120/240 on its secondary winding connects to just 1 of the 3 grid phases on its primary winding. I believe that's a USA peculiarity. Where I live, the usual
630.
▲
by
cesarb
2y ago
> Windows Mobile phones had apps distributed by wherever, you could go get them on a CD from Bestbuy if you wanted. This was also the case for Palm smartphones. Since they were an amalgam of a Palm PDA and a cell phone, they kept the app
More ›