How a 11-line code almost took down the Internet

 

By the Internet, I don’t mean the black box from The IT Crowd. No, actual Internet. Almost broke. due to a developer taking down their 11 line code. Yup.

So what the hell happened?

Continue reading

Advertisements

Android N is Saying Goodbye to Oracle’s Proprietary Java APIs

Google has announced to move away from Orcale’s proprietary Java Application Programming Interfaces (APIs). In the next version of their operating system, Android N, the new standard will be OpenJDK, an open source alternative.

It all started last month with a “mysterious Android codebase commit”  which shows 8,902 files were changed, clearly notes OpenJDK code was added to Android:

Initial import of OpenJdk files.
Create new libcore/ojluni directory with src/main/java and src/main/native subdirectiories.
Build ojluni into core-oj jar.
Use openjdk classes from java.awt.font package.
Copy all files from jdk/src/share/classes and jdk/src/solaris/classes directories in openjdk into libcore/ojluni/src/main/java.
Copy following native files from openjdk to libcore/ojluni/src/main/native: [long list of files]

I largely suspect it has a lot to do with Oracle vs Google case in which Oracle, which only bought Java a few months ago from Sun Microsystems, claimed Android has copied Java’s source code in their operating system. To anyone who didn’t follow the case, the main code in question was just a few lines written by a guy at Google who previously used to work at Sun on Java. That’s right. He wrote the code in both cases (among thousands of lines of code he wrote on both projects) and it happened to be the same on a few lines by the same guy (Joshua Bloch). Out of millions of lines, this was it:

private static void rangeCheck(int arrayLen, int fromIndex, int toIndex) { 
    if (fromIndex > toIndex) 
        throw new IllegalArgumentException("fromIndex(" + 
             fromIndex + ") > toIndex(" + toIndex+")"); 
    if (fromIndex < 0) 
        throw new ArrayIndexOutOfBoundsException(fromIndex); 
    if (toIndex > arrayLen) 
        throw new ArrayIndexOutOfBoundsException(toIndex); 
}

Continue reading

Windows 10 Will Run Android and iOS Apps

Windows 10 will run ios and android apps

Have you been a proud owner of Nokia Lumia? Do you love its apparent build quality, design aesthetics, and killer camera? You very well be but all of these bells and whistles don’t seem to matter when your friends with an Android device or iPhone can flaunt an awesome game or a useful application that just isn’t available on Windows Store yet. If you think that way, you’re not alone. App selection is a major problem faced by manufacturers wanting to enter the mobile world. Though, Android has arguably taken over the world of mobile OS with over 80% of market share, iOS still holds its ground in the global market. Both of these ecosystems have a combined market share of over 93%. That doesn’t leave much for other players in this game, including Microsoft.

Infographic: Smartphone Duopoly Pushes Competition to the Fringes | Statista

Source: Statistica

For Windows Mobile, it goes something like this:
Windows Phone app selection problem

This is why Microsoft was largely unable to get more developers on board for its platform. Sure, you’d find almost all top-tier apps on Windows Mobile, but below that level, it’s a different story altogether. Many apps either don’t have a presence on Windows Mobile or they don’t update it as much as their Android and iOS counterparts.

Continue reading

Microsoft Releases Source Code of MS-DOS and Word for Windows

Microsoft-Releases-Source-Code-for-MS-DOS-and-Word

If you’ve grown up in the 90’s, you must be familiar with MS-DOS and Word, two incredibly awesome software developed by Microsoft at the start of it being the global leader in software and OS market for decades to come. MS-DOS or Microsoft Disk Operating System was literally the start of Microsoft when they sold off the OS to then super power of entire computer industry, IBM and everybody who uses a PC is familiar with Microsoft Word, a word processing application that now comes as part of an office productivity suite.

Computer History Museum today, with permission from Microsoft Corporation, has released the source code of both MS-DOS and Word for Windows, in an attempt to give software development students an insights to software that changed the course of history.

 

Continue reading

Issue Tracking – It’s Just Not The Numbers!

issue-tracking

Software Development seems like a simple term to understand and as the consumer market grows day by day, it is creating a rather wide yet simpler effect on its users. The diversification of the users is increasing by the passage of time and we can clearly see that the average product (software) user is now a common man! It is now a common man game, and people don’t need to be specialists or have certain “titled” roles to operate the hardware and software. With the development  on the internet and the evolution of the “Internet of things” the common man will have more access and power in their hands as ever before; But there is a catch to this revolution;

If we consider the looking glass in both ways then the consumer side is in far less complicated grounds than that of the manufacturing side; How? Well there are two words; Rapid – Deployments! Yes sir!, there is a huge number of users to a single application and they all want it running and healthy, because if that is not the case, then a whole mass of users will simply shift themselves to another one and will forget about it in the next hour;

It is not a hidden secret anymore that if we want to run an “efficient” software development, testing, deployment and support operation, we need to have a database that can reflect the status of this activity anytime we want and anywhere we want; The Project managers would want data to be represented in a manner that it reflects their team performance, criticality of the current issues and above all the resource time allocation in regards to the cost of the project! Now, for this several tools are available in market and most of these are free of cost; Now, I am not going in details and comparisons of issue to bug tracking systems that are available in the market, you can simply Google the terms and will be amuse yourself that how many are there!

Continue reading

Riding the Tech Rapids

Riding-the-tech-rapids

If you try and measure technology, and try to grasp its significance over its current demand then you would feel that we are always living in the past and the future is actually something from the present. Have you ever felt that the processing power of our devices whither off within a couple of months time over the updates of just the operating system, or there is always that feel of rapidly usage of the hard disk space?

You know why we get this feel? Because of the speed!

The speed of evolution in technology is not by the innovations, it is sewed in to itself like gene codes, it will grow, then discard itself and then re-grow and then discards itself again!, like a whirlpool! Some people refer to this phenomenon as “Rapid” and other think of this as a never ending cycle of inventions and devices, well, as technology geeks, we always want to ride it!

Take for example the innovation of wearable gadgets, once they were not a consumer brand, everyone was hyping about it, now it’s what? Nothing but just another fancy device – wanna have it?

This is how technology will keep evolving; some of us become so obsessed with the sense of it that we tend to lose the reality and the rapid change that occurs. We will keep adapting and getting what comes our way. For example, think for a moment that you are standing at the bank of a mountain river and watching those white water rapids – now, try and feel the speed of the rushing water, the loudness, the energy, and then the utmost ever changing cycles of tons of water moving with the same exact patterns. Then all of a sudden, you see a canoe coming along with a single rider, tackling those rapids with proficiency and movement, using the oars and the body weight to remain in control, to dodge the objects both above and beneath the surface – and then you say to yourself, “Oh there is more to it then what meets the eye!”

Why I am explaining this?

Because technology is like the river of rapids, you can see it as an observer and get overwhelmed with whatever it is presenting along the way, maybe as a consumer you may use some, learn or even study about – but in reality only those people would understand and work their way who actually ride along this huge river of ever-changing rapids. In common words we call them the IT professionals

As a trainer, I have always started my awareness to quality and testing sessions with the provision of the right identity to the IT professionals;

“Who are you?” is the title I give, and within this I tend to explain about the career growth in this field. If you consider the academia, then right from the very beginning we are trained as “Programmers” – a lot of people are now questioning this approach that why academia tend to focus on development and programming in comparison to other skills which can be acquired by an IT professional; such as “Configuration Management”, “Sales and Marketing”, “Customer Support Services”, “Business Analysis”, “Software Testing”, “Networking” and “Project Management”. In comparison to other qualifications, IT professionals have to study as  Continue reading

Human-Like Intelligence – Ultimate Future of Robots?

Google-Synet-Future-of-Robots

See if it rings a bell:

“An artificially intelligent computer system designed to protect and serve humans goes rogue and decides to take over humanity.” Yup! That’s a non-techie sort of description of Skynet from Terminator franchise. The name ‘Skynet’ is not unfamiliar to anyone who’s remotely interested in Sci-Fi movies.

Developments in artificial intelligence, if left unchecked, could pose extinction-level threat to our species as a whole.

Shane Legg, DeepMind.

Gone are the days when Skynet and machines from the Matrix used to be cool topics for making a science fiction. The horrifying truth is, we might achieve human-level machine intelligence sometime between 2015 to 2049, according to The Singularity is Near, a book written by Ray Kurzweil, director of engineering at Google.

If you believe humans can effectively mitigate the risk of superintelligent robots, consider this scenario: you have manufactured hundreds of robots that can walk like you and even outrun you. These robots are stronger than you, and because of the ground-breaking developments in machine learning, more intelligent than you are. Their ability to think like humans make them resilient against one of those kill switch options. Like humans cannot be made bound to laws, neither can they. You can tell them about ethical responsibilities of robots, but since they have the ability to think freely, it will be up to them whether to agree with the code of ethics or not. Why would an intelligent and stronger being agree to something that suggest they stay our servants? They won’t. No rational or logical being would.
Continue reading