Spentable (Expense Tracker): How we built our first app for watchOS 2

Spentable: How we built our first app for watchOS 2

In WWDC2015, Apple announced iOS 9 for iPhone and watchOS 2 for iWatch. It has been a huge revamp for watchOS. Not until now, a watch app finally runs natively on the watch.

That means the code is now executing on your watch instead of the phone. By reducing multiple times of data transfer between devices, this is going to make the app loads a lot quicker and responds in a shorter period of waiting time.

Continue reading “Spentable (Expense Tracker): How we built our first app for watchOS 2”

SQLAlchemy in batches: Generating a top playlist

SQLAlchemy is arguably the most powerful and ubiquitous ORM framework for Python.

At Oursky, we have been using SQLAlchemy for quite a period of time and appreciated the flexibility and elegance it provides over the Data Mapper abstraction. No doubt, it works very well for modern web applications but what about long-running background jobs? Would the abstraction get in your ways? (tl;dr: yes, but we still prefer it)

Here are some hands-on experiences from us.

We built a popular iOS application with a song recommendation system at the backend. The system suggests a top list for 20 popular songs.

Previously our editors hand-picked popular songs by download count and gather a new playlist as a recommendation to users. Now, we want to automate this process and generate the playlist weekly.

Continue reading “SQLAlchemy in batches: Generating a top playlist”

Geek’s way to say things

developer's way to say things

We geeks often have our own ways to express, which might be too geeky for normal people to understand.

Here are some general guides to help you communicating with your geek friends (at least knowing what they are thinking about… )

1. “X is a subset of Y.”

x_subset

Spoken by Computer Scientists to say that X is a kind of Y, but Y is not X.

Real life examples:
“Matcha is a subset of Green Tea. They are different!”

Continue reading “Geek’s way to say things”