scribu.net
- Website
- scribu.net · all feeds from this site
- Feed URL
https://scribu.net/feed.xml
Read it in your FeedListing reader
Or add to: Feedly Inoreader Raw feed
Latest posts
-
Asynchronous HTTP Requests in Python 3.5+
So you’ve heard that Python now supports that fancy async/await syntax. You want to play with it, but asyncio seems intimidating. Well, someone wrote a simpler alternative to asyncio. It’s called Curio and people are saying good things about it. 1 In this tutorial, I’m going to…
-
3D maps using D3 and three.js
Last weekend I participated in the Open Data Day Hackathon in Cluj-Napoca. I was glad to see that there were other people nearby interested in open data. My idea was to make a 3D map of Romania, with each county elevated according to its population. It was really satisfying to...
-
Properly forwarding email to Gmail
So I have a custom email address, mail@example.com, which I want to forward to example@gmail.com. Since I use NameCheap as my registrar, I had the option of setting up email forwarding via their UI. Very easy, but with drawbacks: sometimes email just wouldn’t arrive and I had no…
-
Left WordPress
It seems like most people that follow me on Twitter still think that I’m involved with WordPress. I haven’t done any WordPress-related work in over 6 months and I don’t intend to do any WordPress-related work in the future. I stopped using WordPress at the end of 2012. I…
-
High Tech's Folly
I am afflicted with this disease: In large measure the high casualty rate of knowledge-based industry is the fault of the knowledge-based, and especially the high-tech, entrepreneurs themselves. They tend to be contemptuous of anything that is not “advanced knowledge”, and…
-
Travis CI Build Statistics
I don’t know about you, but I think Travis CI is the best thing that happened to open-source development since Github. I noticed that my builds seemed to be getting slower lately. Looking at the build history in the regular Travis CI interface wasn’t very conclusive, because you…
-
Cross-browser AJAX uploads with Ember.js and mOxie
Implementing single-page web applications that work on all browsers remains a challenge. For the basic task of uploading files, you still need some sort of polyfill or library that adds support for older browsers (read IE 8 and 9, which are still in wide use). In this tutorial…
-
New Maintainer for Plugin Dependencies: X-Team
I handed off development of the Plugin Dependencies plugin to X-Team. They have released all sorts of interesting tools; check them out. The official Github repository is now https://github.com/x-team/wp-plugin-dependencies.
-
Quote From "The Little Prince"
“Where are the people?” the little prince asked, politely. The flower had once seen a caravan passing. “People?” she echoed. “I think there are six or seven of them in existence. I saw them, several years ago. But one never knows where to find them. The wind blows them away....
-
Creating test doubles in pure PHP
The PHP world is not known for good unit test coverage. It’s mostly a cultural issue, but there is a technical aspect to it as well. PHPUnit allows you to create mock objects, but that assumes your codebase uses the Depedency Injection pattern. If not, it’s very hard to add...
-
The Martin Luther Of Science
Science (from Latin scientia, meaning “knowledge”) is a systematic enterprise that builds and organizes knowledge in the form of testable explanations and predictions about the universe. Most people, whether religious or not, agree that the scientific method, as described above,…
-
Pronouncing English Vowels, For Romanians
It’s a well known fact that, in English, the way a word is spelled can have little or no relationship to the way it’s pronounced. As a native speaker of Romanian, which is a phonetic language, I find the pronunciation of single vowels particularly confusing. To illustrate,…
-
Math is not important. It's fun!
A Mathematician’s Lament is this poignant essay 1 from a few years ago that I just discovered. I highly recommend you go read it now, because I’m going to give spoilers. In the introduction, the author makes the case that mathematics is a misunderstood art form, where the medium…
-
Getting the class name from an object instance
I was recently assigned to work on a node.js project — a first, for me. I discovered that it comes with a neat CLI debugger built in, which is very handy when diving into an unknown codebase. However, when inspecting a variable, it doesn’t show me its type; only its...
-
Colin Powell on Loyalty
When we are debating an issue, loyalty means giving me your honest opinion, whether you think I’ll like it or not. Disagreement, at this stage, stimulates me. But once a decision has been made, the debate ends. From that point on, loyalty means executing the decision as if it…
-
Posts 2 Posts: Version 1.6
There were some improvements commited to the development version of the plugin for a while and I thought I’d do a quick release, to get them in the hands of users. With version 1.6, P2P development will effectively be entering hibernation mode. I won’t be working on any new…
-
Ruby equivalents to PHP’s foreach
In PHP, array keys can be either numbers or strings, whereas in Ruby associative arrays are a separate data type, called a hash. Here’s a cheatsheet for various foreach variants, translated into idiomatic Ruby: Looping over a numeric array (PHP) <?php $items = array( 'orange',…
-
On Being An Open-Source Pragmatist
To pragmatists the GPL is important as a tool, rather than as an end in itself. Its main value is not as a weapon against `hoarding’, but as a tool for encouraging software sharing and the growth of bazaar-mode development communities. The pragmatist values having good tools and…
-
On Plugin Support
When I started developing WordPress plugins, most people asking questions in the support forums seemed like hobbyists building sites for themselves. Since then, I’ve noticed two trends that irk me. Freelancers Nowadays, there seem to be a lot more people that get paid to build…
-
Yay Data Portability
In the following post, I will attempt to chronicle how I came to believe that having your content in a portable format is more valuable than having an open source project to manipulate that content. I accidentally jump-started my programming career by working on an open-source…