Search found 14 matches

by robb
Thu Jul 09, 2009 5:09 am UTC
Forum: Coding
Topic: Geek Flirt
Replies: 29
Views: 3585

Re: Geek Flirt

I did write it manually by hand. I didn't even know about that competition. I wish I did though. That thread would've been helpful.
by robb
Thu Jul 09, 2009 2:16 am UTC
Forum: Coding
Topic: Geek Flirt
Replies: 29
Views: 3585

Re: Geek Flirt

this is (or is supposed to be) an ASCII art rose. Here's a BF program that will output a nicer ASCII art rose. >>>>>>>>>>>>>++++[<++++++++<++++++++<++++++++<++++++++<++++++++<++++++++<+++++++ +<++++++++<++++++++<++++++++<++++++++<++++++++<++++++++>>>>>>>>>>>>>-]+++++++[<+ <+<+<+<+<+<+<+<+<+<+<+>>>>...
by robb
Wed Jul 08, 2009 10:31 pm UTC
Forum: Coding
Topic: Geek Flirt
Replies: 29
Views: 3585

Re: Geek Flirt

schnaader, what is your first piece of code supposed to output? I get "--'--,--@", which doesn't make sense to me.
by robb
Fri Jun 27, 2008 2:15 am UTC
Forum: Coding
Topic: Using Google to find TLAs
Replies: 4
Views: 1407

Re: Using Google to find TLAs

by robb
Fri Jun 27, 2008 2:06 am UTC
Forum: Coding
Topic: Number of circular primes (problem 35 from Project Euler)
Replies: 16
Views: 5904

Re: Number of circular primes (problem 35 from Project Euler)

Styhn, You're getting an infinite loop because your i variable is global. Set the i variable as a local variable in each of your modules to eliminate the infinite looping. After you do this you'll still have a slow algorithm, but at least it will finish. The easiest way that I can think of to speed ...
by robb
Fri Jun 20, 2008 6:04 pm UTC
Forum: Coding
Topic: Swing is a butt about drawing lines and shapes.
Replies: 6
Views: 1820

Re: Swing is a butt about drawing lines and shapes.

I would like to help you, but I don't want my code to just be copy & pasted into your assignment. So, I wrote a java application that demonstrates the depth-first search process, and in order to avoid copy & paste, I wrote the whole thing in LOLJAVA. Here it is. public class MAH_GUI extends ...
by robb
Sun Apr 20, 2008 10:33 pm UTC
Forum: Coding
Topic: PHP Math Programming
Replies: 6
Views: 1410

Re: PHP Math Programming

I copy & pasted the code you posted and I got accurate results. Your problem is probably occurring in some other part of your code. If you post more code it will be easier to identify your problem.
by robb
Sun Apr 20, 2008 1:54 am UTC
Forum: Coding
Topic: A program to demonstrate evolution - and an error
Replies: 10
Views: 1625

Re: A program to demonstrate evolution - and an error

You're problem is occurring in darwin::ass_fitness(). You need to change the line that says

Code: Select all

fitness[j]=count;

into

Code: Select all

fitness[i]=count;

and then it should work fine.
by robb
Wed Sep 26, 2007 9:52 am UTC
Forum: Coding
Topic: Writing a memory game
Replies: 20
Views: 3610

mrkite wrote:98% of people have Flash 8 installed.
A mere 56% of people have Java installed.


[Citation Needed]
by robb
Mon Sep 24, 2007 7:22 am UTC
Forum: Coding
Topic: Small java problem
Replies: 8
Views: 2015

The warning is there because you're casting the Object returned by list.get(i) to team and player on lines 31 and 36. If the Object returned by list.get(i) isn't of the type you're casting to, it will throw a ClassCastException. Modify your code to use generics, then it will compile with no warnings...
by robb
Sun Aug 26, 2007 2:01 am UTC
Forum: Forum Games
Topic: Corrupt-a-wish
Replies: 26095
Views: 2558535

Ansain wrote:I wish pi was exactly equal to 3 without any rounding.


Granted, but now circles are no longer round.

I wish I had a pet polar bear.
by robb
Sun Aug 26, 2007 1:02 am UTC
Forum: Computer Science
Topic: Computer Science in High School
Replies: 78
Views: 12783

The High School I went to didn't offer any compsci classes. The closest thing they had was a Web Design class that taught very basic html.

My senior year, I bought a book and taught myself the AP Computer Science curriculum. I had to take the test at a different school, and I got a 5 on it.
by robb
Sun Aug 26, 2007 12:55 am UTC
Forum: Coding
Topic: xkcdownloader
Replies: 3
Views: 1747

My anti-virus software says it's a trojan.
by robb
Sun Aug 26, 2007 12:54 am UTC
Forum: General
Topic: Who the dickens are you?
Replies: 10922
Views: 2420342

Hi. I'm Robb.

I've been reading xkcd and lurking in the forums for a few months now, and I've finally decided to get an account on the forum.

Go to advanced search