• 0 Posts
  • 876 Comments
Joined 3 years ago
cake
Cake day: July 1st, 2023

help-circle
  • Well, I’d start by saying that linux has a superior story here vs batch files.

    The most direct equivalent is bash/shell scripts. However, they are far more capable. Better conditional statements, loops, variables, text manipulation. It’s always shocking to me how limited batch files are when I’ve had to deal with them. Bash/shell are more equivalent to powershell if you are familiar with that.

    But if you want something nicer/more powerful, then nearly every linux distro at this point ships with python. That’s what I’d probably use if I needed more than 100 lines of code. As a bonus you can also install python on windows/mac and keep using those scripts.

    If I wanted to install something additionally though, then I do really like the asthetics of ruby. But it’s by no means as popular.

    Perl is the old guard here and it does generally exist on all linux systems. However, I think python is superior in basically every way.



  • I suppose my very basic knowledge of terminal isn’t enough to install Gentoo, even with the handbook.

    Nope. The gentoo handbook is VERY good. Don’t skip parts on it and you can install a gentoo. You really don’t need very advanced terminal skills to get gentoo up and running. So long as you understand basics like cd/nano/ls/cat then you can pretty easily do the entire handbook.

    One thing to realize is that you can always go backwards and fix things if you make a mistake. Nothing is permanent. If you get into a “why isn’t this working” state, just go back and see if you’ve skipped something.






  • cogman@lemmy.worldtome_irl@lemmy.worldme_irl
    link
    fedilink
    arrow-up
    22
    ·
    4 days ago

    This isn’t a “justice is slow” problem. This is a “the justice system only serves to punish the poor and powerless” problem.

    The fact of these files is they were in the hands of the FBI and prosecutors 20 years ago. Nothing happened as a result even though there appears to be dozens of individuals capable of being charged with crimes. That’s 20 years of incriminating evidence just sitting around collecting dust because it’d be politically inconvenient to pursue charges.

    Justice moves rapidly when a power tripping cop wants to ruin you life. It moves very slowly when a rich pedophile rapes children.








  • No problem. I’ve definitely seen a lot of baking articles that somehow try and make this simple concept unbelievably convoluted.

    The only other thing to know is that 1 mL of water = 1 gram of water. Which means 170g of water == 170 mL of water (At STP… blah blah blah. It’s not super important to hit exactly 70% you can hit 75% or 65% and you’ll be fine. It’s close enough to true).


  • Cooking allows for a lot of “feeling it out”. For example, most spices you aren’t really going to taste a difference between a tsp and a tbsp of the same spice. Just knowing what spices go into the dish you are making can often be enough.

    For example, taco seasoning is onions, cumin, oragano, chili pepper, and paprika. By far, the cumin and onions drive the flavor, you could almost leave out everything else. With that in mind, it mostly ends up being just the technique. Brown the onions, toast the spices, brown the meat. The actual amount of spices that goes in won’t make a huge difference one way or another. What does make a difference is if you grind your cumin instead of using preground (that’s true for most seed spices).

    Technique is often the most important thing vs exact ingredient measuring. The exception to this is baking. You must measure (preferably by weight) your flour and liquids. You can eventually do it by feel, but it’s hard. You’ll get much better results with a scale. Even then, it’s mostly just the process of targeting the right hydration. 70% does well for a lot of white breads (For every 1 gram of flour add 0.7g of liquid).




  • It’s a great move and these are bills that need to be introduced frequently by dems right now. When people say “Yeah, but what can they do”. This. This is what they can do. Introducing these messaging bills for republicans to vote again and then grand standing on how republicans won’t do anything to help the working class.

    But dems must follow through. Minimum wage is the prefect example of where they should follow through. Attach it to a budget bill and when the parliamentarian says “not allowed” tell them to F off and push it through anyways. Just as the republicans have already done several times since they took control. Or blow up the filibuster. Either is an acceptable act for when dems get power. But they must deliver.

    If dems operate like they did in Biden term 1 or Obama term 1, they’ll be sunk in 2032.


  • I like to subscribe to the “magic makes it’s users imbeciles” fan theory. (Though the truth is that JK just isn’t all that bright).

    It isn’t that the killing spell is unblockable. Harry and his mom managed to block it twice. But apparently magicians in HP universe are just completely dumb and unwilling or incapable of innovation. That was spelled out clearly in book 1 where an elementary logic puzzle was seen a good way to protect the greatest treasure on earth.

    Ron’s dad, for example, lived in England. He could wander the muggle streets freely if he wanted to. He had a deep fascination of basic muggle items, yet he didn’t just go to his local library to check out a book or log on to the internet to learn about things that were his passion.