• 1 Post
  • 713 Comments
Joined 3 years ago
cake
Cake day: June 18th, 2023

help-circle



  • 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.


  • Here’s some explanation of the Dual Sovereignty Doctrine.

    New York State is a sovereign state that derives original sovereign power from the citizens of New York. Meanwhile, the United States is also an original sovereign power that derives its power from the entire people of the United States. (Remember, the Constitution is established by “we, the People”. The U.S. is not just an agreement between individual states). Both governments have original power over the geographic territory of New York. The regular powers of government are split between the two according to the terms of the Constitution.

    Thus, New York State can exercise its General Police Power to prosecute Mr. Mangione for murder. This power is not granted by the Constitution, but it is recognized by the Constitution. The United States government can simultaneously exercise its power to Regulate Interstate Commerce, by prosecuting Mr. Mangione for the crime of “interstate stalking that caused the death of a person.”




  • 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.


  • flood the U.S. Gulf Coast and Midwest refineries with Venezuelan heavy crude.

    It is so important to understand the difference in grades of crude oil.

    The US’s refining capacity is currently oriented around lighter and sweeter crudes. They can’t just handle a big glut of Venezuelan oil today. They would need retooling and and reconfiguration. And Venezuela needs a bunch of new and reinvested infrastructure if it wants to ramp up its production.

    All of that is a large, large amount of capital expenditure, and the people who can put that money down will want solid assurances that the Venezuela arrangement will continue for years and decades.

    And Trump is certainly not giving them “long term thinking” vibes right now.



  • 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.



  • So I looked up the weapons possession charge, and it seems like Maduro could be guilty under the statute of her possessed a machinegun (really any full auto firearm) in furtherance of the drug trafficking activity. Even if the weapons were only possessed outside of US jurisdiction.

    Short version: the “possession of weapons charge” is actually for possession while drug trafficking.

    I don’t know if they have to prove that Maduro physically handled a weapon or not. But if they do, and they don’t have that evidence, he could still be guilty of the subsequent conspiracy charge.

    Edit: For the avoidance if doubt, the drug trafficking is very important to the whole case, because that’s what gives the US courts extraterritorial jurisdiction.



  • mkwt@lemmy.worldtoAsk Lemmy@lemmy.world*Permanently Deleted*
    link
    fedilink
    arrow-up
    8
    arrow-down
    1
    ·
    26 days ago

    War of the Worlds was originally a novel in 1898. A 1938 adaptation was made for radio as a single 60 minute episode of The Mercury Theater on the Air.

    The radio episode was formatted as a series of increasingly frequent “news bulletins” that interrupted light jazz orchestra music. This caused some listeners to believe that New Jersey was actively being invaded by Martians.


  • There are certain craters or other formations near the south pole of the moon that are arranged in such a way that some parts of the surface are in permanent shadow. These are interesting because we expect to find very low temperatures in these permanent shadows, and if they’ve been around for several million years, any number of volatile compounds.

    Anyhow, I think this is the “dark side” the person referred to.

    It seems like somewhat of a waste to me to use these as heatsinks, when you could just use a lot of radiators. But what do I know?