User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
DaniWeb is a massive community of 370,578 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 1,988 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Showing results 1 to 40 of 72
Search took 0.01 seconds.
Posts Made By: Cudmore
Forum: *nix Hardware Configuration Aug 14th, 2007
Replies: 5
Views: 2,154
Posted By Cudmore
Re: Very Hot Webcam

:-/

It works in Ekiga... poorly.
But not in Kopete, or Camorama.
Perhaps it's a configuration issue, and it would otherwise work fine. By unsupported I vaguely meant that Logitech hasn't developed...
Forum: *nix Hardware Configuration Aug 13th, 2007
Replies: 5
Views: 2,154
Posted By Cudmore
Re: Very Hot Webcam

The cam is Logitech QuickCam for Dell Notebooks
The mic is QuickCam for Dell Notebooks mic
I've had it running on Ubuntu in Ekiga. V4L and V4L2 are installed, etc.
The heating might even be the mic,...
Forum: *nix Hardware Configuration Aug 12th, 2007
Replies: 5
Views: 2,154
Posted By Cudmore
Question Very Hot Webcam

Heyo

My laptop has a webcam and a mic built-in on top.

The laptop is XPS M1210
The distro is Kubuntu 2.6.20-16-generic

The problem I've had, ever since I bought the laptop and installed beloved...
Forum: Java Apr 10th, 2007
Replies: 1
Views: 540
Posted By Cudmore
Question JRE vs Class Instances in RAM

Hey! There has been a question on my mind for a while regarding the JRE and the class loader (or, loading classes into RAM if it's different).

Java classes define variable members, methods, and...
Forum: Java Mar 28th, 2007
Replies: 3
Views: 1,110
Posted By Cudmore
Re: uppercase and lowercase HELP!

Have you researched this?
Perhaps, and especially for questions such as yours, you should check Google or some other appropriate search engine for results.

You seem to know the words "Java" and...
Forum: Java Feb 18th, 2007
Replies: 8
Views: 971
Posted By Cudmore
Help Re: Java to C++

One reason for the "no" is that Java uses Java-specific resources.. Take the hundreds of importable classes, for example. Take swing, awt, net, etc, etc, and realize that all of these packages were...
Forum: Java Feb 17th, 2007
Replies: 2
Views: 768
Posted By Cudmore
Re: help needed badly

You have to analyze the input one character at a time...

Say we have a string: myString

Set up a for loop with a lower limit of 0 and an upper limit of myString.length()-1 inclusive

Read each...
Forum: Java Feb 16th, 2007
Replies: 7
Views: 1,006
Posted By Cudmore
Re: Security for jar

Good thoughts. I've always been a strong supporter of the "open source" concept, even though (as you've made it clear) the source need not be distributed for another programmer to find out how the...
Forum: Java Feb 16th, 2007
Replies: 7
Views: 1,006
Posted By Cudmore
Re: Security for jar

Yea, like someone in serious need of "homework help".

Jars are just another archive-type file.. The purpose is to hold a number of files under a common name, "myfile.jar", to keep organized and to...
Forum: Java Feb 13th, 2007
Replies: 4
Views: 896
Posted By Cudmore
Help Re: more syntax questions

Hmmm. I can't be super helpful before I fall asleep tonight, but..

First thing is working with Generics (http://java.sun.com/docs/books/tutorial/java/generics/index.html)

Regular expressions? I'm...
Forum: Java Feb 12th, 2007
Replies: 3
Views: 1,353
Posted By Cudmore
Re: Applet Calculator

*squints at code*

.....

Haha, silly me. I missed this at first glance.

1) instead of *.addActionPerformed(this); use *.addActionListener(this);

2) e.getSource() returns an Object, and switch...
Forum: Java Feb 8th, 2007
Replies: 3
Views: 603
Posted By Cudmore
Re: hai everbody, its ecery urgent

Unplug the keyboard.
Or write the impossible virus.

Not sure what you want to know...
Locking, aka, disabling input?
Input to the entire system?
I dunno if Java can do that.

Maybe if there's a...
Forum: Java Feb 8th, 2007
Replies: 4
Views: 1,561
Posted By Cudmore
Re: Collision Detection - Micro Java

Does (ballX, ballY) represent the center of the ball, or the top-left edge of the bounding square?

For one, this if statement looks somewhat "iffy":
if (ballY < 0 || ballY > (getHeight()-25) &&...
Forum: Java Feb 8th, 2007
Replies: 4
Views: 606
Posted By Cudmore
Re: Problem using serializable coding

import java.io.*;
import java.util.*;
import Employee;



The problem is with import Employee; --- you can't import classes from the same package without at least giving the package...
Forum: Java Feb 7th, 2007
Replies: 3
Views: 712
Posted By Cudmore
Re: urgent jdbc code

Is there any way we can filter threads like this from being posted? Or, can they be removed? I'm not sure, but I think DaniWeb could go without such dribble as do-my-homework demands.
Forum: Java Feb 7th, 2007
Replies: 4
Views: 990
Posted By Cudmore
Help Re: my program is compiled.but on run that i have message "Exception in thread "main"

Oh my.

For one, I think this is how you meant to represent your code:

class Rev {
char a[];
char i=3;

void str() {
for(i='A';i<'D';i++) {
Forum: Java Feb 5th, 2007
Replies: 1
Views: 1,347
Posted By Cudmore
Solution Alright!

Alright!

I love answering my own questions. I hope that someone can learn something from this!

I conducted two tests. The first test locks the entire myArray array. The seconds locks a specific,...
Forum: Java Feb 5th, 2007
Replies: 1
Views: 1,347
Posted By Cudmore
Question Synchronized Multidimensional Array

My question today is regarding multidimensional arrays, and synchronization.. I'm working on a client/server project and I'm not sure about the theory of an idea I came up with:

I have an...
Forum: Java Feb 2nd, 2007
Replies: 3
Views: 853
Posted By Cudmore
Re: Super-power compare method? <?>

:o I noticed that little capital after posting.. Just didn't change it. Please excuse any naive stylistic choices, as I'm not yet completely accustomed to "convention".

And I did stumble upon the...
Forum: Java Feb 2nd, 2007
Replies: 3
Views: 853
Posted By Cudmore
Question Super-power compare method? <?>

Hi! I'm looking to learn something today, and I have just the question.

In writing a recent program, I found no Java method suited to compare two byte arrays. Maybe the method exists, or maybe not....
Forum: Web Developers' Lounge Jan 12th, 2007
Replies: 2
Views: 1,255
Posted By Cudmore
Question What to do with ideas?

Hi.
I'm not sure where this belongs, but it'll be fine here.

I came up with an idea for a website/service..
It's a really good idea.
I've searched, and searched..
I've found nothing like my idea in...
Forum: Java Dec 28th, 2006
Replies: 16
Views: 63,536
Posted By Cudmore
Solution Re: switch statement on String in Java

Only way I know how to emulate a switch on strings, and this has already been mentioned without example code, is like the following:

void StringSwitch (String str) {
if (str == null) { /* If the...
Forum: Java Dec 28th, 2006
Replies: 3
Views: 1,130
Posted By Cudmore
Question Logical operations and data-checks

So I've run into this situation a million times in my "learning career" and I've always found a long way around the issue so as not to risk throwing unnecessary exceptions..

Let's look at a simple...
Forum: Window and Desktop Managers Dec 5th, 2006
Replies: 4
Views: 9,403
Posted By Cudmore
Question Ubuntu Runlevel 3 Problems

Hi.

I've had this problem with all my ubuntu installations (two, to date), and I can't find my way around it..

Even when I switch to runevel 3, by booting with special options or typing telinit 3.....
Forum: Software Developers' Lounge Dec 3rd, 2006
Replies: 2
Views: 1,137
Posted By Cudmore
Question Function Style: writeLog(...)

Hey!
This is a "style" question.

Is there some defined custom for the order in which parameters are given to a function, or does it depend entirely on the programmer's stylistic preference? What if...
Forum: Java Dec 3rd, 2006
Replies: 9
Views: 2,740
Posted By Cudmore
Re: Bitwise: Convert Primitives

BECAUSE, that's not fun.
I "play" with Java to learn.
I know there's an easy way around everything, and if this were my job, I'd probably take the easy way. I, however, like to learn, and I like to...
Forum: Java Nov 24th, 2006
Replies: 9
Views: 2,740
Posted By Cudmore
Re: Bitwise: Convert Primitives

Long post, I know, but I just discovered:
Likewise, for the chararray-to-int method:
(it doesn't work properly any other way. Try 2147483647 as the value.)

public static int ToInt (byte[] data)...
Forum: Java Nov 24th, 2006
Replies: 9
Views: 2,740
Posted By Cudmore
Question Bitwise: Convert Primitives

SO, I'm playing around with an idea. I'm trying to convert primitives to and from a char array for file logging. I've got all the details worked out, but I don't understand something.. Take the...
Forum: Java Oct 23rd, 2006
Replies: 3
Views: 3,246
Posted By Cudmore
Solution Re: jdk1.5.0_09 and enums

Ahh! Thank you very much!
I reliased today when I found the "This project is not JDK 1.5 compliant" error that my workspace wasn't configured for 1.5, so I checked workspace settings and, sure...
Forum: Java Oct 20th, 2006
Replies: 3
Views: 3,246
Posted By Cudmore
Question jdk1.5.0_09 and enums

I installed Ubuntu Linux this morning and got java jdk 1.5.0_09 installed, along with Eclipse, and then I imported a project I've been working on into the Eclipse workbench.
All configuration is...
Forum: *nix Software Oct 9th, 2006
Replies: 1
Views: 737
Posted By Cudmore
Question Random sound failure at startup?

I found this odd...

Sometimes, and only sometimes, when I turn of on my laptop and log in, my sound system fails to function. No tune is played at startup, xine can't initialize sound drivers, etc....
Forum: Storage Oct 7th, 2006
Replies: 1
Views: 742
Posted By Cudmore
Question HD is noisy while working with NTFS?

Hey! So, I have a laptop installed with both Windows and Linux.
Linux comes first, logically, so its partitions fill up the first 90 Gigs of my HD.
Windows comes at the Very end, filling the...
Forum: Java Oct 6th, 2006
Replies: 2
Views: 1,996
Posted By Cudmore
Help Re: help with recursive method

I hardly understand what you're doing or why, but here's the recursive solution.. Recursion is unnecessary and stack-dangerous, by the way. (StackOverflowErrors are ugly). Using a StringTokenizer is...
Forum: Java Oct 6th, 2006
Replies: 1
Views: 763
Posted By Cudmore
Solution Re: Escaping

I think the proper way to escape Quotes is

"Here is some \"Text inside Quotes\"" :rolleyes:

And no. It's not platform-independent.. That would be the File Separator, which is "\" in Windows and...
Forum: Java Oct 6th, 2006
Replies: 4
Views: 1,590
Posted By Cudmore
Help Re: algorithm problem with recursion

I think I may know what you're talking about, as I faced the apparent issue myself just last week. It was quite something. If I've misunderstood and all the following information is unrelated, then I...
Forum: Java Oct 5th, 2006
Replies: 0
Views: 889
Posted By Cudmore
Question DatagramSocket auto-close?

Hi! Here's my scenario:

I have an application that utilized the DatagramSocket class. I also have a favorite Port number that I would like it to connect to Every time I load the application. One...
Forum: *nix Software Oct 1st, 2006
Replies: 2
Views: 1,060
Posted By Cudmore
Question Gaim - Unexplained Crashing

So I've been having a problem with Gaim, the chat client, on both of my systems. Actually, I've reinstalled linux on them both atleast once, and each additional time I install Gaim, I get the same...
Forum: Troubleshooting Dead Machines Sep 23rd, 2006
Replies: 2
Views: 1,026
Posted By Cudmore
Question Cold Laptop = Dead HD??

Hey.
My question is, can laptops have startup problems if they're cold? If the answer is No, or They Shouldn't, then I will call the depot and interrogate them as to Why my computer fails to start in...
Forum: *nix Hardware Configuration Sep 16th, 2006
Replies: 4
Views: 6,531
Posted By Cudmore
Solution AHA! A solution is found!

AHA! A solution is found!
I set up ndiswrapper to handle my wireless card using my Windows drivers..

I updated the kernel first:
2.6.16.21-0.13-smp --> 2.6.16.21-0.21-smp
And that added...
Forum: *nix Hardware Configuration Sep 15th, 2006
Replies: 4
Views: 6,531
Posted By Cudmore
Re: openSUSE WiFi: Dell Wireless 1500 Card

Check here for more detailed information on my problem:
http://www.linuxquestions.org/questions/showthread.php?p=2424423#post2424423
Showing results 1 to 40 of 72

 
All times are GMT -4. The time now is 5:19 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC