Developing Web APIs - Good Practices

Some days ago a coworker asked me what I thought about wich status code a web api should return and if there are some good pratices to follow. When he asked this, I remembered that I’ve followed some good pratices, most of them based on my emperical knowledge of years...
Read more

GeneticSharp in the Wild: Design of a Warehouse Order Picking Policy

I started a series of posts about some outstanding scientific papers and projects using GeneticSharp. For this fourth post the choose one is the Design of a Warehouse Order Picking Policy - Using Genetic Algorithm. Introduction The main motivation of the author about this paper was: improving order-picking process is...
Read more

GeneticSharp in the Wild: Frixel

I started a series of posts about some outstanding scientific papers and projects using GeneticSharp. For this third post the choose one is the Frixel: 2D framing / pixel structural optimization. Introduction Frixel is a plugin for Rhinoceros 6, a 3D computer graphics and computer-aided design (CAD) application. A finite...
Read more

GeneticSharp in the Wild: Context-Sensitive Code Completion

I decided to start a series of posts about some outstanding scientific papers and projects using GeneticSharp. For this second post the choose one is the Context-Sensitive Code Completion: Improving Predictions with Genetic Algorithms. Introduction The main motivation of the author about this paper was: Current methods of training code...
Read more

Evolution (or from prototype to game)

The importance of game prototype Several famous books and game designers cite how the prototyping phase of a new game project is an important time to lay out the foundations that will guide the whole game structure during its development project and, as well, to experiment with concepts and ideas...
Read more

Publishing WebJobs with Azure Pipelines

Azure WebJobs are a great way to execute background process. Scenario In last days I’ve created a Azure Pipelines that publish WebJobs, but in our specific case our WebJobs were not being published to /site/wwwroot/App_Data/jobs/Continuous/<webjobs name>, because “reasons” our root web app is using ‘/site/www’ as folder. So, you should...
Read more

jogosdaqui - um pouco de história, open source e colaboração (pt-BR)

Muitos não sabem, mas além de programar, sempre gostei de ajudar a divulgar a indústria brasileira de desenvolvimento de jogos. Criação do jogosdaqui Em 2005, junto com mais 3 amigos, foi fundado o site jogosdaqui, que era um site especializado em falar sobre os games desenvolvidos por empresas brasileiras. Esse...
Read more

GeneticSharp Car2D

I made an Unity3D sample for GeneticSharp inspired by amazing BoxCar2D where a genetic algorithm tries to design 2D cars to overcome roads challenges. Introduction I was always amazed by the 2D cars designed by BoxCar2D and see how genetic algorithm make new and (probably) better cars each new generation...
Read more

Porting GeneticSharp to .NET Core

The GeneticSharp v2.0.0-rc1 is out. In this version GeneticSharp starts to support .NET Standard 2.0 and .NET Framework 4.6.2. Porting to Introduction Sometime ago I started to porting GeneticSharp to .NET Core and today, after more than 40 hours of work, I finally finish it. Although GeneticSharp born as a...
Read more

Why we should avoid DateTime.UtcNow inside a Linq to Entities query?

Because we can get unexpected results! (after read this tip, will be expected results ;)) What is the diference between these two Linq queries? Query 1 var filterDate = DateTime.UtcNow; ctx.Set.Where(m => m.DateTime > filterDate); Query 2 ctx.Set.Where(m => m.DateTime > DateTime.UtcNow); The first one will generate a SQL with...
Read more

DDD by quotes

The Eric Evans’ book “Domain-Driven Design - Tackling Complexity in the Heart of Software” is like a Bible for who intend to use DDD, so, I guess that some quotes of the book can help us to validate our DDD approach. The list below is just a “check-point list”, because,...
Read more
Follow @giacomelli
Tutorials

News

Articles

Labs