30 August 2010
Index of files
Funny how this search phrase will effectively filter-out most filesharing sites and give you 90% direct link download assuming you know (at least partially) the filename. Type "index of" [filename] in google yeah
Categories:
fun
16 August 2010
Why people don't like KDE?
Does Ubuntu (Gnome) really that good? Till most Gnu/Linux distro use Gnome?
Yeah it's lightweight desktop but so does fluxbox (even more). Today I try OpenSUSE 11.2 KDE4 Edition and I find it much cooler than Windows 7 Aero or more like a mix between OSX and 7. IMO that's the most sane and intuitive desktop I've ever seen in Gnu/Linux platform. Why KDE has less userbase? QT 4.x is certainly better than GTK in many case... But why such beautiful desktop is considered inferior? Amusing, I don't get it...
Just wondering
Yeah it's lightweight desktop but so does fluxbox (even more). Today I try OpenSUSE 11.2 KDE4 Edition and I find it much cooler than Windows 7 Aero or more like a mix between OSX and 7. IMO that's the most sane and intuitive desktop I've ever seen in Gnu/Linux platform. Why KDE has less userbase? QT 4.x is certainly better than GTK in many case... But why such beautiful desktop is considered inferior? Amusing, I don't get it...
Just wondering
Categories:
linux
14 August 2010
PyGTK-2.21.0 Unofficial Win32 Binaries
This page is obsolete! updated here (complete installer)
I finally able to test GTK 2.90.5 which has windows-theme fixed since 2.90.3. This version is actually unstable GTK 3.x but the rundown is Windows native theme is back! As with PyGTK 2.21 unstable released, I try to apply the patch onto GTK 2.21.5 which seems to be working also there is a windows-specific issue with GDK Pixbuf 2.21 (now separated) that pixbuf apparently not using HModule to find its basepath instead rely on hardcoded compile-prefix path. I try to fix this issue and seems going fine too. I don't know whether they will release version 2.22 and fix these or go straight to 3.0 but it seems the previous.
WARNING: These are unofficial yet UNSTABLE VERSION binaries. No installer will ever provided.
read this page for installation and general notes
PyGTK-2.21.0.win32-py26 compiled with Glade and Numpy support (463KB no docs)
PyGObject-2.21.5.win32-py26 compiled with ffi support (192KB no docs)
PyCairo-1.8.8.win32-py26 (19KB no docs)
WARNING: If you mix dlls, you're on your own way.
GTK-2.21.5-Runtime (5.18MB no docs) contains:
gtk+-2.21.5
gdk-pixbuf-2.21.6
glib-2.25.13
libglade-2.6.4
glade3-3.7.0
cairo-1.8.10
atk-1.30.0
pango-1.28.0
freetype-2.4.1
fontconfig-2.8.0
libxml2-2.7.7
libffi-3.0.9
librsvg-2.26.3
libcroco-0.6.2
libgsf-1.14.18
libwmf-0.2.8.4
jpeg-8a
jasper-1.900.1
libpng-1.4.2
tiff-3.9.2
Localisation (3.54MB)
Update:
Now this is sucks for Windows platform!, GTK-2.21 while get theming back is still has many bugs in UI area, tablet and other possibly lurkings
Notes:
- I decided to move bin\*.* outside to root as it seems more Windowish-way
- PyGObject 2.21 actually a bit too old for current PyGTK 2.21 or Glib 2.25.x but seems to work (compatible) anyway
- Be advised that some dll are quite common (zlib, bzip, etc) and often available and used by other software. If you ever experienced "missing procedure error" try to test it with M$ Depends, it might just another same name but different dll file gets on your way instead of mine. Generally you can fix it by re-arrange PATH environment.
- If your have problem with py2exe when building package, you might want to see here for some common pitfalls and example.
- There are missing icons in glade (spinner) see here
I finally able to test GTK 2.90.5 which has windows-theme fixed since 2.90.3. This version is actually unstable GTK 3.x but the rundown is Windows native theme is back! As with PyGTK 2.21 unstable released, I try to apply the patch onto GTK 2.21.5 which seems to be working also there is a windows-specific issue with GDK Pixbuf 2.21 (now separated) that pixbuf apparently not using HModule to find its basepath instead rely on hardcoded compile-prefix path. I try to fix this issue and seems going fine too. I don't know whether they will release version 2.22 and fix these or go straight to 3.0 but it seems the previous.
WARNING: These are unofficial yet UNSTABLE VERSION binaries. No installer will ever provided.
read this page for installation and general notes
PyGTK-2.21.0.win32-py26 compiled with Glade and Numpy support (463KB no docs)
PyGObject-2.21.5.win32-py26 compiled with ffi support (192KB no docs)
PyCairo-1.8.8.win32-py26 (19KB no docs)
WARNING: If you mix dlls, you're on your own way.
GTK-2.21.5-Runtime (5.18MB no docs) contains:
gtk+-2.21.5
gdk-pixbuf-2.21.6
glib-2.25.13
libglade-2.6.4
glade3-3.7.0
cairo-1.8.10
atk-1.30.0
pango-1.28.0
freetype-2.4.1
fontconfig-2.8.0
libxml2-2.7.7
libffi-3.0.9
librsvg-2.26.3
libcroco-0.6.2
libgsf-1.14.18
libwmf-0.2.8.4
jpeg-8a
jasper-1.900.1
libpng-1.4.2
tiff-3.9.2
Localisation (3.54MB)
Update:
Now this is sucks for Windows platform!, GTK-2.21 while get theming back is still has many bugs in UI area, tablet and other possibly lurkings
Notes:
- I decided to move bin\*.* outside to root as it seems more Windowish-way
- PyGObject 2.21 actually a bit too old for current PyGTK 2.21 or Glib 2.25.x but seems to work (compatible) anyway
- Be advised that some dll are quite common (zlib, bzip, etc) and often available and used by other software. If you ever experienced "missing procedure error" try to test it with M$ Depends, it might just another same name but different dll file gets on your way instead of mine. Generally you can fix it by re-arrange PATH environment.
- If your have problem with py2exe when building package, you might want to see here for some common pitfalls and example.
- There are missing icons in glade (spinner) see here
Categories:
custom build,
GTK,
python
07 August 2010
How to retrieve locked temporary flash video
I just watch GRASS: The History Of Marijuana at youtube and as usual I simply left it to complete then take the result from firefox's cache folder. But it's not there anymore because my cache setting was far below the video size so I need to repeat the loading process which is so much waste of time. I though that maybe an application that able to directly access harddrive (bypassing windows) may get locked file (those fla*.tmp file under user's temporary folder). I quickly searh some installed freeware on my starmenu and only find Recuva as a candidate to do this, despite inappropriate tool Recuva does the job perfectly nonetheless, here is the screenshot:
First you need to put filemask like fla*.tmp in the search input, press scan, wait for a while (depends on harddrive size) and select the file and recover. That's how to get locked files in Windows. edit: Umm you can unlock with Unlocker :-/ but my point here is "tools that have direct access to harddrive" will show you everything underneath. edit once again: unlocker can't unlock it! shit! now I lose my file forever! What a crap! I can just killing the right process too with Process Explorer if that what Unlocker do.. Crap! I'm pissed off I'm really on slow connection here not work
recuva settings
Result
First you need to put filemask like fla*.tmp in the search input, press scan, wait for a while (depends on harddrive size) and select the file and recover. That's how to get locked files in Windows. edit: Umm
25 July 2010
Optimized FFMPEG with AoTuV
Newer binary ffmpeg 0.9 moved here
In my previous post I have demonstrate a wacky batch conversion from mp3 to ogg (vorbis). Unfortunately today aac is in charge to unset mp3. So this time let's set it once for all, Let's convert all kind of inferior lossy format to ogg vorbis! Alright.
This time I compile a special FFMPEG that use AoTuV instead of vanilla libvorbis. The change was dramatic, when encoding very low bitrate (32, 48 Kbps or quality -2,-1) AoTuV is up to 4x faster, higher quality and regular vorbis simply can't do that low bitrates. Thus with ogg emerged as one of prefered format for HTML5 AudioVideo, it will provide bandwidth-starved streaming ability in.
Download
FFMPEG-SVN-r24538 w/ AoTuV 2.67MB (win32 binary with MT and proc. runtime detection)
VorbisGain (from rarewares)
FFPLAY 1.76MB
FFPROBE 1.68MB
FFMPEG docs and presets file
License: GPLv3
Put them (vorbisgain.exe & ffmpeg.exe) to a comfortable place like C:\Windows or anywhere you've defined in PATH variable. Use ffplay to test WebM video
A simple batch to convert know audio files (excluding lossless/flat format like flac, wav):
from command prompt under root folder where your music located, type:
for /r %f in (*.mp3 *.aac *.m4a *.vqf *.mp2 *.ac3 *.wma *.ra) do ffmpeg -loglevel quiet -i "%f" -acodec libvorbis -aq 0 -map_meta_data 0:0 -y "%~dpnf.ogg" && vorbisgain -q -s -f "%~dpnf.ogg" && del "%f"
Meaning: for every those kind of files in current folder and all subfolders, run ffmpeg silently to convert it into ogg vorbis at quality 0 also copy source's tag (metadata) into target file, after that run vorbisgain to apply replaygain on encoded file then if everything is fine delete source file.
Or you can do it over video clip files too:
for /r %f in (*.avi *.wmv *rm *.asf *.mov *.mpg) do ffmpeg -loglevel quiet -i "%f" -vn -acodec libvorbis -aq 0 -map_meta_data 0:0 -y "%~dpnf.ogg" && vorbisgain -q -s -f "%~dpnf.ogg"
Output will have tag fully transfered and replaygain enabled. -aq 0 is roughly equal to 64kbps (-ab 64k)
Notes for audiophile people:
- I'm aware that vorbisgain have somewhat lower than expected value (loudness) but IMO it's more likely a safe bet.
- I've no HQ ears nor sound system so IMH ears those quality between SOX and FFMPEG is not too dissimilar.
Notes for existing ffmpeg user:
- This build is roughly the same as official autobuild one except I use vorbiscommet patch and AoTuV instead vanilla libvorbis else it also bundling latest encoders: x264, Theora, Lame, WebM and so on. see the msg for detail
In my previous post I have demonstrate a wacky batch conversion from mp3 to ogg (vorbis). Unfortunately today aac is in charge to unset mp3. So this time let's set it once for all, Let's convert all kind of inferior lossy format to ogg vorbis! Alright.
This time I compile a special FFMPEG that use AoTuV instead of vanilla libvorbis. The change was dramatic, when encoding very low bitrate (32, 48 Kbps or quality -2,-1) AoTuV is up to 4x faster, higher quality and regular vorbis simply can't do that low bitrates. Thus with ogg emerged as one of prefered format for HTML5 AudioVideo, it will provide bandwidth-starved streaming ability in.
Download
FFMPEG-SVN-r24538 w/ AoTuV 2.67MB (win32 binary with MT and proc. runtime detection)
VorbisGain (from rarewares)
FFPLAY 1.76MB
FFPROBE 1.68MB
FFMPEG docs and presets file
License: GPLv3
Put them (vorbisgain.exe & ffmpeg.exe) to a comfortable place like C:\Windows or anywhere you've defined in PATH variable. Use ffplay to test WebM video
A simple batch to convert know audio files (excluding lossless/flat format like flac, wav):
from command prompt under root folder where your music located, type:
for /r %f in (*.mp3 *.aac *.m4a *.vqf *.mp2 *.ac3 *.wma *.ra) do ffmpeg -loglevel quiet -i "%f" -acodec libvorbis -aq 0 -map_meta_data 0:0 -y "%~dpnf.ogg" && vorbisgain -q -s -f "%~dpnf.ogg" && del "%f"
Meaning: for every those kind of files in current folder and all subfolders, run ffmpeg silently to convert it into ogg vorbis at quality 0 also copy source's tag (metadata) into target file, after that run vorbisgain to apply replaygain on encoded file then if everything is fine delete source file.
Or you can do it over video clip files too:
for /r %f in (*.avi *.wmv *rm *.asf *.mov *.mpg) do ffmpeg -loglevel quiet -i "%f" -vn -acodec libvorbis -aq 0 -map_meta_data 0:0 -y "%~dpnf.ogg" && vorbisgain -q -s -f "%~dpnf.ogg"
Output will have tag fully transfered and replaygain enabled. -aq 0 is roughly equal to 64kbps (-ab 64k)
Notes for audiophile people:
- I'm aware that vorbisgain have somewhat lower than expected value (loudness) but IMO it's more likely a safe bet.
- I've no HQ ears nor sound system so IMH ears those quality between SOX and FFMPEG is not too dissimilar.
Notes for existing ffmpeg user:
- This build is roughly the same as official autobuild one except I use vorbiscommet patch and AoTuV instead vanilla libvorbis else it also bundling latest encoders: x264, Theora, Lame, WebM and so on. see the msg for detail
Categories:
custom build,
DAW,
video editing
20 July 2010
Stardict edisi KBBI
Beberapa bulan lalu seseorang bernama Steven Haryanto mengunduh seluruh halaman2 web dari http://pusatbahasa.diknas.go.id/kbbi/ memakai perl (regex?) untuk dikonversi menjadi format IFO (Stardict). Nah aku jadi tertarik unutk membuatkan installer Stardict yang khusus Inggris<->Indonesia; isinya antara lain: Kamus kosakata+sinonim Inggris (US) WordNet, Kamus Indonesia<->Inggris MasNDon dan Kamus Besar Bahasa Indonesia versi online itu sendiri.
Aspek legalitas: Menurutku versi IFO tersebut tidak bermasalah toh pada situsnya memang diperuntukkan untuk semua orang yang penting namanya tetap sama yakni Kamus Besar Bahasa Indonesia, Edisi III (2005). Hanya saja tidak setiap orang kan punya internet dan lagi bukunya mahal, jadi ide mas Steven ini patut dikasih 4 jempol!
Stardict adalah program kamus open source yang dibuat oleh Hu Zheng
Installer: Stardict 3.0.1 edisi KBBI untuk Windows (12.9 MB)
Aspek legalitas: Menurutku versi IFO tersebut tidak bermasalah toh pada situsnya memang diperuntukkan untuk semua orang yang penting namanya tetap sama yakni Kamus Besar Bahasa Indonesia, Edisi III (2005). Hanya saja tidak setiap orang kan punya internet dan lagi bukunya mahal, jadi ide mas Steven ini patut dikasih 4 jempol!
Stardict adalah program kamus open source yang dibuat oleh Hu Zheng
Installer: Stardict 3.0.1 edisi KBBI untuk Windows (12.9 MB)
Categories:
custom installer,
dict,
lokal
19 July 2010
Thoughts about wikipedia xml dump
They are the BIGGEST single plain text file that I've ever seen in my life! and I'm talking about the 27GB english version.
So they choose bzip2 why? OK they recently move to 7z anyway (but I still got the bz2 one)... 7zip decompression is far faster than bzip2.
They provide a python library called mwlib to work with the dump. This is where I getting interested with. For my country Indonesia, I think this is a great asset for education. People here are mostly (even in Java island) are still alien to the internet. Worse, when recent videotape scandal of local artist boasted over the media, most people set a negative feeling about the internet. Even our minister are outspoken about his plan to censor the internet! LOL talk about China. Anyway with a little mindset changes, for example: instead of forcing to buy secondary bike which mostly for show off, people should better invest on computer even the cheapest one they can get. At least it doesn't eat gas. With the idea of making portable wiki in flashdrive like wikitaxi. People get access to one of the best knowledge source legally for free. Youngster can be forced to "read" more than foolishly chatting on facebook and playing oxymoron games.
So they choose bzip2 why? OK they recently move to 7z anyway (but I still got the bz2 one)... 7zip decompression is far faster than bzip2.
They provide a python library called mwlib to work with the dump. This is where I getting interested with. For my country Indonesia, I think this is a great asset for education. People here are mostly (even in Java island) are still alien to the internet. Worse, when recent videotape scandal of local artist boasted over the media, most people set a negative feeling about the internet. Even our minister are outspoken about his plan to censor the internet! LOL talk about China. Anyway with a little mindset changes, for example: instead of forcing to buy secondary bike which mostly for show off, people should better invest on computer even the cheapest one they can get. At least it doesn't eat gas. With the idea of making portable wiki in flashdrive like wikitaxi. People get access to one of the best knowledge source legally for free. Youngster can be forced to "read" more than foolishly chatting on facebook and playing oxymoron games.
17 July 2010
Downloading huge file under slow dial-up modem
Today I'm progressing 70% of wikipedia download and I've found a good setting for downloading this 6GB monster of science. http://download.wikimedia.org/enwiki/20100622/enwiki-20100622-pages-articles.xml.bz2
When a download stuck for a long time it seems a sign that a corrupted data has take place. At least that what happen during the first 800MB download using Free Download Manager (FDM). I switch to curl after the prolonged glitches didn't stopped, and continue the unfinished download. After patching 10 corrupted areas, I found later that curl didn't hampered by the same issue. And here is how...
When a download stuck for a long time it seems a sign that a corrupted data has take place. At least that what happen during the first 800MB download using Free Download Manager (FDM). I switch to curl after the prolonged glitches didn't stopped, and continue the unfinished download. After patching 10 corrupted areas, I found later that curl didn't hampered by the same issue. And here is how...
Pimp your GTK application
Fact: Visually ugly application will get poor acceptance in Windows world (even with blessed functionality)
PyGTK/GTK applications in windows are commonly distributed with its own version of GTK runtime. Why? cause Windows' user hate bloated dependencies, even when official GTK runtime available for download it's still a bad excuse there even more than one source, the one at sourceforge and other one at gnome's ftp which add more confusion. Eventually every developer start abandoning shared GTK runtime (those that installed in Programs Files\Common Files\GTK or Program Files\GTK). In short, there is no strict convention to follow since GTK ported on Windows.
This situation should bring good chance for developer to pimp their apps indepedently since there is a gtkrc for each apps. The de facto theme is MS-Windows which took windows' native theme. But there is much more! visit http://gnome-look.org/ for user contributed theme or http://art.gnome.org/themes/ for official distribution, some major linux distros also often design their own theme too. If you want to make your own theme visit http://live.gnome.org/GnomeArt/Tutorials/GtkThemes
PyGTK/GTK applications in windows are commonly distributed with its own version of GTK runtime. Why? cause Windows' user hate bloated dependencies, even when official GTK runtime available for download it's still a bad excuse there even more than one source, the one at sourceforge and other one at gnome's ftp which add more confusion. Eventually every developer start abandoning shared GTK runtime (those that installed in Programs Files\Common Files\GTK or Program Files\GTK). In short, there is no strict convention to follow since GTK ported on Windows.
This situation should bring good chance for developer to pimp their apps indepedently since there is a gtkrc for each apps. The de facto theme is MS-Windows which took windows' native theme. But there is much more! visit http://gnome-look.org/ for user contributed theme or http://art.gnome.org/themes/ for official distribution, some major linux distros also often design their own theme too. If you want to make your own theme visit http://live.gnome.org/GnomeArt/Tutorials/GtkThemes
16 July 2010
Two most valuable and gigantic download for FREE
1st is wikipedia monthly database dump currently sized 6GB and growing (I still downloading and fighting corrupted data) : http://download.wikimedia.org/enwiki/
2nd is about my hobby -observing maps- of Blue Marble NG satellite imagery from NASA Observatory. currently I have the level 4 which I got it 3 years ago by secretly implanted emule on public cybercafe :). Now (a year ago) NASA publish 500m/pixel which each month globe image sized more than 3GB (totaling almost 40GB). Of course it's not as detailed as google earth not even google maps. But you can get it offline for free! no fuss no compromise! : http://mirrors.arsc.edu/nasa/ or http://worldwind28.arc.nasa.gov/public/
To open very high resolution png/jpg, I use nip2 (other than WorldWind itself)
2nd is about my hobby -observing maps- of Blue Marble NG satellite imagery from NASA Observatory. currently I have the level 4 which I got it 3 years ago by secretly implanted emule on public cybercafe :). Now (a year ago) NASA publish 500m/pixel which each month globe image sized more than 3GB (totaling almost 40GB). Of course it's not as detailed as google earth not even google maps. But you can get it offline for free! no fuss no compromise! : http://mirrors.arsc.edu/nasa/ or http://worldwind28.arc.nasa.gov/public/
To open very high resolution png/jpg, I use nip2 (other than WorldWind itself)
Subscribe to:
Posts (Atom)

