Buttons

joined 1 year ago
[–] [email protected] 15 points 4 days ago (1 children)

If Trump is allowed to carry out his deportation plans, he'll deport American citizens ("by accident"), I guarantee it.

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

Let me tell your about prizefighters...

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

It's funny because JD Vance is overshadowing Trump. I see more talk about JD Vance than I do about Trump.

Trump needs the hate and attention, his supporters like him because he is counter-culture. Trump is their guy in the fight. If that stops then Trump becomes just an old rich white guy. This is why Trump plays the victim card every speech and talks about all the attacks he's constantly suffering.

[–] [email protected] 3 points 1 month ago (1 children)

We're seeing more and more that our "free market" with its "competition" doesn't provide goods and services that most people want, which makes me wonder, why have free markets and competition?

[–] [email protected] 4 points 2 months ago* (last edited 2 months ago)

I believe the full quote is "As long as I gave it my all, that's what this is about".

I thought it was about who would be President and all that entails, but apparently is actually about Joe doing his personal best.

[–] [email protected] 3 points 2 months ago* (last edited 2 months ago) (1 children)

At least C++ build tools are easier than modern JS.

[–] [email protected] 12 points 3 months ago

There's also websites hosted in countries that don't care about US law. We can access those even without a VPN, for now...

[–] [email protected] 4 points 3 months ago (4 children)

That's a good example. If I'm regularly running a command that is a single whitespace character away from disaster, that's a problem.

Imagine a fighter aircraft that had an eject button on the side of the flight stick. The pilot complains "I'm afraid I might accidentally hit the eject button when I don't need to", but everyone responds "why would you push the eject button if you don't want to eject?", or "so your concern is that the eject button will cause you to eject...?" -- That's how I feel right now.

[–] [email protected] -3 points 3 months ago (1 children)

Just checked my command history and I've run 60,000 commands on this computer without problem (and I have other computers). I guess people have different ideas of what "comfortable" means, but I think I consider myself comfortable with the command line.

I have shot myself in the foot with rm -rf in the past though, and screwed up my computer so bad the easiest solution was to reinstall the OS from scratch. My important files are backed up, including most of my dotfiles, but being a bit too quick to type and run a rm -rf command has caused me needless hours of work in the past.

I realized the main reason I have to use rm -rf is to remove git repos and so I thought I'd ask if anyone has a tip to avoid it. And I've found some good suggestions among the least upvoted comments.

[–] [email protected] 11 points 3 months ago* (last edited 3 months ago) (10 children)

More like, I'm afraid of the command doing more than I'm trying to do.

What I want to do is ignore prompts about write-protected files in the .git directory, what it does is ignore all prompts for all files.

 

Git repos have lots of write protected files in the .git directory, sometimes hundreds, and the default rm my_project_managed_by_git will prompt before deleting each write protected file. So, to actually delete my project I have to do rm -rf my_project_managed_by_git.

Using rm -rf scares me. Is there a reasonable way to delete git repos without it?

[–] [email protected] 1 points 3 months ago

It helps make things more self-contained. If a Linux distribution comes with an LLM that knows how to use and tweak the OS and also knows a lot about various programming languages and lots of things in general, that's a big step towards having an OS that can be operated locally without using the internet.

I wouldn't like it if Linux required an internet connection to function, and yet... I've never been able to configure or do much of anything in Linux without referring to the internet.

 
 
 

My first experience with Lemmy was thinking that the UI was beautiful, and lemmy.ml (the first instance I looked at) was asking people not to join because they already had 1500 users and were struggling to scale.

1500 users just doesn't seem like much, it seems like the type of load you could handle with a Raspberry Pi in a dusty corner.

Are the Lemmy servers struggling to scale because of the federation process / protocols?

Maybe I underestimate how much compute goes into hosting user generated content? Users generate very little text, but uploading pictures takes more space. Users are generating millions of bytes of content and it's overloading computers that can handle billions of bytes with ease, what happened? Am I missing something here?

Or maybe the code is just inefficient?

Which brings me to the title's question: Does Lemmy benefit from using Rust? None of the problems I can imagine are related to code execution speed.

If the federation process and protocols are inefficient, then everything is being built on sand. Popular protocols are hard to change. How often does the HTTP protocol change? Never. The language used for the code doesn't matter in this case.

If the code is just inefficient, well, inefficient Rust is probably slower than efficient Python or JavaScript. Could the complexity of Rust have pushed the devs towards a simpler but less efficient solution that ends up being slower than garbage collected languages? I'm sure this has happened before, but I don't know anything about the Lemmy code.

Or, again, maybe I'm just underestimating the amount of compute required to support 1500 users sharing a little bit of text and a few images?

view more: next ›