Please visit the new location of this blog:
Category Archives: Uncategorized
Below I put together my personal list of best RailsConf 2011 presentations that have online slides or PDFs. I put my comments next to each. Click on the link, then click on the “slideshow” or “PDF” links for each talk.
- ActiveSupport 3: What We Should Know About What We Don’t Know – how to use ActiveSupport in your ruby apps and get lots of behaviors and useful stuff for free
- Building Bulletproof Views really decent presentation on state of views in general, and best practices. Recommended reading.
- Building Pageless Apps with Rails and Backbone JS is a great presentation on a new up and coming JS client side framework for building reach apps on the client using pure MVC.
- David Heinemeier Hansson — keynote, worth watching
- How To Handle 1,000,000 Daily Users Without Using A Cache most interesting presentation for performance junkies, on how they outgrew MySQL and explored various other solutions to scale to 1M daily users. Highly recommended.
- KnowSQL: Database Tricks To Make Your Life Easier this is a PostgreSQL heavy presentation on how to get the most out of your database engine. Recommended to anyone who wants to learn more about using a real database =)
- OmniAuth from the Ground Up a really good presentation on OmniAuth – a generic authentication gem that supports a lot of options, including OpenID, LDAP, etc.
- Open Source E-Commerce With Spree VERY interesting presentation on this open source e-commerce platform. Great examples on using engines, customizable CSS, and many more. URL: https://github.com/spree/spree
- Rails Performance Tools – system tools such as lsof, strace, ltrace, gdb, perftools, memprof, etc to identify bottlenecks in your ruby apps that NewRelic can’t, by Aman Gupta.
- Sass: The Future of Stylesheets a great overview of SASS and compass, with examples of @extend and @include.
- Stateful, Scalable Servers with EventMachine and Rails a talk by Aman Gupta (again) on EventMachine and writing non-blocking high concurrency but single-threaded TCP/IP servers. Highly recommended.
- The Holy Grail (of Databases) Overview of SQL, key-value stores and other NoSQL storage options. Highly recommended.
And if you are feeling sentimental, and added bonus:
- 50 in 50 is a really zany presentation on computer science achievements in the last century. Great meditative presentation, and goes way over 1 hour. No relationship to ruby/rails, but everyone will get something out of it
This gem was written with a simple aim to parse MM7 wrapped binary and base64 encoded MMS messages received via MM7/XML HTTP post from an MM7 compatible gateway connection (such as OpenWave, OpenMarket, etc).
The gem provides a simple way to parse and access MMS message contents, such as from, to, subject and content parts (including image and text parts).
>Had an awesome time here for two days, listening to talks, hacking on some code, learning, networking, even managed to sign up for the UCSF gym and to take a swim.
Very nice organization, excellent venue, and fantastic talks. Definitely coming back next year. For the price it’s well worth it.
Here are some highlights:
- Super useful resource for lookup up shell commands: http://shellhaters.heroku.com/posix
- Terminator plugin: start your dev environment as you like it. Gem install terminator
- http://github.com/rdy/fixture_builder Factory to Fixtures converter to speed up your tests.
- pprof profile Ruby interpreter. Rack-Profiler project, great profiling tool.
- Machine Learning – great talk, and O’Reiley book, http://twitter.com/igrigorik
- minitest fastest testing framework, many mentions, very fast, supports RSpec and Test::Unit syntax
- Caching: using fresh_when(:last_modified => …) to enable proper HTTP caching in Rails 3.1
- Arel: enables fragment caching that does not run SQL if the fragment is cached
- ruby 1.9: require ‘objspace’ allows inspection of object counts and memory usage in VM
>If you are just learning to use git, or you have been using it for a while without too much thinking, this introduction to Git principles provides a fantastic overview into the concepts behind git, using a very simple and natural examples.
Do you need to switch to git from svn? My personal take on this is as follows:
- If you have several developers far away with bad internet connection, then YES.
- If you have more than several developers (say hundreds) then YES.
- If your developers often work on long multi-day features, where they want to commit often, but commits may result in instability of their branch, then YES. Git allows much easier branching than SVN.
- If you want to leverage GitHub’s infrastructure for hosting your project privately or publicly, then YES.
- If you have a small team who works locally and uses a local SVN server then NO.
- If your team does not need branching, or prefers to check-in complete features instead of incremental check-ins then NO.
- If your team is used to SVN and there are no major issues, then NO.
- If your team is using SVN authorization module to create groups and grant them special access per subdirectory then NO. I am unaware of Git providing this level of access control.
>Things have been a bit quiet over here, but no fret, it’s not over yet!
Things have been very busy with Drop In Media, building an MMS content and technology company has been exciting and at times exhausting.
Going to SXSW? Check this out!.
More soon! Promise.
>Binary PostgreSQL installer broken when used on RedHat EL5.3 / Dell PowerEdge 2950: Hangs server reboot.
>This is a very quick post that would hopefully save someone else hours of hitting the head on the wall like I did.
If you are installing RedHat Enterprise Server 5.2/5.2 x86_64 on Dell PowerEdge server, be aware of the following issue with PostgreSQL binary installer offered by EnterpriseDB.
After installation the server is unable to cleanly shutdown due to the fact that the binary installer does some voodoo with libtermcap – basically making this system library be used from inside postgres installation folder. Because of this, kernel can not umount /usr (or whenever your PostgreSQL is installed) and hangs the shutdown.
Build PostgreSQL from the sources. They are ahead in minor version number anyway.