Monday, May 14th, 2012
Glitches are fun, glitches are cool. I never told anyone this, but it is my opinion that one of the marks of a truly fine piece of software are when the bugs and glitches are not annoying but fun.
I loved exploiting the bugs in GTA Vice City a few years back. And the glitches in the early Pokemon games are the things of legends.
Truly a mark of software sophistication. So imagine my delight, when during development of my site, the following glitch was created.
As time goes on and my site is developed, I expect a higher and higher class of bugs.
Wednesday, April 11th, 2012
A friend asked me yesterday if he would be able to embed videos in his Posts. I’d already decided that I’d make it possible, so today I set about implementing it.
Turns out that embedding a youtube video is pretty easy, and just a little Regex, or URL parsing (thanks to Stack Overflow) was necessary.
Some people, when confronted with a problem, think
“I know, I’ll use regular expressions.” Now they have two problems.
I tried to make Sound Cloud songs embed automatically as well, but the way they process URLs is currently preventing that. Maybe I’ll send ’em an email – their service is pretty good so I assume that they are on the ball.
So now you can just Post a Youtube.com URL (like “http://www.youtube.com/watch?v=QH2-TGUlwu4”) and the video will be posted for you. ᵔᵜᵔ
Pretty neat, eh?
We think it’s Nyantastic!