Tags » Programing

Great explanation of Bayes Theorem

When I first learned Bayes Theorem from a text book for some reason I had a hard time with it. What ended up making it stick for me was sitting down and writing several little programs implementing Bayes. 26 more words

Mathematics

Insurgent

Beatrice “Tris” Prior had made her decision to join her new family but with every choice leads to a consequence. Tris along with everyone else will find themselves stuck in a war where everyone is against each other.

350 more words
Thoughts On Books

Chart Dari om Cahya DSN

Pengen buat struktur keanggotaan organisasi ? ini ada script yang di buat oleh mas chaya DSN dan bisa di implementasikan secara bersama...
<?php
/*********************************
FILENAME  : orgchart.php
CREATE BY  : cahya dsn
PURPOSE   : display organization chart report
CREATE DATE : 2012-12-28
**********************************
#table creation

USE `test`;

DROP TABLE IF EXISTS `tbl_personel`;
CREATE TABLE IF NOT EXISTS `tbl_personel` (
 `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT COMMENT 'primary key untuk table tbl_personel',
 `nama` varchar(30) NOT NULL COMMENT 'nama personel',
 `id_parent` bigint(20) unsigned NOT NULL DEFAULT 0,
 PRIMARY KEY(`id`)
) ENGINE=MyISAM COMMENT='tabel untuk menyimpan data personel';

INSERT INTO `tbl_personel`(`id`,`nama`,`id_parent`) VALUES
(NULL,'Food',NULL),
(NULL,'Beer',1),
(NULL,'Vegetables',1),
(NULL,'Fruit',1),
(NULL,'Bread',1),
(NULL,'Chocolate',1),
(NULL,'Pumpkin',3),
(NULL,'Aubergine',3),
(NULL,'Apple',4),
(NULL,'Berries',4),
(NULL,'Granny Smith',9),
(NULL,'Blueberry',10),
(NULL,'Redberry',10),
(NULL,'Cucumber',10);
*/
//database configuration
$dbhost='localhost';
$dbuser='root';
$dbpass='eko';
$dbname='dbalgoproject';
//database connection
$db=new mysqli($dbhost,$dbuser,$dbpass,$dbname);
//query to get organization datas from database
$sql="SELECT * FROM tbl_personel ORDER BY id_parent,id ASC";
$result=$db->query($sql);
//variables initialization
$data=array();
$i=0;
//generate organization datas from database
// 1. 282 more words
Programing

How Difficult Is It To Do Nothing and Why! The Importance of Relaxation and Siesta

Relax! It’s  Saturday morning, it’s cold and surprise: IT’S SNOWING…

To mind, comes a Facebook share: ‘Who is praying for snow, please stop!’

One would think, on a day like this, and on the weekend, it would be easy to just… do nothing! 556 more words

Self-help

Simple WebChat Menggunakan php

Simple WebChat menggunakan Websocket Programing

 

Pada kesempatan kali ini kita akan membuat program webchat untuk lan dengan menggunakan php dan untuk mengetesnya kita menggunakan localhost. Untuk lebih jelas nya langsung saja kita bahas. 1,379 more words

Programing

Firmar una aplicación para publicarla en Google Play

(How To Sign Your Android Application With Your Private Key)

Para distribuir aplicaciones en lugares como Google Play primero hay que “firmarlas” o certificarlas con los pasos que se muestran a continuación. 6 more words

Programing