• 0 Posts
  • 66 Comments
Joined 3 years ago
cake
Cake day: June 18th, 2023

help-circle


  • alcohol in pretty much any quality has negative effects

    The key is that this guidance came out somewhere between millennial and gen z coming of age.

    When I was a child the TV news would run “health” stories about how moderate amounts of red wine are good for you. It turned out those studies were funded by the alcohol industry.


  • They’ve had individual -bin versions of a few big builds, like firefox, chromium, and libreoffice for basically forever.

    They had something called distcc for a long time too. That let you, the user, cross-compile packages on one machine for installation on different machine(s).

    But at the end of 2023, they dramatically expanded the system, adding configuration machinery to install $packagename from source or binary (i.e. not like firefox and firefox-bin). And they set up the server infrastructure to host a much larger number of official binary packages for amd64 and arm64. Around the same time they added a “distribution kernel” as an ebuild, so users no longer had to “compile it yourself”. And I think the dist-kernel is now available as a binary.







  • Windows does, in fact, have signals. They’re just not all the same as Unix signals, and the behavior is different. Here’s a write-up.

    You’re correct there is no “please terminate but you don’t have to” signal in Windows. Windowless processes sometimes make up their own nonstandard events to implement the functionality. As you mentioned, windowed processes have WM_CLOSE.

    Memory access violations (akin to SIGSEGV), and other system exceptions can be handled through Structured Exception Handling.




  • If you confess a crime to anyone, that’s an admission against party interest. And it can usually come in under that hearsay exception. It’s pretty common for cops to testify to what the defendant said in custody, and also for jailhouse snitches to testify to what the defendant said in custody (i.e. this is not a special cop hearsay exception).

    And the kicker is that this doesn’t help you, the defendant. Anything you say will be used against you, but it can’t ever be used for you. Because as soon as you’re trying to introduce your own prior statements, it’s inadmissable hearsay and not an admission against interest any more.

    You’re right though that it’s going to be an argument on this every time.



  • In some past aerospace work, I’ve seen requirements where, if you do use cast parts, you have to cast extra parts on each lot to use for destructive testing. Specifically to inspect the cross sections for flows or grains or whatever they want to look at.


  • It was also common to have a single step mode, where the CPU advances one cycle per switch press. Very useful for debugging.

    And you could frequently read out the contents of registers directly on rows of lights. This led to the trope of the blinky light computer in Star Trek (original series) and elsewhere. Because the lights would flash in various patterns when the computer was running, as the register contents changed. But in the single step mode you could interpret the values.