Thursday, March 15, 2012

Changing the default windows manager when one is using VNC

Typically when you start VNC a default twm windows manager comes up, and the remote user who logs in gets a windows manager which is not easy to navigate and also has to start applications by hand.

So, next time you want the user to have a KDE environment -which provides good interface... do this.

  1. Edit ~/.vnc/xstartup
  2. For KDE, replace "twm &" with "startkde &"
  3. For Gnome, replace "twm &" with "exec gnome-session &"
  4. Kill any existing VNC servers with "vncserver -kill :xxx" where xxx is the display number.
  5. Start a new server.

Monday, March 12, 2012

How to start smash Project zero in Windows 7.,








Steps to do when starting project zero on Windows 7,

If you get this message after installing the sMash zero.zip file on Windows 7, it means the JAVA_HOME is not set right.
Set it to 32 bit JAVA JVM, and retry again.


Once this is done, try to start the demo project, if you get this message it means the console contains a resolved.properties file . This file contains the java native paths and dependencies. If this file becomes corrupt or the location of java is moved, this problem can occur.
To resolve this : zero resolve to recreate the properties file.

How to start smash Project zero in Windows 7.,

Steps to do when starting project zero on Windows 7,

If you get this message after installing the sMash zero.zip file on Windows 7, it means the JAVA_HOME is not set right.
Set it to 32 bit JAVA JVM, and retry again.


Once this is done, try to start the demo project, if you get this message it means the console contains a resolved.properties file . This file contains the java native paths and dependencies. If this file becomes corrupt or the location of java is moved, this problem can occur.
To resolve this : zero resolve to recreate the properties file.









Monday, March 5, 2012

Russian -Indian- US parliamentary system, as published in Times of India.

How is the Russian government system different from ours

Like other commonwealth countries,the government structure in India is modelled on the UKs Westminster system.There is a head of state a monarch in Britain,and a president in our country who is ceremonial while the real power is with a parliament directly elected by the people.
 
The executive,which runs the country,must be made up of elected members of the legislature.
 
Russia on the other hand is a presidentialstyle democracy.However,unlike other such countries where the president is both head of state and government,the Russian president has to appoint a chairman who heads the government.
 
Unlike in the US,where the president is formally elected by an electoral college,the Russian president is elected by direct universal suffrage.


What is role of the prime minister in Russia


There is actually no such thing as the PM of Russia.The term is used colloquially for the chairman of the government,who may or may not be an elected member of the parliament,known as the Duma.The chairman is appointed by the president with the consent of the State Duma.The president has the right to appoint the chairman even when the candidate is opposed by the Duma.


How does the Russian legislature function


The federal assembly is a bicameral legislature.It has two houses the State Duma (lower) and the Council of Federation (higher).The members of the Duma are elected through direct universal suffrage.There are no direct elections for the Council.The council has two representatives from each constituent entity of the Russian Federation.One of them is elected by the state legislature while the other is nominated by the state government.The Duma has supreme legislative power.It can override the council and in special conditions force the president to sign a federal bill into law.The Duma can also initiate the impeachment of the president.


How is Putin so powerful then


Throughout his presidency,Putins predecessor,Boris Yeltsin,lacked the support of pro-Kremlin parties in the Duma and the Council.As a result,his regime was marred by difficulties in legislation.After becoming president,Putin consolidated his power.He changed the method of election of the members of the council ensuring that the upper house should have a majority of people who are loyal to him.To control the Duma,Kremlin heavily supported the United Russia party.

Social security - How and when to withdraw Social Security -

 Article - cut and paste from SmartMoney online .
 ---- snippets from the article -----
Eligible Americans who turn 62 this year must wait until age 66 to begin receiving full payments. But they can receive smaller payments beginning as soon as age 62, or plus-size payments beginning as late as age 70.

(There are some restrictions for those who continue to work, depending on income. See "How Work Affects Your Benefits", published by the Social Security Administration.)

Monthly payments are 76% greater for a retiree who waits until age 70 than for one who begins collecting at 62, adjusted for inflation. That type of arrangement, where a person forfeits money today in exchange for receiving a larger stream of payments in the future, has a name in the investment world. It's called an annuity.

.....


The goal of retirees should be to collect the largest possible "present value" of payments. That's not simply the value of projected future payments added together. It's the value of these payments, with each one reduced by a "discount rate," or a theoretical return that the recipient misses out on by not having the money today.


Shoven and Slavov based their study on Americans who turn 62 this year. Women in this group are expected to live to age 85.5 and men, 83.0. The authors consider varying marital and income statuses and interest rates.


One overriding finding is that most retirees are best off waiting when "real" interest rates are below 3.5% -- in other words, when savers can safely earn no more than that amount after inflation. At the moment, real interest rates are zero, or less: Treasury bonds that adjust for inflation and have maturities of five to 10 years carry slightly negative yields.

In other words, most retirees who don't need the money and aren't sure what to do should probably wait to begin receiving payments.
Single women maximize the present value of their benefits by waiting until age 70, so long as real interest rates are below 0.8%. But even when real rates are zero (which they are), single men should wait until only 69, because of their shorter life expectancies.



Here's when couples should collect, according to Shoven and Slavov: For one-earner couples, the earner should wait until 70 whenever real interest rates are below 2.5% (now), and not wait at all when they're above 5.3%. Assuming the earner waits until 70, the non-earner should begin payments at 66.

For two-earner couples, the difference in income matters. Suppose benefits for the low earner would be 75% of those for the higher earner at full retirement age (66 for the study group). At real interest rates of 0.6% and lower (now), both should generally wait until 70 to collect worker benefits, and the low earner should collect spousal benefits at age 66.

If all of this seems menacingly complex, it's because it is. And most retirees don't seem to maximize the present value of their benefits. Shoven and Slavov find that for groups born 73 to 82 years ago (for whom the benefits of delaying payments were significant, if not quite as large as now), about 43% filed for payments within two months of reaching age 62. For those who weren't working by 62, more than 75% were immediate filers. The authors found no consistent relationship between early filing and health status.

More-educated retirees tended to delay payments for longer, but that's not necessarily because they understood the benefits of waiting. They tend to be wealthier and were thus less likely to need the cash early.

More on this article can be found here.

http://finance.yahoo.com/news/how-to-outsmart-social-security.html