452 Followers
2.3K Following
2.5K Posts
Software stuff. Aspiring game developer.
Model Colorshttps://apps.apple.com/app/model-colors/id1200319954
LinkedInhttps://www.linkedin.com/in/janekholm/

In general I like languages having some form of common code formatting style, as long as it's sane. Things like putting { on own lines is not sane, but I think everyone agrees on that by now.

Rust has its own style too and at least the defaults are at times absolutely horribly ugly. I hate wasting lots of vertical space for function parameters like in this example. I have not yet found a way to bring som sanity to this abomination, but I hope it can be done.

#rust #rustfmt #myeyes!

I like RustRover as an IDE for Rust. It's pretty fast and has mostly working code completion. But I have not been able to get it to recognize Protobuf types. The application compiles and runs fine, but RustRover can not seem to find the generated types. This makes editing much more distracting than it needs to be as a bit part of the code is red when it doesn't need to be. Or perhaps something is not included correctly but the compiler manages to handle it?

#rust #rustrover #protobuf

Visual Studio must be one of the most awful tools to use. So confusing and nothing works as it should.

The case here is an app ames.exe that crashes and I write a MiniDump thing in a crash handler. I load the dump in VS on the machine I built the binary. I need to load the binary manually as the dump doesn't contain everything. Hit "Browse", find ames.exe and click "Open" and it does nothing. Just sits there and does nothing at all. WTF am I supposed to do here?

#visualstudio #garbage

I assume this means that our NextCloud instance could be offline for about a week. That's some serious weak ass system admin skills. It should take a few minutes at most to update.

#hetzner #nextcloud

I don't understand how so many can be so enthusiastic about Visual Studio Code. I use it on a small C++ project (too lazy to install CLion and set up the licenses and what not) and every time I try to invoke completion I get this. It usually takes 5-10 seconds for the completion to find anything and often it finds nothing useful at all. It's slow and only marginally smarter than notepad.exe.

#visualStudioCode #slow #rubbish

Narrowing down the dependencies hopefully helps. I had a dependency for "boost" there which probably pulled in assloads of extra stuff, like "boost-python". Hopefully this smaller set helps.

Spoke too soon. Installing a dependency failed. Not my own dependency, but apparently something needed by one of my direct dependencies, perhaps Protobuf?

Not sure what I can do here apart from just ditching this crap and installing the dependencies by hand.

Developing on a good development OS is never this annoying.

Still syncing. I think this won’t work out.

RustRover seems to be able to somehow break its view of the world. I have a Protobuf file that's compiled with a build.rs using prost_build::compile_protos(). It works fine, my app uses the created structs andfunctions fine, compiles ok and runs fine. Yet RustRover does not see the symbols and shows everything as undefined. Something is cached somewhere and I can't figure out what.

#rust #rustrover #protobuf

It’s really weird that an external USB drive is sold with this kind of cable in late 2025. Why not USB-c in both ends instead of this proprietary garbage and USB-a?