jenuhkah ?

August 23, 2005

susah memulai menulis. aku lebih baik nulis log kerjaan, programming atau komentar di cvs, itu bisa sampai ribuan baris tanpa merasa jenuh. apakah aku sudah ngga bisa menulis bahasa manusia ? tapi, suer!! aku lebih menikmati nulis bahasa yang hanya dipahami oleh compiler atau interpreter.
Sulit bagi ku untuk menjawab sebuah pertanyaan seperti ini :
Bagaimana hari ini ?
kayaknya aku harus belajar nulis lagi. belajar berkomunikasi dengan manusia menggunakan bahasa tulisan.
* maaf, kebanyakan wikipedia, kayaknya lagi suka.

Makan siang

August 19, 2005

Rasanya kegiatan makan siang akhir-akhir ini istimewa, karena, terus terang, selama di Jogja aku jarang sekali masakan rumahan. Sebenarnya banyak.. mungkin saja aku yang kurang gigih hunting lokasi warung makan. Tapi, di Jakarta, makan siang adalah hal yang istimewa buatku.
Yaitu karena memang harus makan siang, kalau ngga, pasti lemes. Biasanya di Jogja, sarapan pagi dilakukan pada jam makan siang, dan aku baik-baik saja. Mungkin juga karena pekerjaan di Jogja tidak seberat di Jakarta atau kondisi lingkungan antara keduanya yang berbeda jauh, entahlah…
Tapi, yang kemudian terjadi adalah, aku menggemari waktu makan siang. Kadang
Yang aku sukai adalah urap, pecel dan gado-gado plus tempe goreng!.

overture

August 18, 2005
إِنَّ الْحَمْدَ لِلَّهِ نَحْمَدُهُ وَنَسْتَعِيْنُهُ وَنَسْتَغْفِرُهْ وَنَعُوذُ بِاللهِ مِنْ شُرُوْرِ أَنْفُسِنَا وَمِنْ سَيِّئَاتِ أَعْمَالِنَا، مَنْ يَهْدِهِ اللهُ فَلاَ مُضِلَّ لَهُ وَمَنْ يُضْلِلْ فَلاَ هَادِيَ لَهُ. وَأَشْهَدُ أَنْ لاَ إِلَهَ إِلاَّ اللهُ وَحْدَهُ لاَ شَرِيْكَ لَهُ وَأَشْهَدُ أَنَّ مُحَمَّدًا عَبْدُهُ وَرَسُوْلُهُ.
يَا أَيُّهاَ الَّذِيْنَ ءَامَنُوا اتَّقُوا اللهَ حَقَّ تُقَاتِهِ وَلاَ تَمُوْتُنَّ إِلاَّ وَأَنتُمْ مُّسْلِمُوْنَ.
يَا أَيُّهَا النَّاسُ اتَّقُوْا رَبَّكُمُ الَّذِيْ خَلَقَكُمْ مِّنْ نَفْسٍ وَاحِدَةٍ وَخَلَقَ مِنْهَا زَوْجَهَا وَبَثَّ مِنْهُمَا رِجَالاً كَثِيْرًا وَنِسَآءً وَاتَّقُوا اللهَ الَّذِيْ تَسَآءَلُوْنَ بِهِ وَاْلأَرْحَامَ إِنَّ اللهَ كَانَ عَلَيْكُمْ رَقِيْبًا. يَا أَيُّهَا الَّذِيْنَ ءَامَنُوا اتَّقُوا اللهَ وَقُوْلُوْا قَوْلاً سَدِيْدًا. يُصْلِحْ لَكُمْ أَعْمَالَكُمْ وَيَغْفِرْ لَكُمْ ذُنُوْبَكُمْ وَمَنْ يُطِعِ اللهَ وَرَسُوْلَهُ فَقَدْ فَازَ فَوْزًا عَظِيْمًا.
أَمَّا بَعْدُ؛ فَإِنَّ أَصْدَقَ الْحَدِيثِ كِتَابُ اللهَ، وَخَيْرَ الْهَدْيِ هَدْيُ مُحَمَّدٍ صَلَّى الله عَلَيْهِ وَسَلَّمَ وَشَّرَ الأُمُورِ مُحْدَثَاتُهَا وَكُلَّ مُحْدَثَةٍ بِدْعَةٌ وَكُلَّ بِدْعَةٍ ضَلاَلَةٌ وَكُلَّ ضَلاَلَةٍ فِي النَّارِ.

innal hamda lillah, nahmaduhu wa nasta’inuhu.. wa na’udzubillaahi min suruuri anfusinaa wa min sayyiati a’maalinaa.. man yahdihillaahi falaa mudillallah faman yudlilhu falaa haadiyalah..
asyhadu an laa ilaaha illallaahu wa asyhadu annaa muhammadan ‘abduhuu wa rosuuluhu laa nabiyya ba’dah.
qoolallaahu ta’aalaa :
audzubillahi minassyaithoonirrojiim..
yaa. ayyuhalladziina aamanuu, ittaquullaaha haqqo tuqootihi, walaa tamuutunna illa wa antum muslimuun.
yaa ayyuhannaasuttaquu robbakumulladzii kholaqokum minnafsi waahidah, wa kholaqo minhaa zaujaha wa batsa minhuma rijaalan katsiiron wa nisaa’a. wattaqullaaha lladzii tasaa aluuna bihi wal arhaam, innallaaha kaana ‘alaikum roqiibaa.
yaa ayyuhalladziina aamanuu, ittaqullaha wa quuluu qoulan sadiida. yushlih lakum a’maalakum wa yaghfirlakum dzunuubakum wa man yuthi’illaaha wa rosuulahu, faqod faaza fauzan ‘adziima..
‘amma ba’du, fainna asdaqol hadiits kitaabullah, wa khoirol hadyi hadyu muhammad shallallaahu ‘alaihi wa sallam. wa syarrul umuuri mukhdatsatuhaa, wa kulla mukhdatsatin bid’ah, wa kulla bid’ah dholaalah, wa kulla dholaalati finnaari.

mapserver on Fedora Core 3

Install from cd Fedora :
- Apache
- MySql
- LibGD
- LibPNG
- LibGif
- LibJPEG

download all requirement files :

1. GDAL ( http://www.remotesensing.org/gdal/ )
is a translator library for raster geospatial data formats that is released under an X/MIT style Open Source license.
2. PROJ4 ( http://www.remotesensing.org/proj/ )
Cartographic Projections Library
3. Postgresql ( http://www.postgresql.org/ )
is a highly scalable, SQL compliant, open source object-relational database management system.
4. PostGIS ( http://postgis.refractions.net/)
PostGIS adds support for geographic objects to the PostgreSQL object-relational database.
5. PHP ( http://www.php.net )
is a widely-used general-purpose scripting language that is especially suited for Web development and can be embedded into HTML.

Installing :

1. GDAL
extract source file, go to source directory and type :
./configure
make all
make install
2. PROJ4
# extract source file, go to source directory and type :
./configure

make all
make install
3. Postgresql
# extract source file, go to source directory and type :
./configure --with-perl LDFLAGS=-lstdc++
gmake
gmake check
gmake install

useradd postgresql
su - postgres
# in postgres shell :
/usr/local/pgsql/bin/initdb -D /directory/postgre-database
/usr/local/pgsql/bin/postmaster -D /directory/postgre-database >logfile 2>&1 &
/usr/local/pgsql/bin/createdb test
/usr/local/pgsql/bin/psql test
/q
exit

# copy directory postgis into /postgresql-source-dir/contrib/
# example :
cp -R postgis-0.7.5 postgresql-7.3.4/contrib/
cd postgresql-7.3.4/contrib/postgis-0.7.5
# if you want to enable PROJ4 , edit the Makefile to enable it
gmake
gmake install

LD_LIBRARY_PATH=/usr/local/pgsql/lib
export LD_LIBRARY_PATH

PATH=/usr/local/pgsql/bin:$PATH
export PATH

MANPATH=/usr/local/pgsql/man:$MANPATH
export MANPATH

/sbin/ldconfig /usr/local/pgsql/lib

cp /postgresql-source-dir/contrib/start-scripts/linux /etc/init.d/postgresql

# edit /etc/init.d/postgresql matching your database instalation.
chmod +x /etc/init.d/postgresql
chkconfig --add postgresql

# edit postgresql.conf to enable tcp/ip connection

# start postgresql
/etc/init.d/postgresql start

su - postgres
/usr/local/pgsql/bin/createlang plpgsql test
/usr/local/pgsql/bin/psql -f /usr/local/pgsql/share/contrib/postgis.sql test
/usr/local/pgsql/bin/psql -f /usr/local/pgsql/share/contrib/spatial_ref_sys.sql test

4. PHP
# extract source file, go to source directory and type :
./configure --with-mysql --with-pgsql --with-gd --with-jpeg-dir=/usr/ --with-png-dir=/usr/ --with-freetype-dir=/usr/ --enable-gd-native-ttf --with-regex=system --enable-dbase --enable-calendar --enable-ftp --with-zlib --enable-bcmath --with-gettext=/usr/ --with-mysql-sock=/var/lib/mysql/mysql.sock
make all
make install

cp /php-source-dir/php.ini-dist /usr/local/lib/php.ini

5. Mapserver
./configure --with-gdal=/usr/local/bin/gdal-config --with-ogr=/usr/local/bin/gdal-config --with-php=replace-with-php-source-dir/ --with-gd=/usr/ --with-postgis=/usr/local/pgsql/bin/pg_config --with-wmsclient
make all
ln -s /usr/local/lib/libgdal.so.1 /usr/lib/libgdal.so.1
mkdir /usr/local/lib/php/extensions
cp /mapserver-source-dir/mapscript/php3/php_mapscript.so /usr/local/lib/php/extensions/php_mapscript.so
cp /mapserver-source-dir/mapserv /var/www/cgi-bin/mapserv
6. Edit Your php.ini
extension_dir = "/usr/local/lib/php/extensions/"
enable_dl = "on"

#on Dynamic Extension , add :
extension = php_mapscript.so

7. Edit Your httpd.conf
ScriptAlias /php/ "/usr/local/bin/"
AddType application/x-httpd-php .php4 .php3 .phtml .php
Action application/x-httpd-php /php/php
6. end

Hello world!

Welcome to adhi at Blogsome. This is your first post. Edit or delete it, then start blogging!

An email has been sent to you giving you details how to login to the administration section. From there you can change the design by clicking on the tab MANAGE and then click on the tab THEMES. If you have any questions ask them in the forum. We are only too willing to help.