Reply
Page 3 of 4 FirstFirst 1 2 3 4 LastLast
Results 61 to 90 of 106
  1. #61
    Registered User need2grow10's Avatar
    Join Date: Jun 2010
    Posts: 1,666
    Rep Power: 6963
    need2grow10 is a name known to all. (+5000) need2grow10 is a name known to all. (+5000) need2grow10 is a name known to all. (+5000) need2grow10 is a name known to all. (+5000) need2grow10 is a name known to all. (+5000) need2grow10 is a name known to all. (+5000) need2grow10 is a name known to all. (+5000) need2grow10 is a name known to all. (+5000) need2grow10 is a name known to all. (+5000) need2grow10 is a name known to all. (+5000) need2grow10 is a name known to all. (+5000)
    need2grow10 is offline
    Not even a hello world?
    Reply With Quote

  2. #62
    because MERICA that's why TheAmericano's Avatar
    Join Date: May 2013
    Location: United States
    Posts: 11,516
    Rep Power: 12083
    TheAmericano is a splendid one to behold. (+10000) TheAmericano is a splendid one to behold. (+10000) TheAmericano is a splendid one to behold. (+10000) TheAmericano is a splendid one to behold. (+10000) TheAmericano is a splendid one to behold. (+10000) TheAmericano is a splendid one to behold. (+10000) TheAmericano is a splendid one to behold. (+10000) TheAmericano is a splendid one to behold. (+10000) TheAmericano is a splendid one to behold. (+10000) TheAmericano is a splendid one to behold. (+10000) TheAmericano is a splendid one to behold. (+10000)
    TheAmericano is offline
    Originally Posted by gatovolador View Post
    I'm a software eng. I've seen a ****ton of grads who don't grasp basic stuff, and I think the desire to create a more cast of "diverse" CS grads means more HCI and program managers and less actual technical stuff. I feel like 50% of the CS grads I meet want to be program managers cause they cannot program their ass out of a crackerjack box.
    How is that possible. How would they even get the job (ass the tech part interview) without knowing basic chit
    - I'm sorry; I couldn't hear your complaints over the sound of all this freedom!

    ~ Merica


    - Everybody wants to make it, but nobody wants to put in the work!
    Reply With Quote

  3. #63
    Wow Strong Arms YouMadOrMirin's Avatar
    Join Date: Mar 2013
    Location: Florida, United States
    Age: 34
    Posts: 6,522
    Rep Power: 76136
    YouMadOrMirin has a brilliant future. Third best rank! (+40000) YouMadOrMirin has a brilliant future. Third best rank! (+40000) YouMadOrMirin has a brilliant future. Third best rank! (+40000) YouMadOrMirin has a brilliant future. Third best rank! (+40000) YouMadOrMirin has a brilliant future. Third best rank! (+40000) YouMadOrMirin has a brilliant future. Third best rank! (+40000) YouMadOrMirin has a brilliant future. Third best rank! (+40000) YouMadOrMirin has a brilliant future. Third best rank! (+40000) YouMadOrMirin has a brilliant future. Third best rank! (+40000) YouMadOrMirin has a brilliant future. Third best rank! (+40000) YouMadOrMirin has a brilliant future. Third best rank! (+40000)
    YouMadOrMirin is offline
    Originally Posted by TheAmericano View Post
    How is that possible. How would they even get the job (ass the tech part interview) without knowing basic chit
    hahaha that might be the reason there are so many developer jobs around. Because people can't fuking program and expect to all be managers lol.
    “Uh, Later Dudes. S you in your A’s, don’t wear a C, and J all over your B’s.”

    -Local business owner and cat enthusiast
    Always pick 2 crew
    Reply With Quote

  4. #64
    calf of peace Schnitzl's Avatar
    Join Date: Nov 2011
    Posts: 15,241
    Rep Power: 183412
    Schnitzl has a reputation beyond repute. Second best rank possible! (+100000) Schnitzl has a reputation beyond repute. Second best rank possible! (+100000) Schnitzl has a reputation beyond repute. Second best rank possible! (+100000) Schnitzl has a reputation beyond repute. Second best rank possible! (+100000) Schnitzl has a reputation beyond repute. Second best rank possible! (+100000) Schnitzl has a reputation beyond repute. Second best rank possible! (+100000) Schnitzl has a reputation beyond repute. Second best rank possible! (+100000) Schnitzl has a reputation beyond repute. Second best rank possible! (+100000) Schnitzl has a reputation beyond repute. Second best rank possible! (+100000) Schnitzl has a reputation beyond repute. Second best rank possible! (+100000) Schnitzl has a reputation beyond repute. Second best rank possible! (+100000)
    Schnitzl is offline
    show me some expert level coding result plz, every time I only see someone who can summon lines of text in cmd prompt or make simple drop down menus but I need something more intricate.
    Reply With Quote

  5. #65
    Wow Strong Arms YouMadOrMirin's Avatar
    Join Date: Mar 2013
    Location: Florida, United States
    Age: 34
    Posts: 6,522
    Rep Power: 76136
    YouMadOrMirin has a brilliant future. Third best rank! (+40000) YouMadOrMirin has a brilliant future. Third best rank! (+40000) YouMadOrMirin has a brilliant future. Third best rank! (+40000) YouMadOrMirin has a brilliant future. Third best rank! (+40000) YouMadOrMirin has a brilliant future. Third best rank! (+40000) YouMadOrMirin has a brilliant future. Third best rank! (+40000) YouMadOrMirin has a brilliant future. Third best rank! (+40000) YouMadOrMirin has a brilliant future. Third best rank! (+40000) YouMadOrMirin has a brilliant future. Third best rank! (+40000) YouMadOrMirin has a brilliant future. Third best rank! (+40000) YouMadOrMirin has a brilliant future. Third best rank! (+40000)
    YouMadOrMirin is offline
    Originally Posted by Schnitzl View Post
    show me some expert level coding result plz, every time I only see someone who can summon lines of text in cmd prompt or make simple drop down menus but I need something more intricate.
    lol in high school I used to be able to use command prompt and hack other peoples computers in our computer labs. Loved putting sites like meatspin . com on peoples computers while they were out using a hall pass to do something. Cant do that anymore though in most schools due to their systems being way better now.
    “Uh, Later Dudes. S you in your A’s, don’t wear a C, and J all over your B’s.”

    -Local business owner and cat enthusiast
    Always pick 2 crew
    Reply With Quote

  6. #66
    Banned BaptismofBlood's Avatar
    Join Date: Sep 2015
    Posts: 542
    Rep Power: 0
    BaptismofBlood is a jewel in the rough. (+500) BaptismofBlood is a jewel in the rough. (+500) BaptismofBlood is a jewel in the rough. (+500) BaptismofBlood is a jewel in the rough. (+500) BaptismofBlood is a jewel in the rough. (+500) BaptismofBlood is a jewel in the rough. (+500) BaptismofBlood is a jewel in the rough. (+500) BaptismofBlood is a jewel in the rough. (+500) BaptismofBlood is a jewel in the rough. (+500) BaptismofBlood is a jewel in the rough. (+500) BaptismofBlood is a jewel in the rough. (+500)
    BaptismofBlood is offline
    knew a guy like that
    said he was terrible at programming
    he somehow got a management job and is doing fine
    Reply With Quote

  7. #67
    Wow Strong Arms YouMadOrMirin's Avatar
    Join Date: Mar 2013
    Location: Florida, United States
    Age: 34
    Posts: 6,522
    Rep Power: 76136
    YouMadOrMirin has a brilliant future. Third best rank! (+40000) YouMadOrMirin has a brilliant future. Third best rank! (+40000) YouMadOrMirin has a brilliant future. Third best rank! (+40000) YouMadOrMirin has a brilliant future. Third best rank! (+40000) YouMadOrMirin has a brilliant future. Third best rank! (+40000) YouMadOrMirin has a brilliant future. Third best rank! (+40000) YouMadOrMirin has a brilliant future. Third best rank! (+40000) YouMadOrMirin has a brilliant future. Third best rank! (+40000) YouMadOrMirin has a brilliant future. Third best rank! (+40000) YouMadOrMirin has a brilliant future. Third best rank! (+40000) YouMadOrMirin has a brilliant future. Third best rank! (+40000)
    YouMadOrMirin is offline
    Originally Posted by lnvictus View Post
    Das not int main()
    Why is there a vagina at the end of main? srs

    respect the srs tag srsly
    “Uh, Later Dudes. S you in your A’s, don’t wear a C, and J all over your B’s.”

    -Local business owner and cat enthusiast
    Always pick 2 crew
    Reply With Quote

  8. #68
    Wow Strong Arms YouMadOrMirin's Avatar
    Join Date: Mar 2013
    Location: Florida, United States
    Age: 34
    Posts: 6,522
    Rep Power: 76136
    YouMadOrMirin has a brilliant future. Third best rank! (+40000) YouMadOrMirin has a brilliant future. Third best rank! (+40000) YouMadOrMirin has a brilliant future. Third best rank! (+40000) YouMadOrMirin has a brilliant future. Third best rank! (+40000) YouMadOrMirin has a brilliant future. Third best rank! (+40000) YouMadOrMirin has a brilliant future. Third best rank! (+40000) YouMadOrMirin has a brilliant future. Third best rank! (+40000) YouMadOrMirin has a brilliant future. Third best rank! (+40000) YouMadOrMirin has a brilliant future. Third best rank! (+40000) YouMadOrMirin has a brilliant future. Third best rank! (+40000) YouMadOrMirin has a brilliant future. Third best rank! (+40000)
    YouMadOrMirin is offline
    Originally Posted by lnvictus View Post
    main function??
    srs tag wasn't actually srs lol
    “Uh, Later Dudes. S you in your A’s, don’t wear a C, and J all over your B’s.”

    -Local business owner and cat enthusiast
    Always pick 2 crew
    Reply With Quote

  9. #69
    Attention K-Mart shoppers Archangel_Lost's Avatar
    Join Date: Aug 2003
    Location: United States
    Posts: 52,697
    Rep Power: 146858
    Archangel_Lost has a reputation beyond repute. Second best rank possible! (+100000) Archangel_Lost has a reputation beyond repute. Second best rank possible! (+100000) Archangel_Lost has a reputation beyond repute. Second best rank possible! (+100000) Archangel_Lost has a reputation beyond repute. Second best rank possible! (+100000) Archangel_Lost has a reputation beyond repute. Second best rank possible! (+100000) Archangel_Lost has a reputation beyond repute. Second best rank possible! (+100000) Archangel_Lost has a reputation beyond repute. Second best rank possible! (+100000) Archangel_Lost has a reputation beyond repute. Second best rank possible! (+100000) Archangel_Lost has a reputation beyond repute. Second best rank possible! (+100000) Archangel_Lost has a reputation beyond repute. Second best rank possible! (+100000) Archangel_Lost has a reputation beyond repute. Second best rank possible! (+100000)
    Archangel_Lost is offline
    Lol shoulda just cracked a few books and gotten certifications yourself
    Lifts:
    Squat: 460x1
    Bench: 400x1
    Deadlift: 575x1
    OHP: 250x2
    Weight: 180 lbs.

    Don't have heroes; look up to no one. Because as long as someone's leading the way, the best you'll ever be is second.
    Reply With Quote

  10. #70
    Wow Strong Arms YouMadOrMirin's Avatar
    Join Date: Mar 2013
    Location: Florida, United States
    Age: 34
    Posts: 6,522
    Rep Power: 76136
    YouMadOrMirin has a brilliant future. Third best rank! (+40000) YouMadOrMirin has a brilliant future. Third best rank! (+40000) YouMadOrMirin has a brilliant future. Third best rank! (+40000) YouMadOrMirin has a brilliant future. Third best rank! (+40000) YouMadOrMirin has a brilliant future. Third best rank! (+40000) YouMadOrMirin has a brilliant future. Third best rank! (+40000) YouMadOrMirin has a brilliant future. Third best rank! (+40000) YouMadOrMirin has a brilliant future. Third best rank! (+40000) YouMadOrMirin has a brilliant future. Third best rank! (+40000) YouMadOrMirin has a brilliant future. Third best rank! (+40000) YouMadOrMirin has a brilliant future. Third best rank! (+40000)
    YouMadOrMirin is offline
    Originally Posted by Archangel_Lost View Post
    Lol shoulda just cracked a few books and gotten certifications yourself
    Lol that's what I've been doing. The majority of the people I know who are developers dont have a cs degree.
    “Uh, Later Dudes. S you in your A’s, don’t wear a C, and J all over your B’s.”

    -Local business owner and cat enthusiast
    Always pick 2 crew
    Reply With Quote

  11. #71
    Registered User Brad155's Avatar
    Join Date: Sep 2009
    Age: 32
    Posts: 11,179
    Rep Power: 5686
    Brad155 is a name known to all. (+5000) Brad155 is a name known to all. (+5000) Brad155 is a name known to all. (+5000) Brad155 is a name known to all. (+5000) Brad155 is a name known to all. (+5000) Brad155 is a name known to all. (+5000) Brad155 is a name known to all. (+5000) Brad155 is a name known to all. (+5000) Brad155 is a name known to all. (+5000) Brad155 is a name known to all. (+5000) Brad155 is a name known to all. (+5000)
    Brad155 is offline
    Originally Posted by jaybc View Post
    You sure about that dude. See below.



    This is wrong srs. Ignoring the fact that you are calling functions for which you didn't supply code for and could have expressed in one line with a modulus comparison, the way you've coded this, the third else if statement (FizzBuzz / OP is a ******* and likes cawks), can never be reached.
    It also prints out 0 to 99 not 1 to 100...

    I can assure you OP, you are not alone. I work in R&D as an EE and we have been searching for a software engineer for over a year. We have interviewed countless applicants, none are even remotely qualified. Even mid-career folks. I truly do not understand.
    Reply With Quote

  12. #72
    Registered User Brad155's Avatar
    Join Date: Sep 2009
    Age: 32
    Posts: 11,179
    Rep Power: 5686
    Brad155 is a name known to all. (+5000) Brad155 is a name known to all. (+5000) Brad155 is a name known to all. (+5000) Brad155 is a name known to all. (+5000) Brad155 is a name known to all. (+5000) Brad155 is a name known to all. (+5000) Brad155 is a name known to all. (+5000) Brad155 is a name known to all. (+5000) Brad155 is a name known to all. (+5000) Brad155 is a name known to all. (+5000) Brad155 is a name known to all. (+5000)
    Brad155 is offline
    Originally Posted by KTTY View Post
    Code:
    private void printNumbers() {
    		for(int i = 1; i <= 100; i++) {
    			if((i%3 == 0) && (i%5 == 0)) {
    				System.out.println("FizzBuzz");
    			} else {
    				if(i%3 == 0) {
    					System.out.println("Fizz");
    				}
    				else if(i%5 == 0) {
    					System.out.println("Buzz");
    				}
    				else {
    					System.out.println(i);
    				}
    			}
    		}
    	}
    fizzbuzz took me like 2 mins srs
    Works. Let's get pythonic though...

    Code:
    for i in range(1, 101):
        result = ["", "Fizz"][i%3 == 0]
        if i%5 == 0:
            result+="Buzz"
        if len(result) == 0:
            result = int(i)
        print(result)
    edit one-liner:
    Code:
    for i in range(1,101): print "FizzBuzz"[(i*i%3)*4:8 - ((-i ** 4) % 5)] or i
    Last edited by Brad155; 11-20-2015 at 10:46 PM.
    Reply With Quote

  13. #73
    Registered sick kunt Jherewhoisdere's Avatar
    Join Date: Oct 2011
    Posts: 2,557
    Rep Power: 8369
    Jherewhoisdere is a name known to all. (+5000) Jherewhoisdere is a name known to all. (+5000) Jherewhoisdere is a name known to all. (+5000) Jherewhoisdere is a name known to all. (+5000) Jherewhoisdere is a name known to all. (+5000) Jherewhoisdere is a name known to all. (+5000) Jherewhoisdere is a name known to all. (+5000) Jherewhoisdere is a name known to all. (+5000) Jherewhoisdere is a name known to all. (+5000) Jherewhoisdere is a name known to all. (+5000) Jherewhoisdere is a name known to all. (+5000)
    Jherewhoisdere is offline
    Brahs, I recently started my studies and we haven't went that deep into programming yet, but I am having some trouble with some python exercises and so on. HTML, CSS basics I already know and learn them quite easily, we also have had classes about using cmd and I am doing decent there too.

    Will I make it? Are there "easier" jobs that I could manage in the future if I am not so strong when it comes to programming?
    u mirin'?
    Reply With Quote

  14. #74
    Registered User Mwizzle's Avatar
    Join Date: Apr 2013
    Location: Texas, United States
    Posts: 7,811
    Rep Power: 9901
    Mwizzle is a name known to all. (+5000) Mwizzle is a name known to all. (+5000) Mwizzle is a name known to all. (+5000) Mwizzle is a name known to all. (+5000) Mwizzle is a name known to all. (+5000) Mwizzle is a name known to all. (+5000) Mwizzle is a name known to all. (+5000) Mwizzle is a name known to all. (+5000) Mwizzle is a name known to all. (+5000) Mwizzle is a name known to all. (+5000) Mwizzle is a name known to all. (+5000)
    Mwizzle is offline
    matlab crew
    Reply With Quote

  15. #75
    Banned jaybc's Avatar
    Join Date: Nov 2010
    Posts: 2,006
    Rep Power: 0
    jaybc is a name known to all. (+5000) jaybc is a name known to all. (+5000) jaybc is a name known to all. (+5000) jaybc is a name known to all. (+5000) jaybc is a name known to all. (+5000) jaybc is a name known to all. (+5000) jaybc is a name known to all. (+5000) jaybc is a name known to all. (+5000) jaybc is a name known to all. (+5000) jaybc is a name known to all. (+5000) jaybc is a name known to all. (+5000)
    jaybc is offline
    Originally Posted by Jherewhoisdere View Post
    Brahs, I recently started my studies and we haven't went that deep into programming yet, but I am having some trouble with some python exercises and so on. HTML, CSS basics I already know and learn them quite easily, we also have had classes about using cmd and I am doing decent there too.

    Will I make it? Are there "easier" jobs that I could manage in the future if I am not so strong when it comes to programming?
    I graduated in CS, and my job involves zero programming. There are a lot of jobs in the tech field that require no/minimal coding. Most upper level CS courses require zero programming. We're all gonna make it bro!
    Reply With Quote

  16. #76
    Registered User PKneyr's Avatar
    Join Date: Jun 2012
    Posts: 9,200
    Rep Power: 6782
    PKneyr is a name known to all. (+5000) PKneyr is a name known to all. (+5000) PKneyr is a name known to all. (+5000) PKneyr is a name known to all. (+5000) PKneyr is a name known to all. (+5000) PKneyr is a name known to all. (+5000) PKneyr is a name known to all. (+5000) PKneyr is a name known to all. (+5000) PKneyr is a name known to all. (+5000) PKneyr is a name known to all. (+5000) PKneyr is a name known to all. (+5000)
    PKneyr is offline
    Wish I had enrolled in CS crew.

    How does one self-learn, where to start?
    Reply With Quote

  17. #77
    Wow Strong Arms YouMadOrMirin's Avatar
    Join Date: Mar 2013
    Location: Florida, United States
    Age: 34
    Posts: 6,522
    Rep Power: 76136
    YouMadOrMirin has a brilliant future. Third best rank! (+40000) YouMadOrMirin has a brilliant future. Third best rank! (+40000) YouMadOrMirin has a brilliant future. Third best rank! (+40000) YouMadOrMirin has a brilliant future. Third best rank! (+40000) YouMadOrMirin has a brilliant future. Third best rank! (+40000) YouMadOrMirin has a brilliant future. Third best rank! (+40000) YouMadOrMirin has a brilliant future. Third best rank! (+40000) YouMadOrMirin has a brilliant future. Third best rank! (+40000) YouMadOrMirin has a brilliant future. Third best rank! (+40000) YouMadOrMirin has a brilliant future. Third best rank! (+40000) YouMadOrMirin has a brilliant future. Third best rank! (+40000)
    YouMadOrMirin is offline
    Originally Posted by PKneyr View Post
    Wish I had enrolled in CS crew.

    How does one self-learn, where to start?
    CodeAcademy.com is decent for beginning and you can download books online. After that code academy pro is nice and treehouse is really good.
    “Uh, Later Dudes. S you in your A’s, don’t wear a C, and J all over your B’s.”

    -Local business owner and cat enthusiast
    Always pick 2 crew
    Reply With Quote

  18. #78
    Registered User rynnp's Avatar
    Join Date: Aug 2012
    Posts: 5,027
    Rep Power: 4270
    rynnp is a glorious beacon of knowledge. (+2500) rynnp is a glorious beacon of knowledge. (+2500) rynnp is a glorious beacon of knowledge. (+2500) rynnp is a glorious beacon of knowledge. (+2500) rynnp is a glorious beacon of knowledge. (+2500) rynnp is a glorious beacon of knowledge. (+2500) rynnp is a glorious beacon of knowledge. (+2500) rynnp is a glorious beacon of knowledge. (+2500) rynnp is a glorious beacon of knowledge. (+2500) rynnp is a glorious beacon of knowledge. (+2500) rynnp is a glorious beacon of knowledge. (+2500)
    rynnp is offline
    u dont need a cs degree to learn how to program/code
    but u need to know how codes work or programs work (thus knowing how to make your own) to get a cs degree

    what school did/do you go to OP? theres no way u get a cs degree from my school without knowing how to code, even a minor. even the first core class of CS.... literally 40-60% drop out of that class lmao. u NEED to know how to code
    Ex-Distance Runner | Ex-Sprinter | Current Bodybuilder/weight lifter
    5 Min mile 25 sec 200m 315 S/275DL/190B (5 RM for all)
    **INTJ/INFJ somewhere inbetween crew**

    **dyel mode unless have pump and flexing crew. aka natty crew.**
    Reply With Quote

  19. #79
    MISC CliffHanger sharepass11's Avatar
    Join Date: Jan 2012
    Posts: 6,268
    Rep Power: 16558
    sharepass11 is a splendid one to behold. (+10000) sharepass11 is a splendid one to behold. (+10000) sharepass11 is a splendid one to behold. (+10000) sharepass11 is a splendid one to behold. (+10000) sharepass11 is a splendid one to behold. (+10000) sharepass11 is a splendid one to behold. (+10000) sharepass11 is a splendid one to behold. (+10000) sharepass11 is a splendid one to behold. (+10000) sharepass11 is a splendid one to behold. (+10000) sharepass11 is a splendid one to behold. (+10000) sharepass11 is a splendid one to behold. (+10000)
    sharepass11 is offline
    Had a friend who graduated in CS from an A list college, and during his 3 years , he only created like 3 programs during the cmpsI and CMPSII and the rest was all plagiarizing, paying money to indians to finish his projects


    I had no idea how he graduated
    Crepuscular
    Reply With Quote

  20. #80
    Registered User juvefan's Avatar
    Join Date: Sep 2014
    Posts: 10,526
    Rep Power: 18771
    juvefan is a splendid one to behold. (+10000) juvefan is a splendid one to behold. (+10000) juvefan is a splendid one to behold. (+10000) juvefan is a splendid one to behold. (+10000) juvefan is a splendid one to behold. (+10000) juvefan is a splendid one to behold. (+10000) juvefan is a splendid one to behold. (+10000) juvefan is a splendid one to behold. (+10000) juvefan is a splendid one to behold. (+10000) juvefan is a splendid one to behold. (+10000) juvefan is a splendid one to behold. (+10000)
    juvefan is offline
    Strong roll bread

    Only bachelors in CS OP is getting is a bachelors in Cok Sucking
    $0 or $1 million crypto crew
    Ex-OMG crew
    Reply With Quote

  21. #81
    Registered Duck LtDuckweed's Avatar
    Join Date: May 2013
    Location: Alabama, United States
    Age: 29
    Posts: 842
    Rep Power: 490
    LtDuckweed has a spectacular aura about. (+250) LtDuckweed has a spectacular aura about. (+250) LtDuckweed has a spectacular aura about. (+250) LtDuckweed has a spectacular aura about. (+250) LtDuckweed has a spectacular aura about. (+250) LtDuckweed has a spectacular aura about. (+250) LtDuckweed has a spectacular aura about. (+250) LtDuckweed has a spectacular aura about. (+250) LtDuckweed has a spectacular aura about. (+250) LtDuckweed has a spectacular aura about. (+250) LtDuckweed has a spectacular aura about. (+250)
    LtDuckweed is offline
    I'm a physics major and I'm taking a intro programming class for the lols. Took me around 3 min to type this up and test this in python.

    FizzBuzz

    i = 0
    for i in range(0,101):
    __if i % 5 == 0:
    ___if i % 3 == 0:
    ____print("FizzBuzz")
    ___else:
    ____print("Fizz")
    _elif i % 3 == 0:
    __print("Buzz")
    _else:
    __print(i)
    Reply With Quote

  22. #82
    MISC CliffHanger sharepass11's Avatar
    Join Date: Jan 2012
    Posts: 6,268
    Rep Power: 16558
    sharepass11 is a splendid one to behold. (+10000) sharepass11 is a splendid one to behold. (+10000) sharepass11 is a splendid one to behold. (+10000) sharepass11 is a splendid one to behold. (+10000) sharepass11 is a splendid one to behold. (+10000) sharepass11 is a splendid one to behold. (+10000) sharepass11 is a splendid one to behold. (+10000) sharepass11 is a splendid one to behold. (+10000) sharepass11 is a splendid one to behold. (+10000) sharepass11 is a splendid one to behold. (+10000) sharepass11 is a splendid one to behold. (+10000)
    sharepass11 is offline
    Originally Posted by LtDuckweed View Post
    I'm a physics major and I'm taking a intro programming class for the lols. Took me around 3 min to type this up and test this in python.

    FizzBuzz

    i = 0
    for i in range(0,101):
    __if i % 5 == 0:
    ___if i % 3 == 0:
    ____print("FizzBuzz")
    ___else:
    ____print("Fizz")
    _elif i % 3 == 0:
    __print("Buzz")
    _else:
    __print(i)


    you do realize this is nothing , right, print fizzbuzz or fizz if modulo is 3 or 5


    worked with assembly 32 bits for like 2 years or so , had to write 100 lines just to say hye world
    Crepuscular
    Reply With Quote

  23. #83
    Registered Duck LtDuckweed's Avatar
    Join Date: May 2013
    Location: Alabama, United States
    Age: 29
    Posts: 842
    Rep Power: 490
    LtDuckweed has a spectacular aura about. (+250) LtDuckweed has a spectacular aura about. (+250) LtDuckweed has a spectacular aura about. (+250) LtDuckweed has a spectacular aura about. (+250) LtDuckweed has a spectacular aura about. (+250) LtDuckweed has a spectacular aura about. (+250) LtDuckweed has a spectacular aura about. (+250) LtDuckweed has a spectacular aura about. (+250) LtDuckweed has a spectacular aura about. (+250) LtDuckweed has a spectacular aura about. (+250) LtDuckweed has a spectacular aura about. (+250)
    LtDuckweed is offline
    Originally Posted by sharepass11 View Post
    you do realize this is nothing , right, print fizzbuzz or fizz if modulo is 3 or 5


    worked with assembly 32 bits for like 2 years or so , had to write 100 lines just to say hye world
    Oh I get that it is nothing, I am very aware that I don't know all that much about programming, the point I'm making is that the fizzbuzz problem is stupidly easy.
    Reply With Quote

  24. #84
    Registered Developer lockdev's Avatar
    Join Date: Nov 2012
    Posts: 10,095
    Rep Power: 134905
    lockdev has a reputation beyond repute. Second best rank possible! (+100000) lockdev has a reputation beyond repute. Second best rank possible! (+100000) lockdev has a reputation beyond repute. Second best rank possible! (+100000) lockdev has a reputation beyond repute. Second best rank possible! (+100000) lockdev has a reputation beyond repute. Second best rank possible! (+100000) lockdev has a reputation beyond repute. Second best rank possible! (+100000) lockdev has a reputation beyond repute. Second best rank possible! (+100000) lockdev has a reputation beyond repute. Second best rank possible! (+100000) lockdev has a reputation beyond repute. Second best rank possible! (+100000) lockdev has a reputation beyond repute. Second best rank possible! (+100000) lockdev has a reputation beyond repute. Second best rank possible! (+100000)
    lockdev is offline
    Originally Posted by Brad155 View Post
    Works. Let's get pythonic though...

    Code:
    for i in range(1, 101):
        result = ["", "Fizz"][i%3 == 0]
        if i%5 == 0:
            result+="Buzz"
        if len(result) == 0:
            result = int(i)
        print(result)
    edit one-liner:
    Code:
    for i in range(1,101): print "FizzBuzz"[(i*i%3)*4:8 - ((-i ** 4) % 5)] or i
    Last edited by lockdev; 11-21-2015 at 12:24 AM.
    Reply With Quote

  25. #85
    MISC CliffHanger sharepass11's Avatar
    Join Date: Jan 2012
    Posts: 6,268
    Rep Power: 16558
    sharepass11 is a splendid one to behold. (+10000) sharepass11 is a splendid one to behold. (+10000) sharepass11 is a splendid one to behold. (+10000) sharepass11 is a splendid one to behold. (+10000) sharepass11 is a splendid one to behold. (+10000) sharepass11 is a splendid one to behold. (+10000) sharepass11 is a splendid one to behold. (+10000) sharepass11 is a splendid one to behold. (+10000) sharepass11 is a splendid one to behold. (+10000) sharepass11 is a splendid one to behold. (+10000) sharepass11 is a splendid one to behold. (+10000)
    sharepass11 is offline
    Originally Posted by LtDuckweed View Post
    Oh I get that it is nothing, I am very aware that I don't know all that much about programming, the point I'm making is that the fizzbuzz problem is stupidly easy.
    yep, if you want to work on a cool program, try developing a software that searches the web for key words every X minutes.



    Say you want all links related to Python programming to be sent to you , etc.. its an easy program and very helpfully. set refresh rate every 3 hours or so
    Crepuscular
    Reply With Quote

  26. #86
    C₈H₁₀N₄O₂ playsintrafficc's Avatar
    Join Date: Mar 2014
    Posts: 5,790
    Rep Power: 26705
    playsintrafficc has much to be proud of. One of the best! (+20000) playsintrafficc has much to be proud of. One of the best! (+20000) playsintrafficc has much to be proud of. One of the best! (+20000) playsintrafficc has much to be proud of. One of the best! (+20000) playsintrafficc has much to be proud of. One of the best! (+20000) playsintrafficc has much to be proud of. One of the best! (+20000) playsintrafficc has much to be proud of. One of the best! (+20000) playsintrafficc has much to be proud of. One of the best! (+20000) playsintrafficc has much to be proud of. One of the best! (+20000) playsintrafficc has much to be proud of. One of the best! (+20000) playsintrafficc has much to be proud of. One of the best! (+20000)
    playsintrafficc is offline
    lol that this thread is still live. op threw himself off a bridge.

    will rep anyone that can help rewrite a CSV. prints to a jumbled mess.

    Code:
    import com.opencsv.*;
    import java.util.*;
    import java.io.FileReader;
    import java.io.FileWriter;
    
    public class CSVModifier {
    	public static void main(String[] args) throws Exception {
    		CSVReader reader = new CSVReader(new FileReader("file.csv"), ',', '"', '|', 1, false, false);
    		
    		List<String[]> data = new ArrayList<String[]>();
    		data = reader.readAll();
    		reader.close();
    		
    		for (int i = 0; i < data.size(); i++) {
    			String[] stt = data.get(i);
    			String st = stt[1];
    			st = st.replaceAll("[ ]{2,}", " ");
    			st = st.replaceAll("\n", "");
    			st = st.replaceAll("Brand:", "\",\"Brand:");
    			st = st.replaceAll("ASIN:", "\",\"ASIN:");
    			st = st.replaceAll("Seller:", "\",\"Seller:");
    			stt[1] = st;
    			data.set(i, stt);
    			//System.out.println(st);
    		}
    		
    		//CSVWriter writer = new CSVWriter(new FileWriter("fileMod.csv"));
    		FileWriter writer = new FileWriter("fileMod.csv");
    		for (String[] temp : data) {
    			for (int i = 0; i < temp.length; i++) {
    				String temps = temp[i];
    				writer.write(temps);
    			}
    		}
    		writer.close();
    	}
    
    }
    I lift therefore I am.
    Reply With Quote

  27. #87
    Registered Developer lockdev's Avatar
    Join Date: Nov 2012
    Posts: 10,095
    Rep Power: 134905
    lockdev has a reputation beyond repute. Second best rank possible! (+100000) lockdev has a reputation beyond repute. Second best rank possible! (+100000) lockdev has a reputation beyond repute. Second best rank possible! (+100000) lockdev has a reputation beyond repute. Second best rank possible! (+100000) lockdev has a reputation beyond repute. Second best rank possible! (+100000) lockdev has a reputation beyond repute. Second best rank possible! (+100000) lockdev has a reputation beyond repute. Second best rank possible! (+100000) lockdev has a reputation beyond repute. Second best rank possible! (+100000) lockdev has a reputation beyond repute. Second best rank possible! (+100000) lockdev has a reputation beyond repute. Second best rank possible! (+100000) lockdev has a reputation beyond repute. Second best rank possible! (+100000)
    lockdev is offline
    The Fizz Buzz test really needs to be restated.

    I would ask given a number 1 to n, not 1 to 100.

    Some cheeky chit could come along and just do:

    Code:
    int main()
    {
         char * U = "wot";
         int m = 8;
         printf("12Fizz4BuzzFizz7%dFizzBuzz...etc", m);
         return m - 8;
    }
    And guess what? He would have written something faster, dat dere O(1) time.
    Reply With Quote

  28. #88
    Registered Chad DJGirth's Avatar
    Join Date: Jul 2015
    Posts: 7,712
    Rep Power: 35246
    DJGirth has much to be proud of. One of the best! (+20000) DJGirth has much to be proud of. One of the best! (+20000) DJGirth has much to be proud of. One of the best! (+20000) DJGirth has much to be proud of. One of the best! (+20000) DJGirth has much to be proud of. One of the best! (+20000) DJGirth has much to be proud of. One of the best! (+20000) DJGirth has much to be proud of. One of the best! (+20000) DJGirth has much to be proud of. One of the best! (+20000) DJGirth has much to be proud of. One of the best! (+20000) DJGirth has much to be proud of. One of the best! (+20000) DJGirth has much to be proud of. One of the best! (+20000)
    DJGirth is offline
    Originally Posted by playsintrafficc View Post
    for (int i = 0; i < 100; i++) {
    if (divThree(i))
    System.out.println("OP is a *******");
    else if (divFive(i))
    System.out.println("OP likes cawks");
    else if (divThree(i) && divFive(i))
    System.out.println("OP is a ******* and likes cawks");
    else System.out.println(i);
    }

    how'd I do?
    1/10,

    the check for both conditions needs to be first before the individual cases.

    plus no function declared for divthree and divfive

    and you started i at 0 instead of 1

    and you made the bound up to 99, not 100

    so really you just failed
    LOL at KENKONG crew
    ROFLMAO at bobbydigitalmanlet crew
    L M F A O at Aristotelian's Age:40 virgin status
    6'5 master race crew
    kenkong is my favourite mod crew <----- JUST LOL
    Reply With Quote

  29. #89
    Banned jaybc's Avatar
    Join Date: Nov 2010
    Posts: 2,006
    Rep Power: 0
    jaybc is a name known to all. (+5000) jaybc is a name known to all. (+5000) jaybc is a name known to all. (+5000) jaybc is a name known to all. (+5000) jaybc is a name known to all. (+5000) jaybc is a name known to all. (+5000) jaybc is a name known to all. (+5000) jaybc is a name known to all. (+5000) jaybc is a name known to all. (+5000) jaybc is a name known to all. (+5000) jaybc is a name known to all. (+5000)
    jaybc is offline
    Originally Posted by lockdev View Post
    The Fizz Buzz test really needs to be restated.

    I would ask given a number 1 to n, not 1 to 100.

    Some cheeky chit could come along and just do:

    Code:
    int main()
    {
         char * U = "wot";
         int m = 8;
         printf("12Fizz4BuzzFizz7%dFizzBuzz...etc", m);
         return m - 8;
    }
    And guess what? He would have written something faster, dat dere O(1) time.
    That isn't "faster" than the 100 iteration for loop. They're both constant time and are technically both O(1) time complexity.
    Reply With Quote

  30. #90
    Registered User Brad155's Avatar
    Join Date: Sep 2009
    Age: 32
    Posts: 11,179
    Rep Power: 5686
    Brad155 is a name known to all. (+5000) Brad155 is a name known to all. (+5000) Brad155 is a name known to all. (+5000) Brad155 is a name known to all. (+5000) Brad155 is a name known to all. (+5000) Brad155 is a name known to all. (+5000) Brad155 is a name known to all. (+5000) Brad155 is a name known to all. (+5000) Brad155 is a name known to all. (+5000) Brad155 is a name known to all. (+5000) Brad155 is a name known to all. (+5000)
    Brad155 is offline
    Originally Posted by lockdev View Post
    The Fizz Buzz test really needs to be restated.

    I would ask given a number 1 to n, not 1 to 100.

    Some cheeky chit could come along and just do:

    Code:
    int main()
    {
         char * U = "wot";
         int m = 8;
         printf("12Fizz4BuzzFizz7%dFizzBuzz...etc", m);
         return m - 8;
    }
    And guess what? He would have written something faster, dat dere O(1) time.
    Updating previous entry then

    Code:
    fizzbuzz = lambda n: ["FizzBuzz"[(i*i%3)*4:8 - ((-i ** 4) % 5)] or i for i in range(1, n+1)]
    Fills a list with n results with fizzbuzz(n). Print them to terminal with
    Code:
    print '\n\r'.join([str(c) for c in fizzbuzz(100)]) #100 is arbitrary
    Reply With Quote

Similar Threads

  1. Replies: 107
    Last Post: 07-19-2009, 02:53 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts