Author Archive | Anh

How to configure a Waf C++ project in Eclipse

I’ve mostly used Eclipse for my Java work. Today I’ve configured Eclipse to build, run and debug my C++ project built on Waf. Waf build tool is not natively supported in current latest Eclipse (Luna Eclipse), so hopefully this entry helps someone trying to achieve the same configuration. I am running Luna Eclipse on Ubuntu 12.04. The […]

Continue Reading 1

A modular wearable 3D input device

I am proudly releasing my video demonstrating a 3D input device that I built for my Master’s thesis: 3DTouch. This is a novel 3D wearable input device, worn on the fingertip for 3D manipulation tasks. 3DTouch is self-contained, and designed to universally work on various 3D platforms. The device employs touch input for the benefits of passive […]

Continue Reading 3

Integration between CyberGloves and OptiTrack

A few months ago, my lab mate Lionel and I hacked on a project combining CyberGloves II and our optical tracking system, OptiTrack in a virtual environment. The position and orientation of the hands are defined by the markers being tracked by the tracking system; while the bending angles of the fingers are defined by the 22 […]

Continue Reading 0

How to mix MPI and CUDA in a single program

MPI is a well-known programming model for Distributed Memory Computing. If you have access to GPU resources, MPI can be used to distribute tasks to computers, each of which can use their CPU and also GPU to process the distributed task. My toy problem in hand is to use  a mix of MPI and CUDA […]

Continue Reading 9

Low-cost Augmented Reality prototype for controlling network devices

The Workshop on Off-The-Shelf Virtual Reality is intended to bring together researchers, professionals, and hobbyists to share ideas that leverage off-the-shelf technology for the creation of virtual reality experiences.  Building on a successful workshop from IEEE VR 2012, OTSVR 2013 will provide a venue for sharing novel hardware prototypes, software toolkits, interaction techniques, and novel […]

Continue Reading 0

ExtJS – How to scroll Ext.Panel by Drag and Drop ?

In an ExtJS panel (Ext.Panel) where the content area is huge but the Panel size is limited, users usually use the MouseWheel to scroll vertically Up and Down. However, the Drag n Drop feature could actually allow users to scroll both vertically and horizontally by dragging and dropping the content (or body) of Ext.Panel. In […]

Continue Reading 0

ExtJS Accordion-Vbox custom hybrid layout

ExtJs has two well-known layouts called Accordion and Vbox. Basically, in a vertical list of panels, AccordionLayout manages multiple Panels in an expandable accordion style such that only one Panel can be expanded at any given time. Each Panel has built-in support for expanding and collapsing. VboxLayout, on the other hand, arranges items vertically down […]

Continue Reading 18

IE z-index bug

Z-index bug on IE is a well-known flaw that most of front-end web developers have heard about. It is documented pretty clear on PPK Quirksmode: http://www.quirksmode.org/…/Explorer_z_index_bug.html and here http://therealcrisp.xs4all.nl/../IE-zindexbug.html Basically here is the break-down of the workaround… (more…)

Continue Reading 1

ExtJS Vertical TabPanel example

Currently, ExtJS 3.1.1 doesn’t support Vertical TabPanel. Here is my simple custom Vertical TabPanel ux class. Currently, it supports the same set of features as Ext.Tabpanel except advanced auto tab-scrolling feature. Default position is “left”. Tested working on FF2+, IE6+, Chrome 4, Safari 4, and Opera 10. You can put the source files in ExtJS […]

Continue Reading 37

The interesting javascript window object

As we all know that in Client-side Javascript, the Window object is the global variable, a host object, that contains attributes of the current opened window. An interesting part is this object also has a property called ‘window‘ which refers to itself. I’m not sure why this special object is implemented that way. (more…)

Continue Reading 1

IE and CSS class-chaining

Internet Explorer 6, 7 both do NOT support CSS class-chaining as a couple of articles floating around on the internet say. Basically, CSS class-chaining is used to select HTML elements which have multiple CSS classes: For example: (more…)

Continue Reading 2

Javascript: Function length vs arguments

One of the reasons quite a number of programmers don’t like Javascript because it’s weird, behaving differently on different browsers.. and hard to debug.. However, it’s quite fun or even addictive to learn JS also for that reason. Below is a brief on two mysterious properties of Javascript functions : length, and arguments. (more…)

Continue Reading 1

JSMag for FREE

JSMag is currently kinda the only Javascript magazine for enthusiastic front-end developers. I’m a subscriber of this magazine, finding it really fun, and interesting to read, especially if you love Javascript. This is a must-read for you :D and only costs $4.99. You can purchase at JsMag or ..I will periodically, and per request, upload […]

Continue Reading 4

Learning Javascript, JQuery w John Resig

John Resig, one of my favorite Javascript experts, recently has just released a site teaching advanced Javascript for intermediate programmers. I myself find this resource very informative. Hope you guys love it too. http://ejohn.org/apps/learn/ and also the page teaching jQuery at http://ejohn.org/apps/learn-jquery/ You could also find more of his lectures in the upcoming book called […]

Continue Reading 2

A JavaScript Module Pattern

This is the first episode in the collection of Great Javascript articles by world’s top-notched Javascript gurus. Our entry this week was written by Eric Miraglia originally posted on Y!UI Blog. Global variables are evil. Within YUI, we use only two globals: YAHOO and YAHOO_config. Everthing in YUI makes use of members within the YAHOO […]

Continue Reading 1

ExtJS : 2 secs with custom vType

Following another question on ExtJS forum, I’ve created a sample of how to use vType for ExtJS newbies. Basically, in form submission you need to validate user input and / or prevent user from entering invalid keys. Pure Javascript implementation could be quite a headache to some folks. ExtJS now provides a regex-based validation class […]

Continue Reading 0

J!Mint – Joomla Magento Integration

Hi guys, I’m Anh Nguyen (Totti), a student participant in GSoC 2009 under Joomla category, and my project is Joomla Magento Integration, J!Mint. This project is FREE and licensed under GNU GPL 2.0. The main features are : 1. User Synchronization 2. User Management 3. SSO 4. Backend Integration : allows you to control Magento […]

Continue Reading 5

It’s time to blog now..

I used to have a personal website developed in Flash here as I played around with Flash/ActionScript, but it’s quite outdated since 2007. Just realized It’s time to start blogging about Javascript, and web frontend stuff to hear and share with people around. So here comes my blog :)

Continue Reading 2