Skip to main content

Posts

JavaScript - Undefined Infinity or Not a Number?

Had a heated discussion with a friend about a particular expression and so this blog with ready references for some basic JavaScript expressions. Expression Value Infinity Anything beyond +/-1.7976931348623157e+308 typeof Infinity "number" typeof NaN "number" typeof undefined "undefined" typeof null "object" Infinity + Infinity Infinity Infinity - Infinity NaN -Infinity + Infinity NaN Infinity / Infinity NaN Infinity * Infinity Infinity Infinity * 1 Infinity Infinity / 1 Infinity Infinity / 0 Infinity Infinity * 0 NaN Infinity - 1e308 Infinity Infinity - 1e309 NaN -Infinity + 1e308 -Infinity -Infinity + 1e309 NaN Infinity / 1e308 Infinity 1 * "a" NaN 1 + NaN NaN 1 * NaN NaN undefined + 1 NaN undefined * 1 NaN undefined + Infinity NaN undefined * Infinity NaN undefined + NaN NaN undefined * NaN NaN undefined + null NaN undefined * null NaN 1 + null 1 1 * null 0 null + null 0 null * null 0 Infinity + null Infinity Infinity * null NaN NaN

India's first KDE conference

This article was published in Qt Blogs here . Thanks to Alexandra and Qt Community for the same! I recently attended conf.KDE.in at the RV College of Engineering in Bangalore. It was the first KDE conference ever held in India, and it was followed up with two days of code sprints attended by over 300+ people. I’m pretty late with this write up, but better now than never. KDE-India is a growing group of volunteers totally committed to contributing to and popularizing FOSS in India. The event was primarily focussed on introducing KDE and Qt to young developers still studying engineering butof course there were also a fair number of professionals like me. In short, above all else, it was tons of fun. I networked with people, shared knowledge, promoted the Qt DevNet India group and even had the chance to watch live break dancing on stage – not once but twice! That’s Knut Yrvin for you, a great speaker with some special gifts needed for a Community Manager. There were great sessions hel