maxrn's Avatar

maxrn

@maxrn.dev.bsky.social

Computer science student Go, nix, OCaml, some web neovim btw

344 Followers  |  764 Following  |  124 Posts  |  Joined: 04.06.2024  |  1.4951

Latest posts by maxrn.dev on Bluesky

Screenshot of some rust code in neoVim. The hover definition for the type X509Version::V3 is open and showing that it's defined as
"pub const V3: X509Version = X509Version(2)"

Screenshot of some rust code in neoVim. The hover definition for the type X509Version::V3 is open and showing that it's defined as "pub const V3: X509Version = X509Version(2)"

> how do u get an x509 certificate's version?
oh, easy, you just check the version number field
> oh nice, so-
if it says "1" then it's version 2, if it says "2" it's version 3. pretty simple.
> ...

05.08.2025 15:04 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

random Kotlin thoughts:
- why keep the parenthesis for if/for/while :( I've been spoiled by go and rust
- String? == Option<String> and .let should really be called .map no??
- why have a million different ways to declare a constructor
- overall seems cool and better than I remember it

31.07.2025 08:13 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

nvm I'm stupid.

day 227
I still haven't found a need for RefCell/Rc/etc.
One day I will find it. One day.

27.07.2025 21:13 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

damn... borrow checker got hands

27.07.2025 19:25 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

Iβ€˜m going to support our Systems Engineering chair to deploy/nixify some nvidia drivers… I mean they warned me, but now I’m scared

25.07.2025 21:27 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

This is something that I know is technically correct, but hurts me on an emotional level

24.07.2025 13:53 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

Thanks!

24.07.2025 13:49 β€” πŸ‘ 3    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

Uhm excuse me, that’s just called β€œbeing polite”

24.07.2025 11:59 β€” πŸ‘ 4    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

@nanami.codes dear Mrs Nanami, do you have suggestions for someone starting a new Kotlin/spring boot job next month? Any books or talks you could recommend? I’ve written a very small android app like 5 years ago, but that’s all the experience I have

24.07.2025 11:37 β€” πŸ‘ 5    πŸ” 1    πŸ’¬ 3    πŸ“Œ 0
screenshot of frame from the Star Wars the clone wars tv show.
It shows a clone soldier that is talking into his communication device. The top text reads "We need back up"

screenshot of frame from the Star Wars the clone wars tv show. It shows a clone soldier that is talking into his communication device. The top text reads "We need back up"

me when the borrow checker is annoying me again

20.07.2025 20:18 β€” πŸ‘ 2    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
A screenshot from the movie "Star wars the clone wars". We can see three neat groups of clones in armor standing in formation.

A screenshot from the movie "Star wars the clone wars". We can see three neat groups of clones in armor standing in formation.

me when I write rust

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

git config --global gpg.format ssh

is somehow deeply funny and satisfying at the same time

18.07.2025 16:22 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

But in this case I would need to unwrap opt again before using it

18.07.2025 08:05 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

Yeah, talking about Rust
I guess there's let x = match { None => return y, ... };

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

ngl I kinda forgot about it, but now I'm sad that's gone

17.07.2025 19:56 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

let Some(x) = ... else {
return y;
}
is the most confusing and disgusting construct ever. And I hate that there's no better option (that I'm aware of)

17.07.2025 19:49 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

clippy and I are now best friends

15.07.2025 14:53 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

lib is pronounced "lie-b" as in "library"

so it's not "matplotlib" it's "matplotlieb"
or "liebuv" not "libuv"

follow for more pronunciation tips

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

o7

12.07.2025 21:06 β€” πŸ‘ 2    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

writing a python script to solve the task: 5mins
trying to write a shell one-liner, failing, dealing with stupid xargs/bash/posix idiosyncrasies: priceless*

*30mins and your sanity

03.07.2025 14:44 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

Huh, I swear it worked before. Weird. I'm on 15.5 as well. AirDropping to my phone and opening the image detects the QR code immediately

27.06.2025 12:28 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

MacOS should auto-detect QR codes in images afaik. Should work on screenshots as well.

27.06.2025 12:16 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

aaaand it's back

17.06.2025 20:10 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

GitHub down :(

17.06.2025 19:55 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

Amazing!

29.05.2025 18:47 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

By hand takes longer than using AI assistance…?

26.05.2025 12:50 β€” πŸ‘ 2    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

good luck!

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

lib.fileset is really nice, but the API could have been even better :(

23.05.2025 18:53 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

mut is pronounced β€œmute”, because it’s short for β€œmutable”

proc macro is pronounced β€œpross macro”, because it’s short for procedural

Sorry

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

wtf why is Pages asking me to review it on the app store?? I didn't even know it's on the app store. Show me the person that actually considers app store ratings before using freakin Pages

20.05.2025 08:43 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

@maxrn.dev is following 20 prominent accounts