Archive for June, 2012

+1

Sunday, June 24th, 2012

У Марины и Миши в 14:20 родилась вторая доченька – Лия, 3800

one class per file

Friday, June 8th, 2012

When you need declare a lot of small classes (enums, for example), I do not like the idea to declare the one class per file only. I do not want to have a lot of small files. I prefer to declare some kind of common file with basic classes but not possible in Java

SizeOf

Friday, June 8th, 2012

Java again. The class instance have no SizeOf method and/or no good method to get the size of instance in bytes:-(

DataInput class

Friday, June 8th, 2012

Very ugly – the DataInput class have no Position property to get the current position in stream and have no Seek method to change the current position.

On every java forum you’ll get the stupid answer – you may count the position yourself. In 2012 you need count after every byte read…

Прохождение Венеры по диску Солнца

Wednesday, June 6th, 2012

Сегодня ночью Венера прошла по диску Солнца

venus2012.jpg

Следующее такое же явление будет только через 115 лет. Не смотря на то, что телескоп в наличии уже имеется, я это вижу только на фотках. Ну да ладно. Все-равно в Киеве была большая облачность и ничего видно не было:-)

Кстати, еще в этом году Солнечная система должна пройти через центр нашей галактики. Это случается раз в 26000 лет.