turnings :: daniel berlinger

passions :: perfections :: peoples :: stuffs

Archive for February 2012

Prepare Your App for Rails 4 and Ruby 1.9

leave a comment »

Prepare Your App for Rails 4 and Ruby 1.9:

The Rails master branch was moved to 4.0 two months ago, almost 6 years to the date of the announcement of Rails 1.0, and the primary cited reason for doing so is to get everyone using Rails on Ruby 1.9.

[I understand the lack of migration all too well. Some codebases require a tremendous amount of work to move forward, and may not be worth the investment from a business point of view. But at some point, that app either needs to be sunset or worked on. Now’s the time to decide which category it fits into.]

Source: Union Station

Written by Daniel

February 26, 2012 at 11:53 am

Posted in tech

Responsive Navigation Patterns | Brad Frost Web

leave a comment »

Responsive Navigation Patterns | Brad Frost Web:

Top and left navigations are typical on large screens, but lack of screen real estate on small screens makes for an interesting challenge. As responsive design becomes more popular, it’s worth looking at the various ways of handling navigation for small screen sizes. Mobile web navigation must strike a balance between quick access to a site’s information and unobtrusiveness.

Written by Daniel

February 26, 2012 at 11:23 am

Posted in design, tech

Better JS with CoffeeScript – Sam Stephenson (37signals)

leave a comment »

Better JS with CoffeeScript – Sam Stephenson (37signals):

Sam Stephenson speaking at the Future of Web Apps London 2011 runs through how to write cleaner and faster JavaScript with CoffeeScript and where this is leading in the future.

[I haven’t watched this yet. Noted for later.]

Written by Daniel

February 26, 2012 at 11:17 am

Posted in education, tech

Teller Reveals His Secrets | Arts & Culture | Smithsonian Magazine

leave a comment »

Teller Reveals His Secrets | Arts & Culture | Smithsonian Magazine:

Magic is an art, as capable of beauty as music, painting or poetry. But the core of every trick is a cold, cognitive experiment in perception: Does the trick fool the audience? A magician’s data sample spans centuries, and his experiments have been replicated often enough to constitute near-certainty. Neuroscientists—well intentioned as they are—are gathering soil samples from the foot of a mountain that magicians have mapped and mined for centuries.


Written by Daniel

February 26, 2012 at 11:14 am

Posted in art, craft, design

Debugging jasmine-node and CoffeeScript specs

leave a comment »

Debugging jasmine-node and CoffeeScript specs:

We’re writing our node apps in CoffeeScript, debugging with node-inspector and testing with jasmine-node.

[I’m giving this a whirl…]

Written by Daniel

February 26, 2012 at 11:07 am

Posted in tech

Giles Bowkett: Rails Went Off The Rails: Why I’m Rebuilding Archaeopteryx In CoffeeScript

leave a comment »

Giles Bowkett: Rails Went Off The Rails: Why I’m Rebuilding Archaeopteryx In CoffeeScript:

Going back to the larger issue, Rails definitely went off the rails. Cleaner, more modular APIs are an important goal, but they’re way less important than speedy development, a modern feature set — why is Rails not staying up to date with HTML5 the way it did with Ajax? — and, above all else, programmer happiness. The Merb integration rewrite was a giant, time-wasting threadjack with only a few small payoffs, and DHH, who wrote two whole books about why you should turn down feature requests, should have nixed the whole thing. I’m still going to keep using Rails, because it’s still a terrific framework, and I still enjoy it a great deal, but I think it’s absolutely fair to say that Rails 3 is a step backwards from Rails 2, and that Bundler, although very useful, is clearly not even close to finished. They say they’re at version 1.0, but I don’t think they’re fooling anybody.

[Lots of food for thought… in the end though the ten year old in me really enjoyed this. Good one Yehuda! (And everyone, try and remember that this is a rant… it gonna be extremely one sided. I’m not endorsing anything here. Just listening to what people are saying.]

Written by Daniel

February 26, 2012 at 10:53 am

Posted in tech

Embrocation Cycling Journal: Annoying Developments

leave a comment »

Embrocation Cycling Journal: Annoying Developments:

I have another idea: How about getting a license and actually racing? Or joining a club/team and going on group rides with thick-legged dudes? Because after those “segments”, the riders are so spent that the next few kilometers are at recovery speed. Thanks a lot, Strava segment.

But it’s ok. We welcome the developments, as annoying as they are. Little secret: I’m learning all the segments in the area. So next time I’m out on a group ride, I’ll attack before those stretches and fumble the process.

Strava segment, be warned: you have made a powerful nemesis.

[For each action there is an equal and opposite reaction…]

Written by Daniel

February 23, 2012 at 8:02 am

Posted in cycling


Get every new post delivered to your Inbox.

Join 572 other followers