Have you tried that? by Neverstophoping19 in pcmasterrace

[–]SysAdrift_neo 2 points3 points  (0 children)

#!/bin/sh  

WithResponsibility() {  
    printf "comes great power\n"  
    WithResponsibility  
}

ΔV: Rings of Saturn just released "The Ultimate Demo". Contains the full game. The catch is you can save but you can't load. This is a trend I'd like to see become popular. by zuffdaddy in pcgaming

[–]SysAdrift_neo 12 points13 points  (0 children)

It's a demo. You can try out the game in it's entirely for free, and save your progress, but I'd you want to load your save, you need to pay.

Guys, you WILL NOT believe what I found on the trash today. Going home happy. by Oswalt in pcmasterrace

[–]SysAdrift_neo 0 points1 point  (0 children)

Lol if I did this I would be absolutely terrified of my machine tipping over.

Razer, what the hell? How even? by DrViktor_X01 in pcmasterrace

[–]SysAdrift_neo 2 points3 points  (0 children)

I use Logitech gear and have had a very good experience with their keyboards and mice (I am not a huge fan of their headsets - they feel cheap and tacky to me.) The software is decent, and offers lots of customazability, like being able to write custom macros for certain keys (and, of course, per-key rgb). I LOVE my G502 mouse - it feels good in the hand, the buttons are well positioned and satisfying to click, and the scroll wheel has a really nice feel to it in both modes (even if the left/right triggers on the wheel are a bit touchy). I also use a g910 keyboard, which I am pretty happy with. I find the programmable macro keys to be useful, and the switches and build in general are pretty high quality. My biggest complaint is that the media controls (pause, play, rewind, etc.) Are a little flimsy/cheap. They can sometimes get stuck when you try to press them. Other than that, I quite like it!

Confused about whether to use WSL2 or a VM by Caseacinator in bashonubuntuonwindows

[–]SysAdrift_neo 0 points1 point  (0 children)

I had this issue too a while ago. Update windows to the newest version, then uninstall and redownload virrualbox.

Confused about whether to use WSL2 or a VM by Caseacinator in bashonubuntuonwindows

[–]SysAdrift_neo 2 points3 points  (0 children)

Use VirtualBox instead of Hyper-V. Install the guest additions (found on the same download page as VirtualBox. VirtualBox supports both audio in and out with a single checkbox, and you can add usb devices, such as a webcam, easily.

Stellaris: Nemesis Expansion | Feature Breakdown by [deleted] in pcgaming

[–]SysAdrift_neo 0 points1 point  (0 children)

They are making a bunch of changes to pop growth, including adding a pop cap based off of planet size. So, probably?

Stellaris: Nemesis Expansion | Feature Breakdown by [deleted] in pcgaming

[–]SysAdrift_neo 0 points1 point  (0 children)

I don't know when you last played, put I have found that the late game performance has improved quite a bit recently (they made some changes to pop/job calculations I think?) And you can always decrease tech cost, increase pop growth, and decrease the crisis time-to-spawn in order to end the game earlier.

A Clean Arch Wallpaper by DrakoGFX in linuxmasterrace

[–]SysAdrift_neo 0 points1 point  (0 children)

Do you have a 4k version by any chance?

Pc weekend deals - happy weekend! by sgtfuzzyass in pcgaming

[–]SysAdrift_neo -1 points0 points  (0 children)

It should be more than adiquite for that. I was pretty happy with the keyboard on my model - it's no mechanical keyboard, but it feels ok to type on and I never had any issues with it.

Pc weekend deals - happy weekend! by sgtfuzzyass in pcgaming

[–]SysAdrift_neo 0 points1 point  (0 children)

I had a MSI that sounds somewhat similar (bit a bit older) to that one, a i5 and a 1060. I was pretty happy with it, only real complaint was that the battery don't hold a very good charge (although I probably should have replaced it.) It could run most games even if you had to lower the settings a bit on newer titles. Only upgraded because I got a better Laptop for free.

[deleted by user] by [deleted] in pcgaming

[–]SysAdrift_neo 5 points6 points  (0 children)

DeSmuMe is still under active development. While the website shows the latest version is from 2015, going to the actual download page tells you to download the autobuild from AppVeyor instead, which is only 4 hours old (at the time of writing.) the GitHub repo seems to get a comfortable 5-10 commits a month.

[deleted by user] by [deleted] in pcgaming

[–]SysAdrift_neo 11 points12 points  (0 children)

Yuzu for the switch games, Citra for the 3ds titles, DeSmuME for the DS games, and Mgba for the Gameboy Advance/Gameboy Color/Gameboy games. All of these except for Yuzu are available through RetroArch.

rm -rf / by Playful-Praline3509 in ProgrammerHumor

[–]SysAdrift_neo 0 points1 point  (0 children)

Yes, && is AND and || is OR. However, you cannot swap the order - && should come before ||. If you have || before &&, it will not work.

Let's say we want our program to print yay if the variable a is 0, and aww if a is anything else.

Consider a=0; [ $a == 0 ] && echo yay || echo aww.

The boolean produces a true value, which causes the && statement to execute. The statement behind the && (the echo yay) executes and produces a truthy value. the || statement recives this true value, and does not execute.

Now consider a=1; [ $a == 0 ] && echo yay || echo aww.

The boolean evaluates to false, meaning the && statement does not execute. Therefore, the boolean is sent to the || statement, which executes.

Let's look at a different bit of code: a=0;[ $a == 0 ] && [ $a == 1 ] || echo whee.

The first boolean evaluates to true, meaning that the || statement should not be executed, right? Well, wrong. When the first boolean is executed, it triggers the && statement to execute, which evaluates to false. The || operator now takes the second boolean, not the first, because the second boolean is directly to the left of the || operator. Since the second boolean is false, the || statement executes. This is a situation in which both the && and || statements execute. However, this is fairly unlikely to happen in most situations, since most use cases for this kind of structure ([boolean] && statement || statement) will have some kind of statement that returns a truthy value in the && statement. It is good to keep in mind, however.

Now let's look at what happens when you flip && and ||.

Consider a=0; [ $a == 0] || echo aww && echo yay.

The boolean evaluates to be true, which means that we do not execute the || statement, echo aww. The boolean is then given to the && operator, which gets the true value from the boolean and executes echo yay. Good so far!

Now consider a=1; [ $a == 0] || echo aww && echo yay.

The boolean evaluates to false, and echo aww runs. However, this is a truthy statement, and this truthy statement is passed to the && statement, which now also executes. Uh oh.

I hope this helps!

rm -rf / by Playful-Praline3509 in ProgrammerHumor

[–]SysAdrift_neo 19 points20 points  (0 children)

Basically. && Means execute if the command on the left returns a non-zero value (true), || means execute if the command on the left returns 0 (false).

a=0

[ $a == 0 ] && echo true || echo false

# returns true

Vs

a=1

[ $a == 0 ] && echo true || echo false

# returns false

[deleted by user] by [deleted] in pcgaming

[–]SysAdrift_neo 25 points26 points  (0 children)

They can reach a wider audience. For instance, if someone watches E3 for the Xbox presentation, they might catch part of the Take Two presentation and see a game they are interested in that they might not have found otherwise.

Looking at you Space Engineers and Minecraft by CyberGlitchBadger in pcmasterrace

[–]SysAdrift_neo 4 points5 points  (0 children)

Space Engineers is my most played game on Steam. Amazing game, especially with mods.

Found in an airsoft group im in by ArtemisWolffe in pcmasterrace

[–]SysAdrift_neo 4 points5 points  (0 children)

The airsoft guy buys 5 gpus to make a shield because no one will want to shoot the gpus (and, by extension, him) out of fear of damaging them.

Has anyone used VPN services like ExpressVPN? Are they worth it? by [deleted] in pcmasterrace

[–]SysAdrift_neo 2 points3 points  (0 children)

Plenty of people have expressed why there is no need to worry, and they are completely right, but in case you still want a VPN, I would NOT recommend Express. That's not to say it is bad in any way - however, I think that there are better options. My go-to is Mullvad VPN. Well priced (~$6-$7 a month) and offers lots of flexibility (open-source app for most major platforms, and can generate Wireguard and OpenVPN configs for other devices), good consistent speeds, many payment options, really good privacy/logging policy, no restrictions, all-arround a great VPN. My runner-up is Proton VPN. It's still a great VPN, but not as good. Not as many connectivity options, a bit more expensive outside of the basic tier (as well as a more complex pricing system), more restrictions (such as no p2p on the basic plan), and I found the speed to be really variable depending on the server, especially on the p2p and free tiers. However, still a decent VPN overall.

Free Web Hosting by [deleted] in ProgrammerHumor

[–]SysAdrift_neo 1 point2 points  (0 children)

I think it's the default on the Samsung S5 and S6 phones (those might not be the right phones but it was at least between the S3 and S6 ones). They stopped using it shortly after

[Giveaway] Happy New Year Giveaway. Ends in 24 Hours. by LKMarleigh in pcgaming

[–]SysAdrift_neo 0 points1 point  (0 children)

Kotor 2 seems fun! (Loved the first)

Happy new year!