node.js based TK102 listener

There is a fairly good looking listener for TK-102 localizers, based on node.js. You can find it in this GitHub repository. I wasn't able to check it out yet, but from the first sight it looks promising.

The only thing, that concerns me, is that many TK-102 clones requires properly formated reply from the server, to continue connection and send actual GPS data. If localizer does not receive such reply, it will break connection. I don't see nothing about sending reply back to localizer, so I'm worried, if this will work with these clones requiring reply-back. But... we'll check it, we'll see it! :]

Remove some pages from PDF and other PDF-editing operations

Acrobat Reader is a free program, but does not contain nothing around editing (with small exception). So operations like removing some pages, rotating some or all pages, converting PDF to other format, extracting pages to graphic format like JPEG, merging two and more PDF files etc. are not available in Acrobat Reader. For these you have to either purchase a paid, full version of Adobe PDF or seek for some other tools or options.

This post discuss a variety of ways and methods of removing certain pages from PDF document and doing some other editing operation on such docs.

Read More "Remove some pages from PDF and other PDF-editing operations"

Convert NTFS to FAT32 without loosing data

There are many irritiating nerds, on many forums and websites, claiming or tryiny to convince you that their belowed piece of software is able to convert NTFS partition to FAT32 without using data. In most cases this is bullshit and it turns out to be only a huge time waste on installing software, that is only able to achieve such converstion, by formatting drive or that it can't do that at all.

Formatting means loosing all your data, but those pesky morons just don't gets this. So, here you have the only known to me method of getting your drive from NTFS to FAT32 under Windows, while keeping your data safe.

Note: Opposite converstion (FAT32 to NTFS) is much, much easier. Take a look at this article for tips on that.

Read More "Convert NTFS to FAT32 without loosing data"

Automate compare in folder sync tool in Total Commander

To automate compare phase (first step) in folder sync tool you should:

  1. Set the parameters as you need them.
  2. Click on the folder button in the top left of the sync dialog to save these settings.
  3. Create a button with the c:\totalcmd\totalcmd.exe /S=S:=backup command.

The := instead of just /S=S:backup causes an automatic start of the comparison.

Of course you must adjust path to reflect your location of Total Commander.

Currently you can automate the compare step, not the copy step. It is considered to risky to be automated.

Over hundred cool icon sets for your website or application

Here you have three different pages, each holding links to 25+ beautiful icons sets:

There are 109 total icons sets presented on these three webpages. Most of them are free. Some of them are devastating beautiful, some have medium quality. But, put together, makes a strong icon sets compilation, in which nearly anyone should find something interesting for his or her current project.

Fix for multi-rename tool bug in Total Commander

If you use Multi-Rename Tool in Total Commander to batch-rename only folders and if all folders are numbered with dot after number (example attached and below) then multi-rename tool will treat all folders as filenames -- i.e. it will "see" everything before dot (two characters in above example) as actual filename and all the rest, after dot, as file's extension. Here is a quick fix for this situation (it actually may not be considered as bug).

Read More "Fix for multi-rename tool bug in Total Commander"

When PHP code should really be treated as unsafe

Yesterday I took a part in interview for PHP developer position. My interview task was to solve fifteen questions in quite simple test. One of the questions was to decide if given code sample be treated as unsafe and in which conditions.

I gave a wrong (as it turned out) answer and the argumentation from the intervieerw was quite surprising for me in the first time. Finally I realized my mistake.

Read More "When PHP code should really be treated as unsafe"

Things for which I trully hate PHP and its creators

PHP is the most popular programming language for development of webpages and web services. With addition of a good framework it can even produce a professional results. However, this does not change the fact, that it is also the most shitty programming language in the world, full of garbage and with number of stupidities beyond imagination. And professional programming (without a good framework) is impossible.

Even though this is a language of my choice (only after cleaning it from all the shit, by using a good framework), I decided to write this article, where I'm pointing out most annoying and stupid things, I ever found in PHP.

Notice, that I'm not talking here about things that some may see as wrong, while other will see as good. For example, I'm not talking about types auto-declaration and auto-change, which ones (mostly newbies) takes as ease of coding and others (mostly profs) as source of mess.

I'm talking here only about pure madness, confirmed piece of shit and horrible pain in the ass, this language is.

Please, take also into consideration that this text was written under strong emotional influence and thus it (intentionally!) contains a lot of harsh language and words or phrases that some readers may not accept.

Read More "Things for which I trully hate PHP and its creators"

Get rid of Police-blocked computer or other type of ransomware

Your computer has been blocked by a police due to serious crimes you did and the only way to unblock it is to pay a ransom? Even a complete moron should understand that real police (or any other legal, law-oriented forces) has nothing to do with it. Here, you'll find, why and most important -- how to get rid of this problem, without loosing your data (in most cases).

Read More "Get rid of Police-blocked computer or other type of ransomware"

Successfull online marketing for beginners

Once upon a time I read (tried to read) a book about on-line marketing. It was authored by Caroline or Catherine Seda, if I'm not mistaken. It was so complete disaster, that I left this book in the train, where I was reading it. Out of nearly two hundreds pages (or something around this) I was able to write-down only thirteen or so interesting ideas. Rest was a total blah-blah and a complete waste of my time.

I present these ideas here, supported a bit by my own thoughts. I divided them into two groups -- one group of tips and tricks to be used on your everyday journey through Internet and the other one to be considered when building your website.

Read More "Successfull online marketing for beginners"

Using AJAX head-type requests to check size of remote scripts

Checking size for inline scripts is as easy as document.getElementsByTagName('script')[0].text.length (solution taken from here). But, when it comes to measuring size of remote resources things gets a little bit complicated. Mostly due to cross-site restrictions and reducing unnecessary server load. Head-type of AJAX call, not so famous among developers, may help in this case.

Read More "Using AJAX head-type requests to check size of remote scripts"

Disable refreshing of removable drive contents in Total Commander

When CD or DVD is ejected from drive, Total Commander "resets" contents of the pane to nearest available drive (usually C:). It is normal and obvious because contents of CD or DVD are no longer available. But, the same thing happens even if Total Commander is in background. This might be seen as an annoying feature, because each time you change CD or DVD in drive, you have to manually again select that drive in Total Commander. Fortunately, there is an easy solution for this.

Read More "Disable refreshing of removable drive contents in Total Commander"

Forcing default encoding on all files in Netbeans

A default file encoding for every file in Netbeans is defined at project level -- see Project Properties dialog, Sources category. But there's nothing similar (possible) for particular files without a project. If you're using Netbeans just as an editor then all files opened from outside any project will be scrambled, because Netbeans is not using UTF-8 encoding by default on all files.

Read More "Forcing default encoding on all files in Netbeans"

Synchronize directories in Total Commander ignoring certain files

The Synchronize directories tool in Total Commander is magnificent and I'm using it very often for all my backup-like and sync-like works. The only thing, that I was missing is an ability to ignore hidden system files or files stored in .svn or .git folders, i.e. hidden version control files. So, I wrote to Total Commander's author and received immediate response, that this is possible.

Read More "Synchronize directories in Total Commander ignoring certain files"

WolframAlpha in action

If you don't know, what WolframAlpha is then consider a Star Trek computer answering your even wildest mathematical and statistical questions. Want to know the population of Far East countries in mid-fifties of XX century? Or statistically how many cities were involved in biggest earthquakes in history?

This and many other questions may be easily solved with WolframAlpha. If you're still not convinced, then why don't you take a look at live demo of WA for iPad. Let it convince you!