Blog

A blog about web development, design, interaction and anything else I find interesting

Add a Gravatar profile photo to your Rails project 5 days ago

When your user's sign up with their email address, why not make the most of Gravatar? Gravatar is freely available resource to grab a user's avatar based on their email hash. Here I will show you how easy it is to default to a gravatar image, at least until your users upload their own profile photo.

Quick and dirty test web scraper in Smalltalk (Pharo2) 3 months ago

Quick and dirty test web scraper in Smalltalk (Pharo2). Simply put it in a "workspace" and "do it". The response output is sent to a "Transcript" window.

Drop-down HTML select option list for will_paginate pagination override 4 months ago

Screen_shot_2013-03-02_at_4.18.46_pm
In where I show you how to overwrite 'will_paginate' gem's methods of rendering to show a select list of all pages, including twitter bootstrap friendly css, and previous and next buttons.

Pro Tip 5 months ago

In Rails, how do you select all records from model A, with an associated model B, where B exists?

Comprehensive introduction of Angular.js 8 months ago

Angular JS is a Google sponsored javascript "framework" that aims to simplify and speed-up interactive web application development by providing "out of the box" data binding and event handling while leveraging the declarative nature of HTML and the flexibility of JavaScript for application developers. Here is a video introduction by Igor Minar, presenting at AngularJS NYC meetup (quite long).

Infinite scroll with AngularJS and Rails 10 months ago

Find out how to nicely implement infinite scroll feature using AngularJS and Rails, by re-using regular Rails pagination conventions and the regular Rails CRUD/REST interface.

Best of Schneems 11 months ago

I put together my top pics of Schneems' series on Ruby on Rails introductory course centered on Rails use in conjunction with databases.

Note: blog list not in order of origin publication dates 11 months ago

Heads up readers: I migrated my database from Heroku to localhost sqlite3. Then ran the SQL dump through a python script that was supposed to alter it enough that MySQL would understand it, but certain items weren't market as "published". I had to re-enable them, thus, all the blog posts that have been updated by me, are now showing at the top, as recently published, when they were not.

Fancy UI notification system style for web apps 11 months ago

Screen%20shot%202011-06-05%20at%205.20.30%20pm Screen%20shot%202011-06-05%20at%205.19.57%20pm Screen%20shot%202011-06-05%20at%205.11.24%20pm Screen%20shot%202011-06-05%20at%205.19.24%20pm Screen%20shot%202011-06-05%20at%205.19.48%20pm
I've been inspired by the 'growl' like notification system and decided to build my own for my web applications. I've been using this code and style for notification systems in a couple of my projects and it has been well received. I will show you here how to add it to your own applications.

Launchpage.me UI feature show off 11 months ago

Screen%20shot%202011-06-25%20at%208.52.21%20pm Screen%20shot%202011-06-25%20at%208.52.36%20pm Screen%20shot%202011-06-25%20at%208.52.53%20pm Screen%20shot%202011-06-25%20at%208.53.20%20pm
It's been busy over here. I've been working hard at this new web application which will launch under the domain: launchpage.me and will be part of a network of launchpage.me, launchpage.us, and launchpage.vc. I'm featuring here a few screenshots of the application up to this point and a little video of a UI feature I finished just now. Keep it steady.

Moving mount Fuji: a how to 11 months ago

Many developers [in an interview situation] get asked the question 'How would you move mount Fuji?' or one similar in concept. Here I will show you how, the idea is not mine, but it comes from, perhaps, just as much of an unlikely place :)

Rails 3.1 presented by DHH 11 months ago

Sometimes I just like to post a video I find, and this time that video is DHH's introduction of Rails 3.1.

Problems in the land of 'live' data 11 months ago

Yuri (yuri.yup.la) is a satellite image saving web application I buit which is a great little tool if you just want to have a place that you can go back to and reference those cool images you found somewhere on google maps. But as with any service that relies on outside data, data that it can't control, this problem will inevitably crop up....

Social data-mining through cell phones, an emerging market. 11 months ago

Wall Street Journal has a great video on the emerging social data-mining market.

Mixergy featuring founder of Balsamiq 11 months ago

Screen%20shot%202011-04-08%20at%206.10.11%20pm
This is a great podcast/web episode of Mixergy with a very detailed interview with the found of Balsamiq (Peldi Guilizzoni), the UI sketching application.

WebKit + Python + GTK 'Hello World' simple project setup about 1 year ago

Screenshot%20from%202012-05-28%2000:12:51
This is a short video recording, of a much more detailed text tutorial of how to get started developing apps with WebKit, Python and GTK.

Optimizing queries in your database: If you are getting all the data in your table... about 1 year ago

I%20don't%20always%20shave,%20but%20when%20i%20do%20it's%20milliseconds
You can't scale while selecting all the data in you database on an ever increasing table size. When you see queries that get all data from the database it's time take a break and really think about why you are doing that. Do you really need all that information? Or are you then going to filter it and extract only a subset of the data that you are getting? At this point you could probably assume there is a better way of doing that, right in the query. It may not always be the case but it's highly likely that there is a better way to formulate your queries to get you the data you need faster.

From Ignorant Militance to Militant Ignorance about 1 year ago

In an introductory essay on Model Thinking, a free online course offered through Coursera, I came across this quote...

Query the database for yesterday's fields. about 1 year ago

Using ActiveRecord on Rails 3, query the database for yesterday's fields.

Big, obvious, purple button over 1 year ago

Ms%20main%20page Apple%20front%20page Canonical%20front%20page
Hi-Tech, IT, Software, Technology, Telecomunication, Mobile, Computer, what do these words mean to you? What do they mean to the largest corporations that invest, build and ultimately profile in these categories and platforms? What role do developers in relation to these corporations?