IPv6 validation (and caveats)

By crisp on Friday 12 June 2009 01:23 - Comments (17)
Categories: Internet, PHP, Tweakers.net, Views: 1680

Recently we got a request to also match IPv6 addresses as a host-part for our auto-links. Basically this seemed pretty straight-forward, but it proved that actually validating an IPv6 address is quite difficult.

Read more »

JSMin+ version 1.3

By crisp on Sunday 17 May 2009 00:57 - Comments (8)
Category: JSMin+, Views: 1761

Version 1.3 of JSMin+ is available for download. This version fixes some issues with empty bodies in if/else and loop-constructs, and it fixes precedence issues in nested ternaries (which actually is a Narcissus bug which has been reported here). Furthermore it has some minification improvements.

Read more »

JSMin+ version 1.2

By crisp on Saturday 18 April 2009 01:12 - Comments (19)
Category: JSMin+, Views: 2322

Version 1.2 of JSMin+ is available for download. This version fixes PHP crashes in some versions (notably 5.2.9) on JS files with large comments or strings and handles if-else statements in a safer way. Overall the output size has been improved.

Read more »

JSMin+ version 1.1

By crisp on Sunday 12 April 2009 01:11 - Comments (16)
Category: JSMin+, Views: 2242

Version 1.1 of JSMin+ is available for download. This version has improved performance and fixes some issues. If you use labels in your javascripts you are strongly adviced to use this version to re-minify your scripts.

Read more »

A new javascript minifier: JSMin+

By crisp on Friday 10 April 2009 01:37 - Comments (25)
Categories: JSMin+, Javascript, PHP, Tweakers.net, Views: 5365

For some time we have been looking for ways to minify the javascript and CSS files for Tweakers.net but were unable to find the right tool for this. If finding the right tool takes too much time there is only one other option: create your own tool, which is exactly what we did. Even better: we are releasing this tool to the public so you can use it too!

Read more »