A collection of writings and documents.
Some of these are articles from my blog.
I'll have them here till I have a CMS to help sort out things.
[contact me]
"Remote Recursion" Architecture
Search Implementation
This article describes an approach that
implements a distributed search mechanism using a paradigm of recursive
searches between webservices. Such an architecture allows for a scalable
distributed search/cooperation model on the real-internet.
Pooja Malpani
Programming
Another Tale of Real World Debugging
This shows you how to enable memory leak detection in your old
c++ code, how to ensure that the debugger reports leaks in the correct
locations in your source code rather than in inbuilt header files and finally
a case of how the c++ compiler and studio can go out of sync with each other
in the way they report errors on line numbers.
Roshan James
A Modulo Based Bit Counting Approach For 64 Bit Systems Part 1 : Understanding The Approach Part 2 : Extending To 16 Bits This is a two part series. The first
part describes how the expression "(v * 0x1001001001001ULL &
0x84210842108421ULL) % 0x1f" yields the bit count (number of set bits) of
'v' where 'v' is a 12 bit value. Part 1 also
describes a general proof on which this code snippet is based. Part
2 uses the understanding in the first article to generate a code snippet
that can bit count a 16 bit value using the a 64 bit register and discusses
tradeoffs.
Roshan James
Tools
Bangalore User Group –
WSH, WMI and System.Management This provides an introduction to the
WMI API and what it can do for you. If you work with windows based systems
then understanding windows scripting and WMI API could fast bring you
appreciate the power of these beautiful systems.
Trashbin - the Portable Executable / Metadata viewer Trashbin is a powerful tool for examining
portable executable files of various types. This is a description of trashbin
and how it can be used. Trashbin is downloadable with full source code.
Msh/Monad: Cmdlet parameter binding Discusses the process of parameter
binding in Monad - this is different from what existing shells can
offer.
Roshan James
ObjShell: A precursor of Monad? Discusses a COM based shell that
waspart of research work done by Antonio Cisternino of University of Pisa.
Roshan James
Languages
An Introduction to
Ruby This is an brief introduction to one of my favorite
interpreted languages - Ruby. Ruby is general purpose, object oriented
language that is syntactically so beautiful and expressive that you cant help
liking it :)
Iterators in Ruby (Part - 1) Discusses the usage of iterators in
the ruby language. If you are from the C/Cpp world, the concept of
iterators might seem a little strange to you.
Roshan James
Warming up to using Iterators (Part 2) This talks about how the iterators
construct is used in day to day programming the same way one would use a
for-loop. If you are doubtful about the utility of the iterators
construct, this might convince you.