Posts

Showing posts from February, 2006

'Sleeping on it' best for complex decisions

Complex decisions are best left to your unconscious mind to work out, according to a new study, and over-thinking a problem could lead to expensive mistakes.The research suggests the conscious mind should be trusted only with simple decisions, such as selecting a brand of oven glove. Sleeping on a big decision, such as buying a car or house, is more likely to produce a result people remain happy with than consciously weighing up the pros and cons of the problem, the researchers say.
more ...
http://www.newscientist.com/article.ns?id=dn8732&feedId=online-news_rss20
#!/usr/bin/python
print "Hex"

li = []
for i in range(128,256) :
li.append(hex(i))
for i in range(0,128) :
li.append(hex(i))

javastring = "String bytelookup = { "
for i in li :
javastring = javastring + "\""+ i +"\"" + ", "


javastring = javastring[0:-2] + " }"

print javastring