1,017 karma · joined Jul 2, 2014 (12y ago) · 189 submissions
comment 6mo ago · link · parent
Not quite what you're looking for I think but it was a Wine-style reimplementation of MacOS.
comment 7mo ago · link · parent
comment 7mo ago · link · parent
Again, I get it, but as a power user this kind of stuff is just infuriating.
comment 8mo ago · link · parent
I've written wrappers to handle things the way I want, but it always feels like a bit of a hack. (Usually I use a stop sentinal internally and reach inside to unbound the queue before I send it to avoid blocking). Just wish it were built in.
comment 8mo ago · link · parent
comment 1y ago · link · parent
comment 1y ago · link · parent
For those unaware, though I doubt you're reading this thread if so, I want n desktops that are shared between all screens, not desktops _assigned_ to particular screens. If I summon a desktop on screen 1 and it's currently displayed on screen 2, they should swap.
Ideally also does layouts kind of like xmonad too, not "here's a tiling tree structure and a bunch of commands to manually manage it".
comment 1y ago · link · parent
Related blog post: https://daltondur.st/syno_btrfs_1/
comment 2y ago · link · parent
(And of course the flip side of Rust here is that you need to be able to figure out how to represent your code and data to make it happy, which provides new and interesting limitations to how you can write stuff without delving into "unsafe" territory... something something TANSTAAFL)
Good info though; thanks!
comment 2y ago · link · parent
Which enables stuff like rayon where you can basically blindly replace map with parallel map and if it compiles, it _should_ be safe to run.
(I'm not super familiar with the .NET ecosystem, so it's quite possible there's equivalent tooling for enforced thread safety. I haven't heard much about it though, if so.)
comment 2y ago · link · parent
It was horrible.
comment 2y ago · link · parent
comment 2y ago · link · parent
a) let me write actual SQL, not a python DSL that generates SQL
b) be placeholder-safe
c) be composable
Though it was somewhat intentionally limited to what I needed to support for my own needs at the time.
comment 2y ago · link · parent
comment 3y ago · link · parent
No production Java/.NET runtime directly interprets bytecode, it gets dynamically compiled into machine code. And as a result it can dynamically _recompile_ it if it discovers runtime profiling patterns that mean a different compilation can run faster, it can dynamically inline functions into the compilation if pertinent, etc.
This does not mean that Java/.NET code _will_ always run faster than native static compilation (a quick gander at the real world shows that optimized production code is usually pretty close either way), but it explains how it _can_ run faster.