jQuery Plugin

I’ve recently used Bootstrap in a client project and had to extend the Bootstrap Typeahead control. The extension I created allows opening the Typeahead dropdown and selecting an item without having to enter data into the input control. It’s basically an editable combo box.

There are jQuery user interface plugins that create an editable combo box, but my control is quite simple and allows me to keep Bootstrap and jQuery uncluttered with jQuery UI.

Continue reading

PHP deficiencies

I’ve recently had the task of uploading a large dataset via a PHP script. My application is designed under a MVC paradigm, and the uploaded data was transferred via an array declared in the controller to the view from the model. After processing around 5,000 records my script died with an out of memory error – the 128 megabyte limit was reached. Wow, I wondered why my script was consuming so much memory?

Continue reading

Computer Security

Yesterday I read an article on a NASA security breach. Apparently, Chinese hackers hacked into the NASA Jet Propulsion laboratory and gained full network access. Incredibly NASA’s networks are insecure despite hackers gaining access to satellites a few years back. Its obvious current network intrusion prevention and detection methods are inadequate.

Corporations and government agencies across the board are failing to prevent security breaches.  Perhaps the same methods used by NASA for developing interstellar hardware should be used in the IT realm. If 8080 microprocessors are still used in hardware designs due to their known reliability, perhaps IT software systems should be judged for their reliability not their features.

I currently run Ubuntu Linux on my laptop and I’m fairly comfortable with OS security. I feel it’s impossible to be completely secure. If the right people intend to hack your system there are a million vulnerabilities on the net, and another million yet to be discovered or revealed. The National Security Agency supports a secure Linux kernel; however, mainstream Linux support for the secure kernel is limited.