Chmod question

I have to use chmod to allow a program to access the USB port my 3D printer is connected to or it can't communicate with the printer.

The funny thing is that each time I want to run the program, I have to change the permissions again or it won't connect.

My question is: shouldn't that change be permanent, the same as if I had changed permissions on a file?

Some relevant info:

I'm using Cachy OS, the device is /dev/ttyACM0, the printer usually stays powered on and physically plugged in to the USB port, but the machine is shut down every morning and booted up when I get home from work. I run the command using sudo.

reddit.com
u/Prudent_Situation_29 — 2 days ago

Are we using these flock cameras yet?

I've been seeing a lot of posts about the flock cameras being used by u.s. law enforcement. They seem to be diving in, head first. There are people who are running into serious problems due to being mistakenly identified as criminals.

I'm hoping we're not also jumping on this train. Have you heard of any of these sort of surveillance cameras being used in Canada yet?

reddit.com
u/Prudent_Situation_29 — 7 days ago

Time to crack encryption

This may only apply to things like guessing passwords, but I have a question. I saw a chart that showed how long it would take a computer to crack a password based on its length. Some ended up being quintillions of years.

My question is this: is it possible for a computer to have randomly guessed the correct answer on the first try, just based on sheer chance, even if it's a super long password?

I get that it will take a very long time in the real world, but surely there's the extremely rare chance that it's cracked right away?

reddit.com
u/Prudent_Situation_29 — 22 days ago

What are the procedures for filling your water bomber?

I've seen a lot of footage recently of water bombers filling up in lakes and rivers. I'm wondering who they have to get permission from, or what has to be in place.

I can imagine the local government would have some sort of law allowing water bombers to collect from any source they choose, but what about beachgoers, swimmers, boats etc? I guess there's a briefing before each flight, planning this sort of thing in advance (use this lake, from west to east etc). I can even picture local authorities shutting down waterways to accommodate it.

I imagine they would need to be in contact with the local ATC, and the firefighters at the site, but is there another controller at the lake who's there to ensure fillups can happen safely? Surely the local ATC can give them permission, but they can't help them with regulating traffic on the water.

Any details would be welcome.

reddit.com
u/Prudent_Situation_29 — 23 days ago

Increasing audio buffer size to improve issues?

I'm using Cachy, I used to use Mint. My audio is coming from my GPU via HDMI.

I notice that if I'm playing a game and also have a video playing in the background, I start to get audio artifacts like crackling and cutouts. Same if I'm playing two videos at the same time etc.

I'm assuming this is a result of buffer underruns. In Mint, I manually increased the buffer size, which massively reduced the issue (almost eliminated it).

I have two questions:

  1. Is that a valid approach to solving this issue, or should I be doing something else?

  2. Why doesn't this sort of thing happen in Windows? Does it dynamically adjust the buffer size as needed?

reddit.com
u/Prudent_Situation_29 — 23 days ago

How are city buses optimised?

If I were to design a city bus, I would probably want to optimise it for certain operating regimes. I would want it to be well suited to constant stopping and starting, slow speeds, low sound emissions, potholes. I doubt they need to be efficient at high speeds. I ask this because I saw one of our city buses on our local highway, and wondered how far out of it's comfort zone it was. I'm not saying you can't design it to be happy in both places, but there's always that compromise to be made.

I can imagine their daily lives are incredibly abusive, tons of wear and tear etc. A car might have to be designed for multiple regimes like highway and city, where a city bus might be able to get away with a more focused scope.

So my question is: does a lot of thought get put into optimising a city bus, or is is more like just putting a normal diesel engine in a voluminous chassis and leaving it at that, sort of like a big car?

reddit.com
u/Prudent_Situation_29 — 27 days ago
▲ 33 r/driving

The brake strobe

I will often see this phenomenon when driving on the highway: traffic is sparse and moving at speed, there are a few vehicles in front of me, the one closest to me is tailgating the next one, and their brake lights come on every five or ten seconds, like clockwork. There's tonnes of opportunity to pass, but they insist on riding that bumper.

This person is constantly switching between the gas and the brake to maintain that tiny distance. It's extra ridiculous because there are few other cars on the road.

Imagine someone was walking down the street, and you walked up behind them, close enough that they could feel you exhale on their neck, your nose is a couple of centimeters from the back of their head. There aren't many other people around, and you walk like that for a long distance (several blocks). It would be insane, completely out of the norm.

Yet for some reason, they drive this way. A classic example of how people drive according to their base urges instead of thinking about what they're doing.

reddit.com
u/Prudent_Situation_29 — 27 days ago
▲ 15 r/driving

Disengage hazards before attempting to re-join traffic.

I was joining the highway a few days ago, and there was a car on the shoulder with it's hazard lights on. As I approached it, the driver decided to accelerate and enter the lane. They still had their hazards on, which meant no turn signal. I had no idea they were going to do that.

If you're going to re-join traffic after pulling over, turn off your hazards first, and put your turn signal on so other drivers understand what your intentions are.

Using your turn signal to pull away from a curb is a basic skill you're taught in driving school. It's in the handbook too. This is no different.

reddit.com
u/Prudent_Situation_29 — 1 month ago

I'm wearing a jacket in July.

I'm sitting in the office, wearing a jacket with a blanket over my legs. It's 29 outside, 37 with the humidex. It's supposed to get up to 45 this afternoon. The air-conditioning is cranked right up (down?).

This is the problem. Even in the face of potential disaster, we consume like it's going out of style. It's crazy that I'm wearing cold weather gear on one of the hottest days in recorded history.

The worst part is, I daren't mention it to anyone for fear of being labeled a troublemaker.

reddit.com
u/Prudent_Situation_29 — 1 month ago

Crash on the Linc this morning?

I was heading to Brantford and couldn't see the lanes ahead very well, I thought both lanes to Brantford were blocked, but it turns out only the left lane was.

I saw a tow truck pulled over, but I couldn't see a crash. Was this a crash, or is it the start of some construction?

reddit.com
u/Prudent_Situation_29 — 1 month ago

PSA for your 'does it need replaced' questions

I see a lot of posts asking if X part is ok or if it needs replaced. This is common with brakes and tires.

While people can certainly offer an opinion about how something looks, there are other things we can't do. A brake rotor might look fine, but that's not the only criteria, they have critical dimensions that need to be measured.

All you're going to get here is a best guess because nobody can thoroughly inspect the item. Don't take it as gospel. You probably shouldn't be asking for automotive maintenance advice online in the first place.

reddit.com
u/Prudent_Situation_29 — 1 month ago

Can we all agree you can love the machine and still hate what it's for?

I love machines, aircraft, vehicles, machine tools etc. I think they're cool, they look cool, the engineering is cool, even the sounds they make are cool.

That doesn't mean I love their purpose.

I absolutely hate warfare. If all conflict ended today, I'd be thrilled. That doesn't mean I have to hate military helicopters necessarily. I hate the fact that they've been made for that purpose, but I still love the machine, I still love the engineering and how it looks.

If there was a vote to stop manufacturing all military equipment, I would vote yes without hesitation. Since that's not going to happen, I reserve the right to like it in the meantime.

reddit.com
u/Prudent_Situation_29 — 2 months ago

Make a concerted effort to use SI units

There are three countries that I know of who still routinely use only imperial units (inches, pounds etc): Myanmar, Liberia and the u.s. Others, like Canada, officially adopted the metric system, but still colloquially use imperial units quite often.

There are three reasons why the rest of us still use imperial units:

  1. We used to use them and there hasn't been enough of a push in our education systems and culture to change.

  2. We invented them and #1 is much more powerful (only applies to the U.K.)

  3. u.s. dominance forces us to keep using them because they refuse to change.

#1 is a big problem, but #3 is the largest issue I'd say. As a technician, I have to buy my own tools. I've spent thousands on imperial tools I never should have had to buy. For many years I have been making an effort to use SI units, but it's very difficult when you're constantly bombarded with people and documents that refuse to change.

The metric system is superior. Imperial units worked well, but they were always a hodgepodge of reactionary units slapped together over centuries, and were based on arbitrary dimensions.

Si units were created from the ground up with a common origin and purpose, they all work together well, they're intuitive and simplify the math. Sure, it could be argued that if you're good at math, it doesn't matter, but it's not about how hard the arithmetic is, it's about standardisation and efficiency. If we were all on the same page, everything would operate smoothly, we certainly wouldn't be losing spacecraft on Mars due to incorrect units being used.

So I implore you: make a concerted effort to use SI units only, especially in your daily life. It's a much larger challenge than some would think, because you have to redefine your mental picture of each unit. You can't use kW and then keep converting them to HP, you have to fundamentally appreciate what a kW is. It's tricky to re-train your brain, it takes effort. At the end of the day, it's worth it though. You'll be moving into the future with the rest of humanity instead of clinging to the old world.

I've managed to completely do this with distance. I natively picture things in mm, cm, m, km etc. I haven't yet managed to do it with mass, but I'm working on it. My car is 1256 kg. How heavy is your car?

reddit.com
u/Prudent_Situation_29 — 2 months ago

A show where scientists are paid to make conspiracy theorists look really stupid.

I'd love to see a television show where people with PhDs school these flat Earth types. No diplomacy, no trying to spare their feelings, just pure fact.

reddit.com
u/Prudent_Situation_29 — 2 months ago
▲ 268 r/Vent

So tired of garbage people consuming oxygen.

I was on my way home yesterday (in my car, on the highway), and ran into the usual heavy traffic when I approached the city. As usual, I kept a good distance from the car in front of me, so I don't have to wear out my clutch doing the stop-and-go like everyone else.

Of course, some entitled woman in her SUV decides she doesn't have to wait in line, and passes everyone behind me to sneak in front of me. She was rewarded with having to wait in line anyway.

Then, as we're stopped, she decides to toss some garbage out her passenger window. She's the only one in the car, she leans down, grabs something and tosses it on to the shoulder.

I don't understand why I was taught all these rules and told I had to follow them, when they're entirely optional. People like this operate with impunity, they don't suffer consequences for their terrible behaviour.

A couple of weeks ago, some guy (in nearly the same spot) with his giant pickup truck didn't like the fact that I was leaving a safe following distance in front of me, and threw something at my car as he finally found the space to pass. It made a heck of a bang, and marked the paint. Luckily it didn't bare the metal.

I got him on dashcam (audio only since he was beside me). I yelled at him that I had it on video, to which he responded "I've got it on mine too". Got what? Me taking my foot off the gas to increase my following distance?

I saw him again yesterday as he sped past me, doing about 30 over the limit. He gets to keep going without consequences. I did call the police, but then decided not to follow up with a report because I would be worried about it for days afterwards. The police said if I didn't catch it on video, it was his word against mine. I assume the loud bang on my dashcam isn't good enough evidence.

I'm tired of being abused for obeying the rules. I'm sick of having to watch people behave like animals. No wonder we're on a downward spiral as a species, everyone's an asshole.

What really pisses me off is that I didn't get a choice, I was forced into this world, with a powerful sense of self-preservation, so as much as I don't want to be here, there's nothing I can do except suffer.

reddit.com
u/Prudent_Situation_29 — 2 months ago

There are many tales we'll never get to see

One of the major drawbacks of the u.s. dominating the global film industry is that we'll never see any high-budget war movies about things that aren't american.

There are so many good stories out there, I've long wanted to see a blockbuster centered around the battle of Jutland, but because americans are so fixated on themselves, it'll never happen.

Don't get me wrong, I'm not saying non u.s. movies aren't worth watching, but there is something lost when you don't have that huge budget.

They have made movies about non american situations, like Valkyrie, or Master and Commander, but they're few and far between.

reddit.com
u/Prudent_Situation_29 — 2 months ago
▲ 23 r/driving

I had to laugh

I was on my way to work this morning and had a vehicle tailgating me. This person then decided to pass me, only to reach the red light first.

The funny part: there was a sticker on the back of their vehicle that said "Please be patient"

People are just ridiculous.

reddit.com
u/Prudent_Situation_29 — 2 months ago
▲ 20 r/Vent

I never catch the rain.

I love the rain. It makes me feel safe and protected. It reminds me of days where I didn't have to play outside and could just relax indoors, wasting away the hours without any obligations.

I rarely get to see it though. On my way to work, it's either finished raining or hasn't started yet, same for when I head home. It rains all the time while I'm at work, but I can't see it because I'm working.

I live in an area that gets very humid in the summer, but my location seems to preclude lots of thunderstorms. It's frustrating that I always miss out on a good rain shower.

reddit.com
u/Prudent_Situation_29 — 2 months ago
▲ 66 r/driving

It all comes down to being selfish

All the poor behaviour we see people complaining about on here is the result of a single problem: selfishness.

Humans evolved in this universe, which means competition for resources, entropy, survival of the fittest. We are born selfish. I'm not saying it's a good thing in daily life, but it explains why it's so widespread. There are exceptions to personal selfishness, like parents sacrificing for their children, but that's still selfish: they want their progeny to survive and reproduce.

Every time you see someone fail to signal, or tailgate, or run a red light, it's either because they actively don't care about the effects their actions have on others, or they can't be bothered spending the energy to maintain vigilance when driving. Both are caused by selfishness.

If people cared, they would make the tiny sacrifice needed to use their turn signal. If they were intelligent, they would understand that it actually reduces everyone's risk, including their own.

Obeying the rules genuinely makes everyone's lives easier, but the 'me first' attitude prohibits that.

reddit.com
u/Prudent_Situation_29 — 2 months ago