-
Replied To a Post in Member of the Month: nominations please
I would like to recommend Ene Uran who has been with Daniweb for a long time now and has contributed to Python/Geek's Lounge forums. -
Began Watching Large OP font
Is this a bug, or are you seriously keeping this? It's horrible. -
Replied To a Post in Large OP font
I really don't mind it as long as it's just one size bigger than the actual answer text. I think the bigger problem is identifying what's the question/who is asking … -
Replied To a Post in Thousand threads write to one text file simultaneously
You should really not use a "file" for this use case. Look into in-memory (and optional persistence) solutions like Redis to [increment counters](http://redis.io/commands/INCR/). These things will be atomic and managed … -
Replied To a Post in Starting "Java" [Java tutorials / resources / faq]
Updated the main post with: 1. Change all old Java 6/7 links with Java 8 2. Added mention about mocking and the mockito library 3. Removed old/unreachable links and resources … -
Edited Starting "Java" [Java tutorials / resources / faq]
***Please don't post "spam" or "Thank you" posts in this thread since this is meant to be used as a guide for all beginners and I am sure we would … -
Edited Starting "Java" [Java tutorials / resources / faq]
***Please don't post "spam" or "Thank you" posts in this thread since this is meant to be used as a guide for all beginners and I am sure we would … -
Edited Starting "Java" [Java tutorials / resources / faq]
***Please don't post "spam" or "Thank you" posts in this thread since this is meant to be used as a guide for all beginners and I am sure we would … -
Began Watching What is the hottest online game this year?
The year is about to end.. It is time to start voting for your favorite game.. Post here -
Replied To a Post in What is the hottest online game this year?
For me it's Dragon Nest; fast-paced action based MMO FTW! -
Began Watching How many hours do you spend on computers all day.
I know this is going to be a great question but how many people use their computers for how mqany hours a day. Post Here. -
Replied To a Post in How many hours do you spend on computers all day.
Given that I'm a programmer by profession, easily around 10 hours. -
Marked Solved Status for simple java applet won't run on eclipse
Hello I am not an experienced programmer, and I entered some code from a book I am following, to see if it would work but unfortunately I have run into … -
Began Watching Java RMI load balancing
Please how do I implement a load balancer for Java RMI servers -
Replied To a Post in Java RMI load balancing
In it's simplest form, a RMI load balancer would be a just another RMI server which would have references/handles to other RMI servers providing a service. As an example, let's … -
Replied To a Post in Time to ask that question again ...
In case it helps, it has somehow magically started working. Since the results are loaded using Javascript, one possibility might be the server not returning back the results (in time … -
Began Watching Implementing SSL
Hey everyone, I;ve implemented SSL to my server using [this guide](https://blogs.oracle.com/lmalventosa/entry/using_the_ssl_tls_based) now when I connect the server it takes some time to initialize now, I assume its setting up stuff, … -
Replied To a Post in Implementing SSL
That might be the reason; you can simply use a static block in the class to load/call stuff at the time class is loaded. Though I think setting this in … -
Began Watching Time to ask that question again ...
Time once again to ask that question: What could I be doing better? More specifically, I'm looking to answer the following: * Is the UI clear and concise? Is it … -
Replied To a Post in Time to ask that question again ...
I can confirm Suzie's issue; I don't see any threads but just profiles. https://www.daniweb.com/search/query/8/threads?q=cold+site%3A%2A%2Fthreads+inurl%3Asoftware-development+inurl%3Acpp#gsc.tab=0&gsc.q=cold%20site%3A*%2Fthreads%20inurl%3Asoftware-development%20inurl%3Acpp&gsc.page=1 [Imgur](http://i.imgur.com/e8qzSuw.png) -
Replied To a Post in Client/Server
Just use bcrypt, much easier. Also, I'm not really aware of what the project really demands so can't comment on what is OK and what's not. Just for the record, … -
Replied To a Post in Client/Server
When it comes to security, the more your rely on advanced libraries, the better for you. I don't like the site linked by James because there is too much to … -
Began Watching Client/Server
Hey guys, Just got a quick question ... I am implementing a client GUI, and part of the requirements are that the client is able to start, stop and restart … -
Replied To a Post in Client/Server
Since you need to start and stop the server, you might actually need two servers -- an admin server and a print server. The admin-server manages the print server and … -
Began Watching How to deploy swing jar with derby database ?
Hello, I'm using Netbeans with JDK 7. I'm developing a swing desktop application with embedded derby database. I'm using the following code. Statement stmt; try { Class.forName("org.apache.derby.jdbc.EmbeddedDriver"); Connection conn = … -
Replied To a Post in How to deploy swing jar with derby database ?
You are using Derby in server-mode (as evident from the host/port in the connection URL). You need to use it in embedded mode. Read: http://db.apache.org/derby/integrate/plugin_help/derby_app.html and http://www.codejava.net/java-se/jdbc/connect-to-apache-derby-java-db-via-jdbc -
Created Ancient Dragon
All, We have some unfortunate news which was confirmed by Dani and Prit. Our good old friend, Melvin aka Ancient Dragon passed away on Aug 21, 2014. :`( His obituary … -
Began Watching Ancient Dragon
All, We have some unfortunate news which was confirmed by Dani and Prit. Our good old friend, Melvin aka Ancient Dragon passed away on Aug 21, 2014. :`( His obituary … -
Edited Help with the error "no suitable method found for toArray"
error: no suitable method found for toArray(int[]) return intList.toArray(new int[intList.size()]); ^ method Collection.<T#1>toArray(T#1[]) is not applicable (inference variable T#1 has incompatible bounds equality constraints: int upper bounds: Object) method List.<T#2>toArray(T#2[]) … -
Began Watching VM ans operating system priority problem
hello i have a problem with Priority when I set priority of any thread then I get wrong output my code is below class Run implements Runnable{ private String st; … -
Replied To a Post in VM ans operating system priority problem
Even if the processor has a single core, newer Operating systems (not DOS for sure) employ preemptive scheduling which gives the "illusion" of threads running in parallel. Also, even if … -
Replied To a Post in Multithreading problem in name of Thread
I'm not sure I understand. You asked "what's the 3rd main" to which the answer was "it's the thread-group name". To which you then wrote "i think it is a … -
Replied To a Post in A Simple Password Hash and Verify Class
> Although usernames often include multibyte chars, do passwords also share this catholicism? Genuinely curious. That's a very interesting/good question actually. Since I had a bit of free time, I … -
Began Watching A Simple Password Hash and Verify Class
Hi All, thought I'd pass on a (very) simple password class which is built on the new `password_hash()` and `password_verify()` functions. You will need php 5.5.0+ in order to get … -
Replied To a Post in A Simple Password Hash and Verify Class
Not sure why you are restricting yourself to ASCII by putting in `validate` calls? Can't PHP deal with unicode chars (e.g. German, Russian passwords)? -
Began Watching Mark as failed running too long JUnit tests
I would like to stop and mark as failed too long running junit tests (executed within Maven 3 build). I am aware of three ways of doing it: 1) Using … -
Replied To a Post in Mark as failed running too long JUnit tests
AFAIK you can attach rules to Test suites. So all you would need to do is "group" your tests logically into suites based on whether they need a timeout or … -
Began Watching Multithreading problem in name of Thread
i write a program its output is below G:\Java\Multithreading>java NewThread Child Thread Thread[main,5,main] Main Thread 1 Child Thread 1 Main Thread 2 Main Thread 3 Main Thread 4 Main Thread … -
Replied To a Post in Multithreading problem in name of Thread
That's the thread group name. Always consult the sources when in doubt. [Thread#toString](http://grepcode.com/file/repository.grepcode.com/java/root/jdk/openjdk/8-b132/java/lang/Thread.java#Thread.toString%28%29) -
Began Watching Reading characters from console using stream
import java.io.*; class ConsoleInput{ public static void main(String ss[]) throws IOException{ InputStreamReader isr=new InputStreamReader(System.in); BufferedReader br=new BufferedReader(isr); char c=' '; System.out.println("Enter Characters And q to Quiet"); do{ c=(char)br.read(); System.out.println(c); }while(c … -
Replied To a Post in Reading characters from console using stream
> but there is a problem read() return -1 and we assign it to char c Because you need a value to denote EOF/EOS which is *not* a valid `char`. … -
Began Watching Python subprocess return code without waiting with multiprocessing
Hello all, My question is hopefully particular enough to not relate to any of the other ones that I've read. I'm wanting to use subprocess and multiprocessing to spawn a … -
Replied To a Post in Python subprocess return code without waiting with multiprocessing
I believe your problem is more suited to a "job queue" library rather than trying to implement monitoring, scheduling etc. on top of a raw process pool. Take a look … -
Began Watching IDE
Tell me the best IDE for Python 3.4 version(Windows7 64bit) -
Replied To a Post in IDE
My personal vote would go to [WinPython](http://winpython.sourceforge.net/) because: 1. It provides debugging support 2. Build in linter 3. Good autocompletion 4. A complete bundle which includes an IDE (Spyder) and … -
Replied To a Post in An example of a threading background decorator (Python)
> some nice person can test HiHe's multiprocessor-decorator version on a Unix box. It works fine on a *nix box (as expected) sos@ubuntu_14.04:~/personal$ python test.py counting 0 hello counting 1 … -
Began Watching What should I write on the command prompt to make the network programs run?
Client code import java.net.*; import java.io.*; /** * This example illustrates the basic method calls for connectionless * datagram socket. * @author M. L. Liu */ public class Example1Sender { … -
Replied To a Post in What should I write on the command prompt to make the network programs run?
> Can I choose my own IP and any non-dedicated port number such as 88888 and 88889? You can't have 88888 as your port number. Quoting wikipedia: > A port … -
Replied To a Post in Performing Arithmetic operations in Generics in Java
I'm not sure about the purpose of this exercise but if it is learning more about generics, it would be much better to implement your own wrapper types instead of … -
Began Watching java.security.AccessControlException: access denied ("java.net.SocketPermis
Hey guys, can anyone help me to run my client program. I'm working on a simple Java RMI but I'm stuck running the client with the error. **java.security.AccessControlException: access denied …
The End.