Collecting my attempts to improve at tech, art, and life

2024-11-21

Tags: hackers-town

Does any of this enlighten, entertain, or otherwise please you? Please consider a Tip. Every little bit helps!

I last updated this page

Activity Log

hackers.town: 2024-11-21 Thu 10:55

@farah restarting a game any time I miss more than a month is a seriously frustrating habit I have.

hackers.town: 2024-11-21 Thu 11:39

Today’s wish is for folks – and by folks I mean me – to stop using Web search for programming language docs when I can get that info via CLI.

Perl: perldoc

Python: pydoc

Go: go doc

Pydoc and godoc let you drill down to a specific package / class / function, showing docs for whatever granularity you’re at.

Any language doc browsers I’m missing? Specifically thinking

ships in default language tooling

query from and render to terminal

browse and search the language’s standard library (in the terminal)

hackers.town: 2024-11-21 Thu 14:11

@philsplace Dash is good. I’ve used it plenty. I’m thinking of CLI-specific stuff though. Minimize context switching for my ADHD brain.

hackers.town: 2024-11-21 Thu 14:42

Ah it’s nice and mild out. Warm but not enough to skip the long sleeve shirt. A pleasant autumn day.

Wonder what the temperature is?

82F

Six months in #Tucson and my sense of scale is totally shot.

hackers.town: 2024-11-21 Thu 14:54

@wez I’m far too accustomed to shoes and socks to skip them, but inside? What’s already a shoes-off household becomes socks-off too.

hackers.town: 2024-11-21 Thu 14:59

@wez It’s not impossible. During peak summer I often opted for sandals only, until my feet started getting cranky with me.

hackers.town: 2024-11-21 Thu 14:59

@wez (multiple trips outside daily thanks to two dogs and no yard)

hackers.town: 2024-11-21 Thu 17:46

@genehack I’d even withhold the “ships in default language tooling” considering the ecosystem culture.

oh hey there’s deno doc

hackers.town: 2024-11-21 Thu 17:50

@genehack I hear they’ve improved Node.js compatibility.

hackers.town: 2024-11-21 Thu 17:51

@genehack Last time I directly poked at Deno, using Node modules was just a flat “no.”

hackers.town: 2024-11-21 Thu 17:52

@genehack @KayJanes at three you’ve warmed up but haven’t started to flame out yet.

hackers.town: 2024-11-21 Thu 17:55

Nothing like writing a script to automate a task I’d partially accomplished manually to remind me how complex that manual task was.

hackers.town: 2024-11-21 Thu 17:55

@genehack @KayJanes now you’ve got it!

hackers.town: 2024-11-21 Thu 19:39

Pups and I got uncomfortably close to a big all chonk no chill javelina tonight.

Bouncy Dog scared him off. I helped a little by stomping, making noise, and waving the flashlight in its face, but it was mostly Bouncy Dog.

I think I learned javelina for “to hell with these guys” as it casually changed direction away from us.

Now home. Bouncy Dog is basically glued to @IamMrsGeek and her lap.

hackers.town: 2024-11-21 Thu 20:34

@m Is there a man invocation for header file docs? Like, after a bit of fiddling I found that random() comes from stdlib.h, part of the standard C library libc.

Is there man ?? stdlib.h or man ?? libc?

hackers.town: 2024-11-21 Thu 20:38

@m This is probably where I’d pull out Dash or a similar tool, if discovery through documentation was my goal.

With go doc and pydoc I often start my browsing at the package level, derived from the ancient muscle memory of perldoc Package::Name.

I’ve made some serendipitous discoveries with that approach though, so I prefer tooling to support it.

hackers.town: 2024-11-21 Thu 21:03

@trs Agreed on the Perl spoiling. I look at Pydoc as a lightweight docs browser. Just enough to keep me going on packages, classes, and functions.

hackers.town: 2024-11-21 Thu 21:59

@tek “reparented?”

I had a whole lot of snark here that was unnecessarily cruel even to that dickwad.

We’ll just go with “bit late for that here”

hackers.town: 2024-11-21 Thu 22:14

@tek I’m just not gonna make reparenting jokes to someone whose dad got shot in the head. There’s plenty of other material to work with.