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…
Code
Service Object Adventures
by Kat Padilla • • 0 Comments
I have read a lot of Rails articles and most of them always tell you to keep your Rails controllers skinny. It sounds so easy but it’s really not. As the cliche goes, “it is easier said than done.” In real life, requirements get complicated. Controllers and models get longer and longer and you need to do something about…
Thoughts
OUR GLOBE BROADBAND CONNECTION HAS BEEN INTERMITTENT SINCE JANUARY
by Kat Padilla • • 1 Comment
Warning: This is an angry rant post. OUR GLOBE BROADBAND CONNECTION HAS BEEN INTERMITTENT SINCE JANUARY!!! If my memory serves me right, there have been 4 to 5 on-site teams that were sent to fix our connection to no avail. It all started during the Papal Visit…and then it never recovered from there. I’m not…
Code
Yet Another Rails Adventure
by Kat Padilla • • 0 Comments
I’ve been playing with storing and setting dynamic stuff in Rails because I’ve been repeating similar codes over and over and it’s becoming annoying. Luckily, I found a pattern and started to experiment from there. In a nutshell, this is what I’m trying to achieve: Create dynamic re-usable sessions from a param[:filter] if it exists. For…
Thoughts
Change is inevitable
by Kat Padilla • • 1 Comment
I’m getting used to it. In web development, it’s important to accept that everything you know right now will be replaced, altered, improved, updated or removed pretty soon. You can’t be too attached to your codes. Change is inevitable. In our industry, things are fast-paced. The best thing to do to keep up to speed…
Code
STI
by Kat Padilla • • 1 Comment
As I dive into more Rails-y stuff, I was told about the concept of Single Table Inheritance. (s/o to MJ for introducing me to this!) This Rails design pattern is characterized by using a single table that stores data from multiple models that inherit from a base model (the parent class of STI) which inherits from ActiveRecord::Base. (Whew!) OK,…
Thoughts
My 2015 Share-able Goals
by Kat Padilla • • 0 Comments
In no particular order of priority, here are my 2015 share-able goals: join and participate in a hobby group i.e. drone group or R-Pi group drink grown-up coffee (no more sweet coffee *le sigh*) continue my special “secret” project join 1-2 hackathons (and win at least 1) improve as a Rails dev blog at least once…
Toys & Games
Indoor Adventures of My Parrot Rolling Spider MiniDrone
by Kat Padilla • • 0 Comments
The inevitable has happened. I bought a drone. Nope. Not the AR.Drone 2.0. Parrot wi-fi quadricopter in Pismo priced at around 27,000 php that I’ve been drooling over with. I think my twitter followers (wow! As if I have 1M followers!) know that I’ve been dreaming about it ever since it got released in the US but…
<3, Thoughts
katpadi_2014.log
by Kat Padilla • • 0 Comments
New “stellar” work Towards the last quarter of the year, I transferred to a new Silicon Valley-based company. You know what they say. New work, new life. And so far, I’ve been very happy with my current employer. We are in the process of building a cloud-based, big data customer loyalty solution app and I…
Code
ActiveRecord::Store for Settings
by Kat Padilla • • 0 Comments
Using the config.yml it’s fairly easy to store app settings that we want to be able to change quickly between environments. That is cool until your boss tells you that they need to be able to change it on the app itself a.k.a. on the fly. The initial advice that I got for this kind…