• 0 Posts
  • 411 Comments
Joined 3 years ago
cake
Cake day: September 2nd, 2023

help-circle
  • Consuming the excess energy is also good, even if it never goes back when production is low.

    If a factory that makes H2 all the time is converted to one that only makes H2 when there is excess energy, you turned an energy consumer into a grid stabilizer which in addition creates other kinds of value. It would serve the same purpose as a battery.

    Since it went from being an energy consumer, to an excess-energy consumer. Consuming excess energy is good for the system, and you reduced demand when there is little supply, which is very similar to just increasing supply when there is little (what a battery does).

    This goes for basically any product (that is not the bottleneck of course). You just pay for storage of that product instead of energy storage. You also need more production capacity though. Which is expensive since a machine that stays idle is just “being wasted”.


  • Microsoft’s is even worse.

    1. Enter username
    2. Enter password
    3. Click “stay logged in”
    4. Click “log in”
    5. Login successful!
    6. Page reloads to the username prompt
    7. Repeat steps 1-6. Sometimes (but rarely) repeat them multiple times.
    8. Now you’re actually logged in.

    How hard is it to log in the user if the username and password were correct? If Microsoft can not figure out how to do this, why do other random websites work? Do those websites have some arcane knowledge being held away from Microsoft?







  • If they deleted the data you’d be calling it a murder instead of holding it hostage lol.

    When I board a plane, I know that when the plane lands, I gotta take my luggage with me when I exit the plane.

    When I stop paying for a VPS, I loose all access to that VPS. When I close an email account, I lose those emails.

    When my subscription to private repos ends. I no longer have access to those private repos. Slow storage is pretty cheap. They can just move private repos from users that have stopped paying into long term storage, and free up precious nvme storage.

    I don’t usually defend corporations. But this is a service you signed up for, knowing the conditions of the deal.

    It’s like complaining that you’re obligated to return the keys to your hotel after the agreed upon date/time.






  • That’s inside the macro though. Whatever you parse inside the macro is defined by the creator of the macro. The macro invocation itself is defined by the rust language.

    Rust allows you to use any bracket because it doesn’t know what the macro is supposed to do.

    Some macros work like functions:

    println!("Hello world");
    

    Some macros work like array declarations:

    let v = vec![1,2,3];
    

    And some macros work like a code scope:

    select!{
     a => myfunc(),
     b => my_other_func()
    }
    

    Since rust doesn’t know what your macro does, it just lets the user choose whatever the user sees more fitting for that specific macro invocation.