January 2012
11 posts
6 tags
Installing Sphinx Search on Basic 64-bit Amazon...
This is a simple step by step in installing Sphinx Search on Basic 64-bit Amazon Linux AMI. This is applicable to 32-bit too. This installation is very bare, starting from zero installation at all. The conditions I wanted to meet: Using the very latest Sphinx Search documents. And when I say latest, I mean it. I am using Sphinx Search trunk, because I need the RealTime Indexing (RT Index) and...
Jan 28th
Jan 24th
1 note
Jan 18th
3 notes
Jan 18th
2 notes
Jan 18th
1 note
Using Sphinx as denormalized table: Need your...
Hey guys, I need your point of view on this. So I have this query, which can take up to 17 (Seventeen!) tables into one query. I have been using Sphinx a lot for searches, and luckily, since Sphinx 1.10-beta, we have this attribute called sql_attr_string. What this attribute does is store the value for retrieval at Sphinx. So this is what I get (below is a sphinx index): mysql> select...
Jan 6th
Fighting Content Piracy →
aulia-m: From Jakarta Globe: Business models should be based on customer demand and an understanding of what is technically feasible - not a desire to maintain existing models or cash flows. In other words, you need to adapt the map to the terrain - you cannot change the terrain to suit the map.
Jan 6th
6 notes
Jan 5th
1 note
Jan 5th
1 note
Object runs faster than array!
Amazing new finding again. Now take a look at this: foreach ($query->result_array() as $page): $links .= '<a href="'.site_url($page['uri']).'">'; $links .= ucwords($page['title']).'</a><br />'; endforeach; compared to this: foreach ($query->result() as $page): $links .= '<a href="'.site_url($page->uri).'">'; $links .=...
Jan 3rd
Foreach Loop Optimization
This is crazy! I’ve just found out that: $pages = $query->result_array(); foreach ($pages as $page):  is a lot faster than: foreach ($query->result_array() as $page): Crazy! It happens that $query->result_array() is called multiple times if you put it inside the foreach(). I need to learn more…
Jan 2nd
December 2011
4 posts
Find files that is larger than n KB in Linux →
find / -type f -size +20000k -exec ls -lh {} \; | awk ‘{ print $9 “: ” $5 }’
Dec 20th
Trouble in opening CSV formats on Microsoft Excel
When you open a CSV file with Excel, they will check your regional settings, and sometimes depending on your regional setting, they will use comma or semicolon. To let Excel know that you only want one of those type of separators, you should generate your CSV like this: sep=, “col1”,”col2”,”col3”  … or this: sep=;...
Dec 15th
IMAP doesn't exist. PHP must be compiled with IMAP...
If you event get this message from OsTicket, all you have to do is: # yum install php-imap And voila! Problem solved.
Dec 7th
550 Permission denied. Passive mode refused.
If you found this message when you are accessing vsftpd ftp server, then you need to do this: [root@Production]/etc/vsftpd# ftp localhost Connected to localhost (127.0.0.1). 220 (vsFTPd 2.2.2) Name (localhost:xxx): xxx 331 Please specify the password. Password: 230 Login successful. Remote system type is UNIX. Using binary mode to transfer files. ftp> debug Debugging on (debug=1). ftp> ls...
Dec 4th
November 2011
4 posts
Swiftmailer bug simple fix
There’s a major bug in Swiftmailer, where sometimes your email returns 0 bytes attachment, or broken html email, or broken plaintext email in Yahoo? Well the cause of this is that Swiftmailer wrongly sends header and body. They forgot to separate the two. --_=_swift_v4_13225521024ed48b26208bf_=_ Content-Type: application/pdf; name=#101086-8144-487-MOVIE.pdf Content-Transfer-Encoding:...
Nov 28th
Manipulate Reported URL for Better Google...
So this is the case. You have this uber cool website, with lots of different content types in the first directory segment. For example: http://www.domain.com/this-is-a-hotel-profile The problem is that you want to identify this as a hotel profile page, and wanted to be able to differentiate with other pages such as /myprofile or /this-is-a-user-profile on Google Analytics. The solution, is...
Nov 16th
This is what startups is all about
Tiket.com akan launching dalam waktu 11 hari. Kalau melihat ke belakang, kita mengembangkan tiket.com ini dalam waktu kurang dari 3 bulan lho! Saya ingat team baru mulai benar-benar di-assemble setelah 17 Agustus 2011. Yang tadinya berdua saja coding dengan Ivan, sekarang team dev sudah berenam. Dan dalam waktu 3 bulan itu kita sudah membuat: front-end browser interface front-end mobile...
Nov 6th
Nov 4th
11,716 notes
October 2011
2 posts
GIT 101: Git Stash
Sedang di tengah-tengah coding, tiba-tiba klien bilang kalau dia nemu bug di situs. Apa yang akan kamu lakukan? Git commit? Tapi codingannya belum selesai, dan malah akan membuat situsnya tambah kacau. Solusinya? git stash Itu saja! Setelah git stash, maka kamu bisa mulai membenarkan bug (yang ada di branch yang sama) atau lompat ke branch yang lainnya (misal branch devel ke branch...
Oct 11th
5 tags
Oct 7th
18 notes
September 2011
5 posts
Sep 20th
1 note
7 tags
Sep 9th
31 notes
Killing SphinxSearch Windows Service that is stuck...
Ever had a moment where you tried to stop a service, but ended up stuck in the “stopping” process without you being able to kill it in the Task Manager? Well here’s the way out: C:\sphinx\bin>sc queryex sphinxsearch SERVICE_NAME: sphinxsearch         TYPE               : 10  WIN32_OWN_PROCESS         STATE              : 3  STOP_PENDING                            ...
Sep 8th
Sep 6th
1 tag
“40% of Inc. magazine top 500 CEOs had entrepreneurial parent”
– My analysis is that there are two cause to this: first is that their parent let them become an entrepreneur; second is that their parent is their invisible mentors.
Sep 4th
20 notes
August 2011
5 posts
Pud's Blog: Why Must You Laugh At My Back End →
Trained by experience. :) pudjam666: Disclaimer I’m not a trained engineer or sys admin. Never even finished a book on it. But I’ve launched (and sold) a few things that have become popular (ref: here and here), so sometimes people ask me about my back end. Which ends up in blank stares, or worse. OS: Windows Server 2008….
Aug 31st
41 notes
4 tags
Some people just don't understand the coming soon... →
ngupingteknologi: ada yang mau beli tiket online di web yang masih under development. /via @nataliardianto @ariauakbar
Aug 27th
65 notes
WARNING: could not open pipe (GetLastError()=5)
If you found this error while running Sphinx Search indexer in Windows, then all you have to do is this: C:\sphinx\bin>searchd --delete --servicename SphinxSearch C:\sphinx\bin>searchd --install --config "C:/sphinx/config/sphinx.conf" --servicename SphinxSearch Notice the quotation mark when declaring the config. Yes! The bug is caused by the lack of quotation mark! Go figure. Note:...
Aug 22nd
Aug 17th
1,050 notes
July 2011
1 post
“Continuous improvement. Success is not a result, it’s just a state.”
– Gimson Ahmed, about Ferruccio Lamborghini originally built tractors
Jul 31st
Facebook crazy long Integer ID
Are you puzzled with the 15 digits long integer ID at Facebook? I know I am! If you happen to find that your suppose to be integer ID all of the sudden become a floating point number, here’s a simple solution: $facebook_id = 123456789012345; // outputs as float $formatted_id = number_format($facebook_id, 0, ‘.’, ”); echo $formatted_id; // back to it’s normal integer...
Jul 26th
1 note
June 2011
7 posts
Jun 21st
525 notes
“$this->rumus_what = “( log10( ratings * testimonial_count ) * @weight /...”
– Rumus algoritma search Urbanesia.com dengan menggunakan Sphinx Search untuk yg relevancy. Jadi yang dihitung adalah: Rating, makin besar makin tinggi. Jumlah testimonial, makin banyak makin tinggi. Rating dan testimonial di logaritmik, sehingga rating gede tapi jumlah testimoninya sedikit ngga...
Jun 21st
“(Mentor) Grade f pun masih bisa mengajari saya jauh lebih banyak daripada...”
– Aria Rajasa
Jun 19th
1 note
The Free Icon Editor →
Basically, the best ico editor, multiple icons in one file. The good part is it’s freeware.
Jun 13th
“To be a leader, you have to LEAD!”
– Natali Ardianto
Jun 10th
1 tag
“measure revenue, not conversion rate”
– I have suggested it earlier in the article but will make it clearer here. During price testing, you should measure revenue (not conversion rate). Because even though you may end up selling less (hence lower conversion rate) at higher price points, your total revenues may actually be higher. -...
Jun 9th
28 notes
2 tags
“startups are kings di sini. geeks are cool. orang-orang yang working on startups...”
– Angelina Veni
Jun 6th
13 notes
March 2011
2 posts
Detak jantung seorang mahasiswa
fuckyeahmahasiswa: dari domdilemma
Mar 31st
503 notes
3 tags
Totally Funny Home Video
This video was made on our trip to Ireland, invited by Enterprise Ireland. We had some quite good time here *obviously*, and the footage was actually wacky. Mind us, we are not pro in handling video *yet*
Mar 27th
1 note
4 tags
Starting a Startups
Arrived home from Dublin at Friday 2 am, I have to prepare a presentation because I was asked to present for a seminar held by University of Indonesia on Saturday. The event is called Technobusiness 3rd Version and the session theme was “Menjadi Pebisnis Online: Peluang, Tantangan, dan Solusi” (Becoming online businessmen: Opportunity, Challenges and Solutions). The event was held by...
Mar 25th
February 2011
1 post
3 tags
Salah delete akun user di situs anda?
Membaca berita tentang admin Flickr yang tidak sengaja menghapus akun usernya dan membutuhkan waktu beberapa hari untuk merestore ulang, saya jadi tergelitik untuk sharing. (Baca beritanya dulu: Flickr Secara Tidak Sengaja Hapus Akun Pengguna Mereka & Flickr Kembalikan Foto Beserta Semua Data Akun Mirco Wilhelm) Dalam web developement, khususnya untuk situs yang memiliki akun untuk user,...
Feb 3rd
15 notes
November 2010
2 posts
6 tags
Caching & Optimizing in Urbanesia
It has been a while since the last time I wanted to write something about Urbanesia. It was one of my best product, technology wise. I had learned a lot of techniques from my colleagues, especially from Andri Burman. Without further a do, here’s a few important points that you need to know about Urbanesia. Squid as Reverse Proxy By using Squid, it will make your single server looks 4 times...
Nov 30th
14 notes
3 tags
Pecha-Kucha Jakarta volume 7 Speaker#10 Natali...
Here is a video presentation of presentation for #StartupLokal community at Pecha Kucha Jakarta volume 7. More videos of the speakers at Pecha Kucha Jakarta website. Look at Joko Widodo presentation. He rocks! I vote him as the next governor of Jakarta.
Nov 23rd
September 2010
1 post
3 tags
Indonesia’s grassroots startup movement
Article taken from e27 | Web Innovation in Asia by Aulia Masna Indonesia is not known to be a haven for small to medium enterprises. The laws and investment opportunities aren’t widely supportive of individuals with ideas looking to get off the ground. However, a rapidly growing movement is afoot in the country’s startup scene and it hasn’t gone unnoticed by foreign investors. A small group...
Sep 16th
August 2010
1 post
5 tags
Interview Dengan Natali Ardianto Tentang Komunitas...
Artikel ini diambil dari TeknoJurnal Natali ArdiantoKomunitas #startupLokal makin kesini makin besar. Terbukti dengan sudah diadakannya 4 #startupLokal meetup dengan pengunjung yang makin banyak. Dan dalam waktu dekat pun akan diadakan meetup berikutnya, yaitu tanggal 2 September nanti. Komunitas #startupLokal ini juga sudah mulai menarik perhatian korporat-korporat besar dan investor. Menarik...
Aug 16th
July 2010
1 post
2 tags
#startupLokal, awal, kini dan di masa depan
Di tahun 2006 ketika saya menjadi konsultan di sebuah perusahaan IT, saya ditawarkan pekerjaan oleh sebuah perusahaan Swiss untuk mengembangkan direktori preschool dan kindergarten yang di Swiss jumlahnya ribuan, dimana perkerjaan itu diendorse oleh Depdikbud Swiss. Inspirasinya dari situs http://local.ch. Setelah mengurus work permit selama 1 tahun dan akhirnya dapat, ternyata pihak sana lagi...
Jul 18th
May 2010
4 posts
5 tags
Benar +4, Kosong 0, Salah -1
Dari Twitter, saya membaca tulisan ini (rephrased karena I didn’t document the twitt): “Bagaimana siswa UAN bisa diajarkan rasa percaya diri jika salah jawab membuat nilainya dikurangi satu. Lebih baik ngga usah menjawab sekalian.” I am a fan of numbers, stats and analytics. Ketika saya membaca twitt ini, dalam hati saya berpikir: If you are smart, then you should have known...
May 30th
14 notes
4 tags
Apakah over-budget dan over-schedule dosa besar?
Terkadang kita menganggap jika jika kita membuat sesuatu melewati budget atau melewati schedule, maka itu sudah menjadi dosa besar. Orang-orang lain akan dengan mudah mencemooh, menyindir dan merendahkan kita. Have no fear! Rome wasn’t build in a day. Saya mendapat cerita tentang Sydney Opera House, yang mungkin bisa dianggap proyek mismanagement yang cukup parah, tapi hasilnya sekarang...
May 23rd
2 notes