• 2 Posts
  • 40 Comments
Joined 1 year ago
cake
Cake day: June 30th, 2023

help-circle





  • maybe I am missing something that I don’t see why that is an objectionable position? like obviously the ceasefire needs to happen immediately but what is wrong with hostage release as part of it?

    not that long ago politicians were doing anything they could to avoid the word ceasefire and now they’re actively calling for it I’m really not thinking that this is an unchanged position but I am willing to listen if I have some drastic misunderstanding.


  • honestly doesn’t it seem like this change of direction is him listening? Even weeks ago I would have never thought I would have heard the words ceasefire out of his mouth.

    to me this seems like a direct response of the message people sent to him with the Michigan primary and I am happy to see it.

    doesn’t mean I’m happy with what he’s done so far or even that he has not immediately taken direct action but this is a pivot and failing to acknowledge it weakens protest actions like this in the future.











  • it always just makes me feel kind of sad and awkward

    like sometimes my wife will get off the phone after having some long and serious seeming conversation with a friend of hers and thank me like it’s some big accomplishment for basic things like doing the dishes and spending time with our kids.

    The bar is low guys we got to step this shit up.


  • I definitely spent a frustrated 45 minutes trying to figure out why curl wasn’t working when it was supposed to be supported in PowerShell.

    then I hit tab a couple of times and noticed curl.exe was an option, that works exactly the same as I had expected with original syntax.

    they do this to a lot of things though a lot of common commands end up being an alias to a powershell command with a specific option set that doesn’t always line up



  • I use awk all the time. a very common and probably simplest reason I use it is it’s ability to handle variable column locations for data.

    if you know you always want the last field you can do something like

    awk '{print $NF}'

    but usually using it as for performing more advanced operations all in one go without having to pipe something three times.

    sure you can do grep cut grep printf, but you can instead do the pattern matching, the field, the formatting, whatever you need to all in one place.

    it’s also got a bunch of more advanced usage of course since it’s its own language. one of my favorite advanced one liners is one that will recognize if it is going to print a duplicate line anywhere in your output and prevent it. in cases where you don’t want to sort your output but you also want to remove duplicates it is extremely helpful and quick rather than running post-processing on the output in another way.

    all that said main reason I use it is because I know it and it’s fast, there’s nothing you can do in awk that you can’t do in Python or whatever else you’re more comfortable with. The best tool for the job is the one that gets it done quickly and accurately. unless your environment is limited and it prevents the installation of tools you’re more familiar with then there’s no real reason to use this over Python.