Hard-to-find tips on otherwise easy-to-do tasks involving everyday technology, with some advanced insight on history and culture thrown in. Brought to you by a master dabbler. T-S T-S's mission is to boost your competitiveness with every visit. This blog is committed to the elimination of the rat from the tree of evolution and the crust of the earth.
Tuesday, December 20, 2016
Sunday, December 18, 2016
Reagan's Soviet Jokes
In the USSR, it takes 10 years to get a car and you have to pay in advance and only 1 in 7 families have autos. One guy gets his $ together and goes to the place to order one and the guy says okay, come back in 10 years to pick up your car. The guy says "Morning or afternoon?". The guy behind the counter says, "10 years from now what difference does it make?" The buyer says, "The plumber's coming in the morning."
An American and a Russian are arguing about which system is better. The A says I have great freedom - I can walk into the Oval O and pound the desk and say, Mr. President I don't like the way you're running this country. The Russian says I can do that. The American is stunned. You can?
Yes, I can walk into the Kremlin, into the General Secretary's office, pound the desk and say, "Mr. G. Secretary, I don't like the way Reagan's running his country."
In the USSR, only 1 in 7 families own automobiles and most of them are owned by bureaucrats - the government issues them autos. At one point, they decide on a zero tolerance policy towards speeding. Anyone, regardless of rank, would get a ticket for speeding. One day, Gorbachev is late for his meeting, he tells his driver, you get in the back, I'll drive today. The pass 2 motorcycle cops and one of them chases him. Ten minutes later, he's back and his buddy says "Did you give him a t?" "No, too important." "What? You're supposed to give anyone speeding a ticket." "I know, but this guy was too important." "Really? Who was it?" I couldn't recognize him, but his driver was Gorbachev.
A guy loses his parrot and he reports it to the KGB. The KGB says, "Well, you lost ya parrot, why botha us? Why not go to your local police department?". Thy guy says, "I just want you to know that I don't agree with a single thing my parrot says."
Three dogs - American, Polish and Russian are talking about which country is the best. The A dog says "In our place, you bark long enough and sure enough, someone will give you a piece of meat." The Polish dog says, "What's 'meat'?" Then the R dog says, "What's 'bark'?"
A soldier calls out to a man. The man doesn't stop. The soldier shoots him. His fellow soldier says, "what did you do that for?" "Curfew." "But it's not curfew yet." "True, but that guy's a friend of mine. I know where he he lives and he wouldn't have made it."
An American and a Russian are arguing about which system is better. The A says I have great freedom - I can walk into the Oval O and pound the desk and say, Mr. President I don't like the way you're running this country. The Russian says I can do that. The American is stunned. You can?
Yes, I can walk into the Kremlin, into the General Secretary's office, pound the desk and say, "Mr. G. Secretary, I don't like the way Reagan's running his country."
In the USSR, only 1 in 7 families own automobiles and most of them are owned by bureaucrats - the government issues them autos. At one point, they decide on a zero tolerance policy towards speeding. Anyone, regardless of rank, would get a ticket for speeding. One day, Gorbachev is late for his meeting, he tells his driver, you get in the back, I'll drive today. The pass 2 motorcycle cops and one of them chases him. Ten minutes later, he's back and his buddy says "Did you give him a t?" "No, too important." "What? You're supposed to give anyone speeding a ticket." "I know, but this guy was too important." "Really? Who was it?" I couldn't recognize him, but his driver was Gorbachev.
A guy loses his parrot and he reports it to the KGB. The KGB says, "Well, you lost ya parrot, why botha us? Why not go to your local police department?". Thy guy says, "I just want you to know that I don't agree with a single thing my parrot says."
Three dogs - American, Polish and Russian are talking about which country is the best. The A dog says "In our place, you bark long enough and sure enough, someone will give you a piece of meat." The Polish dog says, "What's 'meat'?" Then the R dog says, "What's 'bark'?"
A soldier calls out to a man. The man doesn't stop. The soldier shoots him. His fellow soldier says, "what did you do that for?" "Curfew." "But it's not curfew yet." "True, but that guy's a friend of mine. I know where he he lives and he wouldn't have made it."
Wednesday, December 14, 2016
Moonwalking with Einstein : Josh Foer
Disappointing - 90% fluff. The non fluff :
Sigmund Freud found from his research that older memories seem to the rememberer as if described by an observer through a camera whereas the newer memories are more first-person-ish.
The Ad Herrenium is a must read.
If you want to feel like life is passing you by very fast, then make it monotonous. If you want to feel like time is passing slowly, then create anchors - memories that you can associate with moments in time - make your life interesting.
Sigmund Freud found from his research that older memories seem to the rememberer as if described by an observer through a camera whereas the newer memories are more first-person-ish.
The Ad Herrenium is a must read.
If you want to feel like life is passing you by very fast, then make it monotonous. If you want to feel like time is passing slowly, then create anchors - memories that you can associate with moments in time - make your life interesting.
Why You Should Master Python builtins - tuple, list, etc..
David Beazley - supermensch..
https://www.youtube.com/watch?v=lyDLAutA88s
Bonus : you'll find out why you should NOT eat at O'Hare or Subway.
Monday, December 12, 2016
Screwed by Ophtotech : Thank You David Guyer
Now I've seen it - a stock I'm holding drops in value 85% overnight. $400 goes poof.
Thursday, December 01, 2016
Steve Skiena Algorithm Complexity
n! > 2^n > n^3 > n^2 > nlogn > n > logn > 1
1 : Adding 2 numbers
log(n) :
n : sweeping through an array of elements
n*log(n) : Heap sort
n^2 : Bubble sort
n^3 : Matrix multiplication
2^n : enumerating all subsets of a given set
n! : enumerating all permutations (Eg. perfect solution to travelling salesman problem)
https://youtu.be/ZJfRrGlMXp4?list=PLOtl7M3yp-DV69F32zdK7YJcNXpTunF2b
1 : Adding 2 numbers
log(n) :
n : sweeping through an array of elements
n*log(n) : Heap sort
n^2 : Bubble sort
n^3 : Matrix multiplication
2^n : enumerating all subsets of a given set
n! : enumerating all permutations (Eg. perfect solution to travelling salesman problem)
https://youtu.be/ZJfRrGlMXp4?list=PLOtl7M3yp-DV69F32zdK7YJcNXpTunF2b
Saturday, November 05, 2016
Cute Perl One Liner
Just remember there's more than one way to do it and I'm not the smartest guy around..
Turn
1
1
1
1
1
into
1
2
3
4
5
That doesn't sound hard. But, what if you have 10 seconds to turn
ssd1
ssd1
ssd1
ssd1
ssd1
into .. well, you know..
Easy : Use NEdit (the best text editor) and select the column of 1's and then pipe through (ALT-r)
perl -p -e 's/./$./;'
Yes, $. (dollar period) means current input line number.
Turn a column of the same number into a sequence of uniformly increasing numbers using perl..
Turn
1
1
1
1
1
into
1
2
3
4
5
That doesn't sound hard. But, what if you have 10 seconds to turn
ssd1
ssd1
ssd1
ssd1
ssd1
into .. well, you know..
Easy : Use NEdit (the best text editor) and select the column of 1's and then pipe through (ALT-r)
perl -p -e 's/./$./;'
Yes, $. (dollar period) means current input line number.
Turn a column of the same number into a sequence of uniformly increasing numbers using perl..
Monday, October 17, 2016
Friday, October 07, 2016
The Keyboard Shortcuts of Benjamin Franklin
Some may think these trifling matters not worth minding or relating; but when they consider that tho' dust blown into the eyes of a single person, or into a single shop on a windy day, is but of small importance, yet the great number of the instances in a populous city, and its frequent repetitions give it weight and consequence, perhaps they will not censure very severely those who bestow some attention to affairs of this seemingly low nature. Human felicity is produced not so much by great pieces of good fortune that seldom happen, as by little advantages that occur every day. Thus, if you teach a poor young man to shave himself, and keep his razor in order, you may contribute more to the happiness of his life than in giving him a thousand guineas. The money may be soon spent, the regret only remaining of having foolishly consumed it; but in the other case, he escapes the frequent vexation of waiting for barbers, and of their sometimes dirty fingers, offensive breaths, and dull razors; he shaves when most convenient to him, and enjoys daily the pleasure of its being done with a good instrument. With these sentiments I have hazarded the few preceding pages, hoping they may afford hints which some time or other may be useful to a city I love, having lived many years in it very happily, and perhaps to some of our towns in America.
Alfred North Whitehead (Eng. Mathematiker) : Mankind's progress is measured by the number of things we can do without thinking. Love it! That's what keyboard shortcuts are all about babe!
Alfred North Whitehead (Eng. Mathematiker) : Mankind's progress is measured by the number of things we can do without thinking. Love it! That's what keyboard shortcuts are all about babe!
Thursday, October 06, 2016
Subscribe to:
Posts (Atom)
