Friday, August 29, 2008

Thursday, August 28, 2008

IsImageFile

There is no such method in FCL, so here is my implementation :) Yes, it is not good to use exceptions this way, but it's most elegant decision from the range that I considered.
        public static bool IsImageFile(string fileName)
{
try
{
using (Image img = Image.FromFile(fileName))
{
return true;
}
}
catch (OutOfMemoryException)
{
return false;
}
}

Wednesday, August 27, 2008

Yesterday, I passed our papers (full package and fees) to IOM. Let's wait and rely on God's help.

Saturday, August 23, 2008

AlReader v. 2.5.

Как отключить разрывы строк в AlReader (сайт кстати какой-то подозрительный - антивирусник ругается) для плохо-форматированных файлов, например скачанных из библиотеки Мошкова.
Бился часа 2, ковырялся в настройках, не мог понять как привести текст в читабельный вид. Оказалось все просто. Главное меню -> Файл -> Формат файла... и выставить галочку напротив чекбокса "Детектирование абзацев". Причем применяется ко всем файлам, а не только к открытому в данный момент.

Monday, August 18, 2008

Books

I’ve just completed “The Rise and Fall of the Third Reich” by William Shirer. For everyone who wants to know the base of the Nazi ideology,  young years of Adolf Hitler, his “struggle” with “world Jewry”, how they (NSDAP) came to rule, about SA, SS, Gestapo and SD, this book will be very useful. We have to know and keep in mind those days to avoid happening of such tragedy again in future. We have to remember millions of victims killed in gas cells, shot and tortured by Gestapo, only because they were Jews or Eastern Europeans including Russians. (subhumans according to their ideology) I’m impressed. It is really good book from the “must read” category.

Sunday, August 17, 2008

Mario Ali Durand Sutuev (Tango Paratres)

We’ve been to a tango music concert in Makhachkala this summer. Mario Ali Durand Sutuev and his band (“Tango paratres”) appeared on the stage of Kumik Theater. They played very good and we had really pleasant evening.

Musik & Kamila (2nd of August 2008)