Skip to content

Cribbage Assistant

I wrote a simple java applet cribbage assistant. It allows the user to enter a hand of 6 cards and it will analyze the different possible outcomes and recommend the best possible hand.

Continue reading ‘Cribbage Assistant’ »

MooDB the embedded NoSQL Database.

Announcing MooDB: an embedded NoSQL Database. MooDB is built on top of Sqlite and provides a simple C/C++ API. MooDB stores data in JSON objects as key/value pairs. There is a built-in map-reduce framework to make querying data fast. Map-reduce functions are written in javascript so any web developer will be familiar. A lot of the concepts from MooDB are borrowed from CouchDB.
Continue reading ‘MooDB the embedded NoSQL Database.’ »

MTDatabase – a Objective-C muti threaded SQLite Wrapper

Fix the Financial Crisis with a Green Economy

Occupy Wall Street, economy in the dumpster, needless war in the middle east, Chinese economic superpower  - its almost 2012 and America’s outlook is grim. How do we bring home American soliders and get American citizens back to work? How do we get America’s economy back on track and secure secure as the world superpower? Let’s take a lesson from the Space Race of the late 20th century and foster a new erra of green energy technology.
Continue reading ‘Fix the Financial Crisis with a Green Economy’ »

How to setup an Urban Terror Server

Urban terror is a free multiplayer first-person shooter that is a lot of fun to play and has a vibrant player community. This post describes how to set up a dedicated server to host your own urban terror parties with your friends.

Continue reading ‘How to setup an Urban Terror Server’ »

Wuala Is No Longer The Greatest

A few days ago, I got this email from the Wuala team:

Hi,

We have been working hard to improve the underlying storage system of Wuala. This improvement will be included for the first time in the next Wuala update, which is coming later this week.

While this change will bring many nice improvements, it also means that we are discontinuing the “trade storage” feature, which was a very hard decision for us to make.

… blah blah blah

So there you have it, everything that made wuala great is no more. Now it seems that Wuala is just another cloud storage provider. Sad :(

DevsmartLib

DevsmartLib is hosted at GitHub http://github.com/dinocore1/DevsmartLib-Android

The DevsmartLib is a collection of Android utilities and widgets hosted at GitHub. My hope is to continuously add and refine reusable Android components and share them with you. I hope you find this library useful. Please feel free to contribute. Forks and pull requests are welcome :-)

Licensed under MIT License Copyright (c) 2011 Paul Soucy, (paul+blog@dev-smart.com)

Continue reading ‘DevsmartLib’ »

Android EqualSpaceLayout

The EqualSpaceLayout is a subclass of ViewGroup that is similar to LinearLayout, however it does not distort the sizes of its child view. EqualSpaceLayout will divide any remaining horizontal or vertical space evenly between all of its children.

The EqualSpaceLayout is now part of DevsmartLib hosted at GitHub. https://github.com/dinocore1/DevsmartLib-Android As always, pull requests are welcome.

Continue reading ‘Android EqualSpaceLayout’ »

Start a GNU Autotools C/C++ project

Gnu Autotools is a suite of tools used to create a portable build system mainly used for compiling C/C++ projects. This post serves as a quick reference for using Autotools to get started building a new C/C++ project. I assume you know enough Unix to be dangerous. Continue reading ‘Start a GNU Autotools C/C++ project’ »

Easy Android File Cache

Download code here FileCache (384)

Licensed under MIT License Copyright (c) 2011 Paul Soucy, (paul+blog@dev-smart.com)

When writing mobile apps, you should constantly be asking yourself: how will my app function when the user goes offline? A well written mobile app should smooth the transition for the user on and offline as much as possible. Usually, this means adopting some agressive caching techniques. I have created an Android cache utility class to help make storing generic data easier. Continue reading ‘Easy Android File Cache’ »