Recent Entries

2009-04-01

Moving on...

In my quest for simplicity, unfortunately blogger.com has become too much for me. I know I can make it simpler, but I think it's fair to give other some consideration as well. Who knows, maybe I'll come back here someday.

That's why I've been using/testing other blogging sites: posterous.com ("is the dead simple place to post everything. Just email us.") and tumblr.com ("is the easiest way to express yourself."). After giving it some considerations, I finally decide to use Tumblr for my blogging needs. It's simple, and yet still versitile for some tweaks (like installing the Google Analytics script for example).

So, farewell Blogger.com. Maybe I'll see you again some time. As long as Google still own you, I will visit you from time to time :)

Visit my new blog spot at http://edoyudhistira.tumblr.com

MelTalk signing off.

2009-02-23

'Sniper' definition comparison between en.wikipedia.org to simple.wikipedia.org

Simple Wikipedia: A sniper is a soldier in an army.
Full Wikipedia: A sniper is usually a highly trained marksman that shoots targets from concealed positions or distances exceeding the capabilities of regular personnel.

2008-01-22

2008: The year of simplicity? (at least for a PHP editor)

Every web programmer usually been through this before. We learnt our first programming language and created our first 'hello world' application via Windows' Notepad. Some of us used more 'advanced' editors like Microsoft Frontpage or Macromedia Dreamweaver, which were touting their WYSIWYG capabilities, making it easier to create web pages (although, some of us were stuck with vi and some others, which were learning ASP.NET, were stuck with Visual Studio).

But, as our skill increased and the projects grew from simple static pages to the more dynamic page contents, OOP and its properties (instance, components, etc.), enterprise-class frameworks, and new technologies like AJAX. We required syntax highlighting then, since looking up codes without it was like looking at a jungle trying to find a single specific tree. Then we required auto-complete, making the days remembering all the variable/function/class names to be numbered. Hundreds even thousands line of codes make debugging a big deal in web programming since basic editors for the languages didn't have that capability (excluding Visual Studio of course). Eventually editors with this capability popped out, making what's been available to desktop programming for a while to be available to web programming also.

Final quarter of 2006 and the year 2007 saw me trying out some of the advanced editors for my choice of programming language: PHP, Notepad and Dreamweaver just didn't cut it anymore. After scouring the web, several applications came to light, one of them being Zend Studio (back then it was still called Zend Desktop Environment/ZDE).

I used Zend Studio for a while since it got all the basic prequisites of an advanced editor plus it was created by the same company that produced PHP in the first place. The setback was that it was slow (at that time). It was built upon Java and being in beta state (it was leaking memory) didn't help either (not the mention that I always have this tingling feeling when using a Java app in Windows..).

After that I tried a series of editors: Eclipse (with PHP plugin), PHPEdit, PHPEd, even back to Zend Studio again. Eclipse was feature-rich with an extensible plugins system, PHPEdit and PHPEd had working debuggers, and recent iterations of Zend Studio were finally not prone to crashes like their predecessor was.

But trying all these editors sometimes made me deviate from my main purpose: to get my job done. I spent a lot of times trying out various features of the editors, even the ones that I didn't really need. The bad news was trying out all the features of each editor made me want them all, which was a problem since no editor has them all. One had this feature that the others didn't and vice versa.

At the end of 2007, I finally decided what features that I need in an editor. In the end I only needed two (and one optional feature). It had to have syntax highlighting for at least all of web programming language (HTML, PHP, JavaScript, SQL) and support snippets for shortcuts. The optional feature was simple project management, but I can replace this using the Windows Explorer. Why didn't I need debugging you said? Well, while the ability to debug your code step-by-step was nice, setting up one in web programming was not. In the end I still had to use echos and prints and var_dumps to do some basic debugging.

So I started using more simple editors. At first I used UltraEdit, but then changed to SciTe. InType was interesting and I've been trying it a lot lately. While it's not TextMate (yet), it's okay. These 'light-weight' editors let me concentrate on my coding then worry about using their features, not to mention setting up one on a new machine was a breeze. In the end, simplicity was the key. It let me focused on what needed to be done and not be bothered by unneeded things.

Recently I've stumbled across this editor called E-Text Editor, which was supposed to TextMate on Windows (even supported TextMate's snippets). I wonder what other features it has...

2007-08-19

Ladies and Gentleman, presenting...

The new layout is up!

Finally, after searching thousands of of websites (oh okay, 25 is the rough estimation...), looking for the inspirations to change the design of this one, and gathering those ideas, and putting them into a template that Blogger can understand... it's finally done!

For those of you who notice some similarities of the layout with other website(s), please bear with it and remember: plagiarism is the sincerest form of flattery :)

The layout has actually been up for a while now. But it's been lacking some basic navigation of the site's functions, that's been fulfilled by the menu, and with it, the header's design now seemed more balanced. And finally putting the 'recent entries' part with the current layout, which make more sense than the standard Blogger's Archive layout, now the layout is in its final form.

The main menu was created using graphics to prevent inconsistencies between browsers and also making it simply better than standard text links :) One of the troubles in making image links was how to make them look good next to each other. Since I wanted to make each image equal in dimensions, something must be done to the text since longer text took more space than the shorter one, and vice versa. For instance, the links image had the shorter text than the others, so at first, it looked like this:
Notice the space between the text and the down-arrow. When put together with the other images in the menu, this would make the menu odd and inconsistent. So, something had to be done. The ol' Photoshop had a text toolbox that gave many options for the text you're editing. Since we needed to move the text closer to the down-arrow, at first I thought a simple scaling would do:
I set the text scaling to a bigger number, thus moved the text nearer to the down-arrow. But it also made the individual letters more 'fat':

Unfortunately, this made the menu odd with some image had a thin text, while other image had fatter text :( On further probing, I found another option that would suit my need: horizontal tracking. Basically, this option sets the spacing of each letter of the text. Hence, I can move the text closer to the down-arrow, but still maintain the size of each letters. So, I set the option:

And produced the final image that I wanted:

On another note, moving the Bloggers' element from the default location to another custom location was a pain in the ass, because apparently each element could have a setting that could only be set when you're adding the element, but the setting was not included in the HTML layout. For instance, you added an RSS element. When you were adding this, Blogger asked for other information such as the URL of the RSS. But, once done, when checked in the HTML layout, the information was not saved there. Instead, Blogger used other means to save the element additional data. This could prove to be a problem when you want to make another element like that, but customized it to be displayed as you liked. Since it was not made by adding a page element the usual way, no additional data could be added, not even to the HTML layout.

The correct way now, it seems, is to add the page element the usual way, then moving it manually in the HTML layout. Check here and here for more information on Blogger's page elements and the HTML layout.

Well, enjoy the new layout. It's far from perfect, and expect it to be continuously modified :) Now, if only I can figure out how to rotate the header image automatically like that other website...

2007-08-05

To tweet or not to tweet...

Buat orang-orang yang kerajingan blog, semua yang berkaitan dengan blog, apapun itu, pasti dicobain. This friend of mine is certainly one of them, so dari dia dimulailah my experiment into another social webapp called Twitter.

Twitter gampang digunakan, dan konsepnya menarik: untuk para bloggers, apa sih yang lebih menarik daripada bisa mengupdate blog kapan saja dan dimana saja, dan sebaliknya, juga bisa tau update-an teman-temannya langsung pada saat diposting?

Jadi, setelah proses sign-up yang cepat dan gampang (love the website layout, by the way, simple & web 2.0 standard layout), mulailah gw ber-tweet ria.

Pada awalnya sih gw ngerasa kok mirip instant messenger lainnya ya, apalagi notificationnya bisa dikirim lewat IM lain seperti GTalk. Lalu, baru sadar, kalo gw baru following/followed oleh 1 orang, ya sama ajalah kayak IM :P Kalo follower/followingnya sudah banyak baru terasa bedanya (1 post langsung ke notify ke semua follower).

Lalu apa bedanya dengan blog biasa, you may ask? Si twitter ini bisa dianggap mini-blogging, wong tiap postingan dibatasi oleh 160 karakter. Kenapa 160? Buat yang ngeh, ini maksimum karakter buat SMS, karena salah satu fitur Twitter adalah bisa tweet (baca: posting) dan di-notify tweet orang yang di-follow melalui SMS.

Update lewat SMS? Mungkin buat beberapa orang, kebayang aja jika nge-follow 20 orang, berapa banyak tuh SMS yang diterima per hari, kalo setengahnya aja rajin nge-tweet :) Tapi, it turned out, orang-orang malah suka tuh diupdate apa yang lagi orang lain lakukan, makanya Twitter langsung jadi hit di UK & US. Bagaimana di Indonesia? I'm still waiting for my cell number to get registered in Twitter, walaupun gw pesimis kalo bakal bisa :)

Jadi, selain pake web browser atau IM, how's a true twitter can post his/her tweet? Well, for those who're lucky enough to have Java-enabled cellphones, selain bisa menggunakan Opera untuk mengupdate lewat website Twitter, bisa juga menggunakan salah satu client-client Twitter yang tersedia. Just google 'twitter java' and you should get links to those apps. Yang baru gw coba adalah TinyTwitter di ponsel istri gw (RAZR V3xx, best phone on the planet after iPhone...) dan berjalan dengan mulus. My friend tried it on her Nokia 3650 but couldn't seem to post the tweet. She had better luck with another app though: Jitter, walaupun menurut gw tampilan TinyTwitter jauh lebih oke. So, YMMV (your milleage may vary) :) Dan sekadar ngingetin aja, aplikasi Javanya tetap pake koneksi data untuk konek ke Internet, so watch those phone bills :)

Apakah Twitter webapp terbaik untuk service semacam ini? Memang ada beberapa saingannya seperti Jaiku dan lain-lain yang menawarkan lebih banyak fitur (posting gambar misalnya), tapi untuk kemudahan sepertinya Twitter masih tetap digemari.

For you guys who feel the need to be able to share whatever it is you're doing to other people, daftar aja di Twitter.com, dan jangan lupa nge-add twitter gw: twitter.com/melchior :)

2007-06-26

ATM 40th anniversary

In a rather work-related issue, BBC News posted a story about the man who invented the ATM machine. The first one was installed in 1967, in Enfield, North London, in a branch of Barclays.

Although, sans the magnetic tape commonly used now by the ATM cards, first generations of ATM read pre-generated paper instead, which enabled people to withdraw a fix amount (10 pounds back then) of money.

Like all other inventions, the idea for ATM was found while in the bathtub (seriously!). It seems that surrounding yourself in a box of water while relaxing can produce amazing results...

Thanks Slashdot.

2007-06-17

A late apology

Dear friend,

So sorry if we've gone too far,
never in our intentions to did you any mar.
It's just seemed to escape our radar,
jokes and jests just came out without any bar.

So please accept this apology, dear friend,
though it may be too late to make any amend.
Signs you've sent we should've got to comprehend,
but still, jokes and jests were out in the end.

Never again, I promise you that,
or you can force me to eat my hat.
Whether I have one or not is not the point to look at,
the important thing is what I'm saying out flat:

Please find it in your heart to forgive us, dear friend.

(Many thanks goes to: rhymezone and thefreedictionary)