Category → ruby
April 2012 Meetup Videos
Friendster hosted this month’s meetup.
Turnout wasn’t as good as last month’s, but that only meant

more pizza and booze for us!
Basic Lessons from Ruby Rumble Practice

Normally, I would’ve posted something like this a lot earlier. But work interfered so…
Anyway, since I won the event, I really don’t have an excuse not to do a post. Blow the cut are some of the lessons I (re)learned at the event.
This post by Bryan Bibat is from existence, refactored.
Ruby Rumble Practice Details
What is Ruby Rumble Practice?
It’s an event where rubyists gather in one location to build cool stuff.
When is it?
May 28, 2011. Saturday. Morning until evening.
What are the rules?
We will form into groups to build a web application. Any ruby framework can be used.
What if I don’t have a group?
Go to the monthly meetup on May 19 and join the other groups or create your own.
What is the prize?
This is not a competition.
What if I can’t join you in the venue?
You can still participate. Gather the other rubyists in your area. We’ll hang out in IRC.
Register here: Ruby Rumble Practice
PhRUG May Meetup Details
PhRUG May Meetup
May 19, 2011 630pm-900pm
AELogica, LLC office @KMC Solutions
20th Floor, Picadilly Star Bldg.
4th ave. corner 27th street
Fort Bonifacio Global City
As with all meetups, the event is free. People with little or no experience with Ruby are also welcome.
Signup here:
https://spreadsheets.google.com/viewform?hl=en&formkey=dGhpZURCckhQbGZfdUtLenBsQXlPYkE6MQ#gid=0
Sowing the Seeds
Just a quick write-up of my Pecha Kucha talk for RedDotRubyConference last night. Copyright info for pictures will be added once I get back to the Philippines.
Full “script” below the cut. If you’ve been there in my talk, I ad-libbed a lot more this time around than when I did my Ignite talk.
Continue reading →This post by Bryan Bibat is from existence, refactored.
Web Developer Interview Questions
Earlier this week, I had to interview a bunch of applicants for a web developer role. The idea is to filter out those who aren’t really experienced as the job asks for people with at least 6 months of experience. Anyway, below is the test I gave them. I don’t feel like giving something like it again in the future (it’s pretty crappy IMHO) so I think it would be a good idea to share it instead of just throwing it away.Determine whether the statements below are true or false. Be prepared to explain your answer.Answers below the cut. Continue reading →
- A primary key can be composed of multiple columns.
- When you have two tables in a parent-child relationship (i.e. one table has a foreign key referring to the other table) deleting a parent record will delete all child records of that record.
- Escaping special characters is the best way to avoid SQL injection.
- You can undo
UPDATEandDELETEchanges to the database.- The
VARCHARdata type can be used to save space when used overCHAR.- When using an RDBMS, normalization must be done for all tables.
- Indexes speed up database actions.
- Foreign keys are usually indexed.
- Many-to-many relationships are implemented via junction/join tables.
- Some HTML elements have been deprecated in favor of CSS.
- The
<strong>element can be used interchangeably with the<b>element.- Under strict XHTML rules,
<br>is not a valid usage of the line break element.- The
hrefattribute of the anchor element only accepts relative and absolute links.- The
imagetag is a block element.- When a form is submitted, the submitted data is derived from only the
inputelements inside theform.- Multiple elements can have the same
idattribute.- Web servers serve content at port 443.
- A web server can identify if a client has visited the website before.
POSTis idempotent.- A browser redirect can be initiated by a response with an empty body.
- In JavaScript, the
varkeyword is optional when declaring variables so it can be omitted in all cases.- You must specify a function name when declaring JavaScript functions.
- Ajax will prevent you from performing other actions until the Ajax action is completed.
- You are limited to using XML in Ajax.
- You cannot change the values of a class variable.
- Constructors are instance methods.
- Polymorphism refers to the ability to define functions to have different behaviors depending on the passed arguments.
- High cohesion and loose coupling can improve coding speed.
- You can combine the features of two classes via inheritance.
- Encapsulation is primarily used for security reasons.
This post by Bryan Bibat is from existence, refactored.
Recent Comments