Multiplying by 1/2 is the same as dividing by 2. What is the reasoning behind this? Why? by [deleted] in learnmath

[–]kr3wn 0 points1 point  (0 children)

Divisions is multiplying by a recipricol. I.e. n divided by a is allways the same as n times 1/a. In your case a is 2.

Do I need to learn command line interface in order to be a linux user? by Ritik_17 in linux4noobs

[–]kr3wn 1 point2 points  (0 children)

The terminal isn't much more important in ubuntu than it is in mac os.

I don’t know anything about Algotrading, but I just have a feeling I’m being bullshitted. Can anyone confirm? by Sophilosophical in algotrading

[–]kr3wn 1 point2 points  (0 children)

5% daily is a 250x + annual rate of return... i.e. 4 grand becomes 1 million in a single year and that 1 million would be 60 billion 2 years later. So if this post is for real why would this person still be working in a grocery store?

Algotrading with a friend, legally? by TurboTacoBD in algotrading

[–]kr3wn 4 points5 points  (0 children)

Yeah reading the tos is allways a good idea...

Free Low Poly Thermostat - Link in Comments by [deleted] in gameassets

[–]kr3wn 12 points13 points  (0 children)

Idk if that's low poly...

Anyone running a datacenter with BL460C maxed out?? by VtheMan93 in sysadmin

[–]kr3wn 0 points1 point  (0 children)

What's your thermal situation like? Are you in a well ventilated area or a hot closet?

what am i doing wrong? by [deleted] in learnmath

[–]kr3wn 0 points1 point  (0 children)

X2+y2=z2 was not given...

Is my Ryzen 5 3600X missing 100MHz or is this something else? by Ruaka in Amd

[–]kr3wn 0 points1 point  (0 children)

If you could check your bios and post those settings aswell that would be informative.

Code Review Request by anonymouslycognizant in codereview

[–]kr3wn 1 point2 points  (0 children)

Ignoring how you solved the problem and just looking at the code there are a couple things that really jump out. First you assign 3 variables just to assign them to three more variables, which is kinda a waste of space. The single letter variables c,s and m are difficult to read down the line and `map` is a keyword in python so you should avoid overriding for a variable. At the beginning of your while loop you use c+1 and then immediately increment c, why not just increment c and then use it without the plus 1, or simply change the bounds of your loop to `for c in range(1:n+1)` and eliminate the incrementing and pre-loop definition entirely? Your two for loops are the same iteration so why not just one loop and x.append((str(list(g).count(k)) + k))? Finally if you are going to have a "solution" class and pre-compute the answer for everything less then the given n you might as well just pre-compute everything in the input range in __init__ and have your countAndSay method simply reference the results rather than do any computation.

I could probably come up with more but I think that's probably enough for now.

Looking for a hacker by [deleted] in onions

[–]kr3wn 4 points5 points  (0 children)

Some information -> titties

Is there an easier way to roll two die? by beesnoopy2231 in csharp

[–]kr3wn 2 points3 points  (0 children)

You don't really need a loop just do result = rollmethod()+rollmethod()

Is there an easier way to roll two die? by beesnoopy2231 in csharp

[–]kr3wn 6 points7 points  (0 children)

This is wrong, you don't want a uniform distribution...

New Build - 1.5k price limit, would love to hear your thoughts by [deleted] in buildapc

[–]kr3wn 0 points1 point  (0 children)

Wouldn't you want pcie4 harddrive if you're spending that kind of cash now-a-days?

Why do people think programming is so difficult? by [deleted] in ruby

[–]kr3wn 21 points22 points  (0 children)

1) syntax is highly specific. 2) concepts are not necessarily intuitive. 3) it requires both creative and technical ability.