Advertisement · 728 × 90

Posts by carl montanari

Zig! 😇 whatever you do will be dope ime sure!

2 months ago 1 0 0 0

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 🤓

7 months ago 0 0 0 0

Damnit Mike

8 months ago 0 0 0 0

lol how did I know to expect this from you 😂

8 months ago 0 0 0 0

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?

8 months ago 1 0 2 0

todo...?

* better/cleaned up logging
* "trace" or "debug" mode maybe?
* outlier platforms (fortios, mikrotik)
* docs
* ???
* profit?

2/2

8 months ago 0 0 0 0

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

8 months ago 1 0 1 0

big payloads exposed the issue (ty srlinux for making it easy to load absurd configs in clab!)

fixed by ensuring we flush writes when reading which sounds silly but letes the acks through basically

2/2

9 months ago 0 0 0 0

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

9 months ago 0 0 1 0
Advertisement

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!

9 months ago 0 0 0 0

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!

9 months ago 2 0 0 0

c9s now uses overlayfs if in a privileged pod (almost everyone since have to to run NOSs generally)

result is container fs drops from 21g -> 13g for a srl pod. and maybe/allegedly sorta quicker?

if you are bored and using c9s, check out 0.3.0 and lemme know if it all works!?

3/3

9 months ago 0 0 0 0

anyway, culprit is basically vfs. vfs is default storage driver for docker in a container i guess, probably because it works anywhere. but, its bad from a storage perspective and allegedly is slow(er?).

2/3

9 months ago 0 0 1 0

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

9 months ago 0 0 1 0

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 😎

9 months ago 1 0 0 0

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 🤷‍♂️

10 months ago 2 0 0 0

dont forget to put carbon and nim and a zillion other cool ones in there somewhere 😅 but yes, zig is super dope!

10 months ago 1 0 0 0
Preview
a man wearing a watch holds his nose while watching a masterchef argentina show ALT: a man wearing a watch holds his nose while watching a masterchef argentina show

😂

10 months ago 0 0 0 0
Advertisement

not sure if just cuz more go/zig lately or just "growing up" but meh re these docs now?

just stuff like go doc and then, much more importantly, "wordy words" explaining thought process behind things

like why these args, what is actually happening when you call XYZ, how did we get here etc.

2/2

10 months ago 0 0 2 0

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

10 months ago 0 0 1 0

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 😇

10 months ago 0 0 0 0
Post image

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

10 months ago 0 0 0 0

❤️ 👊 thanks dude!!

10 months ago 0 0 0 0

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?

10 months ago 2 0 0 0

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

10 months ago 2 0 0 0
Advertisement

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 🫠

10 months ago 0 0 0 0
Preview
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!

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

11 months ago 0 0 0 0

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

11 months ago 0 0 0 0

You had me till windows 🤣😇

11 months ago 0 0 0 0

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 😇

11 months ago 1 0 0 0