Friday, October 21, 2016

Cosmos: A Spacetime Odyssey - Episode 5 [Eng-Subs] 'Hiding In The Light' - Video Dailymotion

Cosmos: A Spacetime Odyssey - Episode 5 [Eng-Subs] 'Hiding In The Light' - Video Dailymotion: World-renowned astrophysicist Neil deGrasse Tyson explores the various meanings of light and enlightenment, including William Herschel’s chance discovery of the infrared.

Sunday, October 16, 2016

Cosmos: A Spacetime Odyssey - Episode 2 [Eng-Subs] 'Some Of The Things That Molecules Do' - Video Dailymotion

Cosmos: A Spacetime Odyssey - Episode 2 [Eng-Subs] 'Some Of The Things That Molecules Do' - Video Dailymotion: World-renowned astrophysicist Neil deGrasse Tyson explores how natural selection has sculpted the exquisitely complex human eye out of a microscopic patch of pigment.

Saturday, January 16, 2016

The reverant - 5.0 out of 5 starsIntelligent movie alert! - Even if there was no plot its worth your time to watch this movie for the wild nature scenery!

amazing scenery. amazing story telling. I really felt like i'm there in the cold mountains at 1850, truely amazin. If you are intelligent you won't waste your time here though this is a long movie, its good enough for me to watch this movie for the pictures of the wild mountants this is a good enough reason to watch this movie even if it had no plot.

Wednesday, December 09, 2015

Scala Map and flatMap the missing explanation

  1. you provide a function to map item -> item
  2. map scans every item in the input container
  3. map applies your function to each item
  4. map creates the same container as was originally provided (List for List) and wraps the results in it.
  1. you provide a function to map item -> Container[Item] so flatMap expects you to create a container for each item you scan
  2. flatMap then creates the same external container
  3. flatMap then strips each item from the container it's in and adds it to the external container which it's creating the same - as the original container provided.

Sunday, November 15, 2015

Squash multiple push in git

And my way of squashing multiple push is (perhaps you pushed to your own branch many commits and now you wish to do a pull request and you don't want to clutter them with many commits which you have already pushed). The way I do that (no other simpler option as far as I can tell is).
  1. Create new branch for the sake of squash (branch from the original branch you wish to pull request to).
  2. Push the newly created branch.
  3. Merge branch with commits (already pushed) to new branch.
  4. Rebase new branch and squash.
  5. Push new branch.
  6. Create new pull request for new branch which now has single commit.
git checkout branch_you_wish_to_pull_request_to
git checkout -b new_branch_will_have_single_squashed_commit
git push -u new_branch_will_have_single_squashed_commit
git merge older_branch_with_all_those_multiple_commits
git rebase -i (here you squash)
git push origin new_branch_will_have_single_squashed_commit
You can now pull request into branch_you_wish_to_pull_request_to

Sunday, October 04, 2015

Best lecturers! Feynman Prize Recipients

Feynman Prize Recipients

2014-2015 Kevin Gilmartin, English
2013-2014 Steven Frautschi, Theoretical Physics
2012-2013 John Johnson, Planetary Astronomy
2011-2012 Paul Asimow, Geology and Geochemistry
2010-2011 Morgan Kousser, History and Social Science
2009-2010 Dennis Dougherty, Chemistry
2008-2009 Shuki Bruck, Computation and Neural Systems and Electrical Engineering
2007-2008 Zhen-Gang Wang, Chemical Engineering
2006-2007 Michael Brown, Planetary Astronomy
2005-2006 Richard Murray, Control and Dynamical Systems
2004-2005 Christopher Brennen, Mechanical Engineering
2003-2004 George Rossman, Mineralogy
2002-2003 Niles Pierce, Applied and Computational Mathematics
2001-2002 Joseph Kirschvink, Geobiology
2000-2001 David Stevenson, Planetary Science
1999-2000 Donald Cohen, Applied Mathematics
1998-1999 Emlyn Hughes, Physics
1997-1998 Barbara Imperiali, Chemistry
1996-1997 R. David Middlebrook, Electrical Engineering
1995-1996 Yaser Abu-Mostafa, Electrical Engineering and Computer Science
1994-1995 Erik Antonsson, Mechanical Engineering
1993-1994 Tom Tombrello, Basic and Applied Physics

Lecture 04 - Error and Noise

Queue animation with d3

Got a need to animate your queue? me too! Below is an example of how it works if this page works for you you will see below this section an animated queue. A few words of the components created for this animation: polling.js - responsibility - poll a server and get current queue state. animation.js - responsibility - know how to animate the queue. conf.js - responsibility - this component is generic tweak it for your needs . parser.js - responsibility - when server returns response via polling.js then parse it. queue.html - responsibility - example tie up the parts and provide example how to use.

Thursday, September 24, 2015

Referring to internal organization docker repository

in maven you set your internal repository with settings.xml in docker you can just pass it to the pull command for example:

Tuesday, September 22, 2015

Masterpiece Alert! - Sergei Eisenstein: Que viva Mexico! (1931) Movie Review

Masterpiece! I don't give a damn I don't understand the language watching it without subtitles its just beautiful.

Masterpiece! I don't give a damn I don't understand the language watching it without subtitles its just beautiful. It's amazing to see like the actual life in mexico in 1931 its just amazing, pure fun. pure people, watching how they live. Very different from today's movies, documentary or nature, its just like you are there, you see the things, get back to 1931 and to mexico!!

Show column names on hive

Show column names on hive with hive> set hive.cli.print.header=true;

to make vertica work in intellij use dbvisualizer vertica #jdbc jar otherwise got many exceptions

See the response by kesten here his method worked for me: The driver i used to make vertica work on intellij is thedbvisualizer software vertica jdbc db driver. Example connection jdbc string:jdbc:vertica://HOST:5433/DBNAME`