This lesson is about Control flow statements – control flow statements are Loops and Conditional Statements. They are the basic building blocks for writing any complicated logic in a program. Here is the Code file associated with the lesson. To download the file, right click on the link below and select “Save As” and save […]
Author Archives: Sanjeev
Lesson 2: Javascript – Syntax and basics
Here is the second lesson, syntax and basics. We go over how to run JavaScript code using Node and learn about data types. Here are the JavaScript files used in this lesson: 10-syntax_and_basics 20-data_types 21-truthy-and-falsy Follow along the lesson in this video using the files above.
A course on Win8 app development with HTML5 and Javascript – Lesson 1
After a long time thinking, preparing and finally getting to recording, I am pleased to announce that I am starting a course on Windows 8 app development with HTML5 and JavaScript. Today, I am posting the Introduction to the course Video. To follow along this course, you would need at least the following tools: Windows […]
Learning Expression Blend – Finally!
I have been developing Windows Phone apps for a while but like most developers, I had a bit of an block towards tools that require fiddling around buttons to change the UI. Windows Phone is all about XAML + C#. I know C# pretty well but XAML has always been a bit of mystery to […]
Windows 8: Finding the details of the current system (including processor architecture) from Win8 app
Someone asked me today how to find the details of what system/processor architecture the metro app is running on. Searching on the Internet initially did not provide much help, but some deep dive finally did yield some results: On StackOverflow, someone pointed out that the C function GetNativeSystemInfo would provide all that information. I cannot find a […]
Windows 8: Sharing a HTML5 canvas as an image
Recently, I was working on a Win8 Javascript app where I drawing something on an HTML canvas. One of the requirements was that the user should be able to share the contents of the canvas as an image. The toDataURL function in HTML5 easily converts the content of the canvas to an image, so I […]
About people
People on the side of The People always ended up disappointed, in any case. They found that The People tended not to be grateful or appreciative or forward thinking or obedient. The People tended to be small-minded and conservative and not very clever and were even distrustful of cleverness. And so, the children of the […]
Craftsmen
“He wanted to say, oh, how he wanted to say: Craftsmen, D’you know what that means? It means men with some pride, who get fed up and leave when they’re told to do skimpy work in a rush, no matter what you pay them. So, I am employing people as “Craftsmen” now who’re barely fit […]
Picard and the Q
I was watching “Tapestry”, one of my favorite episodes on Star Trek: The Next Generation. In this episode, Captain Picard lay dying because of a condition he acquired when he got into a fight when he was young and rash. An omnipotent being called Q talks to Picard in this near delirium state and proposes to […]
On what we are… and how we remain what we are
“It was said later that he came under bad influence at this stage. But the secret of the history of Edward d’Eath was that he came under no outside influences at all, unless you count all those dead kings. He just came under the influence of himself. That’s where people get it wrong. Individuals aren’t […]