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…
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
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…
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…
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…
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…
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…
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 …
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.
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.