This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import pyglet | |
from pyglet.gl import * | |
import random | |
window = pyglet.window.Window(800,600) | |
file = 'lamp.obj' | |
point = [] | |
rotate_x = 0 | |
rotate_y = 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"""Search (Chapters 3-4) | |
The way to use this code is to subclass Problem to create a class of problems, | |
then create problem instances and solve them with calls to the various search | |
functions.""" | |
from utils import * | |
import math, random, sys, time, bisect, string | |
#______________________________________________________________________________ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
== Minggu 24 November 2013 == | |
Mungkin hari ini adalah hari pertama saya (sendiri) mempelajari konsep yang jelas mengenai apa yang akan dikembangkan dalam tugas proyek ini. Sebelumnya pada saat presentasi dengan Bu Isye, saya (dan teman sekelompok) mempresentasikan karya saya berdasarkan paper berbeda yang berjudul "Genetic Programming for Robocode Strategy" yang disusun oleh Danny Wyatt dan Dan Klien, tahun 2003. Pada paper ini, setiap event-handler pada Robocode ditangani oleh algoritma genetika berbeda dengan representasi dalam bentuk tree. Karena penjelasan dari paper ini yang kurang jelas, maka saya (sendiri) memutuskan untuk mencari paper lain. Dan akhirnya, saya (bukan kami) menemukan sebuah paper oleh Jacob Eisenstein terbitan tahun yang sama. | |
Apa bedanya dengan paper yang sebelumnya? Pada paper yang sudah saya baca selama 1 jam ini, setiap event handler sama-sama memiliki sebuah tabel khusus yang dikembangkan oleh sang pembuat paper sendiri berbasis TableREX, berbasis REX. Saya tidak pernah memegang |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
TUGAS PROYEK JAVA EE 2013 | |
TOPIK: SISTEM POS (Point of Sale) BERJARINGAN SEDERHANA | |
== Anggota Kelompok (Jabatan Fungsional) == | |
* Putu Wiramaswara Widya (5111100012) (Manajer Proyek) | |
* Muhammad Ruslan Hafiz (51111000131) (Sistem Analis 1) | |
* Risal Andika Tridisaputra (5111100133) (Sistem Analis 2) | |
* Amanda Tiara Averousi (5111100152) (Sekretaris) | |
* Bryan Nandriawan (5111100100) (Anggota) | |
* R. Aditya Brahmana (5111100147) (Anggota) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <GL/glut.h> | |
#include <math.h> | |
#include <stdio.h> | |
#define PI 3.14 | |
const float DEG2RAD = 3.14159/180; | |
double rotate_x=0, rotate_y=0; | |
void display() { | |
glClear (GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT); | |
//glClearColor(1.0, 0.9, 0.0, 1.0); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Viewpoint Datalabs International, Inc. Copyright 1996 | |
mtllib ./vp.mtl | |
g | |
v 0.000000 8.407028 0.000000 | |
v 0.000000 8.380042 -0.204985 | |
v 0.053054 8.380042 -0.198000 | |
v 0.102492 8.380042 -0.177522 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import socket | |
import sys | |
import os | |
from math import floor | |
from datetime import datetime | |
if(len(sys.argv) < 4): | |
print "python.py ./klien-getfile.py <address> <port> (get/ls) <path>" | |
else: | |
HOST = sys.argv[1] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from pygraph.classes.digraph import digraph | |
dgr = digraph() # Graph | |
flow = {} | |
# Semacam DFS | |
def find_path(source, sink, path): | |
global flow | |
if(source == sink): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
char incomingByte = NULL; | |
void setup() { | |
Serial.begin(9600); | |
pinMode(13, OUTPUT); // Gunakan pin 19 sebagai digital output ke lampu | |
} | |
void loop() { | |
if (Serial.available() > 0) { | |
// Baca perintah byte untuk On/Off |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Penugasan Proyek SimplePOS2013 Ke-2 | |
Mulai: 19 Desember 2013 16:53 UTC+7 | |
Selesai: 20 Desember 2013 23:45 UTC+7 | |
Silahkan implementasikan layanan/service dari laman wiki https://github.com/initrunlevel0/SimplePOS2013_Gudang/wiki/Implementasi-layanan-backoffice pada paket id.ac.its.SimplePOS2013.Gudang.ServiceBO. | |
Setiap service dibuat dalam dua bentuk: Interface dan Implementasinya (lihat kelas Barang sebagai contoh dasar). | |
Pembagian Tugasnya silahkan dideklarasikan sendiri melalui komentar Issue: https://github.com/initrunlevel0/SimplePOS2013_Gudang/issues/3. |
OlderNewer