Penulis: TOTO HARYANTO (page 1 of 2)

Week-1 at Pardubice

Pardubice, Juli 21, 2018.

Six days we are in Pardubice city. There are a lot of experience and journey with my best colleague, Adib Pratama.
After finished from campus activity, we try to look for halal food at the center of pardubice. There is the most famous mall at pardubice, Atrium Palace Pardibice. like in Indonesia. Not too different.

About, five minutes from the Atrium, we walking  for obtaining halal food.  I found Kebab House close to Atrium and i ask to the seller is the Kebab halal or not ? Fortunately, he said to us that the kebab is can’t be eat for us. He refers us to the other kebab halal restaurant. Alhamdulillah, we found it and we get the big porsion of Kebab.

 

My Journey To Pardubice

On Sunday, Juli 15 2018 we take off from Soekarno Hatta Airport to Prague-Ruzyne International Airport. Our aircraft transit at instanbul for about two hours. Overall, our journey take about seventeen hours. Me and My Colleague (Adib Pratama) , are student exchange from Universitas Indonesia to Universita Pardubice (https://www.upce.cz/) .

We arrive at Prague-Ruzyne International Airport at 09.00 am on Juli 16. To go to Pardubice, we have to get an Airport Express Bus and to main rail station and then get a train from the main rail station to Pardubice. The  trip using Airport Express takes about 30 minutes. Meanwhile, the train takes 1 hour from main station to Pardubice. As long as our journey, the scenery are full with field. its remember me with may hometown in Indramayu, Indonesia. Same like this.

Universita Pardubice  located at the center of Pardubice. Here is the Map of Pardubice:

On Tuesday, Juli 17 Dr. Jan Pidanic engaged us to introduce the Faculty of Electrical Engineering and Informatics (https://fei.upce.cz/). Dr jan Pidanic is Head of Department of Electrical Engineering. He Introduce us  walk around the Building. One by one he explain the room, lab in the Faculty. There are five Department in Faculty of Electrical Engineering and Informatics. There are:

Today I will go to the campus. Bye.
To be continue…..
Assalamu’alaykum..

Remember a day …..

  

Some time, remind myself is very valuable. More of people can remind the others, but forget for their selves. Two posters above remind me for keep for prayers. the other,  give the morel message related to the definition of the happy life from the other perspective.

Welcome Semester 2017/2018

August,28 is the first day for beginning our new semester in 2017/2018. Administratively, In this third semester, I only have one course with six credit. This is research proposal course. The output of this course is proposals of my thesis that will be presented and examined by Lecturer.
According to the discussion with my supervisor, I have to sit-in in two other courses, there is Advance Machine Learning (AML) and Advance Image Processing (AIP). These courses will support my thesis in the next time.
Thank Prof.Heru for your suggestion.
In the other hand, the schedule of AML and AIP are very interesting. Monday and Wednesday for AIP, Tuesday and Thursday for AML. both of them are in eight a clock. Very good schedule…

Links: Articles About Fasting in Ramadhan, Zakat Fitr and Eid Fitr in Bahasa Indoensia

Artikel seputar Puasa di Bulan Ramadhan :

NASEHAT UNTUK KAUM MUSLIMIN MENYAMBUT BULAN RAMADHAN
Panduan Puasa Ramadhan Di Bawah Naungan Al-Qur`an Dan As-Sunnah
Menjelang Bulan Ramadhan
Hilal
Doa Menyongsong Bulan Ramadhan
Ramadhan yang Kurindukan
Penentuan Awal Bulan Hijriyah
Meneropong Ilmu Hisab
Penetapan Awal Ramadhan dan 1 Syawal
Nasehat Untuk Organisasi Muhammadiyyah
Fatwa Ulama Islam tentang Penentuan Awal Romadhon & Ied
Shaum Ramadhan dan Hari Raya Bersama Penguasa, Syi’ar Kebersamaan Umat Islam
Hukum Ringkas Puasa Ramadhan
Adab-Adab Berpuasa
Ramadhan bersama Para Ulama Salaf
Ramadhan bersama Asy-Syaikh Bin Baz
Adab-Adab Puasa
Perhiasan Mukmin di Bulan Suci
Niat Puasa
Beberapa Kesalahan dalam Bulan Ramadhan
Hadits-hadits Palsu dan Lemah yang Sering Disebut di Bulan Ramadhan
Memperbaiki beberapa Kesalahan dalam Bulan Ramadhan
Introspeksi Diri di Bulan Ramadhan
Hukum – Hukum Seputar Puasa Ramadhan Bag.I
Hukum – Hukum Seputar Puasa Ramadhan Bag.II
Hukum – Hukum Seputar Puasa Ramadhan Bag.III
Hukum – Hukum Seputar Puasa Ramadhan Bag.IV&V
Hukum – Hukum Seputar Puasa Ramadhan Bag.VI
Hukum – Hukum Seputar Puasa Ramadhan Bag.VII
Hukum – Hukum Seputar Puasa Ramadhan Bag.VIII
Hukum – Hukum Seputar Puasa Ramadhan Bag.IX&X
Hukum – Hukum Seputar Puasa Ramadhan Bag.XI
Hukum – Hukum Seputar Puasa Ramadhan Bag.XII
Hukum – Hukum Seputar Puasa Ramadhan Bag.XIII
Jima’ Saat Puasa Ramadhan
Puasa Tidak Sekedar Menahan Makan dan Minum
Tuntunan Qiyamul Lail Dan Sholat Tarawih(1)
Tuntunan Qiyamul Lail Dan Sholat Tarawih(2)
Shalat Tarawih (I)
Shalat Tarawih (II)
Shalat Tarawih
Jumlah Rakaat Dalam Shalat Tarawih
Shalat Tarwih di Belakang Imam yang Melebihi 11 Rakaat
Hukum Wanita Shalat Tarawih di Masjid
Sahur dan Berbuka
Sahur Dan Buka Bersama Rasulullah
Hukum Tidur Sepanjang Siang Hari Di Bulan Ramadhan
Kewajiban Orang Yang Tidak Puasa Karena Telah Renta Dan Karena Sakit
Hukum Mengqadha Puasa
Ancaman Bagi Orang Yang Membatalkan Puasa Ramadhan Dengan Sengaja
Sahur dan Berbuka Puasa Menurut Sunnah Rosulullah Shallallahu ‘Alaihi Wa Sallam
Hukum Seorang Pemuda yang Melakukan Onani di Bulan Ramadhan
Berlebih-lebihan dalam Makan dan Tidur di Bulan Ramadhan
Hukum Seseorang Masuk Islam setelah Ramadhan Berlalu Beberapa Hari
Hukum Donor Darah dalam Bulan Ramadhan
Konsultasi Ramadhan : Menunda Pembayaran Hutang Puasa 
Konsultasi Ramadhan : Haidh Bukan Penghalang Puasa? 
Konsultasi Ramadhan : Cara Membayar Fidyah, dan apa boleh diganti 
Seputar Fidyah 
Pihak – Pihak Yang Terkenai Hukum Fidyah
Konsultasi Ramadhan : Wanita Hamil dan Menyusui Tetap Berpuasa
10 TERAKHIR RAMADHAN DAN LAILATUL QADAR
Raihlah Keutamaan di Sepuluh Hari Terakhir Ramadhan!
I’TIKAF
SEPUTAR I’TIKAF

 

Artikel Seputar Hari Raya ‘Idul Fitri dan Bulan Syawal :

Zakat Fitrah Pensuci Jiwa
Pembahasan Penting Seputar Zakat
Hukum Seputar Zakat Fitrah
Meneladani Nabi Shallallahu ‘alaihi wa sallam dalam Ber’idul Fithri
Ber-Idul Fitri di atas Sunnah NABI Shalallahu ‘alaihi wa Sallam
Seputar Zakat Fitrah dan Hari Raya ‘Iedul Fitri
Shalat Ied & Hal-hal yang Berkaitan dengannya
Kekeliruan & Kesalahan di Hari Raya
Idul Fithri dan ‘Idul Adh-ha dan Hukum-Hukumnya
Hukum Mengangkat Kedua Tangan pada Takbir-takbir Shalat ‘Id
Hukum Mengangkat Tangan Pada Takbir-Takbir Jenazah Dan Dua Shalat ‘Ied (Iedul Fithri Dan Iedul Adha)
Tuntunan para Salaf dalam bertakbir disaat hari Raya
Hukum Seputar Iedul Fitri
Fatwa Seputar Sholat ‘Ied Bag.1
Fatwa Seputar Sholat ‘Ied Bag.2
Shalat Ied di Lapangan
Sunnah Ied yang Hampir Terlupakan
Ucapan Selamat Pada Hari Raya
Hukum dalam puasa Sunnah 6 hari bulan Syawal
Mendulang Pahala Pasca Ramadhan
Hukum Seputar Puasa Syawal
Bid’ah Hari Raya Ketupat (Hari Raya Al Abrar)
Bid’ahnya Anggapan Sial Menikah Di Bulan Syawal

Source : http://www.darussalaf.or.id

Happy Ramadhan Mubarrak

Spyder : Integrated Development Enviromenment for Python

Python is popular programming language right now.  Most of beginner start to learn programming with this language. Python support many library for any discipline.  Especially for Deep Learning and high performance computing.  Integrated Development Environment (IDE) is usually used for programmers to enjoy t heir work so more structured. One of IDE was developed is Spyder. Here ini screen shoot of Spyder3 installed on Ubuntu LTS 14.04

Installation process is very very easy. Just type on ther terminal :

$sudo apt-get install spyder3

Thank You

 

 

Install Tensorflow on Ubuntu 14.04

TensorFlow™ is an open source software library for numerical computation using data flow graphs. Nodes in the graph represent mathematical operations, while the graph edges represent the multidimensional data arrays (tensors) communicated between them. The flexible architecture allows you to deploy computation to one or more CPUs or GPUs in a desktop, server, or mobile device with a single API. TensorFlow was originally developed by researchers and engineers working on the Google Brain Team within Google’s Machine Intelligence research organization for the purposes of conducting machine learning and deep neural networks research, but the system is general enough to be applicable in a wide variety of other domains as well.  (https://www.tensorflow.org/)

Just type on terminal :

#pip install tensorflow       # python 2.7 ; CPU support (no GPU support)
#pip3 install tensorflow      # python 3.n ; CPU support (no GPU support)
#pip install tensorflow-gpu   # python 2.7 ;   GPU support
#pip3 install tensorflow-gpu  # python 3.n ;   GPU support

Here we have tried to install it on my laptop. It’s very easy .

 

 

 

 

 

 

Data Movement on GPU and Host

#include<stdio.h>
#include<assert.h>
#include<cuda.h>

int main(void) {
float *a_h, *b_h; //host data
float *a_d, *b_d; // device data

int N=5, nBytes, i;

// declaration

nBytes = N*sizeof(float);
a_h = (float *)malloc(nBytes);
b_h = (float *)malloc(nBytes);
cudaMalloc((void **) &a_d, nBytes);
cudaMalloc((void **) &b_d, nBytes);


// set value of a_h

for (i=0;i<N;i++) a_h[i]=100.f * i;
// copy data from host to device
cudaMemcpy(a_d,a_h,nBytes,cudaMemcpyHostToDevice);
// copy data from device to device
cudaMemcpy(b_d,a_d,nBytes,cudaMemcpyDeviceToDevice);
// copy data from device to host
cudaMemcpy(b_h,b_d,nBytes,cudaMemcpyDeviceToHost);

for(i=0;i<N;i++) assert(a_h[i] == b_h[i]);
for (i=0;i<N;i++)
{
printf(" Isi dari variabel a_h adalah %f", a_h[i]);
printf("Isi dari variabel b_h adalah %f \n", b_h[i]);
}

free(a_h);free(b_h);cudaFree(a_d);cudaFree(b_d);

return 0;
}

Generate id of thread on GPU

Here the program to generate id of thread from GPU using CUDA architecture.

#include <stdio.h>
 #include <cuda.h>

#define LENGTH_OF_ARRAY 500
 #define THREADS 5
 #define BLOCKS 100
 // MAKE KERNEL FUNCTION

__global__ void print_real(int *a){
 int idx = blockIdx.x * blockDim.x + threadIdx.x;
 a[idx] = idx;
 }

__global__ void print_constant(int *a){
 int idx = blockIdx.x * blockDim.x + threadIdx.x;
 a[idx] = 7;
 }

__global__ void print_blockid(int *a){
 int idx = blockIdx.x * blockDim.x + threadIdx.x;
 a[idx] = blockIdx.x;
 }

__global__ void print_threadid(int *a){
 int idx = blockIdx.x * blockDim.x + threadIdx.x;
 a[idx] = threadIdx.x;
 }

int main()
 {
 int size = LENGTH_OF_ARRAY*sizeof(int); //DEFINE
 int i=0;
 // printf("Print constant\n");
 // printf("Print blockid\n");
 printf("Print threadid\n");
 int *a_h, *a_d;
 //memory allocation on host
 a_h = (int*)malloc(size);
 //memory allocation on device
 cudaMalloc((void**)&a_d, size);
 //call the kernel

// print_constant<<<BLOCKS,THREADS>>>(a_d);
 // print_blockid<<<BLOCKS,THREADS>>>(a_d);
 // print_threadid<<<BLOCKS,THREADS>>>(a_d);
 print_real<<<BLOCKS,THREADS>>>(a_d);

//copy from devie to host
 cudaMemcpy(a_h,a_d,size,cudaMemcpyDeviceToHost);

//print from host
 for(i=0;i<LENGTH_OF_ARRAY;i++)
 printf("%d ", a_h[i]);
 printf("\n\n");

cudaFree(a_d);

}
« Older posts

© 2019

Theme by Anders NorenUp ↑