Quantcast
Channel: worksonmymachine
Browsing latest articles
Browse All 25 View Live

Image may be NSFW.
Clik here to view.

Logic Teasers; Editions 1; Linked Lists

This begins a series of posts where I drop little logic and core programming questions which I come across as a kind of repository for the little brain teasers that I come across in my daily life and...

View Article


Image may be NSFW.
Clik here to view.

Script for sorting your photos

Quick one this, and apologies for not posting for ages; I’ve been busy. I love Dropbox camera upload; I come home from a trip, all photo’d up, and my iPhone syncs to my PC automagically. With a...

View Article


Image may be NSFW.
Clik here to view.

Silly old VS2013 and XML Serialization

So had a bit of a gotcha this morning which cost me a good twenty minutes and some little anger.  I kept getting an error when compiling in release mode – Could not find file...

View Article

Image may be NSFW.
Clik here to view.

MicroGoals, RockyTasks, and getting things done

I’m feeling a bit woozy today, as I ‘m having an operation done, but also a leetle bit… Talkative. I’ve recently begun a few separate changes in my life, i.e. this month: Moved job, away from FS into...

View Article

Image may be NSFW.
Clik here to view.

Red Gate Rant

God dammit Red Gate!! Why would I invest in a database comparison tool when a) it takes over 45 minutes of my time to do the comparison and b) by the time it finishes it has generated...

View Article


Image may be NSFW.
Clik here to view.

Randomness in SQL (or lack thereof)

In case you didn’t know, SQL Server’s RAND() function is a bit of a joke. For a given seed value it will continually return the same number. Greeeeeat. So, here’s my implementation. /* Author : Mel...

View Article

Image may be NSFW.
Clik here to view.

Codility Challenges

Well it’s been ages since I last posted, but I’m less busy than usual these next weeks. So what I’m doing is following through on my current obsession with Codility. I’ll be posting the results of my...

View Article

Image may be NSFW.
Clik here to view.

Logic teasers, Edition 2;

Reposted from : http://ayende.com/blog/163394/new-interview-question?Key=ba723523-5252-4377-8c54-239026db23e5 Given a finite set of unique numbers, find all the runs in the set. Runs are 1 or more...

View Article


Image may be NSFW.
Clik here to view.

Adding Business rules to your DAOs with Repository.

So if you have a series of POCOs,  and like a good developer you’re using some nice ORM like NHibernate or Entity framework, and you have a Repository pattern going on, but now you want to add in...

View Article


Image may be NSFW.
Clik here to view.

NHibernate missing or invalid object exceptions, with two databases

Currently, I’m working on a project which involves working with SqLite databases, and one of them is reserved for Undo operations, that is to say, the current state of an object in the main database is...

View Article
Browsing latest articles
Browse All 25 View Live