fb2 to java

November 17th, 2009

Ааааааааааа… вот это бомба! Я давно искал подобный конвертер.

Теперь любой телефон можно превратить в читалку для книг. Конечно экран маловат для чтения, но не всегда же таскать с собой читалку.

Конвертер организован как сервис:

http://fb2java.com/uf

Загружаем fb2, получаем JAR. Небольшая програмка которая содержит в себе книжку.

Если качать с либрусека, там сразу доступна ссылка для скачивания на мобильный.

Моя старенькая Nokia 3110 вполне теперь стала читалкой :)

Visual Petri Net Plus

November 16th, 2009

By this article I start publishing all interesting stuff I’ve made. Kind of portfolio.

Visual Petri Net Plus (VPNP)  was thesis of my diploma work at Technical University of Moldova(2000-2002). It is Petri Net designer, simulator and calculator. It has nice graphical engine that help to draw Petri net quite easy.

Theory of Petri Nets is intresting, you can find a lot of information on the net.

My work was to do graphical designer, save/load and simulation.

Tools used: Delphi 5.

Read the rest of this entry »

SPDY – new revolution from Google ?

November 16th, 2009

Recently, everybody heard the latest news from Google about new protocol which can speedup and make more comfortable internet surfing.

If not, better to read official white paper.  It is called “SPDY”, another endless attempt to fix this world.

But will Google make something that won’t have big chances to succeed ? I did not think so.

This protocol affect server side(web server) and client side(browser). To deploy it well both parts need to be changed. That is almost impossible in Internet reality. Many improvements to Internet were developed recently, including ones to improve email, fighting spam, etc… Where are they ? Penetration is not more than 5-10%.

Think again about Google.

They have their own browser, which is not so poplar as other leaders, but it is well designed, stable, fast and gained his part or market. For sure Google will add support of this protocol for their Google Chrome browser. It is matter of several months.

Do not forget, Google is biggest content/service provider on the net, that means – all web servers are under their control. Sure they will add support of SPDY to web server part.

Very soon, users who use Google Chrome and Google Mail|Docs|Wave services will experience much better performance of these apps. Even now I prefer Chrome for Gmail and Docs. This will lead to increased popularity of Chrome.

Will Mozilla stay aside ? I don’t think so. Will Apache stay aside ? I don’t think so.

Google+Mozilla+Apache and revolution is almost over.

Links

Greasemonkey for developers

November 8th, 2009

If you are Mozilla Firefox user you probably know what are addons and use some of them to make surf  life more comfortable.

This article is about GreaseMonkey addon. I’d like to introduce  it mostly for developers and want to share my knowledge cause I was surprised by its power, simplicity and functionality.

I tried to gather all useful technics, code snippets and documentation in one place to make it a good start page.

Read the rest of this entry »

Does OpenOffice sucks ?

October 29th, 2009

OpenOffice project celebrates 100 million downloads since version 3.0

Just over one year after the release of OpenOffice 3.0, OpenOffice.org (OOo) project developer Joost Andrae has announced that the free office suite has been downloaded more than one hundred million times since the launch of version 3.0. Read full story here

Yes, it still sucks, unlucky OO. It is still slow, not user friendly, not compatible with MS Office. But this is not what I am about.

It has nice batch processing features which no competitors have. About them I want to tell today.

Read the rest of this entry »

Mozilla Firefox user profile

October 26th, 2009

Once I heard weird story. A man was playing some web MMRPG game. Most of these games prohibit multiplayer and you know why :) Game site checks this by setting cookie to browser and when you logout and login with another char it tracks this.

What was the solution ? Most simple one, he installed all versions of browser he found on the Internet(IE,FF,Chrome,Safari, etc). That was weird, but it worked.

I want to tell about much simplier way of doing thia based on Mozilla Firefox profiles.

Read the rest of this entry »

Download google map, save as image

October 16th, 2009

Once I faced with task to download some area of Google maps…  At first I tried to glue some downloaded google maps images together manually, but gave up very soon. After googling on the Internet, I found this video:

http://www.wipeout44.com/video/misc/google_maps_large.asp

how to downloan google map. I got the point.

Inspired by this, I decided to dive in GMap API… By using some sample I wrote simple script, that handles most part of this process automatically.. You just need to select intrested region, zoom, map type and wait :)

Method used is the same as in video, it loads selected region in one big viewport and after it is loaded, converts it into Canvas, which can be saved as .PNG image.

Feel free to try it:

Grab Google Map Region

Samba – file audit trail with full_audit

October 16th, 2009
File server auditing is a must have process for all companies that
rely on file servers to store their critical data and applications.
Malicious and accidental modifications to files, permissions, file
sharing settings can severely impact your organization.

(C) Somewhere on the Internet.

I can not disagree with it :) I have no such goals, file audit is just another line of protection from users, who like to yell “WHERE IS MY LITTLE AND VERY IMPORTANT FILE ???”. In this article I will tell how I setup file audit on linux file server.

Read the rest of this entry »

[RUS] Багдадский вор – Белянин Андрей

October 10th, 2009

Повесилило :) можно читать

– Ой-ё… – разом понурился Лев. – Слушай, я что, под этим делом наговорил чего не надо? Частушки матерные пел, анекдоты похабные рассказывал, девушек щупал, приставал ко всем, да?

– Не-е-т, ничего подобного, – ласково успокоил Ходжа, и от его тёплой улыбки Оболенскому окончательно стало не по себе. – Я лежал вот здесь, у забора, почти отдышавшийся от белого дыма опиума, и видел всё. Ты вышел в обнимку с гулями, убеждая их, что только сейчас преподобный Ричард Бах открыл тебе тайну Дара Крыльев! Кстати, что это за пророк? Не помнишь… Ну так вот, потом вы все, кроме девушки, пошли и поднялись на вон тот минарет, дабы познать небо и сладость безграничного полёта. Джамиля не дошла до ворот, сон сморил её прямо здесь… Я кое-как встал, укрыл её своим халатом и, держась за забор, поковылял за вами. Я кричал тебе, но увы… Твой слух был подчинён исключительно твоему же голосу. Кроме себя ты не слышал никого!

Лев изо всех сил напрягал мозговые извилины, в надежде хоть что-то вспомнить, но память, плотно укутавшись в чадру тумана, категорически отказывалась показать своё личико.

– Дверь, ведущую на верх минарета, гули для тебя просто выломали. Я сам видел, стоя внизу, как сверху спланировал первый кровосос… Он рухнул на камни, расшибаясь в брызги, под твой ободряющий крик: «Лети, Икар, сын мой!» Второго ты почему-то назвал Гастелло, третьего Ан-124, остальные тоже получали какие-то немусульманские имена. Но как они падали, разрази меня аллах! Шумно, ярко, с выдумкой и фантазией, разбиваясь на тысячи лоскутков и горсти серой пыли! После четвёртого я собрал волю в кулак и пополз по ступенькам наверх… Пока добрался до самой высокой площадки, ты уже сбрасывал вниз довольно хихикающего принца.

http://www.labirint-shop.ru/books/21967/

OpenOffice BASIC Programmes guide in CHM

October 10th, 2009

Once I had to write some code in OpenOffice BASIC, and found out how difficult is to get information on this. I wanted a book, like a handbook on all these language and API  stuff, and I did not find it. So I decided to make my own CHM file, which is based on OpenOffice wiki. Now I can take it while offline and it is still useful :)

Read the rest of this entry »