Tips and Tricks

  • submit to reddit

Using Java as Native Linux Apps – Calling C, Daemonization, Packaging, CLI (Brian McCallister)

This is a summary of the excellent JavaZone 2012 talk Going Native (vimeo) by Brian McCallister. Content: Using native libraries in Java and packaging them...

1 replies - 4904 views - 10/06/12 by Jakub Holý in Articles

Groovy Goodness: Boolean Implications

Since Groovy 1.8.3 we can use the implies() method on Boolean types. The implies() method implements a logical implication. This means that if we have two...

0 replies - 1839 views - 10/05/12 by Hubert Klein Ikkink in Articles

MongoDB and Redis Go Head-to-Head with Node.js Social Analytics

And not just mongo vs. redis but also jade vs. ejs, azure vs. jitsu and anything else you want! All in today's GitMoon new rollout. Here are some of the...

0 replies - 6874 views - 10/05/12 by Yaron Naveh in Articles

Java: Parsing CSV files

As I mentioned in a previous post I recently moved a bunch of neo4j data loading code from Ruby to Java and as part of that process I needed to parse some...

11 replies - 11878 views - 10/04/12 by Mark Needham in Articles

Data Science: Making Sense of the Data

Over the past month or so, Ashok and I have been helping one of our clients explore and visualise some of their data. One of the first things we needed...

0 replies - 2486 views - 10/04/12 by Mark Needham in Articles

Lucene's New Analyzing Suggester

Live suggestions as you type into a search box, sometimes called suggest or autocomplete, is now a standard, essential search feature ever since Google set a...

0 replies - 3377 views - 10/03/12 by Michael Mccandless in Articles

OutOfMemoryError: Unable to Create New Native Thread – Problem Demystified

As you may have seen from my previous tutorials and case studies, Java Heap Space OutOfMemoryError problems can be complex to pinpoint and resolve. One of...

1 replies - 6185 views - 10/03/12 by Pierre - Hugues... in Articles

Caching for Fun and Profit. Or, Why Would You Ever Cache a Page for 5 Seconds?

There are a lot of ways to cache data. You can cache a piece of data, a query, a page fragment, an entire page, or an entire website. You can cache...

0 replies - 5334 views - 10/03/12 by Dan Wilson in Articles

5 Ways to do Source Control Really, Really Wrong

Last week, with the help of the good folks at Red Gate, I set up a little competition to give away 5 licenses of their very excellent SQL Source Control ...

2 replies - 12035 views - 10/03/12 by Troy Hunt in Articles

How Do I Know If My Heroku App is Slow?

So you’ve written a nice new Heroku app and have tested it thoroughly. It seems really fast – yay! What do I mean by "thoroughly"? You...

0 replies - 5612 views - 10/03/12 by Trevor Parsons in Articles

SOA Service Design Cheat Sheet

This simple cheat sheet contains all the key goals, principals and design patterns that you should be aware of when designing SOA services and contains...

0 replies - 12080 views - 10/01/12 by Ben Wilcock in Articles

A JavaScript MapReduce One-Liner

After my post on "Word frequency using MapReduce in Python," I got my paws dirty with some silly Javascript. Once I reduced a whole chunk of code,...

1 replies - 8534 views - 10/01/12 by Hemanth Madhavarao in Articles

How to Delete an Entire Azure Table in One Command

Here's how to delete an entire Azure table: I get this question quite often. I normally wouldn't make such a simple post, but: Most developers think they...

0 replies - 1610 views - 10/01/12 by Bruno Terkaly in Articles

Testing XML Generation with vimdiff

A couple of weeks ago, I spent a bit of time writing a Ruby DSL to automate the setup of load balancers, firewall and NAT rules through the VCloud...

0 replies - 2358 views - 10/01/12 by Mark Needham in Articles

Neo4j: Handling SUM's Scientific Notation

In some of the recent work I’ve been doing with neo4j the queries I’ve written have been summing up the values from multiple nodes and after a...

0 replies - 1521 views - 10/01/12 by Mark Needham in Articles