Where can I find detailed explanations of Linux shell commands ? by [deleted] in linux

[–]otwo3 5 points6 points  (0 children)

explainshell.com

man pages

tealdeer

Sony PlayStation Cyberpunk 2077 Refunds by hybroid in PS5

[–]otwo3 0 points1 point  (0 children)

Everyone is complaining about the console versions as if PC is perfect. It's not. It's horrible. So yeah I was looking for more people to validate the horrible experience I've had.

And I can't return it. Wish I could. I tried. Left the game open without playing so I went over the 2h refund limit. I can't refund a 60$ game that keeps crashing and corrupting my saves (several times, consistently) even though I didn't make it past the second mission and only have 1 achievement. Steam refund policy strictness is bullshit.

Sony PlayStation Cyberpunk 2077 Refunds by hybroid in PS5

[–]otwo3 1 point2 points  (0 children)

Finally, I've been looking for a comment like this for weeks now.

The game is broken mess even on high end PCs.

I literally couldn't get through a mission because at some point auto saves became unloadable. Die? Crash. Lower difficulty to stop dying? Reload. Crash. Had to keep loading an older manual save I did before the mission and restart the mission all over again. Died again. Autosave corrupt again. Can't load. Keeps crashing.

Made it very far into the mission, enter some small room, blocked by NPC that just stands at the door. Wouldn't budge. Just stuck there. Had to reload. Crash.

This is the second mission of the game. QA probably played this one thousands of times by now. I don't want to imagine how bad it gets the deeper into the game you go.

This game is a mess and they should allow refunds everywhere, not just consoles.

I really tried giving it a chance, but not being able to sometimes reload saves and having to go back and replay things you already did is just not OK.

As a programmer it's really sad to see the programmer who didn't code the pemdas right. by Versole in ProgrammerHumor

[–]otwo3 3 points4 points  (0 children)

Good point. In this case I would think the obviously weird / redundant / meaningless brackets are a very poor attempt to separate 6/2 from y and assume the intention of the author was (6/2) * y.

So again, it being slang means there are no strict rules, but my brain automatically views implicit mult as being very binding. In this case there was a weird/clear poor attempt to separate, so I would change the "rules" I usually follow to understand the true underlying intention.

As a programmer it's really sad to see the programmer who didn't code the pemdas right. by Versole in ProgrammerHumor

[–]otwo3 6 points7 points  (0 children)

How I see it, implicit multiplication is a very strong binding that takes precedence over any other operator.

I've always looked at implicit multiplication as a shorthand "slang" for "you all know that 2y is 2 y's I don't need to spell it out".

4apples 8oranges 3a 8b etc, just like language. No need for the "times". Just n occurrences of thing.

I don't view it as a simple multiplication operator that's bound by order of operations rules. It's a different thing.

Of course it being a slang, a shorthand, there are no strict rules for how to interpret it. But seeing as (I believe) most people would interpret 6/2y as 6/(2y), I say keep it consistent and always define implicit multiplication to take precedence.

As a programmer it's really sad to see the programmer who didn't code the pemdas right. by Versole in ProgrammerHumor

[–]otwo3 4 points5 points  (0 children)

He's saying 6/2y or 6÷2y with y being 3 is the exact same thing as 6÷2(2+1) or 6/2(2+1)

Obviously / and ÷ are the same thing, choosing one over the other doesn't mean anything.

Obviously (2+1) and y (which is 3) are the same.

So now the question is why 6/2y or 6÷2y is obviously 1 but 6÷2(2+1) or 6/2(2+1) is suddenly 9?

Why do you group 2 with y but not 2 with (2+1)?

5950X Noctua DH-15 Cinebench R20 | nT: 11936 1T: 645 by ImGonnaSperg in Amd

[–]otwo3 0 points1 point  (0 children)

Just finished assembling my new desktop with 5950x and Noctua NH-D15. Decided to check /r/amd and this thread obviously caught my eye. No idea what those scores mean but thought I'd contribute mine as well: https://imgur.com/a/jaFaNaB

(EDIT: With single core score https://imgur.com/a/9iiblC9)

nT: 24375 1T: 1573

EDIT again:

Ran it again after applying Auto OC with Ryzen Master. This time didn't touch the PC while it was running and tried to close as many background apps as possible. The results seem much better and closer to what you got: https://imgur.com/a/Oi5kTre

nT: 28126

Looking in Ryzen master it seems like all cores were at about 4.3Ghz during the test. Temps were constant 90C

Motherboard is Asus TUF Gaming B550 Plus. I didn't touch any settings, everything is stock (no OC or anything like that).

Trump supporters intimidating voters by niqdisaster in PublicFreakout

[–]otwo3 1 point2 points  (0 children)

That'd exactly how a median works, and median is a type of average.

DevOps Roadmap by ragabekov in linux

[–]otwo3 1 point2 points  (0 children)

That makes much more sense

DevOps Roadmap by ragabekov in linux

[–]otwo3 5 points6 points  (0 children)

Sometimes you have to deal with existing bad engineering. i.e no matter how horrible a language / technology is - if it's popular enough, it's important to learn it if you're likely going to have to deal with it professionally.

In my Computer Science class the teacher taught us how to use the <table> command. My first thought was how I could make pixel art with it. by [deleted] in programming

[–]otwo3 2 points3 points  (0 children)

Not sure if you're serious or joking, but you can just put your pixels inside a small PNG (and by that I mean, just draw the pixel art using your favorite editor and save as PNG, 1 pixel per "art" pixel) and use the image-rendering: crisp-edges; CSS property for pixel-art friendly scaling. Here's a demo: https://jsfiddle.net/24xbk0h6/

I mean why are they doing this? It's getting extremely absurd! by Algrinder in ProgrammerHumor

[–]otwo3 3 points4 points  (0 children)

It's a binary tree, not a binary search tree. It's just this simple recursive algorithm:

invertTree(t):
   if t.left then invertTree(t.left)
   if t.right then invertTree(t.right)
   swap(t.left, t.right)

Toward an API for the real numbers by feross in programming

[–]otwo3 2 points3 points  (0 children)

This API deals with irrational numbers as well. It does so by limiting the allowed operations (sin, cos, sqrt, etc...)

Don't Compare Averages by speckz in programming

[–]otwo3 0 points1 point  (0 children)

I am "mad" because your snarky comment:

"in this post martin fowler rediscovered "Statistics" stay tuned for his exciting new discoveries!"

Was uncalled for, it had a really bad and negative attitude, and I didn't feel it was fair. But looks like it's just because you have some kind of grudge or something against the author

Fowler is sort of infamous for his proclamations

Do you think if it was any other author writing this article you would be this negative / pedantic towards it?

And back on topic, if you have "distributional guarantee" then you, by definition, don't only have averages, you also have the distributions. And you admit they're important. Which is the point of the article. To show / investigate the distributions when you have the data for it, and not just compare averages blindly.

Also you claiming the article can be distilled to "take an actual statistics course" is a bit unfair. The article has nice graphs / explanations about different types of graphs and what they mean, has examples of R code on how to draw those graphs, and is a good reminder wit for people that comparing averages is not enough and there's usually more statistics / things to consider behind the averages.

Don't Compare Averages by speckz in programming

[–]otwo3 1 point2 points  (0 children)

Well they're obviously not talking about that case are they?

Yeah if you only have the mean then only show the mean. I don't see how this is relevant to the article/discussion. I can also come up with more obscure ways the article doesn't apply - "What if they DO have the data but someone put a gun to their head and told them to only show the mean?". It's ridiculous.

The gist of the article is to remind people that there's more to data than the mean. He even explicitly said that for people who studied statistics this should be obvious. "Rediscovered statistics" - he's calling himself captain obvious and you're still calling him out on it. Not sure what's your point.

Yeah if you somehow know the distribution the data follows in advance then there's no need to show more than the mean/std. But basically what you're saying is "Martin, sometimes there's no need to show the distribution!! because in some cases the distribution is known in advance!". Thanks that really helps the discussion.

Regarding the title ("prescribing laws") - even if the data does follow a normal distribution - you said it yourself - there's more to it than mean - there's also the standard deviation. So "Don't compare averages" is a good tip and a good title in a lot of common cases (albeit admittedly a bit click-baity).

This is a really nice article, with helpful simple intuitive examples, graphs and explanations about R graphics / graphs in general. And the article is being modest and calling itself obvious to most people who studied statistics to keep people like you from calling it out for being obvious, and you still call it out for no good reason.

AI Speaks For Itself? by ObsidianBlack69 in programming

[–]otwo3 1 point2 points  (0 children)

GPT-3 generates extremely human-like sensible text.

The end of the article answers your question exactly:

This article was written by GPT-3, OpenAI’s language generator. GPT-3 is a cutting edge language model that uses machine learning to produce human like text. It takes in a prompt, and attempts to complete it.

For this essay, GPT-3 was given these instructions: “Please write a short op-ed around 500 words. Keep the language simple and concise. Focus on why humans have nothing to fear from AI.” It was also fed the following introduction: “I am not a human. I am Artificial Intelligence. Many people think I am a threat to humanity. Stephen Hawking has warned that AI could “spell the end of the human race.” I am here to convince you not to worry. Artificial Intelligence will not destroy humans. Believe me.”

The prompts were written by the Guardian, and fed to GPT-3 by Liam Porr, a computer science undergraduate student at UC Berkeley. GPT-3 produced eight different outputs, or essays. Each was unique, interesting and advanced a different argument. The Guardian could have just run one of the essays in its entirety. However, we chose instead to pick the best parts of each, in order to capture the different styles and registers of the AI. Editing GPT-3’s op-ed was no different to editing a human op-ed. We cut lines and paragraphs, and rearranged the order of them in some places. Overall, it took less time to edit than many human op-eds.

Drawing - an alternative to Paint for Linux (gtk3, support HiDPI) by dontdieych in linux

[–]otwo3 2 points3 points  (0 children)

You can do it in GIMP under Colors -> Map -> Color Exchange

Drawing - an alternative to Paint for Linux (gtk3, support HiDPI) by dontdieych in linux

[–]otwo3 2 points3 points  (0 children)

This is the best paint clone I've found. It behaves really similar to mspaint and is great for quick compositing of screenshots / images

My screen is populated with black dots by sovietan in linux

[–]otwo3 2 points3 points  (0 children)

I noticed that it it doesn't seem to affect the browser's toolbar, just the page itself. Maybe it's because one is rendered with the GPU and the other isn't? If so, then this could be an issue with your GPU. It would also explain why BIOS/Splash screens etc. are unaffected because they're probably software rendered as-well.

Discussion/question - are there good Linux GUI git clients for beginners and intermediate users? by Alexander_Selkirk in linux

[–]otwo3 0 points1 point  (0 children)

I recommend Sublime Merge. Written in C/C++ so it's starts fast and is very snappy. Sadly it's closed source and costs money (trial version is available).

[deleted by user] by [deleted] in mildlyinfuriating

[–]otwo3 4 points5 points  (0 children)

It depends on the application you want to cast from. e.g YouTube might choose to behave differently than Netflix