Author Archives: goedelescherbach

SOLVED: AttributeError: ‘_thread._local’ object has no attribute ‘_pydal_connection_140103876850296_30686’

I have been using web2py’s pyDAL with no problem for a long time. However, recently I started getting the error mentioned in the title and this stacktrace. I googled about and for some reason a certain pyDAL thread came up. And in one of the comments I saw some code which forced a reconnect. So I […]

Posted in Python | Tagged , | Leave a comment

`git clone` works on GitHub but not GitLab or BitBucket!

Posted in Hacking | Leave a comment

How to forward email from your VPS to an external email provider

I use Linode to host my domains. I had a need to have an official looking email, and found this post by Jesse Lau. However he is missing a crucial line which I found in this Linode forum post: virtual_alias_domains = So the entire correct recipe is: Install postfix apt-get update apt-get upgrade apt-get […]

Posted in Hacking | Leave a comment

Haxe for Windows download

If you’re stuck at work and is blocked “for your security”, then this download is for you my friend!.  

Posted in Uncategorized | Leave a comment

Push-style templating systems catalog

Terence Parr wrote a seminal article entitled “Enforcing Strict Model View Separation in Template Engines”. In this article he states: The mantra of every experienced web application developer is the same: thou shalt separate business logic from display. Ironically, almost all template engines allow violation of this separation principle, which is the very impetus for HTML […]

Posted in Hacking | Leave a comment

Solved: “Unpacking the package… Could not create directory.” wordpress error

I ran into this beauty with my latest attempt to install a WordPress theme: Unpacking the package… Could not create directory. After a brief “wtf?!” and nothing in the Apache error log or a quick search, I did the following from the root of my wordpress install to save the day: mkdir wp-content/upload chmod 777 […]

Posted in Hacking | Leave a comment

The necessary zend_extension line could not be found in the configuration.

Part Zero of this puzzle: You cannot simply copy 00-ioncube.ini to the directory they tell you to. You must symlink it from /etc/php5/mods-available into /etc/php5/fpm/conf.d  Part One The first part of this puzzle has been solved after many an hour of hacking, and it came from this StackOverflow thread, where an individual stated: You can output the […]

Posted in Uncategorized | Leave a comment

Learning Haxe via the Elm examples

The goal of the Elm2Haxe Project is to implement all of The Elm Language tutorial examples in Haxe OpenFL. Would anyone care to submit pull requests for Layout, Positioning, 2D Shapes and 2D Fills in the Elm Language Examples basics section.  

Posted in Hacking | Leave a comment

Generating class diagrams from Python code

I had written some of my most complicated OO Python to-date, using a mixture of SQLAlchemy and Nagare. I found 2 excellent tools for generating class diagrams: – pyreverse within the PyLint distribution is excellent – and PyNsource is amazing as well I ended up mainly using the first one, because all I had to […]

Posted in Python | Tagged | Leave a comment

A different view of Google

From this reddit thread we have this dirt on G: They stole search from RankDex, gmail was in beta for 8 years and the search still sucks balls, google maps is allright, android was acquired by them and is still in beta (not officially, but have you seen the problems they’re having?), chrome started out […]

Posted in Uncategorized | Leave a comment