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

Reputation: 10766 Legendary
Group:
Admins
Active Posts:
44,158 (20.5 per day)
Joined:
27-December 08
Profile Views:
556,385
Last Active:
User is offline Yesterday, 11:23 PM
Currently:
Offline

Previous Fields

Country:
Who Cares
OS Preference:
Linux
Favorite Browser:
FireFox
Favorite Processor:
Who Cares
Favorite Gaming Platform:
Who Cares
Your Car:
Honda
Dream Kudos:
4450
Expert In:
Java, PHP, Data Structures, Economics

Latest Visitors

Icon   macosxnerd101 Please do not PM me with programming help requests.

Posts I've Made

  1. In Topic: Hey Joe, will you find this useful ?

    Posted 20 Nov 2014

    This looks like code to cheat in a competition. I've removed it and am closing this thread.
  2. In Topic: What are you working on today?

    Posted 20 Nov 2014

    Congrats Neo! That's awesome about the job. You deserve it- and it's about time they made it happen. :)
  3. In Topic: Class for generic arrays?

    Posted 20 Nov 2014

    The way the ArrayList class handles this is by using an Object[] and just casting on input or output.

    An example:
    class Test<E>{
       
        private Object[] array;
        private int size;
    
        public void add(E elem){
           array[size++] = elem;
        }
    
        public E get(int index){
           return (E)array[index];
        }
    
    }
    
    
  4. In Topic: Errors when compiling

    Posted 19 Nov 2014

    Quote

    test5.java:6: error: class, interface, or enum expected
    public test5 {
    ^

    This should be public class test5.

    Quote

    for (int i = 0 || i < grille.length || i++){

    This is illegal for loop syntax. You should be using semi-colons, not || operators.

    Quote

    I'm new to java!

    I would suggest two things. First, properly indent your code. No offense, but it is very difficult to read. Thus, it is difficult to debug. Make it easy on yourself (and others) to read.

    Second, make sure to go back and review your basic syntax. Start with your Hello, World program and see how that class definition is set up. Then go back and look at your syntax for using loops and defining methods.
  5. In Topic: Why this code doesn't work?

    Posted 19 Nov 2014

    Please don't duplicate post.

My Information

Member Title:
Self-Trained Economist
Age:
21 years old
Birthday:
January 5, 1993
Gender:
Years Programming:
7
Programming Languages:
Expert: Java SE, PHP
Experienced: SQL, HTML/CSS (syntax yes, quality design no), XML, Android
Learning: Java ME, Erlang, Python

Contact Information

E-mail:
Private
Website URL:
Website URL  http://

Comments

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

    depricated Icon

    03 Nov 2014 - 07:24
    I've had Summer Nights stuck in my head all morning and I blame you.
  2. Photo

    macosxnerd101 Icon

    09 Jul 2014 - 14:54
    The next time I'm in New York, I'm totally going!
  3. Photo

    modi123_1 Icon

    09 Jul 2014 - 11:58
    Make sure to plan a weekend trip: http://momath.org/
  4. Photo

    da1 Icon

    17 Jun 2014 - 12:11
    Thanks for the help last night.
  5. Photo

    macosxnerd101 Icon

    02 Jun 2014 - 23:27
    That's a neat find! Definitely worth knowing about. Thanks for sharing!
  6. Photo

    jon.kiparsky Icon

    02 Jun 2014 - 23:24
    came across this title, thought you might find it worth knowing about: http://www.librarything.com/work/360374
  7. Photo

    pbl Icon

    22 May 2014 - 13:26
    Ya really busy making the books in www.pblinc.ca/majestic
  8. Photo

    macosxnerd101 Icon

    14 May 2014 - 10:31
    We looked at polyhedra and vertex configurations in graph theory towards the end. Neat stuff! Thanks for sharing!
  9. Photo

    modi123_1 Icon

    14 May 2014 - 09:35
    Fun visualizations of hyperbolic shapes.
    "Hexagonal Hyperbolic Honeycombs"
    https://johncarlosbaez.wordpress.com/2014/05/14/hexagonal-hyperbolic-honeycombs/
  10. Photo

    modi123_1 Icon

    24 Mar 2014 - 13:20
    NP hard problem? Graph theory? Colored balls?! what's not to love?
    http://jacquerie.github.io/hh/
  11. Photo

    macosxnerd101 Icon

    12 Feb 2014 - 12:21
    Thanks, everyone!
  12. Photo

    Martyr2 Icon

    11 Feb 2014 - 11:53
    Congrats on the legendary status. Well deserved.
  13. Photo

    Dogstopper Icon

    10 Feb 2014 - 11:21
    Wow. 10k reputation! That's pretty amazing
  14. Photo

    belgarion262 Icon

    10 Feb 2014 - 09:49
    10,000 Rep, congrats :p
  15. Photo

    andrewsw Icon

    10 Feb 2014 - 02:48
    Wow, 10k?! Legend, wait for it, -ary!
  • (21 Pages)
  • +
  • 1
  • 2
  • 3
  • Last »