HackerTrans
TopNewTrendsCommentsPastAskShowJobs

alsuren

no profile record

comments

alsuren
·2 năm trước·discuss
Eventually someone will make a Desktop Linux distro that targets macos exiles, using macos keybindings everywhere. When that day comes, I will be back on Linux like a shot.
alsuren
·2 năm trước·discuss
I found the virtual branches compelling, but when I tried it out, I got myself into a mess.

I think that this could all be done using real branches, plus an integration branch with post-commit hooks to backport each commit onto the "default" branch and recreate the octopus merge "integration" commit each time. Would that work, or am I missing something?
alsuren
·2 năm trước·discuss
I recently spent multiple months building out something like this blog post describes, for a notion-like app (to replace a different versioning scheme that could do draft pages but not point in time viewing).

We ended up doing it all in typescript, or with some postgraphile shenanigans.

One of the things we missed when requirements gathering was the ability to view a table of records each at their "latest published" version.

I think this can probably be done by including a pair of tztsrange columns in the history table (one for "when was this the latest valid draft?" and one for "when was this the latest valid published version", and do a bunch of date shuffling whenever you publish a version.

We've not actually done this yet, because there are some edge cases around dependency graphs and computed columns, but for a simpler app I reckon it would work just fine.
alsuren
·3 năm trước·discuss
This is a pretty cool idea.

Recently I have been using SD 1.5 checkpoints with the LCM lora for all of my image generation (generally weighted down to 0.8 strength, with 6 step inference). It's not as fast as sdxl turbo, but at least it does a good job of people's faces.

It would be good to make more efficient use of people's donated resources by making it possible to use LCM lora.
alsuren
·3 năm trước·discuss
https://crates.io/crates/cargo-quickinstall is something that I hacked up in a week because `cargo install sqlx-cli` was taking so long in our CI whenever we got a cache miss. I ended up donating it to the cargo-bins team, and they're doing a great job of maintaining it.

I tried to extend the idea to cargo build (see http://alsuren.github.io/2022/07/30/why-cargo-quickbuild.htm...) but I never got it to work with proc macro packages so I gave up. If anyone wants to have a go at getting it working, I'm happy to mentor.
alsuren
·3 năm trước·discuss
This sounds like a really good pattern, and something that deserves to become a modern standard (like https://no-color.org/).

I feel like this should be made opt in somehow. If you are a noninteractive process and stdin is a tty then you probably shouldn't be swallowing input. I frequently blind-type the next command while a long running command is active, because well behaved noninteractive programs don't swallow input from stdin.
alsuren
·3 năm trước·discuss
I noticed that in the photos they're all sitting above the bit where the reinforcements are at the edge of the bed. I couldn't see any reinforcement in the middle, ~but there might be some on more detailed plans~ the videos on their site don't show any support either, but I am willing to believe that the load can be distributed by the pair of cardboard sheets.

You would hope that the 350kg is from a point load in the middle of the bed. If anyone finds out, I would also be interested to know.