Search
306 results for “YesJustWolf”
-
I love #tombihn bags. I’ve been buying them since 1998 (I think). I started with messenger bags. I’ve got the ID and the Super Ego. I’ve got a zillion backpacks and travel bags. My messenger bags are still as good as new. All his bags are unbelievable quality. But the phone pockets on the ID, my favorite, are too small. I find myself buying a #timbuk2 classic messenger. Please Tom: make new messenger bags that can hold a 16” MacBook Pro.
-
I’ve been using #difftastic as my primary diff tool in #git. Plainly, side-by-side display is the best, but my monitors are too small. I don’t see enough width in this view. So I’m using inline and I’m just not getting enough out of the tool. Difftastic is great, it just may not be for me.
-
One unfortunate thing about #uv, though, is that I can’t install the dev headers with a #Python. So building #youcompleteme for #Vim is out of the question. Yeah, maybe I could use the #hombrew Python, but I don’t want to.
-
My friend and I are doing a presentation on #WASM. Part of it is taking a program (a sudoku solver) written by a friend (who, for this implementation, used #GeminiAI). The plan was for my friend to re-write it in #C, which can be compiled to WASM; and for me to write it in #RustLang, which also can be compiled to WASM. To keep the programs the same we couldn't optimize the actual algorithms, but we could optimize anything else. So, for instance, no making a linked list of empty spaces; but inlining cell lookup is fine. #Optimization
On my machine, my initial implementation (again, in Rust), was 50% slower than his implementation in C (running over the same puzzle a million iterations).
I started to optimize using #XcodeInstruments. My first time with this tool. Just didn't understand it well enough. I tried many optimizations: a one-dimensional array backing the board instead of an array of arrays; inlining particular functions; finding places where I knew it couldn't fail and removing checks. Things like that. Sure, I made it a little faster.
Then listening to #RustaceanStation I learned of a specific feature. A simple feature. In my code, I represented board cells with a simple enum, almost an exact copy of Option, but instead of None, it is Empty; instead of Some(x), Digit(x). The new feature is NonZero. Option<u8> in Rust is two bytes. Option<NonZero<u8>> is one byte (because the u8 can't be 0, Rust can use the 0 value to mean None)!
I applied exactly that one change to my implementation and that optimization, all by itself, made my program faster than his C implementation.
I was completely surprised, and very pleasantly.
-
I use @kagihq for search. I have for years. There are many great things about it. One is, for instance, I can automatically block search results from w3schools and from medium. Whenever I see a link to medium, I die a little inside. #Kagi #Medium #W3Schools.
-
@sirber though we don’t use ffmpeg, we do use #Python and #qt. We compile with #pyinstaller and the result is a regular standalone binary for our users.