Showing posts with label users. Show all posts
Showing posts with label users. Show all posts

Thursday, 30 September 2010

Hattrick - Usuarios conectados - DEFINITIVO!

Hattrick - Usuarios conectados - DEFINITIVO!

Hola, voy a dejar un estudio mucho mas preciso de los que hay actualmente:

He recogido datos cada minuto des del día 15/09/2010 hasta el día 30/09/2010.
Se han usado para la gráfica 21570 datos.



Thursday, 23 September 2010

Usuarios conectados Hattrick - Lunes

Usuarios conectados Hattrick - Lunes

Tuesday, 21 September 2010

Usuarios conectados Hattrick

Usuarios conectados Hattrick

Bueno, aquí tenemos el tan esperado resultado sobre los usuarios conectados en Hattrick.

Podemos observar que debido a la inestabilidad de los momentos en la recogida de datos, se crean picos importantes. Así que podemos deducir que es un tanto irregular, pero no por eso, menos válido.

Podemos compararlo con el estudio anterior, recuerdo que se hizo con una toma de usuarios por hora durante 2 semanas. Lo tenemos aquí:

http://no-suelo.blogspot.com/2010/09/users-connected-to-hattrick.html



Paulatinamente iré publicando los gráficos con los dias de la semana por separado, para que sea mas preciso, y os pueda ayudar, a elegir en que momento poner en venta un jugador.

Os avanzo que actualmente estoy haciendo una recogida de datos cada minuto, y que en breve tendré algunos resultados.

Saludos y gracias a todos los participantes y a todos lo lectores. Pero en especial a -B-J-
que se ha encargado de hacer toda la recogida de los datos del foro.

Tuesday, 14 September 2010

How to use xls ( Excel ) files in Java

How to use xls (Excel) files in Java

First, you need the POI library. You can download it here.


To work with a xls File with Java is very easy. Simply, you have to fix in Rows and Cells.













I show you a part of source code, it's more easy to understand.

import org.apache.poi.ss.usermodel.Sheet;
import org.apache.poi.ss.usermodel.Workbook;
import org.apache.poi.xssf.usermodel.XSSFWorkbook;

Workbook wb = new XSSFWorkbook();
FileOutputStream fos = new FileOutputStream("C:\\sample.xlsx");
Sheet sh = wb.createSheet("newSheet1");
sh.createRow(0);

sh.getRow(0).createCell(0).setCellValue("Hours");
sh.getRow(0).createCell(1).setCellValue("Sunday");
sh.getRow(0).createCell(2).setCellValue("Monday");
sh.getRow(0).createCell(3).setCellValue("Tuesday");
sh.getRow(0).createCell(4).setCellValue("Wednesday");
sh.getRow(0).createCell(5).setCellValue("Thursday");
sh.getRow(0).createCell(6).setCellValue("Friday");
sh.getRow(0).createCell(7).setCellValue("Saturday");





for(int k = 1; k<25;k++){
sh.createRow(k);
sh.getRow(k).createCell(0).setCellValue(k-1);
}

for (int i = 0; i <>
for(int j = 0; j<24;j++){
sh.getRow(j+1).createCell(i+1).setCellValue("Row "+j+" Cell "+i);
}
}

To finish correctly you need add this:

wb.write(fos);
fos.close();




















Now, the file already contents the data.

See you.

Friday, 10 September 2010

Users connected to Hattrick

Users connected to Hattrick

The moment when a player is selled is very important for the economy of our team.
For that reason, I have made a plot with the days and moments of the connected users.

Maybe, if our selling player finishes at time when a lot of users are connected, we could earn much money, because there are a lot of people looking him.

A plot attached here:



The data have been collected during the last 2 weeks.

Luck!