u/carlip - 25 Archived Voat Posts in v/programming
u/carlip
  • home
  • search

u/carlip

1 post · 24 comments · 25 total

Active in: v/programming (25)

  • ‹‹‹
  • ‹‹
  • ‹
  • 1
  • ›
  • ››
  • ›››
Comment on: Are there any working Python YouTube APIs for downloading videos?

there is an autohotkey script that works really well

0 23 Sep 2019 15:22 u/carlip in v/programming
Comment on: Some people don't belong in this industry.

I only do hobby programming so I have never had to work with others. Sounds like a shitty time. Better just to start over fresh if you have the time.

0 02 Jul 2019 20:20 u/carlip in v/programming
Comment on: Microsoft Windows Subsystem for Linux 2 goes fast and has a new terminal

If I wanted to run a Linux VM I would use VMware. HyperV is dogshit

0 13 May 2019 02:05 u/carlip in v/programming
Comment on: For all you REAL developers, bacon mockup. Need a placeholder image? Why not bacon?

Bacon ipsum. That's halalious

0 06 May 2019 22:29 u/carlip in v/programming
Comment on: I'm Writing a Program that Calculates the Value of a Woman in Metric Spherical Cow Units. If That Doesn't Peak Your Interest, I Don't Know What To Tell You Buddy.

I'm not what dependency normalize() is from but you should an if statement before that in the hotness function to the effect of

If this.skin='black'

Hotness=this.hotness-10

0 05 May 2019 05:13 u/carlip in v/programming
Comment on: Is C# a low-level language?

>4 day old account

>knows everything about technology

>constantly, completely wrong

0 28 Apr 2019 14:46 u/carlip in v/programming
Comment on: Is C# a low-level language?

Also not true. Why do you enjoy being so wrong so often?

0 28 Apr 2019 14:44 u/carlip in v/programming
Comment on: Is C# a low-level language?

so you're just wasting CCP

wtf are you talking about? downvoting you doesn't incur any penalty against me. clearly you belong back at your home

0 28 Apr 2019 14:37 u/carlip in v/programming
Comment on: Is C# a low-level language?

Yes i just told you that i did this after you already accused me of it. Get fucked you lazy nigger.

0 28 Apr 2019 14:26 u/carlip in v/programming
Comment on: Is C# a low-level language?

it wasn't me, but im going to now since you're accusing me of it anyway

0 28 Apr 2019 13:54 u/carlip in v/programming
Comment on: C++ is a pleasure to work with.

Overflow.

0 15 Mar 2019 02:01 u/carlip in v/programming
Comment on: Is C# a low-level language?

no its uses a compiler to send instructions to the CPU

0 03 Mar 2019 01:25 u/carlip in v/programming
Comment on: Google Says Spectre And Meltdown Are Too Difficult To Fix [With Software]

i was under the impression its a microcode issue, so anything kernel or higher isn't going to be able to do much

0 23 Feb 2019 02:03 u/carlip in v/programming
Comment on: Who says girls can't code?

why go through the trouble of writing Calibri for the paragraph class if you're just going to use the an in-line style call for sansserif... ON EVERY FUCKING LINE

0 04 Feb 2019 17:17 u/carlip in v/programming
Comment on: Core Debian developer summarily banned from project for referring to a transgender person with a non-approved pronoun

dont you see the irony here? he knows how to code, but they want to force him to be a SJW faggot. And the SJW faggots will now be forced to code!

0 03 Feb 2019 14:22 u/carlip in v/programming
Comment on: Of course, I never do this...

@Dfens is a censorous communistic moderator. this user should be quarantined away from the rest of us who enjoy free speech.

0 13 Nov 2018 22:45 u/carlip in v/programming
Comment on: NPC Programming

Import groupChant

If NPC.followAlong == true

Print("Hey, hey, ho ho,"&smearTarget&" has got to go!")

Elif

Do until noticed(socialMedia)>=10

Cry

0 14 Oct 2018 20:01 u/carlip in v/programming
Comment on: Work as a C++ programmer

from what i've always understood when they hire on a new person, depending on the product, the recruit will spend 3-6 months just learning the structure. i dont think they will really expect too much even in your first month. just keep your ears open.

0 29 Aug 2018 00:20 u/carlip in v/programming
Comment on: Forcing women into programming is a fucking mistake

she's also calling a class that isn't defined. where is 'isUgly' defined?

0 17 May 2018 22:50 u/carlip in v/programming
Comment on: Can anyone help me understand Python functions?
def determineGrade(letGrade):
    score=letGrade
    if score >=90:
        return 'A'
    elif score >=80:
        return 'B'
    elif score >=70:
        return 'C'
    elif score >=60:
        return 'D'
    else:
        return 'F'
def avgGrade(grade1,grade2,grade3,grade4,grade5):
    avg=(grade1+grade2+grade3+grade4+grade5)/5
    return avg
def printOut(grade1,grade2,grade3,grade4,grade5):
    avg=avgGrade(grade1,grade2,grade3,grade4,grade5)
    print()
    print('Score\tGrade\tLetter Grade')
    print('----------------------------')
    print(' 1:\t',grade1,'\t  ',determineGrade(grade1),'\n'+\
          ' 2:\t',grade2,'\t  ',determineGrade(grade2),'\n'+\
          ' 3:\t',grade3,'\t  ',determineGrade(grade3),'\n'+\
          ' 4:\t',grade4,'\t  ',determineGrade(grade4),'\n'+\
          ' 5:\t',grade5,'\t  ',determineGrade(grade5))
    print('----------------------------')
    print('Average Score:',avgGrade(grade1,grade2,grade3,grade4,grade5),'\t',\
          determineGrade(avg))
def askGrade():
    grade1=float(input('Score 1: '))
    grade2=float(input('Score 2: '))
    grade3=float(input('Score 3: '))
    grade4=float(input('Score 4: '))
    grade5=float(input('Score 5: '))
    return grade1,grade2,grade3,grade4,grade5
def main():
    grade1,grade2,grade3,grade4,grade5=askGrade()
    printOut(grade1,grade2,grade3,grade4,grade5)
main()

OUTPUT

>>> 
====== RESTART fasdasd.py ======
Score 1: 84
Score 2: 93
Score 3: 97
Score 4: 88
Score 5: 79
Score   Grade   Letter Grade
 1:  84.0      B 
 2:  93.0      A 
 3:  97.0      A 
 4:  88.0      B 
 5:  79.0      C
Average Score: 88.2      B
>>> 

apparently i was passing the variables to the wrong places, all fucking day...

0 24 Feb 2018 01:14 u/carlip in v/programming
Comment on: Can anyone help me understand Python functions?
def calcAverage(score1, score2, score3, score4, score5):
    pass
def determineGrade(score):
    if score >=90:
        return 'A'
    elif score >= 80:
        return 'B'
    elif score >= 70:
        return 'C'
    elif score >=60:
        return 'D'
    else:
        return 'F'
def main():
    loopCount=0
    while loopCount !=5:
        grade=int(input('Enter Score: '))
        print(determineGrade(grade))
        loopCount+=1
main()

I have to get 5 inputs as "test scores", then assign a letter grade A-F as well as print the average score and letter grade. All of this has to be formatted into a chart, which i already have worked that out, i just dont get the back end stuff.

0 23 Feb 2018 22:19 u/carlip in v/programming
Comment on: Can anyone help me understand Python functions?

i've never gotten too indepth into any particular language.

What i mean is that i have some variables that i have to do 2 things with, the requirement is that i use 2 separate functions and returns, but i am having trouble splitting the data then reassembling it correctly.

0 23 Feb 2018 22:05 u/carlip in v/programming
Can anyone help me understand Python functions?
1 1 comment 23 Feb 2018 21:58 u/carlip (self.programming) in v/programming
Comment on: Today's date is 100/1000/10000 in binary

I mean verbally how would you reply, type that response out.

1 05 Aug 2016 11:24 u/carlip in v/programming
Comment on: Today's date is 100/1000/10000 in binary

What exactly would you say if it asked you today's full date, written out completely?

2 04 Aug 2016 22:23 u/carlip in v/programming
  • ‹‹‹
  • ‹‹
  • ‹
  • 1
  • ›
  • ››
  • ›››

archive has 9,592 posts and 65,719 comments. source code.