March 5, 2014

Having read article Why you think the PKI sucks, I came up with the following summary:

  1. If you’ve been choosing long enough, you’ll find out that all of the choices suck.
  2. Whatever you choose, you’re going to make a mistake.
  3. Pick any choice and go with it, if you have to.

Too obvious, isn’t it?

September 10, 2013
Big Data, Small Brain

Why would advanced programming languages matter in the world of Big Data? You may argue that large amounts of data need a lot of processing power, but really — modern business trends are bent on juggling data, not computing it. There are 3 kinds of operations that are predominant today:

  1. Data querying
  2. Tossing data around
  3. Linking data (in a few advanced cases).

But data is the blood of the virtual society, for good or bad. No wonder we have been enjoying the reign of data-oriented information technologies ever since computer science left the containment of academic establishments. And so there came “human-friendly” but not very efficient tools with relatively low entry levels like PHP, Perl, CGI, HTML, databases and SQL, web frameworks, Ruby on Rails, Django, Joomla, content and knowledge management systems, CRMs, ERPs, microblogging services, you name it. Although this proved to be beneficial to the development of information technologies, data-oriented software clearly marked the decline in computational complexity of the tasks that it had to handle.

So all this talk about the advent of functional programming, high performance, parallel and distributed computing, all those cool languages like Haskell, Clojure, Erlang, is irrelevant. It is fun and awesome, but useless until business demands real number crunching, instead of some data juggling on steroids.

I’m talking about trends here. Naturally, the world is not all black or white, 0s or 1s. There are computing-intensive projects today, and great programming paradigms find their use in those few business or scientific applications. Just stop pondering “Why [insert any over-hyped language which is less than 20 years old] will win.” It won’t. At least, not because it’s the fastest, strictly-typed, has a great virtual machine, better garbage collector, derived from Lisp or anything.

Lazy people find easy ways to earn money.

12:30am  |   URL: http://tmblr.co/ZdoIaxucx13W
Filed under: big data 
August 24, 2013
CalDAV and CardDAV projects in Linux are no good.

GNU/Linux toolset for CalDAV and CardDAV is abominable. It’s basically a bunch of PHP projects (and their derivatives) and a twisted python of Calendarserver amid them.

I don’t even want to dwell about what’s wrong with PHP projects. The choice of the programming language and all the “framework” it depends on, says it all.

Calendarserver is so-so, although I cringe every time *.plist format is mentioned. But its CardDAV module doesn’t work with KMail, the e-mail client application that I prefer. Or perhaps it’s KMail’s fault. Not to mention, the choice of authentication options of calendarserver is not particularly UNIX-friendly: either you store accounts’ credentials in a dedicated XML file or use LDAP. What about good old UNIX PAM or anything more secure and common, hmm?

That said, I started making steps towards implementing CalDAV and CardDAV in Guile. Lightweight, simple, standards-conformant, Linux-friendly, etc. Surprisingly, there Guile lacks quite a number of libraries that I could’ve reused. So I’m announcing my first step, a library to handle vCards. I’m aware that there are already libraries written in C for that, but I’d rather not deal with FFI, memory leaks and all that stuff now, if I want the project to see the light anytime soon.