Calculator Manipulator

  • 59 Posts
  • 128 Comments
Joined 5 years ago
cake
Cake day: April 16th, 2019

help-circle





  • Illecors@lemmy.cafetolinuxmemes@lemmy.worldLinux: I'm not asking
    link
    fedilink
    English
    arrow-up
    5
    ·
    edit-2
    15 days ago

    killall -9 processname works well when you can’t be asked to get the pid.

    kill -9 $$ is my favourite way to save face when I enter something into shell that shouldn’t be in its history. Usual situation - switching panes and forgetting a recently used sudo session. Switching to root and getting there without a password prompt, but still typing it in. Wouldn’t be helpful in situations where shell history is monitored remotely, but hey ho.



  • dire problems, including those that accumulate over time

    That’s not a thing. You create problems over time by experimening in what is, effectively, production load. If all you ever did was install any distro and kept it up to date - not much can break. Granted - shit happens, but it’s incredibly rare.

    As an example - I’ve set up my mail server in May 2019. Chose archlinux, because I never wanted to go through a big upgrade. The only exta software installed there is mail-server related. Direct from the repos. I’ve become confident enough that now there’s a nightly cronjob to update the system with a hook to reboot if kernel or init gets updated.

    In all those 5 a bit years I’ve had one issue where I hqd to revert a kernel update.

    Another example is tang on an ubuntu server. This was at a previous workplace, but essentially it’s a piece of software from the repos. Originally installed on 16.04, has gone without reprovisioning all the way to 22.04. I’ve now left the company, but I hear it’s still running.

    Upgrading an ubuntu desktop fleet with a myriad of custom software, on the other hand… let’s just not talk about it.





  • Agree with everything you’re saying.

    I think current tech just doesn’t permit trains to be a viable car replacement - they cannot make turns. There’s DLR in London that has a few insane curves, but that ability costs it greatly in terms of top speed. As such it’s only viable in very population dense areas.

    Which also leads to a common problem when building public infra - some people just won’t let go of their home, no matter what. Current laws (in a few countries I keep an eye on, at least) do not enable forced buyouts, and I don’t really have a straightforward answer. Part of me says such projects should have the ability for it, but then I’m not sure I’d agree if I myself were in such a position.

    There’s also a less tangible benefit of a car that I’m subconciously avoiding to mention because I don’t know how to fully express myself appropriately - freedom. It’s freedom to go anywhere, which could be almost fully be covered by perfect public transit; but it’s also freedom from big orgs such as governments and corporations. It is possible to go across the whole Europe on a couple of tanks of an average car and 4-5 tanks if it’s something thirstier. That little fuel can be easily stocked up by an individual. If rail gets shut down - you’re stuffed. No policy can stop me from moving in a car.

    The context of this is russia invading Ukraine and movement restrictions put in place during covid. While I don’t argue too much about covid - something had to be done; implementation and enforcement in some countries outright sucked, though - russia is an actual threat that would affect my family if it invaded further west. And if that happened - nothing beats a car in that case. Rail gets shut, roads and borders closed.

    I’m probably expanding a bit too much.


  • I get the idea, but comparing straight lines is not at all a representative visual.

    As a Londoner, on my 10 mile commute on a bike I easily beat the underground; and that includes the shower. During peak times I also beat cars. But when it comes to any other time - cars are just faster.

    I’m also not going to cycle 60 miles to my favourite sea town. Nobody’s laying tracks all over the place to actually make cars obsolete - that would be an insane waste of space, resources and time. That also frees my up from any worries about whether whatever union will threaten to strike this month trying to protect their drunk/high/incompetent colleague from taking responsibility.

    Trains should connect towns, but most of the time when people say that they don’t really think about it. What ends up happening is a spiderweb sort of layout, where one can reach the regional centre from all surrounding towns, but going north to north-east requires taking north - regional centre - north-east route. Which is simply obnoxious.

    Bike lanes should be separate. Certain mayors should not, during covid, promise to spend 2 billion on cycling infra, then force councils to immediately make it a reality, only to undo it all a few weeks later when it turns out that giving 2 of the 4 lanes of the road to cyclists it just fucking stupid. And then tearing all the separation columns/paint/etc down. 2 bil well spent.

    Bikes and cars should not share the same lights. Bike lights should not delay car lights from turning green to create an impression that cyclists are cared after. All that does is make drivers annoyed and create useless delays for everyone. Either cars or bikes should get under/overpasses, depending on the environment.

    In general - it’s never the mode of transportation.

    Driver’s licence should be considered a privilege that is only granted to those who can actually attentively, assertively and safely. Notice I haven’t said slowly - speed has very little to do with problems on the road. It’s always alcohol, drugs, phone or some other stupid thing that ruins it.

    I will never support requiring a licence/insurance/bollocks for cyclists, but something has to be done. The amount of obnoxious daydreamers is astounding. I’m not asking you to race to the next lights, Karen; all I’m saying is you should put your phone in your pocket and start paying attention to your surroundings. People have to start giving a damn.

    Public transit. It’s great, until it isn’t. It just so happens, that moving six 60 ton cars (that’s mass loaded with people) creates excessive amounts of heat with no easy way to get rid of it. Love me a good sweaty armpit first thing in the morning. Buses. The only somewhat efficient setup I had ever seen was in Westminster. Everywhere else - garbage. They run too infrequently, they’re too slow, the routes are barely tolerable - you always have to keep changing the bus. Throw in the dumbass Arriva contract bullshit where it’s cheaper for them to cancel the route and hold the bus for half an hour that to be late a few minutes to every stop till end of route and you’ve got yourself a perfect shitshow.

    Taxis are probably a great thing, but something’s wrong with their drivers - they’re always trying to crash into me. It’s annoying while driving, but life-threatening while cycling. I guess this one wounds back at “driving should be a privilege”.

    Thanks for coming to my TED talk.





  • I’m not the best person to query about backups, but in your situation I would do the following, assuming both server and desktop run on BTRFS:

    Have a script on the desktop that starts btrfs-receive and then notifies the server that it should start btrfs-send.

    You can also do rsync if BTRFS is not a thing you use, but It would either be expensive storage wise, or you would only ever have 1 backup - latest.