21 May 2013

The Ruby Reflector

Topic

CoffeeScript

  Source Favicon
Email

…of classes. Instead it constructs its objects using prototypes. If you're writing your code in CoffeeScript, you can almost always ignore this fact, and write your code as if you were in Ruby or Python. In this case, however, CoffeeScript is making our problem less apparent, so let's take a look at what this code looks like using plain JavaScript. function GiantRobot() {}

GiantRobot.prototype.smashCache = {};

GiantRobot.prototype.smashInto = function(other) { if (!this.smashCache[other]) …

robots.thoughtbot.com Read
  Source Favicon
By Assaf of Labnotes 10 days ago.
Email

GitHub JavaScript styleguide :

Write new JS in CoffeeScript.

Use soft-tabs with a two space indent.

Always use camelCase, never underscores.

Use implicit parentheses when possible.

...

§ Case study: How effective are CDNs for mobile visitors? .

§ The Onion is a GitHubber .

§ Ode to a shipping label .

blog.labnotes.org Read
  Source Favicon
By Assaf of Labnotes 16 days ago.
Email

…around it.

Related, the Big O cheatsheet .

§ Lisa Williams :

A scientific attitude toward one's pursuits is a great comfort: "It doesn't work" is a perfectly good experimental result.

§ Alastair Coote :

The new http://m.nytimes.com runs on Node, uses Coffeescript, LESS, and Redis for caching. How many hipster hacker points do we get?

blog.labnotes.org Read
  Source Favicon
By Mike Gunderloy of A Fresh Cup 20 days ago.
Email

The Rails 4 Way - Available now in beta form through Leanpub.

jet-pack - Boilerplate Sinatra app with Haml, Sass, Coffeescript, Foreman, and other goodies.

Performance enhancements for Ruby-based stacks in BitNami - They're now preinstalling the Falcon patches and tuning GC by default.

Feed Wrangler - "A modern, sustainable RSS reader" at $ 18.99 per year.

Introducing Trello Business Class! - Good on them for finding a way to let people pay to keep the lights on.

afreshcup.com Read
  Source Favicon
By Todd Hoff of High Scalability 1 month ago.
Email

…stack: Rails, PostgreSQL/ PostGIS, Memcached, CoffeeScript, Sass, jQuery, Handlebars, Backbone, Underscore, Sinatra, Clojure, Java, Hadoop, Cascalog. Highlight: "You don't need a database, you need a [expletive deleted] cache" So that's what we did, we traded our database for a cache.

Don't miss all that the Internet has to say on Scalability, click below and become eventually consistent with all scalability knowledge...

highscalability.com Read
  Source Favicon
By Joey of Global Nerdy 1 month ago.
Email

…gift , it proved to be a fine machine for building PHP, Rails and CoffeeScript apps under both Windows and Ubuntu. Even though it's not my main development machine, it still performs yeoman service at my home office.

My other Windows machine is my living room entertainment/casual hacking box, a 2009-era HP IQ526 TouchSmart touchscreen all-in-one with 4 gigs of RAM, powered by a Core 2 Duo T6600 processor. I used a similar machine at Microsoft

globalnerdy.com Read
  Source Favicon
By Mike Gunderloy of A Fresh Cup 2 months ago.
Email

flatui-rails - Designmodo's flat UI sassified and hooked up to the asset pipeline.

Firefox Developer Tools work week wrap-up - Lots of stuff headed down the pipeline. The remoting stuff is especially interesting.

Firefox Terminal V3 - Interactive console in Firefox for JavaScript, CoffeeScript, and LiveScript.

Backbone.js 1.0 - Yep, finally a whole number release.

Riak CS is Now Open Source - So you too can build your own S3-compatible cloud.

afreshcup.com Read
  Source Favicon
By Lee of Lee Munroe 2 months ago.
Email

I was watching Ryan Bates' screencast to learn CoffeeScript and he uses a sortable list as an example project.

After following his screencast, I already had a basic to do application started.

Around the same time I had a need to create a share a list with a friend for a project we were working on. I knew of lots of task management apps, but they all required sign up , download or payment.

I just wanted to quickly create and share a list , with no barriers to entry . …

leemunroe.com Read
  Source Favicon
By Joey of Global Nerdy 3 months ago.
Email

Ruby's not the only language that goes well with Rails that got an update. Check out CoffeeScript 1.5!

Here are the major changes in CoffeeScript :

First release of Literate CoffeeScript .

The CoffeeScript REPL is now based on the Node.js REPL, and should work better and more familiarly.

Returning explicit values from constructors is now forbidden. If you want to return an arbitrary value, use a function, not a constructor.

You can now loop over an array …

globalnerdy.com Read
  Source Favicon
By Giles Bowkett of Giles Bowkett 3 months ago.
Email

…video series, which shows you how to write music software from scratch in Node.js and CoffeeScript: $ 12 per episode $ 9 per episode

And I'm finally bringing my back my time management series, which I only put on sale for a single weekend when I first released it. (It made me over $ 5,000 that weekend.) The first three videos are free, but the price for the fourth, longest, and most detailed : $ 97 $ 41

THE BUSINESS RATIONALE

For …

gilesbowkett.blogspot.com Read