krillov's Profile User Rating: -----

Reputation: 1 Apprentice
Group:
Members
Active Posts:
36 (0.04 per day)
Joined:
18-November 12
Profile Views:
17,068
Last Active:
User is offline Jan 04 2015 04:55 PM
Currently:
Offline

Previous Fields

Country:
SE
OS Preference:
Windows
Favorite Browser:
Chrome
Favorite Processor:
Intel
Favorite Gaming Platform:
PC
Your Car:
Who Cares
Dream Kudos:
0
Icon   krillov has not set their status

Posts I've Made

  1. In Topic: Question about thread speed testing

    Posted 4 Jan 2015

    the main part looks like this for newFixedThreadPool for example:

    
    executor = Executors.newFixedThreadPool(size);
    completionService = new ExecutorCompletionService<Double>(executor);
    
    long startTime = System.currentTimeMillis();	
    				
    for (int i = 0; i < 300; i++) {
    			
    	completionService.submit(new Callable<Double>() {
    			
    	public Double call() {
    
    		return ram.get(1000000); //count 1000000 randomized number
    	}
    	});
    }
    
    try {
    	for (int t = 0, n = 300; t < n; t++) {
    		
    	        Future<Double> f = completionService.take();	
    	        sum += f.get();
    	}
    		
    } catch (InterruptedException ie) {
    		
    	Thread.currentThread().interrupt();
    		
    } catch (ExecutionException ee) {
    
    	System.out.println(ee.getCause());
    }
    		
    long stopTime = System.currentTimeMillis();
    
    
    
  2. In Topic: HELP on Play Framework connecting to Eclipse

    Posted 25 Nov 2014

    Question 1:

    Have you tried to right-click on the view in the package explorer (for example: main.scala.html) and in the menu Open with ... and then Text editor?


    Question 3:

    I use RestClient add-on for Firefox. It's quite easy to use. I can recommend it.


    I'm also quite new to Play but I think it's pretty easy to use the http methods there. I don't know any tutorials but if you have some questions I can try to answer them.
  3. In Topic: Help: JPQL query

    Posted 25 Nov 2014

    Sorry, now I realized I wrote it bad in the text.

    I would like to find how many of the employees contributed documents to at least 5 different projects.
    More employee can contribute to the same project with documents.
  4. In Topic: Problem with creating new schema in PostgreSQL

    Posted 17 Feb 2014

    Thanks. :-)
  5. In Topic: Problem with creating new schema in PostgreSQL

    Posted 17 Feb 2014

    It is't in SELECT statement. So I don't really understand the error message but it's working now. In some strange way. I must use some editor like Sublime and save the code in SQL file format. If I upload the code that way then it's working.

My Information

Member Title:
New D.I.C Head
Age:
31 years old
Birthday:
June 4, 1983
Gender:
Programming Languages:
C++, Java, Visual Basic .NET, Python

Contact Information

E-mail:
Private

Friends

Comments

Page 1 of 1
  1. Photo

    wb_09 Icon

    11 Feb 2014 - 01:59
    Hi! Did you ever finish up on your state machine and that pesky unhandled exception?
Page 1 of 1