Tuesday, December 27, 2016

Captain Bligh Debugs Dutch Navigation

It's the little things that add up - what if bugzilla had existed back then. Think Bligh would have made an entry?

In the passage to the Cape of Good Hope, there occurred nothing worth remark. I cannot however forbear noticing the Dutch manner of navigating. They steer by true compass, or rather endeavour so to do, by means of a small moveable central card, which they set to the meridian : and whenever they discover the variation has altered 2.5 degrees, since the last adjustment, they again correct  the central card. This is a steering within a quarter of a point, without aiming at greater exactness. The officer of the watch likewise corrects the course for lee-way, by his own judgement, before it is marked down in the log board. They have no log : I was told that the company do not allow it. Their manner of computing their run, is by means of a measured distance of 40 feet, along the ships side : they take notice of any remarkable patch of froth, when it is abreast the foremost end of the measured distance, and count half-seconds til the mark of froth is abreast the after end. With the number of half seconds thus obtained, they divide the number 48, taking the product for the rate of sailing in geographical miles in one hour, or the number of dutch miles in four hours.

     It is not unusual to make any allowance to the sun's declination, on account of being on a different meridian from that for which the tables are calculated : they in general, compute witht he numbers just as they are found in the table. From all this, it is not difficult to conceive the reason why the Dutch are frequently above ten degrees out in their reckoning. Their passages likewise are considerably lengthened, by not carrying a sufficient quantity of sail.

Yuck! Which side, the Engs or the Dutch do you reckon went on to become a world power and tame the Deutsch?

Tuesday, December 20, 2016

Quickly Reverse a File in NEdit

You need this done in 10 seconds, what do you do?

CTRL-A to select all.
ALT-R to filter selection.
type

tac '-'

into the dialog and hit ENTER. And you're done :)

Apple's Version of abort/retry/fail

MXNicknameWizard.Nickname.FlaggedError_explanation

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."

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.

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