carl montanari
banner
carlmontanari.bsky.social
carl montanari
@carlmontanari.bsky.social
very serious about not being serious. i like computers.
been dark. libscrapli shenanegins still on going. we're getting there though!
zig 0.14.x -> 0.15.x was mostly easy, but some gremlins floating around still where release-safe causes some segfaults but release fast/small does not?
will continue to chip away... slowly 🤓
September 9, 2025 at 2:35 PM
i used jujutsu all day instead of git and i *think* i get some of the value but... it defo sent me on a spiral that i did not enjoy. will try to stick with it a bit more to see if i can get it smooshed into my brain. anyone else using it and have feels?
August 15, 2025 at 10:18 PM
more slow and steady progress on libscrapli/scrapli/scrapligo things...

* examples for py/go (same ones, in both langs)
* knocked out some old netconf related todos
* ???

1/2
August 4, 2025 at 3:00 PM
follow up on the libssh2 proxy jump debugging fun: as expected... it was... user error!

turns out I wasn’t forwarding acks from the “outer” session to the proxied connection, so the server just stopped sending mid-stream.

1/2
July 18, 2025 at 2:43 PM
not the most successful weekend on the libscrapli front…

proxy jump stuff is *mostly* working w/ libssh2, cli is fine, but netconf just stalls out when receiving capabilities

feels real bad when you think you’re checking something off the list then realize... not quite!
July 14, 2025 at 2:12 PM
got libscrapli + libssh2 proxy jump thing working this weekend

not quite as easy as -J w/ openssh, but it does the trick!

thinking its time for docs and examples... closign in on an rc i think!
July 8, 2025 at 2:07 PM
finally got around to looking at vfs use in c9s this weekend...

tldr some folks were unhappy about storage ballooning on launcher pods a bit. i never cared cuz storage is cheap :P

1/3
June 30, 2025 at 2:44 PM
just got done w/ some time off -- was the least amount of dev/tech related stuff ive done in.... years?

i did manage to make some progress porting some scrapli community things into the new unified zig/go/py yaml format though 😎
June 27, 2025 at 1:56 PM
some folks apparently don’t like the name “clabernetes”

to them i say: kick rocks 🪨

its fun, funny, and it literally describes what the thing is
go fork (it) yourself if hate the name 🤷‍♂️
June 16, 2025 at 2:24 PM
i used to care a ton about "api" style docs -- like docs showing funcs and args and return types etc.

i think this is/was because i used to python a lot more and typing being a suggestion meant docs were (imo) even more important

1/2
June 13, 2025 at 2:30 PM
this weekend was an accidental lesson in garbage collection!

scrapli(py) test kills a netconf session, lazy me didnt free it. test passes locally, but fails 100% of the time in ci

root cause: the killed session was trying to log something to a logger that has been gc'd 😇
June 9, 2025 at 1:56 PM
spot the problem? computers man. they do exactly what ya tell 'em too eh?

tmate, strace, lsof, gdb and a lot of pain later... i was unlocking + signaling *before* setting the stop flag. thread kept running. join hung forever.

computers are hard
June 2, 2025 at 2:22 PM
have been told i am shit at linkedface (havent been told that about bsky, maybe bad at this too?)
guess you are supposed to do clickybaity stuff or like nicely format things or whatever
im just gunna (try to) keep posting nerd stuff im into. if you like that, neat, we can be friends!
if not... meh?
May 30, 2025 at 6:14 PM
for the 1, mayyyyybe 2 people deeply invested in my epoll/kqueue side quest:

it was. as nobody could have foreseen.

user error 😇

so yeah, epoll/kqueue things are looking mighty nice for libscrapli... will play more this weekend
May 28, 2025 at 2:36 AM
went on a kqueue/epoll sidequest for libscrapli

attempting to replace tight loop over non blocking reads (w/ sleeps ofc) with kqueue

maybe (probably?) user error but not as performant as i was hoping, gotta spend some more time poking about

also need to check out io_uring 🫠
May 27, 2025 at 2:28 PM
if you do developy things, go do this plz

blog.jetbrains.com/team/2025/04...

I always enjoy looking at the results, more data more good. go do it
Developer Ecosystem Survey 2025 - Help Shape the Future of Development | The JetBrains Blog
Lead the tech revolution with JetBrains: Take our survey, shape the future, and seize the chance to win a MacBook Pro and other exciting prizes!
blog.jetbrains.com
May 22, 2025 at 3:09 PM
had seen but not used popeyecli then ran across it again somewhere recently. am re-intrigued

static analysis stuff is such low effort for varying amounts of reward

the payoff doesnt really have to be much though.

this one feels like a cool tool to keep in the toolbelt
May 19, 2025 at 2:52 PM
still a huge jetbrains stan, but recently pretty much completely cnverted to zed

bit of faffing about w/ extensions and getting settings where i want, but its quite snappy, simple, and generally nice to use.

bonus points for non m$-ness of it all 😇
May 14, 2025 at 2:52 PM
here is my pro tip from some TIL this weekend

be REALLY careful with `git filter-repo` -- I made some dumb mistakes (decisions?) and wanted to clean some history and... yeah I mean they say be careful but, like... really be careful :)

in the end, history cleaned, nothing destroyed. go team.
May 12, 2025 at 2:04 PM
raz.sh/blog/2025-05...

I am obviously a potato 🥔, but I thought mcp was very... not sane? this post got traction on hacker news and I very much agree with it.

"resulting in some very strange design decisions, poor documentation, and an even worse specification of the actual protocols"
A Critical Look at MCP - Raz Blog
raz.sh
May 11, 2025 at 4:37 PM
tiny bit more work this week on libscrapli

ctypes are kinda painful, but work. cffi seemed no more performant (small sample) and would be an extra dep, so have been just sticking to ctypes.

netconf things getting bound into scrapli(py)... progress!
May 9, 2025 at 4:42 PM
spotted github.com/philocalyst/... a few days ago and was reminded this morning why i need to check it out... probably user error for sure but darwin seems to never want to use sublime or zed to open .md or no extension text files. maybe this can help idiot proof myself 😇
GitHub - philocalyst/infat: A command line tool to set default openers for file formats and url schemes on macos
A command line tool to set default openers for file formats and url schemes on macos - philocalyst/infat
github.com
May 8, 2025 at 2:54 PM
perf + flamegraph on linux is most excellent

tried to faff about with xcode instrumentation and i *think* it can be super powerful but it was too much for my short attention span

but yeah, would be clutch to have a better darwin native setup since im a fanboy and all that
May 5, 2025 at 1:35 PM
blah blah mcp. had to see what all the fuss was about so made janky scrapli one

its pretty much idiot proof w/ the mcp package

its neat i guess. stdin/out stream instead of just a rest or grpc feels strange. 1/2
May 1, 2025 at 1:19 PM
semver is a lie. what even is breaking? some stuff is clear but most is not.

i used calver for scrapli (till now?) because... you can pin, you can see commits, and ill release on schedule to make my life easy 🤷‍♂️

a bad idea. one of many! i still dont think semver is all its cracked up to be though
April 30, 2025 at 1:28 PM