Software Manajemen dan Calibre

Software Manajemen dan Converter E-book

Aplikasi Toko

Program Aplikasi Toko Sederhana Dengan VB 2008 dan Mysql

Biji Terkecil dan Terbesar di Dunia

Biji Terkecil Di Dunia : Biji Anggrek Epifit

When I See You Smile

When I See You Smile, John Waite atau Yoda, Sebuah Opini

Kompres Foto dengan Caesium

Kompres Ukuran Foto yang Besar dengan Caesium

10 Kebiasaan Pembatas Karir

Apakah Anda Memilikinya? Ingin Mengatasinya?

Senin, 21 April 2014

Wrong advertising



Wrong target advertising show in depositfiles.com website.

Sorry, you lose one good prey because I use Linux not Windows...:D.

Kamis, 17 April 2014

Habis Waktu karena mencari error SQLite

Sial memang dua hari yang lalu, lebih 8 jam mencari-cari kesalahan database yang saya buat untuk aplikasi android. Kesalahan yang berupa nilai yang selalu keluar angka 2 dikarenakan code berikut:

unit.setCategoryId(c.getColumnIndex(KEY_CATEGORY_ID));

yang saya gunakan untuk mendapatkan nilai dari baris kolom categoryId di tabel Unit.

Capek saya berpikir mengapa selalu keluar angka 2.

Ternyata, eh ternyata... kode di atas pasti selalu menghasilkan angka 2 karena kode tersebut mencari indeks kolom dari categoryId yang memang di tabel Unit yang saya buat posisinya di indeks no 2. Hadeh... Loja nian bah.

Solusi yang saya dapatkan dengan kerja keras (dan sakit kepala) selama 8 jam adalah dengan cukup menambahkan kode c.getInt sehingga kodenya menjadi:

unit.setCategoryId(c.getInt(c.getColumnIndex(KEY_CATEGORY_ID)));


ya, ya, ya... Ok, lanjut koding lagi.

Kamis, 10 April 2014

New openssl packages are available for Slackware 14.0, 14.1, and -current to fix security issues.

New openssl packages are available for Slackware 14.0, 14.1, and -current to
fix security issues.
http://www.slackware.com/security/viewer.php?l=slackware-security&y=2014&m=slackware-security.533622

Here are the details from the Slackware 14.1 ChangeLog:
+--------------------------+
patches/packages/openssl-1.0.1g-i486-1_slack14.1.txz:  Upgraded.
  This update fixes two security issues:
  A missing bounds check in the handling of the TLS heartbeat extension
  can be used to reveal up to 64k of memory to a connected client or server.
  Thanks for Neel Mehta of Google Security for discovering this bug and to
  Adam Langley <agl@chromium.org> and Bodo Moeller <bmoeller@acm.org> for
  preparing the fix.
  Fix for the attack described in the paper "Recovering OpenSSL
  ECDSA Nonces Using the FLUSH+RELOAD Cache Side-channel Attack"
  by Yuval Yarom and Naomi Benger. Details can be obtained from:
  http://eprint.iacr.org/2014/140
  For more information, see:
    http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2014-0160
    http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2014-0076
  (* Security fix *)
patches/packages/openssl-solibs-1.0.1g-i486-1_slack14.1.txz:  Upgraded.
+--------------------------+


Where to find the new packages:
+-----------------------------+

Thanks to the friendly folks at the OSU Open Source Lab
(http://osuosl.org) for donating FTP and rsync hosting
to the Slackware project!  :-)

Also see the "Get Slack" section on http://slackware.com for
additional mirror sites near you.

Updated packages for Slackware 14.0:
ftp://ftp.slackware.com/pub/slackware/slackware-14.0/patches/packages/openssl-1.0.1g-i486-1_slack14.0.txz
ftp://ftp.slackware.com/pub/slackware/slackware-14.0/patches/packages/openssl-solibs-1.0.1g-i486-1_slack14.0.txz

Updated packages for Slackware x86_64 14.0:
ftp://ftp.slackware.com/pub/slackware/slackware64-14.0/patches/packages/openssl-1.0.1g-x86_64-1_slack14.0.txz
ftp://ftp.slackware.com/pub/slackware/slackware64-14.0/patches/packages/openssl-solibs-1.0.1g-x86_64-1_slack14.0.txz

Updated packages for Slackware 14.1:
ftp://ftp.slackware.com/pub/slackware/slackware-14.1/patches/packages/openssl-1.0.1g-i486-1_slack14.1.txz
ftp://ftp.slackware.com/pub/slackware/slackware-14.1/patches/packages/openssl-solibs-1.0.1g-i486-1_slack14.1.txz

Updated packages for Slackware x86_64 14.1:
ftp://ftp.slackware.com/pub/slackware/slackware64-14.1/patches/packages/openssl-1.0.1g-x86_64-1_slack14.1.txz
ftp://ftp.slackware.com/pub/slackware/slackware64-14.1/patches/packages/openssl-solibs-1.0.1g-x86_64-1_slack14.1.txz

Updated packages for Slackware -current:
ftp://ftp.slackware.com/pub/slackware/slackware-current/slackware/a/openssl-solibs-1.0.1g-i486-1.txz
ftp://ftp.slackware.com/pub/slackware/slackware-current/slackware/n/openssl-1.0.1g-i486-1.txz

Updated packages for Slackware x86_64 -current:
ftp://ftp.slackware.com/pub/slackware/slackware64-current/slackware64/a/openssl-solibs-1.0.1g-x86_64-1.txz
ftp://ftp.slackware.com/pub/slackware/slackware64-current/slackware64/n/openssl-1.0.1g-x86_64-1.txz


MD5 signatures:
+-------------+

Slackware 14.0 packages:
5467a62ebfbe9a9bfff64dcc4cfcdf7d  openssl-1.0.1g-i486-1_slack14.0.txz
bdadd9920f2ce6fe4a0a7bd0d96f99df  openssl-solibs-1.0.1g-i486-1_slack14.0.txz

Slackware x86_64 14.0 packages:
11ede2992e2b5d15bd3ffc5807571350  openssl-1.0.1g-x86_64-1_slack14.0.txz
858ea6409aab45a67a880458ce48f923  openssl-solibs-1.0.1g-x86_64-1_slack14.0.txz

Slackware 14.1 packages:
8638083d9768ffcc4b7c597806ca634c  openssl-1.0.1g-i486-1_slack14.1.txz
4d9dfe9db9e1f286ead72fc60971807b  openssl-solibs-1.0.1g-i486-1_slack14.1.txz

Slackware x86_64 14.1 packages:
d85f8f451f71dd606f3adb59e582322a  openssl-1.0.1g-x86_64-1_slack14.1.txz
43ff4bbfe26f99e7a3b9145146d191a0  openssl-solibs-1.0.1g-x86_64-1_slack14.1.txz

Slackware -current packages:
265a66855320207d4a7567ac5ae9a747  a/openssl-solibs-1.0.1g-i486-1.txz
bf07a4b17f1c78a4081e2cfb711b8748  n/openssl-1.0.1g-i486-1.txz

Slackware x86_64 -current packages:
27e5135d764bd87bdb784b288e416b22  a/openssl-solibs-1.0.1g-x86_64-1.txz
5ef747eed99ac34102b34d8d0eaed3a8  n/openssl-1.0.1g-x86_64-1.txz


Installation instructions:
+------------------------+

Upgrade the packages as root:
# upgradepkg openssl-1.0.1g-i486-1_slack14.1.txz openssl-solibs-1.0.1g-i486-1_slack14.1.txz


+-----+

Slackware Linux Security Team
http://slackware.com/gpg-key
security@slackware.com

Error Eclipse IDE with the Context Assist, "Intellisense"

I have a problem in my Eclipse IDE after installing some application on my Slackware64 14.1 Box yesterday. The Eclipse IDE is always crash when I highlighting a code for getting the Content Assist. At first, I thought the problem arise because I uninstalling the seamonkey and seamonkey-lib packages. But after I reinstalling these two packages, the problems still exist.

The error log can be seen here in pastebin.com.

After hours of tracking down the problem, I found some clues. Remembering that the problem arise after I uninstalling dan installing some applications, I try to uninstalling the all new installed applications and try to run the Eclipse IDE again. Voila, the Eclipse IDE back to normal...:D

Here the list of installed application before Eclipse having a problem:
libwebp, claws-mail, and webkitgtk

I really don't know the exact application which making the Eclipse error, but my intuition tell me that the problem is connected with the webkitgtk package.

Now I can back working on my android application development :D.

Selasa, 08 April 2014

Solution to fix error when trying to run google-chrome in Linux Slackware64 14.1

Google Chrome
After successing repackage Google Chrome debian package with Slackbuild script and installing it, I'm trying to first run the installed Google Chrome but no window being shown up on my laptop monitor. When I'm try to run it on terminal, there are some errors messages like here:
[22495:22495:0407/163940:ERROR:shared_memory_posix.cc(226)] Creating shared memory in /dev/shm/.com.google.Chrome.8s1qNY failed: Permission denied
[22495:22495:0407/163940:ERROR:shared_memory_posix.cc(229)] Unable to access(W_OK|X_OK) /dev/shm: Permission denied
[22495:22495:0407/163940:FATAL:shared_memory_posix.cc(231)] This is frequently caused by incorrect permissions on /dev/shm.  Try 'sudo chmod 1777 /dev/shm' to fix.
The error will be fix and we can run the Google Chrome by  running sudo chmod 1777 /dev/shm. But this solution is just temporay. After restarting the Box, the same problem will reappear.

To permanently fix these errors, we must add a line in /etc/fstab with this text:
tmpfs  /dev/shm  tmpfs   defaults    0     0
Then, restart the Box.

Now, the problem is solved and we can surfing with the Google Chrome :).