Just be careful with files with spaces in the name. There’s an incantation with xargs
that I always have to look up when I want to use it safely.
Canadian software engineer living in Europe.
Just be careful with files with spaces in the name. There’s an incantation with xargs
that I always have to look up when I want to use it safely.
Not in and of itself, but I find that I have a handful of common tricks that I can put into aliases. Also, there’s ffmpeg.app!
You might be interested in this project where someone has hooked up a low-power system to Mastodon and is tooting through it stories about the experience. The project author may also be worth contacting.
I’ve used Starship before, and while it’s quite powerful for formatting what goes into your prompt, I don’t believe there’s any feature in there that will fix the prompt to the top of the screen. The best I could find in the docs was a feature to place some text to the right.
Yes, that’s it exactly.
What exactly are you self-hosting that’s gobbling up that much data? I’ve been self-hosting my website for decades and haven’t used that much over all that time let alone in one month.
Most of my bandwidth consumption is from torrents and downloading Steam games, but even that doesn’t get me to even 1tb/month.
Hear me out: I want the prompt at the top of the screen.
It’s terribly inconvenient to have the place you’re typping your command into at the bottom. On laptops, your fingers are in the way, and on desktops, you’re always craning your neck looking at the bottom-left.
Imagine instead if your terminal looked like this:
| ---------------------------------------------------------------------------- |
| $ curl https://...
| ---------------------------------------------------------------------------- |
| $ echo "hello"
| hello
| $ ls
| output.png
| goes.txt
| here.webm
| ---------------------------------------------------------------------------- |
After a command is entered in the upper pane, it’s appended to the lower pane along with the output just like a normal terminal. Maybe even something like translating Shift+Enter
to mean “clear the output pane and run”.
Could Wine help out here?
My guess is it’s the license change. From Wikipedia:
In 2018, some modules for Redis adopted the SSPL. In 2024, the main Redis code switched to dual-licensed under the Redis Source Available License v2 and the Server Side Public License v1.
Valkey appears to be a Redis fork that was triggered by the license change, but since Valkey still uses the original BSD license, I’m not sure I’d favour it over Redis since the latter switched licences specifically to prevent abuse of the BSD license by parties like Amazon.
What is the deal with getting gpu acceleration into a terminal emulator of all things? Of all the innovations that we could use, faster drawing of text doesn’t feel like it should be a priority.
What exactly are the risks here? Should Measles and even Polio make a comeback because of these idiots, is it just the lives of the idiots at risk, or is a resistance mutation that’d threaten everyone a risk?
During the last decade, however, centrists and progressives alike continually fail to grasp that many voters have reached the point of ‘anything must be better than this.’
Holy fuck this is it.
This is how you elect fascists:
Once you’ve demonstrated that you can’t be trusted, the public start to think: “Maybe the right isn’t all that bad. It can’t get much worse than this.”
The only way to avoid fascism is to actually help the public. Gaslighting them into thinking that you’re solving problems you refuse to solve only works for so long.
Agreed on all fronts. In my activism experience in Ontario specifically, I remember how the province would often push back against municipalities that wanted to build something. NIMBYism is another big problem, but the often-overlooked issue is the fact that the private sector is deliberately holding back development because it’s more profitable to do so, especially when interest rates are so high.
The amount of profit in building low-rise and even high-rise (non-luxury) developments just doesn’t justify the costs, and when every unit you build effectively drives down the amount you can charge for for each unit, there’s simply no incentive to build at the rate we need.
There are whole swathes of undeveloped or underdeveloped land in and around cities that would benefit from a crown corporation with deep pockets that would buy up land and build affordable housing on it. A body with the power to compel companies not using land to sell it to the state so that it can be developed for the public good, and with the political cover to piss off local NIMBY organisations without having to worry about political blowback.
While I agree with you that the municipalities and provinces share a considerable amount of blame for the housing crisis, the suggestion that the federal government is somehow incapable of solving this problem is, I think, inaccurate.
I live in the UK now, where the same excuses could have been made in the 50s: the national government has no business sticking its nose into the affairs of cities and internal countries (the UK is weird). But they did it anyway. The national government spent mountains of money and resources, building an economy around building homes. The state built those homes, millions of them across the country.
Canada could do the same. Form a crown corporation that does nothing but builds high-density homes and sells or rents them at below-market rates to people in a given economic demographic. The “profit” in this model is a housing-secure nation full of happy, productive people. This, paired with an offer of big federal money exclusively for mass transit systems that connect these developments as well as a complete rollback of funding for road expansion, and Canada is well on its way to deflating the housing bubble and solving both the housing crisis and the environmental one.
But they don’t want that, because the people that fund them like it when people are desperate.
Not so long as they allow him to rule like a dictator.
Also, the suggestion that they got most big policies right is laughably false. Few governments on the planet have done more to prop up the fossil fuel industry than this one, even while our country literally burns from its effects. We continue to ship weapons supplies to genociders and have done sweet fuck all about the housing crisis.
Being “not as shit as the Conservatives” is an unreasonably low bar and we can do better.
This is an excellent idea. Fortunately you’re not the first to have it ;-)
You should look into alias
.
You can’t really make them go idle, save by restarting them with a do-nothing command like tail -f /dev/null
. What you probably want to do is scale a service down to 0. This leaves the declaration that you want to have an image deployed as a container, “but for right now, don’t stand any containers up”.
If you’re running a Kubernetes cluster, then this is pretty straightforward: just edit the deployment config for the service in question to set scale: 0
. If you’re using Docker Compose, I believe the value to set is called replicas
and the default is 1
.
As for a limit to the number of running containers, I don’t think it exists unless you’re running an orchestrator like AWS EKS that sets an artificial limit of… 15 per node? I think? Generally you’re limited only by the resources availabale, which means it’s a good idea to make sure that you’re setting limits on the amount of RAM/CPU a container can use.
Torrent stuff in HD or 4K and play those files instead of trying to stream from a company that won’t offer better than 720p :-)
Also
Ctrl+D
to exit any shell andCtrl+R
for reverse searching your history!