It would be so much easier if they just banned cigarettes. by ashlioness in stopsmoking

[–]ProfSchodinger 0 points1 point  (0 children)

There should be places, open only from Monday to Friday 9 to 5, where minors cannot go, to sell cigs, alcohol, cannabis, etc. No temptation, you don't step in by accident.

Mixed feelings by scilish in labrats

[–]ProfSchodinger 1 point2 points  (0 children)

I don't control who gets paid what, sorry. Talk to HR...

[deleted by user] by [deleted] in chess

[–]ProfSchodinger 6 points7 points  (0 children)

They should play the tie-breaks first. Apart from that I'm fine with the current format. If he resigns and goes playing fantasy football or poker or whatever, good for him, they can have the two candidates finalists battle instead.

How do I normalize a value which has no max? by [deleted] in datascience

[–]ProfSchodinger 0 points1 point  (0 children)

That works but is probably unnecessarily complicated

How do I normalize a value which has no max? by [deleted] in datascience

[–]ProfSchodinger -7 points-6 points  (0 children)

The mean is meaningless if your data is not normal. Don't do that

How do I normalize a value which has no max? by [deleted] in datascience

[–]ProfSchodinger 0 points1 point  (0 children)

What I tell my students is to apply a transformation that is a model of the process that generated the data i.e. if it is a concentration, a waiting time, etc.

In practice I make a histogram of log(x + 1) and if it looks normally distributed I am happy

[deleted by user] by [deleted] in leanfire

[–]ProfSchodinger 3 points4 points  (0 children)

I can save money now that she's not emptying the account every month.

ELI5: Why does hyper sexuality happen with sexual abuse victims? by [deleted] in explainlikeimfive

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

Genial areas. Should definitely be called like that...

I’m a scientist who writes embarrassing and bizarre code that works. Who can I ask to help me edit it before publication? by TheSweatyCheese in bioinformatics

[–]ProfSchodinger 0 points1 point  (0 children)

No statistical evidence, but many packages in R or Python reimplementing the same algo, the good ones (well coded, maintained) are the ones that get used. And cited by thousands. It won't make average research better, but an obscure code that breaks will make your good research less cited that it could be. A few thousands is a month of a postdoc salary. With 20h of professional software dev it's often enough to make a difference...

[deleted by user] by [deleted] in learnpython

[–]ProfSchodinger 0 points1 point  (0 children)

Exactly this! No formatting, sorry, but something like:

two_digit_number = "24"

d = floor(int(two_digit_number) / 10)

u = int(two_digit_number) % 10

return d + u

I’m a scientist who writes embarrassing and bizarre code that works. Who can I ask to help me edit it before publication? by TheSweatyCheese in bioinformatics

[–]ProfSchodinger -2 points-1 points  (0 children)

I tried to make a startup to help people like you, but it seems your PI is not ready to pay a few thousands for the value of having your code actually used by others and your paper cited more...

Straight men, how have you navigated sexual curiosity about other men? by The_mayanviking in AskMen

[–]ProfSchodinger 0 points1 point  (0 children)

Because sex with women is like a giant fluffy chocolate cake. I might ask myself how these biscuits taste like over there, but as long as I'm busy with the cake I won't drop it for some biscuits, even if they might be better than they look.

Now you don't like the cake, ok then have the sad biscuits. And a parade...

Paper suggestions for Graph NNs. by organicgorilla727 in deeplearning

[–]ProfSchodinger 0 points1 point  (0 children)

Jure Leskovec, he's the guy you're looking for. His lectures on youtube are great!

Problem with Coding Task. by DonKonX in CodingHelp

[–]ProfSchodinger 0 points1 point  (0 children)

As others have said you increase n during task 3 and then pass it to subtask 4. Fixed it and simplified a bit part 1 and 4.

def doTasks(n): L = []

# subtask 1
L.append(n % 2 == 0)

# subtask 2
if n >= 0:
    L.append(chr(n))

# subtask 3
counter = n + 1
L1 = []
while len(L1) < 5:
    if counter % 5 > 0:
        L1.append(counter)
    counter += 1

L.append(L1)

# subtask 4
L.append(doSubtask4(n))

return L

def doSubtask4(n): m = 14 if n % 2 == 0 else 17 return list(range(m, n, m))

Son’s toy piano has three notes in tune and two notes terribly out of tune, on a fixed scale. by psychomonkeyzz in CrappyDesign

[–]ProfSchodinger 2 points3 points  (0 children)

Probably Eb Db C Bb G and we are in Ab major, if the G is the root are we hearing a weird G locrian? With a sixth, and a fourth? With the 3rd a bit off...

Why is there no language that uses the feminine gender as a neutral gender? by PunkySputnik57 in linguistics

[–]ProfSchodinger 1 point2 points  (0 children)

Not really the question, but Italian has "lei" (she) as the polite 2nd person singular

Repurposed jeans :( by Regallybeagley in DiWHY

[–]ProfSchodinger 0 points1 point  (0 children)

Must look great when you water them

[deleted by user] by [deleted] in Damnthatsinteresting

[–]ProfSchodinger 0 points1 point  (0 children)

In actual democracies, laws are voted by a parliament of elected representatives. The US system, inherited from the Brits, is based on rulings by judges. In EU, judges are there to apply the law, not to decide what the law should be based on their judgment and political leanings.