@ ohloh.net

By the way, I registered an account at ohloh.net project. You can see all opensource-projects I was involved . . . → Read More: @ ohloh.net

Unicode vs. Programming Languages

I really-really want to see a programming language, which allows using proper unicode symbols for operators.

I mean:

× instead of *
→ instead of ->
← instead if <-
≠ instrad of !=
≤ and ≥ instead of <= and >=

This list can be continued more and more…

I perfectly understand the roots of current situation and I don’t ask to use . . . → Read More: Unicode vs. Programming Languages

Syck for PHP, 0.9.1 (aka “beta2″)

I posted an update to PECL package of Syck.

Changelog:

fixed handling of invalid merge-references [reported by Sascha Kettler]
fixed tsrm-incompatibility introduced in 0.9
added support for timestamps in syck_load (thanks to Derick for a hint)
added support for DateTime in syck_dump
fixed dumping of associative-arrays

Update is highly recommended . . . → Read More: Syck for PHP, 0.9.1 (aka “beta2″)

OSNews: Apple Developing a New LLVM C Front-End

Somehow, I missed this news earlier, but, I guess, it is very important. Because it means, that:

MacOS would be able to use non-gcc by default (there are some comments, here, describing why it is a good thing)
MacOS would become . . . → Read More: OSNews: Apple Developing a New LLVM C Front-End

DateTime vs numeric timezone

Is it possible to create DateTime object if I have some date string, and a numeric timezone value?

Something like:

$timestamp = ’2007-07-07 07:07:07′;
$timezone = ‘+0300′;

$obj = new DateTime($timestamp, new DateTimeZone(????));

I need this, to add proper support for YAML-timestamps in my syck extension.

In YAML, timestamps have several representations:

canonical: 2001-12-15T02:59:43.1Z
valid iso8601: . . . → Read More: DateTime vs numeric timezone

Syck for PHP goes Beta (in PECL)

Here it is: new and shiny PECL package of Syck

This is an extension for reading and writing YAML-files.

YAMLâ„¢ (rhymes with “camel”) is a straightforward machine parsable data serialization format designed for human readability and interaction with scripting languages. YAML is optimized for data serialization, configuration settings, log files, Internet messaging and filtering.

YAML is extensively used by . . . → Read More: Syck for PHP goes Beta (in PECL)

Go PHP5!

5 July 2007 — A consortium of PHP developers has announced today that several leading Open Source PHP projects will be dropping support for older versions of PHP in upcoming releases of their software as of February 5, 2008 as part of a joint effort to move the PHP developer community fully onto PHP version 5.

The . . . → Read More: Go PHP5!

YAML: Syck for PHP is not read-only anymore

One more good news for you, YAML-users.
I’ve implemented emitter functionality in php-binding of syck library. It is quite straight-forward, no fancy stuff for now, but it should work

Supported datatypes:

associative arrays
indexed arrays
strings
integers
floats
booleans
null

Objects are simply ignored now, though I am planning to add support for them later. See TODO for details.

Example, to give you idea:

$data . . . → Read More: YAML: Syck for PHP is not read-only anymore

lighttpd 1.4.15

Better late than never. I’ve released updated lighttpd packages for MacOS-X’s Fink. It is Lighttpd 1.4.15 this time. Also, I added memcached support to mod_cml and mod_trigger_b4_dl.

As usual, if you have any good or bad feedback — let me know . . . → Read More: lighttpd 1.4.15