Skip to content

Peter Forret

Bluehost vs Dreamhost

As you might have read in my Migrating to WordPress article, I am now the proud owner of both a Bluehost and Dreamhost account. These two shared hosting providers have similar strong offerings for a similar low price, but they’re nevertheless different. Let’s compare both:

The raw numbers

BLUEHOST.COM
Bluehost
DREAMHOST.COM
Dreamhost
PRICE
$6.95/mon (2 years prepaid) $7.95/mon (2 years prepaid)
FEATURES
  • 10 GB storage
  • 250GB/mon bandwidth
  • 20 GB storage
  • 1000GB/mon bandwidth
  • 6 domains, 20 subdomains
  • 50 MySQL, 50 Postgres DB
  • 2500 email addresses
  • PHP, Perl, Python, Ruby on Rails
  • unlimited domains
  • unlimited MySQL DBs
  • unlimited email addresses
  • PHP, Ruby on Rails
ONE-CLICK Install
CPanel/Fantastico: WordPress, pMachine, Nucleus, Drupal, Joomla, PhpNuke, Typo3, phpBB2, OS Commerce, Coppermine, Gallery, PHPList, Advanced Poll, PHProject, SohoLaunch, PhpWiki, PhpAdsNew, WebCalendar, Moodle, … Home-made: WordPress, phpBB, Advanced Poll, osCommerce, MediaWiki, Joomla, Gallery, WebCalendar

PDF podcasts: proof of concept

Videography magazine: via PDFBackground
I read a lot of info on digital cinema these last months. I find there is little syndicated content (blog feeds) to be found on the topic. Some sites have a page of press releases and/or an email newsletter, but that’s about it. That’s why I have created some custom RSS feeds with feed43. (e.g. Digital Cinematography feed for the CMP Digital Cinematography Magazine)
What I do see is that some sites publish really nice magazines in PDF (Portable Document Format – by Adobe) format (see Videography on the right). You only know about these if you go visit the site of course – very Web 1.0. So if there could be a feed that alerts me of new issues of these PDF files … And while we’re at it, why not put the PDF link as an enclosure in the RSS feed, podcast style? And just like an MP3 podcast is automatically transferred to a portable MP3 player, could a PDF podcast be automatically printed? The answer is: Yes. Let me show you how.

Storing the SQL queries in the database

I want to outline something I developed something like 5 years ago, and that I was kind of happy with at the time: a way of saving all SQL queries inside the database itself. The reason for writing this is that it would really fit in with all the RubyOnRails and other programming frameworks that are created these days. If someone feels like creating a component/plug-in for it, that would be so nice…

If you have no interest in programming and/or database management, go hug somebody and skip this article.

PRINCIPLE
In the most simple version, you have 1 extra table in your database that looks like this:

query_id   int % unique ID of the query
template   varchar(1000) % or even longer
var_list   varchar(255) % comma separated list of vars

An example:
[ 33 , "select * from users where user_id = %user_id% AND type = '%status%' " , "%user_id%,%status%" ]
Instead of constructing your SQL code in your (PHP) code by making one big string and then executing it, you call a function my_exec_query(query_id,array_params)
This function will

  • get the template text
  • walk through the comma-separated list var_list and for each variable inside, look the corresponding value up in the array array_params (or this can be a dictionary or a hashtable).
  • when all substitutions are finished, execute the SQL code and return the result as (connected/disconnected) recordset or an array.

Google moving into Interactive TV

Google is looking for a “Product Manager – Interactive TV”:

In this role, you will provide leadership on product vision and execution of projects that enable using Google’s search and advertising technologies to enhance users’ Television viewing experience.
(…)
These (trends) include but are not limited to the intersection of internet and Television technologies, video-on-demand, personal video recorders and emergence of next generation set-top-boxes with IP connectivity. You will then identify areas where use of Google’s search and advertising technology can enhance this user experience and define appropriate products to deliver these user benefits
from Google jobs

Google TV: with advertising?

Fewer people will be channel surfing, and more people will want to sit down and literally search for something to watch.
radioactiveyak via CNN Money

Size doesn’t matter

Sometimes a spam mail escapes my filters and shows up in my inbox. Last week I got a “Enlarge your …” mail with some girl’s name in the From field. I deleted it right away but subconsciously I had already read some of the content. So I went back and retrieved it from my Deleted Items just to be sure: they really talk about “enlarge a penis up to 10 cm“? (UPDATE: I read this as 10cm TOTAL length, not 10 cm EXTRA length)
Indeed:

First off: as a straight guy I have no practical knowledge of what average size a girl has to put up with these days. Nor am I about to disclose my own dimensions (I want women to like me for my personality). Nevertheless, 10cm or 4″ strikes me as rather short, certainly as an ideal to be reached by taking pills. For those who cannot estimate dimensions: that’s the height of a cheap Nokia phone (the 1100, say).

Google files patents for contextual wifi advertising

registration patent
Google has filed and published the following patent applications:

(1) Method and system to provide wireless access at a reduced rate:
Methods and system for providing wireless access at a reduced rate. In one embodiment, access to a WAP is provided to an end-user at a rate subsidized by a first entity. The first entity includes advertisements in an end-user view.
which sounds like a Google (secure) proxy that modifies passing-though HTML

(2) Method and system to provide advertisements based on wireless access points:
Methods and system to provide advertisements in a view of an end user accessing a wireless access point. The advertisements are related to the WAP based on a predetermined criterion.
aka contextual advertising for Wifi

(3) Method and system for dynamically modifying the appearance of browser screens on a client device:
In one embodiment, a connection of a client device to a wireless access point is identified. Further, the appearance of a screen presented on the client device is modified to reflect the brand associated with a provider of the wireless access point.
aka the ‘captive portal’

on cre8asiteforums.com via seroundtable.com

Moving up the feed chain

While playing with Feed43 recently (an excellent anything-to-RSS converter), I wondered: why doesn’t Feedburner do any of this stuff? It’s just a bit earlier in the RSS food chain (let’s call that the ‘feed chain’). Which of course incentivised me to put that feed chain on paper. This is the result:
RSS feed chain

Web-based web development

Writing code in your browser, it’s coming this way, I tell you! Some indications:

my own WikiRAD article (July 2005)
Playing around with PHP and wikis at the same time made me think on how web-based editing and compiling would be a good way to develop and run web applications
Feed43

Create an RSS feed out of any web page by using regular expressions with a nifty Web2.0 user interface. Lots of services are based on URLs and use RSS as input, so this can be the start of a first application. E.g. I just created an RSS feed for the Stubru playlist pages out of a Stubru Javascript file. Imagine I could now tell Feed43:

for each item in feed_that_I_just_created {
parse_the item_url
publish an rss feed for this item_url as feed_url_X
}

and then start working with that content too.

Amazon S3
web-based outsourced storage for any application, which made John Keyes and Peter Van Dijck to ask themselves: “Can you use Amazon S3 to create the new Flickr killer?”, and which made me think: but what if not only the storage, but the whole program was run by a 3rd party?
Iamalpha (via Richard McManus)
AOL’s new initiative for building microformat-based applications. It’s a bit early to grasp the extent what what they’re trying to accomplish, but I think it’s potentially more than just widgets. They don’t have a web-based IDE yet, but they do have a copy/paste code-validator. Most importantly: the applications are run by AOL!
YouOS (via Jeremy Zawodny)
YouOS: web-based IDE
a web-based OS that allows you to develop Javascript-based applications in a web-based IDE, with version control and compiling. It’s one of the products coming out of Paul Graham‘s Y-combinator startup incubator.

Barcamp Brussels: May 2006

Last year we organised a fairly successful blogger’s dinner in Brussels, and now we’re going to try something different:
next May we will have a Barcamp Brussels event.

WHAT IS A BARCAMP?

Barcamp NY
(photo by miss_rogue)

Barcamp was first organised in LA by Chris Messina and some buddies.

BarCamp is an ad-hoc un-conference born from the desire for people to share and learn in an open environment. It is an intense event with discussions, demos, and interaction from attendees.

It is not your regular conference:

  • No spectators, only participants: Attendees must give a demo, a session, or help with one. All presentions are scheduled the day they happen. Prepare in advance, but come early to get a slot on the wall.
  • No fixed agenda: talks, demos and topics are proposed by the attendees when they arrive on a central whiteboard.

Who knows a spam pigeon?

Don't try this at home
I wrote about the economics of spam earlier:

P$ = [N * (I% * S% * W% * B% * M$)] – (N * E$) – (L% * C% * R$)
where
P$ = profit, bottom-line

N = number of emails sent (can be millions!)
I% = % of addresses that are valid/correct
S% = % of addresses that are not intercepted by anti-spam software
W% = % of emails to cause the receiver to go visit the website
B% = % of site visitors that actually buy the product
M$ = margin per product sold

E$ = cost of sending 1 email

L% = risk of having legal action taken against you
C% = risk of getting convicted when you’re in court
R$ = average fine you would have to pay

What I often ask wonder about is the B%: people that actually buy the product. People actually order blue pills upon receiving emails like the one above? People believe they have been chosen to transfer millions of dollars out of some banana-republic?