Illecors

joined 5 years ago
MODERATOR OF
[–] [email protected] 3 points 14 hours ago (1 children)

At least on zsh it would pop both of those as suggestions you can cycle through.

[–] [email protected] 2 points 5 days ago (2 children)

I did not know that! Thank you!

What do you mean by implementations? Is this closer debian vs rhel or more like linux vs bsd?

[–] [email protected] 3 points 6 days ago (7 children)

That is literally the way it works now. As an example - go to https://phtn.app/. Photon is a UI for lemmy. That specific website is hosted by the developer and you can log into any instance. I think Alexandrite and Voyager webapps act the same, but I haven't tried them, so can't be sure atm.

[–] [email protected] 5 points 6 days ago* (last edited 6 days ago) (5 children)

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.

[–] [email protected] 4 points 1 week ago

I'm a syaadmin now, but self hosting nextcloud is what got me my first IT job. I now host a bunch of stuff (even email!), lemmy included.

how did you decide that you would like to self-host? I wanted my friends to play a cs1.6 map I had created.

[–] [email protected] 2 points 1 week ago

That voice acting! Marvelous!

[–] [email protected] 9 points 1 week ago

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.

 

According to Mehta this kind of connectivity could support 512 GPUs in as few as eight racks, acting as a single scale-up system.

That's a biggin!

 

Despite early promises, moving between providers remains a complex and costly endeavor

Yea, it feels an awful lot like VC funded businesses - they lure you in with low pricing, bankrupt and buy out the competition and then hold you by the balls.

 

Cracked Labs examines how workplace surveillance turns workers into suspects

TL;DR - world is going down the drain

[–] [email protected] 7 points 1 week ago (1 children)

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.

[–] [email protected] 14 points 1 week ago (5 children)

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.

[–] [email protected] 1 points 1 week ago* (last edited 1 week ago)

Democracy does seem to cater people just below average. Good monarchs can easily beat that, but then the new problem presents itself very quickly - good monarchs are far and few between.

[–] [email protected] 7 points 2 weeks ago

The most traumatic event of your life so far...

 

Wasn't aware of OpenTofu - will have a look and try to sell the switch at work!

1
submitted 1 month ago* (last edited 1 month ago) by [email protected] to c/[email protected]
 

Ha 😀

Comment section is a gold mine!

 

All that Windows and Crowstrike bollocks.

 

He also links a Mastodon thread where he had documented the first few days with pictures.

I genuinely cannot fathom the talent and drive combo some people possess.

 
 

EDIT: you guys have dug up some truly horrible pisstakes :D Thank you for those.

To the serious folk - relax a little. This is Mildly Infuriating, not I'm dying if this doesn't stop. As a non-native speaker I was taught a certain way to use the language. The rules were not written down by me, nor the teachers - it was done by the native folk. Peace!

 

something something

 

There are a few reasons why pict-rs might not be running, upgrades being one of them. At the moment the whole of lemmy UI will crash and burn if it cannot load a site icon. Yes, that little thing. Here's the github issue.

To work around this I have set the icon and banner (might as well since we're working on this) to be loaded from a local file rather than nginx.

Here's a snippet of nginx config from the server block:

location /static-img/ {
      alias /srv/lemmy/lemmy.cafe/static-img/;

      # Rate limit
      limit_req zone=lemmy.cafe_ratelimit burst=30 nodelay;

      # Asset cache defined in /etc/nginx/conf.d/static-asset-cache.conf
      proxy_cache lemmy_cache;
    }

I have also included the rate limitting and cache config, but it is not, strictly speaking, necessary.

The somewhat important bit here is the location - I've tried using static, but that is already used by lemmy itself, and as such breaks the UI. Hence the static-img.

I have downloaded the icon and banner from the URLs saved in the database (assuming your instance id in site is, in fact, 1):

SELECT id, icon, banner FROM site WHERE id = 1;
 id |                     icon                     |                     banner
----+----------------------------------------------+------------------------------------------------
  1 | https://lemmy.cafe/pictrs/image/43256175-2cc1-4598-a4b8-2575430ab253.webp | https://lemmy.cafe/pictrs/image/c982358f-6a51-4eb6-bf0e-7a07a756e600.webp
(1 row)

I have then saved those files in /srv/lemmy/lemmy.cafe/static-img/ as site-icon.webp and site-banner.webp. Changed the ownership to that of nginx (www-data in debian universe, http and httpd in others.

I have then updated the site table to point to the new location for icon and banner:

UPDATE site SET icon = 'https://lemmy.cafe/static-img/site-icon.webp' WHERE id = 1;
UPDATE site SET banner = 'https://lemmy.cafe/static-img/site-banner.webp' WHERE id = 1;

Confirm it got applied:

SELECT id, icon, banner FROM site WHERE id = 1;
 id |                     icon                     |                     banner
----+----------------------------------------------+------------------------------------------------
  1 | https://lemmy.cafe/static-img/site-icon.webp | https://lemmy.cafe/static-img/site-banner.webp
(1 row)

That's it! You can now reload your nginx server (nginx -s reload) to apply the new path!

view more: next ›