-
Marked Solved Status for java.util.set
What is the difference in: Set<Object> linksSet = new LinkedHashSet<Object>(); LinkedHashSet<Object> linksSet = new LinkedHashSet<Object>(); Actually, I want to create a Set, that would hold the objects in the same … -
Began Watching Difference between JAVA and C++
Hi every one, Can any one tell me the major difference between JAVA and C++... -
Replied To a Post in Difference between JAVA and C++
> C++ uses pointers and have memory leaks Just because C++ uses pointers doesn't mean it *has* to leak memory. It's just that you have to be careful with allocations, … -
Began Watching Accessing a Hindi Text file, counting the number of occurrences of words
Hello all, I have a Hindi Text file, from which i want to access the maximum repeated words and other similar operations. I went through many articles which help in … -
Replied To a Post in Accessing a Hindi Text file, counting the number of occurrences of words
The encoding is `UTF-8`. Also as already mentioned, use the `codecs.open` function call to open and read the hindi text file. Something like: import codecs with codecs.open('hindi.txt', encoding='utf-8') as f: … -
Replied To a Post in What's up with the tag overflow?
> Sanjay, I did a couple of dry runs! It worked then! Not sure I understand. You ran with dry run mode over all the threads in your db, printed … -
Began Watching What's up with the tag overflow?
It seems that all of a sudden, some threads have 50 or more tags (e.g., the [C++ forum](http://www.daniweb.com/software-development/cpp/8)). They seem to have just appeared, and take up a significant space … -
Replied To a Post in What's up with the tag overflow?
> obviously there was a bug I didn't catch and now I'm trying to figure out a way to fix the situation. Dry run mode; always! -
Began Watching Learning About Web Services & API's etc
Hi All, Im new to programming and am trawling through Python as we speak. API & web services type stuff is of real interest to me but not sure how … -
Replied To a Post in Learning About Web Services & API's etc
While griswolf's advice is spot on, I would like to add few more details to help you out. Broadly speaking, there are two types of "web services"; RESTful services and … -
Began Watching memory error with huge data
I have a large gff file 15,6 GB.. I wanna retrieve features from each record.. and for each subjectOrganism in the qualifier feature I will compare it with sorted list … -
Replied To a Post in memory error with huge data
This GFF library is most probably loading the entire file in memory which is a big "no-no" when dealing with large files. Assuming you are using [this library](http://biopython.org/wiki/GFF_Parsing), give that … -
Began Watching Searching for files in a folder
So i have a python code that searches for a folder in a directory and gets the size of the folder. I am wanting to search inside the folder and … -
Replied To a Post in Searching for files in a folder
You will have to use a recursive algorithm to compute the size of a folder *including* all the files and sub-directories (and again all the files in that sub-directory). Use … -
Edited Help with grade calculation program
Please help, this is my first java class. I need help with how to do this assignment: Grade Calcualtion Program: write a program to calculate and display the course letter … -
Marked Solved Status for Account Merging
I've logged in with my google profile, but I did have an existing profile which I deleted. Now I want to get the same username handle again, system says it … -
Began Watching Hopeless with these reputation points and community skills
I seriously got something wrong or my logic is broken... I thought you get reputation points when people up-vote your posts or replies?? i got 3 and i'm still at … -
Replied To a Post in Hopeless with these reputation points and community skills
I see the following in your profile right now so you should be good: > tapananand has contributed enough for us to gauge topics of interest. However, no one has … -
Replied To a Post in Get paid to answer questions
> Any other suggestions? My biggest quandry right now is how to determine who should win the bounty. Just let the one paying the money decide who gets the bounty; … -
Began Watching Get paid to answer questions
I'm thinking of going down the route where members can actually get paid to answer questions. Here's how I am thinking the concept might work, and you tell me if … -
Replied To a Post in Get paid to answer questions
Also, consider cases where the OP is wishy-washy. Let's say the OP selects some answer which gets the bounty but later realizes that it's not the complete solution. Should the … -
Edited Spring 2014 Anime Preview
Howdy folks, Winter 2014 anime is stale news now with Spring 2014 lineup just around the corner (time sure flies fast!). You can view the preview chart [here](http://i1.minus.com/igcbxHFvbhPpC.jpg) and follow … -
Created Spring 2014 Anime Preview
Howdy folks, Winter 2014 anime is stale news now with Spring 2014 lineup just around the corner (time sure flies fast!). You can view the preview chart [here](http://i1.minus.com/igcbxHFvbhPpC.jpg) and follow … -
Began Watching Spring 2014 Anime Preview
Howdy folks, Winter 2014 anime is stale news now with Spring 2014 lineup just around the corner (time sure flies fast!). You can view the preview chart [here](http://i1.minus.com/igcbxHFvbhPpC.jpg) and follow … -
Marked Solved Status for Cache using Java Maps. Clearing unwanted entries
Hi, I have a java class that is being used by multiple people (from a UI). In the class i have a static HashMap with the userKey as the map … -
Began Watching Cache using Java Maps. Clearing unwanted entries
Hi, I have a java class that is being used by multiple people (from a UI). In the class i have a static HashMap with the userKey as the map … -
Replied To a Post in Cache using Java Maps. Clearing unwanted entries
The simplest (in terms of effort) solution would be to use the `CacheBuilder` class [provided by Guava (also known as Google collections)](http://docs.guava-libraries.googlecode.com/git/javadoc/com/google/common/cache/CacheBuilder.html) -
Replied To a Post in 10,000 posts
> Hmm, I've never heard of moderators giving other moderators infractions! Well, I can, but I swear that thought never crossed my mind. ;) -
Began Watching 10,000 posts
This is my 10,000th post in the DaniWeb Java forum. so I hope I won't get an infraction for being off-topic. I just thought this would be the perfect opportunity … -
Replied To a Post in 10,000 posts
> I'm really looking forward to continuing working with, debating with, and learning from all you guys. Congratulations James and thanks for your kind words. I honestly feel that this … -
Gave Reputation to JamesCherrill in 10,000 posts
This is my 10,000th post in the DaniWeb Java forum. so I hope I won't get an infraction for being off-topic. I just thought this would be the perfect opportunity … -
Began Watching error : non static variable cannot be referenced from a static context
class Simple { void display() { System.out.println("ant hnkg"); } class Local { void msg() { System.out.println("inner"); } } public static void main(String args[]) { Local l = new Local(); l.display(); … -
Replied To a Post in error : non static variable cannot be referenced from a static context
Your code won't work because `Local` is a inner class. You can't create instances of inner classes without an instance of parent/enclosing class. Make `Local` a nested class (by adding … -
Edited error : non static variable cannot be referenced from a static context
class Simple { void display() { System.out.println("ant hnkg"); } class Local { void msg() { System.out.println("inner"); } } public static void main(String args[]) { Local l = new Local(); l.display(); … -
Replied To a Post in Who would you recommend for hosting?
I have heard good things about [Veerotech](http://www.veerotech.net/shared-web-hosting) on webhosting forums. They also have a plan that starts at $7, not exactly cheap but much better reputation + they have servers … -
Began Watching Who would you recommend for hosting?
I currently host my clients through dreamhost. I wanted to get something faster, cheap, and probably European. Any suggestions? -
Replied To a Post in Who would you recommend for hosting?
When you say hosting, are you talking about shared hosting, a VPS or dedicated hosting? Also, how much are you paying right now per month/what kind of plans? AFAIK, Dreamhost … -
Replied To a Post in Member of the Month
Just a quick note for those concerned about privacy issues after getting featured as "member of the month": you have every right to *not* disclose your age, the organization you … -
Began Watching Member of the Month
I am currently looking for members of the DaniWeb community who deserve a little recognition for their participation here, the help they provide and the support they give to others. … -
Replied To a Post in Member of the Month
I would recommend http://www.daniweb.com/members/377908/Gribouillis He is a moderator but still not featured?! Also the following good chaps in no particular order because of their good contributions, active participation and helpful … -
Began Watching Help: Project has a 10 minute big-O
Hello Daniweb, I am creating a project (using NetBeans for GUI) for my Data Structures and Algorithms course. The gist of it is as follows: -Take 7 letters as input … -
Replied To a Post in Help: Project has a 10 minute big-O
You have 4 loops in your algorithm which means if we do a naive Big-O analysis the time complexity becomes `O(n^3)`/`O(n^4)` [which doesn't scale well as the input size keeps … -
Marked Solved Status for An attempt to learn exception
Hi. I am learning Java and now stuck in the exceptions chapter. I wrote a code to understand exception. But i am not getting why there is an error saying … -
Began Watching Difference between JDK 32 bits and 64 bits
I am beginner to Java , I would like to know is there any Difference between JDK 32 bits and 64 bits? For example in terms of performance or something … -
Replied To a Post in Difference between JDK 32 bits and 64 bits
In addition, you can run both 32/64 bit Java on 64 bit OS. The most important property of 64-bit JVM's is that it allows you to have large heaps (4+ … -
Began Watching Reply via email
OK ... spent all last night squashing bugs ... now it's here for prime time!! Please go into your member profile and select the option to receive mailing list-style notifications. … -
Replied To a Post in Reply via email
> At leat it gives you an easy way to read content and, you might not be able to evaluate long code snippets, but you can still consume the majority … -
Replied To a Post in Fall 2013 Anime Preview
> There was story in IS2?? o.O Hah, you gotta cut those guys some slack. ;) -
Marked Solved Status for How to design the website in Java
Hello everyone, I just start to study about Java and I need to design a website in Java. I do not know I should create a Java Application project or … -
Began Watching How to design the website in Java
Hello everyone, I just start to study about Java and I need to design a website in Java. I do not know I should create a Java Application project or …
The End.