LCID reference

Dec 05, 2014 • Marco Cecconi

Since I'm always searching for it and the pages on the web do not contain the complete list, here's a full list of Locales. Code to generate your own version Invariant Language (Invariant Country)Invariant Language (Invariant Country)127 afAfrikaansAfrikaans54 af-ZAAfrikaans (South Africa)Afrikaan…

Read the post »

Happy birthday to me!

Jul 01, 2014 • Marco Cecconi

As a quick fun thing to do today, I've created a personalized birthday wish generator using Markov chains. The code is pretty simple and unremarkable, and I've made it available as a gist. Play with the online version here! Sorry, I'll also party normally later :-) #nerd

Read the post »

Say "No" to the Open/Closed pattern

Jun 08, 2014 • Marco Cecconi

The open/closed principle is the second of the five SOLID principles. The best place to start to try and understand it is probably Uncle Bob's article on it, but you can also take a look at the Wikipedia page or read about it in Bertrand Meyer's "Object-Oriented Software Construction" book. The can…

Read the post »

I don't love the single responsibility principle

May 06, 2014 • Marco Cecconi

courtesy of wikipedia Did you ever happen to disagree with a colleague on the single responsibility principle and its application? Let's try to understand why that could be the case. I once worked with a colleague, whom we shall call Stan, who had a very different understanding of the single respo…

Read the post »

Answer for "Christmas visit nightmare"

Jun 26, 2013 • Marco Cecconi

TL;DR: Not only I did get an answer by an egregious reader (hi Emmet!), but it was a really good one. The way to solve the problem is to use an algorithm known as "earliest deadline first": you sort by ascending end date and then proceed in order, excluding the family members that overlap. Demonst…

Read the post »

Hacking Challenge: Christmas visits nightmare!

Jun 15, 2013 • Marco Cecconi

I originally wrote this challenge in 2012 to select a few developers for my previous company. They turned it down! I still think it's a nice puzzle. I would like to publish more in the future, let's see how this goes. Instructions Subsitute //Write code here... with your awesome solution. Feel hap…

Read the post »

How to use Forms-Based Authentication with MVC4

Jun 07, 2013 • Marco Cecconi

I am putting this down just to remind myself in the future, since the documentation I've found on-line is very lacking. To add extra context: you don't need anything else to use forms-based authentication. Most of the documentation you will find on-line will advise you to use some MembershipProvide…

Read the post »

LX week

May 29, 2013 • Marco Cecconi

I was in Lisbon this week visiting old friends. In exchange for a desk and WI-FI — and potentially some yummy pizza — I have been giving quick talks about the high level architecture of the Stack Exchange network and about our development philosophy: we like fast, really fast code! The talks were …

Read the post »

I am the Chief R&D at BaxEnergy, developer, hacker, blogger, conference lecturer. Bio: ex Stack Overflow core, ex Toptal core.

Read more

Newest Posts

I finally emulated my childhood

Last night I decided to dedicate some time to my old [z80 emulator](https://sklivvz.com/posts/z80). I've squashed a few bugs and ported it to .NET 10. Then I added a ULA emulator.

Read more
MoonBuggy: zero-allocation i18n for .NET

Compile-time translations via source generators, ICU MessageFormat + CLDR plurals, PO file workflows, no per-request allocations.

Read more
TDD and the Zero-Defects Myth

TDD can’t guarantee zero-defects. Let us debunk this software development myth.

Read more
What can Stack Overflow learn from ChatGPT?

Stack Overflow could benefit from adopting a using conversational AI to provide specific answers

Read more
Fan mail

Multiple people with my name use my email address and I can read their email, chaos ensues!

Read more

Gleanings

How Aristotle Created the Computer
Chris Dixon • Mar 20, 2017

What began, in Boole’s words, with an investigation “concerning the nature and constitution of the human mind,” could result in the creation of new minds—artificial minds—that might someday match or even exceed our own.

Read more…