Archive

Archive for July 17th, 2008

Lord Shiva, The Terminator

July 17th, 2008 1 comment

 

In hindu religion, there are there primary Gods, Brahma the creator; Vishnu the protector; Shiva the terminator. Ofcourse there are humpty number of add-0n Gods who are somehow related to the primary ones like wife, son, sister, brother, onnu-vitta periyappa, mama, machan, etc. Brahma used to have temples for people to worship in the very olden days (I dont know which yeon it is!). Vishnu is otherwise called Mayan (the illusionist!). As per someone’s philosophy, life is an illusion and one should know the way out of it which we call the Salvation. May be since Vishnu is the protector of illustionary world, he is called Mayan.

Coming to our hero. Lord Shiva is a very romantic God. The entire kamasutra is based on how Shiva made love with his wife Parvati. Shiva is the almighthy who serves as the root for all the other Gods. Shiva is generally told to be a tougher God to impress and get our desires gratified. Shiva is also the terminator of life. In other words, Shiva is the salvager to give us Salvation; the greatest help in life.

Saints and Devils are treated equal by Shiva, afterall who ever lives in this world and worlds above should find their destiny at the foot of Lord Shiva. The deed termination should not be taken literally. Shiva is not the terminator of existor, he is the terminator of existance. There is a general saying that Sleep is temporary death and Death is permanent Sleep. This funny phrase has lot of indepth meaning in it. When you decode it, you would find that life is just a dream. One should understand it and wake up. Death is just a begining – this is another popular phrase. There is no real need to get scared about death. Infact it leads back to our original home which is the supremacy, the ultimatum. We are just threads spawned our of the supremo to satisify our desires. Till the desires are satisfied, the threads are in the running state. Even if the thread is terminated physically due to aging or faults, the thread is respawned by the supremo. After the supreme, Lord Shiva is very generous.

Buddha said desire is the root of all miseries. One who does not have any desire will return back home faster. That’s is all it means. One who develops more desires, will have to run longer in the thread pool where contention for resources is always natural. When you see other threads, they might appear different but eventually spawned from the ONE, the supremacy, Lord Shiva. So, there should be no point in fighting with others (in fact others are variants of you incidently!). It is like fighting to your own self.

One fine day, one should realize the purpose of this living and try to go over it. There are many co-existers in this world who had done it successfully. Buddha is one of them. Self-realization is what it is all about.

Tags:

Compressor Vs Jet Pumps

July 17th, 2008 8 comments

Most of us are not aware of a type of domestic water pump called the Compressor pump. I had come across this noisy pump a couple of year ago. The operation of this pump is very simple and powerful though it is noisy. The pump consist of a Air Compressor and a nozzle. See that’s all. Remember in jet pumps we would have an Impellor and a Jet (a form of nozzle). Compressor jumps compresses atmospheric air and pressurized that thru the nozzle which creates a back pressure to pull water for far depths to the surface and above. The advantage is that the compressor (motor + compressor) is no way connected to water drawing system other that at the nozzle. Whereas in jet pumps water is drawn by the back pressure created at the impeller’s center (radial flow) which makes it apparent that water is always in touch with the motor + impeller system. In jet pumps there are two pipes down to the water level one for drawing and one of recycling. Jet pumps push a portion of drawn water downwards to create back pressure at the jet-nozzle. Water flows from bottom to impeller, impeller to top, impeller to bottom again. In compressor pumps, the since air is pushed downwards water flows only from bottom to top.

In a compressor pump, the flow of water does not start immediately because the water starts flowing only after a certain amount of pressure is built at the nozzle. Also the flow of water is not uniform typically the pump pushes gush of water in regular intervals of time at like a jittery saw tooth waveform. Since a compressor is needed, these pumps are noisy. In a Jet pump, the water flow is more or less uniform and the water pumping starts immediately once the pump is switched on. Here water level is maintained in the delivery pipes and also at the impellor system. Jet pumps are almost quite when all the bearings and move parts are properly lubricated.Disadvantages are found in both systems. In a jet pump, water is always expected to be maintained at the impellor system. The water level is maintained by a spring driven valve at the jet below water level. During the passage of time, this spring and valve gets damaged which is defy the requirement of impeller water level. So one has to fill in water everytime to start the pumping action. Jet pumps dont work at all when there is a lot of slime around the jet or if the valve is stuck due to any particles near it.

In a compressor pump, if there is a leak in the downstream air flow, water pumping does not happen as the pressure could not built at the nozzle. When the strength of the compressor falls below a threshold again the water pumping stops for the same reason. These pumps are very noisy (both reciprocating and centrifugal). The pumps needs regular maintainance as they have more mechanical moving parts (basically the compressor oil needs to changed on a regular interval). Also, upstream water flow should not be blocked completely which would affect the nozzle, so it is not possible to close the gate valve in the upstream when the pump is running. Whereas the upstream
of jet pump can be completely shut even when the motor is running.

Compressor pumps are more suitable for borewells with depths of range 200+ feet. Jet pumps are more suitable for wells and sumps. Compressor pumps can work even when there are dirt or dust in the water as the pressure at the nozzle would push them away from blocking the channel. Jet pumps are good when the nozzles are suspendable well above the surface level in the well. In the case of bore well, jet pumps are fine if casing is done for the entire depth. Compressor pumps are atleast 1.2 times expensive than Jet pumps in Chennai.In general when you go for deeper borewell, it is always adviced to go for pvc continuous hose pipes instead of discrete pipes with joints. It serves two purposes. 1) Maintenance is easy as it would relatively very easy to take out the entire hose out of the bore as you can roll it. 2) Two many joints in the upstream/downstream deteriotes the performance of the pump.

Tags:

Taming Wet Brake-Drum during Rainy seasons

July 17th, 2008 No comments

Like me, there must be a lot of Indian fellows riding their bikes
during all seasons and for all reasons. A typical problem during rainy
season is wet brake drums which can cause very risky accidents due to
failure of reactive brakes. When it suddenly starts to rain, the rider
should generally slow down the speed of the bike as it becomes very
skiddy on the roads along with yielding brakes. We have disc brakes
now which does not have this problem of brakes yielding. Still disc
brakes are riskier because they bring the wheel to zero which may cause
unexpected skids on the road.

Let me get to the point. When the brake drum gets wet, no matter
how hard you hold the brakes, the wheels will not stop. If you
following the below said procedure, you can easily overcome this
problem.

  1. Pick on a safe road where you are ride comfortably. Or prepare yourself for a the procedure where you are riding.
  2. Hold the front brakes partially and start accelerating.
  3. Dont hold the brakes too tight, as it would waste a lot of fuel.
  4. Make sure you dont ride too fast.. 20-30kmph is a safe speed.
  5. After crossing say 500 meters, test your front brake for its response to your brakes
  6. If it is still blunt, repeat the above procedure until youbecome comfortable.
  7. You may use the same procedure for the rear brakes as well.
    The only warning it, you may see that your bike responds more to the
    back brake by skidding.

The idea here is, heat the brake drum and force the wetness to
evaporate. When the drum is wet, the asbestor lining would fail
reacting to the application of brakes. When you hold the brakes and
continue accelerating; the lining gets heated up due to friction and
slowly the wetness would start to evaporate. But when you do this
often, the life of your brake shoes will drastically reduce. So use
this technique smartly.

Tags:

Psalms 51:17

July 17th, 2008 No comments

Recently I came across this phrase on the backside of a car.

“கடவுளுக்கு ஏற்ற பலி நொறுங்கிய நெஞ்சமே, சங் 51:17”

“The sacrifices of God are a broken spirit;
a broken and contrite heart, O God, you will not despise – Psalms 51:17″

Wow, what a coincidental message ? I immediately called a Christian friend and asked for the explanation preached in bible school. Surprisingly I got a different explanation than the one I had been through. In philosophy, the ultimatum is the understanding of Adwaitha. I have always known Jesus christ as a great Adwaitist. Although the religions are different, the philosophies were always co-linear.

Adwaitham says there is no difference between the soul and supremacy, all we should do is identify the supremacy in oneself. Jesus has always quoted “Father” as the supremacy, but finally became the “Father” which is an analogy of an arbitrary soul getting merged back to the supremacy. The base line of adwaitha is “One is All, All is One”, (i.e) everything are the images of the One and One is everything. Once one understands that all that one sees are images of oneself, there stops the ego, there comes the salvation. Ego is the reason for desires. Desires lead to rebirth. Salvation cuts this cycle and gives one the ultimate freedom from life.

Getting back to the phrase from Bible (the Tamil version). It says that the best sacrifice that can be given to God is the extinction of the mind. “கடவுள்” means “உள்ளுக்குள் கடந்து செல்”. One should travel inside oneself to identify the ego. Identification of ego ends with killing of the mind. A mind is a bundle of thoughts. Thoughtlessness is God which is otherwise called “Brahmam”. Everyone experiences “Brahmam” in their everyday life. The experience happens between the transition one from thought to another thought. So when the thoughts are killed, one will be filled with only Brahmam which makes one God, otherwise salvation. Jesus says the same thing in this phrase where he says the best sacrifice you give to God is give your mind. Upon the best sacrifice to God (if at all you see him different from you), God owes you salvation! “நொறுங்கிய நெஞ்சமே” does not mean a broken heart or mind, instead it means a mind which is killed or thoughtlessness.

The amazing phrase is the baseline for any version of spiritual philosophy from any religion. Jesus has always been so kind to the common man in making him understand the ultimate philosophy of salvation. If one understand the real meaning of Jesus doctrines, one can understand that there is no difference between any religion per
say. After all, religion guides one to the ultimatum, salvation from life.

Tags:

Aurora & Shiva Temples

July 17th, 2008 No comments

Auroras are now known to be caused by the collision of charged particles (e.g. electrons), found in the Sun’s Solar wind, with atoms in the Earth’s upper atmosphere (at altitudes above 80 km). These charged particles are typically energized to levels between 1 thousand and 15 thousand electronvolts and, as they collide with atoms of gases in the atmosphere, the atoms become energized. Shortly afterwards, the atoms emit their gained energy as light (see Fluorescence). Light emitted by the Aurora tends to be dominated by emissions from atomic oxygen, resulting in a greenish glow (at a wavelength of 557.7 nm) and – especially at lower energy levels and at higher altitudes – the dark-red glow (at 630.0 nm of wavelength). Both of these represent forbidden transitions of electrons of atomic oxygen that, in absence of newer collisions, persist for a long time and account for the slow brightening and fading (0.5-1 s) of auroral rays. Many other colors – especially those emitted by atomic and molecular nitrogen (blue and purple, respectively) – can also be observed. These, however, vary much faster and reveal the true dynamic nature of auroras. It is a bunch of
pretty colors in the sky made by God. No one knows how it really works. [Courtesy: Wikipedia ]

Have you imagined why the towers of our south indian shiva temples are so high ? I have not imagined about it either. All I knew is the tower has கலசம் (kalasam:cone) ( in odd number; bigger the temple, more the number of cones and bigger the cone size ) which is filled with high quality paddy seeds and other grams. There used to be a carnival in the temple every X number of years called குடமுழுக்கு ( kuda muzhukku ) where the seeds in the cones are changed. There is an anticipation of a பிரளயம் (pralayam) by water. So if some humans survived after the anticipated பிரளயம், they may grow these seeds and live further. So the height of the towers make sense now; just to escape out of the rising water level.

Do you know the cones of the towers are made of pure copper ? Do you know about எந்திரம் (endhram) which is burried under the Lingam in the temple ? An எந்திரம் (endhram) is a copper/silver inscribed plate. There exists an conductive circuit from the top of the tower with the கலசம் (kalasam) as the probe to the எந்திரம் (endhram) under the Lingam. So the technicality here is; the Lingam (representative of Lord Shiva) draws its energy from the cosmos through the circuit and delivers to the humans who present themselves before it. This way of getting energy is the easiest. But there exists a way to make our body as the antenna to receive the energy directly from the cosmos. You might have heard in mediation related speeches where they say when you keep your inner self calm, the energy from cosmos fills you up.

Coming back to Aurora’s, there has been such lights around the kalasams of Egambareshwarar temple in kanchipuram and other Shiva temples coming from far high ( ionosphere ). Energy thus obtained through the antennas of the temple are taken to the battery under the Lingam which in turn distributed to the eligible energy recipient (worshipers) who go in the vicinity of the Lingam.

There has been research going on about 1) what is the pattern of such aurora energy distribution and 2) what causes the very light. We Indian should go back to our literature and could get answers for the above questions. Finally, based on what we have seen thus far, it is apparent that aurora’s are just visuals of energy flow from cosmos to a recipient on Earth.

Tags:

Randomness

July 17th, 2008 2 comments

Lately, I was wondering how to generate random numbers without
seeding. Oh man, I could not think of randomness with a random seeding.
Now, I am realizing that random numbers cannot be generated without the
impregnation of a random entity. Generally we use the the current time
(in seconds) for the seeing purpose.

Ok, does the above mean
something else in real life ? Does it mean that there is nothing called
randomness ? Does it mean that anything and everything can be described
by a Generative model (A Generative model tries to establish the entire
distribution based only on the parameters that generate the
distribution; for example words generate documents and topics generate
words ) ? I remember hearing something about chaos theory which
dictates that behind any chaos, there exists a pattern. So, is our life
like a flowchart with the next steps hidden ? Are we calling this
flowchart the fate of life ?

Are we calling people who have
realized these patterns of life as Gods ? What are the ways to learn
these patterns by oneself ? Can one learn and accept his own pattern of
life ? Are we calling this learning process as the salvation ? If there
exists a generator function behind everylife, who decides on the
generator function ? Can one decide his own generator ? Do we call this
as winning one’s fate ?

If every life is like a flowchart, what
is the beginning and what is the end ? Will we have recursions and
loops in the flowchart ? Are we calling every loop in the flowchart as
one life ? If so, does one exist across multiple births and deaths ? If
so, who is that one ? If we agree on the loops, does the generator
function maximize or minimize our stay in this world ? What is the loop
termination condition? Is that a likelihood? How are we deciding the
likelihood of life? Are we comparing the actual living and ideal living
? What is ideal living ? Is Ideal living a process of learning and
accepting the generator function ? Will one stay quiet if the generator
function is learnt and accepted ? Can the generator function be also
called the destiny ? Does it mean if one knows the destiny, he becomes
quiet ? May be..

Ok, If living in the world is not the ideal
living, should we call this world as a punishment bench ?
Optimistically, shall we call it a training centre ? What is the real
purpose of this generator function ? From the above I can understand
that I am responsible for my own re-birth. Can there be no re-births at
all ? If the reason for re-birth is me, what is the reason for my first
birth ? Moreover, why was many first births (meaning many parallel
co-existed souls) ? And when all the loops of all the souls are ended,
what is next ? Is that the real doom’s day ? Am I going beyond the
scope of what I am ? Is my generator function designed to make me ask
these questions? May be..

Tags:

Embed Word Documents in Mozilla Firefox

July 17th, 2008 No comments

The procedure to enable inline viewing of Word documents in Mozilla Firefox is the following:

1. Enable Mozilla plugin by checking Tools->Options->Internet->Mozilla Plugin in OpenOffice Writer.
2. Check whether you’ve got the OpenOffice-Mozilla Plugin at /usr/lib/openoffice.org2.0/program/libnpsoplugin.so
3. Create a symbollic link at /usr/lib/mozilla/plugins/ to the above
libnpsoplugin.so to enable mozilla-openoffice plugin in firefox. You
need to restart firefox after this step.
4. Edit ~/.mozilla/firefox/pluginreg.dat for the following changes:
4.1 Search for the following text

OpenOffice.org Plug-in handles all its documents:$<br/>
OpenOffice.org Plug-in:$
31

4.2 Note the italicized count.
4.3 To the end of the list add the following text

31:application/msword:Opendocument Text:doc:$
32:application/vnd.ms-excel:Opendocument Spreadsheet:xls:$
33:application/vnd.ms-powerpoint:Opendocument Presentation:ppt:$

4.4 The index of the left of the above text should be relative.
4.5 The count should be updated as count = count + 3 ( as you are adding 3 more entries )
5. Restart firefox
6. Try opening a document in firefox; It will take few extra seconds to
start but eventually it will open the document inside firefox brower
itself.

A typical openoffice section would look like the following:

/usr/lib/openoffice.org2.0/program/libnpsoplugin.so:$
:$
1160152037000:1:5:$
OpenOffice.org Plug-in handles all its documents:$
OpenOffice.org Plug-in:$
34
0:application/vnd.stardivision.calc:StarCalc 3.0 – 5.0:sdc:$
1:application/vnd.stardivision.chart:StarChart 3.0 – 5.0:sds:$
2:application/vnd.stardivision.draw:StarDraw 3.0 – 5.0:sda:$
3:application/vnd.stardivision.impress:StarImpress 3.0 – 5.0:sdd:$
4:application/vnd.stardivision.impress-packed:StarImpress-packed 3.0 – 5.0:sdp:$
5:application/vnd.stardivision.math:StarMath 3.0 – 5.0:smf:$
6:application/vnd.stardivision.writer:StarWriter Template 3.0 – 5.0:vor:$
7:application/vnd.stardivision.writer-global:StarWriter Global 3.0 – 5.0:sgl:$
8:application/vnd.staroffice.writer:StarWriter 3.0 – 5.0:sdw:$
9:application/vnd.sun.xml.calc:StarOffice 6.0/7 Spreadsheet:sxc:$
10:application/vnd.sun.xml.calc.template:StarOffice 6.0/7 Spreadsheet Template:stc:$
11:application/vnd.sun.xml.draw:StarOffice 6.0/7 Drawing:sxd:$
12:application/vnd.sun.xml.draw.template:StarOffice 6.0/7 Drawing Template:std:$
13:application/vnd.sun.xml.impress:StarOffice 6.0/7 Presentation:sxi:$
14:application/vnd.sun.xml.impress.template:StarOffice 6.0/7 Presentation Template:sti:$
15:application/vnd.sun.xml.math:StarOffice 6.0/7 Formula:sxm:$
16:application/vnd.sun.xml.writer:StarOffice 6.0/7 Text Document:sxw:$
17:application/vnd.sun.xml.writer.global:StarOffice 6.0/7 Master Document:sxg:$
18:application/vnd.sun.xml.writer.template:StarOffice 6.0/7 Text Document Template:stw:$
19:application/vnd.oasis.opendocument.text:OpenDocument Text:odt:$
20:application/vnd.oasis.opendocument.text-template:OpenDocument Text Template:ott:$
21:application/vnd.oasis.opendocument.text-master:OpenDocument Master Document:odm:$
22:application/vnd.oasis.opendocument.text-web:HTML Document Template:oth:$
23:application/vnd.oasis.opendocument.spreadsheet:OpenDocument Spreadsheet:ods:$
24:application/vnd.oasis.opendocument.spreadsheet-template:OpenDocument Spreadsheet Template:ots:$
25:application/vnd.oasis.opendocument.graphics:OpenDocument Drawing:odg:$
26:application/vnd.oasis.opendocument.graphics-template:OpenDocument Drawing Template:otg:$
27:application/vnd.oasis.opendocument.presentation:OpenDocument Presentation:odp:$
28:application/vnd.oasis.opendocument.presentation-template:OpenDocument Presentation Template:otp:$
29:application/vnd.oasis.opendocument.formula:OpenDocument Formula:odf:$
30:application/vnd.sun.xml.base:OpenDocument Database:odb:$
31:application/msword:Opendocument Text:doc:$
32:application/vnd.ms-excel:Opendocument Spreadsheet:xls:$
33:application/vnd.ms-powerpoint:Opendocument Presentation:ppt:$

When I was writing this, the following are the version numbers:

1. OpenOffice.org 2.0.4-5.3
2. Mozilla Firefox 1.5.0.10

Tags:

Linker Error while compiling wxWidgets application in Visual Studio 6

July 17th, 2008 No comments
——————–Configuration: SVDui – Win32 Debug——————–
Linking…
wxmsw28d_core.lib(app.obj) : error LNK2001: unresolved external symbol __imp__InitCommonControls@0
wxmsw28d_core.lib(spinbutt.obj) : error LNK2001: unresolved external symbol __imp__CreateUpDownControl@48
wxmsw28d_core.lib(statbr95.obj) : error LNK2001: unresolved external symbol __imp__CreateStatusWindowA@16
wxmsw28d_core.lib(listctrl.obj) : error LNK2001: unresolved external symbol __imp__ImageList_GetIconSize@12
wxmsw28d_core.lib(imaglist.obj) : error LNK2001: unresolved external symbol __imp__ImageList_GetIconSize@12
wxmsw28d_core.lib(listctrl.obj) : error LNK2001: unresolved external symbol __imp__ImageList_Draw@24
wxmsw28d_core.lib(imaglist.obj) : error LNK2001: unresolved external symbol __imp__ImageList_Draw@24
wxmsw28d_core.lib(listctrl.obj) : error LNK2001: unresolved external symbol __imp__ImageList_GetImageCount@4
wxmsw28d_core.lib(imaglist.obj) : error LNK2001: unresolved external symbol __imp__ImageList_GetImageCount@4
wxmsw28d_core.lib(imaglist.obj) : error LNK2001: unresolved external symbol __imp__ImageList_Create@20
wxmsw28d_core.lib(dragimag.obj) : error LNK2001: unresolved external symbol __imp__ImageList_Create@20
wxmsw28d_core.lib(imaglist.obj) : error LNK2001: unresolved external symbol __imp__ImageList_Destroy@4
wxmsw28d_core.lib(dragimag.obj) : error LNK2001: unresolved external symbol __imp__ImageList_Destroy@4
wxmsw28d_core.lib(imaglist.obj) : error LNK2001: unresolved external symbol __imp__ImageList_Add@12
wxmsw28d_core.lib(dragimag.obj) : error LNK2001: unresolved external symbol __imp__ImageList_Add@12
wxmsw28d_core.lib(imaglist.obj) : error LNK2001: unresolved external symbol __imp__ImageList_AddMasked@12
wxmsw28d_core.lib(imaglist.obj) : error LNK2001: unresolved external symbol __imp__ImageList_ReplaceIcon@12
wxmsw28d_core.lib(dragimag.obj) : error LNK2001: unresolved external symbol __imp__ImageList_ReplaceIcon@12
wxmsw28d_core.lib(imaglist.obj) : error LNK2001: unresolved external symbol __imp__ImageList_Replace@16
wxmsw28d_core.lib(imaglist.obj) : error LNK2001: unresolved external symbol __imp__ImageList_Remove@8
wxmsw28d_core.lib(imaglist.obj) : error LNK2001: unresolved external symbol __imp__ImageList_SetBkColor@8
wxmsw28d_core.lib(imaglist.obj) : error LNK2001: unresolved external symbol __imp__ImageList_GetIcon@12
wxmsw28d_core.lib(dragimag.obj) : error LNK2001: unresolved external symbol __imp__ImageList_SetDragCursorImage@16
wxmsw28d_core.lib(dragimag.obj) : error LNK2001: unresolved external symbol __imp__ImageList_BeginDrag@16
wxmsw28d_core.lib(dragimag.obj) : error LNK2001: unresolved external symbol __imp__ImageList_EndDrag@0
wxmsw28d_core.lib(dragimag.obj) : error LNK2001: unresolved external symbol __imp__ImageList_DragMove@8
wxmsw28d_core.lib(dragimag.obj) : error LNK2001: unresolved external symbol __imp__ImageList_DragEnter@12
wxmsw28d_core.lib(dragimag.obj) : error LNK2001: unresolved external symbol __imp__ImageList_DragLeave@4
wxmsw28d_core.lib(uuid.obj) : error LNK2001: unresolved external symbol __imp__UuidToStringA@8
wxmsw28d_core.lib(uuid.obj) : error LNK2001: unresolved external symbol __imp__RpcStringFreeA@4
wxmsw28d_core.lib(uuid.obj) : error LNK2001: unresolved external symbol __imp__UuidCreate@4
wxmsw28d_core.lib(uuid.obj) : error LNK2001: unresolved external symbol __imp__UuidFromStringA@8
Debug/SVDui.exe : fatal error LNK1120: 25 unresolved externals
Error executing link.exe.

SVDui.exe – 33 error(s), 0 warning(s)

The solution to the above problem is to add “rpcrt.lib comctl32.lib” at project settings->Link->object/library modules
along with “kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib
advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib
odbccp32.lib”.

Tags:

Developing GUI Applications in C++ with wxWidgets

July 17th, 2008 No comments

Who said C++ cannot be used for Rapid
Application Development (RAD) ? There are many GUI frameworks for C++,
which are even portable across Unix, Windows and others. One such
framework is wxWidgets.

wxWidgets lets developers create applications for Win32, Mac OS X, GTK+, X11, Motif, WinCE, and more using one codebase. It can be used from languages such as C++, Python, Perl, and C#/.NET. Unlike other cross-platform toolkits, wxWidgets applications look and feel native. This is because wxWidgets uses the platform’s own native controls rather than emulating them. It’s also extensive, free, open-source, and mature.

wxWidgets
is not just a GUI framework. It provides native support for threads,
sockets, database connectivity, synchronization and what else. Qt also
provides such support, but I like wxWidgets for its simplicity is
programming use.

There is a RAD development tool called wx-devcpp
hosted at sourceforge, which helps faster creation of Frames, Controls,
Dialogs and more. wx-devcpp has support for Visual Studio 2005
compilation as well along with MinGW compilation in Windows. I use
wx-devcpp for forms creations and import the generated source to VS6.0
in Windows and KDevelop in my Fedora 7. The surprise is, the code
compiles with very minimal changes from VS6.0 to KDevelop environment.
I have used wxWidgets with STLport 5.1 for my development purposes.

Tags:

Half Clutch

July 17th, 2008 No comments

A motorcycle rider’s attitude could be easily
guessed by checking the clutch setting in his motorbike. There are
generally two modes of clutch setting, a half clutch, a full clutch.

To
brush up, clutch is a device that controls the amount of power
transferred from the engine to the rear wheel. Generally clutch device
is made of multiple discs called wet plates
and power is transmitted across these plates by friction. The clutch
lever on the left hand side controls the amount of friction and hence
the power transmitted. When one fully pulls the lever, the clutch
plates move away from eachother and no power transmitted. On the other
hand, when the clutch lever is released fully, maximum friction is
available amidst the plates and maximum power transfer. The magic is
how good one is, in handling the clutch to get the maximum out of the
bike, be it 100cc or 1500cc.

Half clutch is a
setting, where a full pull of the clutch lever does not pull the clutch
plates far away. So effectively, the operating range of the clutch
lever is so small. Even when the lever is released a little, one can
see the rear wheel starts rolling.

If you check
the bikes of boys vrrooomming in the signals like rockets, they would
have half clutch or even smaller. Boys with half clutch have a fast and
furious attitude. They need everything on their plate faster. These
guys cannot wait for anyone. These guys are performers given
opportunity. These boys are quick witted and even some of them are
impulsive too.

On the other hand, the full
clutch boys are patient movers. They take their time to do things.
These guys are steady and focussed. If you take a statistics across age
groups, full clutch setting would be opted by a lot of middle aged men,
who are good in decision making, logical thinking. These boys can wait
for their best catch. It is pretty difficult to make these boys angry.

With
respect of biking, half clutch boys outperform full clutch boys
significantly. The reason is full clutch will not let the bike to
perform to its fullest. One should not forget the half clutch ruins the
clutch plates and engine gears faster.

Tags: