FaceBook Messenger Bot with Ruby & Sinatra

Hacked together a basic FaceBook Bot that returns the GPS coordinates of a country, city/town or address using this tutorial.

Code for the simple bot is on my GitHub. You can also message the CoBot FaceBook page. It’s hosted on a free Heroku site so it’s so incredibly slow, it was a lot quicker on my local server. Update: Rhys explained to me that the Heroku site sleeps the free dynos and wakes them as required. Since the dynos is sleeping, the message isn’t sent until it wakes.

It’s amazing how you can use ChatBots to gather and serve information. So much you can do with bots.. like create surveys, present promotions to page followers, serve bus arrival times to commuters and much more.

TechLadies Bootcamp

I’m currently participating in the TechLadies Bootcamp, a 10-week part-time accelerated Ruby on Rails program. We’ve been working in a team of three, and we have a mentor who’s a professional Ruby on Rails developer. We’re building a web application for a non-profit organisation, TOUCH Young Arrows. It’s a client and event management web app that volunteers can use on-the-go to keep track of information.

I’ve been busy with all that work involved in building the app. We’ve an experienced UI/UX designer who did fantastic wireframes. Our mentor guided us in the right direction by breaking down the work we need to do in more manageable tasks. He also guided us to solve the many problems that we’ve been stuck on.

So far we’ve about 10 models in the application, and most pages seem to be up. There’s a lot more details to be implemented though. It’s quite scary that we’ve only 6 more weeks to finish this app!

Little BlueBird Micropost – My First Web App

I’ve completed Michael Hartl’s Ruby on Rails Tutorial and here’s my first web app, Little BlueBird. It’s a twitter clone built with

  • Registration & authentication systems, including validation and secure passwords
  • Account activation & password reset, emails are sent with Rails
  • The option to update, display, and delete users
  • Image upload using a cloud storage service
  • Microblogging & social feature of following other users

littlebluebird

Continue reading →

Ruby on Rails – Signup, Login, Logout

Chapter 7 & 8 of Michael Hartl’s Ruby on Rails Tutorial weren’t a lot more difficult than the earlier chapters but I cross my fingers every time I run bundle exec rake test. I failed more tests in these chapters than the earlier ones. My soon-to-be Twitter clone now has a functioning (and bug-free) signup and login, logout page. I realised that things you take for granted on a website, it takes some time to learn to build and test.
Almost there.. I’m on Chapter 10, just three chapters left. Will blog about it when I’m done with the book. After this I might go through this book again and then create simple apps for practice.

Continue reading →

Getting started with programming & which language?

I’ve finally decided to learn how to code. It’s something that I’ve always thought about doing but never really got around to doing. If I could turn back time, I would’ve done a Business & Computing degree instead of Business & Politics. I’m now working in an e-commerce startup doing digital marketing (SEO & content). Surrounded by web technologies everyday, I ought to know more really.

Continue reading →