Garmin-XT Howto Send Location to Cell Phone

GARMIN XT navigation software for Windows Mobile and Symbian have very useful function, that parse incoming SMS messages.
First version sample (easy way):

<PeerPoint>Description<C>N 49.00000 E013.00000
<G>20100001

And if cell phone detect this pseudo XML, then asks for start of Garmin XT main application and shows GO! button. You can easily copy&paste this text and replace location in WGS84 format from Google Maps or any other map source.

Official PDF document from GARMIN corporation

Howto encode video for Nokia 5800 XpressMusic

Nokia 5800 XpressMusic can accept only MPEG4 legacy format for smooth playback in 640×360 resolution.
There is no-one program (click’n'go) that can do acceptable quality encoding for this. So here is my encode.bat :-)
You must have ffmpeg installed (i’am using one from SUPER encoder).
As you can see this is very easy and output video have excellent quality due to 2-pass encoding.
Picture is better than standard definition TV and is 16:9… enjoy ;-)

please download encode.bat v2 here
@echo off
set opt=vbitrate=1687500:mbd=2:v4mv:vqmin=3:lumi_mask=0.07:
dark_mask=0.2:scplx_mask=0.1:tcplx_mask=0.1:naq:vhq:precmp=2:
cmp=2:subcmp=2:vb_qoffset=0.6
rem set sub=-sub "file.srt" -subcp cp1250 -subfont-text-scale 3.2 -font c:\WINDOWS\FONTS\ARIALNB.TTF
rem set deinterlace=:phase=b
"C:\Program Files\eRightSoft\SUPER\mencoder\mencoder" -sws 9 -nosound -vf scale=640:360,eq2=1.2:1.1:-0.06:1.2%deinterlace% -ovc lavc -lavcopts vcodec=mpeg4:%opt%:vpass=1 -ffourcc mp4v %sub% -o nul: "%*"
"C:\Program Files\eRightSoft\SUPER\mencoder\mencoder" -sws 9 -oac copy -vf scale=640:360,eq2=1.2:1.08:-0.06:1.1%deinterlace% -ovc lavc -lavcopts vcodec=mpeg4:%opt%:vpass=2 -ffourcc mp4v %sub% -o c:\input.avi "%*"
"C:\Program Files\eRightSoft\SUPER\ffmpeg" -i "c:\input.avi" -vcodec copy -acodec aac -ab 96 -ac 2 -ar 44100 c:\final.mp4
del c:\input.avi
del divx2pass.log
pause
please download encode.bat v2 here

Place this code to file (example C:\WINDOWS\encode.bat) and easily type in prompt “encode.bat video.avi”… then wait and output.mp4 file may appear in current directory.

MariaDB running on explorer.janforman.com

I must try it! :-) Main SQL database is migrated to custom version of MariaDB… hmmm there is a little speed improvement :-D
Binary file mysqld is only 4MB size (-O3 + extreme optimalization) - not bad at all.

MariaDB

Is MariaDB next generation of MySQL?

Press Release
SANTA CLARA, Calif., April 20, 2009 -- Sun Microsystems (NASDAQ: JAVA) and Oracle Corporation (NASDAQ: ORCL) announced today they have entered into a definitive agreement under which Oracle will acquire Sun common stock for $9.50 per share in cash. The transaction is valued at approximately $7.4 billion, or $5.6 billion net of Sun's cash and debt.

Good news: Father of MySQL leaves Sun and starts up MariaDB Project
MariaDB have some new storage engines: Maria, Federated, PrimeBase XT, Percona XtraDB

Web server updated

Web server on explorer.janforman.com (ID:87 - not serving redirect, crypted, image and video hosting) is now 375kb size (-O3 + extreme optimalizations) :-). Don’t know exactly why, but when I disable KEEP-ALIVE it’s much faster than enabled (which is better for engine-X).
Network layer is configured as here…