supercorey's Profile User Rating: ***--

Reputation: 119 Stalwart
Group:
Contributors
Active Posts:
186 (0.12 per day)
Joined:
15-February 09
Profile Views:
36,244
Last Active:
User is offline Yesterday, 03:42 PM
Currently:
Offline

Previous Fields

Country:
US
OS Preference:
Linux
Favorite Browser:
Chrome
Favorite Processor:
Intel
Favorite Gaming Platform:
PC
Your Car:
Who Cares
Dream Kudos:
175

Latest Visitors

Icon   supercorey :(){ :|:& };:

Posts I've Made

  1. In Topic: What does an int default at?

    Posted 9 Apr 2013

    pbl really has the best solution here.

    But to answer the original question of what an int defaults to, the answer is really nothing. When you initialize a variable like you did without assigning it a value at any point and try to use it as an argument or as part of an expression, etc. then the program won't even compile. Also, you can't compare int primitives to null since int isn't actually an object to be in a null-state, it's just a data primitive.
  2. In Topic: ISP's watching what you download?

    Posted 6 Apr 2013

    Well, it would. But spyware like that doesn't simply exist from ISPs (that we know of, at least.)

    You wouldn't just get a copyright notice from ripping it - for that matter, if you did, I suggest you get a good lawyer, but I have a feeling that's not the entire story here. If your ISP sent you a notice about it, that means at some point you received or sent that movie over the internet and either the MPAA or other publishing company noticed you were seeding the torrent and contacted your ISP about it. The point of an ISP is that they deal in your Internet access. Anything you just do on your computer without network activity shouldn't ever be noticed by them. Heck, even if they did notice it, they likely wouldn't care. See Lemur's post.

    I don't really want to flat out call tpaskell a liar... but his current story seems really unlikely.
  3. In Topic: Threads? Are they as bad as they seem?

    Posted 27 Feb 2012

    There are actually ways to use Swing in a thread-safe way, but they aren't immediately obvious. If you'd like to read more on the topic, there is an article here.

    Cheers!
  4. In Topic: java noob, need help with lab

    Posted 27 Feb 2012

    Sir, I just ran your code and it works perfectly fine for values greater than 75cents. Just because the first while statement isn't true doesn't mean that the subsequent statements won't execute.
  5. In Topic: Threads? Are they as bad as they seem?

    Posted 27 Feb 2012

    Okay, threads may seem rather complicated at first along with everything concurrent, but they really are quite useful and powerful tools. The official Oracle Concurrency Tutorials do a very good job of presenting this concept.

    Secondly, if you are using Swing for your game, which would seem most likely, you wouldn't be able to use threads well. Swing isn't thread-safe which means that using threads can cause unexpected behavior. For now you can easily stick with a timer which should serve the purpose perfectly well.

    Good luck and cheers!

My Information

Member Title:
D.I.C Head
Age:
Age Unknown
Birthday:
Birthday Unknown
Gender:
Location:
The Matrix
Years Programming:
7

Contact Information

E-mail:
Private

Comments

Page 1 of 1
  1. Photo

    AthenaDX Icon

    12 Nov 2012 - 09:22
    Your frog hypnotised me into coming on your profile. @_@
  2. Photo

    creativecoding Icon

    06 Mar 2012 - 10:19
    Where'd you go, Supercorey?
  3. Photo

    no2pencil Icon

    04 Mar 2012 - 21:22
    I set his profile to my home page.
  4. Photo

    DimitriV Icon

    14 Nov 2011 - 17:32
    It's probably that he keeps viewing his own profile. I do that heaps.
  5. Photo

    creative code monkey Icon

    07 Oct 2011 - 05:27
    how DID you get so many views?
  6. Photo

    hulla Icon

    26 Sep 2011 - 09:30
    Cool avatar.
  7. Photo

    EnvXOwner Icon

    22 Jul 2011 - 19:50
    Thanks for the help on Lithium today man.
  8. Photo

    EnvXOwner Icon

    11 Jul 2011 - 11:00
    wow, nice frog thing avatar.
Page 1 of 1