Tuesday, November 17, 2015

A first look at Knockout

Here is another javascript library similar to Angular. I have heard about this for years and now getting my hands on it. This thing is pretty cool with its data-bind thing.

Excellent example from: http://www.knockmeout.net/2011/04/utility-functions-in-knockoutjs.html So you bind attributes with variables and get auto refresh and set observable things. Yes, it may be hair pulling if something not done right.

Changed the example above to something simpler.

Name Country
Add Item

Filter display by name

Filter:

Filter display by country

Filter:

Find first match by name

Search:

Tuesday, November 10, 2015

Starbucks, Trump, Merry Christmas

So Trump talks about boycotting Starbucks over the cup design.

Look, Starbucks can put whatever design it likes on its cups. Whose business is that? It is perfectly ok if they don't put Merry Christmas on it. Put "Happy Holidays" on it, or whatever. He did say "who cares".

Now, just what is the big fuss about "Merry Christmas". We don't force you to say Happy Budda Birthday right? (and that date varies, some time in May). Actually nobody has a clue exactly when Jesus was born. (I mentioned before already: Jesus didn't tell anyone to celebrate his birthday, no one ever bought him a Christmas gift, ok?)

So don't vote for Trump because he will make you say Merry Christmas: "If I become president, we're all going to be saying Merry Christmas again, that I can tell you. That I can tell you. Unbelievable."

Look, Thanksgiving is not here yet, people. No hurry to even talk Christmas.

Thursday, November 5, 2015

Pyramids as Joseph's Grain Storage?

Ben Carson thinks the pyramids are Genesis's Joseph's grain storage, not Pharaoh's tombs. See here.

This is ridiculous. Scientists have mountains of evidence indicating these are tombs. I expect neurosurgeons to be smart people.

Well he is on top of polls now. That article reads "Four national polls currently show Carson ahead of Donald Trump, largely thanks to his support among Evangelicals."

Sadly, these evangelicals supporting him do not think science knowledge is of any importance. Alas, the 2nd place guy is not no better. Look, are you going to put someone who has poor science knowledge be commander-in-chief, with no prior political experience?

Huckabee isn't much better, saying a volcano blast is more than one hundred years of human activity. See here.

We need a president that understands global warming and know some basic science!