Tom GaulπŸ‡ΊπŸ‡¦ BLM's Avatar

Tom GaulπŸ‡ΊπŸ‡¦ BLM

@darth-gaul.bsky.social

Husband, Father, Grandfather, πŸ• lover - especially my best buddy Star, InfoSec Practitioner, Hacker, Retired Army Warrant Officer, Photographer of birds and other wildlife, melter of metal - He/Him #photographersunited

779 Followers  |  555 Following  |  961 Posts  |  Joined: 04.07.2023  |  2.824

Latest posts by darth-gaul.bsky.social on Bluesky

My favorite regular ol' backyard bird

27.05.2025 23:27 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

I love dogs, happy dogs are the best! We need to make all dogs happy!!

27.05.2025 23:26 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Panel 1: all terminal programs have 1 input and 2 outputs 

they're numbered: stdin is "0", stdout is "1", stderr is "2". 


(the numbers are called "file descriptors")

panel 2: you can set them to be any file you want

person: β€œI don't want to display the output in my terminal emulator, I want to write it to a file”
person: β€œI'll have the proram read input from a file instead of typing it in"

panel 3: 3 things you can set the inputs/outputs to

1. the TTY (so output is displayed in your terminal emulator)
2. a file
3. a pipe (to write output to the input of another program)

panel 4: your shell is in charge of setting up stdin/stdout/stderr

person: β€œpython3 script.py > out.txt”

shell: β€œok, I'll set stdout to out.txt for that program”


more about the syntax on page 15

panel 5: on 2>&1

2>&1 redirects stderr to stdout

you could also do 1>&2 but I've never used this N>&M syntax for anything other redirecting stderr to stdout

panel 6: gotcha: programs often buffer stdout but not stderr

when a program writes text to stdout, it'll often

1. check if stdout is a TTY (using the isatty function)
2. if not, "buffer" the writes until there's 1KB of data to write, for performance reasons

(this is the default in libc)

Panel 1: all terminal programs have 1 input and 2 outputs they're numbered: stdin is "0", stdout is "1", stderr is "2". (the numbers are called "file descriptors") panel 2: you can set them to be any file you want person: β€œI don't want to display the output in my terminal emulator, I want to write it to a file” person: β€œI'll have the proram read input from a file instead of typing it in" panel 3: 3 things you can set the inputs/outputs to 1. the TTY (so output is displayed in your terminal emulator) 2. a file 3. a pipe (to write output to the input of another program) panel 4: your shell is in charge of setting up stdin/stdout/stderr person: β€œpython3 script.py > out.txt” shell: β€œok, I'll set stdout to out.txt for that program” more about the syntax on page 15 panel 5: on 2>&1 2>&1 redirects stderr to stdout you could also do 1>&2 but I've never used this N>&M syntax for anything other redirecting stderr to stdout panel 6: gotcha: programs often buffer stdout but not stderr when a program writes text to stdout, it'll often 1. check if stdout is a TTY (using the isatty function) 2. if not, "buffer" the writes until there's 1KB of data to write, for performance reasons (this is the default in libc)

stdin, stdout, and stderr

wizardzines.com/comics/stdin...

21.05.2025 15:08 β€” πŸ‘ 184    πŸ” 24    πŸ’¬ 8    πŸ“Œ 0
Preview
a cartoon character says no pants era in front of a cartoon network logo Alt: a cartoon character says no pants era in front of a cartoon network logo

I can send some high res pics or 4k video, if that would help πŸ‘€πŸ©³πŸ€£πŸ€£

17.04.2025 12:26 β€” πŸ‘ 3    πŸ” 0    πŸ’¬ 2    πŸ“Œ 0

I think so too, but the next question is with or without "pants" πŸ€” 🀣🀣🀣🩳

17.04.2025 00:14 β€” πŸ‘ 2    πŸ” 0    πŸ’¬ 2    πŸ“Œ 0

And now you know i haven't spent much time in Europe 😬🀣

16.04.2025 20:31 β€” πŸ‘ 2    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

Well, then, today I learned..........πŸ‘€πŸ€£πŸ€£πŸ€£πŸ€£πŸ€£

16.04.2025 19:31 β€” πŸ‘ 2    πŸ” 0    πŸ’¬ 2    πŸ“Œ 0

Just sayin' shorts are better than pants, why I prefer being pantsless πŸ‘€πŸ€£πŸ€£πŸ©³

16.04.2025 00:03 β€” πŸ‘ 3    πŸ” 0    πŸ’¬ 2    πŸ“Œ 0

I was just saying that, when do I get to take off my pants......lol

15.04.2025 13:25 β€” πŸ‘ 4    πŸ” 0    πŸ’¬ 2    πŸ“Œ 0

Exactly, and today it was 70, I'm so tired of these ups and downs.

15.04.2025 00:19 β€” πŸ‘ 4    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

Yea, I'm so friggin tired of it, we had snow both days over the weekend, I guess since it didn't stick around i should be happy, ugh

14.04.2025 13:37 β€” πŸ‘ 4    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
The Twist - Chubby Checker
YouTube video by RetroTVCentral The Twist - Chubby Checker

This is what I hear in my head looking at this picture

youtu.be/im9XuJJXylw?...

05.04.2025 00:41 β€” πŸ‘ 2    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

Nice Mike, beautiful colors

05.04.2025 00:35 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Post image

If this ain't a goddamn perfect eulogy, I don't know what is.

03.04.2025 22:51 β€” πŸ‘ 20342    πŸ” 2597    πŸ’¬ 115    πŸ“Œ 91

I keep hoping for spring to actually get here, it's supposed to be 29f tomorrow morning again ughπŸ₯Ά

02.04.2025 00:39 β€” πŸ‘ 2    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

Damn, didn't you just get your power back on a few days ago? Best of luck my friend 🀞

02.04.2025 00:37 β€” πŸ‘ 3    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

Damn, I fell for it hooked, line and sinker 😬🀣🀣🀣

02.04.2025 00:27 β€” πŸ‘ 3    πŸ” 0    πŸ’¬ 2    πŸ“Œ 0

Wow, all that blue and green almost looks like spring arrived, let me dream, don't tell me the temperature lolπŸ₯ΆπŸ‘€

02.04.2025 00:26 β€” πŸ‘ 2    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

Now I have to get the bee book too, lol, I already ordered the other two 😬🀣

BTW, did you know he is on bluesky?

30.03.2025 18:38 β€” πŸ‘ 4    πŸ” 0    πŸ’¬ 2    πŸ“Œ 0

That's good to know, we definitely need more right @davebspain.bsky.social

30.03.2025 01:09 β€” πŸ‘ 4    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

Drive safe, congratulations on that victory!

30.03.2025 00:59 β€” πŸ‘ 3    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

That's always the funniest thing, but also why animals are so much better than humans, the Red-tail could snatch any of those birds but since it doesn't need to it moves on

30.03.2025 00:52 β€” πŸ‘ 2    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

It is kinda limited on "Murder Birds" , just 2 , the Red-tailed Fuck and Common Bastard (Common Buzzard") why we need the next set lol.

30.03.2025 00:50 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

Now I'm hoping for a series, more birds more laughs

29.03.2025 00:26 β€” πŸ‘ 3    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

It's hard for me to change my mind when it's still cold lol, nevermind snow ugh

29.03.2025 00:25 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

Agreed, funny stuff, one bummer for me is no bald eagle. But many laughs coming.

28.03.2025 23:27 β€” πŸ‘ 3    πŸ” 0    πŸ’¬ 2    πŸ“Œ 0

King bad ass right there, struttin!!

28.03.2025 21:20 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

It is funny, I gotta check if it has some of my favorites, grackle , nuthatch, etc

28.03.2025 21:18 β€” πŸ‘ 3    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

First few were pretty funny, it'll be a fun read

28.03.2025 21:17 β€” πŸ‘ 4    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

I can't wait to dig through it 🀣

28.03.2025 21:16 β€” πŸ‘ 4    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

@darth-gaul is following 19 prominent accounts