Autarchy of the Private Cave

Tiny bits of bioinformatics, [web-]programming etc

    • Archives

    • Recent comments

    Archive for the 'Misc' Category

    Vivid, cheerful, funny FireFox theme: ColorGnome

    19th October 2007

    Get it here. If you haven’t used any other theme except for default, and if you’re Firefox user for a long time – it’s time to try something new! I suggest you try ColorGnome – it’s bright, clear, vivid, cheerful and even funny! I’m using it for several days already, on all but one of my computer workplaces – and find it good enough to write about.

    If you want something more strict/official-looking, try maxfox II or maxfox II graphite – I enjoyed these two a lot, currently maxcfox II is on the only computer which doesn’t have ColorGnome :)

    Share

    Posted in Links, Misc, Web | No Comments »

    GoDaddy: undocumented 20-second CPU time maximal execution limit? (python, ELF, etc)

    16th October 2007

    Today, setting up a relatively serious (in CPU resources needed) web-system, I ran into a weird problem of python scripts ending prematurely. After some investigation, it looked like any process which uses up more than 20 seconds of CPU time, is automatically killed. To verify this, I wrote an infinite loop in C,

    int main () {
    unsigned int i;

    for (i = 0; i < 2 ; i++ ) { i = 0; } return 0; } [/c] compiled it and executed several times on the GoDaddy shared hosting server. I did observe the program running for the maximum of 20 seconds of CPU time, not a second more. Please note, that 20 seconds of CPU time can be much more of “real” time, if the script isn’t using 100% of CPU, which often the case for shared hosting. Thus if you have in your php.ini max_execution_time set to, say, 60 seconds, your php script may actually execute as long as one minute; but I’m pretty sure that if your script has lots of CPU-intensive procedures, then as soon as it uses 20 seconds of CPU time, it will be terminated (however, this statement still needs checking – anyone?). To verify, I also created a cron job with the same file. It ran for 30 seconds CPU time. Strangely, this behaviour is not documented anywhere. This limit may also explain a number of other problems, if you have heavy web-applications: they just might be killed before they are finished, causing errors. I do understand the reason for this limitation, and am sure similar limitations exist in other shared hosting environments. The only important thing here is that this limit should have been documented and even put upfront somewhere in the hosting plans descriptions. I also wonder if the limit is the same for all godaddy shared hosting plans, or if it differs. 20 seconds when executed from PHP, and 30 seconds when executed as a cron job were observed on the Deluxe Linux Hosting plan. Extensions, additions and comments are welcome.

    Share

    Posted in *nix, Misc, Programming, Web | 22 Comments »

    Google gadget ads launched

    19th September 2007

    Google launched gadget ads.

    Share

    Posted in Affiliate programs, Links, Misc | No Comments »

    Fast food of the future?

    28th August 2007

    Watch this:

    If it’s convenient and well-designed, I wouldn’t mind visiting such a fast food once in a while. Though it’s hard to imagine having breakfast there every day: too dull, I suspect. But have to try first to be sure.

    Some more videos of delivery and disposal:
    Read the rest of this entry »

    Share

    Posted in Life, Links, Misc, Society | No Comments »

    Slackware Linux + ATI video drivers: extremely slow fgl_glxgears problem solution

    13th August 2007

    I had just installed the latest ATI video drivers for Linux onto my Slackware 11 (with kernel 2.4.33.3); I have Radeon Mobility X600 with 64MiB of non-shared memory.

    Running glxgears, I got ~2050 FPS (glxgears window focused) and ~4900 FPS (console window focused, glxgears window out of focus).

    But running fgl_glxgears yielded values as low as 1 FPS! As fgl_glxgears is much more similar to the real-world game visuals, it’s apparent that no game will be playable at e.g. 0.2 FPS.

    Also, there were numerous repetitions of a single error in the console window:

    FGLTexMgr: open of shared memory object failed (Function not implemented) __FGLTexMgrCreateObject: __FGLTexMgrSHMmalloc failed! fglX11AllocateManagedSurface: __FGLTexMgrCreateObject failed!

    I found the solution which worked perfectly for me:
    Read the rest of this entry »

    Share

    Posted in *nix, Misc, Notepad | 2 Comments »

    Back to blog

    12th August 2007

    I’ve been away from Internet for quite a long while… but now I’m back, and writing again!

    As I’m moving to Linux as my primary OS, my readers should expect more Linux-related posts in the nearest future. However, this does not mean any changes in the overall blog ideology and priorities – they will be kept as they are now.

    I’m currently completing a DNA sequence-analysis server, which will be announced later; I might post additional details on making an automated pipeline-like analysis web-servers for bioinformatics and/or data analysis; but the decision “to post or not to post” will be made based on “popular demand” (if any…).

    Share

    Posted in Misc | No Comments »

    HIV is not the cause of AIDS?

    24th June 2007

    I added a new video to my Conspiracy theory in gallery.

    I am an advocate of the official position: that is, HIV causes AIDS. In the movie description, I put my comments which dis-approve the point set and mentioned in that movie. I would strongly recommend that you stick to the official position in everything that is related to your health!

    And now, with all the warnings, you may want to see it (326 MiB):
    Read the rest of this entry »

    Share

    Posted in Misc, Science, Society | No Comments »