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.
For the average person (or even average tech person), what advantage would desktop Linux have over macOS, especially now that Apple is on proprietary hardware again?
Wasn't there already a desktop Linux for Apple Silicon (forget its name, Asahi maybe?), but last I checked, a bunch of things don't work right.
It's nice having a POSIX shell on Mac combined with the ability to use common business apps like Adobe or Microsoft stuff. What would Linux offer?
I tried to do this manually and it was partially successful, but a nightmare. Most people who want this seem to use and enjoy Kinto, which is supposedly very easy.
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?
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.
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.
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.
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.
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.
I also use `!$` (`vim script.py` and then `python !$` or `git commit !$`) but the parser rejects `!$` before it can be rewritten by the abbreviation system. [edit: https://superuser.com/a/1762626 points out that if you add a space before hitting enter then it works fine, so I'm guessing it's just a bug, and I should go with d below]
Options seem to include:
a) make a !$ replacement that is not illegal and change your muscle memory `\$` or `!\$` or `!@` or `!%`
c) some combination of a and b (e.g. make a `!\$` abbreviation and then make a binding so that if you type !$ it replaces it with `!\$` so that it gets past the parser without expliding)
d) patch the parser to allow !$ as a special case if there is an abbr for it.
I just tried b but it's pretty jarring. I think I might go with c instead.
I'm actually feeling quite positive about this now.
There is something I've been wanting to add to bash since forever, which is something to help me cd into a repo that I just cloned (e.g. `git clone https://github.com/fish-shell/fish-shell` then `cd !/` could expand to `cd fish-shell`).
Bash has a range of modifiers for history expansion. You can "cd !$:t" to execute "cd <final argument of last command, basename only>" for your git example. zsh, somewhat predictably, has a superset of bash's modifiers so it works there too.
The Cycle-to-Work scheme as I remember it is problematic in that you're not buying the bike, but virtually leasing it from your employer for a period of time (1 year?) and you hope that your employer will give the bike to you at the end of that period. The problems are that your employer might not want the extra hassle involved of potentially owning unwanted bikes (my employer has no interest in the scheme) and also the last time that I checked, the tax break was on only the first £1000.
(I'm not looking to buy an e-bike as I'm more of an acoustic cyclist)
> The Cycle-to-Work scheme as I remember it is problematic in that you're not buying the bike, but virtually leasing it from your employer for a period of time (1 year?)
That's just a technicality, I assume to make it comply with other laws about using company money to buy personal items. Payments are deducted from your pre-tax earnings each month, so the saving come from paying less income tax; you can't give the company a wad of cash up-front, or have it all come out of one month's salary.
> you hope that your employer will give the bike to you at the end of that period
They will always give you the bike: Cycle to Work schemes are offered as an employee benefit, the company doesn't want the bike. More important is what happens if you leave the company before that period; e.g. when a previous employer folded I had some some balance remaining to pay (around £500), which was deducted from my redundancy payment.
> The problems are that your employer might not want the extra hassle involved of potentially owning unwanted bikes (my employer has no interest in the scheme)
That's certainly true, and probably the main reason to avoid it (as an employer). Still, it's not much different to having surplus office furniture; at the higher-end, I imagine it's similar to an employee requiring some specialist desk chair, which the company can sell off afterwards.
> he last time that I checked, the tax break was on only the first £1000.
It varies per employer, e.g. I got one up to £1500. More annoying is that it must cover the full price: e.g. you can't pay £100 cash to get a £1600 ebike (although some sellers may fiddle the price tag to get around this!)
> It varies per employer, e.g. I got one up to £1500. More annoying is that it must cover the full price: e.g. you can't pay £100 cash to get a £1600 ebike (although some sellers may fiddle the price tag to get around this!)
The only time I used cycle-to-work was many years ago, so I might have misremembered. However, I've heard that current schemes tend to just give out vouchers that can be used in certain bike shops (e.g. Halfords) on bikes and bike accessories and can be used in part payment for bikes. To be honest, increasing the price limit only really helps people who already committed cyclists, so maybe it's at a fair level.
I think it would make more sense to reduce or remove VAT from bikes and cycling accessories instead. Far less paperwork and it would immediately open the benefits to everyone rather than being targetted towards the MAMIL (MAWIL?) segment though I consider myself a MAMIL.
Does anyone have an archive of their code for this?
https://github.com/bytedance/monolith exists, but is an empty repo. A Web Search for "github bytedance monolith" finds a bunch of files in that repo that are 404s when you click on them.