.NET introduces binary literals

Binary PeopleWith the introduction of the new Roslyn compiler platform for Visual Studio, the .NET languages team has, finally, made available the support to declare and use binary literals for VB.NET.

Back in 2011 I posted a request to the .NET languages team to implement support for binary literals and also took the liberty to suggest some improvements to the syntax currently used by VB.NET to declare these literals. […]

x8086NetEmu for Linux, Mac OS X and Raspberry Pi

Running Frogger on OS X 10.9

In case you didn’t know, I’ve been “working” on and off, on an 8086 emulator, entirely written in Visual Basic.

Although it is still a “work” in progress, has a ton of bugs and is barely usable, it does provide a very nice feature: apparently, it will work under any platform where Mono is supported…

The emulator is being primarily designed to run under Windows, but with a few tweaks it will run under any platform that supports the Mono framework, such as any Linux distribution, Mac OS X (including Mavericks) and, quite surprisingly, it will even run on the Raspberry Pi! […]

¿Por qué los tranques (cierres) en dominó tienen que dar par?

Tranque a 6

Esto es una explicación algo rebuscada de porqué la suma de las fichas restantes, luego de un traque (o cierre), en un juego de dominó, siempre debe dar par.

[…]

Enabling additional command prompt fonts

Command Prompt Fonts

I’ve always wondered why there are so few fonts available for the command prompt, knowing that I have many mono-spaced fonts installed.

So, doing some research (yes, googling) I found this trick:
Stupid Geek Tricks: Enable More Fonts for the Windows Command Prompt

As with many cool configuration tricks in Windows, it involves editing the registry.
I don’t mind that, but I’m sure I will forget all about it in a couple of days and I’ll need to find the trick again whenever I want to add (or remove) fonts.

So, I decided to create a little utility to automate the whole process. […]

Brainfuck compiler, interpreter and debugger written in VB.NET

Why?
Well, why not?

If you don’t know what Brainfuck is, well, it might very well be the most popular and well know of the esoteric programming languages.

I had originally developed this piece of complete uselessness and utterly nonsense before Microsoft released the .NET framework.
I remember this being the very first VB6 program I tried to convert (using Visual Studio’s “wizard”) to .NET and the crap produced by the converter is still present in the code!

About 5 or 6 years ago I did try to clean it up a bit and added a couple of new features, but for the most part, the code remains untouched from what the “wizard” produced.

Unfortunately, I never got to finish it. Also, the implementation is horrendous and the code is as ugly as hell.
But it works…
[…]