Author Archive for Pedro TimóteoPage 2 of 35

Opera Mini 4.0 beta 2

OK, I admit it, I was wrong. Opera Mini is fantastic; even the first beta of 4.0 is faster and more stable than the latest (native Symbian) Opera Mobile, and has some great features not available in the latter. And I absolutely love the use of their proxy and the resulting reduced bandwidth. For the record, this is on a Nokia 6630.

Then again, Opera Mobile hasn’t been updated in a year, and it’s 8.x, while Mini (the version 4 betas) are based on 9.x. I have great hopes for Opera Mobile 9, with its Ajax support, among other new stuff.

Anyway, I installed Mini 4.0 beta 2 yesterday evening, and it “feels” even better than the first beta: quicker, a new small font (should be great for screens larger than mine), custom search engines, and it saves whether you want full screen or not; no need to enable it every time I open the browser. :)

Plus, it’s free. Go ahead, try it out.

Goodbye, Apache; hello, lighttpd!

Fed up with how Apache memory usage grows (and grows, and grows), I’ve changed all of my sites on my external server (where, for instance, this very blog is hosted) to lighttpd, a.k.a. Lighty.

I began by changing the most problematic site to Lighty (listening on port 81), and using Apache’s proxy module to redirect it there. After the results were promising, I went and changed each site at a time, dealing with the particular problems of each (I use lots of redirects, and the syntax is a bit different, and, furthermore, Lighty doesn’t support .htaccess files.

WordPress was relatively easy (just one line). MyBB would have been even easier (nothing to do), if not for the fact that I use an SEO mod which uses an .htaccess file for nicer URLs. But everything was easier than I expected.

After each site had been “moved”, it was just a matter of stopping Apache and moving Lighty to port 80.

Memory usage is way down, and so is swap file usage (basically, it’s not being used, and it was, before — a lot). Barring any future problems, I’m quite happy with this set-up, and would advise this change to anyone who’s never tried anything other than Apache on an Unix system. I’ll probably try doing the same thing on my home server, too.

Best video game title ever?

Communist Mutants from Space

Ah, the eighties. :)

For the Portuguese-speaking paranoids out there…

… go read this post of mine (including the comments).

You’ll never look at a blog that hasn’t had any new posts for a while the same way again. :)

Opera Mini? Eh…

Why is everyone so excited about Opera Mini, when this is, IMO, much more interesting? :)

Second level on Dante’s Inferno. Not bad. :)

The Dante’s Inferno Test has banished you to the Second Level of Hell!
Here is how you matched up against all the levels:

Level Score
Purgatory (Repenting Believers) Very Low
Level 1 - Limbo (Virtuous Non-Believers) Very Low
Level 2 (Lustful) Very High
Level 3 (Gluttonous) High
Level 4 (Prodigal and Avaricious) High
Level 5 (Wrathful and Gloomy) High
Level 6 - The City of Dis (Heretics) Very High
Level 7 (Violent) High
Level 8- the Malebolge (Fraudulent, Malicious, Panderers) Moderate
Level 9 - Cocytus (Treacherous) High

Take the Dante’s Divine Comedy Inferno Test

“Lustful”? Moi?
:)

Speedlinking: 20070605

  • Planeta Asterisco is now PrintScreen (or Prt.Sc). I like the new look a lot, but unfortunately I wasn’t able to convince them to make the post titles clickable. :( The Tlog is proud (well, I am; the blog isn’t sentient, at least not yet…) to be aggregated there.
  • Bill Gates denies the Wii’s existence. Loved this one: “No, that’s not it. You can’t pick up your tennis racket. And swing it.”. Uh, Bill…
  • Top 10 underrated WordPress plugins. No need to say more, really.
  • Could you pass 8th grade Science? I haven’t done the test yet, but it’s on my to-do list for today. Looks quite nice.
  • Fórum Arte de Blogar, a companion forum to my Arte de Blogar blog, in Portuguese. It’s about blogging, SEO, website marketing, and so on. Still relatively empty, but it’s up to you to change that. :)

Wii hard drive rumors, or how the news media only repeat each other

If, like me, you have a Google News alert for “wii”, yesterday and today you’ve surely been inundated with rumors about a forthcoming announcement at E3 for a hard drive for the Nintendo Wii. Its main use would be for Virtual Console games, since the Wii only has 512 MB of flash memory for them (you can move some to an SD card, but they aren’t directly playable from there).

Their justification? The fact that some time ago it was announced that Neo Geo games would be coming to the Wii, and, as they keep saying, “Neo Geo games can use up to 330 MB”.

Really?

I’m betting they’re taking that number from the Neo Geo common intro screen (you can see it using MAME, on older games), which says “MAX 330 MEGA”.

However, those are not megabytes, but megaBITS. 330 megabits = about 41 megabytes. Still bigger than all current virtual console games, but not more than half of the Wii’s flash memory.

Amazingly, I’ve seen about a dozen news sites repeating that mistake. It seems that nobody researches anything these days; “news reporting” is simply repeating what others already said, using different words so that it looks “original”.

Incidentally, the 330 megabits Neo Geo limit was passed some years ago. The biggest Neo Geo game I have on MAME (King of Fighters 2003) is about 100 megabytes (or 800 megabits).

For any Portuguese readers…

… interested in professional blogging, optimization, promotion, SEO, and stuff like that, I have just resurrected my old “blog on blogging”. It’s now called Arte de Blogar (it lost the initial “A”) and it has moved to a new location, www.artedeblogar.net.

If you’re interested, and what to know what’s coming next for that blog, or why it had been “zombified” for months, start here.

We now return to our regularly scheduled programming. :)

More additions to the PA top Technorati ranks table

The top technorati ranks table for Planet Atheism members has been improved again. :) In addition to showing the Technorati rank, number of incoming links (from Technorati as well), and Google Pagerank, the table now shows Alexa ranks as well.

You can now also click on any of the above column titles to sort the table by that particular value/rank. Incoming links and Pagerank are “the more, the merrier”, while Technorati rank and Alexa rank are “the lower, the better”, so sorting takes that into account.

A note of warning: I’ve mentioned before that you shouldn’t really take any of these ranks too seriously, and this is especially true for the Alexa ranks. Alexa is a nice idea (it’s the only one that measures traffic instead of incoming links), but it has the following problems:

  • it only counts hits if the user has installed either the Alexa toolbar (for Internet Explorer) or the SearchStatus Firefox extension (I recommend the latter, since, as everyone knows, MSIE sucks), and
  • it often lumps all subdomains for a particular domain together (i.e. doesn’t distinguish between aaa.domain.com and bbb.domain.com, even though they may be totally unrelated). It apparently has some hard coded exceptions for some (not all) blogspot.com blogs… but the values aren’t really reliable. Still, you can use it to measure the changes in traffic for one site.

Incidentally, the application I’ve coded (and have been improving) to generate this table from a list of blogs is almost ready for public release. :)

Adventures with my Technorati ranks "toy"

As I mentioned here before, a couple of days ago I coded a program to take an OPML file and generate a table in which the sites listed on that file appear ordered by Technorati ranks. It also shows the number of incoming links (again, from Technorati), and each site’s PageRank.

(By the way: no, this is not ready for release yet. But it will be. Soon.)

Initially, the data collecting part of my program started by clearing a table in a MySQL database, which would then be filled with the values it would get from Technorati and Google. However, this had two problems:

  1. Technorati allows only a limited number of accesses per day. I discovered it when I was making several tests, and, after about half a dozen or so, it stopped giving me data. The problem, then, was that it had already cleared the table… so I ended up with an empty one.
  2. From time to time, Technorati gives me “wrong” ranks / links for a blog - values much lower (but not absurd / “bogus”, just wrong) than what they should be. It’s weird, and not reproducible, and usually, by asking TR again, the correct value is then returned.

To solve the first problem, obviously, some form of keeping the data from the previous run while getting the new values was in order, so that, if Technorati told me to get stuffed, I would still have the data from the day before.

The second problem was a little more complicated, though, in a way, the solution to the first helped me crack it.

My method was this: when running the script, start by copying the original table to another (let’s call it temp1) and clearing the original table. Then get the new data to yet another table (temp2). Afterwards, regenerate the original table with data from temp1 and temp2, the following way:

  • if an entry (identified by the site’s URL) exists in only one of the tables, use it.
  • if an entry exists in both, use the common values (URL, site’s name), and for the 3 numeric values, choose the best value (from the two tables) for each. “Best” means the highest # of incoming links, the highest PageRank, and the lowest Technorati rank.

This way, if once in a while Technorati gives it a much worse value than it should (I’ve never seen it rate a blog better than the reality), it still has a more correct value to use instead.

Sounds fine, doesn’t it? But there’s a problem with this method… which I solved later, but which I’ll discuss the next post. Until then… any guesses as to what it was? :)

It’s official: I’m on the job market again. :)

As of now, I’m looking for a job in the area of Lisbon, Portugal. Sorry to any non-Portuguese readers / potential employers, but I am not ready to move abroad at this time of my life.

My ideal job, at the moment, would be a senior sysadmin / junior PHP programmer “hybrid”, but I’m open to alternatives.

As I’ve said here before: no outsourcing, no MS stuff, no helpdesk. I don’t see this as “arrogance” on my part, but simply as not wanting to waste both sides’ time.

For more details (in Portuguese), and the full CV, please visit www.pedrotimoteo.com/cv . Thank you. :)




Creative Commons Attribution-NonCommercial-NoDerivs 2.5 Portugal
Creative Commons Attribution-NonCommercial-NoDerivs 2.5 Portugal