Posts
 
Reputation
Joined
Last Seen
Ranked #13
Strength to Increase Rep
+17
Strength to Decrease Rep
-4
95% Quality Score
Upvotes Received
1K
Posts with Upvotes
872
Upvoting Members
377
Downvotes Received
47
Posts with Downvotes
39
Downvoting Members
35
429 Commented Posts
~2.30M People Reached
About Me

A simple man with simple needs.

Interests
Daydreaming, contemplating, sulking, anime and programming; in that order.
Favorite Tags
Member Avatar for DavidKroukamp

Few points: [LIST=1] [*]close() calls should always go in the "finally" blocks [*]Never use System.exit() to duck out in case of failure. If your code is used in a large/big setting, exitting the JVM in case something fails isn't pleasant. Boolean returns are your friend. [*]Always check the return status …

Member Avatar for Bdill7
5
23K
Member Avatar for samaru
Member Avatar for The Dude

[quote=jd_1604;285142]District cricket is a good excuse to have a drink[/quote] Drink all the booze you want to.

Member Avatar for Dani
3
11K
Member Avatar for moderate_rock48
Member Avatar for Duki
Member Avatar for narayanabhilash
Member Avatar for Aliyan_1
0
1K
Member Avatar for mattyd
Member Avatar for Cort3z

> b = (one)a; `b` and `a` are of reference type ArrayList but you are trying to cast them to type `one` and hence the error. BTW, instead of posting large code snippets it would be better if you explained "what" you wanted to do and a small code snippet …

Member Avatar for JamesCherrill
1
7K
Member Avatar for GeekByChoiCe

Have a look at [URL="http://www.daniweb.com/community-center/daniweb-community-feedback/threads/300989"]this topic[/URL] which talks about something similar. AFAICT, ignore list is the closest you can get when it comes to "blacklist".

Member Avatar for Dani
0
505
Member Avatar for samaru

FLCL Naruto Samurai Champloo Innocent Venus Black Lagoon Death Note Ouran High School Host club Air Gear D Gray Man Black Blood brothers and many more.... :D

Member Avatar for thompsonmax
1
3K
Member Avatar for webinvest

Considering you have no programming expericence, any advice we give you would go for waste as you would have having no clue as to how to realize the idea. Learn a programming language of your choice. Maybe then you would be in a position to actually achieve something.

Member Avatar for Getahun_2
1
22K
Member Avatar for Mike1986

Instead of directly pointing out the answer, I would like to help you understand the technique for tackling these sort of issues (which are very common when programming anything). So basically you have a problem statement and the code written to solve it. But, like code written by most programmers, …

Member Avatar for JamesCherrill
0
2K
Member Avatar for dmanw100

> for some reason the file doesn't start with a eof character does it? EOF isn't a character, this is one of the reasons why the [ICODE]read [/ICODE]method in Java and the [ICODE]getchar[/ICODE]/[ICODE]fgetc [/ICODE]function in C returns an [ICODE]int [/ICODE]instead of a [ICODE]char[/ICODE] [hint: since char is unsigned, there would …

Member Avatar for JamesCherrill
0
967
Member Avatar for d1e9v85

You cant as such check for such conditions in case of a simple sort like bubble sort. Take for eg. this array. 1 2 3 4 5 6 8 7 During the first seven passes no swap is performed since the next number is always greater than the current but …

Member Avatar for White_2
1
762
Member Avatar for pranitha_dolls

> Write an image editor. Java has an extensive image manipulation API. You have got to be [URL="http://paulbuchheit.blogspot.com/2007/05/amazingly-bad-apis.html"]joking.[/URL] ;-)

Member Avatar for Sharon_5
0
157
Member Avatar for valatharv

> Should I use simple ArrayList or HashMap as I need to pass selected > checkbox values... Just ensure that all your checkbox elements have the same name and then use the [icode]HttpServletRequest.getParamterValues('elementName')[/icode] to retrieve a String array containing the list of item id's.

Member Avatar for diafol
0
12K
Member Avatar for Dani

I would say extremely quiet... BTW Dani the link to Daniweb API in your signature is broken.

Member Avatar for rproffitt
0
476
Member Avatar for <HHH>

If you are on MS Windows, save yourself the trouble and install the Anaconda python distribution which comes with a native package manager called `conda`. Things which are extremely difficult to install on windows (e.g. Numpy, Scipy, Intel MKL dependencies) become a breeze without having to deal with weird dependency …

Member Avatar for ~s.o.s~
0
2K
Member Avatar for pritaeas

> Interesting. I would have imagined it was much, much higher. I believe that most of the folks "landing" on Daniweb are looking for a solution to some technical problem. Given that most of the programming happens on a laptop/desktop, we have too few mobile users. There is a high …

Member Avatar for diafol
2
641
Member Avatar for rproffitt

Rather than a mass email (which can easily get lost due to folks not correctly configuring their mail account with old Daniweb), I believe there should be a sticky post/blog post accessible from the login page *before* someone has logged in. I'm surprised you haven't got a active blog given …

Member Avatar for Reverend Jim
0
382
Member Avatar for asifalizaman

> , the other is a scripting language, which can only run front-end in a webbrowser. This isn't true; look at [Node.js](http://nodejs.org/). It provides all the API calls required to do I/O (network connections, read/write files etc.), integrate with other C/C++ API's out there (by writing node.js libraries which wrap …

Member Avatar for _1_18
0
776
Member Avatar for hhappak

Try using the RandomAccessFile in read mode.[code] public class MainTest { public static void main(String args[]) throws Exception { RandomAccessFile in = new RandomAccessFile("file.txt", "r"); String line; while(true) { if((line = in.readLine()) != null) { System.out.println(line); } else { Thread.sleep(2000); // poll the file every 2 seconds } } } …

Member Avatar for rproffitt
0
5K
Member Avatar for jonow

> Is there a way to display the source of the iframe or the html file > that is being displayed in the iframe in the web browsers address > bar? AFAIK, no. It seems pretty logical that the URL in the address bar doesn't change given that the user …

Member Avatar for Kevon
0
2K
Member Avatar for yuvi2288

Except that don't use == operator for comparing strings; use the equals/equalsIgnoreCase method instead.

Member Avatar for Vishija
0
14K
Member Avatar for shift25

It is worth noting that though those two things ( <typename T> and <class T> ) are interchangeable in most of the cases there are some senarios where you must use [I]<typename T>. [/I]Eg. Suppose you want to create a templated class with something like this: [code=cplusplus] template < class …

Member Avatar for Helly_1
0
1K
Member Avatar for anand01

Apache POI is a pretty well known library for creating `.doc` and `.docx` files. If you do a search for "doc to pdf java" you'll come across few open source libraries (not well known) which can do this. Assuming you are not doing any fancy coloring/formatting, I would recommend writing …

Member Avatar for anand01
0
196
Member Avatar for Violet_82

There is no authorative site which lists all projects in need of help. One option would be to visit https://github.com/trending?l=java , look at projects which catch your fancy, drop a mail to the owner if he/she is interested in your contributings and fire away. The "github" way of contributing has …

Member Avatar for ~s.o.s~
0
235
Member Avatar for Dani

I switch between projects and I find keeping a note of the current state of things helps. I use the Microsoft OneNote for this but I think any basic text editor should do the job. As far as working with code is concerned, in case I need to drop off …

Member Avatar for invisal
0
607
Member Avatar for JOSheaIV

> One thing is for certain. Daniweb was bleeding users with the old forum based interface I think this was because the old forum based interface was still very different from the traditional forum based interface offered by many other web sites. The new interface shares the same problem. I …

Member Avatar for Popc0rn
1
2K
Member Avatar for Violet_82