Saturday, December 21, 2013

Windows..... reinstall

what the fish.....

Tengah-tengah kelam kabut ni laa dia nak buat hal.... arghhhhhh...

Mujur jugak ada internet... boleh google apa-apa yang patut and boleh tolong.... i.e. this lifehacker post

The installation was started yesterday and yet..... I'm here still installing here and there....

Slide presentation belum siap lagi.... duuuuuhhhh~ esok or lusa kena datang lagi...... duduk rumah ada someone yang comel suke "tolong" buat keje... suke tolong.... tolong....... tolong...huhu...

~nak balik!!!

Something big

Wow!!!...

Something big is happening.... wait for it (~HIMYM)... wait for it....

On Monday.... the "thing" will arrive..... soon enough...


Updated: 福井300 ひ 68-53



Wednesday, November 27, 2013

CPP Series: Load Dynamic-link Library at runtime

I had trouble with this particular software which I couldn't call the .dll using windows 7. I gave up on using .lib method because a lot of error came out and I couldn't solve the link and conversion errors.

Loading the library at runtime require extra efforts but not so much once you get a hold of it.

Let say we have a .dll file which contain listed functions below:

short TUSBSLC_API Tusbs01lc_Device_Open( short id );
void TUSBSLC_API Tusbs01lc_Device_Close( short id );
short TUSBSLC_API Tusbs01lc_Single_Sample( short id ,double *Data);
short TUSBSLC_API Tusbs01lc_Start_Sample( short id ,short SampleRate);
short TUSBSLC_API Tusbs01lc_Get_Datas( short id ,double *Data,unsigned char *SerNum,unsigned char *Size);
short TUSBSLC_API Tusbs01lc_Zero_Adj( short id, double Data );


Firstly we need to declare in your header file (.h) these definitions:

typedef short (*DEVICE_OPEN)(short);
DEVICE_OPEN Tusbs01lc_Device_Open;

typedef void (*DEVICE_CLOSE)(short);
DEVICE_CLOSE Tusbs01lc_Device_Close;

typedef short (*SINGLE_SAMPLE)(short, double*);
SINGLE_SAMPLE Tusbs01lc_Single_Sample;

typedef short (*START_SAMPLE)(short, short);
START_SAMPLE Tusbs01lc_Start_Sample;

typedef short (*GET_DATAS)(short, double*, unsigned char*, unsigned char*);
GET_DATAS Tusbs01lc_Get_Datas;

typedef short (*ZERO_ADJ)(short, double);
ZERO_ADJ Tusbs01lc_Zero_Adj;


You could give any name to DEVICE_OPEN, DEVICE_CLOSE and so on. The colors will give you hints on how to create your own definition. 

Next, just call the function!!

HINSTANCE dllhandle = LoadLibrary("path\\TUSBSLC.dll");
if(dllhandle != NULL) {
        Tusbs01lc_Device_Open = (DEVICE_OPEN)GetProcAddress(dllhandle, "Tusbs01lc_Device_Open");
        Tusbs01lc_Device_Close = (DEVICE_CLOSE)GetProcAddress(dllhandle, "Tusbs01lc_Device_Close");
        Tusbs01lc_Single_Sample = (SINGLE_SAMPLE)GetProcAddress(dllhandle, "Tusbs01lc_Single_Sample");
        Tusbs01lc_Start_Sample = (START_SAMPLE)GetProcAddress(dllhandle, "Tusbs01lc_Start_Sample");
        Tusbs01lc_Get_Datas = (GET_DATAS)GetProcAddress(dllhandle, "Tusbs01lc_Get_Datas");
        Tusbs01lc_Zero_Adj = (ZERO_ADJ)GetProcAddress(dllhandle, "Tusbs01lc_Zero_Adj");
}
    else {
        ShowMessage("Unable to load the DLL");


Finally, you have to release/free the memory at the end of your program.

if(dllhandle) FreeLibrary(dllhandle);

Good luck!!

Friday, November 22, 2013

LaTeX Series: Thesis Template

I found a good website on thesis template. Feel free to go through the site.

How to LaTeX:
Figure

Tuesday, November 12, 2013

CPP Series: Pointer to Pointer

Everytime..... this pointer fella give me headache... fuhhh...

here the reference for future headache [link].

This function modify the variable piStuff inside the function putStuff.

Example pointer to double pointer:

int **piStuff;
putStuff(&piStuff);

void putStuff(int ***ppiStuff)
{
    *ppiStuff = new int* [SIZE_A];
     for(int i=0; i<SIZE_A;i++) {
          (*ppiStuff)[i] = new int [SIZE_B];
     }

     for(int i=0; i
<SIZE_B;i++) {          
          for(int j=0; j<SIZE_B;j++) {
              (*ppiStuff)[i][j] = iSomeVar;
          }
     }
}


Example pointer to pointer:

int *piStuff;
putStuff(&piStuff);

void putStuff(int **ppiStuff)
{
    *ppiStuff = new int [SIZE];

     for(int j=0; j
<SIZE;j++) {         
         (*ppiStuff)[j] = iSomeVar;
     }    
}


Wednesday, September 18, 2013

Hokkaido 北海道

Awesomeness 

 

9 - 15 September 2013

 

Hokkaido (北海道)

 

Travel Summary
Hokkaido Itinerary

Monday, August 19, 2013

I Can Sit On My Own

2013年 8月18日

金曜日

15:00ごろ

福井県福井市大宮6-10-16LLハイム5、203号室

Thursday, July 25, 2013

Witir - Lebih Dari Sekali Dalam Satu Malam?

Di bulan Ramadhan yang mana witir biasanya didirikan sebagai penamat kepada solat terawih. Jika kita bangkit bersahur dan punyai masa untuk terus menunaikan solat sunat lain, ia DIHARUSKAN tanpa perlu dimulai dengan satu rakaat witir. Tidak perlu pula ditutupi dengan witir lain selepas itu.

Wajar dituruti pandangan majoriti ulama yang MELARANG ditunaikan solat witir sekali lagi di akhir malam. Cukup sekali witir yang telah didirikan di akhir terawih bersama imam berteatan dengan saranan Nabi Muhammad s.a.w.

[source]

Wednesday, July 24, 2013

MATLAB series: Neural Network Toolbox - newff

1) Calling newff function using the command;

net=newff(p,t,2);

will automatically scale the inputs and outputs to;

net.inputs{1}.processFcns = 'fixunknowns'    'removeconstantrows'    'mapminmax'
net.outputs{2}.processFcns = 'removeconstantrows'    'mapminmax'

2) If you were to directly export the weight generated from

[net,tr]=train(net,p,t);

to your program (i.e. C++), you will end up getting different result as compared to results generated by MATLAB.

3) This behavior was resulted from the preprocessing function described in (1).

network generated from newff(p,t,2)

network with 2 nodes in hidden layer


Process Input 1 from the default value of processFcns 

Process Output 1 from the default value of processFcns
 4) Hence, to use the weight in C++, you have to scale your input before multiply with weights and rescale your output to get the real output values.
For instance, to scale the input using mapminmax, you can use

y = (ymax-ymin)*(x-xmin)/(xmax-xmin) + ymin;

to get the scaled input between ymin = -1 and ymax = 1.

Finally, to scale the output back to original unit of the target, you can use

x = (xmax-xmin)*(y-ymin)/(ymax-ymin) + xmin;

5) Alternatively, you can disable the scaling preprocessing function by execute either of these command

net=newff(p,t,2);
net.inputs{1}.processFcns = {'fixunknowns' 'removeconstantrows'};
net2.outputs{2}.processFcns = {'removeconstantrows'};
%net.inputs{1}.processFcns = {}; 
%net.outputs{2}.processFcns = {};

6) The weights value generated can be directly exported to your C++ program.

Enjoy!!

UPDATE

preprocessing: mapstd

To scale the input:
y = (x-xmean) * (ystd/xstd) + ymean

To scale the output:
x = (y-ymean) * (xstd/ystd) + xmean

[sources: 1, 2]

Friday, June 28, 2013

Matlab Installation in Windows 7: Version 2007 and older

To install Matlab 2007 on Windows 7

1) Change Windows 7 Theme to the classic one (windows classic)
2) Install Matlab.

 To use Matlab with other windows 7 themes you have to change java used by matlab.

Update 
1) in my case, jre7 will not work. Change back to original java provided by Matlab and turns out the program run perfectly.

1) download latest java version and install it.
2) go to C:\Program Files(x86)\MATLAB\R2007b\sys\java\jre\win32 you will find a file named jre1.6.0 rename it to Original_jre1.6.0
3) go to C:\Program Files\Java you will find file named jre7 (jetX for Xversion) copy to C:\Program Files(x86)\MATLAB\R2007b\sys\java\jre\win32
and rename it to jre1.6.0

Now you can use matlab with all themes. [1]

Change the Matlab locale 

Unfortunately, there is no other way to change the Matlab locale except changing the user locale & system locale on Windows 7.

1) Go to Control Panel -> Region and Language
2) Formats Tab -> Choose your local
3) Administrative Tab -> Choose your local
4) Reboot
5) Enjoy your Matlab in your selected locale. [2]


Wednesday, June 26, 2013

Officially Performed Full Roll Over

2013年 6月26日

水曜日

Around 07:45

福井県福井市大宮6-10-16LLハイム5、203号室

Saturday, June 22, 2013

Manjaro-xfce 0.8.6 Installation Notes

Basic Installation

1) Installation was pretty straight forward. Either run it from CD/DVD or boot from USB.

2) To create Live USB, a few choices of software are available for free.
     -- USB Live Creator from pendrivelinux.com
     -- Unetbootin
     -- Linux Live USB Creator

3) All products did not provide Manjaro 0.8.6 as one of the choices in the selection list. Even some (Unetbootin if I'm not mistaken), did not even list Manjaro. For my case, I use Linux Live USB creator. Manjaro 0.8.5 was selected from the list and has been warned regarding the compatibility of the distro version. Just ignore the warning and the software will create your USB live based on Manjaro 0.8.5 settings. The creation of USB live only takes a few minutes. In case you want to use USB Live Creator, just select Arch Linux in the list. I think, there will be no problem [has not been tested].

4) In my case, I did dual booting along Windows 7. One thing for sure, I hate the fact that GRUB2 will overwrite windows MBR. Luckily, there is alternative and I have successfully install my 2nd OS without the need of replacing MBR with GRUB2 [1][2].

5) In [1], the author formatted one of the partition as FAT32. In my case, I skip this step. The partition of my laptop are as follows;

     -- /dev/sda1   [Primary Partition] [ASUS reserved partition. Windows 7 boot loader]  [NTFS]
     -- /dev/sda2   [Primary Partition] [Windows 7]  [NTFS]
     -- /dev/sda3   [Primary Partition] [Manjaro; root, GRUB2, swap file] [ext4]
     -- /dev/sda4   [Extended Partition]
     -- /dev/sda5   [Logical Partition] [My Data 1] [NTFS]
     -- /dev/sda6   [Logical Partition] [My Data 2] [NTFS]

6) Restart the PC and boot the USB live. Install from the launcher on the desktop.

7) In case you hate the CLI installer and want to run the installation process using terminal, type command below in terminal.

 sudo setup

8) For my case, I installed the Manjaro in /dev/sda3 together with GRUB2. I skip the creation of swap partition for later configuration using swap file.

Windows 7 Dual-boot Configuration

1) Reboot into the USB live once again.

2) Open the terminal and type the following command to copy the first 512 bytes of data from the Linux root partition into windows NTFS partition.

 dd if=/dev/sda3 of=/run/media/<user>/<partition-name>/linux.bin bs=512 count=1

3) Reboot your pc into Windows. Open command window as admin [type cmd in the search box, right click  on the cmd and select to "Run as administrator"].

4) Copy linux.bin file into the windows boot partition (e.g. C:)

5) Type the following command inside cmd window. You can change the "Linux" name to any other name that suit you.

 bcdedit /create /d “Linux” /application bootsector

6) The command will give an alphanumeric identifier (e.g. d7294d4e-9837-11de-99ac-f3f3a79e3e93) that will be referred to as ID in the remaining steps.

7) Type the following command in the cmd window. The command first specify the partition where linux.bin resides. Then, specifying the path to linux.bin file followed by creating an entry for booting list after "Windows 7" option. The timeout can be set to any number in seconds.

 bcdedit /set {ID} device partition=c:
 bcdedit /set {ID}  path \linux.bin
 bcdedit /displayorder {ID} /addlast
 bcdedit /timeout 15

8) If you want to delete the Linux option, you could do it by following commands. The first command will give you a list of IDs in the boot manager. Identify the ID and execute second command. [1][3][4].

 bcdedit 
 bcdedit /delete {ID}

9) Enjoy your newly installed Manjaro OS.

Post-installation Tweak

1) Make swap file [5].

2) Mount windows partition automatically using ntfs-2g and fstab [6][7]. The uid and gid can be found using the following command;

 sudo nano /etc/passwd

3) Font rendering tweak to make font look better. Use the general way as the easy way will give error result.

4) Setting NTP in Windows 7 to ensure time sync between OS. Ensure your Manjaro time is set to UTC

 hwclock --systohc --utc

5) Optimize battery performance [8][9]. TLP tweak works like a charm..... improved my battery life about double of times as to compared without it.

6) Script to test the battery usage during sleep/suspend mode.

7) Further Arch Linux fine tuning post-installation guide. See also part III and part IV

8) Japanese input

9) Install dmenu

 sudo pacman -S dmenu

10) Edit grub bootloader to allow "hibernate". For my case, using swap file requires some modification as follows [10][11][12][13]:

 sudo filefrag -v /swapfile

Note the physical_offset of the first line (e.g. 190464). Then, open the grub bootloader with command:

 sudo nano /etc/default/grub

Change the GRUB_CMDLINE_LINUX="" to GRUB_CMDLINE_LINUX="resume=/dev/sda6 resume_offset=190464". Then automatically regenerate grub gile with:

 sudo grub-mkconfig -o /boot/grub/grub/cfg

Next is to add "resume" hook to mkinitcpio.conf:

 sudo nano /etc/mkinitcpio.conf

put "resume" before "filesystems" at the HOOKS: line:

 HOOKS="....... resume filesystems"

Finally rebuild the initrd image:

 sudo mkinitcpio -p linux39

"linux39" must be chosen accordingly by typing:

 ls -a /etc/mkinitcpio.d/

11) Install Slim

 sudo pacman -S slim
 sudo systemctl enable slim.service -f



Thursday, June 20, 2013

Hardware :- Complete!

I'm very happy today.....

My effort for the past 1 month has not been wasted....

The circuit & hardware system just worked!!!

Well.... Give my self a BIGGGG HUGGG~!


~in the middle of running Manjaro xfce4 using live USB~
~in fact, writing this entry using built in firefox~
~decided to install on my laptop to use for entertainment purposes; no need to burden my CPU with unnecessary work~

~arrrh.... upgrading manjaro completed!! ~

~details on next entry~

Sunday, June 16, 2013

Linux Series - Arch Linux

Since my last post <distro hopper?>, I rarely boot OS other than Win 7.

Yesterday, out of no where I felt like wanted to try Arch Linux. I'm sure I was reading somewhere on Arch Linux but couldn't found the memory which probably embedded deep enough in my brain.

Anyway, I spent my whole Friday doing the installation stuff.

I was wondering what is Arch Linux all about. Without much thinking, I started to download the ISO image and walllaaahh!!.... Virtual box installation.... USB live... and so on....

Basically, what I've learnt within about 36 hours is that..... Arch Linux is really cool....

If you want to control everything (~you could say everything) you want to put into your customized OS... then, Arch Linux might be the one suit you best...

I like ubuntu very much.... ever since version 7.04 if I'm not mistaken.... up until now.... So, I could say that I quite comfortable with debian base linux.. It just that... I want something new.... something that could give me the WoW!! thing like the first time I use ubuntu.... You know.... command line... terminal.... sudo stuff....

Well, I have successfully installed basic Arch Linux with Xfce4 Desktop Environment.... not really complete though.... Then I thought.... I don't have time for this... I mean.... stuff is really cool but you have to spend considerable time to learn something new..... pacman... yaourt.... packer.... systemd...

[pacman is very nice and I think I like it better than any other distro package manager that I have used so far.... ]

Then.... I googled the linux distribution ... finding the Arch Linux based distro... I still love and willing to learn more on Arch Linux.... I stumble upon Chakra and Manjaro..... Watched Chakra review on youtube... Manjaro as well....

It seems that Chakra does not suit me well... because the path they have taken that deviate away from the original Arch Linux motto....

Well.... now I have Arch Linux 64 and Manjaro 64 on my Virtual Box.... Frankly speaking... I like Manjaro... love it at first use.... Manjaro with Xfce4.... simple... fast.. clean... and geeky!! yeah...

XP, OS X, Mint, Arch Linux, Manjaro in action
[Manjaro] Updating with simple command:- sudo pacman -Su

How do I describe Arch Linux (~and its derivatives distro) in simple word....


Awesome



Wednesday, June 12, 2013

Himpunan Masalah Wuduk II

Himpunan Masalah Wuduk

Urine, Wuduk & Solat

1) A certainty is not replaced by a doubt. A mere sensation not backed up by actual traces of urine can be safely ignored.

2) In the event that you actually ‘see’ some drops of urine then you need only run water over the affected area until the trace is removed. This should only take about a minute. There is no need to make the whole garment wet.

3) If you forgot where the urine was, just make an educated guess concerning where it might be and wash that area. After that you can consider the garment to be pure. [1][2]

4) Al-Syeikh Muhammad bin Soleh al-Uthaimin ditanya tentang persoalan ini:

Apabila saya selesai berwudhu, lalu saya menuju ke tempat solat, saya terasa keluarnya titisan air kencing dari zakar saya, maka apa yang perlu saya buat?

Jawapan:

“Yang sepatutnya hendaklah dia berpaling dari sangkaan ini, seperti yang diarahkan oleh para imam (ulama) umat Islam, dan jangan dia terpengaruh dengan sangkaannya itu, tidak perlu dia pergi (ke tandas) untuk melihat zakarnya, adakah betul-betul keluar ataupun tidak. Perkara ini insyaalllah jika memohon pertolongan dengan Allah daripada (was-was) syaitan yang direjam dan dia tinggalkan (sangkaannya), ia akan hilang. Adapun jika yakin (benar-benar air kencing keluar), seperti (jelasnya) matahari (benar-benar yakin), maka hendaklah dia membasuk bahagian yang terkena air kencing itu dan mengulangi wudhunya. Ini kerana sebahagian orang apabila dia merasa basah dihujung zakarnya, dia menyangka telah keluar sesuatu (sedikit dari air kencingnya), jika pasti (keluar air kencing, lakukanlah) seperti yang aku nyatakan kepada kamu, (masaalah) yang ditanya ini bukanlah salisul baul (penyakit air kencing tidak lawas), kerana ia akan berhenti, (sebaliknya) Salisul baul itu ia berterusan keluar, adapun yang ditanya ini ia keluar setitis atau dua titis selepas ada gerakan, ini bukan salisul baul. Maka jika keluar dua titik kemudian berhenti, ia hendaklah dibersihkan dan berwudhu kali kedua, beginilah yang dia (orang yang yakin benar-benar keluar titisan air kencing) lakukan, hendaklah dia bersabar dan mengharapkan pahala daripada Allah.” (Liqa’ al-Bab al-Maftuh 15/184) [3][4][5][6]





Booting from Grub


  1. PC lama.... 
  2. Installed with Fedora but forgot the password...
  3. Cannot log in into windows due to blue screen crash
  4. Cannot get into the BIOS
  5. Always stumble upon the Grub menu
  6. Try to boot from USB installed with Ubuntu 13.04
  7. Follow the command below and successfully backup important data
  8. At the GRUB menu, hit the C key to enter command mode
grub> root (hd0,0)   # first harddrive, first partition
grub> find /[tab]    # type the slash then press [tab], and it will try to list files on this partition
Error 17: Cannot mount selected partition   # Oops no file system here
grub> root (hd0,1)   # first harddrive, second partition
grub> find /[tab]
 Possible files are: lost+found var etc media ...   # That was my hard drive with my linux install
grub> root (hd1,0)   # second hard drive usually is the USB drive if you have only one internal drive
grub> find /[tab]
 Possible files are: ldlinux.sys mydoc myfile mystick syslinux.cfg  # Bingo, that's the USB stick
  • Boot the drive by entering
chainloader +1
boot

[source]

Thursday, May 30, 2013

Kejayaan Pertama Meniarap

2013年 5月24日

金曜日

14:20

福井県福井市大宮6-10-16LLハイム5、203号室

Tuesday, April 2, 2013

First Laugh

2013年 3月31日

日曜日

18:05

福井県福井市大宮6-10-16LLハイム5、203号室



Wednesday, March 27, 2013

Hukum Bagi Keluarga Si Mati Menjamu Makanan

Perkara ini telah lama dipertikaikan dimana umat Islam di Malaysia khususnya membuat perkara yang bertentangan dengan sunnah Rasulullah صلي الله عليه وسلم .

Berikut adalah beberapa perkara penting yang perlu diambil perhatian:

  1. Adalah Makruh & bi'ah bagi keluarga si mati untuk menyediakan makanan bagi menjamu orang ramai yang datang bagi menguruskan si mati dan sebagainya.
  2. Adalah menjadi sunnah untuk jiran tetangga dan kaum kerabat si mati menyediakan makanan kepada keluarga si mati.
  3. Perhimpunan kenduri memberi makan pada malam pertama selepas kematian, tujuh hari, dua puluh hari, empat puluh hari dan seumpamanya semuanya itu hukumnya makruh dan dicela oleh syarak. Amalan dan perbuatan itu dinamakan “ كفارة dan وحشة.”
Rumusan dibuat berdasarkan artikel yang di terbitkan oleh Ust. Abdul Basit di blog beliau.

Update:

Penerangan dari TG Nik Aziz Nik Mat



Penerangan dari Ust Azhar Idrus








[Sumber]

Wednesday, March 6, 2013

Typing Small Furigana

おはいよおおぉぉぉ!!

I kept wondering for quite some time on how to type small furigana (hiragana/katana) without tedious effort of selecting from dropdown lists (MS IME)  or lists (iOS)....

It was actually pretty effortless.... just add "l" or "x" before the intended character. That's it!! No more... No less...

desuneeee.... [desunel+e] ==> 「ですねえぇぇ」

じゃねぇぇ!!!

[source]

Friday, February 22, 2013

Extend Windows Volume

It been a while since windows 8 came into our digital world but I presumed most of us still run our PC either with windows xp, vista and 7.

It was a little trivial matter to shrink and extend your HD volume. However, by using built in software in windows 7 you can only extend your volume with the unallocated space to the right of partition of interest.

With EASEUS Partition Master Home Edition, it is more flexible and you can rearrange the unallocated partition either to the right or left.

Have done it myself a few hours ago.

Good Luck!!

[Source]

Monday, February 18, 2013

Backup installed Cydia Apps, Tweaks - via SSH

[ORIGINAL] Solution for How to Backup installed Cydia Apps, Tweaks [Difficult] :
I think that this method is very difficult it needs users that are familiar with SSH and terminal commands, you can make a backup list using dpkg. To make a backup list of your installed sources and packages:
  1. Go into Cydia and install the APT 0.6 Transitional OR APT 0.7 HTTPS package.
  2. Pull the/private/etc/apt/sources.list.d/cydia.list file, which contains your custom sources.
  3. SSH in to your device and run the following command: dpkg --get-selections > cydia-apps  [dpkg][space][-][-][get][-][selections][space][>][space][>][cydia-apps] This will create a file called cydia-apps in your root folder /private/var/root/(and you can then download this file to save your installed apps).
To restore your backup list of sources and packages:
  1. Restore to your desired version, jailbreak, open Cydia, and install OpenSSH and APT 0.6 Transitional
  2. SSH into your phone.
  3. Copy the cydia.list file you saved in step 2 to /private/etc/apt/sources.list.d/ and copy the cydia-apps file to /private/var/root
  4. Next you need to run these commands from the ssh terminal:
apt-get update
dpkg –-set-selections < cydia-apps
apt-get dselect-upgrade
And when prompted Do you want to continue [Y/n], hit Y.

[source]


[MODIFIED VERSION]

Backup:
  1. Follow step 1 & 2.
  2. Use i-FunBox to SSH your device [Quick Toolbox tab] and follow step 3. 
Restore:
  1.  Follow all steps in the original solution above.

Sunday, February 10, 2013

Hospitalization - 入院

2013年2月6日・水曜日

The date mentioned above was the day that my lovely baby was hospitalized (入院). My wife and I was really worried about what happened to our Kawai baby.

Firstly the symptoms were:
  1. Projectile vomiting 
  2. Constant hunger
  3. Uneasy feeling
  4. Slightly above normal temperature
We realize the symptoms #1 quite a few days before after our friend said that particular term when she was told by her mother which happened to be there when the projectile vomiting occurs. The vomiting starts when he was about 2 weeks old. For the 2nd week, it happened two times and repeated with the same frequency for the following week. By that time, we felt very worried and planning to take our baby to the hospital the next day. 

The next day was very challenging for us when it was raining in the morning. We hold the thought to bring our son that morning to avoid unnecessary exposure to the rain. Besides, he was in the position of the need for immediate medical attention. By noon, my wife called me and gave me a brief picture of current situation related to our son. He was constantly asking for milk, felt uneasy and his body temperature slightly elevated from yesterday. Without further delayed, I rushed home around 1200 and brought our son the same hospital he was born.

I brought my son to the Paediatric outpatient department and unfortunately the counter was closed for the day and the receptionist asked me to bring my son to an Emergency department. It was quite early at that time, around 1300 and it was expected as we have previous experience when my wife was brought here to unscheduled medical attention for her baby's condition (39th week pregnancy term). 

The doctors examined him and asked me about what happened, the symptoms and some other related information. Well, it was quite hard when you can't speak Japanese fluently and the doctors on the other hand can't communicate well in English except a few terms. However, I managed to deliver what was necessary for the doctors to know in order to interpret what was really going on with my son. The thermometer recorded 38 degree Celsius which quite worrying for our 3 weeks old son.

The doctor asked whether I agree if my son was to be hospitalized. Without thinking I agreed to the suggestion. Well you wouldn't bother about the cost and whatsoever as long as your baby is safe.

Soon, the doctor asked my permission to do some tests on my son including ultrasound, blood test and x-ray. We heard very disturbing crying sound from the examination room while we were waiting for the procedure to finish outside. There were two times when we saw the doctor coming out to take a tube blood container. We were very surprised because he was only so small and yet the blood draw doesn't reflect her small body when we again saw a big size bottle of blood in the hand of the doctor.

To cut the story short, he soon was given an IV of sodium saline if I'm not mistaken (it was written in katakana and kanji). Then, x-ray was performed two times as the first one doesn't look to good because our son was moving during the procedure. It happened to be too many gas inside his stomach and probably it was the main cause of vomiting and constant uneasy feelings.

During hospitalization, body temperature reading was monitored frequently. There was also a day where we need to measure our son's body weight before and after drinking breast milk. Although there was one time where he vomited all milk he had drunk 30 minutes earlier. Sooooooo worried!!!


2013年2月8日・金曜日

The blessed Friday morning finally arrived where our son could leave the hospital (退院)after two nights sleep without my presence.

After all the troubled we had gone through, luckily there was no problem with our son's health except the fact that he still has trouble with gas inside his stomach to this day (tapi kuat kentut jugak ngeeee).

Hopefully everything will turn to be a little easier for him by the end of this winter. Pray for him.

InsyaaALLAH..

Monday, January 28, 2013

Newborn (新生児)

18 January 2013 (6 Rabi' Al-Awwal 1434H)


~1500:
  • Went to hospital for unscheduled checkup regarding mucus and blood (brownish) that has been coming out since Tuesday (15 Jan 2013). 
  • Sensei (Doctor) said there was nothing to worry as the blood coming out was the sign of near labour but since the baby position was still quite high and the vaginal opening very small (less than 1cm) the probability of delivery would be around 2 days and over.
~1700:
  • Return from hospital.
  • Walking around the house, went to Honey スーパ, Les Plaisirs Bakery to buy some supply and filled up empty stomach. 
~1900:
  • Watching Doraemon & Shin-chan original version (japanese). おもしろかった。
  • Start feeling the pain with some water coming out in each event of pain around 20 minutes gap. 
  • Asking beloved wife whether should proceed to the hospital or wait for a little bit longer. She was kept insisting to wait until 12pm. 
~2100:
  • The pain became intense. My wife insists to wait for a little bit longer due to the explanation given by the sensei earlier gives us some confusion. Probably false alarm. 
~2145: 
  • I couldn't stand to watch my wife enduring the pain without knowing what's really happening. 
  • Finally decided to go to the hospital, 福井県立病院 (Fukui Kenritsu Byouin). Luckily there was no snow on the road. 
~2200:
  • Checkup revealed that the water kept coming out during the pain was the amniotic fluid /water breaking (ようすい/はすい).
  • Went to labor room (じんつうしつ) ~probably. Monitoring the baby heart beat by using CTG.
~2300:
  • Transferred to delivery room (ぶんべんしつ). 
  • Supporting wife who was in the middle of severe periodic pain. 

19 January 2013 (7 Rabi' Al-Awwal 1434H)


~0001: 
  • The vaginal opening was only around 1 to 2 cm. She was quite upset to hear the news from the nurse. Well, you can't imagine the pain unless you are in her shoes. 
  • The pain was amplified to the extent she can't lie down on the bed. Whenever the pain acted on her body, she will sit and bend down while me/midwife will massge her back to reduce the pain. 
  • The pain was so intense that she would grab anything (of course my hand) to hold onto. That's the only thing I could do to share the pain at that moment. 
  • A nurse gave her a very big size ball for the pain management. It was very hard to see her but yet you can't do anything. 
~0207:
  • The vaginal opening was increased to 8 cm. 
  • がんばって my beloved wife. 
~0250: 
  • 10 cm!!! It's time.
  • Transferred to the special bed to handle the labour process. 
  • I'm nervous!!
  • She kept pushing at the instance of pain. 
  • Very worried to see her exhausted. Gave her dates to replenish her energy. 
  • She sweats very much. 

0343: 

  • Our baby was safely delivered!! 
  • Tears coming out at the instant of baby's the first cry. Well, I feel nothing sentimental before HE was born. ~Dalam hati ada taman
~0400: 
  • The nurses cleaning up my baby.
  • Doctor in charge sutures my wife. Luckily the injury was not too excessive. 
  • I asked the nurses to do "Azan". "Allahuakbar.... Allah..... hu... akbar". ~Tears!!!!
  • Performed "Sujud Syukur" for the bless given by ALLAH. 

ALHAMDULILLAH....