Category Archives: free software

Am I willing to pay the price to support ethical hardware?

There are a number of pernicious trends in the tech industry that need to be opposed. Over the last decade there has been a massive shift toward planned obsolescence, ever since Apple introduced the iPhone in June 2007 and the Macbook Air in January 2008 with sealed cases, non-replaceable batteries, RAM and SSD soldered on the motherboard and a lack of expansion slots.

Apple’s designs have been widely copied by the consumer electronics industry, so that it has become much harder to fix and upgrade electronics. Most ultrabooks, Chromebooks and 2-in-1 convertibles being sold today have copied Apple’s Macbook and no longer have replaceable batteries. Even brands such as Lenovo’s Thinkpad and Dell’s Latitude which are marketed for their fixability and ease of maintenance are now offering models such as the Thinkpad T470s and Latitude E5450 without removable batteries. Continue reading


Add a custom spam filter to phpBB3

I have been the maintainer of the ProcessMaker forum since June 2009, which has generally been an enjoyable experience, but lately we have been inundated with spam. I usually don’t mind deleting the occasional spam from the forum. In fact, I find it very interesting the tricks that the spammers use to fool me into thinking they are legitimate posters. Usually they are very subtle, so it doesn’t particularly bother me if a couple posts of spam slip through undetected.

The usual trick is to post something that looks like a legitimate post the first time. The more skilled spammers use a script to analyze the previous posts on the forum and construct a new post which merges the previous content. It often comes out as gibberish, but some of these scripts can actually generate something that appears to make sense. After the first post has passed the censors, then they sneak in a link in the second or third post.
Continue reading

The growing trend toward compiled languages

When I first learned programming in the mid 90s, everyone told me to learn Java, since it would be the wave of the future. Java imposes a performance penalty compared to traditional compiled languages like C, C++, Fortran and Pascal, because its code is translated into bytecode that runs in a virtual machine. The feeling at the time was that the extra processing and memory required to run the Java virtual machine would make little difference in the long run since computers were forever getting faster and more powerful. A few more iterations of Moore’s Law would obviate the need for compiled languages, since the difference in speed would soon be imperceptible to most humans.

Java was considered the best language, because it was designed to “write once, run anywhere,” which seemed wise considering how the world was moving from minicomputers with terminals to networked personal computers (PCs). When I first arrived at university, the entire campus ran on VAX terminals, although some students brought their own PCs to use in their dorm rooms. By the time I graduated 4 years later, almost the entire campus had switched to networked PCs. I had a job staffing the college computer lab and I fondly recall the excitement on campus when PCs replaced the monochrome VAX terminals with their pea green screens. There was a raging debate at the time whether PCs should use an operating system from Microsoft or Apple. My friends in the computer lab predicted with all the confidence of sages that Java was the future since it could be used to create desktop applications that would run in Windows 95, Mac OS 7 or even Solaris. Everyone knew at the time that desktop applications running on PCs was the future of computing and we all wanted our software to be able to escape the clutches of Microsoft, who was the geek’s great Satan.
Continue reading

A preliminary review of the Rust programming language

The Mozilla Foundation has been developing an exciting new programming language named Rust, that is designed to be a low-level language capable of matching the performance of C/C++, but with the safety of Java, the concurrency of Go, and many of the modern features of high-level languages like Erlang, Haskell, and OCaml. After reading the documentation and playing with bits of the language, I find myself struggling with some of the concepts of the language. Continue reading

A dark view of technology

For the last couple weeks, I have been investigating how the design of mobile electronic devices has changed over the last decade and how those changes are harming the environment. The whole electronics industry is now copying Apple’s designs, which means that planned obsolescence has become the norm in the industry. For example,  53% of the 2016 smartphones models listed on the web site do not have replaceable batteries, so they are designed to be thrown away after approximately 2 years of use, when the batteries loose their capacity to hold a charge.
The average smartphone weighs roughly 150 grams and its fabrication emits roughly 100 kgs of carbon dioxide equivalent (CO2-e). Therefore, we can guesstimate that the fabrication of the 1.52 billion smartphones that IDC predicts will be produced in the year 2016 will emit roughly 150 megatons of CO2-e and they will become 225,000 tonnes of toxic e-waste when they are thrown away.
In order to do a better calculation, I need numbers about how the design of mobile devices has changed over time. To that end, I wrote a PHP script to download all the specs from about every laptop and tablet model produced since 2006. After spending 6 hours perfecting my script, I set it to start downloading overnight. (Internet in Bolivia is extremely slow during the day.) This morning when I checked the status of my script, I discovered that the server at had detected my little game and is now blocking all my requests, returning 403 (forbidden) status codes. I wonder if my script to download all the cell phone models from will hit the same roadblock.
I miss the good old days on the internet when nobody worried about DoS attacks and the internet was a free and open place. Today, the internet is such a paranoid place. Every server is configured to assume that you are a bad actor. Today, if a ping doesn’t work, you don’t know if it is because the server is down or because the ping service has simply been turned off to eliminate another attack vector. After my VPS was hacked several years ago, I became paranoid as well. I now turn off every port and service on my VPS running the web site which is not absolutely necessary.
The internet in general is becoming a darker place in my opinion. More and more of it is cut off in places like Facebook, where the formats are proprietary and the sites are designed to suck up our personal information to monetize it. The dream of the internet becoming an information superhighway that enlightens the world has been perverted into the nightmare of misinformation silos and a massive surveillance operation. I used to believe that converting to free and open source software would liberate humanity, but now that the whole planet is using open source Android and accessing web sites running on Linux, I see that running software with a free license means little if it is employed as means to collect and exploit our personal information and colonize our minds.

Comparing LibreOffice to MS Office and WordPerfect Office

Steven Vaughan-Nichols at ZD Net calls LibreOffice “the best desktop office suite,” which surprised me because I have always considered it a rather kludgy clone of MS Office. I have been using some variant of this office suite since SUN first open sourced it as in 2000, because it was the only decent office software in Linux. For years I used Go-OO which was a version of with some enhancements for better compatibility with Microsoft Office, because it was the version I found in Ubuntu and Debian. I followed the debates led by Novell’s Micheal Meeks over the governance of When Oracle bought SUN, Meeks led a community of developers to fork to form LibreOffice, I switched again because it was found in the repositories of my favorite Linux distros.

After 15 years of using, I still consider it to be a rather crude office suite. It works, but I certainly have never considered it “the best” as Vaughan-Nichols dubs it. When I survey the other office suites, I find OpenOffice/LibreOffice to be better than the other office suites in many areas, but worse in others. What is surprising is the fact that that when I weigh up all the pros and cons of the different suites, I come to the same conclusion as Vaughan-Nichols that LibreOffice is the best for me, but it certainly has room for improvement.
Continue reading

Is it necessary to know math to be a good programmer?

Most universities require math as a prerequisite in order to take a class in computer science. Many people never take a class on programming, because they dislike math. I have often wondered if math is truly necessary to be a good computer programmer, since many people never try programming because they are told that it is like math. Most working programmers, however, will tell you that they rarely if ever use math while on the job.

Knowing math certainly helps you understand programming better, but it isn’t necessary for the majority of programmers on a daily basis. You need it if you are doing analysis of algorithms and trying to figure out whether one search algorithm is better than another. You might need it to decide whether to use a linked list, a b-tree or a binary tree to store your data. However, very few programmers today need to do that sort of low-level programming. 99% of programmers let databases handle data storage and searching. Continue reading