• 0 Posts
  • 54 Comments
Joined 1 year ago
cake
Cake day: July 5th, 2023

help-circle








  • I think most parents get their kids in the car first because kids hanging around in the parking lot with cars pulling in and out is hazardous and kids can be dumb. Hard to keep an eye on them while you’re unloading things so you put them in first. Then of course if it’s warm out the car is hot and kids will be complaining so the parent starts the car to get the AC going while they secure the kids and then unload the groceries. Once done of course they have to decide… walk away from the running car with your kids inside and put the cart away, or not. I can understand why sometimes they dont.






  • I know I’m a heretic but I’m a huge powershell fan. Once you work with an object-oriented shell you’ll wonder why you’ve dealt with parsing text for so long. Works great on Linux, MacOS and Windows, it’s open source, reads and writes csv, json and xml natively, native web and rest service support, built-in support for remote computing and parallel processing and extensive libraries for just about anything you can think of. It takes a little getting used to but it’s worth it.





  • As a long-time bash, awk and sed scripter who knows he’ll probably get downvoted into oblivion for this my recommendation: learn PowerShell

    It’s open-source and completely cross-platform - I use it on Macs, Linux and Windows machines - and you don’t know what you’re missing until you try a fully objected-oriented scripting language and shell. No more parsing text, built-in support for scalars, arrays, hash maps/associative arrays, and more complex types like version numbers, IP addresses, synchronized dictionaries and basically anything available in .Net. Read and write csv, json and xml natively and simply. Built-in support for regular expressions throughout, web service calls, remote script execution, and parallel and asynchronous jobs and lots and lots of libraries for all kinds of things.

    Seriously, I know its popular and often-deserved to hate on Microsoft but PowerShell is a kick-ass, cross-platform, open-source, modern shell done right, even if it does have a dumb name imo. Once you start learning it you won’t want to go back to any other.