Appling patch to mainline kernel
<object width=”400″ height=”280″><param name=”allowfullscreen” value=”true” /><param name=”allowscriptaccess” value=”always” /><param name=”movie” value=”http://vimeo.com/moogaloop.swf?clip_id=8200182&server=vimeo.com&show_title=1&show_byline=1&show_portrait=0&color=&fullscreen=1″ /><embed src=”http://vimeo.com/moogaloop.swf?clip_id=8200182&server=vimeo.com&show_title=1&show_byline=1&show_portrait=0&color=&fullscreen=1″ type=”application/x-shockwave-flash” allowfullscreen=”true” allowscriptaccess=”always” width=”400″ height=”280″></embed></object><p><a href=”http://vimeo.com/8200182″>HOWTO – apply a Linux kernel patch to the stable tree</a> from <a href=”http://vimeo.com/user2807142″>Greg KH</a> on <a href=”http://vimeo.com”>Vimeo</a>.</p>
Things That Didn’t Happen Last Decade [Lists]
2000
After a disputed election in which the American public responsibly calls for a commitment to the democratic process and lets vote re-counters do their job in a thorough fashion, Al Gore is elected President of the United States. His presidency is marred by jokes about what a boring, intellectual tree-hugger he is.
Vice President-Elect Joe Lieberman becomes the country’s most unpopular Vice President before he even takes office. It is leaked that his Secret Service codename is “Droopy the Douche.”
2001
Due to a sudden burst of scientific funding and global cooperation, Earth makes leaps and bounds in space exploration. Within the first three months, a gigantic black monolith is found near the Tycho crater on the moon. The United States and Russia team up to develop a spaceship capable of tracking the monolith’s signal to Jupiter while sustaining most of its crew in a hibernation state. Unfortunately, the advanced AI built for the missions seems to malfunction and communication with the Discovery One is lost.
Steve Jobs later reveals that it was actually a viral marketing campaign for the iPod.
2002
George Lucas scraps the Star Wars prequel trilogy franchise, claiming that he was just trolling the whole time. Instead, he green lights three separate televisions series: the animated Clone Wars, a mini-series covering the Rebellion prior to A New Hope, and a series centered on the Expanded Universe sequels. These, alongside the immensely popular hit Firefly, aired on ABC, become the most successful science fiction shows since Star Trek.
Two guys over at the Sci Fi network try to capitalize on this and create a new Battlestar Galactica series, but executives nix it, claiming there are too many space battles on TV as there is. As a result, no one below the age of 30 knows what a “Cylon” is.
Also, Hayden Christensen becomes a McDonald’s janitor.
2003
President Gore takes a hydrogen-cell airplane and lands it on top of the National Greenhouse, claiming that the war against Global Warming is over. Mission Accomplished. Rather inconveniently, the truth later contradicts him. It becomes a signature blunder.
Saddam Hussein decides of his own accord that his rule is harming the nation of Iraq. He steps aside and allows a peaceful democratic election to choose his successor. He and rising political star, the Mayor of Tehran, Mahmoud Ahmadinejad, take a vacation to Disenyworld Paris and return much more inclined to be diplomatic and friendly.
2004
In an effort to reach out to the Medicare demographic, Super Bowl XXXVIII’s halftime show features Barbra Streisand and Neil Diamond. Halfway through their performance, Streisand rips Neil Diamond’s pants off, inadvertently taking his underpants with them. Millions of viewers catch a glimpse of Neil Diamond’s junk.
The FCC refrains from fining CBS, stating that it was obviously just a wardrobe malfunction and adding that “Neil Diamond is awesome.” Everyone has a good laugh.
The New England Patriots subsequently lose the Super Bowl, with Tom Brady claiming that “something” threw off his game in the second half.
Rudy Giuliani loses his bid for the White House. Experts attribute it to the fact that he constantly claimed he was from an alternate timeline in which he helped New York through some sort of terrorist attack. Al Gore is re-elected.
Vice President Joe Lieberman, who had rejected government health insurance out of a personal commitment to the private health insurance industry, is attacked by a rabid Tazmanian Devil and subsequently dies in the hospital when Cigna claims the rabies were a pre-existing condition. The Secret Service claims that the Tazmanian Devil was a professional and that there was nothing they could do.
Howard Dean becomes Vice President. He and Gore begin a campaign for universal healthcare.
2005
Pope John Paul II passes away. The Catholic Church decides to name a gay, black, female Pope to usher in a new generation of Catholics.

Wanda Sykes takes on the name Pope Sass. The number of self-identified “lapsed Catholics” sharply drops and the religion gains new followers in a record amount of time.
The papacy is not without controversy, however, when Cardinal Joseph Ratzinger creates his own branch of the Church and crowns himself Pope Palpatine, declaring war on the mainline. Calling upon his God, Palpatine sends a hurricane to the United States to punish what he calls “Pope Sass’s people.”
Pope Sass holds an emergency prayer session and millions flock to the Vatican to prevent the Hurricane’s destruction. Together, former Presidents George Bush Sr. and Bill Clinton mobilize FEMA to construct a mile-high coastal levy of steel and reinforced concrete. Miraculously, the levy is completed in time and the Gulf Coast is spared. New Orleans throws a huge party.
At his next concert, rising pop sensation Kanye West tells his fans that “George Bush really does care about black people.”
Dumbledore kills Snape.
2006
Red Hat releases the Penguin, the world’s first smart phone capable of surfing the web and receiving e-mails for free. The device is wildly popular and introduces the Linux operating system to the mainstream. Soon, Apple and Microsoft stocks plummet as more and more people begin collaborating to create an open-source operating system that is dubbed by technical analysts as “the most important computer development since that dancing baby meme.”

The FTC allows Apple and Microsoft to become a single corporate entity known as Dominatron. Dominatron releases its own line of smart phones known as iChief. Their wildly popular “I’m a Dominatron” ads portray the Halo character Master Chief shooting anyone who dares criticize their faulty products. Afterwards, the Master Chief typically takes off his helmet to reveal comedic actor Justin Long, who makes a witty comment. Hipsters and bros alike flock to the iChief, leaving the Penguin and Linux to a small, niche market of computer nerds.
Pluto is declared “Best Planet Ever” by Scientists.
2007
J.K. Rowling completes the Harry Potter series with the seventh installment Harry Potter and the Curse of Indifference in which Harry Potter is afflicted with Whogivesashitamus and decides to give up fighting Voldemort. Ron and Hermione, after sharing a shockingly graphic sex scene, are forced to become heroes and lead the Order of the Phoenix to war against Voldemort’s minions. In a particularly violent and disturbing chapter, every main character is tortured and killed. This is resolved when Snape comes back from the dead through the Deusexmachina enchantment and revives everyone with a Blahblahetc. potion. Neville Longbottom kills Voldemort with a sword. Harry Potter becomes an accountant.
The book receives mixed reviews, with some praising Rowling’s “bold, new direction” in closing the series. Others are horrified by the ending and refuse to acknowledge that it exists. Critics and fans of the seventh book all manage to agree that the book’s epilogue stands on its own as the best piece of modern literature ever written.
2008
Hillary Clinton beats out Barack Obama as Democratic nominee for President. She proceeds to defeat Mike Huckabee in the general election, despite the fact that his Vice Presidential pick was Chuck Norris.
An angry Chuck Norris decides to do a national tour of every major political news show and roundhouse kicks every pundit he talks to including Keith Olbermann, Bill O’Reiley, Rachel Maddow, and Sean Hannity to name a few. Glenn Beck dies from internal bleeding.
Pope Sass leads an initiative to create a Constitutional referendum abolishing the restriction of marriage for homosexual couples. Proposition Mate passes making gay marriage legal across the country. Christians react surprisingly well.
It is revealed that many of the assets held by investment banks are literally composed of Monopoly money. When Parker Brothers sues for trademark infringement, Wall Street goes into a panic and sets off a terrible financial crisis. In his last act as President, Al Gore refuses to provide any federal aid to anyone, vetoing every bailout bill that comes on his desk. Major banks fail, scores of executives are arrested and the world watches in terror as the financial system collapses.
Fortunately, the responsible banks stay in business and step up to the plate to help the economy recover. By the end of the year, the recession is over and everyone has a merry Christmas.
2009
Clinton names Jon Stewart as her Press Secretary and Howard Dean as Secretary of Health and Human Services. Barack Obama is named Secretary of Awesome.
The bipartisan universal healthcare legislation worked on since Gore’s administration passes. Doctors move on to find the cure for cancer. The next day, they find the cure for AIDS.
Israel and Palestine come to a peace agreement in which Israelis and Palestinians live side by side without conflict. Meanwhile, in Iran, President Mousavi is elected peacefully and Iran agrees to cooperate with the United Nations on its nuclear energy program.
Bill Gates and Steve Jobs create the Dominatron Foundation to end starvation. They do so by creating the Dominatron Global Hydroponics Center. They give away the technology to nations in need and essentially eliminate world hunger.
Advances in hydroponics create a spike in the popularity of marijuana. The drug is legalized in all 50 states.
Michael Bay retires from fillmmaking.
Duke Nukem Forever is released and declared Best Game of All Time. Men, women, and children of all races, religions and creeds come together to play the game on its opening launch and declare it a masterpiece. No crime is committed on this day.
A healthy and vibrant Michael Jackson has surgery to return to his original skin color. He gives up the publishing rights to his half of the Beatles’ music, an act of such magical generosity that it revives John Lennon and George Harrison from the grave. The Beatles and Michael Jackson agree to hold a giant concert in Times Square, streamed free to the entire world. President Clinton, her Cabinet, Congress, and several world leaders are in attendance.
Out of nowhere, Osama bin Laden detonates a nuclear bomb, essentially decapitating the United States government. In an emergency election, Alaskan governor Sarah Palin is elected President with her running mate Dick Cheney. Palin declares a War on Islam and proceeds to bomb Iraq, Iran, and North Korea. Eventually China, Russia, and the European Union get involved.
2010
World War III. Humanity is exterminated by the end of the year.
—-
Happy a happy new decade, everyone!
Free Online Git server
Free Online Git server to host you project and collaborate with others.
1. www.github.com
2.www.gitorious.org
Open Source 2010
Morgen beginnt ein neues Jahr. Naja, um ehrlich zu sein, beginnt sogar ein neues Jahrzehnt. Nun könnte man prima einen Rückblick machen, so wie alle es machen. Oder, was vielleicht schöner ist: Nach vorne blicken und sehen, was kommt.
Linux kernel design patterns
Linux kernel design patterns
In the Linux kernel code base there are many design patterns that have been found to be effective. However most of them have never been documented so they are not easily available to other developers. few of them are discussed in the following articles.
http://lwn.net/Articles/336224/
http://lwn.net/Articles/336255/
http://lwn.net/Articles/336262/
A tale of two Linux migration reviews
LiMux Watch has an interesting review of Munich’s ongoing transition to Linux in 2009. The one that was approved in 2003, actually started on 2006 and, from the looks of it, will end in 2020.
More interesting is how former LiMux project manager and now PR representative of Munich IT, Florian Schiessl, still doesn’t get it: the project hasn’t delivered and it would be nice to know why. So far he acknowledged in his blog people ask that a lot, then forgot totally about it, all in the same day. Vendor lock-in doesn’t count because everyone knew that and it should have been (was it?) accounted for in the initial project proposal. Also because that when it comes to Free Software, “vendor lock-in” sometimes really means “We don’t have the functionality your proprietary software already has.”
While this is Florian’s personal view (not Munich’s), I find worrisome his joyous emphasis on the selection of Linux and free software as a political decision. He describes it at some length, and it gave me the chills: if Florian is right, then Munich’s migration to Linux is a pet project of a 2003 City Council who said they wanted one thing (openness) but chose another (Linux and OpenOffice) because their ideology told them it was the right choice.
Reading Florian’s 2009 review, the use of Firefox, Thunderbird and OpenOffice as standard in Munich comes out as the biggest achievement of the year and of the project so far. This might be good news for Free Software and even for the city of Munich, but it doesn’t mean anything for Linux: all three are available for Windows. And from what we know, Munich still runs them *on* Windows.
Why so late, why so incomplete? It looks like a bunch of Free Software, server-side people (Linux) thought of the desktop as a brain-dead server, and of Word, Excel and PowerPoint as childish toys for brain-dead people. “Sure, why, Linux can power your desktop! It powers Google, doesn’t it?”
The problem with the desktop is that it’s personal. If the network is the computer, as Sun used to say, then the desktop is the human. And humans have a low tolerance for inconvenience, especially when the thing they had before worked.
Windows had a hard time becoming a server platform from its desktop origins, and the first milestone was having a credible server version -i.e. Windows NT. Some people still remember it fondly, and the only reason Munich even thought about switching was because NT had reached its end-of-life from Microsoft. Coming in the opposite direction, Linux insists on bringing the best the 70’s has to offer in server operating systems to the desktop, even doing the same thing Microsoft did to DOS to make it like the Mac: putting a nice GUI on top of it.
Adopting Linux for the desktop is like marrying a gold-digger in California: everything will be just fine as long as you remember you work for her now and her needs are yours.
But the point I want to press is this: are we asking the right things from our computing infrastructure? In Munich’s case, was it really impossible to have open file formats with Office? Was it really impossible to run Free Software on Windows? Did the City Council aim to improve the city’s computing infrastructure or just wanted to create a success story for Free Software?
My previous post was about my wishes for 2010. Now I want to add: I wish people don’t confuse information policy and procedures with choosing software applications and platforms.
Read CPU Core Temperature
Well this is a tricky part where I have struggled for a function returning cpu temp in java and failed . Then I chose lm-sensor for this purpose .
step1
Installation :
install the package lm sensors for your linux distro
sudo apt-get install lm-sensors
step 2:
run sensors in terminal
if you have installed for first time probe it to kernel first
step 3: restart the system and try sensors now
I have a core2quad processor and i get temperature of four processors as
karthik@Karthik:~/Programs$ sensors
coretemp-isa-0000
Adapter: ISA adapter
Core 0: +47.0°C (high = +74.0°C, crit = +100.0°C)
coretemp-isa-0001
Adapter: ISA adapter
Core 1: +37.0°C (high = +74.0°C, crit = +100.0°C)
coretemp-isa-0002
Adapter: ISA adapter
Core 2: +39.0°C (high = +74.0°C, crit = +100.0°C)
coretemp-isa-0003
Adapter: ISA adapter
Core 3: +46.0°C (high = +74.0°C, crit = +100.0°C)
step 3:
call the process class of java and get back the string returned
import java.io.*;
class cpu {
public static void main(String []args) throws Exception
{
Runtime r=Runtime.getRuntime();
String f,temp,res=”";
int i=0,j=0;
f=”sensors”;
Process p=r.exec(f);
BufferedReader pin=new BufferedReader(new InputStreamReader(p.getInputStream()));
while((temp=pin.readLine())!=null)
{
System.out.println(temp);
}
}
}
Then make it flexible for your own purpose by proper string parsing ….
Thank you !
Magazine in LaTeX
As a LaTeX aficionado, and a scientist… I, somehow, wanted to know how to make a maganize using LaTeX.
After googling my doubt, I noticed that to many people is interested in the same stuff… so here is what I found out.
- There is a class named papertex: for doing newspapers, but also useful if you want to do a magazine.
- If you understand Spanish try the Occam’s Razor way, in the second volume the explain how they did it.
- The FreSoftwareMagazine way, find out (more or less) in the their 7th volume.
- There exist a class called scrartcl, and a useful guide is “Magazinerstellung mit LaTeX” by Dominik Wagenführ.
Hope it would be useful!
Have a happy new year.
Wish you a happy new year 2010!
Hello Readers of WalkinJobs Blog,
Wish you all a Very Happy and Prosperous New Year 2010!!! and Good luck for more and more success in your career in the year to come!!!
Best Regards,
WalkinJobs Admin.
——————————————————————————————————————————
Happy New Year Greetings Messages at http://quotesmany.com/new-year-sms/











