Tag Archive for 'free software'

Two notes on YCodaSlider

I think that newcomers need simple notes to use YCodaSlider.

First, include the required libraries:

  • jquery-1.2.6.pack.js
  • jquery-easing-1.3.pack.js
  • ycodaslider-2.0.js

then fire it up with a short script like this one:


YCodaSlider.Base.css('style.css');

jQuery(window).bind("load", function() {
    jQuery("div.ycodaslider").ycodaslider({width : 540, sidebars : false});
    jQuery("div.ycodaslider").width(540);
});

If you enjoyed this post, make sure you subscribe to my RSS feed!

Samsung SyncMaster 245B with Kubuntu

The Samsung SyncMaster 245B is a 24” TFT monitor that works at 1900×1200. I’ve waited for the release of Hardy to try it (my test was done with a video card recognized by lspci as ATI RV516 Radeon X1300/X1550 Pro). Surprisingly, Hardy chose the correct resolution at the first attempt! How simple in comparison to an older Kubuntu!

If you enjoyed this post, make sure you subscribe to my RSS feed!

Notes about TPCI 2008-04

The TPCI April Headline is

Lua hype seems to be over (fallen out of top 20). What is next? Groovy, Erlang?

Some people here say that Erlang would be the next hype. I don’t know… but if I began to study it then it certainly would be the next hype in a rather short time. :)

If you enjoyed this post, make sure you subscribe to my RSS feed!

Notes about TPCI 2008-03

The TPCI March Headline is

Ruby after 4 months back in the top 10 again

My headline is

Viewing its graph, I noticed a frightening renaissance of (Visual) Basic. Burp. :)

If you enjoyed this post, make sure you subscribe to my RSS feed!

It doesn’t fit all jobs

Reading the referers of this website, I found that someone reached it querying a search engine for

using AWK to find zero length files

AWK is a great tool but IMHO that is not its job.

I would have used a simple
find -size 0b

If you enjoyed this post, make sure you subscribe to my RSS feed!

When a news page doesn’t offer a feed

Yesterday TrueCrypt 5.0 was released. Unfortunately, they don’t use a feed to announce their news.

An old question of mine is: how to get noticed when a webpage changes? A simple but effective answer is: to check periodically its changes with something like

curl -s http://www.truecrypt.org/news.php | sha512sum

This is not a complete script but it can give you a good hint, though.

If you enjoyed this post, make sure you subscribe to my RSS feed!

4 lessons 4 the enterprises :)

Even though

many enterprises continue to walk the wrong path in their web strategies (I won’t write the name of the programming language I ‘m talking about :D).

Why? Because they still think about the web like late-80s software!

There are four short lessons: learn them and you’ll start to understand a bit of it…

  • cheap is better than expensive;
  • distributed is better than centralized;
  • tiny is better than huge;
  • and free is better than proprietary!

If you enjoyed this post, make sure you subscribe to my RSS feed!

Inserting raw HTML code in MediaWiki

Someday this post could save you an hour: do you need to insert raw HTML code in MediaWiki (for example, an internal image that links to an external website)? Configure it to use $wgRawHtml (its page says that it is safe to use it only if your site is not publicly editable).

I can’t say this often enough: use MediaWiki if and only if you need a website that is a small clone of WikiPedia: if you need something that is just slightly different, use DokuWiki!

If you enjoyed this post, make sure you subscribe to my RSS feed!

Use patTemplate

I don’t know why but only few {third-part} Joomla! developers use patTemplate variables: this library is available in both Joomla! 1.0.x/1.5.x so I really don’t understand why it’s not widely used (I didn’t use it in my early components but I’ve definitely started using it). A simple example is available on their website. If I’m not wrong, even Joseph LeBlanc didn’t write about it in his book (which I’ve previously described).

If you enjoyed this post, make sure you subscribe to my RSS feed!

Notes about TPCI 2008-01

The TPCI January Headline is

TIOBE declares Python as programming language of 2007!

The reason is

Python appeared to have the largest increase in ratings in one year time (…) Chances are high that Python’s star will rise further in 2008, thanks to the upcoming release of Python 3.

Unfortunately I don’t have enough time to follow its development and I think I’m missing many features of such a contemporary programming language. Still, I think that PHP is underused as a CLI glue at system level.

If you enjoyed this post, make sure you subscribe to my RSS feed!