Friday, November 2, 2007

Linux Password protect, single user mode

Single user mode is considered as recovery mode in Linux, but many misuse it to change the root passwords .

U can password protect,i.e when a user logins in Single-user mode, the system asks for a root password

Jusy add this line in "/etc/inittab"

su:S:wait:/sbin/sulogin

Enjoy safety....

Thursday, August 23, 2007

Can you be a bit LOGICAL !!!!!!

This puzzle is called LATERAL THINKING

  man
1. ------------
board



Ans. = man overboard



Okay, let's see if you've got the hang of it.




      stand
2. ------------
i




Ans. = I understand





OK . . .

Got the drift ?


Let's try a few now and see

how you fare ?



3. /r/e/a/d/i/n/ g/






Ans. = reading between the lines





4.
         r
road
a
d





Ans. = cross road




Not having a good day now, are you ?


Redeem yourself.





5.
 cycle
cycle
cycle



Ans. = tricycle




Not easy to figure out ha!





   0
6. ------------
M.D.
Ph.D.



Ans. = two degrees below zero




C'mon give it a little thought ! !





  knee
7. ------------
light





Ans. = neon light

( knee - on - light )




U can prove u r smart by getting this one.





  ground
8. ------------ ---
feet feet feet feet feet feet




Ans. = six feet underground




Oh no, not again ! !




9. he's / himself



Ans. = he's by himself




Now u messing up big time.



10. ecnalg



Ans. = backward glance




Not even close ! !





11. death ..... life





Ans. = life after death




Okay last chance ............ ......



12. THINK






Ans. = think big ! !





And the last one is real fundoo - - -





13. ababaaabbbbaaaabbbb ababaabbaaabbbb. .




Ans. = long time no 'C'

( see )

Wednesday, August 22, 2007

11 things you did not and will not learn in school

Bill Gates speech at a High School about 11 things they did not and will not learn in school. He talks about how feel-good, politically correct teachings created a generation of kids with no concept of reality and how this concept set them up for failure in the real world.

Rule 1 : Life is not fair - get used to it!

Rule 2: The world won't care about your self-esteem. The world will expect you to accomplish something BEFORE you feel good about yourself.

Rule 3: You will NOT make $60,000 a year right out of high school. You won't be a vice-president with a car phone until you earn both.

Rule 4: If you think your teacher is tough, wait till you get a boss.

Rule 5: Flipping burgers is not beneath your dignity. Your Grandparents had a different word for burger flipping: they called it opportunity.

Rule 6: If you mess up, it's not your parents' fault, so don't whine about your mistakes, learn from them.

Rule 7: Before you were born, your parents weren't as boring as they are now. They got that way from paying your bills, cleaning your clothes and listening to you talk about how cool you thought you were. So before you save the rain forest from the parasites of your parent's generation, try delousing the closet in your own room.

Rule 8: Your school may have done away with winners and losers, but life HAS NOT. In some schools, they have abolished failing grades and they'll give you as MANY TIMES as you want to get the right answer. This doesn't bear the slightest resemblance to ANYTHING in real life.

Rule 9: Life is not divided into semesters. You don't get summers off and very few employers are interested in helping you FIND YOURSELF. Do that on your own time.

Rule 10: Television is NOT real life. In real life people actually have to leave the coffee shop and go to jobs.

Rule 11: Be nice to nerds. Chances are you'll end up working for one.

Tuesday, August 21, 2007

Puzzle 2:: Rectangle with rectangles

Now if u think my previous puzzle was easy...... :) try this [If u haven't heard the answer for this before and you solve this I salute your logical ability]

Question:There is a 8*8 and 1*6 rectangular pieces .now u are allowed to make 8*8 board into two pieces and with the available three pieces u have to make 7*10 rectangular piece?

Ans:

C'mon this is not going to be that easy....












The below image explains it all


Puzzle:: "Love in Chor-Bazar"

Question: Veru and Basanti have fallen in love (via the internet) and Veru wishes to mail her a ring. Unfortunately,they live in Chor-bazar where anything sent through the mail will be stolen unless it is enclosed in a padlocked box. Veru and Basanti each have plenty of padlocks, but none to which the other has a key. How can Veru get the ring safely into Basanti’s hands?

C'mon think
.
.
.
.
.
.
.
.
.
.
.
.
Ans: Veru sends Basanti a box with the ring in it and one of his padlocks on it. Upon receipt Basanti affixes her own padlock to box and mails it back with both padlocks on it. When Veru gets it he removes his padlock and sends the box back to Basanti;

This solution is not just play; the idea is fundamental in Diffie-Hellman key exchange, an historic breakthrough in cryptography.

Tuesday, August 14, 2007

What's Special About This Number?

A GREAT analysis on numbers....

http://www.stetson.edu/~efriedma/numbers.html

Isn't it

Tuesday, July 10, 2007

GenEXT Passion!!!!

Today i cames across a blog of a 16 year old guy who is passionate to get into Microsoft.His whole blog is filled of MS new products and the areas of research MS is working in on. At that age i hardly know about computers ....may be this is the next generation or there must some driving force which made him so passionate about MS. Anyways wishing him ALL THE BEST..

Sunday, July 8, 2007

Airport-extreme (Atheros card AR5006ER) drivers..

The latest Mac-Mini(Apple) uses Airport extreme 802.11g card and the card actually made by Atheros communications and the specifications of the card are not and it is sole licensed by Apple computers and it is very difficult to write drivers for such a card.

But great brains never give up.....some geeks have seen the implementation of the card and produced drivers by reverse engineering.

I have used MADWIFI drivers and able to detect the wireless card in Linux.

Any more problems can be solved using http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/

Sunday, April 22, 2007

Teach Yourself Programming in Ten Years

Why everyone are in such a rush?

Walk into any bookstore, and you'll see how to Teach Yourself Java in 7 Days alongside endless variations offering to teach Visual Basic, Windows, the Internet, and so on in a few days or hours.
When u do a search for "Hours" in Amazon.com u fill find many book, in that most of them are for Computers.
The conclusion is that either people are in a big rush to learn about computers, or that computers are somehow fabulously easier to learn than anything else. There are no books on how to learn Beethoven, or Quantum Physics, or even Dog Grooming in a few days.

Teach Yourself Programming in Ten Years

Researchers (Hayes, Bloom) have shown it takes about ten years to develop expertise in any of a wide variety of areas, including chess playing, music composition, painting, piano playing, swimming, tennis, and research in neuropsychology and topology. There appear to be no real shortcuts: even Mozart, who was a musical prodigy at age 4, took 13 more years before he began to produce world-class music. In another genre, the Beatles seemed to burst onto the scene with a string of #1 hits and an appearance on the Ed Sullivan show in 1964. But they had been playing small clubs in Liverpool and Hamburg since 1957, and while they had mass appeal early on, their first great critical success, Sgt. Peppers, was released in 1967. Samuel Johnson thought it took longer than ten years: "Excellence in any department can be attained only by the labor of a lifetime; it is not to be purchased at a lesser price." And Chaucer complained "the lyf so short, the craft so long to lerne."

Peter-Norvig recipe for programming success:
1. Get interested in programming, and do some because it is fun.
2. Talk to other programmers; read other programs. This is more important than any book or training course.
3. Program. The best kind of learning is learning by doing
4. Work on projects with other programmers. Be the best programmer on some projects; be the worst on some others. When you're the best, you get to test your abilities to lead a project, and to inspire others with your vision. When you're the worst, you learn what the masters do, and you learn what they don't like to do (because they make you do it for them).
5. Work on projects after other programmers. Be involved in understanding a program written by someone else.
6. Learn at least a half dozen programming languages. Include one language that supports class abstractions (like Java or C++), one that supports functional abstraction (like Lisp or ML), one that supports syntactic abstraction (like Lisp), one that supports declarative specifications (like Prolog or C++ templates), one that supports coroutines (like Icon or Scheme), and one that supports parallelism (like Sisal).
7. Remember that there is a "computer" in "computer science". Know how long it takes your computer to execute an instruction.

Thursday, February 8, 2007

Brainf**k--A Programming language--can u believe it?

Don't RUB your eyes.....read on

Brainfuck is the ungodly creation of Urban Müller, whose goal was apparently to create a Turing-complete language for which he could write the smallest compiler ever, for the Amiga OS 2.0. His compiler was 240 bytes in size.

ABOUT Language
---------------------------

The Brainfuck programming language consists of eight commands, each of which is represented as a single character.

> Increment the pointer.
< Decrement the pointer.
+ Increment the byte at the pointer.
- Decrement the byte at the pointer.
. Output the byte at the pointer.
, Input a byte and store it in the byte at the pointer.
[ Jump forward past the matching ] if the byte at the pointer is zero.
] Jump backward to the matching [ unless the byte at the pointer is zero.

Thursday, February 1, 2007

What not a human *MIND can do?

Wu Yingying, 21, holding patents for three of her 100 inventions, has become Asia operations vice president with TopCoder, a Connecticut-based multinational company before her graduation.














Wu's inventions, ranging from the OPEN Indexing Technology to the Dynamic Counter Cachet Technology, won her the 2006 Innovation and Technology Prize of China, an award sponsored by the Ministry of Education.

Wu was admitted to the Beijing Normal University in 2003. She led the university team in winning the runner-up title of the ACM International Collegiate Programming contest in 2005. The same year, she went to Stanford University as a visiting student.

Wu's impressive academic record at Stanford caught the attention of TopCoder, which offered her an olive branch earlier this year and tap her as the Asia operations vice president in October.


...................................SALUTES TO THIS GREAT MIND........................

Wednesday, January 31, 2007

Heading for a **START**

Inspired by lot of ppl..at last i have created a blog and thought to keyboard my thoughts...bcoz sweet memories are never to be forgotten...:)