donnachaidh

joined 2 years ago
[–] [email protected] 67 points 2 years ago (6 children)

alias v=vim. There, just saved you two keystrokes.

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

It is in the UK. You have to get an annual MOT check, I believe. I've also found it odd that that isn't required where I am either, though.

[–] [email protected] 8 points 2 years ago* (last edited 2 years ago)

100% agree that it's horrible wording, but the linguistics nerd inside my brain just has to say: that's not the passive voice.

Passive voice would be something like "a store was smashed into" or "a car was driven into the store", where the grammatical subject is the semantic object. It can be used to avoid saying the subject of the sentence, who's doing the action, but in this case they keep the active voice and just change the subject from a "driver" to a "car".

On another note, it's also telling that the article first comments on financial damage, then that the driver is unhurt and the car is damaged, and only after that does it say that the store-owner and the two customers were unharmed.

 

I'm about to get a motorbike and, while this is in no ways reasoning for getting the bike (it's pretty much entirely for fun), it's had me thinking a bit about the social impact of motorbikes/scooters, especially if they were widely used (like they are in India, South-East Asia, and a couple other places) for commuting.

They're obviously more efficient in many ways. Less fuel usage, less material required to manufacture and transport, less space required both when driving and for parking, less infrastructure maintenance cost, etc. However, they're less efficient for all these things than the solutions mostly advocated by this and similar communities - namely public transport, cycling and walking. All of which are significantly better.

In contrast to those alternatives, though, motorbikes need basically no infrastructure development to be used, so it would be far easier to make incremental progress with individuals riding a bike instead of taking the car, rather than requiring organised political action.

Specifically for the USA and, to a lesser extent, the more similar countries like Canada and Australia, it's probably also more socially acceptable to not be riding public transport with the plebeians, or having to do physical exercise. And you can easily overcompensate with a massive bike, while still being far better than the massive cars coming out of the US - a litre bike is big, while a litre car is tiny. Obviously this isn't a 'good' reason, but it does seem to be a real consideration.

The main counter-argument I can think of is safety. But if you look at the countries where motorbikes and scooters are common, they seem safer than riding a motorbike in Western countries (anecdotally, from people who have ridden there on trips but wouldn't think of it at home; if anyone can find statistics for it, I'd love to see them). I'd say this is because of their prevalence. You'd get rid of the selection bias for risk-takers, and for high-power bikes. You'd also reduce the issue that car drivers aren't aware of motorcyclists, and often don't notice them. Any collision that does happen would also be more likely between two motorbikes, which would be less deadly than a motorbike and a car. And if we transpose this prevalence of motorbikes to a western country with stricter regulations around licensing, required safety gear, road rules, etc., surely this would be even less dangerous than it is in those countries.

Also, the safety argument seems quite similar to the safety argument for large SUVs for ferrying kids to school. Inside the car, you're safer, but that's at the cost of safety and health of those outside the car, as well as all the other negative effects we're all aware of. Obviously it's not quite to the same extent, but it just strikes me as similar.

So, those are my opinions, which ended up a bit longer than I was expecting... But the reason for posting is that I'd love to hear yours. Do you think largely replacing cars with motorbikes would be beneficial but insufficient, infeasible, or do you think it would actually be worse?

[–] [email protected] 0 points 2 years ago (1 children)

Is one of the other framework's you've used Django, and if so, how do they compare? I've never used Rails, but as far as I know, it's a similar concept, with batteries included and MVC architecture.

If there isn't anything else that makes it better, I would personally recommend something like Django just because it's Python, which isn't going anywhere anytime soon. If you are having issues with Python, the answer is pobably a google away, and if you want to do something other than webdev, it's more likely to be in Python (AI/ML, data science, etc. mainly), including if you want to integrate something into a website. As far as I'm aware, Ruby's pretty much only been used with Rails, and both are waning in popularity - as you say, you yourself have moved away.

That being said, I don't know Rails so that's all conjecture. If you tell me it's got something Django doesn't that makes it easier to use, I'll take that back.

[–] [email protected] 17 points 2 years ago* (last edited 2 years ago)

While this generally gets a little chuckle from me, it really needs to die. It's as old and untrue now as 'ubuntu is just for noobs', etc. I have never broken Arch with an update. I have broken it with changes I've made actively, but never just an upgrade. If you want to say the install process is unintuitive, or that the lack of defaults for practically anything you actually use is debilitating for new users, or overreliance on AUR is unsafe, or any number of other valid points, fine. But it doesn't just break everything constantly.

 

I'm probably late to thinking this, and plenty of smarter people will have seen this, but I was just watching a video on Google's proposal which read out Mozilla's position on it, and noticed something that I haven't heard mentioned. As it says, it's designed to help detect and prevent 'non-human traffic', which would likely harm assistive technologies, testing, archiving and search engines. All of which Google is involved in.

If they're an attesting body, which presumably they would be, they could just say that their indexing crawler is legitimate traffic and get all the data, while other search engines not accepted (yet) by an attesting body wouldn't be able to. So search engines will be locked down to only what exists now. And AI training currently requires scraping large amounts of the internet, which they won't be able to do. So this could also help create a moat for Google Bard, that their earlier memo said didn't exist, to outstrip open-source models, just due to access to data.

I've heard people complain that this is an attempt to monopolise the browser market, but they practically already have done that, and I haven't heard anyone mention this. If all I've said is accurate and I haven't misunderstood something, this could allow them to monopolise (or at least oligopolise) everything that requires access to widespread internet data - basically everything they do.

[–] [email protected] 22 points 2 years ago

You run Arch.

[–] [email protected] 6 points 2 years ago (1 children)

I was going to ask you, but then figured I could do my own research and just ask if you think it's reasonable. According to Our World in Data, the WHO says 4.2 million people die every year from outside pollution. Again according to Our World in Data, road transport accounts for 11.9% of global greenhouse gas emissions. Obviously, that's different to health-affecting pollution, and it might pollute more in places where people live compared to something like electricity generation which would likely be further from population, but it's the best I could come up with. So that would mean we could attribute ~0.5 million deaths per year to road transport. According to Movotiv, there are 1.2 billion vehicles, 70 million daily driving trips, with an average distance of 15 km. That means a total annual distance traveled of ~383.25 billion km. So there's 0.0035 deaths per year per vehicle, or 286 years per death per vehicle, and 1 death per 91,250km. That doesn't sound right, and I blame the Movotiv statistics, unless I made a mistake. 300km/year for the average vehicle sounds ridiculously low, so something's not right. I don't have time to find the issue or better stats right now, but I might have a look later. In the interim, do you think my logic stacks up, or do you have better statistics?

[–] [email protected] 2 points 2 years ago

I'm on hybrid Intel/Nvidia, and it works fine. The discrete card isn't particularly powerful, so I don't use it much, but it works pretty much as I would expect. If you're wary, just try on a live USB. It won't harm your computer as long as you check it's working before installing, and if it works on there it should work once installed. Might be best to start with a distro that at least has a toggle for proprietary drivers in the installer though, so you don't have to do any faffing about yourself.

 

I just came across this video about a motorbike gearbox, and have a couple questions.

Firstly, she says the detent for neutral is between first and second gears. Why isn't it between fifth and first? That would seem to make more sense to me. Are you expected to shift down to first when setting off, then shift back over neutral to get to second? And presumably the grooves in the shifting drum have gaps between fifth and first to stop you shifting too high and ending up back in first, or is there another mechanism for that?

Secondly, and probably more importantly for my understanding of the transmission, can someone elaborate on how the 'constant mesh' transmission means it doesn't need synchronisers? For example, before the shift from neutral to first is shown, the input shaft, and the first free-wheeling gear with it, are rotating while the output shaft and the corresponding dog clutch are not. Surely, when the dog clutch is moved to connect with the free-wheeling gear, they wouldn't be able to mesh, unless it happened right when the recess and pin were in line, and even then that would cause a jolt. What am I missing here? I also watched another video with a physical gearbox, which seems to confirm that it works like in the first video, but doesn't explain it much, and I can't really see why it works.

I just posted this at [email protected] but realised it doesn't have much activity, so hopefully it fits here.