IngeniousRocks (They/She)

Don’t DM me without permission please

  • 2 Posts
  • 280 Comments
Joined 1 year ago
cake
Cake day: December 7th, 2024

help-circle



  • Grep can accept input from stdin as with a piped cat, but I it can also just call the file directly.

    In 99.999% obviously made up stat is obvious of situations its fine.

    The real issue is a piped cat into grep will fork the process. Why open two process threads when one would do the job?

    Edit: it was mentioned by @swicano@programming.dev but to expand a bit: piping cat into grep can also mask quite a few errors. It masks them because of how the shell handles error reporting on piped processes. IIRC, if the file is missing for example, you won’t necessarily know that because while cat will throw a not-found error, that gets piped into grep who gladly accepts the error (which was piped to stdin) as its input and greps through the error, reporting back that your content wasn’t found in the search material, not that the file was missing.




  • Depending on where in the world you are:

    There is a resale store called Buffalo Exchange with a bunch of locations who always has the best messenger bags IMO. I’ve purchased several vintage messengers from them for carrying art supplies.

    My favorite is a rigid leather satchel the size of a briefcase. Its new enough to have a laptop pocket, but old enough where the laptop would be expected to be gigantic. I use that slot for canvasses. Then it leaves the main pocket open for my mini-easel and brushes. External pockets act to replace my purse on days I carry it. All this covered with a giant leather flap which locks closed. V protec.

    Edit: fixing autocorrect mistakes













  • Today I made vegetarian salisbury steaks using impossible patties, store bought broth, and fresh veggies and herbs (and some stuff I had laying around). I spent less than $15 total (costco, price per unit) on the ingredients. It took 2 hours of cooking.

    Assuming a wage of $25/hr, lower than adequate but relatively high in service fields in the US (those who work enough that delivery is super tempting), my meal cost me $65 including my labor. That’s less than it’d cost for delivery of a similar meal, is higher quality than I could get for delivery, and I’ve got leftovers for tomorrow, which I wouldn’t get with delivery.

    Delivery is a scam. Gig economy Based delivery doubly so.