Autarchy of the Private Cave

Tiny bits of bioinformatics, [web-]programming etc

    • Archives

    • Recent comments

    Archive for the 'Notepad' Category

    Short miscellaneous notes

    Unix sex and Linux command reference

    5th January 2009

    Unix SEX :{ look; gawk; find; sed; talk; grep; touch; finger; find; flex; unzip; head; tail; mount; workbone; fsck; yes; gasp; fsck; more; yes; yes; eject; umount; makeclean; zip; split; done; exit:xargs!!;)} (source: someone’s signature in the Debian mailing lists).

    download Unix/Linux command reference by Jacob Peddicord/FOSSwire.com

    Share

    Posted in *nix, Humour, Notepad | No Comments »

    Software development schedules

    22nd November 2008

    image from joelonsoftwareJoel Spolsky has an interesting (and useful) post on evidence-based scheduling, as he calls that approach. The post discusses an approach to estimate project volume and key dates (such as milestones and release) based on prior performance of each of the project developers. As Joel argues, this approach provides several benefits, and – among others – allows releasing the software product on the date planned.

    I would recommend learning more about “evidence-based scheduling” to anybody who is somehow involved into software development.

    Also, for me personally it was useful to read the preceding article by Joel (called painless software schedules), which summarizes some basic ideas you should keep in mind while trying to develop some piece of software (mostly from the manager’s viewpoint). If you are going to read that “obsolete” article – better do so before reading evidence-based scheduling.

    Share

    Posted in Notepad, Programming, Software | No Comments »

    Which Hosting Control Panel to use for a Debian server?

    27th September 2008

    To cut the long story short: for the final evaluation, I had this line of control panels:

    SysCP: looks good to me (though demo isn’t functional), has customer billing module. Unsure as to where it is used, but most probably sponsors are also the users of SysCP. Majority of support forums are in German.

    DTC: has no demo, only some screenshots. Has a set of packages for Debian lenny (which is a huge plus for maintenance and future upgrades). DTC is being developed by GPLHost, and is also used by GPLHost – so this is a live (used) distribution. Seems quite feature-rich.

    Virtualmin claims to be the “world’s most powerful and flexible web server control panel”. Virtualmin offers 4 means to control it: Web, mobile device, command line, and remote API. There are both screenshots and demo. Has both GPL and Professional versions. GPL version has a number of limitations, comparing to Pro version. From what I’ve read about Webmin (all three – Virtualmin, Webmin, Usermin – are just different “layers” of server control), it is a framework with a number of “interface scripts”, which allow to control various services. As such, it is easily extendible, but is not monolithic – in the sense of module inter-dependencies and action triggers.

    RavenCore was a promising CP.

    GNUPanel is a year-old control panel, but has a news item on the front page (dated August, 17) promising new, completely rewritten release somewhere in October. By the feature list, looks promising. However, I need the panel right now, and even in October, that will be quite a rough release, not really used/tested anywhere, so not a good option as well. But GNUPanel is a panel to check in half a year for progress.

    As the final choice, I had ISPConfig (which seems to be the best by people’s comments), and which is also quite widely used, and is easy to install onto Debian (at least the Perfect setup: Debian Etch says so), and DTC. I discarded Virtualmin (for the poor functionality of the GPLed version), RavenCore (for the lack of current descriptions and non-functioning demo), GNUPanel (which just isn’t ready yet), and SysCP (because ISPConfig seems better ;) ).

    As DTC has Debian packages (and will be easier to maintain/upgrade), I decided to try it first. I already have it installed (that’s easy, esp. if you first read the DTC Debian Express Setup). Later I might post my impressions from using DTC.

    Update: DTC is indeed easy and pleasant to use. I had problems allowing FTP and SSH access using MySQL authorization, but at least FTP was an easy one to fix (SSH access with MySQL authorization is still unconfigured, but that’s a low priority for me). There is a minor concern about the files and directory permissions setup, but thanks to chrooted environment that is only minor concern. Use of a single Apache installation for hosting admin and serving user sites might be a sub-optimal decision, but it works. Traffic and disk space accounting are plain superb! Server memory use for the dtc-toaster installation is troublesome, but for a powerful RAM-my server that is not a problem (I now have about 800-900MiB RAM occupied, but that includes the XCache’s cache, quite big MySQL cache, and loads of Apache and PHP modules).

    But I’m still willing to try other control panels. As I expected, GNUPanel hasn’t released anything yet; Ravencore‘s online demo is still unfunctional; ISPConfig has recently released RC (and their demo is working as it should and as it used to); SysCP is also up and running fast. If my little hosting service starts pouring in some cash, then I’ll try SysCP on my second server – to compare it with DTC, and choose one of them for further support/extension/localization.

    Share

    Posted in *nix, Notepad, Software, Web | 17 Comments »

    Drupal theme development: where to start

    8th June 2008

    Simplest way to develop your custom Drupal theme is to start with some skeleton/wireframe theme.

    In this post, I’m briefly reviewing 4 themes (atck, blueprint, framework, and zen), made specifically to serve as theme developer’s starting point. All 4 are listed with their features (as per Drupal project page of each one), with my personal “impressions” (not based on actual use experience, yet). There’s also my choice and order of preference for the 4 candidates at the end.
    Read the rest of this entry »

    Share

    Posted in Drupal, Links, Notepad, Software, Web, XHTML/CSS | 8 Comments »

    Ad Unit Guidelines

    7th June 2008

    When either consulting on a new website design, or actually designing one, keep in mind Ad Unit Guidelines if the website is going to use advertising. The list is far not exhaustive, but sufficiently standard.

    Share

    Posted in Links, Notepad, Web, XHTML/CSS | No Comments »

    An alternative to shared hosting

    4th June 2008

    Personal communication resulted in a link to slicehost, who provide VDS/VPS services at prices as low as 20$/mo, which is comparable in price to good shared hosting plans, and is cheaper than Dedicated plans.

    I’m considering a move from shared hosting, and found Slicehost attractive. For 20$/mo, you get guaranteed 256MiB RAM, 10GiB disk and 100GiB traffic, which is sufficient to host several under-1k-per-day sites.

    The only thing which isn’t spoken aloud is the guaranteed CPU speed. Based on the numbers provided: 16GiB total RAM per server, quad-core CPU, and CPU quotas set equivalently to RAM quotas, I came to a conclusion that 20$-plan guarantees ~125MHz of CPU (take 16 GiB, multiply by 4 20$-plans – you get 64 “slices” – virtual servers; quad core CPUs were quoted as 8+GHz – I assume that’s the sum of the core frequencies, thus 8GHz divided by 64 slices gives as little as 125MHz guaranteed per slice).

    The better slice you buy – the more CPU is guaranteed, so for 1024-RAM slice you’d have a minimum of 500MHz of CPU.

    However, slicehost describes their CPU-clamping system as the one allowing “bursted” performance, if others aren’t actively using their CPU shares. So it must be much better than what I’m calculating here. And even if it’s not, then for some applications it’s better to have a 125MHz-clamp on CPU, than have a 20-seconds maximal CPU time limit.

    Still, I’m looking for reasonably-priced collocation services in Ukraine – e.g. those (currently unavailable) from Volia, starting at 40$/mo for the rented physical VIA C7-based server with enough traffic included.

    Update: I now have my own server collocated in Ukraine. This blog still lives on a shared hosting, but I’m considering the move to own server (where I have the biomed half-dead site and resource-hungry COTRASIF tool).

    Share

    Posted in Hardware, Links, Notepad, Web | No Comments »

    Flash video in Drupal (links)

    6th May 2008

    Some things to be aware of when enhancing Drupal site with FLV video playing/conversion features.

    Share

    Posted in CMS, Drupal, Links, Notepad, Software, Web | No Comments »