This will do nicely - I had several workflows where I’d hit an API and get a massive super nested JSON as output; I’d use jq to get the specific data from the whole thing and do a bunch of stuff on this filtered data. I pretty much resigned to using python because I’d have successively complicated requirements and looking up how to do each new thing was slowing me down massively.
- 0 Posts
- 18 Comments
How do you get complex data structures to work? I was alienated from scripting on zsh because I wanted something like a dict and realised I would have to write my own implementation. Is there a work around for that?
The important part is to learn the limits of any tool. Nowadays I no longer use jq for any long or complicated tasking. Filter and view data? jq is fine. Anything more and I just cook up a python script.
You might change your mind when you hit rock bottom and have to claw your way back with a 2011 shitbox laptop that attempts to kill itself if you dare to open a second firefox tab or, case in point, VSCode or anything that has been built with Electron.
I learnt vim and neovim out of necessity - because it takes only 30 MB on RAM
In case you’re not being sarcastic, et al is a shortening that means “among others” - usually authors of academic papers are clubbed together like this. In this context it is more like, “among other educational qualifications”
Is this navigation?
Speak for yourself. I am perfectly capable of pooping drive by style.
I am shitty at shell scripting, so I often use other people’s scripts from the internet with some minor tweaks. I’ve also put a lot of time into learning the nuances of zsh so there is also a lot of the sunk cost effect going on.
Also, and this is an assumption, I think other shells just have a lot more online resources you know? I have not yet found any problems or ideas I’ve had that someone else haven’t also had and solved.
I considered Fish but decided against it because of POSIX compliance
Tangent5280@lemmy.worldto memes@lemmy.world•meme_pihole_smartTV_transparent_logo_png.jpeg0·18 days agoSUBSCRIBE
Tangent5280@lemmy.worldto Selfhosted@lemmy.world•Why are anime catgirls blocking my access to the Linux kernel?English6·19 days agoWhat alternatives do you propose?
You do data transfer over USB? The only time I’ve connected the usb cable to transfer data is to mess around with adb.
Try LocalSend, its pretty amazing. There are several alternatives too if it isn’t to your liking.
Have you ever had a bladerunner moment
Happens to the best of us. I learned early that Timeshift (On mint) was my best friend.
What were you actually trying to do
Tangent5280@lemmy.worldto linuxmemes@lemmy.world•What's it like being a user hearing about developer drama.0·1 month agoMake the seinfeld outro deep fried, like that thomas the tank engine tune and you got yourself a deal buckaroo
Tangent5280@lemmy.worldto Games@lemmy.world•Does anyone else find it suspicious that there wasn't any criticism on here about Stop Killing Games until after it hit 1.4M signatures?English0·2 months agoIt’s so stupid to think that small message boards are spared; small boards are where they infest with the most enthusiasm; you infiltrate a hundred small boards, one grows into the mainstream and now you have a socmed in your control.
Its like garden plants that you struggle to keep alive vs weed that grew in a crack in a concrete runway