Ryan Rampersad
Opinions, Thoughts and Ideas - PHP, Java and Javascript
  • Home
  • About
  • Contact
Browse: Home / Ryan

Ryan

Ryan

missing argument 1 when calling function mutator.call

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 | Leave a response

CSS3: Border Radius

Rounded CSS3 Corners

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 | Leave a response

Cropping Your Green

Farmville – Crops Your Green

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 | Leave a response

VLC Radio Streaming Buffer

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 | Leave a response

CakePHP Model Joins

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 | Leave a response

INDEX_SIZE_ERR: DOM Exception 1 – HTML Canvas

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 | Leave a response

Accessing CakePHP URL Parameters

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 | Leave a response

Send Applications to Another Workspace in Ubuntu

By Ryan on May 26, 2010

The workspaces feature is incredibly handy but it’s hard to use sometimes. If you want to move an Application, you have drag it into the corner, then switch and then drag it some more. So inelegant. The solution is actually really simple. On your applications title bar, right click. You’ll get a lovely context menu. [...]

Posted in Tips | Tagged applications, linux, menu, shortcut, ubuntu, workspace | Leave a response

Outstanding Mathematics Student - Google Computer Award

Central Undergraduate Awards – Google Computer Award

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 | 2 Responses

Tips on Greenfoot Greeps

By Ryan on May 20, 2010

Last week, our project was to work on Greenfoot Greeps, the first Greeps competition project from 2007. If you’ve read my commentary about Greenfoot before, then you know just how much fun Greenfoot is. Greeps is a little scenario game where you have little aliens that absolutely love tomatoes. The deal is that you have [...]

Posted in Java | Tagged greenfoot, greeps, Java | Leave a response

« PreviousNext »

Recent Posts

  • Update Ubuntu via Terminal
  • How to install libmysqlclient15off on Ubuntu 10.04
  • The Great iPhone Price
  • My Top 5 AP Computer Science Tips
  • Ubuntu Username/Password On Live CD

Tags

(fluff)Grabber ap Apple array beta blog blogs Browser Browsers CakePHP chrome CSS Design Error exam facebook Firefox fluff friends fluff grabber free Google html ib iGoogle internet explorer Java Javascript linux Microsoft model Mootools music PHP plurk review School SEO solution string Tips ubuntu update Windows windows 7 Wordpress

Search

Meta

  • Log in
  • Entries RSS
  • Comments RSS
  • WordPress.org
QC: