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

Reputation: 7578 Deity
Active Posts:
12,795 (10.39 per day)
19-March 11
Profile Views:
Last Active:
User is online 24 minutes ago
Viewing Topic: Java - DeckOfCards program that ...

Previous Fields

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

Latest Visitors

Icon   jon.kiparsky lowlands timberlands badlands birdlands

Posts I've Made

  1. In Topic: String indexes

    Posted 1 Aug 2014

    View Postdovah, on 01 August 2014 - 05:57 PM, said:

    I'm trying to put all this in a code,

    "A code"? Read this. Thank you.
    (sorry, pet peeve)

    I would suggest you start by writing a function that performs your subtask: given a set of indices and a string, return the set of indices that point to an 'A'. You can do this with a list comprehension, but I would write it as a function in order to communicate your intent more clearly. (ie, put a name on it)

    Once you have that function, it shouldn't be hard to apply it and get the result you want.
  2. In Topic: Myth of the Genius Coder/Programmer

    Posted 1 Aug 2014

    Watched a few minutes of the first one. Life's too short to listen to people who talk that slow and to such little effect talking about things I'm already familiar with and trying unsuccessfully to be funny about it.

    Honestly, if you want people to discuss some topic, it might be better to get something that's a little more focused - say, some idea or question that you can pose in a single paragraph, or maybe three at the most.
  3. In Topic: Emacs giving me trouble

    Posted 31 Jul 2014

    Before I go into this, I should say that many people consider your request to be a breaking of good functionality. You might want to try to get used to the way emacs handles indents - for most languages, emacs is very good at getting the indent right. However, since you're wotking in PHP, I can see how this would be a problem. PHP and emacs are a sort of legendary problem... oddly enough, the people who are really good at customizing emcas never seem to have a yen to work in PHP. Have to ponder that a little.

    Anyway. I'm not really an emacs guru, so this is a bit of guesswork and poking around. Keep a backup copy of your init file just in case.

    I see some functions in your init that I don't recognize and aren't part of my EMACS installation. It might be that setting electric-indent-mode to nil, or setting one of the other indent settings to a non-nil value might do the trick.

    If those fail, then fall back to existing functions. What you want is to bind the tab key to the tab-to-tab-stop command. This will indent to the next tab stop each time the tab key is pressed, which I think is what you're looking for. (it's ordinarily bound to M-i, so you can try it out)

    If you add

    (global-set-key (kbd "TAB") 'tab-to-tab-stop)

    to your init file, probably after those tab functions that I don't recognize, good things might happen. If that fails, report back what happened, and include the version info on your emacs install, plus anything interesting that you've done to tweak your install, and we'll see if we can figure it out.
  4. In Topic: Suggest me which language I should choose to learn as I am new

    Posted 31 Jul 2014

    modi's right - there are many languages because there are many programmers and many sorts of programs.

    Python and java are popular choices for beginners, and they're both reasonable places to start, but there are countless others.
  5. In Topic: Java Dicing System With Currency

    Posted 31 Jul 2014

    View PostDraynor, on 31 July 2014 - 06:07 PM, said:

    Okay So basically I have the application but I need to implement a ticket system. I have the basics of the application like the login and saving of the accounts and of course the chat system, but I just don't know where to start with the ticket system. Any help would be nice like some guide lines.

    Well, it sounds like you need help working out a design. For a complex system, doing the design first is a really good idea. Fortunately, there are some people who can probably help you do this - but they're going to help you. You're going to do the heavy lifting, they're just going to kibitz from the side.

    Start by determining the requirements. What is it supposed to do? Who are the human actors in this system and how do they interact with it? What are they trying to do, and how do they go about doing it? If you can describe the interactions you want to implement, this will make it easier to actually implement them.


    I wish I was allowed to post my skype and email so the feed back would be faster though.

    This is a programming forum. The idea is to facilitate public discussion. Diverting that discussion into private channels defeats that purpose.

My Information

Member Title:
Age Unknown
Birthday Unknown
Boston, MA
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



  • (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 -> a new project of yours?
  11. Photo

    modi123_1 Icon

    13 Nov 2013 - 12:03
    Heh - waves are fun.
  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 »