Just a basic programmer living in California

  • 2 Posts
  • 21 Comments
Joined 11 months ago
cake
Cake day: February 23rd, 2024

help-circle


  • From what I’ve learned revolutions are often accompanied by circumstances where people are desperate due to lack of basic necessities, especially food.

    The French revolution was preceded by a serious food shortage. Remember that “let them eat cake” comment? One of the key events, the Women’s March which displaced the king and queen from Versailles, was specifically motivated by demands for food.

    The European People’s Spring saw lots of revolutions across Europe in 1848-1849 including in France, Italy, Bavaria, Austria, Hungary. That was about the same time as a continent-wide grain shortage on top of an economic crisis.

    The Russian revolution of 1917 came at a time when a combination of WW1, bad leadership, and an extra cold winter led to food shortages, and fuel shortages so people were starving and freezing at the same time.







  • It’s likely a myth that Rasputin was sleeping with the czarina. (Although there’s no proof either way.) He had a very close relationship with the czar and czarina because their son had hemophilia, and Rasputin’s presence seemed to help his condition. It was a serious illness, and the parents were desperate for anything that could help. But the hemophilia was a secret so nobody outside the family knew why the czar and czarina kept Rasputin so close despite dangerous rumours that Rasputin was the one running Russian policy. The idea that Rasputin was sleeping with the czarina was a popular theory because Rasputin was a well-known horny motherfucker.





  • Yeah, I’d like to be able to set my kids up with Bedrock because that’s the version most other kids play, and it would be great for them to be able to play on servers together. I have run the Android version on Linux in the past using a community launcher, and it worked flawlessly with a mouse and keyboard. But I think there was an authentication change that prevents that from working anymore. It’s very frustrating that they have a Linux version, but they just won’t let us use it.


  • Yes, I use passphrases for stuff like my password manager, my computer login, and my disk encryption. For my login (which I type a lot) it’s four words; for occasional stuff like disk encryption it’s six. I’m sold on the argument that a passphrase is way easier to memorize compared to a comparably-secure random password.

    The number of possible passphrases is the number of words in the dictionary you use to generate passphrases raised to the power of the number of words in your passphrase (assuming a small chance of reusing the same word in a passphrase). I use this command to generate a random phrase using my stock OS word list:

    grep -v '[^a-z]' $WORDLIST | shuf --random-source=/dev/urandom | head -n5 | paste -sd ' '
    

    grep -v '[^a-z]' $WORDLIST filters out words with apostrophes or other weirdness. On my system the filtered list is 77,866 words.

    For four words, 77,866 ^ 4 ≈ 3.7 × 10^19 possible passphrases.

    Compare that to randomly-generated passwords. I’ll assume that random lowercase & uppercase letters, numbers, and symbols add up to 46 characters. The number of combinations is 46^n where n is the length of the password. A four-word passphrase is the same order of magnitude as secure as a 12-character password, which has about 9 × 10^19 possible combinations.

    I’m sure that if you make up your own passphrases instead of randomly generating them then the security is much lower.



  • I find ngrok useful enough to pay for. When I want to demo some software I can run it locally and set up a temporary tunnel. When I used to have a VPS I would do this with SSH port forwarding, but I’m told that tunneling TCP in TCP can lead to some weirdness.

    I used to have a dyndns subscription to get a stable domain name for my home router. It’s kind of another way to do the same thing - instead of a tunnel I could forward a part.





  • Vous pouvez avoir jusqu’à 8 animaux, toutes espèces autorisées confondues. Les poissons ne comptent pas dans la limite de 8 animaux.

    Sur ces 8 animaux, vous pouvez avoir jusqu’à 4 chats et chiens, dont un maximum de 3 chiens.

    My god, that’s so much less stupid!

    "You can have up to 8 animals, all (something) authorized species. Fish do not count toward the 8 animal limit.

    “Of those 8 animals, you can have up to 4 cats and dogs, with a maximum of 3 dogs.”

    Both the English and French versions are on https://montreal.ca/en/topics/pet-license