Fork me on GitHub
#off-topic
<
2021-07-16
>
sova-soars-the-sora15:07:14

Hey here’s a new video by Rich from … 11 July 2021 https://www.youtube.com/watch?v=nD-QHbRWcoM

seancorfield16:07:27

That's not off-topic 🙂 (but I am a bit surprised no one has posted it to #news-and-articles which is where it belongs).

sova-soars-the-sora16:07:22

Thanks Sean! I knew it was on-topic but I wasn’t sure which channel haha

James Carr16:07:17

perhaps #on-topic? 😏

4
seancorfield16:07:03

(deleted the OP since it's not the official video of the talk -- it's someone's "bootleg" copy of it)

sova-soars-the-sora16:07:39

No problem. That’s so funny, I’m glad we have the real one

sova-soars-the-sora17:07:41

Hi, a buddy of mine works in social work currently. He was working from home successfully during the dark age and is now being requested to return to a windowless basement for 40 hours a week. I am wondering what sort of remote work I can help him find. Bit of a random question, but does anybody know of any remote gigs that would be suitable for a non-coder … maybe like office stuff? Kinda scratching my head here.

sova-soars-the-sora17:07:43

I’m looking at some “Tech Support” gigs at cool new companies, many of them are very happy to do full remote it seems! I’d share my findings but do not want to increase competition for my friend 😅

sova-soars-the-sora17:07:09

aside: anyone know where I can get a rubber duck in clojure colors?

noisesmith17:07:45

I'd be careful, pragmatically speaking a lot of remote work outside of prestige / high skilled industry is more likely to be exploitative or abusive than in person work (and there are a lot of straight up scams)

noisesmith17:07:18

by isolating people from coworkers they can get away with more abusive behavior, sadly

sova-soars-the-sora19:07:34

That’s a fair point. I would like to find him a customer support role or tech support role at a reasonably large company or well-established one…

Chase17:07:50

I want to start keeping a dotfiles repository but am unsure how you do that. How do you pull in all these random config files in your system into one git repository?

timo07:07:53

symlinks?

timo07:07:58

ok, saw it mentioned already 🙂

spacebat11:06:19

The best way I've seen it done is to have a git repo in another directory or subdirectory of $HOME, and set the worktree of that repo to $HOME: https://www.ackama.com/what-we-think/the-best-way-to-store-your-dotfiles-a-bare-git-repository-explained/

timo09:06:06

BTW stow is great

noisesmith17:07:07

I do it by having symlinks

noisesmith17:07:37

I have a "dotfiles" dir, and a symlink from "dotfiles/bashrc" to ".bashrc" etc.

p-himik17:07:10

There's a lot of info and links at http://dotfiles.github.io/

👀 2
Chase17:07:10

ok, I'll research symlinks then. Thanks!

noisesmith17:07:26

I keep the naming consistent so I can use a shell for loop on a new machine: $ for file in $(pwd)/dotfiles/config/*; do ln -s $file .$(basename $file); done (well actually my system isn't quite that nice but that's a simplified version and what I'll eventually get around to...)

noisesmith17:07:23

I highly recommend making the versions in source control not start with ., since all your tooling should treat files starting with dot specially (and usually not show / offer them)

noisesmith17:07:33

hmm, one idea I had just now: have names like dot.bashrc dot.vimrc etc. and just use sed to strip the dot off the front haha

noisesmith17:07:01

that "feels wrong" since it flips the role of the two sides of the dot

Chase17:07:35

haha, I know of the existence of sed but haven't used it. This is definitely accomplishing my true secret goal of avoiding my real work that I need to do

noisesmith17:07:07

oh man mastering the unix CLI is such a weird deep fun painful frustrating glorious rabbit hole

🙌 2
noisesmith17:07:17

perfect way to waste a month of productivity at a time

Pranav Bhaskar17:07:08

awk is the best unix cli utility. sed just seems more complicated to me.

noisesmith17:07:07

I don't know how much awk you know, it's a much more complicated and featureful tool, you use awk to write programs, sed is for line by line processing only

noisesmith17:07:51

(I don't mean "I don't know how much awk you know" in a condescending way - more like "you might know this already, but...")

noisesmith18:07:18

I mean, you can write arbitrary programs in awk without abusing it, not so with sed

Pranav Bhaskar18:07:58

😅 tbh, i really haven't use either seriously yet. Had more fun playing with awk. is what i meant.

noisesmith18:07:32

it's a fun little language, its implicit line by line execution is almost like a gui event loop driver

noisesmith18:07:43

(but you can do things outside that loop also)

noisesmith18:07:15

people who got fed up with awk's limitations went on to make things like tcl and perl (proper text oriented scripting languages)

noisesmith18:07:25

I suspect you could use @borkdude’s babashka and get clojure to be nearly as concise or moreso with the right utility lib...

✔️ 2
noisesmith18:07:21

which also reminds me of one of my favorite toy languages: scsh - a set of scheme functions and macros so that you can use scheme as if it was a shell, complete with pipes https://scsh.net/