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!

Tuesday, September 27, 2016

Das Ist MIT At Its Best

https://www.youtube.com/watch?v=OQ5jsbhAv_M#t=32.46

Love a subject. Transfer that love of the subject to your audience.

A Tasty Morsel

From Prof. Tom Leighton

Prove that n^3 + 3n^2 + 2n is dividible by 3.

Ans : It's n^3 - n + 3( n^2 + n). And n^3 - n is (n-1)n(n+1) and one out of every 3 #'s is div by 3. QED

Class taught by a billionaire with a $1 salary.

What :

Proofs - what they are, good and bad ones. Why proofs? You want to be able to prove your software won't do something bad.
Induction, strong induction, invariants - very useful for the "proving" related to undesired states.
GCD of 2 numbers is a linear combination of the numbers. Euclid's theorem and lemma : GCD(a,b) = GCD( rem(b,a), a) -- very cute one.

Sunday, September 18, 2016

Lessons from Alessio Rastani (How to Make Money in Stocks)

Use the Market Sentiment Index (% of stocks trading above their 50 day MA) :

$SPXA50R -- if below 25, oversold.

$BPSPX -- tells you when to sell..


No More Youtube Ads

Kunal of Udacity has figured out how to play YouTube videos without having to sit through painful ads. How?

Know the ID of the YouTube video (Jeez, YT is a word now - if you type Youtube, without the T uppercase, spellchecker frowns!).

For example : take this video of Anton Kriel telling "the truth about trading" :

https://www.youtube.com/watch?v=9h3lByx59ns

You never paid any attention to the URL before because your finding and playing was GUI based. For now, this video doesn't come with ads. But, what if it did and you didn't want to watch the ads.

Get the ID - in this case, 9h3lByx59ns.

Construct this URL and load it and you're done :

https://www.youtube.com/embed/9h3lByx59ns

You can get smart by adding stuff like "?autoplay=1&html5=1" and stuff like that :)

Next step - can you define a keyboard shortcut for Chrome so that you can do something to load the video (CTRL-SHIFT-LMB maybe?) this way? Wouldn't that be nicer than having the cut and paste text :) ?

English Names - Which One's Missing?

Charity
Verity
Chastity
Felicity
Simplicity
Calamity

Sunday, September 04, 2016

Not Without Lumosity

Maybe I'm selling myself short, but, I keep telling people, it's after I started playing Penguin Pursuit that I noticed myself seeing around corners and solving problems like this one easily.

This one took me just seconds ..

https://www.youtube.com/watch?v=UCpdB0SleCA

Thursday, September 01, 2016

Oops I Set Outlook to Use Notepad to Open that File and It Displays the Whole File on One Line

Who hasn't done that before?

So, you want to change the Application associated with that file type.

My experience with the Windows 10 Settings utility wasn't good. So, here's what I recommend :


  1. Launch the Settings utility.
  2. In the Find a Setting field, put in Control Panel and hit Enter.
  3. Control Panel launches, but has jumped the gun, so you have to use the navigation bar on top to go back to Control Panel from "All Control Panel Settings" (if you're dumb like me :)
  4. Now, click on Programs
  5. Now, click on Default Programs
  6. Then, click on "Associate a file type or protocol with a program" -- can take a few seconds to load
  7. Scroll down till you find your extension, select it and then click the Change Program button.