![](/static/61a827a1/assets/icons/icon-96x96.png)
![](https://lemmy.ca/pictrs/image/7b0211f0-7266-4e13-9d26-8c3e6126af62.png)
Guess we’ll have to see how they handle this. Are they going to be good and do a full recall, or pull an Intel and do everything they can to avoid it?
Your average science guy, Linux nerd, and Minecraft player. Left Reddit for this place and haven’t looked back. :)
Guess we’ll have to see how they handle this. Are they going to be good and do a full recall, or pull an Intel and do everything they can to avoid it?
Yep, on my machine it just says bash: /: Is a directory
.
Making Win 11 even harder to install is a bold move from Microsoft. Most average users are content with using the OS that comes with their PC and upgrading it when necessary. But if the option is to either buy a new PC or fiddle with registry settings in hope that Win 11 will work, I think a lot more people will start looking at Linux instead.
Just shove a 3 in there somewhere, it’ll do something I promise!
grep finds the URLs for the desktop torrent files, sed selects the second one. There’s probably a more elegant way to do it but for a quick script it’s fine.
My bad, that’s what happens when you write a script in a minute. It turns out the latest LTS version is actually the second one listed, not the last. This one should actually fetch the latest version:
curl $(curl https://ubuntu.com/download/alternative-downloads | grep -o "https.*desktop.*torrent" | sed "2q;d") -o ubuntu-latest.torrent
You can be good at anything if you just put in some effort. The mindset that since you’re not good at programming you can never be is stupid.
Why the hell would you ask an AI model to write the script for you? It’s a one-liner, took me just a minute to write. Even if you know very little of Bash I can’t imagine it would take more than a few minutes of research to figure it out.
curl $(curl https://ubuntu.com/download/alternative-downloads | grep -o "https.*desktop.*torrent" | tail -1) -o ubuntu-latest.torrent
AI is mediocre at best when it comes to writing code, and if you don’t have the skill to troubleshoot its garbage outputs you shouldn’t be using it at all.
A toilet paper roll is topologically a torus, which has one hole, so that’s easy. The other ones though…