Why Scala Can Help You to Build a More Reliable Service

Simple Cloud Identity Management Scala Implementation ( https://github.com/soleo/scim-rest ) I’ve been hunting for a language to build applications which should be easy to be deployed, managed and tested for quite a while. Well, coming from a C/C++ background, transferring to Java in grad school, then working mainly with PHP, JavaScript and Objective-C in various applications for my current position, it almost made me think that there is no big difference among all programming languages. No matter what kind of language you’re using, the quality of your work would always have to rely on how experienced you are. I’ve never came across the idea that using a modern language would be more beneficial to a developer to build new applications faster and more reliable. ...

February 3, 2016 · 4 min · Xinjiang Shao

HowdyBarber: A scripting way to check my barber’s availability

I don’t go to a really fancy barbershop to get my hair cut, but my current barber’s schedule filled up so quickly that I have to check regularly to make appointments. I really don’t want to waste my time on opening tabs in chrome and login to check their schedule one by one. I came up with a few options to do the checking. Use a headless library like PhantomJS to acting as myself to do the clicking and parsing. (Worst Case) Use their public documented API to query for availability (Best Case) Somehow find out a way to get their availability feed from a third party (Doable but rely on the third party) My barber uses https://resurva.com/ as their booking system. The service is for barbers to manage their bookings. Browsing through the website, there is no documentations about any public API I could use. Option 2 is out. ...

October 12, 2015 · 3 min · Xinjiang Shao