• 18Jun
    Categories: software, travel Comments: 0

    Taj West End

    I had the privilege of visiting Bangalore for two weeks. When I wasn’t working with my colleagues at their office in Manyata Park, had the opportunity to explore the city and make a day trip to Mysore.

    Manyata Tech Park

    Bangalore is the capital of Karnataka and commercial hub of the Deccan (Karnataka and Andhra Pradesh states). According to National Geographic, the city is the “world’s third most important IT city… a more international city than even Mumbai.”

    Bangalore is indeed an amazing place; a combination of high-tech and old world. It is the third largest city in India and the fastest growing city in Asia, increasing in population from just over 1 million people in 1970 to nearly 8 million today.

    Commercial Street, Bangalore

    One of the most incredible things about Bangalore is the population density. Bangalore has ~8k people per square kilometer, or about 4 times that of New York City. Mumbai weighs in at over 20k/km^2, roughly ten times more people per area than in the most dense American cities. Density exceeds even Hong Kong by a factor of 3.

    Lal Bagh Rock

    Formerly known as the “Garden City”, a few signs of Bangalore’s greener past still remain. One is Lal Bagh, a 240 acre garden near the city center which has hundreds of species of plants and many massive ancient trees. The park also features Kempegowda tower, built on the surface of Lal Bagh Rock, one of the oldest rock formations on earth, dating from 3 billion years ago.

    Bangalore to Mysore

    Approximately 150km outside of Bangalore is the city of Mysore. It served as the capital of the region through the reign of the Wodeyar dynasty and until 1947 when administrative power was shifted to Bangalore.

    Ambivalas Palace at Mysore

    The Ambivalas Palace built by the ruling Wodeyars is one of the most popular tourist attractions in India.

    “The architectural style of the palace is commonly described as Indo-Saracenic, and blends together Hindu, Muslim, Rajput, and Gothic styles of architecture. It is a three-storied stone structure, with marble domes and a 145 ft five-storied tower.” The palace contains a wooden ‘howda’ (elephant sadle) decorated with 84kg(!) of gold.

    Mysore to Chamundi Hill

    The palace also contains many images of Durga (aka Chamundeshwari), the goddess, who according to Hindu mythology, killed the demon Mahishasura, allowing good to triumph over evil. The Chamundi temple which sits atop nearby hills on the outskirts of the city was built in honor of the goddess.

    Chamundi Temple

    The road to Mysore from Bangalore passes through the towns of Channaputna, known for its wooden crafts and toys, Maddur and Mandya. It also cuts across numerous sugar cane fields from which “jaggery” is extracted.

    Jaggery Factory

    Jaggery is made by boiling raw sugarcane juice in large shallow vessels. Jaggery is used in a variety of sweet dishes in India; it can also be added to curries. Jaggery is considered to be healthier than other sweeteners because it is prepared without the use of chemicals and it contains minerals not found in sugar. It has also been found to prevent lung damage from “particulate matter such as coal and silica dust”.. potentially quite useful when spending any time riding an auto-rickshaw on the streets of central Bangalore.

    Bullock Cart Sharing the Road

    Speaking of, one of my colleagues treated me to a ride on the back of his motorbike through Bangalore’s notorious traffic where it isn’t uncommon to see three cars side-by-side, jockeying for two lanes along side bull carts, pedestrians, autorickshaws and the occasional wayward cow or stray dog.

    The video can be found here: Bangalore Motorbike Ride

    The Law

    If you are watching the video thinking “well, that isn’t nearly as cool as the Evel-Knievel vid I just watched yesterday”… Please! The driver was going easy on me. Thankfully, as I was holding the iphone in one hand, clutching an umbrella and the edge of the seat in the other, all the while trying not to lose my Nikon and the lense collection dangling from my shoulder. For some reason, I thought I’d be able to shoot some stills and video. Maybe not.

    On the Cell

    One of the mysteries of Bangalore is why they need so many traffic cops (literally dozens of them at some intersections) to enforce so few traffic laws. Driving is absolute and total chaos. Out of the chaos, though, some semblance of order seems to emerge from the honking, flashing lights and arm waving.

    Brigade Road

    I’m not talking about the occasional honk or flash. I’m talking about continuous honking and sometimes frantic dimming of the lights. I initially thought it might be morse code. Meanwhile, everyone seems to maintain perfect composure.

    One Lane, Many Vehicles

    When I say hand gestures, I’m talking about waves of the arm to allow or warn of a merge. I’m sure there’s a lesson in there somewhere, if not for Boston drivers, perhaps for a research paper on chaos theory or self-organizing systems.

    Read more »

  • 24Mar
    Categories: software Comments Off

    AOD255e

    Acer Aspire AOD255e, Unwrapped

    AOD255e Unwrapped

    The new Acer Aspire One AOD255E features intel’s new dual-core Atom n570.

    The n570 is the first n-series Atom chip to include hardware virtualization (or VT-x) extensions. Add dual cores with hyperthreading, and the system has the potential to perform more like a higher end notebook.

    Not bad for $329, but the system ships with only 1GB of RAM and a 250GB mechanical HD.

    SSD and RAM Upgrade

    To bring these components up to par with the processor, increase the performance and reliability, I opted for a 128GB SSD and 2GB DDR3 memory module.

    AOD255e Keyboard

    AOD255e Keyboard

    Although AOD255e isn’t designed to be user serviceable, replacing the HD and RAM isn’t too difficult.

    • Power off the machine and remove the battery
    • Locate the tabs along the upper edge of the keyboard above the F1, F4, F8, F12 and DEL keys.
    • Using a flat-head screwdriver and working from right to left, starting above the DEL key, carefully depress each tab and pry up the edge of the keyboard.
    • Once all of the tabs are depressed and the upper edge of the keyboard released, it can be carefully removed.
    • Remove all the screws marked “1″
    • Push a blunt object through the access hole marked, releasing the access panel on the bottom of the system.
    • Locate and replace the desired components

    Fedora

    Finally, I replaced Windows 7 with Fedora 14. Yes, it is indeed twice as good, maybe more… :/

    System runs very smoothly with KDE4 and all visual effects enabled.

    AOD255e Running Fedora 14

    AOD255e Running Fedora 14

    Here’s /proc/cpuinfo showing dual cores with 2 hyperthreaded execution units each and ‘vmx’ flag indicating VT-x support.


    processor : 3
    vendor_id : GenuineIntel
    cpu family : 6
    model : 28
    model name : Intel(R) Atom(TM) CPU N570 @ 1.66GHz
    stepping : 10
    cpu MHz : 1000.000
    cache size : 512 KB
    physical id : 0
    siblings : 4
    core id : 1
    cpu cores : 2
    apicid : 3
    initial apicid : 3
    fpu : yes
    fpu_exception : yes
    cpuid level : 10
    wp : yes
    flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm constant_tsc arch_perfmon pebs bts rep_good aperfmperf pni dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm movbe lahf_lm tpr_shadow vnmi flexpriority
    bogomips : 3325.21
    clflush size : 64
    cache_alignment : 64
    address sizes : 36 bits physical, 48 bits virtual
    power management:

    To perform the upgrade to Fedora, I used ‘BFO’, a small network bootloader.

    The BFO boot image is only 300KB, can be written to a USB stick and used to do a network-based bootstrap of the Fedora installation process. Find Fedora’s BFO image here…
    http://boot.fedoraproject.org

    Summary

    $329 – Acer Aspire One AOD255E-1664 Netbook, w/ dual-core Atom n570 and 10.1″ LED
    $24 – Crucial 2GB 204-PIN PC3-8500 SODIMM DDR3 Memory Module
    $240 – Kingston SSDNow V Series 128 GB SATA 3 GB/s $240 2.5″ Kingston 128GB SATA3 2.5″ SSD

    Tags:
  • 28Jan
    Categories: software Comments: 0

    Kaos

    ‘kaos’ is a fractal generator for Zaurus handhelds, and other mobile devices, featuring support for KVM or J2ME.

    Download

  • 17May
    Categories: software Comments: 0

    jpcap capture console

    Summary

    jpcap is a set of Java classes which provide an interface and system for network packet capture. A protocol library and tool for visualizing network traffic is included.

    jpcap hides the low-level details of network packet capture by abstracting many network packet types and protocols into Java classes. Internally, jpcap implements bindings to the libpcap system library through JNI (the Java Native Interface).

    jpcap utilizes libpcap, a widely deployed shared-library for capturing user-level packets. libpcap must be installed on your system in order to use jpcap.

    jpcap packet visualization

    jpcap consists of a small shared-library which wraps libpcap plus a collection of Java classes. The shared-library component provides event hooks, communication and data conversion between a running Java VM and libpcap. The ‘capture’ package contains the core capture system. The ‘net’ package contains abstractions for many network packet types
    and protocols. The ‘simulator’ package contains a network simulator.

    Download

    jpcap was originally developed in 2001 and hosted at sourceforge.net. It is now (since 2011) also available via github. The project is the work of more than a dozen contributors.

     

    Derived Works

    Jpcap has been utilized in a number of other open source projects and mentioned in several technical talks and articles.

    Projects

    Articles and Research Papers

     

  • 28Aug
    Categories: software Comments: 0

    net.ultrametrics.palm.JChalkIR is a java ‘Spotlet’ for the experimental KJava virtual machine for handheld devices. Allows two or more people to collaborate on a simple sketch.

    Download

     

    note: Application requires Sun’s KVM (Early Access version 0.1 [DR4] or newer). The SDDK and VM can be found on Sun’s JDC KVM page. If you are still using the Java One KVM [DR3 or older], try the old JChalkIR. Source and javadoc jar files provided are compatible with the jar tool packaged with jdk1.2 and later.

  • 19May
    Categories: software Comments: 0

    net.ultrametrics.qcvs.Visualizer is a console utility for browsing and visualizing modifications in an RCS or CVS source repository.

    Usage

    Usage: Visualizer [cvsroot_1 cvsroot_2 ... cvsroot_n]
    
      optional java parameters are:
    
        -Dmk=author                   organize histograms by author
        -Dmk=path                     organize histograms by module
    
      i.e. java -Dmk=author net.ultrametrics.qcvs.Visualizer CVSROOT
    

    Download

    Browse

     

    note: qcvs requires the fooware CommandLine classes.
    jar files provided are compatible with the jar tool packaged with jdk1.2 and later.

  • 02May

    net.ultrametrics.security.PortScanner is a command-line utility to scan for tcp services on a range of ports on a host or on a range of hosts.

    Usage

      Usage: PortScanner [OPTIONS] hostname [hostname2]
    
        optional parameters are:
    
          -l port# | --low port#        low port number
          -h port# | --high port#       high port number
          -t n     | --threadlimit n    spawn n threads
          -v       | --verbose          verbose output
    
     Concurrently scans, using at maximum the number of threads specified,
     for hosts between 'hostname' and 'hostname2' which are accepting tcp
     connections on ports between the low and high ports specified.
    
     If 'hostname2' is not specified, only 'hostname' is probed.
    
       i.e. java net.ultrametrics.security.PortScanner 10.0.0.0 10.0.0.255

     

    Download

     

    Browse

     

    note: jar files provided are compatible with the jar tool packaged with jdk1.2 and later.