| 2009-08-26 New anti-spam system: Akismet |
|
I've done some little tweaks to my blog, and now it's using the Akismet anti-spam service. Seems to work good so far. Of course I can switch back to my system at any time. I also prepared it to handle comments to any page, not only news. So you'll be able to comment on my pictures, my software, or even other comments (effectively creating threads). But there aren't the buttons yet, so don't look for them :-) Add a comment |
| 2009-06-15 MacBook and RAM |
|
I just tried to put 3 GB of RAM in my first generation MacBook (a Core Duo model). Officially it supports only up to 2 GB, but some people reported that their Core Duo MacBook accepted 3. Mine didn't. It actually refused to boot. Reading back those reports, I think that people is just unable to read their "About this Mac" window, specifically the line saying "Core 2 Duo" (the ones with this CPU are known to accept 3 or 4 GB). I can also confirm that having two 1 GB modules is better than having one 2 GB module. So I'm stuck with 2 GB. That's more than enough for Leopard, but it starts to get uncomfortable running Leopard, XP, and Haiku all at the same time... Add a comment |
| 2009-06-11 World of Warcraft on Atom? Don't make me laugh |
It's some time now I wanted my own personal server. I wanted something small and
silent, but I couldn't find anything on the market with the features I needed,
at a price I liked. So I just bought an Intel D945GCLF2 motherboard with a dual
core Atom 330 1.6 GHz, a suitable cabinet and built the machine myself. However,
during the assembling, I couldn't resist the temptation to push the Atom to its
limits by trying to play my favorite game, World of Warcraft.
Read more...
Add a comment |
| 2009-05-21 How to order IP addresses in MySQL |
|
For my blog's admin interface, I needed to order the thousands of spamming IP addresses. The first solution that comes to mind is something like this: SELECT * FROM spam_ip_table ORDER BY ipBut this does not work, because it will handle the IP address like a string; the address 100.1.1.1 will come before 20.1.1.1, and that's not what we want. How do we sort correctly IP addresses, then? Searching for a solution in Google brings a lot of results - and most of them are some kind of homebrew multiple queries, sometimes including external code, other views, hex codes, or other absurdly complex solutions. For some reason, the simplest solution never come out in the first page of search. What's this simple solution? The simple solution is, MySQL already comes with the solution: SELECT * FROM spam_ip_table ORDER BY INET_ATON(ip)INET_ATON is a function that turns the IP Address into a 32 bit Number, so they will sort correctly. Easy :-) Add a comment |
| 2009-05-12 A visit to the LEGO Factory |
|
I'm a bit late with this news (and I lost the text I written for it), but last September I attended the LEGO® Fan Weekend in Skærbæk, Denmark (pictures here). Of course, a visit to the original Legoland park in Billund was obligatory, and, as a plus, we got the chanche to visit the LEGO Museum (pictures) and the Factory (the real one!). When I was a child I was a big LEGO addict, so I felt like Charlie visiting the Willy Wonka Chocolate Factory. Unfortunately we weren't allowed to take pictures there, but I found this video on YouTube that shows how the bricks are made. It was shot in the late '80s, but today the factory isn't changed that much: just imagine less people but more computers and robots. There are more pictures and videos around, just let me dig through my bookmarks... Add a comment |
| 2009-05-11 For serious Star Trek addicts only |
|
I can only admire this man: Ultimate Star Trek Bachelor Pad I am not a fan of Star Trek - ok, I don't like it at all - but I am the kind who can do something like this to his house. Add a comment |
| 2009-03-30 High Finder CPU usage? Check files on the desktop |
|
This was funny. For some days, my MacBook had very high CPU usage (around 80%); it was the Finder, but after several tries I couldn't find what was causing it. I didn't change anything recently. A suggestion I found on Google pointed me to the "Show item info" in Desktop view options: a very old bug in Finder may cause it to loop indefinitely if some of the files on the desktop are corrupted. It turned out that the culprit was the MP3 of Wrath of the Lick King main title theme, which I extracted myself from the game data files. File moved, problem disappeared. Can you believe it? Add a comment |
| 2008-05-30 More on the 64 bit question |
|
There's lot of buzz about if Haiku should jump on the 64 bit train or not. In this article I'm going to explain the pros and the cons.
Read more...
4 comments |
| 2008-05-29 Blog engine update |
|
I updated my blog's engine to new version 1.7, which has been in the works for some time. The biggest change is related to how banned IPs are handled, but there are some minor tweaks all around. It now accepts e-mail addresses that were refused (did you know there are domains such as llanfairpwllgwyngyllgogerychwyrndrobwllllantysiliogogogoch.com? It's the name of a real city!), and it is IPv6 ready (not tested thoug). It is also more compatible with less common PHP setups. Looking at the spam statistic, it's obvious how most of the spam is sent by bots running on infected machines, because they are all from the same IP address. If you have spam problems in your site, try banning the addresses: 70% of all my spam was sent by two addresses, that sent more than 1000 spams each in less than one year. My system bans an IP after it sends 5 spams, and keeps it banned for one week if no more spam attempts are made. It's incredible how effective this simple system is. Add a comment |
| 2008-03-19 Haiku and the 4 GB memory barrier |
Some weeks ago I changed my computer's motherboard (see here) with an ASRock 4Core Dual-SATA2, which can use both AGP and PCI-E video cards and both DDR and DDR2 RAM; however I grew tired of some of this board issues (I already had to get another video card, because my Radeon AGP didn't work), so I am going to replace it again. But I'm still using my old DDR memory, so I have to replace it too before I can get a new motherboard; and with the prices so low, I'm just going for the big numbers. So I got this kit from Corsair, TWIN2X4096-6400C5 G: it contains two 2 GB DDR2 modules, operating at 800 MHz (PC6400 standard). The ASRock accepted the modules, but the boot screen showed only 3328 MB; Windows XP also recognized the same quantity. Then I tried Haiku, to see how it would handle this: I was happy to see it booted perfectly (BeOS R5 crashes if you have 1 GB or more), but, as the other operating system, it shown only 3328 MB. You may know that 32 bit operating systems are expected to support up to 4 GB, so where are the last megabytes gone?
Read more...
6 comments |
| Page 2 of 10. Go to first next last. |


