If you are generating links to your blog articles via some other mechanism than Wordpress itself you usually have to use the guid database field. This is the unique global indentifier of the post. In reality it is not globally unique but only unique to your blog. Read more…
Databases, MySQL, Technical, apache, wordpress database, guid, MySQL, wordpress
If, like me, you just started playing around with haXe and you might get the following error when including an external Flash resource:
Uncaught exception – load.c(232) : Failed to load library : std.ndll (std.ndll: cannot open shared object file: No such file or directory)
The solution is simple, you just need to install neko and neko-dev:
sudo apt-get install neko neko-dev
Now simply run the setup:
sudo haxelib setup
Happy haXe-ing!
Linux, Technical, haXe code, flash, haXe
“If you have something that you don’t want anyone to know, maybe you shouldn’t be doing it in the first place.”
- Google CEO Eric Schmidt
“…doing a privacy change for 350 million users is not the kind of thing that a lot of companies would do. But we viewed that as a really important thing, to always keep a beginner’s mind and what would we do if we were starting the company now and we decided that these would be the social norms now and we just went for it.”
- Facebook CEO Mark Zuckerberg
“There was of course no way of knowing whether you were being watched at any given moment… It was even conceivable that they watched everybody all the time.
But at any rate they could plug into your wire whenever they wanted to. You had to live – did live, from habit that became instinct – in the assumption that every sound you made was overheard, and except in darkness, every movement scrutinized.”
- George Orwell, 1984
Rants, Technical, The Future, privacy 1984, facebook, Google, Orwell, privacy, quotes
As someone who is no friend to Facebook, I was quite interested to hear that Google will be stepping into the social networking world with their newest product: Google Buzz. The introductory video looked good enough showing a slick, simple interface, easy message, photo and video posting and an good time to be had by all. Perhaps, I thought, this means Facebook’s hegemony over the social networking sphere was coming to a close. Anything is better than Facebook’s blatant disregard for privacy right? Wrong. Read more…
Google, Rants, Technical, The Future, privacy buzz, do no evil, facebook, Google, google buzz, privacy
Search engines, like Google, will index URLs on your site in a case-sensitive fashion, so www.yoursite.com/iamtest shows up as a different page than www.yoursite.com/iAmTest. This has negative consequences for your search rankings as these different URLs will be interpreted as duplicate content. Read more…
Linux, Technical, apache, server, web apache, htaccess, mod_rewrite, seo, server, web
I don’t often complain about the state of some OSS projects understanding that it is all part of the growth process. However, every once in a while a new version of our favorite product ends up being worse than the outgoing. My personal experience with Ubuntu 8.10 Intrepid Ibex is one such occurence. I upgraded my 8.04 install to 8.10 as soon as it came out. Whereas 8.04 was rock solid and functional (it is a LTS release after all) 8.10 is proving anything but. For the record, the aforementioned copy of Ubuntu is running on a T61 Thinkpad with NVidia graphics and Intel Wireless (pretty standard hardware).
Update: I recently updated the T61 to Ubuntu 9.04 and all of the problems mentioned below have disappeared. So, thumbs-up to canonical and all the OSS contributors involved in this (and any) distribution.
Update: Ubuntu 9.10 runs even better than 9.04 including a boot speedup from 1:35 down to 45 seconds!
Read more…
Linux 8.10, intrepid ibex, Linux, Ubuntu
I recently needed to install PHP 5.2 on CentOS 5.3. This version of CentOS comes with PHP 5.1 but, in order to run phpMyAdmin, I needed 5.2. The CentOS software repositories are, unfortunately, still stuck with 5.1 and the only way to get a newer version of PHP installed via the package manager (yum) is to add another repository that has a newer version. Read more…
Linux, Technical apache, centos, centos 5, Linux, memcache, pecl, php, php 5.2, yum
I have been encountering a strange error that causes MySQL replication to stop working without any errors reported via SHOW SLAVE STATUS. The command reports everything running ok and that the slave is caught up with the master (seconds behind master=0).
However, looking into the running processes via SHOW FULL PROCESSLIST I noticed that the thread reading the binary log data from the master has disappeared mysteriously.
Read more…
Databases, MySQL, Technical database, MySQL, replication
Blog comment spam is an unfortunate reality of having a blog. See the chart to get a sense of how much spam comes in on a daily basis to one of my blogs that receives a moderate amount of traffic. The red line shows the 30-day moving average for the number of spam comments daily.
Read more…
Linux, Technical perl, script, spam, wordpress
Is your code fast and efficient? Is your nasty for-loop killing penguins somewhere and You don’t even know about it? We all hacked and brute-forced through a problem at one time or another – it is inevitable. How much CO2 will your hack release into the atmosphere? Writing power-inefficient code is like driving a fuel-inefficient car – we’ve all done it but it’s just not cool anymore. With green finally becoming the buzz-word everywhere, it is time to take a look at a few numbers surrounding the environmental cost of bad code.
Read more…
Technical, The Future environment, programming