• 0 Posts
  • 509 Comments
Joined 2 years ago
cake
Cake day: June 23rd, 2023

help-circle







  • Could someone perhaps explain the major use cases or give a real life example of a time you’ve needed to use awk? I’ve been using Linux casually for quite a long time now, and although I learned the basics of the tool, I can’t recall having ever felt I had a need for it. If I want to glue a bunch of cli stuff together and need to do some text processing, it generally seems like it’d be easier to just use a simple python script.

    Is it more for situations that need to be compatible with most *nix systems and you might not necessarily have access to a higher level scripting language?







  • people need to take a step back and look at who they are hurting with this and how realistic it is to expect people to just get rid of their car.

    I think after reading @[email protected] 's perspective, I’m certainly a bit more sympathetic. I guess I had a picture in my head about the economic status of the typical Tesla owner that they could probably afford to absorb the loss if they could afford the thing in the first place. I forgot we live in a world where you can finance everything, even your take-out, and that even luxury car owners might be living paycheque to paycheque.

    That, and that there are probably quite a few people who got one for environmental reasons who don’t deserve to be hurt for what was most likely an innocent mistake.



  • I’m just about to make some scrambled tofu. It hits similar macros, flavour and texture to scrambled eggs:

    • 1-2 tbsp cooking oil
    • One onion, sliced
    • Generous pinch of black salt (kalak nama) or just whatever cooking salt you use
    • 2-3 cloves garlic, minced
    • 1 lb medium-firm tofu
    • 0.5 tsp tumeric
    • 1 tsp ground cumin
    • 1 tsp Italian spice, or thyme, or both
    • 0.5 tsp chipotle powder, or other spicy capsicum powder
    • 1-2 tsp nutritional yeast (optional)
    • 1 tsp soy sauce
    • 1 scallion to garnish
    1. Cook the onion for a few minutes in the a skillet or large pan, then add the garlic and cook until starting to brown.
    2. Crumble in the tofu, add the spices and cook on medium for ~10 mins, scraping off the pan bottom and flipping occasionally.
    3. Deglaze with soy sauce and/or water. Serve (on toast) topped with scallions.

    Notes:

    • Most Western people probably don’t have kalak nama, but it really gives a nice sulphurous eggy flavour. Worth getting some if you like that and intended to make this regularly. It’ll also keep forever.
    • if you prep the scallion before you start cooking, toss the whites in with the garlic, and save the green for garnish. I don’t because it saves time to prep the scallion during step 2
    • you can go with a less firm or more firm tofu depending on how you like your scramble



  • The report, which crunched the numbers for all 50 states, is based on Pew Research’s definition of middle class: two-thirds to double the median household income.

    This kinda strikes me as a bit of a disingenuous definition. Being middle class always struck me as having a moderate amount of disposable income after all regular life expenses.

    If you’re living in an expensive part of your state, you could well be above that 66% of median state income mark, but still be quite impoverished.