|
i love everything about the terminal. it's so good. i've been using it for years and i learn things and cusotmize it every day and i just dont think there will ever be a better tool than the shell. but it's so bad. i mean http://www.tldp.org/LDP/abs/html/io-redirection.html it's haskell monads but without type checking and so you just have to run it over and over again and try to see what changed. it's a lot like javascript now that i think about it. anyhow. i am not really a great shell programmer but i know some of you are so lets post about the shell currently i'm doing zshrc but tbh i dont really see what's so much better about it so i might try out flyfishing or whatever it's called.
|
# ? May 7, 2015 04:22 |
|
|
# ? May 4, 2024 16:20 |
|
fish is a piece of poo poo
|
# ? May 7, 2015 04:23 |
|
anyhow lately i've been using xargs. it's really useful. i hope this helps you get started with it xargs [-0prtx] [-E eof-str] [-e[eof-str]] [–eof[=eof-str]] [–null] [-d delimiter] [–delimiter delimiter] [-I replace-str] [-i[replace-str]] [–replace[=replace-str]] [-l[max-lines]] [-L max-lines] [–max-lines[=max-lines]] [-n max-args] [–max-args=max-args] [-s max-chars] [–max-chars=max-chars] [-P max-procs] [–max-procs=max-procs] [–interactive] [–verbose] [–exit] [–no-run-if-empty] [–arg-file=file] [–show-limits] [–version] [–help] [command [initial-arguments]]
|
# ? May 7, 2015 04:24 |
|
i literally have no idea how to read the notation for -h/manpages, i feel like spending the 5 minutes it would take to learn the syntax would help me a lot but instead i just spend 30 minutes a day pounding in flags until i understand how to the tool
|
# ? May 7, 2015 04:25 |
|
pipes and redirection are pretty much perfect op and given to use by the glorious lords thompson and ritchie
|
# ? May 7, 2015 04:27 |
|
xargs is fairly sick and you can get oddly productive with it
|
# ? May 7, 2015 04:30 |
|
paging shagger to the powershell appreciation station
|
# ? May 7, 2015 04:34 |
|
shagger doesnt even like powershell. hed rather click next
|
# ? May 7, 2015 04:39 |
|
xargs is good poo poo fam
|
# ? May 7, 2015 04:57 |
|
also docker is great. in my interview we talked about it and they were like 'what do you like about it' and i was like 'i dont know i just like connecting all these services and making them dance' i have no idea what the actual use case for docker is because it seems like it just increases the complexity of deploying things to the clot. like before it was like a bunch of vms with a bunch of bullshit to deal with but now you have a bunch of vms each of them containing a bunch of containers which sounds awful but i love rigging up containers like they're a loving bash script but actually it's a goddamn computer i have a goddamn computer dedicated to make tayne dance around in my terminal and it's linked up with a bunch of other services so that they can scale and tayne up on demand. dbus??? what's that?? i just send messages to tayne through my kafka cluster
|
# ? May 7, 2015 05:02 |
|
sh and IT are poo poo
|
# ? May 7, 2015 05:02 |
|
MALE SHOEGAZE posted:also docker is great. in my interview we talked about it and they were like 'what do you like about it' and i was like 'i dont know i just like connecting all these services and making them dance'
|
# ? May 7, 2015 05:04 |
|
i guess the problem here is that devops has the keys to all the aws stuff but they're not necessarily responsible or knowledgeable about about like, my bad code (or other peoples bad code that i've touched). so like over the weekend a hadoop thing started going oom and it's running inside a docker container which is linked to a bunch of other docker containers and i only have access to it through a chain of vms and I don't have the IPs. I didn't have sudo but I could run docker as sudo so i just kept spinning up containers and then leapfrogging from one container to the next until finally i could access the hadoop cluster and kill the jobs. anyhow as i type this out i'm realizing all of these problems have nothing to do with docker.
|
# ? May 7, 2015 05:13 |
|
basically i just feel like an idiot every time i talk to devops but it's mostly because i have no visibility of how all of their stuff is hooked up, and yet ultimately i'm responsible for my poo poo even if it's completely invisible to me once it's deployed. they're nice guys though i just need to talk to them more.
|
# ? May 7, 2015 05:14 |
|
MALE SHOEGAZE posted:they're nice guys though i just need to talk to them more. ops are the guys with r00t. make friends with them. everybody else treats them like poo poo.
|
# ? May 7, 2015 05:18 |
|
at oldjob i guess i was the lone "ops" guy, a bridge between corporate IT and our devs, and i maintained my own dedicated infrastructure for the devs just little things like "hey can you check on this when you get a moment, no rush" and just treating IT guys like human beings gets you so much leeway in a terrible organization with the poor cjs, they get poo poo on 24/7 it's really sad
|
# ? May 7, 2015 05:25 |
|
MALE SHOEGAZE posted:i love everything about the terminal. it's so good. i've been using it for years and i learn things and cusotmize it every day and i just dont think there will ever be a better tool than the shell. I think you might be loving retarded because shell redirection is the simplest thing possible.
|
# ? May 7, 2015 05:27 |
|
lol you bit that obvious troll "its haskell monads" cmon son
|
# ? May 7, 2015 05:32 |
|
here's the god drat list of things you should be writing in shell script form: - PLANGS EXIST. IT IS NO LONGER 1975.
|
# ? May 7, 2015 05:33 |
|
i wrote a for loop in bash this week i had to google each step of the way and i was thinking 'gently caress i should be using python even using popen is nicer than this'
|
# ? May 7, 2015 14:10 |
|
Jonny 290 posted:lol you bit that obvious troll I don't know what that is.
|
# ? May 7, 2015 14:11 |
|
pram posted:shagger doesnt even like powershell. hed rather click next why type arcane bullshit when you can just click next instead? simple. one button. elegant.
|
# ? May 7, 2015 14:14 |
|
hold onto your little monads and strife
|
# ? May 7, 2015 14:15 |
|
Shaggar posted:simple. one button. elegant.
|
# ? May 7, 2015 14:37 |
|
even a toilet has more than 1 button
|
# ? May 7, 2015 14:38 |
|
jony ive aces posted:sh and IT are poo poo Whoaaa.
|
# ? May 7, 2015 14:57 |
|
Citizen Tayne posted:I don't know what that is. monads are the drop bear of the six-masters-degree, cant-deal-with-real-world-so-I-invent-functional-languages-at-caltech manchildren unisperglords. They don't really exist but if they can convince a lay person that they do, their bullshit skills have leveled up
|
# ? May 7, 2015 17:16 |
|
lol if you don't use powershell for linux
|
# ? May 7, 2015 18:10 |
|
|
# ? May 7, 2015 18:11 |
|
Soldier of Fortran posted:lol if you don't use powershell for linux lmao that will own to set as someone's default login shell
|
# ? May 7, 2015 18:13 |
|
aaaaaaaag
|
# ? May 7, 2015 18:17 |
|
Soldier of Fortran posted:lol if you don't use powershell for linux lol why does this exist
|
# ? May 7, 2015 18:20 |
|
so Linux can finally have a working shell
|
# ? May 7, 2015 18:31 |
|
The Linux shell is the one good thing Linux has going for it
|
# ? May 7, 2015 18:34 |
|
I just mean bash and ksh or whatever in general
|
# ? May 7, 2015 18:35 |
|
lol if u don't use zsh
|
# ? May 7, 2015 18:36 |
|
DimpledChad posted:lol if u don't use zsh lol if u do
|
# ? May 7, 2015 18:55 |
|
lol!
|
# ? May 7, 2015 19:04 |
|
|
# ? May 8, 2015 00:29 |
|
|
# ? May 4, 2024 16:20 |
|
i'm the /:\ drive
|
# ? May 8, 2015 03:46 |