A few weeks ago, I created a basic Ruby gem implementation of the “Toy Robot Simulator” problem. Toy Robot Simulator wuttt??? The scenario is that the application is a simulation of a toy robot moving on a square table of certain dimensions. The robot is free to roam around the surface but must not fall.…
Category: misc. projs
Codes, misc. projs
Heartbreaker: Yet Another Space Invaders Clone
by Kat Padilla • • 3 Comments

I created something out of boredom: http://stuff.katpadi.ph. So… obviously it’s a game. It’s not original. It’s nothing amazing. It’s a space invaders clone with a twist. I am still enhancing the “twist” part. There’s a heartbreaker (it’s a pig!). It rips the hearts out. But the hearts still give hearts anyway. It’s silly, I know. There are…
Codes, misc. projs
TIL: Action Cable x WebSockets
by Kat Padilla • • 2 Comments
So I finally had time exploring Rails 5 after quite a busy schedule. First order of business– check out Action Cable as it seems to be one of the most promising features to Rails 5. To understand Action Cable, I had to understand WebSockets first. WebSockets…wut? Clearly, the online world has been largely built around the…
Codes, misc. projs
Ruby Gem That Makes Your Model Activatable
by Kat Padilla • • 0 Comments
Aktibibo is a simple Ruby gem that makes your model activatable. It allows an ActiveRecord model to be declared as “activatable” thus providing scopes for querying and filtering objects. Of course, the module adds convenience methods for setting an instance as active, inactive or deactivated. As an additional feature, it also saves the activation and deactivation dates because it uses datetime DB…
Codes, misc. projs
My First RubyGem Is Called Sorty Sorter
by Kat Padilla • • 0 Comments

In the Ruby world, mixins are very popular. In fact, I’ve created a number of basic mixins (or concerns) in Rails projects and so it came to a point where I wanted to try converting it to a gem. Why? Because why not? Well, just for the experience. Anyway, my first RubyGem is called Sorty Sorter. It sorts AR collection…
misc. projs, Toys & Games
Fun Times with Hubsan X4 H107C+
by Kat Padilla • • 0 Comments
Codes, misc. projs, Toys & Games
Time-Lapse Video Generator Using Raspberry Pi
by Kat Padilla • • 2 Comments
So, I’ve been tinkering with my Raspberry Pi for the past couple of days. This weekend, I started with my time-lapse video generator using Raspberry Pi and its camera module. Taking snapshots is easy because RPi has a built-in raspistill command: raspistill -hf -vf -x -o melody.jpg There are many options which you can find here. When I connected the camera…
Codes, misc. projs, Toys & Games
Setting Up Raspbian on Raspberry Pi
by Kat Padilla • • 0 Comments
The very first thing that I did was to download an OS that my Raspberry Pi will use. There are many options like NOOBS and Ubuntu Mate but everyone’s sold with Raspbian so I chose it as well. Setting Up Raspbian on Raspberry Pi After I’m done downloading the OS here, using was not as easy as transferring it…
Codes, misc. projs
Meet Ernie
by Kat Padilla • • 0 Comments
Note: This blog post is 2 weeks late. We (as usual, I was with Mark Steve) joined this event called Textify and we were given a month or so to think of an SMS-based project and build it. It was hosted by Chikka with the help of Smart DevNet to promote the use of the recently launched Chikka SMS API platform. At…
Codes, misc. projs
My Twitter Favoriter Experiment
by Kat Padilla • • 0 Comments
I wanted to prove that favoriting semi-random tweets increases followers in Twitter. I wrote a “bot” that favorites tweets that contain hashtags that I’m interested in. For my own peace of mind, I didn’t choose mainstream or popular hashtags (ie. #KathNiel) because I wanted to have a set of quality followers. I’m sure there have…