jon.kiparsky's Profile User Rating: ****-

Reputation: 7564 Deity
Group:
Moderators
Active Posts:
12,730 (10.41 per day)
Joined:
19-March 11
Profile Views:
100,389
Last Active:
User is online 11 minutes ago
Currently:
Viewing Topic: Is the US president afraid of IS...

Previous Fields

Country:
US
OS Preference:
Mac
Favorite Browser:
FireFox
Favorite Processor:
Who Cares
Favorite Gaming Platform:
Who Cares
Your Car:
Who Cares
Dream Kudos:
0
Expert In:
Java, python, smartassery

Latest Visitors

Icon   jon.kiparsky all through the rising sun all through the circling years

Posts I've Made

  1. In Topic: Is the US president afraid of ISIS terror group?

    Posted 24 Jul 2014

    View Postmacosxnerd101, on 24 July 2014 - 11:31 PM, said:

    And women's rights are unimportant why? Boy have you brought the wrath of B9 down upon yourself. Hell hath no fury like a raging feminazi.


    B9's not the only feminazi around here, but this guy would have to start saying something coherent before I'd get any rage together. I mean really - "I don't agree with what Putin does but it works and if we were in charge we would still be in favor of feminism"? Der... whut? "Obama should save the innocent people of Iraq by nuking... um... Iraq." Oh, really.

    I think this guy's not the sharpest knife in the drawer, and his drawer is fill of butter knives.
  2. In Topic: Input in else if ladder?

    Posted 24 Jul 2014

    if(ch == 1)
    


    The problem is with the way chars are represented in Java. Put simply, there is a difference between 1 and '1'. The former is a number, it is the first positive integer, the successor to zero. The latter is the character representing that number in the Arabic number system that we use.

    Put less simply, in Java, a char is actually an integral quantity. It has a value which is an integer, and it is only when it comes to display that that integer takes on a visual representation, which is not the same as its integer value. The integer value is the value in a symbol table - specifically, the Unicode alphabet, although we can treat the ASCII subset as though it were ASCII. The char whose value is 1 actually represents some nonprinting character whose name and function I don't remember now because I don't care. I care little more about the value of '1' but I do happen to know it - it's the hexadecimal number x31 (=3 * 16 +1, or 49).

    As a short answer: to fix your problem, change the literal numbers to quoted numbers and you should be in good shape.
  3. In Topic: Issue with string out of bounds caused in while loop

    Posted 24 Jul 2014

    just guessing here, but indexOf returns -1 if no match is found, and the line you're citing is outside of your guard clause for that. That could be an issue. Also, you have a sum there, so it could be you're going out of range at the right side of the String. Put in a println statement before that line and print out the relevant values. The last one that prints out before the error will show you what your error is.
  4. In Topic: What Are You Working On Today?

    Posted 23 Jul 2014

    View PostBenignDesign, on 23 July 2014 - 08:19 AM, said:

    It would be so much easier if I could just sacrifice small animals or children.



    You're not thinking....

    no.

    No, not TinyIntern!!!!!!
  5. In Topic: create a function which tells if a number is prime

    Posted 22 Jul 2014

    This loop can never get past 2, because it always returns some value on the first item it sees, which is 2. So this is more of an is_even than an is_prime

    @f0ssil: There are a few other issues about this function that should be addressed, as well
    I have a blog post about finding primes that you might find useful.

My Information

Member Title:
Pancakes!
Age:
Age Unknown
Birthday:
Birthday Unknown
Gender:
Location:
Boston, MA
Interests:
Translation (Portuguese, German, Spanish), accordion (Hohner Black Dot B/C), flute (Casey Burns, Skip Healy 3-piece), homebrew (beers and meads)
Full Name:
Jon Kiparsky
Programming Languages:
Java, python, scala, perl, c, various lispen, bits and pieces of this and that

Contact Information

E-mail:
Private

Comments

  • (6 Pages)
  • +
  • 1
  • 2
  • 3
  • Last »
  1. Photo

    jedii Icon

    20 May 2014 - 02:32
    hey i wondering if you help me with my python project really need help am willing to pay
  2. Photo

    PythonPanda Icon

    23 Apr 2014 - 10:50
    Great help!
  3. Photo

    helpheimer Icon

    18 Apr 2014 - 00:12
    prevented my noob brain from melting multiple times :)
  4. Photo

    Preacher2012 Icon

    30 Mar 2014 - 16:32
    you give great help, mind help me with my cipher lab?
  5. Photo

    yashwanth.c.b Icon

    02 Mar 2014 - 00:20
    wow....jon thank you...i am happy thar i've got reps from you.... :)
  6. Photo

    BenignDesign Icon

    23 Dec 2013 - 22:32
    Rawr. I love it when you talk nerdy.
  7. Photo

    BenignDesign Icon

    23 Dec 2013 - 08:54
    And what's wrong with library cred? A well read man is a sexy man.
  8. Photo

    BenignDesign Icon

    18 Dec 2013 - 13:35
    Gotta maintain that computer geek street cred.
  9. Photo

    BenignDesign Icon

    18 Dec 2013 - 13:11
    Your theme song is both hysterical and sad. I doubt the truth in it, but I get the point.
  10. Photo

    modi123_1 Icon

    26 Nov 2013 - 07:35
    http://motherfuckingwebsite.com/ -> a new project of yours?
  11. Photo

    modi123_1 Icon

    13 Nov 2013 - 12:03
    Heh - waves are fun. http://imgur.com/gallery/5SupAbL
  12. Photo

    BenignDesign Icon

    27 Aug 2013 - 12:01
    Naked ladies always dig the accordion player.
  13. Photo

    BenignDesign Icon

    27 Aug 2013 - 11:30
    The fact that you do weird shit like learning to play the accordion on a whim is why I freaking love you. <3
  14. Photo

    BenignDesign Icon

    24 Jun 2013 - 12:29
    My immediate assumption was you... however, without being 100% certain as I was unable to find it again in my skimming, I did not want to give incorrect attribution to such a fine piecing together of the English language.
  15. Photo

    BenignDesign Icon

    05 Jun 2013 - 10:19
    Haha! Anytime! I'm curious to see those bad ass running shorts.
  • (6 Pages)
  • +
  • 1
  • 2
  • 3
  • Last »