increase vdi space and Linux partition using terminal

Last night as I was setting up a Oracle Linux test server I accidentally allocated the default virtual box value in GB. That was roughly 12GB. Enough space for a test installation if you consider that Oracle Linux 6 takes up around 7GB. But I wanted to install ArcGIS server and for that I needed more than 6GB of space, which apparently the current configuration was not adequate. Till I realised that, I had already spend quite some time configuring the system, so there was no chance to go back and start the process all over again.

On the other hand the easy solution to extend the Disk was through Gparted which again was not an option cause there was no point in spending time installing a Desktop environment and looking around yum for all Gparted dependencies, since Gparted is not part of the default yum repository.

So I had to do the whole process through command line.

Luckily It can be done.

(more…)

Tiraggo.ef New Query API for the Entity Framework

Who said that Christmas comes but once a year? Mike Griffin tweeted a few days ago that a new query engine have been developed for the Entity Framework, leaving aside painful linq queries. The new query engine named Tirago.ef uses the same syntax as Entityspaces did, which is more sql-like in syntax and at the same time simpler and faster.

Tired of LINQ and Lamba?

Have you ever stumbled upon LINQ queries that are so unintelligible and complex you needed to crawl under your desk and have a good cry? Have you ever taken a good look at the over-complicated SQL generated by LINQ? And what’s the whole story about not being able to select certain columns?

This is 2013 folks.Tap into your T-SQL knowledge and write queries that actually make sense.

(more…)

Pattern Based Sudoku Solving Algorithms (part Β)

I wonder if I ever get serious and finish my projects or any for that matter. Last time I presented a fairly complicated algorithm idea about a more humanized based Sudoku solver instead of the brute force ones that applications usually utilize.

Someone can argue, what’s the point of creating a fairly complicated solution to a simple problem that can be solved in just a few seconds using brute force.

Well Because its fun. So, here you go, another made up Sudoku solving algorithm

This time, I though, that it would be interesting to combine my geometrical and topological background, as well as some GIS based algorithms that we have developed over time.

The first implementation cannot solve all Sudoku puzzles but it can do fairly well in medium strength ones like this one

input

output

(more…)