Skip to main content

Posts

Back to School (Work)

Well, holiday is (officially) over. Tomorrow we're going back to school or work. It feels so short. There are so many things that I wanted to do, but couldn't get it done during the holiday. I wanted to read lots of books, papers, articles, ... I wanted to re-learn coding (computer programming). Sharpening my skills. Alas, time went so fast. I did not regret it though, since I did get some things done. At least, relaxing :) Hey, that's also important, right? Now, I am putting that things to read back to the shelf (of things to read).

Dark Side of Creativity

I thought creativity is all good. After listening to some TED's presentation, I realized that creativity has a dark side. Once creativity has visited you, you are doomed forever. For the lack of creativity can send you to dark paths. Paths that you didn't think you will thread upon. You just have to have creativity. Gotta have... You life depends on it. I am not joking. You can find the number of (creative) people that have died because they think that they don't have creativity anymore. I didn't realize this. Now, it's too late...

Yummy ...

[seafood lamien @ banquet, singapore]

What happened to Formula 1?

I have not watched Formula 1 closely for a year (or two?) and was surprised to hear that there was a scandal. I was in Singapore and heard it on the news. The incident happened in Singapore last year! Whoa ... So, now, I am searching the internet for more information about this. If I understood correctly, Nelson Piquet was asked to crash his car so that Alonso would win. The thing is, I didn't know the situation. Why would Alonso win? So what if the safety car was out? What was his position at that time? Could somebody direct me to a more detailed article elaborating the situation? [A Ferari display on Orchard stree. I took this picture before taking an F1 simulator test drive, a game acutally. Ranked far below the best driver :) ]

Copyrights of old articles

How long can an article be copyrighted? I was looking for an article of a journal. It is published in 1971. I cannot access (download) the article from the journal's web site. This makes me think, how long does the journal have the "monopoly" of that article?

Can't get getrusage working

We are trying to measure the amount of resources needed to run our program, written in C. Looking here and there, I found getrusage (2). So, yesterday I tried to write a simple code: #include <stdio.h> #include <errno.h> #include <sys/resource.h> int main(){ int y[100][100]; struct rusage *resource; int x; x = getrusage(0, resource); printf("x = %d\n", x); printf("errno = %d\n", errno); return(0); } The result was not great. getrusage returned -1. According to the man page , non zero return value means it fails. The value of errno is 14. What went wrong? Anybody? Is there a better way to measure the amount of resources (memory, CPU, time) needed for a program? [Right now, I am looking at dtrace . Would it help?]

Presentation Preparation

I've got (too many) presentation invitations. So, I do quite a bit presentations. Maybe, it is even my main job :) One thing people don't realize is that the amount of effort and time that I have to put preparing for the presentation. Some people think that I can use old presentations and can just wing it. Apparently, each presentation is different. I still need to modify the presentation. Some times the presentation only requires minor adjustment, other time (most of the time) I have to create a new presentation. Whether it is minor or major modification, it still takes time. The very least, I usually spend 1 hour preparing for the presentation. Tomorrow I am giving a presentation. It's a 30-minute presentation plus questions and answers. So, it's one hour. Give and take. I already spent more than two hours preparing it. Oh well ...

Indonesia Independence Day - 17 August

Tomorrow, 17 August, is our independence day. There are many events in our community to celebrate this. Mostly, they are sports, fun competition ( lomba makan kerupuk, panjat pohon pinang, anybody?) and outdoors gathering. That should be great! To bad I don't have photos :( Long live Indonesia.

No picture today

I have a personal project, in which I plan to take picture(s) from the same spot. The picture looks like this. I enjoy watching the picture, the environment. It is great. Especially, if the weather is great and it shows in the picture. It sets my mood. For the last couple of days, the weather was not great. It was kinda gloomy. So, I didn't take the picture. I didn't want to have gloomy days. This morning, it is also gloomy. Sigh ... I need my sunshine. So, no picture today.

Hurting

When you hurt someone, you actually hurt yourself. So, my apology to whoever I hurt. I didn't mean to do it. (I never intentionally want to hurt somebody.)

Backing up personal (junk) files

I had a quiz the day before yesterday. One of the questions was "what do you if you are bored?" One of the answers was "defrag disks" (or something like that). I didn't realize that this might be true. Yesterday I did defrag my disks :) and right now I am trying to organize (junk?) files. I have so many images (photos) taken with my digital camera and my cellphones. Sometimes to get one good image, I took multiple images. What do I do with the ones that I am not using? There are also files that I thought I might read, but not right now. (And perhaps never?) On top of that there are audio files and so on. What's the best way to back these files up? Some people told me to use DVD. I don't trust DVDs. I have had bad luck with them. Scratched a little and there goes my files down the blackhole drain. Right now I am backing up with external HD. I don't know if this is cost effective. (On top of that, I don't use backup programs. Plain copying files is...

Problem with Firefox @ Mac

I am having a problem with Firefox on Mac OS X (on a Macbook). I was using Firefox 3.0* (forgot the exact version). Then for some reasons, the windows was displayed off the screen. For example, if I press "apple ," there is no configuration window. The screen was just clean. If I press F9 (expose), the screen appeared. So, I know it is there. But, when I tried to get into it the screen went clean again and the configuration window dissapeared (as if it moved to the top left - off the screen). I decided to download Firefox 3.5 and wrote over on top of the previous version. The problem was still there. Then, I removed Firefox from Application folder. Reinstalled Firefox. It seemed to work. But ... this morning the problem was there again. I removed again and reinstalled Firefox. It is working (so far). Has anybody experienced a similar problem? Update: if I close the lid of my MacBook while Firefox is running and open the lid again, the window appears!

Looking for efficient algorithm to solve x^y mod z

I am in the middle of coding and suddenly realized that I have to solve (code) x^y mod z, where x, y, and z are large integer numbers. Straight coding, that is by multiplying x by y times before performing mod with z, is inefficient. I know that I am dealing with big integers, but my interest is in the algorithm. I am reading fast exponentiation right now, but just in case any of you know better algorithms (or libraries). I am using C language, if that's important.

American Idol 2009 Finale

I watch American Idol and enjoying the show. Most of the time. So, I watched the 2009 Finale. I was surprised with the finale. It was excellent. The thing that surprises me is the guests. I could not believe they were able to bring many stars, such as Black Eyed Peas, Cindy Lauper, Keith Urban, Lionel Ritchie, Rod Stewart, Santana, Kiss, and ... Queen! Whoaaa... I love rock music. A long time ago I even went to a Kiss concert, when I was in Canada. ha ha ha. So, I loved it when Adam Lambert sang with Kiss. When he started singing "Beth", I said to myself; are they going to bring Kiss? Sure enough, the answer is yes! I could imagine Adam singing with Kiss, though. If it's not Kiss, I'd say Aerosmith would be a good choice for Adam. In my opinion, Danny Gokey has the best vocal. Adam Lamber has the best performance. He is a star. And Kris Allen has the most commercial pop vocal today. My son said that these days people like Jason Mraz and the like. So Kris Allen was luc...

Rewiring my brain

yeah, ... it's time to rewire my brain ... it needs some refreshing ideas ... stuff it with great ideas ... some wild ones too ... remove sad memories ... attach happines come on help me rewire my brain [there should be a nifty tunes attached to this? :) ] [br, may 2009]

Google and Morse Code

I've just visited Google.com and got the following page: Ah... It has been a while since I used Morse code. Now, let's give it a try. I put [--. --- --- --. .-.. .] in the search field of Google. The result is ... Your search - --. --- --- --. .-.. . - did not match any documents. How come there's no match? Google should provide the search result in Morse code. Ha ha ha. Any takers out there? -... ..- -.. ..

Internetworking Indonesia Journal (Vol.1/No.1) published

Dear Colleague, The Inaugural Issue (Vol.1/No.1) of the Internetworking Indonesia Journal (IIJ) has just been published. You can get free access to the papers (PDF) at the following location: http:// internetworkingindonesia.org/ iij-vol1-no1-spring2009.html Here is the Table of Contents: The Overhead and Efficiency Analysis on WiMAX's MAC Management Message by Ardian Ulvan, Vit Andrlik & Robert Bestak Loop-back Action Latency Performance of an Industrial Data Communication Protocol on a PLC Ethernet Network by Endra Joelianto & Hosana "Wayang Authoring": A Web-based Authoring Tool to Support Media Literacy for Children by Wahju Agung Widjajanto, Michael Lund, & Heidi Schelhowe Studi atas Prilaku Pengguna Layanan Wide Area Network (WAN) BPKP by Desi Nelvia & Rudy M. Harahap Issues in Elliptic Curve Cryptography Implementation by Marisa W. Paryasto, Kuspriyanto, Sarwono Sutikno & Arif Sasongko Hormat kami. Thomas Hardjono (MIT Kerberos Consortium) Budi...

Wowed by slideshare

I was going to create a presentation that I have to do in two days. I've got some ideas but they are still 10% of what I needed. I need inspiration. So, I went to slideshare.net . Boy, ... it was a "bad" decision, I guess. I ended up browsing lots of slides. Just because they are awesome. How could they create great presentations? They are very good in design. Me? I have no idea what "design" is. I need a more formal foundation in this. Is there a book, web, tutorial, or something that I can use to study good designs? Please ... As for my presentation, it has to wait for one more day. Hey, I said I have two days. :)

Vote for who?

Tomorrow is election day. We - Indonesians - will vote for the political party (ies) that will rule Indonesia. Great. But the sad part is that I don't know what or who to vote. Suggestion anybody? Perhaps it doesn't matter anyway?

Free Photos for Presentations?

I do quite a bit presentations. To make things more interesting, usually I put interesting image or photos in my slides. (I know not to over do with the images and such.) The question is where can I get good and free photos for my presentations? I see those presentations at slideshare.net and envy those great images. Aaa...