Categories
Blather Software and Programming

Tabs, Tea and Typos

Tile Tabs is a Firefox extension which lets you view multiple web pages in one window – you know, like a tiling window manager or frames in a web page. I love tabs probably more than most people, but I started using split windows in Vim recently because sometimes you really want to look at two different files side by side, so why not web pages?

George Orwell on making Tea.

מדינה קרקעית

Typo in Haaretz produced the jolly headline “only a third in favour of ground nation”. Let’s move to Bespin now! I posted this on Facebook, Twitter and even Google Plus, might as well post it on the Internet.

Categories
Blather Software and Programming

Trailer for The Rabbit and the Chocolate Carrot Cake

We made this!

(Well, Guy did all the hard and creative work, I just wrote some code).

If you have young kids, give it a go. Hebrew version coming soon.

Categories
Software and Programming

PHP: Pain, Hate, Programming

An apparently recent upgrade of PHP on this server lead me to update a mediawiki and debug Tom Sella‘s venerable post directionality wordpress plugin, which was working fine on my box (PHP 5.3.3-1ubuntu9.3) but not on the server (PHP 5.3.6-8), apparently because \w in regular expressions now matches Hebrew characters. My fix was to replace this line:

$c_eng = $this->count_it($text, '/\w+/u');

with this one:

$c_eng = $this->count_it($text, '/[\p{Latin}\d\_]+/u');

Not sure if it will work everywhere, but seems to fix the problem here.

OK, so now I can start doing $WORK…

Categories
Software and Programming

Using CSS without HTML

Sweet: Using CSS without HTML | CSS-Tricks.

Categories
Blather Software and Programming

Things I learned at YAPC::EU

Things I learned at YAPC::EU (a far from complete list, others may have a better one):

  • The tower is still leaning (I was sure they’d have fixed it by now).
  • DBD::Oracle might have improved since we installed it.
  • Beer is a wonderful social lubricant.
  • … and so is superb Chocolate (as Tim Bunce and Alison Randal can attest).
  • While name-dropping is fun, many of the awesome and friendly people I met just use Perl in their day job, or fiddle with perl as a hobby, or just hang out in the community.
  • PIMC.
  • I look a bit like Todd Rundgren.