Blog Index for August 2014

How to make a super bright LED light panel (for video work etc)

(Wed Aug 27 2014 00:00:00 GMT+0300 (Eastern European Summer Time)) Here's how to make a super-bright LED light panel. It's equivalent to a 1000w incandescent light bulb, and it's super useful for video work as it has a daylight colour temperature and doesn't use PWM for dimming. There are 900 individual LEDs in this panel, which is why it's so bright.

You can joyfully parse and manipulate URL's in browser-based JavaScript

(Wed Aug 20 2014 00:00:00 GMT+0300 (Eastern European Summer Time)) URL's are not strings, but are a data structure that's represented as a string. How do you easily and reliably manipulate a URL string programmatically? Do you use regular expressions or other kinds of string manipulations? Given all the ways to encode data in a URL, how do you ensure it remains syntactically correct while doing string manipulation? Manipulating URL's with regular expressions is rather difficult because of the format and nature of a URL. It's better to manipulate a URL as if it's a data structure, to let software easily change URL fields while ensuring the URL is syntactically correct.