Git meets Bitcoin #

Still early days, but pretty cool tech coming from the team at Gitchain:

Gitchain is an application of the exciting ideas behind Bitcoin, Namecoin and DHT applied to Git hosting. Once you install it, it acts as a local proxy to the entire Gitchain P2P network.

I love seeing the Bitcoin protocol (perhaps the crypto-currency’s greatest virtue) applied to different domains.

Looks like the project has been Kickstarted as well. It should be fun to follow along and see where the community takes it.

Trash – a safer and cross-platform `rm` #

Instead of permanently deleting files from the command line, this little tool moves them to the trash.

Like me, you might be thinking, “But I can do the same thing with mv.” To this Sindre writes:

Not really. The mv command isn’t cross-platform and moving to trash is not just about moving the file to a “trash” directory. On all OSes you’ll run into file conflicts. The user won’t easily be able to restore the file. It won’t work on an external drive. The trash directory location varies between Windows versions. For Linux there’s a whole spec you need to follow. On OS X you’ll loose the Put back feature.

Who knew?

Cleaner class-based controllers for AngularJS #

Classy is Dave Jeffery’s attempt to clean up AngularJS controllers. It removes the requirement to annotate your dependencies, automatically adds functions to the controller’s $scope, and adds a convenient way of watching things without dirtying up your init function.

Also, the project’s homepage has a really nice code sample that switches between JavaScript and CoffeeScript versions. Check it.

Sponsor: Codefront.io, Front-end Developer Conference

Codefront.io, Front-end Development Conference

You have a chance to meet the ‘Masters of the Web’ in Linz / Austria.

Engineers and true pioneers of the web industry and front-end world will be speaking at Codefront.io, a “don’t miss” Front-end Development Conference taking place on May 10th, 2014 at the Johannes Kepler University, in Linz (Austria).

A Hapi Ninja for Node.js #

Earlier this year we had Eran Hammer on the podcast to talk about the success of Node.js at Walmart for the infamous influx of traffic that Black Friday brings them. At the core of their success lies Hapi, the rich framework for building web applications and services with Node from Walmart Labs.

Hapi is a lot like Sinatra for Ruby in the fact that you start with a single server file and expand as needed from there to create a file and directory structure to organize and support your application code.

While hacking on Hapi recently, I found Hapi Ninja. If you’re just getting started like me, Hapi Ninja can serve as a boilerplate to learn from with Hapi, or even as the starting point for your Node web service.

It was also a pleasant surprise to see Saul Maddox was a native Houston Texan like myself. Sadly we’ve never met.

Regular Expressions without Fear

Have you been avoiding regular expressions because you think they’re too confusing? Are you copying and pasting snippets from Stack Overflow into your code but you’re not really sure what they mean? In this post I’m going share several resources that will have you writing regular expressions without fear in no time.

The New York Times opens up the code and data that generates their Senate forecasts #

The New York Times is taking a crack at forecasting the results of the upcoming Senate races. They’re currently predicting a tossup, but we don’t have to just take their word for it. The code and data that runs the election-forecasting model is open to the public!

The model is built with R, a programming language for statistical computing. I’d love for somebody with some R knowledge to write an article that walks through the codebase explaining how it all fits together. Ping us if you’re up to the challenge…

Gogs is a self-hosted Git service written in Go #

Gogs looks like a nice, new (still in Alpha) option if you want to self-host some Git repositories with a web interface similar to GitHub’s.

Gogs

It’s written purely in Go, so installation should be dead simple. From the README:

Gogs only needs one binary to setup your own project hosting on the fly!

Worth a look.

minicron: a system to manage and monitor cron jobs #

minicron is a web interface to manage and monitor scheduled tasks across a series of servers. It’s still in early development, but the tool sets out to solve a pain that anybody with more than a few servers has probably felt. I know I have.

minicron is pre-semantic-1.0 and has a roadmap in the readme. Looks like a great time to get involved.

Build beautiful programming books with Git and Markdown #

There’s a lot of innovation (and iteration) going on in the online publishing space. GitBook continues that trend by offering a command line tool built specifically for creating programming book and exercises.

You write your book in Markdown and from that GitBook can generate a static website, PDF, eBook, and even JSON. Here’s what the results look like:

GitBook Preview