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);

}

How to Install Medeley on LibreOffice

Mendeley is powerful document management software.  If you have project, paper or scientific writing you will cite and use the reference. Mendeley has ability to generate your citation easily.   Because I use LIbreOffice as Word Processing software,  here I will write the step by step  :

  1. Please download Mendeley on official website https://www.mendeley.com/
  2.  Install Mendeley Desktop and you have to registration with your email
  3. Run Mendeley on your computer/laptop .
  4.  Please choose Tools – Install LibreOffice Plugin

mendeley

5. Run  LibreOffice and choose Insert and  Insert citation. Choose citation style  (ex. IEEE

insert

(IEEE citation style or Amrican Standar)

style

 

6.  Wil display mendeley to select the paper will be cited

7.  Result on your Document

result

 

How to Copy file via pscp

For some project  we have to access remote server. Even, we have to upload file to the directory  in the server.  If you want to copy file using pscp, here the general template :

Z:\owendadmin>pscp
PuTTY Secure Copy client
Release 0.53
Usage: pscp [options] [user@]host:source target
       pscp [options] source [source...] [user@]host:target
       pscp [options] -ls user@host:filespec
Options:
  -p        preserve file attributes
  -q        quiet, don't show statistics
  -r        copy directories recursively
  -v        show verbose messages
  -load sessname  Load settings from saved session
  -P port   connect to specified port
  -l user   connect with specified username
  -pw passw login with specified password
  -1 -2     force use of particular SSH protocol version
  -C        enable compression
  -i key    private key file for authentication
  -batch    disable all interactive prompts
  -unsafe   allow server-side wildcards (DANGEROUS)

(PSCP’s interface is much like the Unix scp command, if you’re familiar with that.)

For example :

toto@toto-laptop#pscp -i private_key.ppk source.ext myremoteaccount@server.com:/directory/

 

« Older posts

© 2018

Theme by Anders NorenUp ↑