Go Back   CodingForums.com > Search Forums

Before you post, read our: Rules & Posting Guidelines

Showing results 1 to 25 of 500
Search took 2.06 seconds.
Search: Posts Made By: TheShaner
Forum: Geek News and Humour 06-03-2011, 09:13 PM
Replies: 5
Views: 1,897
Posted By TheShaner
Yes, they had. They're not going to be supporting...

Yes, they had. They're not going to be supporting IE7 soon now.

My statement, "I refuse to support IE6!", was in reference to the many cries from the web developers here who have always wanted to...
Forum: Geek News and Humour 06-03-2011, 08:49 PM
Replies: 5
Views: 1,897
Posted By TheShaner
Google Apps Browser Support

I thought it was very interesting to see Google announce that its Google Apps will only support modern browsers...
Forum: PHP 06-03-2011, 06:24 PM
Replies: 5
Views: 780
Posted By TheShaner
Thanks to you too, Matt, but nothing would have...

Thanks to you too, Matt, but nothing would have solved my problem since I didn't post the code that was actually screwing it up, haha. Once I renamed my variables inside the loop, it worked just fine...
Forum: PHP 06-03-2011, 06:20 PM
Replies: 5
Views: 780
Posted By TheShaner
I'm sorry to have wasted your time, Fou-Lu :( ...

I'm sorry to have wasted your time, Fou-Lu :(

Although my test examples I showed were basically what I had reduced my code to during my testing, I didn't modify what was inside my loop.

And...
Forum: PHP 06-03-2011, 04:44 PM
Replies: 5
Views: 780
Posted By TheShaner
Problematic PG Result Resource

Hey all, I have a very strange problem that I have never seen before. I'll try to be as clear as possible. The best way to do this is to show examples of my test code and comments showing the results...
Forum: Java and JSP 09-22-2010, 10:18 PM
Replies: 3
Views: 4,323
Posted By TheShaner
It's because in this line: private Car[]...

It's because in this line:
private Car[] database = new Car[3];
You are creating a new array of Car, but when you do this:
for (int i=0; i<database.length; i++) {
database[i].formatCar();
}...
Forum: PHP 09-22-2010, 06:18 PM
Replies: 2
Views: 501
Posted By TheShaner
Pretty simple - insert one last batch after the...

Pretty simple - insert one last batch after the FOR loop :)

Everything within your IF statement just needs to be implemented after the FOR loop also.

-Shane
Forum: Java and JSP 09-03-2010, 06:05 PM
Replies: 3
Views: 1,450
Posted By TheShaner
Wow, we answered at exactly the same time, haha. ...

Wow, we answered at exactly the same time, haha.

Anyway, I don't think receiving a null is his problem. My guess is that application is null, thus a call to the method getAttribute returns a...
Forum: Java and JSP 09-02-2010, 09:52 PM
Replies: 3
Views: 1,450
Posted By TheShaner
First, you initialized your variable, file1,...

First, you initialized your variable, file1, outside of the try block, so it's definitely initialized.

Second, the above is a moot point because in a try block, all successful code is executed...
Forum: Career, job, and business ideas or advice 08-10-2010, 04:37 PM
Replies: 2
Views: 1,777
Posted By TheShaner
Looking For Web Work Again

Hey all,

I'm looking to get my feet back in the water with doing some backend web development again as a side job. My primary job pays well and I love it, but with extra expenses coming up next...
Forum: Java and JSP 07-23-2010, 08:09 PM
Replies: 4
Views: 1,275
Posted By TheShaner
You didn't reload your page; probably still...

You didn't reload your page; probably still cached.

-Shane
Forum: Java and JSP 07-19-2010, 09:30 PM
Replies: 5
Views: 1,488
Posted By TheShaner
Right, which is exactly what we both explained. ...

Right, which is exactly what we both explained.

However, what the OP needed to be informed of is that character arrays are Objects in Java; whereas in C, they are primitive types. If they were...
Forum: Java and JSP 07-19-2010, 02:07 PM
Replies: 5
Views: 1,488
Posted By TheShaner
Beagle is right in a way. In Java, arrays are...

Beagle is right in a way. In Java, arrays are Objects, unlike in C. However, because they are Objects, the variable becomes a "reference" to the Object (points to the memory location of the Object,...
Forum: Java and JSP 06-30-2010, 03:46 PM
Replies: 8
Views: 1,785
Posted By TheShaner
Another fun exercise in understanding components...

Another fun exercise in understanding components versus other objects, such as Collections and Lists:
public class Test
{
public static void main(String args[])
{
...
Forum: Java and JSP 06-30-2010, 03:09 PM
Replies: 8
Views: 1,785
Posted By TheShaner
Well, what you are doing essentially is...

Well, what you are doing essentially is attempting to add the same instance of a JMenuItem to a component, which won't work since it sees that the JMenuItem instance already exists within it. A...
Forum: PHP 06-28-2010, 06:03 PM
Replies: 2
Views: 435
Posted By TheShaner
Get familiar with databases. You would just store...

Get familiar with databases. You would just store all their customizations in a database with, say, their unique member ID as the primary key. When someone clicks on their profile, you do a lookup...
Forum: Java and JSP 06-16-2010, 01:29 PM
Replies: 11
Views: 2,791
Posted By TheShaner
Then uninstall your JDK and stop programming...

Then uninstall your JDK and stop programming because it's not for you

-Shane
Forum: Geek News and Humour 06-01-2010, 10:34 PM
Replies: 9
Views: 2,021
Posted By TheShaner
I would say, for the most part, yes. Sure,...

I would say, for the most part, yes. Sure, different OSes employ different security measures and some are more successful at being a little more difficult to write malicious applications against.
...
Forum: PHP 06-01-2010, 04:34 PM
Replies: 4
Views: 589
Posted By TheShaner
Let's use an example so you see the logical error...

Let's use an example so you see the logical error here :)

Two questions with their answers:
0#0#0#0
0#0#0#1
You loop through your questions and with the first question, no answer exists! Ok,...
Forum: Java and JSP 06-01-2010, 04:09 PM
Replies: 1
Views: 992
Posted By TheShaner
You do a print to console before the error, so...

You do a print to console before the error, so what values do you get for lastX and lastY? Remember, lastX must be values 0 - 11 and lastY must be values 0 - 7. If they're not in that range, then...
Forum: Java and JSP 06-01-2010, 03:49 PM
Replies: 3
Views: 2,045
Posted By TheShaner
Well, it all depends on what you're attempting to...

Well, it all depends on what you're attempting to do. The way you have it set up, you have a timer that calls it's Action Listener's actionPerformed method every 20ms. In that actionPerformed method,...
Forum: PHP 05-28-2010, 09:40 PM
Replies: 3
Views: 518
Posted By TheShaner
You can always use a variable that stores the...

You can always use a variable that stores the last meal type used. Then you just check to see if the meal type from the DB is the same as the last meal type variable. If it isn't, print the header;...
Forum: Computer Programming 05-28-2010, 09:11 PM
Replies: 6
Views: 1,860
Posted By TheShaner
This isn't exactly a PHP question. This is basic...

This isn't exactly a PHP question. This is basic number theory.

Anyway, do you know how regular numbers work? You have your 1s place, 10s, place, 100s place, etc. Well, all the other forms are the...
Forum: PHP 05-28-2010, 06:00 PM
Replies: 4
Views: 589
Posted By TheShaner
First, you don't even have to check the question...

First, you don't even have to check the question type since when you explode the answer key, you'll either get an array with a size of 5 or 9.

So you can just do:
$point_array = explode("#",...
Forum: Geek News and Humour 05-26-2010, 01:50 PM
Replies: 20
Views: 2,686
Posted By TheShaner
You finally said it correct - "trying to value a...

You finally said it correct - "trying to value a company". It's an estimate, not an actual. But let me quote you yet again so you know what I was disagreeing with...

And again, it's not. If you...
Showing results 1 to 25 of 500

 
Forum Jump

All times are GMT +1. The time now is 09:48 PM.