• 1 Post
  • 335 Comments
Joined 1 year ago
cake
Cake day: July 5th, 2023

help-circle

  • 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.


  • Ideally you notice it from the shore and avoid it as others have mentioned. If you’re swimming in one you’ll realize soon enough you’re getting taken out from the shore.

    I got caught in one when I was a teenager off Mission Beach in San Diego. I’d already been out swimming in water deeper than I could stand in for a while and, getting tired, started heading to shore. After some time I realized I wasn’t making any progress at all. It took me a little while more to realize what was up: I was in a rip current. Thankfully I’d had an elementary school teacher in Phoenix, AZ of all places that taught us kids how to escape one and I remembered - swim parallel to the shore a good distance and then try swimming back in again and check your progress. Repeat as needed if you’re unable to make progress. I followed those instructions and eventually was able to get back to shore, utterly exhausted. I can’t help but think how lucky I was not to have missed that day of school.






  • ReluctantMuskrat@lemmy.worldtoScience Memes@mander.xyzMiracle cures
    link
    fedilink
    English
    arrow-up
    2
    arrow-down
    1
    ·
    23 days ago

    Same. Suffered from chronic tendonitis in my shoulders. Cortisone shots helped tremendously but it kept coming back once I resumed lifting. 11 months off lifting and it immediately returned once I resumed and thought I was going to have to give up lifting altogether.

    Read some studies about Tumeric and thought… what the heck, easy and cheap enough to try it out. Absolutely unexpected results taking 1000mg daily. Tendonitis gone and hasn’t returned after years now of constant heavy lifting. New PRs and blood work show extremely low inflammation (c reactive protein).

    Later found our my friend, a house cleaner, thought she was going to have to retire early because of arthritis in her hands and she couldn’t afford to. She too tried it with low expectations but she swears by it like I do.

    Maybe it doesn’t work for everyone and maybe they’ll figure out why someday… I don’t know. It’s absolutely changed my life though. Simple and fairly inexpensive, and for me at least it works.




  • 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.