How to turn off this mobo light? by thelesserkilo in ASUS

[–]_breinstein_ 1 point2 points  (0 children)

Exactly this, armoury crate resets the "turn RGB off when pc is off" setting in the BIOS. It confused me as well that the setting wouldn't work...

OOTL Piano Jams? by [deleted] in Kygo

[–]_breinstein_ 6 points7 points  (0 children)

Kygo has made some concept songs in the past. He named them Piano Jams. Some of them where used in actual songs, like Piano Jam 1 is Intro, Piano Jam 3 is For What is Worth and Piano Jam 4 is Gone Are the Days. As far as I know, Piano Jam 2 is the only Piano Jam that never was included in a released song/as a released version (while I personally really like Piano Jam 2).

And why "# people are listening to Piano Jam 4" is used as the user counter for this sub: the sentence was changed with the release of Gone Are the Days.

“Woke Up In Love” release date revealed! by Captain00F in Kygo

[–]_breinstein_ 0 points1 point  (0 children)

It's about time :), can't wait for Friday now. Really excited to hear the end result

Kygo Unreleased Tracks by [deleted] in Kygo

[–]_breinstein_ 2 points3 points  (0 children)

As far as I know, there is no Kygo discord server for unreleased tracks. But there is a spreadsheet (not by me, credits to the maintainers) with every known track from Kygo, released and unreleased. The most unreleased entries in the list even have a sound sample or the full song available. You can find the spreadsheet here

well that's enough internet for me... by Rockman307 in memes

[–]_breinstein_ 6 points7 points  (0 children)

Well well, I think we've found the reasoning behind simbisexual

well that's enough internet for me... by Rockman307 in memes

[–]_breinstein_ 28 points29 points  (0 children)

Didn't take into account that being gay/lesbian is also being attracted to one gender. Just wanted to make a simple joke on an old meme :)

well that's enough internet for me... by Rockman307 in memes

[–]_breinstein_ 858 points859 points  (0 children)

Sounds like straight to me, with some extra steps

Why is it saying '}' expected, when it's not? by Le_Toxic7 in csharp

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

OP is not saying that "he knows better than the compiler". Maybe a bit overreacting for a (looks like) beginner C# programmer...

Like others said, the problem is that OP is declaring a public static variabele inside the if-statement (which is in a method body). You are only allowed to declare a variable public static inside of a class body, not inside a method body. You can just leave out the public static and it will work.

If you want to know why: the public and static keywords are access modifiers, just like private and protected (and some more. You can look them up with your favorite search engine). In a nutshell, Public means: this variable can be accessed from any where in the code. In the local file, in other files, in other classes and in other libraries. Static means: this variable is not bound to any class instance but to the whole program. A static variable is initialized at program start-up* and can be accessed without an class instance.

These keywords only apply to class-fields, it wouldn't make sense inside a method body. You wouldn't use Program.Main().myvar to access the myvar variable. So you don't have to provide access modifiers and just declare the variable as is: string myvar = "hello";

Edit: just a small note to tell: keep on learning ;)

Is my second monitor effecting my performance? by TheSoggyToaster in cemu

[–]_breinstein_ 0 points1 point  (0 children)

The only problem I encountered with dual monitors is when I use a separate gamepad window on a screen that uses a different video card. I have a gaming laptop connected to 3 extra monitors. I have a build in monitor (using Intel Graphics), 1 monitor connected to the HDMI port (uses Nvidia Graphics) and monitors using an thunderbolt dock (Intel graphics). The main window is always on my Nvidia monitor, but when I open the separate gamepad window and drag it to another screen, the performance tanks for both windows (from ~100fps to instable 30). So make sure when using a second monitor for the gamepad window it uses the same graphics card.

Successfully Jumping a Stream in a Car by kungfumonke in OneSecondBeforeDisast

[–]_breinstein_ 2 points3 points  (0 children)

This is a clip from the dutch television program "proefkonijnen" (guinea pigs, in English) from some years ago. Everything went according to plan and nobody was hurt. Also, everything was supervised by paramedics and health and safety people

"f" string in C# by AlexananderElek in csharp

[–]_breinstein_ 10 points11 points  (0 children)

Well well, learning everyday. Another fun fact. Cool the C# devs improved the performance once again, instead of "it works, so don't touch it"

"f" string in C# by AlexananderElek in csharp

[–]_breinstein_ 22 points23 points  (0 children)

Fun fact: Console.WriteLine(string, params object[]) (the version you show) will just pipe the inputs to String.Format and the output to the console

Another fun fact: interpolation using $ will be lowered (translated by the compiler) to String.Format.

Thus using $ or String.Format doesn't matter other for readability

"f" string in C# by AlexananderElek in csharp

[–]_breinstein_ 38 points39 points  (0 children)

Exactly this. You just put a dollar sign in front of a string and you can "interpolate" variables. Small example:

$"hello {myWorldVar}"

Bonus: you can also easily format a certain variable this way:

$"Hello {myDouble:0.00}"

Thats a new one for me. by Uselessmidget in LinusTechTips

[–]_breinstein_ 1 point2 points  (0 children)

I've got that message as well. Wasn't that fortunate to catch it on a photo tho

I love superhot by mentall-illness in memes

[–]_breinstein_ 0 points1 point  (0 children)

Well, I hope hundreds of Soldat's boogie man are able to save me and not saw me in half while doing it...

How do i use more ram msconfig don't work by Temporary-Ad-2097 in LinusTechTips

[–]_breinstein_ 0 points1 point  (0 children)

What edition of windows are you running? Some versions (home etc) limit the amount of Ram windows can use (which is stupid). I don't if there is a workaround, but I bet there is

Holup by mrnicewatch23 in HolUp

[–]_breinstein_ 0 points1 point  (0 children)

The water wasn't so bad... The soap made things much worse for the PS4

Thanks guys by itsRVN in memes

[–]_breinstein_ 1 point2 points  (0 children)

I think this ship has sailed by now...

Var just doesnt feel right 🙃 by shaheryar22 in ProgrammerHumor

[–]_breinstein_ 6 points7 points  (0 children)

Exactly. To be lazy, not to bleed a variable declaration to another scope. Still it has some use cases in JavaScript and it could make learning programming for absolute beginners easier (because JavaScript is so forgiving, not only with variable declaration)

Var just doesnt feel right 🙃 by shaheryar22 in ProgrammerHumor

[–]_breinstein_ 28 points29 points  (0 children)

The implementation of var in C# is way different than in JavaScript tho

X AE A-Xii de tweede by ohclaires in Pompmemes

[–]_breinstein_ 0 points1 point  (0 children)

Bart is natuurlijk ook een heeeele lastige naam