PyPy and the future of interpreted languages

PyPy is Python implemented in Python. This means that the interpreter is written in Python, but what started as an experimental idea turned into a fast, efficient Python implementation with a JIT compiler that has the potential to implement other dynamic interpreted languages as well.

Implementation of the Python 2 specification is done in RPython – the so-called restricted Python, which is a stripped down version. The constraints that RPython has on objects make it easier to infer their types. The PyPy tool chain then has an easy time translating the RPython program to C, JVM bytecode or CIL. It also builds a JIT compiler in the resulting interpreter.

PyPy is capable of running any common Python code.

Speed

First and foremost – speed. PyPy's website maintains a page that's updated at each PyPy version which contains the accomplishments – various benchmarks and how much faster it is than those compared with CPython. These are kinda assumed,[. . .]

CCC breaks the Apple TouchID

Germany's Chaos Computer Club announced that their biometrics team successfully bypassed Apple's TouchID biometrics login mechanism, thus showing that the fingerprint method is unsuitable for access control.

Their report states: “Biometrics is fundamentally a technology designed for oppression and control, not for securing everyday device access. [...] Forcing you to give up your (hopefully long) passcode is much harder under most jurisdictions than just casually swiping your phone over your handcuffed hands.“

Postgresql 9.3 preview

A release candidate for the newest version of Postgres was shipped this week. For me personally, the difference with this release is not that drastic compared to those new features added on 9.0, 9.1 and 9.2 which marked a new era, not just for Postgres, but for all RDBMS, especially now in the NoSQL hype. Heck, some of the features, like LISTEN/NOTIFY publish notification on events, are still missing from most of the so-called high-performance key-value or document datastores.

What I admire most about the Postgres community is its ability to develop on different features and not just focus on what some BDFL think is an important goal. Thus, changes in the new version, as well as always, occurred on all fronts: SQL semantics, special datatypes features, view-related features, replication and administration.

JSON

The 9.2 version saw the addition of JSON datatype, perceived to give great boost to schema-less data usage of Postgres. Of course, we could[. . .]

MADlib - data analysis extension for postgresql

I was trying to build an in-database recommendation system using collaborative filtering and postgresql was appealing because its support of array types. But quickly I found myself in need of even basic linear algebra functions, and I only needed summation (both in-line and aggregate), scalar multiplication as well as dot product. I did these in pl/python just to see if my concept was working (it was!), but, as you can guess, it was quite slow.

A quick search revealed MADlib, an extension that can do a lot more than basic linear algebra. It also does descriptive and inferential statistics, linear and logistic regression, k-means clustering and a lot more.

You can check the code on github, and there is a rpm binary package for CentOS. (I work on arch linux, so I just needed to extract the package with rpmextract and then copy it to my root.) After installation, look for the bin/madpack binary for deployment to[. . .]

Moved to Arch Linux

So I finally said goodbye to (k)ubuntu. It was a long ride, and lately I didn't like the direction it was heading: pushing unity and ads are just part of the symptoms of a bigger problem of politics. Anyway, I decided on Arch Linux - a distribution that is focused more on technical simplicity rather than wide-net usability.

It actually works incredibly good, it installs only the packages you need and not a single library more. I use KDE, and I was very surprised to see how well the build integrates with the rest of the system, even better than Kubuntu! I am a big fan of apt based packaging, and I must say that the pacman + aur system is at least on par.

Combined with the power of wiki pages they have, which are in abundance and probably contain solution for every common problem one may encounter, I would say this makes a sound alternative of Linux distribution for every advanced user.

How Go came to life and why is it the way it is

Wonderful story about the Go programming language, told by one of its creators, Rob Pike. He tells us the reason why Go has less features than C++, and why he think it is more powerful; as well as the circumstances of some other design decisions.

Mysql becomes more closed

Oracle moves Mysql towards closed source software as it held back test cases in the latest release of the popular RDBMS. This means that, even though there are some bug fixes in the releas, there is no assurance for the developers as there are no test cases for the reported bugs.

This is only the latest move Oracle makes in alienating the community. OpenOffice lost its foothold after large part of its maintainers decided to fork it and create LibreOffice. As for mysql, it has already been forked to MariaDB, which is one of the recommendations for its users.

Step forward in adopting anonymous SIM cards in Europe

Germany's rising Pirate Party made a step towards anonymous SIM card activation after it filed an appeal in the European Court of Human Rights in Strasbourg, stating that anonymous communication is protected under the European Convention on Human Rights' right to private life.

One should note that this court is not a European Union institution, it is part of the Council of Europe which consists of 47 countries, thus, the legal decision of this court will not be binding to Germany, however, knowing the political climate there, one should expect that there will be repercussions on its government if it doesn't follow the courts findings.