Archives

#101 - jan 11th 2015

Look

Examples of UI/UX, graphic performance, web design and flashy things.
50 years of Bose design
Very graphical retrospective of the Bose history.
Thoughtbot 2014 Report design
Nice looking and informative report from Thoughtbot.

Use

Web applications, resources and tools, available for making our life easier or funnier.
Railsbox rb
Fast and easy Ruby on Rails virtual machines.
RubyBench rb
RubyBench is a long running Ruby benchmark.
Sass Guidelines css3
An opinionated styleguide for writing sane, maintainable and scalable Sass.
Rocketbin tool
Like pastebin, but looks better, and is open source.
Git Magic tool
(book) An amazing online book about git.
Sed - An Introduction and Tutorial tool
(grymoire) an updated reference for sed usage.
unhosted web apps web
Either you connect your own server at runtime, or your data stays within the browser.

Install

A selection of gems or applications updated during past week.
Rails 4.1.9 and 4.0.13 rb
After a quick RC last week, here are the final versions.
Recog rb
Recog is a framework for identifying products, services, operating systems, and hardware.
bundler-audit rb
Patch-level verification for Bundler.
Parelation rb
Query your ActiveRecord-mapped database using simple GET requests.
Configurations rb
Unified approach to do configurations for gems or other ruby code.
Ginatra rb
Simple web-based git repository browser built on Ruby Sinatra.
pgcli tool
Command line interface for Postgres with auto-completion and syntax highlighting.
Octohub tool
A desktop client for github (for mac only and on invite beta).
booterator css3
A Bootstrap theme generator.
deSVG js
Replace SVG image references in your HTML with inline SVG.
eCharts js
Version 2.0 of Baidu's Canvas charting library.
Clocker ops
Brooklyn managed Docker containers.

Read

From the blogosphere or news feeds ...
Secure Secure Shell jan 4 tool
How to make ssh really (or more) secure.
The rise of the multimodel database jan 6 tool
A single data store can support multiple data models.
Concurrency Control In Multi-Player Games Using Aerospike jan 6 js
Look at a web-based tic-tac-toe game with multiple players playing at the same time.
ActiveRecord 4.2's Type Casting jan 6 rb
How ActiveRecord type casts values and what is new about it.
Speed Up Rails By Starting on the Front jan 6 rb
Various frontend and server optimizations tricks for faster rails apps.
CarrierWave - basic video conversion jan 6 rb
Using streamio-ffmpeg with Carrierwave.
Messaging with Rails and Mailboxer jan 8 rb
Mailboxer is a Rails gem that is a part of the social_stream framework for building social networks.
5 Tools To Help Audit Your CSS Code jan 8 css3
As your code expands, CSS may suddenly become hard to maintain.
Five Ruby Methods You Should Be Using jan 9 rb
Details about: Object#tap, Array#bsearch, Enumerable#flat_map, Array.new with a Block, <=>.
From Ember-Rails to Ember CLI jan 9 js
An environment to develop, build, and test your Ember applications.
The Dark Side of Open Source jan 9 tool
Based on github visibility and how it influences badly some early coders.
Stack Traces In Go jan 11 go
Information the stack trace provides, including how to identify the value for each parameter.

Watch

Screencasts and conferences videos, or other video feeds ...
Portland Ruby Brigade December 2014 (3 videos) jan 6 rb
pdx.rb is a user group for Ruby programmers in the Portland, Oregon area.
Portland Ruby Brigade January 2015 (2 videos) jan 7 rb
January sessions from pdx.rb.

Listen

What could be heard last week ..
Giant Robots 128 (47m) jan 5 web
To Attract and Retain (Dan Croak).
The Cloudcast #175 (42m) jan 5 ops
Machine Data & DevOps.
Ruby5 #519 (6m) jan 6 rb
Ruby 2.2.0, Rails 4.2.0, Finishing Moves, RubySpec, Databound, testing controllers, James Golick.
CenturyLinks Lab 23 (19m) jan 7 ops
What is Rocket and How It's Different Than Docker.
RubyRogues 189 (1h27) jan 7 rb
Choosing a JavaScript MVC Framework with Craig McKeachie.
Javascript Jabber 141 (1h07) jan 7 js
Firefox OS with Jason Weathersby.
The Changelog 136 (1h01) jan 8 rb
Phusion Passenger (Ruby Raptor) with Hongli Lai.
Adventure in angular #24 (32m) jan 8 js
Replacing Silverlight with Wijmo and Angular with Chris Bannon and Bernardo Castilho.
Ruby5 #520 (6m) jan 9 rb
Rails Misconceptions, performance, turbocache, microservice, Ginatra.
Ruby on Rails Podcast #181 (1h18) jan 9 rb
Brian Cardarella of DockYard - Running a Software Consultancy & Betting on Ember.
Links curated by mose (editor), xenor (informers).

Rant

The random rant of the week by mose.

1000 subscribers

After the 100th Greenruby last week, we get the 1000th subscriber to the email newsletter this week. Welcome George :) So for the occasion I refreshed the subscribers map on cartodb. About half of the subscribers are in the US, but there is a total of 73 countries represented, which is pretty neat. But this is based on the ip used for subscribing, so it's not totally accurate.

Fighting logs pollution

Some time ago, on edition 82, I posted a link to my webalizer stats for the greenruby website. Fatal mistake, I had referrers stats enabled and I got somehow listed somewhere. The consequence was a lot of fake traffic with only purpose to get links listed in my referrers section. After removing this section from webalizer config, and moving the url, the fake traffic was still there. Like a blind wave. This was pretty annoying.

So I began to take some drastic measures. Because I didn't have referrers anymore in my stats, I went to my apache logs (yes it's an old server, still running apache2) and fire up a:

tail -5000 greenruby.org-access.log | cut -d' ' -f11 | sort | uniq -c | sort -n

This give me a nice view of the recent referrers. Fake ones are easy to notice. And that the fake traffic was only coming from a handful of ips, so I just made a few:

iptables -A INPUT -s <ip> -j DROP

The result was radically efficient. Certainly I had less volume but it's now much cleaner. But it makes it clear that having clean volume stats for traffic on your website is not that easy. There are a bunch of fake traffic sources that you may not suspect.

New server soon

I got a new job 2 month ago at gandi, and there is some nice VPS hosting there. I can have a machine just for Green Ruby there. It can be neat and open some options. Green Ruby website is still very static. Various attempts to improve it with a search engine didn't end up to something concluding yet. Maybe this time it will.

That also may be the occasion to build up a distribution system and move out of mailchimp. I looked around and all I found was php based. So I will probably just write my own ruby scripts, the mail gem looks great and the rest is a question of configuring a postfix with correct SPF and DKIM setup.

Je suis Charlie

Well, this tragedy that happened this Thursday in France impacts a lot of people. Somehow, it perhaps impacts me more than the average. When I was younger I went to art school to become a cartoonist, and finally I changed my mind. But I knew the work of the victims of this slaughter. They were icons in the French cartoon world.

It's really sad, first because this is murder, second because the irrational impact it will have on society. This is crazy how a handful of brain-dead punks can bend history. Now France is going to become even more paranoid. I already was so uncomfortable when they began to send military with assault rifles wander in the train stations in Paris. It's not going to get better.

Green Ruby News was a feed of fresh links of the week about ruby, javascript, webdev, devops, collected by mose, xenor and tysliu every sunday.