Thursday, February 28, 2008

The end of e

After a long life of wandering and explaining a lot of things, e was trying to figure out what class of numbers to put himself in, then he realized he was transcendental and went to heaven. Unfortunately he got stuck in God's pie and died with the taste of lemon. R.I.P. e.

Qrappy Quotes 3

One man's embarassment is another man's fun


Board exams begin from tomorrow. I'll be having fun for 18 days. The situation is really starting to hit.

Wednesday, February 27, 2008

If Programming Languages were Lego...

  • Assembly would be a huge set of 1x1 blocks. You could do everything other blocks could do, and more, but it took a lot of time and planning to put them all together the right way.
  • C would be 1x1 with a few 2x1 and 4x1 thrown in for convenience.
  • C++ would be just like C, but there would be all these new highly specific pieces which would only be used by a few people. Of course, there would be a large collection of prebuilt objects like roads, and doors and windows, and roofs that you could put together.
  • Java would be a set of Duplo. Easy to learn, but bulky, crappy, and basically needing about 2 layers of blocks below your own to be able to do anything useful. And you would need all kinds of wrapping objects to reach to a particular height, because Duplos are twice the height
  • Python would be a mix of Legos and Technic, easy to read, yet able to do all kinds of complex cool stuff you wanted too. But each part would be made out of silicone, to be moulded to almost any kind of arrangement.
  • Ruby would be like Python, but with a added Framework and a community with their own Religion.
  • PHP would be what happens when different Legos end up mixing on the floor. You would have thousands of pieces, but gluing them together would be difficult, because you wouldn't know what they were called.
  • Factor and other stack based languages, would be the dark horses. Lego bricks with connectors on only one side. Fun to use, but a bit challenging as well.

This is a work in progress, I haven't got all the right comparisons yet.

Monday, February 25, 2008

Spartan Spartan

This guy was doodled in my Physics notebook for a long time, I chanced upon him yesterday, and decided to give him a life. SPARTAAAAAA!!!

Sunday, February 24, 2008

USA: a light wave

At the risk of sounding really corny, the US is like a light wave, it interferes in the internal affairs of other countries, diffracts situations to its own needs and polarizes the world about every issue.

Saturday, February 23, 2008

3 levels to go

Now I understand why developing and third world countries have such low contributions to the sciences and other creative stuff which contributes to global human potential. Because only a small percentage of people have the resources to reach the 4th and 5th levels. Most of the population is on par with animals, sometimes even lower. It's sad, isn't it, that ironically the lack of resources gives rise to people who have a 'me-me-me' mentality. Even when they get the resources they aren't willing to put their knowledge into practice for the greater good. Yes, I am referring to the bureaucrats.

Qrappy Quotes 2

Technology is clever people getting cleverer, so that dumb people can get dumberer.

Variation 1:

Technology is clever people doing clever stuff, so that dumb people can do even dumber stuff.

Monday, February 18, 2008

Qrappy Quotes 1

My Quote.

When a boy calls a girl, he pays double, listening to the girl talk and talk, and the phone company charge and charge

Sunday, February 17, 2008

Why factor is cool

Before beginning, I must admit I haven't messed with Factor for a couple of weeks now, nor do I contribute to it, I'm a Factor n00b. Please contradict peacefully.

Of course there are the usual reasons that it is open source, most of the standard libraries are in Factor itself, and that it has a really cool development environment. But almost every popular language these days has all that stuff.

The real reason I think factor is cool is because it still isn't near complete!

It's small and so the sense of community is much stronger, you can be the first to do things in Factor, when they've already been done elsewhere, and anyone with a decent education and experience could easily grok the theory too.

Small syntax

I would say Factor's basic constructs are even smaller than Python's. Just knowing a few shuffle words and USING:, defining words and quotations, gives you almost everything you need to know.

Everything else is just built on top of this.

Small population

At present Factor users are probably just in 2 digits. And there are no products (that I know of). Which means you could probably restructure the whole language without affecting anyone. This allows Factor to improve by rewrite, rather than by add-on.


Writing libraries for a new language means doing stuff that most have probably never done. So you have to learn about Unicode, or just traverse strings recursively (?!?) like I had to do in brainfacktor. ( Could it be better? )

Basically by keeping the core small, keeping a single stack and enforcing recursion by not having loops, Factor really forces iterative programmers to go stack based/functional. And that itself is a lot of fun, even though it is hard.

Reading about all the developers coding the standard libraries is also very informative, as is looking through the Factor sources.

And it would be fun to look at the interpreter, though I've never done it.

So that was my attempt at some evangelism :D

Most programmers are atheists

If this survey represents a signifact portion of them. Of course these are the programmers who are involved on the web, not much of all the zombies coding for the sake of it.

Thursday, February 14, 2008

This thing creeps along

Not much posts here, and nothing of interest. Well there really isn't much I've been doing.

I hacked a brainf**k interpreter in Factor, but since I've no time for Turing tarpits, someone should test it on more complex programs. Besides the number to string conversion does cause output problems.

I also have a refresh ready for my website, but it isn't going online any time soon, because its not for 22bits, but a new one, which I might do after a few months.

Other than that I'm just messing around with a few ideas, I really haven't got time for anything else.

The only thing new I've been doing is listening to a LOT of new music, by Radiohead, Broken Social Scene, and other alternative bands. See my