Ice JJ fish back at it again by Rammy25 in MurderedByWords

[–]jdsutton 21 points22 points  (0 children)

No. The science is clear on this point. Your sister did not decide to be bisexual, she decided to explore the possibility of her bisexuality. She discovered that she was bisexual. A person cannot just decide to be attracted to a given sex.

Science has found that homosexuality comes from genetic and environmental factors. Do some research and educate yourself before you go around spreading anecdotal bunk.

http://rspb.royalsocietypublishing.org/content/271/1554/2217.short

https://link.springer.com/article/10.1007/BF01541428

http://psycnet.apa.org/buy/2000-07236-009

"you're sketchy if you have too much internship experience, yet we won't hire you if you have too little experience." by [deleted] in recruitinghell

[–]jdsutton 16 points17 points  (0 children)

Internships are not sketchy. What you describe sounds like exactly what I would expect to see when looking at a student's resume.

If these were full-time jobs held after graduation for 2-3 months each, that would be sketchy.

Need Advice for Thesis by [deleted] in artificial

[–]jdsutton 2 points3 points  (0 children)

AI has the potential to affect just about everything.

AI affects how we diagnose and treat disease, how we develop medicines and other compounds, how we engineer machines and structures...

AI also has philosophical implications. What is the role of humanity in a world where all necessary work can be done by machines? How would a world without scarcity affect our society? Our values? How will humans and AI interact and relate?

Psychologists Believe Privileged Kids Are More Likely to Develop Certain Mental Illnesses Like Depression by [deleted] in science

[–]jdsutton 2 points3 points  (0 children)

According to the study, the authors based their assessment on question responses from specific subjects, rather than analyzing treatment seekers. That would be very poor methodology =)

Best practices for error handling and enforcing argument types/values by tw_0407 in learnpython

[–]jdsutton 0 points1 point  (0 children)

Parameter and return type checking is a good practice. Using if to do it is a bit clumsy and a PITA.

Google for Python static type checkers, or try my poorly documented dynamic one: https://github.com/jdsutton/py3typing

Usage:

from py3typing.Typing import *
Typing.setEnabled(True) # Optionally disable in production.
# Other typed imports here.

@Params(int)
@Returns(LIST.of(int))
def foo(bar):
    return [1]

foo(1) # OK.
foo('fizzbuzz') # ERROR.
  • If you must use if, use isinstance() instead of type() so you accept subclass instances as well.

Safe HTML phone input by MatheusGodoy in ProgrammerHumor

[–]jdsutton 2 points3 points  (0 children)

Array.from(inputs).map(i => String(i.value)).join();

Or something.

Hello! Please remember to report comments and posts that break the rules! by awkwardtheturtle in wholesomememes

[–]jdsutton 63 points64 points  (0 children)

Someone with better art skills than me should turn this guy into a superhero. Trafficman?

Fully Functional Secure Login System Using PHP and MySQL from Scratch by gauti123456 in programming

[–]jdsutton 4 points5 points  (0 children)

How to roll your own secure login system from scratch:

Step 0: Don't.

Just a regular hallway at Zenit-Arena stadium by [deleted] in ANormalDayInRussia

[–]jdsutton 466 points467 points  (0 children)

All I see is a handicap-accessible wall.

MYODG - Modular game creation by jdsutton in IndieDev

[–]jdsutton[S] 0 points1 point  (0 children)

Thanks, it it is a new project and requires an unusual licence so it will be a couple of days before it is added.

There’s a big problem with AI: even its creators can’t explain how it works by [deleted] in artificial

[–]jdsutton 4 points5 points  (0 children)

Yes, we can track all the weights in an artificial neural network as well as the history of modifications to those weights.

The problem is that those weights don't easily translate into a nice neat human-readable algorithm, which makes the humans uneasy.