ExtJs file upload panel
A while ago, I tried to create a reusable file upload management panel for the internal intranet system. So I ended up making an extension from a grid panel with DnD and multiple files upload field. This solution allows user to select multiple files to upload as long as the browser supports HTML5. It also indicates the upload progress on each file.

This widget validates file names and sizes on the client side instead of server side. The file does not need to be uploaded to server to validate its properties. Since the file is streamed to server, you may need to work out how you handle the code on the server side. I have provided a simple php code at the end of this article for anyone to start with.

Anyway in order to make this widget to work, you may need the following three extensions.
by Elvis Hsu No comments Read More
My Codility test experience
I've just recently relocated from Australia to Switzerland. Other than learning German, looking for a job is one of my big tasks as well.

Last week, I got a email from the company who asked me to take a short online test. I need to answer four questions within 130 minutes. Base on the score of the test, I will be possibly getting an interview either by phone or in person. That's the moment I discovered the site "Codility".

I didn't think about it too much and just started its demo test in order to get familiar with the test environment. To be honest, I didn't like it but I had to suck it up.

I spent about 5-8 minutes to understand the demo question and took about 18 minutes to write and test my code. I eventually submitted the answer. Well, it didn't go well. I only got score 18. That was the moment I understood how it works. Again, I still don't like it.

Anyway, I registered an account in order to get some more tests but they only provide few questions in programming, one for bug fixing and one for standard SQL. Some warm-up questions are pretty easy but some hurt my brain. Although I have many years of programming experience, some questions are really tough. I need to take hours to get a better score.
by Elvis Hsu 13 comments Read More
Apps I use the most on my Mac
Well, it is quite interesting. Most of the time I develop applications in Windows environments but I use Macbook Pro. I believe many Windows developers have similar situation as well.

I am a Windows user since the first day I touched computers. I started to use Mac from 2011 because my previous employer wanted to be an authorised Apple reseller. Therefore I had to be an certified support engineer so I got a chance to start playing OS X and OS X server. So anyway, long story short, I became a full time Mac user since then.

This article is going to show you the OS X apps I use the most on a daily basis. If you have any opinions, please feel free to post your comments.
by Elvis Hsu No comments Read More
A while ago, I came across designing a kiosk web application for one of my clients. Since it is a web application so I think I should utilise the features of HTML5 and CSS3. Well, as usual, I started to do some researches about the animation functions of CSS3. I read the guide from Mozilla and other useful articles such as CSS-Tricks, W3Schools and CSS3 Please. I have to admit that CSS3 really makes a developer's job easier on animations. I don't need to write a single code on Javascript and I still can make a good animation.

Anyway, one of the key features of this project is to indicate the patient/customer how to swipe the card when they look at the screen of the kiosk. Instead of reading the boring descriptions, a easy-to-understand animation would guide the patient to swipe the card correctly and properly. This sample code was inspired by Ben Everard's post on Github. It was all I needed to start decorating the layout of the swiping card screen.
by Elvis Hsu No comments Read More
Suggestions to pass the Professional Scrum Master I (PSM I) assessment
I have just recently passed my PSM I certificate test from Scrum.org. Luckily my score was 95% at first attempt so I would like to share my experience on preparing the assessment. I have got many advices from Derek DavidsonEduardo Rodrigues SucenaKrystian Kaczor and many other experts who have been practicing Scrum and Agile for many years. However your mindset of Scrum and experience would definitely make significant contributions for passing the PSM I assessment.

Although there are many Scrum professionals around the world and many of them would doubt the necessity of having a Scrum Master certificate however, for me at least, the certification helped me to recognise my knowledge of Scrum.

I have never attended any official training course so my knowledge is only based on my experience and reading articles. I believe many people have same background as mine so I hope this article will be helpful to people who want to pass the PSM I assessment. Before you continue, read the details of Professional Scrum Master I assessment first and you will have brief idea how the test works.
by Elvis Hsu 11 comments Read More
Recently, I had problems to install UFRaw plug-in for Gimp on both of my Windows 7, 8 and my Macbook Pro (Mountain Lion). Well, after googling few hours and I found out some tips and tricks on how to install UFRaw plug-in to Gimp.

For Mac:

According to Gimp download page:
the 2.8.2 version GIMP runs on OSX natively. No X11 environment is required. 
However, I found it relatively tricky. If you download the dmg file from here (v2.8.2) which comes without any add-ons then you are in troubles. Since it doesn't have any add-ons in the package, then you have to manually install them by yourself, in this case, UFRaw plug-in.

On the other hand, if you are familiar with MacPorts and you can just type the command in terminal "sudo port install gimp" and MacPorts will install all related packages for you including UFRaw. Just so you know this version of Gimp must be run in X11.Well, I have tried to install Gimp via MacPorts but the UFRaw plug-in didn't work for me and to be honest I don't like the GUI with X11. So I would not recommend you to download and install both packages. However, if you download this package from here which is built by Simone Karin Lehmann, then your life will be much easier. It comes with many useful add-ons including UFRaw plug-in. I found it was much easier for me to start with Gimp.
by Elvis Hsu No comments Read More