Autarchy of the Private Cave

Tiny bits of bioinformatics, [web-]programming etc

    • Archives

    • Recent comments

    Archive for the 'Web' Category

    Anything web-related. Just anything.

    GoDaddy shared hosting: too slow?

    12th March 2007

    Note: have a look at other hosting options.

    Update 7: I’m now quite satisfied with page generation times. See other updates at the end of the post and comments to find out more.
    Update 8: this blog is not at godaddy anymore for the reasons which have nothing to do with speed.

    I’m currently using GoDaddy shared hosting plan. I noticed that my blog, as it grows in popularity and visitors, displays a wide range of page-response times. The best I had seen so far was below 3 seconds of page generation time (note: _not_ page loading, but page generation). If it were the average, I would be happy. However, much more frequently observed times are in range of 20-30 seconds per page. Sometimes pages even timeout, as my uptime tracker service is reporting (For February, there were 100 minutes of unresponsive pages, for March – already over 10 hours!!!).

    For example, today around 16:00 GMT the following statistics were reported by my blog:

    22 queries.
    33.416 seconds.

    Evidently, this is unacceptably slow.
    Read the rest of this entry »

    Share

    Posted in Misc, Web | 56 Comments »

    Drupal internationalization (i18n) and localization (l10n)

    10th March 2007

    This is a collection of links related to the multiple-language content in Drupal CMS.

    i18n module
    i18n: Getting the whole thing to work : http://drupal.org/node/81094
    Patch: Translations of menu titles and descriptions: http://drupal.org/node/70919
    Translated links: http://drupal.org/node/67814
    i18n: menu not expanding with URL-Alias: http://drupal.org/node/80820

    There was an alternative module to i18n, but I cannot find it at the moment.

    Share

    Posted in CMS, Drupal, PHP, Programming, Web | No Comments »

    Geo-tracking visitors, part 3

    7th March 2007

    Just came across yet another geo-tracking visitors service. (For two more, see my previous posts on ClustrMaps.)
    Read the rest of this entry »

    Share

    Posted in Web | No Comments »

    WordPress 2.1.1 download was modified by hacker(s): upgrade to 2.1.2

    3rd March 2007

    9 hours ago WordPress team reported that the latest version of wordpress (which was 2.1.1), was modified by a third party to include code, which allows the execution of arbitrary PHP code on the remote blog hosting. Here’s the news. I created this post with the only aim to spread the word, so that everybody involved may upgrade faster, and stay on the secure path of using WordPress 2.1.2.

    Share

    Posted in Web | No Comments »

    Multiple IEs on one Windows: enabling Printing in IE6

    19th February 2007

    After IE7 came out, it got much harder for HTML/CSS coders to maintain compatibility with both IE6 and IE7.
    IE7 is pushing IE6 out, as it is a high-priority update; however, massive part of users will remain on IE6 for various reasons, not excluding the licensing issues (non-licensed/fake-licensed Windows XP will not let install IE7).

    The problem is: after installing IE7, you no longer have IE6 (which is replaced by IE7).

    However, there is a good and simple solution, enabling one to run IE3 through IE7 on one computer.
    To do so, just install the latest version of IE you want (I assume it’s IE7), and then point your browser to evolt’s archive of browsers (what an excellent collection!). You will have to “install” (just copy, really) each older IE you want into a separate directory, and create a short-cut for each. (You may want to use all-in-one installer, found here – also a great package, though I didn’t use it.)

    After I installed IE6, I also copied some additional files to its folder (like wininet.dll, version 6.00.2900.2180 or like that), to avoid problems with cookies disabled in IE6.

    However, there is a huge problem with multiple IEs: Print Preview and Print do not work at all!
    After some searching, I found two bug reports:

    • clicking on any bookmark will not load the bookmark, but will open the Print dialogue
    • trying to use the bookmark-derived Print dialogue appears not to work: produces blank page

    Read the rest of this entry »

    Share

    Posted in Programming, Software, Web, XHTML/CSS | 3 Comments »

    dotProject: first impressions

    2nd February 2007

    In my previous post on project management tools I stated that will try dotProject out. So I did, and here are my first impressions (mostly – what I dislike; the likes will come after some period of usage).
    Read the rest of this entry »

    Share

    Posted in Misc, Software, Web | 7 Comments »

    dotProject 2.0.4/2.1.2/2.1.3 on shared hosting

    22nd January 2007

    Update: the same solution seems to still apply to dotProject 2.1.2; the post instructions have been modified for dP 2.1.2.

    Update 2: fsmullin suggested a method to fix a similar error in index_table.php, the files_count_max cannot be found error when you click the FILES tab/menu item. His suggestion is now incorporated into the post.

    Update 3: this post is still relevant for dotProject 2.1.3.

    In one of my recent posts about project management software I stated the desire to extensively test dotProject 2.0.4. However, many shared hosting providers appear incompatible with dotProject: the right to CREATE TEMPORARY TABLES in MySQL is not granted, but is needed by dotProject.

    Here’s sample error (2.0.4):

    query failed(CREATE TEMPORARY TABLE tasks_sum SELECT task_project, COUNT(distinct task_id) AS total_tasks,
    SUM(task_duration * task_percent_complete * IF(task_duration_type = 24, 8.0, task_duration_type))/
    SUM(task_duration * IF(task_duration_type = 24, 8.0, task_duration_type)) AS project_percent_complete FROM `tasks` GROUP BY task_project)

    For 2.1.2, sample error would be:

    Table ‘tasks_total’ doesn’t exist

    I tried looking for solutions, and here’s what I found…
    Read the rest of this entry »

    Share

    Posted in PHP, Programming, Software, Web | 10 Comments »