I made a plain text Linux cheat sheet as a reference and for beginners.
okamiueru @ okamiueru @lemmy.world Posts 0Comments 457Joined 2 yr. ago
Makes as much sense as saying "I'll definitely avoid Windows now. I had heard that Windows was supposed to be easy to use", since most of this also applies to WSL2.
I wonder if shit like that will eventually lead to more people using wine in windows, in order to sandbox rootkits. Helldivers 2 works fine with proton on Linux, at least.
The absurdity of having a reason to run wine on windows through WSL is amusing.
If you are genuinely asking, I can play Devil's advocate:
Because then they can set the price at 40 USD, making it more affordable, and possibly make back the difference with some (mostly) cosmetic premium content.
This is not so easy to argue for games that are sold at 70 USD, and premium content is much more tied to gameplay, and all the FOMO dark patterns are turned to max.
You had me at cheap frozen pizza
Shower thoughts don't really need to be insightful or accurate.
You are so right. I'm dumbfounded by how apathetic Americans are when it comes to politics. The idea of making the change you want to see, seems like a foreign concept. This will bring in a lot of downvotes, but I'd be happy to find some kind of online community that excludes Americans. And, I don't mean by nationality, or even geography. Just this... acceptance of political depravity. In the US, you get the choice between "bat shit insane". And, if don't like that, you can vote Republican instead, which is orders of magnitude worse, with layers of vile shit. I'm tired. Most problems are so simple to solve. But the arguments are always presented between two things that don't matter.
Good luck. I'm gonna see if there is a lemmy community that actively blocks "American mentality". Which is hilarious, because a lot of Americans express that lemmy is "extremely communist / anti capitalist" etc. Which is just what "common sense" looks like to Americans.
I’m effectively accusing you of rape apologism. Because that’s what you’re doing. You’re saying an act of rape, assuming it happened, doesn’t really “count” or that the people involved who believe they were raped were “asking for it.”
Aha. I see. Then I wasn't wrong about suggesting improving reading skills. It might also instead be related to logic and inference. In either case, sounds like a you-problem. Good luck with that!
I have played both DRG and HD2. I think you simply have to play HD2 to answer that question. It might not be for you, but having played both games "a lot flatter and less tense" is how I feel about DRG.
Not sure I understand what you are asking. Do you need help with reading? Not really interested in that. Maybe see if there is a class near you. Good luck.
A good answer to "Where to start", is not likely to be "determine your Linux distro of choice".
Which isn't to say that what you're doing is not a good way help with getting a quick idea of what to expect from the different distros.
But the original question, might be better answered by explaining some concepts instead:
- that mobos boot into storage mediums. And what would need to be different for it to then boot into Linux.
- bootable USBs, and how to find images for different Linux flavours, how to write them to a USB
- what typically to do in bios to change the boot priority order.
- that many Linux distros images can be ran, live. Without needing to affect anything.
- what to do if you like it, and actually want to install it. Be that as dual boot, or replacing windows. What are common pitfalls, etc.
These concepts, IMHO, are much more important, than what distro. Because it gives them the tools to understand how easy it is to just try stuff out, without having to commit to anything. Picking the wrong distros then isn't a big of a deal.
If I were to make a comment on the chart itself. I think there is some value in describing what some distros are tailored for. But I find it curious how little that would matter to me. Things that matter to me are:
- Software management system (pacman, apt, yum, etc)
- How many use it, and factoring in confirmation bias, do they like it?
- Is it built on top of something else, and if so, what does it add?
- Who maintains system packages
- What is the particular distro trying to do? Focused on a particular usage (e.g. pentesting, daws, academic, etc), stability, special hardware, ... etc.
Many distros are different by only having a different list of software installed by default. That... Is nice if you want to try it out with a live USB. But, it doesn't matter all that much. For example, Arch is considered one of the least advisable for beginners, but, it also has the AUR that covers a lot more than most other package systems. Some things are easier to get ahold of than say Ubuntu.
I thought there was a lot of basis for this. Testimonials from the girls in question, where the escalation to "rape" from "broken condom" was after learning about there being another girl. The definition of what can end up being translated as "rape", is also not the same as one typically assumes when hearing that word in English. "Tampering with a condom, such that it leads to unprotected sex", can be considered "rape". Yet, the act can still be consentual. The other I believe accused him of taking advantage while asleep. Which would be fair to say, not lost in translation. But, she also didn't mind him staying at her place for more days.
It's been a while, so the details might be off here. Something along those lines at least. Also, naming the accused, was awfully strange, as it is just not done in Sweden for cases like this.
Probably enough information here:
Sure? No. It was silly of me to suggest it was a question of motivation. I don't know enough about it to make any such assumptions.
I did however give it another go earlier this year, with no success. I could try again if there is reason to think it should work. Valve is the company I respect the most when it comes to caring about Linux. Which is why it always surprised me that I couldn't use the Vive there. Still one of the very few reasons left for dual booting.
When not even Valve can muster enough motivation, I wouldn't hold my breath on Microsoft.
Isn't that trope getting a little bit boring?
I need to stop reading stuff here. It's just too dumb. Maybe blocking on the community level is the way to go. That's how dumb your take is.
I don’t think the Unix philosophy of having lots of small tools that do one thing and do it well that you compose together has ever been achieved
Why do you think this might be the case? It's not remotely accurate, which suggests that you must understand it very differently than I do. To some extent, I am curious.
I'll give you a recent example. Which is just from yesterday. I had a use case where some program had a memory leak, which would eventually lead to the system running out. So, I "built a program that would monitor this and kill the process that used the most memory". I don't know how complicated this is in windows and PS, but it took about 2 minutes in Linux, and it very much leverages the Unix philosophy.
Looks something like this:
get_current_available_memory_mb() { cat /proc/meminfo | grep MemAvailable | grep -oP '\d*' | xargs printf "%d / 1024 \n" | bc }
Functionality based on putting together very small pieces that do their things well.
/proc/meminfo
is a file pipe that gives you access to information related to memory usage.cat
just outputs data from a file or a named pipe, here the lattergrep
lets you filter stuff. First time the relevant line. Then again to strip out the number with a regex.xargs
does one thing well, and lets you pass that on to another command as arguments, instead of stdin.printf
formats the output, here to express the numerical operation of dividing the value by 1024 as "[number] / 1024"bc
evaluates simple mathematical operations expressed in text
Result: 1 file pipe and 5 simple utilities, and you get the relevant data.
The PID of the process using the most memory you can get with something like:
ps aux --sort=-%mem | head -n2 | tail -n1 | awk '{print $2}'
Same sort of breakdown: ps
gives you access to process information, and handles sorting by memory usage. head -n2
just keeps the first two lines, but the first one is a header so tail -n1
keeps the second line. awk
is used here to only output the second column value. And, you get the relevant data. Also, with simple tools that leverage the Unix philosophy.
You then check if the available memory is below some threshold, and send a kill signal to the process if it does. The Unix way of thinking also stops you from adding the infinite loop in the script. You simply stop at making it do that one thing. That is, 1. check remaining memory. 2. if lower than X, kill PID". Let's call this "foo.sh".
You get the "monitoring" aspect by just calling it with watch
. Something like watch -n 2 -- ./foo.sh
.
And there you go. Every two seconds, it checks available free memory, and saves my system from freezing up. It took me 10 times longer to write this reply, than to write the initial script.
If memory serves me correctly, PS also supports piping, so I would assume you could do similar things. Would be weird not to, given how powerful it is.
I could give you an endless list of examples. This isn't so much a case of "has ever been achieved", but... a fundamental concept, in use, all the time, by at least a dozen people. A dozen!
Also yesterday, or it might have been Saturday. To give you another example, I scratched different itch by setting up a script that monitors the clipboard for changes, if it changes, and now matches a YouTube URL, it opens that URL in FreeTube. So... with that running, I can copy a YouTube URL, from anywhere, and that program will immediately pop up and play the video. That too, took about 2 minutes to do, and was also built using simple tools that do one thing, and one thing well. If you wanted it to also keep a local copy of that video somewhere, it wouldn't be more effort than the 10 seconds it takes to also send that URL to yt-dlp
. One tool, that does that one thing well. Want to also notify you when that download is complete? Just add a line with notify-send "Done with the thing"
. What about the first example, if you want to get a OS level notification that it killed the process? Just add a line to notify-send
, same tool that does that same one thing well.
None of this takes much effort once you get into it, because the basic tools are all the same, and they don't change much. The whole workflow is also extremely iterative. In the first example, you just cat
meminfo
. Then you read it, and identify the relevant line, so you add grep
to filter out that line, and run the command again. It's now a line containing the value, so you add another grep
to filter it out the number, and again, run it. "Checks out". So, you pipe that to printf
, and you run it. If you fuck something up, no biggie, you just change it and run it again until that little step matches your expectations, and you move on.
I can just explain the mindset, and then you can draw your conclusions: When people get sick, they evaluate whether it is bad/concerning enough as to be worth the hassle of making time to go to the doctor. If during work hours, in most office work spaces, you simply say "I'm going to the doctor. I'm back in a couple of hours", and you go.
Now the situation is getting increasingly worse every year, because the public health system is underfunded, and every year more so, so that private alternatives look much better... So that rich people and/or private health interests, can use their wealth to "argue" (paid propaganda, e.g funding political opposition) that the public healthcare is not adequate, and should be further defunded... Doctors literally chose between sticking to morals/principles or having non-insane working hours and a higher pay. So, we're headed in the same direction, for sure. The US just serves as the example of: take that path to its conclusion, and that's how fucked up it can get. Hopefully, when our public health service simply collapses within the next 10 years, we manage to draw the correct conclusions as to why that happened, and not double down on the same stupidity (just look at UK for inspiration). I'm sure think tanks are aware of this, and can suggest how to sow the seeds for a political zeitgeist where we go full retard.
But, people still selfishly vote for their own interests, or dumb enough to be convinced regardless. Humans sucks. Fingers crossed.
The most frustrating part of getting older and wiser, is clearly understanding the correct solutions and approaches. Perhaps not the answer to everything, but at least identifying what makes the problems worse. Then, observing that those in charge have private interests at heart, and that the new generation is too malleable to know any better.
No complaints from me. Maybe if I had to use it. The thing that strikes me as particularly noisy is what seems to be either case insensitive commands and flags, or case sensitive and using Pascal-Case for both commands and flags. Which would be my least preferred option.
Thanks for the info! Is a correct assumption that this is a "yes", to my question?
I suppose. If your criticism is that it could have been more specific as to what you are a supposed "beginner" in, then I agree.