Wikipedia used to host a comically erudite page about Cornholio, e.g. studiously noting such discrepancies in his speech such as "my people have no bunghole" / "my people have but one bunghole".
Every 5 minutes, my program would make a request to the product page on Amazon and look for the text "out of stock". If it didn't find it, the program would sound off an alarm bell.
I still remember sitting nearby, watching TV one night when the alarm went off. I jumped up and ran over to my computer and bought myself a PS2.
As silly as it sounds, what I remember most fondly about the PlayStation 2 was making and using this little program to help buy it.
I guess what I'm asking is, do most people reach for JS/Node over other languages for this type of thing? I suppose I still don't see it outside of the browser environment but maybe it's time to change that view.
1. Python by default requires tons of globally installed libraries. Node by default all libraries are installed local the the project. Nothing to learn. It just does it. That means I don't have to worry about trashing my system and I don't have to tell users a bunch of prerequisites to get it to work.
2. Node is ~8meg and installs instantly. Python is 18-30meg and the install has a long build process IIRC
I will still sometimes reach for python. I needed to parse an 8 gig geodata XML file. The libraries I tried in node were orders of magnitude slower than python for that particular task. I did try node first though since it's where I'm at.
Installing node is faster until you have to install local libraries. I am currently working on a project whose dependencies consist primarily of Vue, Bootstrap, and a few very small libraries such as moment.js. Our node_modules/ is over 1000 individual libraries and growing. It takes 45-65 seconds just to do an npm install when I already have the libraries there. The build process takes 90 seconds on a brand new top of the line machine. Contrast with Python where that number is 0, and installing the dozen dependencies I actually have is a one time process that takes no time at all.
I used to fuck around with Gentoo Linux where I would always triple compile the latest gcc to make sure I had the latest and greatest and fastest. And even I think Node’s library ecosystem is a bloated unnecessary mess. I don’t have the words to write a more scathing review of it, but if I could I would. There is a night and day difference in usability and speed between Node and Python ecosystems and the latter wins by such a wide margin it is like they aren’t even in the same league.
And don’t get me started on how quickly the JS community likes to break shit. Remember when for a brief moment we were all supposed to switch to yarn? And then migrate back to npm? It’s insane.
I totally agree with you on that one, but I would say the maturity of the JS ecosystem is really settling down, and now that MS owns most of it (Typescript, npm, github, vscode) I think it will only get more stable.
Also, Python community definitely shouldn't be throwing any stones when it comes to "breaking shit".
Bash is different. It's good for stringing toghether external commands, but rapidly becomes a mess if you need to do any complex data manipulation. Argument parsing in bash is also a pain.
I don’t think it has much to do with “liked” or “best tool for the job” as much as it is simply “prevalent” or “popular”.
I would reach for python if I needed some advanced text analysis - like nltk, spacy level - but otherwise I would reach for whatever language I was trying to improve my skills in or whatever language I was using the most in other projects so as to not have to context switch so much.
I wonder, why do you think python is a better alternative? I would understand bash since it is dependency free, but I don't see any advantage for python vs. nodejs
(I won't outsource mortal danger to someone poorer than I simply because they need the money more, and I don't want to give Instacart any of my business since they got busted stealing their delivery staff's tips, but those are your options if you want them.)
Deliveries from all sources are getting hard to come by.
Oh, well. As always with open source, it's my place to be grateful for the work you share (thank you!), not to complain about your not doing it on my terms.
But for my generation, a more perfect name has never been devised.
Now, writing this comment had me finally realize that TP, however we mock the hoarders, really is almost unique in its urgency for most people. If you run out of food, you probably have a few hours before you get hungry again. Running out of TP is acutely uncomfortable right from that minute.
You mean, a bidet? Long-term, seems like an interesting idea. Short-term, filling a cart with TP during an unavoidable (because of food delivery collapse) visit to the store seems like a less dangerous idea than inviting a plumber.