Microsoft Windows CLSID from shell32.dll (… and a little bit more)

I pull this out from my old site hosted by Capo Nord — gone away. I don’t think this is useful stuff (anymore?), but here it is anyway.


It's a hard pr0n life

When money will begin to run out and we'll realize (again) that there's no value in it, barter will become the most popular way of exchanging and sharing resources: everyone will trade things for things, instead of promises of things for things.


Android Lollipop annoys me (a little bit)

There's a way of thinking that worries me: a “new operating system” must look graphically different from the previous version of the same operating system. Premise: I have been upgraded to Android (so-called) Lollipop. (Second premise: I own a Samsung Galaxy S4 — something I regret, but it's too late and I'll keep it till I die or till it breaks — whatever happens first).


Type-generic functions (overloading) in C11

As per Michael Stoffregen suggestion in the comment, I've tried to move arguments outside and it worked (even with gcc 4.9.2)! So I can finally say C(11) has Fortran-like function “overloading” — type generic functions.

I have often wondered why C hasn't any kind of function overloading. The typical answer is that we don't want to live with name mangling in C — the hell of the C++ — that would break a lot of things which must stay as they are. I agree… except that you don't need to implement it the C++ way when you have a bright example like Fortran.


Two puzzles from an italian magazine

There's an italian weekly magazine (La settimana enigmistica) that once in a while publishes “A puzzle with Susi”. Susi is a cute and smart girl who accepts to solve challenges her friend Gianni is used to throw to her.

In one of my italian blog I've tackled two (so far) of these puzzles using Prolog and Haskell.


Security through obscurity and secrecy?

Are you using VanDyke's SecureCRT? Let's suppose you have forgot a password of one of your configured sessions: you can still log-in, since SecureCRT has stored it, but if you need to use that password from elsewhere and you can't remember it, what can you do?


SNUSP esolang and an interpreter in Go

While Golfrun specifications are becoming foggy day by day (month by month, year by year…) and C++11 implementation of a Golfrun interpreter is still far to come, I am experimenting with the Go language, as done in the previous post. Thus I have decided to implement an interpreter of an esoteric programming language I liked very much: SNUSP. In the past I have already written a C interpreter for Modular SNUSP: it was my first contribution (as far as I can remember) to RosettaCode; then, I uploaded it to SourceForge too.

Now I have implemented an interpreter for SNUSP using the Go language. You can find GoSNUSP code on github.

GoSNUSP can interpret (bugs apart…) Core, Modular and Bloated SNUSP.