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). Simply put it in a "workspace" and "do it". The response output is sent to a "Transcript" window.
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?
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).
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.
I put together my top pics of Schneems' series on Ruby on Rails introductory course centered on Rails use in conjunction with databases.
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.
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.
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.
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 :)
Sometimes I just like to post a video I find, and this time that video is DHH's introduction of Rails 3.1.
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....
Wall Street Journal has a great video on the emerging social data-mining market.
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.
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.
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.
In an introductory essay on Model Thinking, a free online course offered through Coursera, I came across this quote...
Using ActiveRecord on Rails 3, query the database for yesterday's fields.
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?