By Ryan on June 25, 2010
I’ve been doing some hefty MooTools development lately, and I ran into a odd ball error in that endeavor. I put it aside for a while, ignoring it while I worked on other code. Eventuallly, I had to face it though, so here are my remarks in that journey. First, the error in question is [...]
Posted in Error, Javascript, Mootools | Tagged call, Error, Mootools, mutator, solution, solve |
By Ryan on June 23, 2010
If you’re reading this, you’re probably realizing that you forgot the CSS3 rounded corner syntax or you’re lost. Anyway, I always forget the syntax for the border radius property. It’s not hard or anything, but it’s not, rounded-corner: 5px or anything obvious like that. That said, it’ll be a dream come true when Webkit, Gecko, [...]
Posted in Design, Tips | Tagged border radius, corners, css3, rounded |
By Ryan on June 18, 2010
In the final two hours of Macroeconomics, we were being silly and made lolcats like images making of things in the news or whatever we wanted, with an economic theme. One of the first jokes we wrote was about Farmville. I really hate Farmville. My parents play and loads of my school friends play. It [...]
Posted in Abstract | Tagged cash, crops, farmville, green, jokes, lols |
By Ryan on June 16, 2010
On a recent attempt to stream the Japan-A-Radio Fanimecon show, I had a really bad case of skipping and shuddering. To solve it, I figured I’d change the amount VLC buffers the connection. It turns out that this doesn’t work the way it seems like it should. What it seems like changing the buffer amount [...]
Posted in Tips | Tagged buffer, choppy, radio, shudder, stream, vlc |
By Ryan on June 9, 2010
I had to join two models together in order to search them properly. In this special case, it was pagination. I was browsing the cookbook for anything that could help and I did in fact find joining tables. I was doing something kind of bizarre and probably bad practice, but with CakePHP, there are no [...]
Posted in PHP, Tips | Tagged CakePHP, errors, joins, model |
By Ryan on June 4, 2010
Lately, I have been working with the fancy HTML 5 canvas element. One of the errors that I encountered during development was this oddity: Uncaught Error: INDEX_SIZE_ERR: DOM Exception 1 After making sure every value was absolutely defined in the code and still getting the error, I was stumped. I asked on twitter what causes [...]
Posted in Javascript, Tips | Tagged canvas, dom, html5, index size error |
By Ryan on June 2, 2010
Passing optional information by URL is pretty easy in CakePHP. The Paginator does this all the time with the page:2 type-urls. Accessing the power of URL parameters, as CakePHP calls them, is slightly confusing at first. It’s not a method call or anything. Using $this->params is the location for URL parameters. If you run a [...]
Posted in PHP, Tips | Tagged CakePHP, named, parameters, url |
By Ryan on May 22, 2010
On Thursday, May 20th, I was absolutely honored to be awarded with the Outstanding Mathematics Student – Special Google Computer Award from the Central High School Mathematics Department. The award was a certificate and a computer! The computer came with a backpack with the Google and Lenovo logos embroidered on it. The Lenovo G550 laptop [...]
Posted in Abstract, Education | Tagged award, Computer, Google, special, undergradute |