PHP namespace hurdle

PHP namespace has been added since 5.3 but only recently that many project start re-write to use PHP namespace.

I think the biggest hurdle is “class not found” when using namespace especially when use auto loader. Most auto loader do not aware of the namespace thus can’t load the class.

It is most difficult when you have to go back to your existing code and adding code to call your class with namespace, it is very time consuming!

The best way to get around this is using PHP “Alias” then all your old class can be called the same way with minimum changes.

I have written a tiny namespace auto class loader that do just that. It call: NsClassLoader

Windows 10 free upgrade download is actually work!

I reserved my Windows 10 upgrade previously and on 7/29, it is actually download the roughly 2 gigabytes upgrade file.

It took a few hours and a few reboots, I was able to login and all the applications from previous version of Windows is still all work, amazing!

This is the best, most trouble free, smooth upgrade from the internet for Windows OS that I can ever recall with Windows upgrade.

I am very impress!

All eBooks & Videos $10 by Packt Publishing

Today only, Packt Publishing is offering “All eBooks & Videos $10” to celebrates International Day Against DRM.

Here is the press release from Packt Publishing

Packt celebrates International Day Against DRM, May 6th 2015

Packt Publishing firmly believes that you should be able to read and interact with

your content when you want, where you want, and how you want – to that end they

have been advocates of DRM-free content since their very first eBook was published

back in 2004.

This year, to demonstrate their continuing support for Day Against DRM, Packt is

offering all its DRM-free content at $10 for 24 hours only on May 6th – with more than

3000 eBooks and 100 Videos available across the publisher’s website, there’s plenty to discover, whatever you’re interested in.

“Our top priority at Packt has always been to meet the evolving needs of developers

in the most practical way possible, while at the same time protecting the hard work of

our authors. DRM-free content continues to be instrumental in making that happen,

providing the flexibility and freedom that is essential for an efficient and enhanced

learning experience. That’s why we’ve been DRM-free from the beginning – we’ll

never put limits on the innovation of our users.”

– Dave Maclean, CEO

Advocates of Day Against DRM are invited to spread the word and celebrate on May

6th by exploring the full range of DRM-free content at – all eBooks

and Videos will be $10 for 24 hours, including the latest hot titles.

Day Against DRM

Visual Studio Code first look

Visual Studio Code is the first code editor, and first Microsoft cross-platform development tool that support OSX, Linux, and Windows.

The folder total size is 222MB and it can installed without administrator permission and located at C:\Users\[user]\AppData\Local\Code or it can be placed anywhere you wish just need to make sure you create a short cut point to the location of Code.

Code support these languages and features:

. Batch, C++, Closure, Coffee Script, DockerFile, F#, Go, Jade, Java, HandleBars, Ini, Lua, Makefile, Markdown, Objective-C, Perl, PHP, PowerShell, Python, R, Razor, Ruby, SQL, Visual Basic, XML with these features: Syntax coloring, bracket matching

. CSS, HTML, JavaScript, JSON, LESS, SASS with these features: IntelliSense, linting, outline

. C#, TypeScript with these features: Refactoring, find all references


Spartan project browser first look

Spartan project browser was included in Windows 10 Technical Preview built 10049 so if you are up to do some testing with this browser then download the ISO with built 10049

In the mean time I will tell you my first impression with Spartan project browser. Spartan browser is fast and has the modern look. It has the look of the combination of Internet Explorer 11 and Chrome. I test Spartan browser on a site that require IE 7 and it runs just fine without any problem so in that sense Spartan has succeed where IE 9, 10 or 11 failed.

On the other hand, Spartan does not support Java or ActiveX so any site that require Java or ActiveX won’t be able to use Spartan browser. So for those that relying on the browser to access cooperate web site won’t be able to use Spartan unless Microsoft able to implement some future feature that enable that functionality.

Windows 10 Technical Preview also available for Windows Phone but only a limited set of phone that can download it via the “Insider” site and app. I was disappointed with that discovery!

Free Adobe Photoshop download

If you don’t want to spend big dollars for the latest version of Adobe Photoshop but still want to use Photoshop and don’t mind using older version then here is something you should look into.

Note: This is not usually publicly known and you have to know the direct link to get there.

This link when you click will take you to Adobe site to login with your Adobe ID and once you accept the term and login you will have entire list of older version Adobe Creative Suite and tools for you to download.

First look: Windows 10 Preview

I have been testing Windows 10 Preview and it works pretty well!

The “Start” menu has a face lift which make it a little more upgrade friendly from Windows 7 in compare to Windows 8.

It is pretty snappy! It gets the update just like the real Windows. It is pretty stable and so far all the application that I throw at it all works even the old legacy application.

This is what Windows 8 should has been when it released!


Amazon Prime Instant Video on Android

It has been a long time coming that Android devices can’t play Amazon Instant Video but that has changed recently toward the end of 2014 where Amazon released an Amazon Instant Video Android app.

It is a little pain to get it install but it works.

The steps to install are:
. First you need to turn off the security warning in order to install “Amazon app store” then install “Amazon app store”
. After the above step then you would install the actual “Amazon Prime Instant Video on Android”

I tried it on all Android devices that I have including phone, and tablet.