IngeniousRocks (They/She)

Don’t DM me without permission please

  • 1 Post
  • 265 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







  • Its not a search engine, its a data digester. Dont use it as a search engine. Despite what alphabet, micro-shit, and DDG think, AI chatbots do not now, nor will they ever make good search engines.

    This is a prime example of why access to these tools should be restricted to computer scientists and research labs. The average person doesn’t know how to use them effectively (resulting in enormous power wasted by ‘prompt engineering’), and the standard available models aren’t good at digesting non-linguistic data.

    I’m not gonna downvote you, or be like all “AI is the devil and its gonna kill us all” but people need to use it correctly or we ARE going to kill ourselves with its waste heat.

    Edit: ficksed an werd