cfoley's Profile User Rating: -----

Reputation: 2153 Grandmaster
Group:
Mentors
Active Posts:
4,511 (1.67 per day)
Joined:
11-December 07
Profile Views:
64,479
Last Active:
User is offline Yesterday, 07:48 PM
Currently:
Offline

Previous Fields

Country:
GB
OS Preference:
Who Cares
Favorite Browser:
Who Cares
Favorite Processor:
Who Cares
Favorite Gaming Platform:
Who Cares
Your Car:
Who Cares
Dream Kudos:
225
Expert In:
Java

Latest Visitors

Icon   cfoley has not set their status

Posts I've Made

  1. In Topic: Java Asteroids Game

    Posted 3 May 2015

    What are you using to edit your code? Please don't use a word processor. It might not be impossible to get it to work but it is one of the worst choices. You need to use a text editor. There will be one bundled with Macos X, although I don't know what it is called. The errors you see could easily be caused by extra crap you word processor has put in the files.

    Make sure they are saved with a .java extension too.

    Quote

    whenever I write one page of code, the compiler always has several errors saying that something cannot be resolved to a type.


    I don't like when people just link to an article they wrote in answer to a question, but I did write one that addresses this. The link is below but the gist is to avoid getting to the point that you have loads of code with loads of errors. You can do that by working in tiny cycles of coding and testing. Here is the article, if you are interested in reading:
    http://cfoley.co.uk/errors.html

    In Java when it says "cannot be resolved to a type" it means exactly that. Some common causes are you have spelled something wrong (like iny for int or string for String). Sometimes it means that you forgot to import a class or forgot to write the class. It may be that you did write the class but it has its own errors which might cause a knock on effect. Other times it just means there is an error further up in the file which means the compiler cannot make sense of what's lower down.
  2. In Topic: My second site is proving to be easier

    Posted 30 Apr 2015

    Quote

    Granted, this is only a small project, I assume larger projects inevitably attract a larger proportion of errors, but for me this was good news.


    Sort of. Do a little at a time. Check it. Rinse, repeat. That way things won't stay broken for long.
  3. In Topic: codeacademy vs learn the hard way vs Online degree

    Posted 30 Apr 2015

    Instead of making excuses, turn their doubts into strengths. I would sell your degrees as following your interests. Tell them about particular periods of history that intrigue you while highlighting the language and writing skills you developed during your study. They could be useful with technical writing tasks you have to do as part of your work.

    Explain to them how a developer with some business sense could be valuable on any team.

    Then knock them dead with your technical programming skills. Show these skills off to them with a portfolio that you have designed and written yourself and be keen to talk about the challenges you faced and how you overcame them.

    You have a greater breadth of education than most programmers. That's your strength. You might be slightly behind in terms of programming skills but show how eager you are to learn and how you have progressed so far.
  4. In Topic: Need to implement hash of hashes as method parameter

    Posted 28 Apr 2015

    I think you mean a hash table, not a hash function. It sounds like you are looking for Java's HashMap.

    I don't really follow your java code. I don't see why you would need so many method parameters or null checks but since you want to do the same thing to each web element, I would put them in a list and loop over them.
  5. In Topic: Destroy drawn graphic

    Posted 28 Apr 2015

    Draw a big rectangle over it, filled with the background colour or texture.

My Information

Member Title:
Cabbage
Age:
33 years old
Birthday:
April 7, 1982
Gender:
Location:
Glasgow
Forum Leader:
Java
Years Programming:
20

Contact Information

E-mail:
Click here to e-mail me
Website URL:
Website URL  http://

Comments

Page 1 of 1
  1. Photo

    burakaltr Icon

    06 Mar 2013 - 18:18
    Thanks for Your Precious Input. I Found the character counting thing very bedazzling. I have the code to it that I wrote Myself, but it took me Long to find a subtle Algorithm :)
  2. Photo

    cfoley Icon

    18 Oct 2011 - 03:29
    Cheers! The next one is in progress, but I'm having to learn and write some programs first. It's going to take a little time...
  3. Photo

    Dogstopper Icon

    18 Oct 2011 - 03:24
    Nice blog. Can't wait to see more
  4. Photo

    ayaz 786123 Icon

    25 Feb 2011 - 06:49
    have a nice day sir
  5. Photo

    cfoley Icon

    16 Feb 2011 - 17:26
    Oooh thanks! Your comment is the first I heard!
  6. Photo

    m-e-g-a-z Icon

    16 Feb 2011 - 15:34
    Congrats on becoming a Forum Leader! :)
  7. Photo

    Dogstopper Icon

    08 Jan 2011 - 23:49
    "Cabbage" is much better! :D
  8. Photo

    cfoley Icon

    06 Jan 2011 - 16:19
    Cheers dude!
  9. Photo

    Dogstopper Icon

    06 Jan 2011 - 14:36
    "Purple DIC-headed Warrior" doesn't quite apply now that you got the promotion. Well done!
  10. Photo

    DaneAU Icon

    08 Sep 2010 - 09:19
    "cfoley has no profile comments yet. Why not say hello?"
    I don't have many comments either, so i am only doing what the thingy below said to do, hello cfoley and thanks for the thanks :)
Page 1 of 1