Hey fediverses, is there any good online shell scripting primer for non-programmers? Something like "automate your stuff with unix" or so, ideally focused on the methodology rather than gory details of shell scripting. #unix#shell#programming#learning
@exa I don't know of any at the top of my head, but at minimum, shell scripts are just a bunch of commands to run. You can figure out a flow of commands to run, and just hard code everything. After that, learn about variables/environment variables, then keep on progressing until you can write a shell script with ease. Also, depending on the level of automation/OS support, you might just have to do everything in, for example, Python.
Either way, I'd recommend learning by solving a problem.
@propersquid it's not for me, it's for the colleagues here. I know learning by doing is best but I don't have much time to supervise and don't want to be that kind of guy who goes
-"hey guys why don't you solve your problems with unix"
-"yay okay! how we do it?"
-"oh just solve problems with unix! you'll see"
If I forget to switch a #mastodon post to "quiet public" before posting (I fail at that with replies all the time) is there any way to switch it to quiet without deleting and redrafting? It doesn't seem to work for me. Or am I doing something wrong?
@xChaos yap literally what was the historical reason to write not .cz.f/something/detail but f.cz./something/detail (note the extra dns dot and people likely comprehending the DNS autosearch domains better this way)... Actually e-mail and postal-style addresses in general (which, well, predate interwebs) explains it I guess.
#mastodon#fediverse implementation question: would it be possible to use the protocol for carrying issue tracking & discussion, e.g. to make #distributed version of #github or #gitlab issue trackers?
I thought that technically these aren't that different from the usual discussion threads here, except maybe for some governance steps like deciding if the issue is closed etc... Perhaps someone already investigated?
#haskell q: are there any small and living haskell implementations with power at least partially close to ghc? (e.g., vectors, concurrent IO and TyFams)
@nomeata haha currently trying to implement a small STG in assembly, it can now make and eat a list without tripping over itself... No idea yet on how to continue :D