Tips and Tricks

  • submit to reddit

5 Common Automized Software Quality Metrics (with Pros & Cons)

1. Source Lines of Code (SLOC) Counting lines of code is probably the most simple method. It mostly indicates the scale of the software and gives an...

2 replies - 3960 views - 10/09/12 by Cagdas Basaraner in Articles

Bit by Bit

My first ever software programming language was C. Almost two decades later, in weird unexpected ways I find myself understanding software...

0 replies - 2308 views - 10/09/12 by Partha Bhattacharjee in Articles

Amazon S3 Object Deletions and Multi-Factor Authentication

I’ve been using S3 a lot in the last couple of months, and with the Amazon SDK for Ruby it really is dead simple to work with (as well as all of the other...

0 replies - 2392 views - 10/09/12 by Oliver Hookins in Articles

Find Code Duplicates with Sublime Text

Code duplication is the worst practice ever, right? Well, actually there might be situations where duplicating can be...

0 replies - 3289 views - 10/09/12 by Juri Strumpflohner in Articles

Making the Right Decisions When Optimizing Code

You have an optimization task at hand. Which is great – you finally have the possibility to do something interesting instead of implementing yet another...

0 replies - 2926 views - 10/09/12 by Nikita Salnikov... in Articles

Coding Quickie: Classification Tree Learning

Have you ever seen a large table of data and thought, "Somebody just vomited numbers on my monitor?" Sometimes it can be hard to make sense out...

0 replies - 4044 views - 10/09/12 by Justin Bozonier in Articles

Understanding (and Controlling) Windows Azure Diagnostics Costs

Let’s take a moment and talk briefly about WAD -- especially how the data is stored. If you’re familiar with WAD and its data store, please feel free...

0 replies - 2295 views - 10/09/12 by Gaurav Mantri in Articles

Fixing Intermittent DNS Problems on Ubuntu 12.04

I’ve been having some intermittent DNS resolution failures on my recent installation of Ubuntu 12.04. Googling showed that I’m not the only one, and...

0 replies - 3266 views - 10/09/12 by Eli Bendersky in Articles

From Inside the Code: ActiveMQ Network Bridges and Demand Forward Subscriptions

I’ve written previously about ActiveMQ Network Connectors as a way to help describe some of the responsibilities of the classes that are involved with...

0 replies - 2715 views - 10/09/12 by Christian Posta in Articles

Clojure: Refactoring From Thread Last (->>) To Thread First (->)

I use ->> (thread-last) and -> (thread-first) very often. When I'm transforming data I find it easy to break things down mentally by taking small,...

0 replies - 2261 views - 10/09/12 by Jay Fields in Articles

Consider assertThat() in place of assertEquals()

  JUnit 4.4 added a new assertion mechanism with the method assertThat(). Have a look and consider using it in place of...

5 replies - 3646 views - 10/09/12 by Mike Christianson in Articles

Cluster Computing with Node.js

A single instance of Node runs in a single thread. To take advantage of multi-core systems we may want to launch a cluster of Node processes to handle the...

0 replies - 6576 views - 10/09/12 by Hemanth Madhavarao in Articles

How to Accurately Measure Writes in InnoDB Redo Logs

Curator's Note: This article was originally written by Stephane Combaudon at the MySQL Performance Blog (linked below). Choosing a good InnoDB log file...

0 replies - 2391 views - 10/09/12 by Peter Zaitsev in Articles

Using 'watch' as Quick Continuous Integration

Here’s a quick tip for anyone writing a script without a REPL: use watch as a quick continuous integration tool. While writing code in one console,...

0 replies - 2235 views - 10/08/12 by Mike Christianson in Articles

10 Caveats Neo4j Users Should Be Familiar With

Recently I used the Neo4j graph database in GitMoon. I have gathered some of the tricky things I learned the hard way and I recommend any Neo4j user to take a...

0 replies - 4974 views - 10/08/12 by Yaron Naveh in Articles