Author Archives: daveti

Unknown's avatar

About daveti

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

Python learning – regular expression

Right now, I am a teaching assistent in University of Oregon (UO) for CIS-122 (Introduction to Programming and Algorithms Using Python). We would like our students to make full use of CScircles of CS department at University of Waterloo (http://cscircles.cemc.uwaterloo.ca/), … Continue reading

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

Git Server – small team development using private code repository

This post summaries the procedure for setting up a git server for small team development using private code repository. The trigger is that github does NOT provide free private repository (except student/teacher account) and we are not ready to open … Continue reading

Posted in IDE_Make | Tagged , , , , , | 1 Comment

MySQL – cheat table

The first book I have read about SQL is Ben Forta’s ‘MySQL Crash Course’. I like Ben’s writing style where each chapter only contains few but important things worth doing hands-on trial and remembering. Generally, below is some notes after … Continue reading

Posted in Programming | Tagged | Leave a comment

Hi, Oregon

Around 1 and a half hours air flight from Qingdao to Seoul; another 1 and a half hours waiting in the airport of Incheon; almost 11 hours air flight from Seoul to Seattle; another 5 hours waiting in the airport … Continue reading

Posted in Life Prose | Tagged , , , | Leave a comment

Bye, Alcatel-Lucent

This Friday – Aug 10, 2012 was my last working day in Alcatel-Lucent (aka ALU, former Lucent Technologies) R&D Qingdao site. I joined Alcatel-Lucent R&D (former Lucent Technologies R&D) Qingdao site on December 1, 2008. Since then, I had been … Continue reading

Posted in Life Prose | Tagged , | Leave a comment

REPRINT: How to Write Scripts for Oracle Solaris with the Korn Shell

Original post: http://www.oracle.com/technetwork/articles/servers-storage-dev/kornshell-1523970.html?sc=APACOU12014452MPP001C017 REPRINT: How to Write Scripts for Oracle Solaris with the Korn Shell by Ken Gottry, originally published August 2001 The basics of creating, executing, testing, and launching scripts to control Oracle Solaris with a Korn shell.  Includes … Continue reading

Posted in Programming | Tagged , | Leave a comment

Valgrind – dynamic code analysis tool – part VII – ERROR: ld.so: object ‘/dev/shm/valgrind/lib/valgrind/vgpreload_core-amd64-linux.so’ from LD_PRELOAD cannot be preloaded: ignored.

Recently encountered a ld error when starting 64-bit valgrind (3.7.0) for 64-bit binary. This is a bug in 3.7.0 and the fix will be submitted into 3.8.0. Detailed info could be found via (https://bugs.kde.org/show_bug.cgi?id=286270). As always, we could either checkout … Continue reading

Posted in Static Code Analysis | Tagged , , | Leave a comment

Valgrind – dynamic code analysis tool – part VI – configure: error: please use gcc >= 3.0 or clang >= 2.9

This post is trying to figure out the reason why configure of valgrind may report the error like this – configure: error: please use gcc >= 3.0 or clang >= 2.9 and the stupid workaround to make the building go … Continue reading

Posted in Static Code Analysis | Tagged , , | Leave a comment

Valgrind – dynamic code analysis tool – part V – valgrind: failed to start tool ‘memcheck’ for platform …

This post contains certain error message when ‘Valgrind’ is called: valgrind: failed to start tool ‘memcheck’ for platform ‘XXXXXX’: No such file or directory. There is a tricky question – can 32-bit valgrind be run on 64-bit platform? The answer is … Continue reading

Posted in Static Code Analysis | Tagged , , | Leave a comment

Valgrind – dynamic code analysis tool – part IV – DRD

Valgrind – DRD – while Helgrind is the major tool for concurrency issue detection, some options of DRD are also helpful on debugging concurrency issue, especially –exclusive-threshold, used to report mutex locked for long, and –shared-threshold, used to report shared … Continue reading

Posted in Static Code Analysis | Tagged , , , , , | Leave a comment