Author Archives: daveti

Unknown's avatar

About daveti

Interested in kernel hacking, compilers, machine learning and guitars.

Free dynamic DNS – he.net and ddclient

Recently set up ddns (dynamic DNS)  for my Linux workstation successfully. The general intention for ddns is to allow remote access to the workstation where there is no static IP but dynamic IP from DHCP. A lot of ISPs provide … Continue reading

Posted in Network | Tagged , , , , , , , | Leave a comment

Make my own Linux workstation – Dell Precision T5600 + Fedora 18 + Mate

An introduction to my recently constructed  Linux workstation: WORKSTATION: Dell Precision T5600 MONITOR: Dell UltraSharp 2412M POWER: 825W CPU: Intel Xeon E5-2609 4-core 2.40GHz (http://ark.intel.com/products/64588/Intel-Xeon-Processor-E5-2609-10M-Cache-2_40-GHz-6_40-GTs-Intel-QPI) MEM: 8G ECC 1333MHz GPU: 512M Nvidia NVS300 HD: 500G WD 7.2K XL500S RAID: H310 … Continue reading

Posted in Linux Distro | Tagged , , , , , | Leave a comment

Pointer in Python

There is no pointers in Python but there are pointers in Python indeed. Among different kinds of pointer implementation in Python, this post demonstrate an elegant way to use pointers, especially object pointers when doing Python OOP. Detailed ‘ctypes’ module … Continue reading

Posted in Programming | Tagged , , | Leave a comment

New Fender, new song, old feelings

After leaving my 3 guitars at home, I have started constructing my new guitar family in US and fortunately got 2 – a new Fender strat standard and a used LTD kh-203. Fender has become my favorite not for a … Continue reading

Posted in Music Prose | Tagged | Leave a comment

Jython – Combination of Java and Python

This post is used for final project of CIS610 – Teaching Effectiveness in CIS dept at UO, dedicated to the students with background of CIS122 – Intro to Algorithms and Problem Solving Using Python. Background of Java is not mandatory … Continue reading

Posted in Programming | Tagged , , , , | 1 Comment

tmt – Tomcat monitor tool

Our Tomcat server sometimes crushes either process killed or no response from httpd. Before falling into the ‘long-term’ debugging, we have implemented ‘tmt’, which is used to moniter the status of Tomcat process and httpd by restarting the Tomcat timely. … Continue reading

Posted in Dave's Tools, Programming | Tagged , , , , , , , , , | 1 Comment

jop – Jena Owl Parser

Jena API may be the first choice for building Semantic Web applications using Java – parsing RDF and OWL. However, the official Jena document for ontology API (http://jena.apache.org/documentation/ontology/) seems kind of unfriendly with mixing parser and writer part altogether. ‘jop’ … Continue reading

Posted in AI/ML, Dave's Tools | Tagged , , , | Leave a comment

NLTK – install nltk for Python2.7 on 64-bit win 7

There are some tricky stuffs if you are planning to install nltk for your Python2.7 (Note, only Python 2.x is supported right now) on 64-bit win7 system. Generally, all these awkward trouble are caused by stupid windows installer, which may … Continue reading

Posted in AI/ML, IDE_Make | Tagged , , , , , | Leave a comment

Python learning – Sieve of Eratosthenes

Get all the information about ‘Sieve of Eratosthenes’ on wikipedia (http://en.wikipedia.org/wiki/Sieve_of_Eratosthenes). This algorithm does tell us there should be some algorithms with better time complexcity or space complexcity. Fun! (pic took from Wikipedia) [daveti@aimlab python]$ cat sea.py #!/bin/env python # … Continue reading

Posted in Programming | Tagged , , | Leave a comment

Python learning – Caesar Cipher

Get all the information about the old, famous and interesing Caesar Cipher (http://en.wikipedia.org/wiki/Caeser_cipher). In this post we will implement the Caeser Cipher Encoder (cce.py), Caeser Cipher Decoder (ccd.py) and Caeser Cipher Brute Force Decipher (ccbfd.py). Have FUN:) (BTW, I have … Continue reading

Posted in Programming | Tagged , , , | Leave a comment