BOABfest

Unconscious agreement - 9:14 PM 6/25/2006

Sometimes our brain assumes that something wrong is correct, and when no inconsistencies are found, that assumption will hold for a very very long time.

The database that SharpJiten use is named KANJIDIC (kanji dictionary). I don’t know how it began, but the class to store the data was incorrectly named EdictEntry (EDICT is a Japanese to English dictionary, quite different from a kanji dictionary). Since I assumed that EdictEntry is a correct name, the string edict was abound in the source code (for example the interface IEdictEntryFilter, and obviously many variable declarations). In fact, the word kanjidic only appeared when loading the KANJIDIC file.

The inconsistency was found when I was going to write about the nonexistent KanjidicEntry class for the report. Luckily Visual C# Express’ refactoring feature made changing names very easy. Just change the name in the definition (for example EdictEntry to KanjidicEntry), then click the refactoring icon that pops up, then choose “rename EdictEntry to KanjidicEntry”. The IDE will smartly rename all relevant strings.

Messy Go play - 8:38 PM 6/25/2006

My performance on KGS is very bad currently. After jumping to 10k?, 2 weeks of losing streak made me crash to 15k?. Can’t do a lot about it now, because I first need to finish my TK2 report.

Sizeprober - 10:27 PM 6/24/2006

My hard disk space is critical, so it’s time to delete junks. In doing this, I often need to know which file/folder is the largest in a folder. To solve this problem, I made a program called sizeprober. The syntax is:

sizeprober [folder]

Sizeprober will then display all files and folders in [folder] sorted by size. The size of a folder without subfolders is defined as the sum of the size of the files in it. The size of a folder with subfolders is defined as the sum of the size of the files in it plus the sum of the size of the folders in it.

The output still sucks but it’s functional. Here’s the first 4 lines of output of “sizeprober g:”:

ngerampok ||| Folder ||| 2756735507
sifat shalat nabi ||| Folder ||| 672308471
cd islam ||| Folder ||| 671341814
FMA the Movie ||| Folder ||| 647416444

The meaning of temp - 10:02 PM 6/24/2006

Note to self: The temp folder is for putting files that can be deleted any time.

Telephone cable - Damn I forgot to add the date and time

My Bu Kos’ phone pad wasn’t working, so he asked me to install another telephone (which wasn’t new). Just because I’m a CS student, she thought that I could do telephone stuffs.

The telephone cable was wired permanently to the broken phone so there is no plug and play method. She then asked me to buy a phone jack (and later, jackholes) so that I can plug the cable to the other phone

I bought 1 cable (with jacks on its ends) and 2 jackholes (don’t have a better term). The plan was to make this kind of connection:

-------[ <-----------> ]T

< and > are the jacks, [ and ] are jackholes, —- is a cable, and T is a telephone.

Of course the other telephone already had a jackhole. The other jackhole I bought was for the broken phone which didn’t have it. In other words, it is for changing

----T

into

]----T

The seller kindly told me that old cables internally have 2 wires while the jackholes I bought supported 4 wires, and that I would need to use only 2 of the available connections.

I connected the black cable to the red connection on the jackhole, and the white cable to the green connection on the jackhole. However the other phone’s sound turned out to not work. Thus the old phone was used, but with the new connection model.

Share and Enjoy:
  • bodytext
  • del.icio.us
  • Technorati
  • Slashdot
  • StumbleUpon
  • Sphinn
  • Facebook
  • Mixx
  • Google
  • TwitThis
  • Live

2 Responses to “BOABfest”

  1. joesatch Says:

    gro…mbok pake bhs indonesia aja…
    biar temen-temen kita yg lebih goblok dari aku juga bisa belajar…
    dalam artian, sebenernya aku ngerti isi blogmu, cuma aku males aja kalo ada yg nyuruh2 aku buat nerjemahin isi blogmu…

    kekekekekekeke!!!

  2. Agro Rachmatullah Says:

    Hmm karena blog ini lebih ke arah catatan pribadi, jadinya pake bahasa suka-suka :). Aku nggak peduli apakah orang lain bisa membacanya atau tidak karena memang bukan ditujukan untuk orang lain :).

    Tapi, kalau aku lagi minat, aku bikin tulisan berbahasa Indonesia yang memang ditujukan untuk dibaca saudara sebangsa dan setanah air… Ini karena aku sadar sepenuhnya bahwa bagi banyak orang, bahasa asing adalah salah satu hambatan besar dalam memperoleh ilmu. Misalnya adalah http://yic.wikispaces.com/space/showimage/Cara_Bermain_Igo.pdf dan http://agro.web.ugm.ac.id/octave-tutorial.htm (kalau ada yang baru pasti kutulis di blog ini). Kadang-kadang aku juga nerjemahin artikel-artikel dari Wikipedia bahasa Inggris.

    Tapi bagaimanapun terima kasih atas komentarnya…

Leave a Reply