Autarchy of the Private Cave

Science, Society, Programming and Hobbies

  • Exits

  • Categories

  • Archives

  • Visitors' track

    Locations of visitors to this page
  • Tags list

  • Earn and spend


  • Exits

  • Ratings

    Science Blogs - Blog Top Sites website monitoring service
  • Archive for the 'Web' Category

    Anything web-related. Just anything.

    WordPress Drupalization

    31st March 2008

    Is that only me, or WordPress is really leaning towards the Drupal ideology?

    Here’s what I mean:

    • user levels were changed to user roles - just like in Drupal
    • now, instead of categories and just recently introduced tags, the word ‘taxonomy’ is used - which is a Drupal slang
    • ‘widgets’ work just like ‘blocks’ in Drupal - even style IDs are assigned the same way, e.g. id=”widget subscribe_to_comments_widget”
    • (add here the similarity you found yourself)

    I wonder, what will be next. PHPTemplate support, as default theming engine? :)
    Or no-backwards-compatibility policy?
    Or, best for WP users, advanced Drupal-like caching and throttling techniques?

    Share This

    Posted in CMS, Drupal, Software, Web | 2 Comments »

    WordPress Drupalization

    31st March 2008

    Is that only me, or WordPress is really leaning towards the Drupal ideology?

    Here’s what I mean:

    • user levels were changed to user roles - just like in Drupal
    • now, instead of categories and just recently introduced tags, the word ‘taxonomy’ is used - which is a Drupal slang
    • ‘widgets’ work just like ‘blocks’ in Drupal - even style IDs are assigned the same way, e.g. id=”widget subscribe_to_comments_widget”
    • (add here the similarity you found yourself)

    I wonder, what will be next. PHPTemplate support, as default theming engine? :)
    Or no-backwards-compatibility policy?
    Or, best for WP users, advanced Drupal-like caching and throttling techniques?

    Share This

    Posted in CMS, Drupal, Software, Web | 2 Comments »

    WordPress Drupalization

    31st March 2008

    Is that only me, or WordPress is really leaning towards the Drupal ideology?

    Here’s what I mean:

    • user levels were changed to user roles - just like in Drupal
    • now, instead of categories and just recently introduced tags, the word ‘taxonomy’ is used - which is a Drupal slang
    • ‘widgets’ work just like ‘blocks’ in Drupal - even style IDs are assigned the same way, e.g. id=”widget subscribe_to_comments_widget”
    • (add here the similarity you found yourself)

    I wonder, what will be next. PHPTemplate support, as default theming engine? :)
    Or no-backwards-compatibility policy?
    Or, best for WP users, advanced Drupal-like caching and throttling techniques?

    Share This

    Posted in CMS, Drupal, Software, Web | 2 Comments »

    Developing with Drupal: screencasts

    26th March 2008

    drupaldojo.com - at the moment of writing, has 42 video-lessons (screencasts) of developing with Drupal.

    Share This

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

    Developing with Drupal: screencasts

    26th March 2008

    drupaldojo.com - at the moment of writing, has 42 video-lessons (screencasts) of developing with Drupal.

    Share This

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

    Developing with Drupal: screencasts

    26th March 2008

    drupaldojo.com - at the moment of writing, has 42 video-lessons (screencasts) of developing with Drupal.

    Share This

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

    Good techie intro for would-be Drupal developers

    26th March 2008

    Drupal technical introduction
    It’s quite old, but as it describes core functionality, it should be still actual.

    Please comment if you know of any other good high-quality technical Drupal introductions/descriptions.

    Share This

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

    Good techie intro for would-be Drupal developers

    26th March 2008

    Drupal technical introduction
    It’s quite old, but as it describes core functionality, it should be still actual.

    Please comment if you know of any other good high-quality technical Drupal introductions/descriptions.

    Share This

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

    Good techie intro for would-be Drupal developers

    26th March 2008

    Drupal technical introduction
    It’s quite old, but as it describes core functionality, it should be still actual.

    Please comment if you know of any other good high-quality technical Drupal introductions/descriptions.

    Share This

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

    2008 Webware 100 Awards: voting is still open

    26th March 2008

    I voted in the 2008 Webware 100 Awards

    Have you voted already?

    Share This

    Posted in Web | No Comments »

    Instructions on installing libmp3lame-enabled ffmpeg on shared linux hosting

    12th March 2008

    Note: this post is based on the comment by Simon, who generously shared his experience.

    Step-by-step:

    • Download the compiled ffmpeg with libmp3lame support (direct download links: older version ffmpeg.with.lame and newer version ffmpeg.2007-10-28.with-libmp3lame-support).
    • Rename the downloaded executable file to "ffmpeg" (no extension), upload it to the directory on your server (in this example /home/myusername/).
    • Download libmp3lame.so.0.
    • Upload libmp3lame.so.0 to the same directory where you placed ffmpeg in.
    • Create a php file with the following code (remember to change the paths to your own, where you actually uploaded binaries in previous steps):
      PHP:
      1. <?php
      2. exec("export LD_LIBRARY_PATH=/home/myusername/");
      3. echo passthru("/home/myusername/ffmpeg -formats");
      4. ?>

    • If you access that PHP file with your browser, you should be able to see a list of formats which are supported by ffmpeg, and if you find "EA libmp3lame" somewhere in the output, then it means you now can Encode Audio in libmp3lame!
    • If that doesn't work for you: LD_LIBRARY_PATH can be a protected variable in PHP (you can check for this by searching for the "safe_mode_protected_env_vars" value in phpinfo() output). The workaround here can be to write your commands to a file from php, then chmod that file with 0775 permissions (rwx-rx-rx), and run the file through exec(). In this way, PHP is not changing the LD_LIBRARY_PATH, but telling the server to run a file, which tells the server to change it. This method worked for the original author of these instructions.

    For passing arguments to the PHP wrapper script - check out PHP's $argv variable (more on this here). If you decided to use shell-script as a wrapper for "export LD_LIBRARY_PATH", then using $1, $2 etc will allow you to pass parameters to the shell script, e.g. in the example below

    CODE:
    1. export LD_LIBRARY_PATH=/home/myusername/
    2. /home/myusername/ffmpeg -i /home/myusername/$1 $2 /home/myusername/$3

    you could pass "input file" as first argument, "parameters" as second and "output file" as third to make such a wrapper script work.

    Share This

    Posted in *nix, PHP, Programming, Software, Web | 9 Comments »

    How to improve MySQL application performance

    6th March 2008

    Juicy presentation, even for seasoned MySQL developers.

    You can also download the PDF of this presentation: Read the rest of this entry »

    Share This

    Posted in Links, Programming, Web | No Comments »

    Google AdSense PIN: Big Brother, Phase 2?

    28th February 2008

    A lot was said about Google becoming the Big Brother of the internet. A lot was said about the quantity of personal information, available to Google via it's numerous services. It was even discussed (elsewhere), that the history of someone's Google searches might be used (or even is already used) to identify candidate's fitness for the position in question (e.g., if you were once searching for child porn, then it automatically marks your "Google search profile" as illegal; the same goes for the searches like how to make a nuclear bomb, idiot's guide to making biological weapons, terrorism how-to for dummies, how to join Al-Qaeda, and even smuggling a gun in and out the aircraft :) ).

    What I'm taking you to: Google sends out PIN codes to AdSense account holders, to verify that the postal address is correct. As you already understood, this binds your postal address to your Google account (with all it's services), and if police decides to check your search history, and finds some nasty query, they will already know where to go and get you.

    So, if you are one of those how-to: nuclear bomb searchers, and you accumulate money for that bomb using AdSense - then either use "on demand" postal address (which is slightly more secure - but you'll have to hire bodyguard services, when checking mail), or move regularly :)

    Or, ask everyone you know to search for the linked phrases from the post above :) . In this case, the "noise" may just well overcome the "signal", to render "Google search profile" verification practically useless.

    Also, you can just use filtering alternatives like scroogle.

    Share This

    Posted in Society, Web | No Comments »

    Comment referrers WordPress plugin

    27th February 2008

    Get it here.

    It adds Referrer of the person who's leaving comment on your WP blog. May help to take the right action for seemingly legit, but really spam comments (e.g. if someone was just searching for blogs with enabled commenting to leave a comment with name linked to their biz-website).

    Share This

    Posted in Software, Web, WordPress PlugIns | No Comments »

    Comment referrers WordPress plugin

    27th February 2008

    Get it here.

    It adds Referrer of the person who's leaving comment on your WP blog. May help to take the right action for seemingly legit, but really spam comments (e.g. if someone was just searching for blogs with enabled commenting to leave a comment with name linked to their biz-website).

    Share This

    Posted in Software, Web, WordPress PlugIns | No Comments »

    Gallery2 with URL Rewrite and DHTML Album Select and Statistics module produces two forward slashes instead of the album select

    25th February 2008

    Problem report at menalto forum. Another one, also with no solution.

    I can confirm - URL rewrite + DHTML Album Select produces two forward slashes in the Matrix theme, in my gallery 2.2.4 setup, after a single use of the Recalculate button in Disk statistics tab in Statistics plugin from Community repository.
    Read the rest of this entry »

    Share This

    Posted in Software, Web | No Comments »

    ExpressionEngine: template-driven CMS for the unusual designs

    24th February 2008

    ExpressionEngine (EE) by EllisLab (see dislaimer). EE is available both as free and as paid-for: free has somewhat limited functionality, but enough to start the simple news site or blog. ExpressionEngine is suitable both for content-centric and news-centric (blog-like) projects, though in my opinion it's more geared towards news/blog-like sites.
    Read the rest of this entry »

    Share This

    Posted in CMS, Software, Web | No Comments »

    ExpressionEngine: template-driven CMS for the unusual designs

    24th February 2008

    ExpressionEngine (EE) by EllisLab (see dislaimer). EE is available both as free and as paid-for: free has somewhat limited functionality, but enough to start the simple news site or blog. ExpressionEngine is suitable both for content-centric and news-centric (blog-like) projects, though in my opinion it's more geared towards news/blog-like sites.
    Read the rest of this entry »

    Share This

    Posted in CMS, Software, Web | No Comments »

    SQL injection: RIAA example

    16th February 2008

    I know it's kind of old now, but check this image out:

    RIAA screenshot with some SQL injection code

    Via webplanet.ru - reddit.com.

    Share This

    Posted in Links, Notepad, Programming, Society, Web | No Comments »

    Eco-hosting (green hosting)

    14th February 2008

    Today I learned that eco-hosting (or green hosting) exists not only as a words combination. On one of the "hostings rating" websites there was even a category titled "green hosting".

    In short: green hosting operates on the principles of minimal ecology harm. E.g., solar energy is used (mostly in the form of photovoltaic panels - PVs), and a bunch of other "green" technologies.

    I expected green hosting to be more expensive than common shared hosting... so I took a look at aiso.net's hosting plans. Well, at least it doesn't look 1000%-oversold, as many shared hostings look. For 10$/mo, you get 500MiB web storage, 500MiB email space (who needs it anyway?), and 5GiB traffic/mo. Everything else seems as usual - PHP, MySQL, Perl etc (I was looking at Linux hosting). Not much, but if you can use those 5GiB of traffic in one day - that is, if there are no other stronger limitations such as low CPU - then it's still good. And - this is the most "basic" plan, I took it only because it's also the closest to what is widely known in the shared hosting market as "common price". This isn't the only green hosting provider out there, I just satisfied my interest and didn't look for more.

    AISO - see for yourself.

    Share This

    Posted in Links, Web | No Comments »

     
    Close
    E-mail It