This Place is Taken: fun
Showing posts with label fun. Show all posts
Showing posts with label fun. Show all posts

Monday, April 27, 2015

Pencil Sharpening is a Serious Business

 

Its amazing what you run into on the internet. Today I found out that somebody has opened up a very active business on the internet with the sole intention of sharpening…you guessed it, pencils ! I still don't recall how I landed there, but one thing led to another, and I was on David Rees's website: http://www.artisanalpencilsharpening.com/

Here is a guy who sharpens pencils for a living. And he dead serious about it. You can mail him your pencils, and he will mail you back the sharpened pencils as well as the shavings !

Check out this video.

 

Here's another one.

Saturday, April 25, 2015

A Better Windows clock display

 

The Windows system has always had an alway on, clock display on the task bar. By default, it displays only the time. You can customize this so that it diplays more details. For instance, here is what my clock displays:

tmp9C4B

The top line shows time in AM/PM format. The bottom line displays the day and date in detail format. Even the date display in Explorer reflects this detail display.

tmp669F

Here is how you can have this display format your Windows machine:

1: Left click on your clock and choose "Change date and time settings". After that, click on "Change Date and Time" button.

tmpD98D

2:  Click on "Change Calendar Settings", and choose these settings for Date:

tmpDA0B

Short Date: dddd, MMM dd, yyyy

Long Date: dddd, MMM dd, yyyy

3: Click OK all the way back.

Thats it ! You may have to resize the controls on your taskbar to break the clock display into two lines.

Tuesday, March 17, 2015

25 Funny Situations Of A Programmer's Life

 

1. When the project manager enters the office

2. When I try to fix a bug at 3 in the morning


3. When I'm told that the module on which I have worked all the week will never be used

4. When the code that I have not tested on dev works perfectly in production

5. When the sales people announce they have sold our product to the customer

6. When sysadmin finally gives us the root access

7. When I launch my script for the first time after several hours of development

8. When I go off for the weekend while everyone else is still trying to fix bugs

9. When the boss is looking for someone to urgently fix a difficult bug

10. When a thing that worked on Friday no longer works on Monday

11. When a bug goes unnoticed during a presentation

12. When a newbie suggests to add a new feature to project

13. When I realize that I have been blocked for two hours because of a forgotten semicolon

14. When the project manager suddenly looks on my screen

15. When customer wants to change specification 2 days before pushing to production

16. When my script finally worked

17. When I'm told that my code is broken in production

18. When I find a solution without searching Google

19. When the intern tells me that "the tests are for those who can not program"

20. When I manage to replace 200 lines of the algorithm by only 10 lines

21. When I return to development of my code that wasn't commented

22. When they tell me the website has to be supported by IE6

23. When a misformed sql query actually returns me the correct results

24. When I start coding without doing analysis first

25. When project manager thinks that I can handle whole project all by myself

Tuesday, February 24, 2015

Microsoft Correctly Predicted Almost Every Award At Oscars 2015

 

Microsoft's Bing prediction engine has correctly predicted the 2015 top Oscar winning wards that include best picture, best director, best actor, best actress, and the results for supporting actor and actress.

 

image

Microsoft's Bing prediction engine has correctly predicted the 2015 top Oscar winning wards that include best picture, best director, best actor, best actress, and the results for supporting actor and actress.

In all, Microsoft successfully predicted 84% of the 24 results and only 4 were wrongly predicted.

Microsoft uses a prediction model for the Oscars that is under Microsoft researcher David Rothschild over at the company's New York City research lab. Microsoft had also predicted the World Cup, English soccer results and NFL games and also rightly predicted the US election in 2012 in all 50 states.

Monday, January 26, 2015

Favourite New US Series - Forever

 

For the past couple of weeks, I have been binge-watching a new TV Series which began airing in America sometime last year. Its called Forever, and under this rather un-inspired name, there lies some smart writing, and some great performances. The series revolves around its main character, Dr Henry Morgan, a medical examiner in New York City. Henry helps the NYPD solve some bizarre murder cases after drawing amazing conclusions from the dead bodies of the deceased. Well in this area, the series seems a copy of Bones, another TV series where the lead character is a genius anthropologist. But in Forever, Dr Henry has a secret - He is Immortal. Yep, you read that right. Henry has been alive for more than 200 years, every time he is killed, he simply returns to life naked in a nearby water body. Originally from Britain, Henry has travelled around the world, living and experiencing cultures which others can only read from books. Only two other people in the series know his secret, one is his closest friend and adopted (sort of) son Abraham, and the other is the antagonist of the show, another immortal , who calls himself Adam, who has been living for 2000 years !

tmpACC3

Now I understand the central premise of this story is supernatural. But there have been more bizarre TV series in the air for some time. Supernatural, Walking Dead, LIbrarians…..they all have supernatural elements, often stupid. Everything else in Forever is completely scientific. Dr Henry has accepted that he is not a man of religion, he is a man of science, so he does not believe in God. While others might consider his immortality a gift, he himself has come to loathe it, and considers himself cursed, in a way. He has not been able to life his life to the fullest, because while he is always stuck at age 35-40, everyone he loves grows old, dies, or is killed. He has to experience a strange kind of loneliness, and now wants to escape his immortality. He wants to grow old, and experience the other parts of his life. So he has become a 'student of death' , and opens up dead bodies and studies them, in the hope that he will find a way to escape immortality.

tmp61DF

So then, what is the best part of having an immortal lead character, one who is not a teen vampire ? His back story. Flashbacks. And a sort of time travel. You see, since Henry has been living on the planet for 200 years , he has experienced in his life, actual history. And years and years of wizdom. In every episode of the show, we see Henry remembering incidents which occurred in his life, shown in the show as flashbacks. And it is these scenes, combined with his intricate knowledge of the human anatomy, that helps him solve the bizarre cases coming his way. Detective Jo Mortinez, the other lead character of the show, finds out Henry can draw amazing conclusions from the cadavers, but does not know his secret. In the flashbacks, we see Henry at various points of human history in the last 200 years: on board a slave ship, serving in the second world war, present in London during the Jack-the-ripper attacks, settled in America during the Vietnam war.

tmpC2E4 tmp2427 tmp9532 tmpE111

 

Henry does not rely too much on modern technology or gadgets like those guys on CSI or Bones, he doesn't even carry a cellphone. He relies entirely on his knowledge of his past. Its amazing how he can relate to every case he encounters, personally, recalling clues and ideas. It shows how much the world has changed around us, in just 200 years.

In every show, there at least three flashbacks to his past, and I watch the show mainly for these scenes. The first flashback happens usually 10 to 20 minutes into the episode, Henry has just learned something from the cadaver , and this triggers a memory. He is at some point in History, minding his business, working as a doctor, and trying very hard to hide his secret.  The second flashback occurs after half way into the show, and chronologically follows the first flashback. He finds his first credible lead, by which the team is able to narrow down a suspect. But this suspect is always a decoy, created by the show writers to throw us off track. The suspect is usually just at the wrong place at the wrong time, and Henry realizes his mistake and that he is missing something else. He returns to the cadaver and looks at it in fresh light, trying to correlate to his past experiences. This time, it is a hidden or uninteresting point in his memory which grants the final answer, and the memory finds him the final clue. There are no last minute surprises, the audience discovers the truth the same time Henry does.

tmp7D61

So far, my favourite has been episode 12, where we see Henry's dilemma as a father to his adopted son Abraham, because Abe wants to serve in the US Army during the Vietnam war, just as his father served in the second world war. He scenes where he talks to his son in 1965 and the final reunion scene of the three 'nam friends, well, they were very emotional. Abe has grown old, but Henry is still the same, reinforcing the fact that at one point, Henry will lose Abe too. There is no escaping that. It is said that there is nothing more painful than outliving one's children, seeing their death.

I do have a problem with the show's antagonist, another immortal who calls himself Adam. He is clearly insane, and his motives at not at all clear. You see, Henry is absolutely in-corruptible, he is honest and righteous. He never once thought of taking advantage of his condition, and wants to escape it. But Adam has had the course for 2000  years, and by now he has turned into a psychopath, stalking Henry. There is no point in the series to have Adam try to kill Henry, or the other way round. So then, what is Adam's role ? He makes it clear that he wants to corrupt Henry, and by episode 10, has lead Henry to kill an innocent someone. I think he too feels lonely, and wants a comrade with whom he can share his plans of eternity, sort of ruling this world. 

What is the cause of Henry's immortality ? The show has not touched upon this at all, and probably not for some seasons. My personal theory is that Henry was killed at sea somewhere some supernatural phenomenon. Maybe its the Bermuda triangle ? There cannot exist any scientific explanation for his condition.

tmp9629

So then, I am looking forward to more snapshots from history on the show, and see if Henry is able to escape his curse after all. Don't screw this one up, show writers.

Wednesday, January 7, 2015

Gadget Goodies From He's Just Not That Into You

 

Conor Is a BB Boy

Conor-BB-Boy

The loveable real estate agent Conor (Kevin Connolly) used his black BlackBerry Pearl for both business and pleasure.

Photo courtesy of Warner Bros

Gigi Rocked Modern and Vintage

Gigi-Rocked-Modern-Vintage

I was lovin' Gigi's (Ginnifer Goodwin's) choice of telephones. By day she rocked the pink retro hand held, and by night, she was all about — what appeared to be — a LG Lotus. Who can forget the bathroom scene when she called Alex for guy advice?

Photo courtesy of Warner Bros

Ben Is a BlackBerry Bad Boy

Ben-BlackBerry-Bad-Boy

Ben, played by Bradley Cooper, was both naughty and nice in the movie. And what else did he drag into his escapades besides women? His BlackBerry Curve.

Photo courtesy of Warner Bros

Janine Flipped Out With the BB 8220

Janine-Flipped-Out-BB-8220

I couldn't exactly make out Janine's cell phone, but it did closely resemble a BlackBerry Pearl Flip 8220 — one smokin' hot phone!

Photo courtesy of Warner Bros

Alex Is a Total Gadget Guy

Alex-Total-Gadget-Guy

If we weren't watching Alex play Xbox 360 and PS2 games with friends on his big flatscreen TV, we were keeping track of his hilarious back-and-forth phone conversations with Gigi on his Motorola MOTO W755.

Photo courtesy of Warner Bros

Mary Goes High-Tech

Mary-Goes-High-Tech

Drew Barrymore's character Mary, was so up in arms about technology the entire movie, yet she was the most "connected" out of anyone. If she wasn't MySpacing dates on her iMac, she was texting and chatting on her red BlackBerry Curve!

Friday, December 12, 2014

Nedry, Jurassic Park and Software Systems

 

So I am watching my favourite english movie again, Jurassic Park. The scene in the control centre starts playing, where Hammond has a minor altercation with Dennis Nedry, a programmer and the designer of the park's  computer systems. Early on, Hammond tells Grant and Sattler at the trailor the he can tell instantly about people, its his gift. Yet , he fails to see the villainy in Nedry, who is the person who kickstarts the sequence of events leading to the destruction of the park that night. The tropical storm alone would not have caused any damage to the Island, it is Nedry's power outage which causes things to fall apart. And since bad guys need to die, Nedry is eaten up later by the Dilophosaurus.

tmpD296

tmpCF89

Over the years, Nedry's character, the shaving can, and his didnt-say-the-magic-word has gained cult status. But he is still on the antagonist side of the story. He demanded more money, Hammond did not oblige, even when he would spare no expense anywhere else. He decided to steal, and paid for his mistakes. But in the book, there is a little more backstory to this guy. Due to the secrecy of the Jurassic Park project, Hammond cannot trust too many people, or word of what they are attempting will get out. So he employs a small team of experts for the project, and decides he needs even more less people to run the Island. The answer - heavy automation. A fully automated park which can be maintained by a 3 or 4 people from a control center. And he decides upon Nedry's small company to design the system, else he could have given the job to any big software development company out there.

But again, due to the heavy secrecy of the Island, Nedry cannot be told what the park is all about. So he is given abstract requirements revealing only very minor details, and never sees the big picture of things. Things like, reserve storage for huge field values, design door security systems.. Hammond attempts to keep him in the dark. When finally the systems are brought up, they don't work cohesively , and in many cases, the systems need to be enlarged, because Hammond's team had underestimated the size of the dinosaurs. Its a similiar story with Robert Muldoon, the cages and tranquilizer guns  he is given proves smaller, and he demands for bigger machines and gas powered jeeps for any emergency. But for Nedry, well, he is asked to redo the systems to new specifications, but Hammond demands Nedry does this job under the original contract, and refuses to pay him. He even calls up some of Nedry's other customer and tells them  Nedry is unreliable and untrustworthy. Nedry's small company faces losses redoing everything, he has a team of programmers working from Cambridge, and paying them and for other systems leaves him in a financial crisis. Seeing that he can not make any profit from this project, he is , in a way, forced to look outside for another way to make money.

tmp3032 

Dodgson, the corporate espionager from a rival genetics company and who knows about the Park, contacts Nedry and offers him the way out. He convinces him to steal live embryos from the park, and he will paid in millions of dollars. It can be seen in the book that Nedry is hesistant, Dodgson has to meet him many times to convince him to jump ship. And Nedry too is not comfortable dealing with Dodgson, so he sets up one more meeting just to record their conversation to cover his back. His plan was to steal and handover the embryos, and be back at his workstation in 15 minutes, nobody notices, and he leave would leave the scene once all the programming is complete. His plan would very well have worked, the only thing which came in the way was the storm. So you see , in the book, the reason for his devious nature is explained.

As a software engineer myself, (thought not self-employed) I can relate to this nice guy. Yep, he's a nice guy. I have faced his problem myselfs. When we in the business software consulting world start on a new project, we make an attempt to properly understand our clients operations. Instead of being given use cases and requirements up-front, we insist we see the existing system and how the company operates, the end to end business and transactions. This way, we will be able to better propose changes in the system, without breaking anything, but still improving. Most of our customers already have some sort of in-house built software, but they realize that needs to be upgraded or replaced with a better system. And whenever we are not explained the end to end flow, the solutions we design miss out things here and there. The resultant system works, but not as expected. The UI needs improvement. The integrations fail frequently. The performance dips.  In such cases, we are abruptly asked to redo it , but within the same time frame. We can't have more time, or money to redo this. This leads to many hours of overtime for us, often leading to all nighters and weekend work too, all unbilled of course. The best systems I have designed was when we had a very good knowledge of what our customer's business does.

Hey, but at least, we did not steal any embryos !

So you see, Dennis Nedry was a nice guy, who did what he did because he wanted to save his company, and lacked previous espionage experiences.

 

tmp63EF

Tuesday, November 18, 2014

Get your InGen pass !

 

Jurassic World is very much in progress. They have recently started their factious site masraniglobal.com.

 

It turns out Masrani buys out InGen, and then continues the dino-dna game.

 

Get your own InGen id pass at:

http://www.masraniglobal.com/careers/index.html

 

Go to the bottom of the page and enter some info in the fields there. Clicking on Submit will take you to next page where you can upload your photo and generate a InGen id pass!

 

Along with this message.

 

 

Congratulations, and welcome to the Masrani Corporation!

Thank you for choosing to join one of the world’s fastest growing families. Given your set of skills, we are pleased to offer you employment as an Intern Genetic Biologist at International Genetic Technologies in San Diego, CA.

Your immediate supervisor is Dr. Henry Wu, Lead Genetic Scientist.

At Masrani we have a philosophy that combines vision with innovation to create success. We will ensure that these skills are presented to you in your orientation, and they will help to guide you through your journey at Masrani.

On your right, you will find an ID badge for you to complete for security purposes. Simply upload a photo of yourself using the upload tool below and you will see your ID card in full fruition.

We look forward to welcoming you as a new employee at InGen's state of the art laboratory facility. In the meanwhile, please continue to check back at www.masraniglobal.com for all the latest news, videos, and images.

Sincerely,

Simon Masrani

Chief Executive Officer, Masrani

Wednesday, November 12, 2014

Interstellar - Science and Fiction

 

Spoiler : (Biggest shocker for me:) Matt Damon’s character scientist/explorer Prof Mann is a negative role in the movie. It is his treachery which kick-starts the  third act of the movie. I didn’t see that coming, never expected Damon's 'small' role to have such a huge impact.

I watched this movie yesterday evening with my wife at a theatre in Bangalore, and I enjoyed it, though not thoroughly. I have been following this movie eagerly, ever since it was announced in 2009. When I heard the screenplay had been leaked, I scrounged the interweb for a copy, and read through. This version was before the Nolan's where involved, and I put this up on my blog so I could share the link with some like minded close friends. In a way , I am glad a big bulk of the original had been removed, the  whole part of the Chinese station, and two blackholes instead of one in the movie…but even the final trimmed version had excess baggage. Too much to explain in even 3 hours running time.

Enough has been said of the science of Interstellar, with experts and novices on both sides debating if the story holds credibility. I have no new thoughts on the matter, as physic and math were not my stronger subjects anyway. Nolan never made movies which where easy to understand, each one of his movies required careful rewinding and rewatching in order to fully grasp, except maybe for 2002's Insomnia. His movies are drenched with science fiction , gadgets and hero-improvising-at-the-last-moment, they are definitely not for the commoner. But here, I felt the movie was stretched too much, over space and time. Interstellar is not a movie about space travel, it is a movie about time travel. And relativity. And the director's vision that love is a fifth (or is it sixth?) dimension ,which can span across space and time. It is a beautiful work of art, and sound. I am sure the second and third acts were shot completely in a green screen, except the icy planet scene, which was shot at Svínafellsjökull glacier.

So here is the story: Prof Brand Senior wants to save the human species. He asks Cooper to take his daughter Amelia Brand and team on a  space mission to find another planet which can sustain life, so that humanity can populate it and continue. The assumption is that he can find a way to transport millions of humans over space-time to the new planet , after travelling back and forth through a wormhole. This he calls plan  A. And like any brilliant scientist, he has a plan B too. Plan B: In the highly unlikely event that the explorers cannot travel back via the blackhole, they drop a population bomb. They are to carry millions of fertilized eggs with them, which they will incubate..and reproduce via surrogates…and grown on the new planet, so that some part of the human species will live and flourish, but not the existing population alive on earth. Exactly how these eggs will be used is not fully explained, it was not in the original script either. But this ridiculous plan is just a failsafe, he assures them, by the time the mission returns, he would have solved the grand equation and found a way to travel both ways easily.

On his deathbed, he reveals to Murphy Cooper, that there never was a plan A. It would never have worked. The only way for humanity to continue was to populate the new planet with the fertilized eggs. There was no return journey possible. But he greatly under-estimated his pilot Cooper, and his fatherly affection to his children, and his gut determination to get back home. Cooper finds a way to survive the long journey, sends a message home to his daughter, thereby providing Murphy with the quantum data to solve Brand's equation completely, and by the time Cooper is found by earthlings again, his age by earth time is 120 years. What felt like days and hours for him in space time was decades back home. He meets his daughter on her deathbed, and then leaves on a final adventure to find Amelia Brand, who has by this time found an earth-like planet capable of sustaining humanity and life.

Review: Interstellar is not Nolan's best work. It lacks cohesiveness, and the polish seen with his previous works. The movie starts slow, too much time is spent on earth, establishing his family background and current condition on earth. I guess that part was to emphasize that his son Tom was not academically inclined, while his daughter Murphy is brilliant and tom-boyish (tom-boyish means , like Tom, right?). But again, too much time there, by the time the mission is launched and the first spectacle is put-up, (travel through the wormhole), we are nearing the halfway mark. During the launch process, the craft never contacts NASA ! So now we have a trained NASA pilot and some scientists in the spacecraft, but instead of sticking to scientific jargon, as one expects them, they revert to casual everyday talking in layman's terms. Romilly explains to Cooper how a wormhole works using a paper and pencil trick we first saw in the 1997 movie Event Horizon, which is not required because Cooper is a engineering wizard and a bookworm(remember his library back home ? and the original copy of a textbook which Murphy's school no longer follows?). All the scenes in outer space have no sound, accurate , because sound cannot travel in space. But by blanking out the sound it felt disconnected from the rest of the movie which had loud organs and synthesizer music. When they land on the first planet, which is too close to a blackhole, we see daylight there. But surely, it can't have daylight, because the planet is in orbit around a blackhole, and light cannot escape from a blackhole, right ? The gravity levels on the planet where one hour on the surface equals seven years elsewhere would crush all human life. The astronauts would also be squished and “spaghettified” by their proximity to a black hole.The robots TARS and CASE are robots, but they speak with undeniable sarcasm like humans. And even in an ultramodern spacejet, Cooper decides to fly manually to save fuel, even with all the computing power available to him. Surely the computer could have calculated the most fuel efficient path to the planet ? When Cooper and Amelia get back to Endurance, Romilly is there and has waited 23 years for them to return. How can a human wait 23 years locked up in a zero gravity environment, alone ? With no other human to talk to ? And the same question to Mann, alone on this frozen planet, locked up for decades. Anyway, Manns' first reaction on being awakened and seeing another human face was priceless, few actors could have pulled it off. Edmund's planet had better data, but they go to Mann's planet, because he was still transmitting. They just found out the Miller was still transmitting only because of the gravity distortion due to the blackhole, but Miller is already dead. Caution anyone ?

But what got to me most was the ending, the closure, or lack of. The part where Cooper falls into the blackhole into a tesseract, which connects to their library back home, and how Cooper communicates via gravity….it is the most stunning set pieces in Interstellar, with reality-bending visuals reminiscent of Inception. But it's also a ridiculously contrived cop-out twist, illogical, incoherent and profoundly unscientific. I know that the original script didn't have any of this gibberish. There, Cooper loads the quantum data onto a probe and sends the probe back to earth, which is the probe Cooper and family find at the start. That was so much more better. There was a question of matter travelling back, but at least there was nothing supernatural about it.

 

My best part in the movie would be after the explosion on Endurance, when Cooper tries to dock his ranger onto the Endurance. The graphics, sound ..it was all perfect, and had us audience tightly hugging our seats and holding our breath. Of course we knew Cooper would dock the ship, but the build-up to it was spectacular.

 

 

Point of Interest: The probe Cooper finds at the start of the movie is from India ! It was supposedly from Delhi Mission Control. Clearly India has made giant leaps as a space superpower, but by the time they do it, the planet is dying !

in_thumb[1]

Tailpiece: I am going back to my favourite space travel movie: Apollo 13. Again, the movie was ahead of its time, but it was simple and concise. And long shelf life too. I have already watched it some 50-something times. And time to revisit.