Difference between revisions of "User:Dhhodgin"

From CDOT Wiki
Jump to: navigation, search
(DPS909 Project)
Line 33: Line 33:
 
[[http://zenit.senecac.on.ca/wiki/index.php/Processing.js Processing.js]] - Active project<br />
 
[[http://zenit.senecac.on.ca/wiki/index.php/Processing.js Processing.js]] - Active project<br />
 
<s>[[http://zenit.senecac.on.ca/wiki/index.php/Fennec_and_@font-face Fennec and @font-face]]</s> - on hold
 
<s>[[http://zenit.senecac.on.ca/wiki/index.php/Fennec_and_@font-face Fennec and @font-face]]</s> - on hold
 +
 +
=== code blocks ===
 +
Here is a list of code blocks I have written for the processing.js project
 +
==== shorten() ====
 +
Arrays in JS have no type the elements in them can contain any type and do not all have to match.  Arrays are also passed by reference which means a reference to the object is passed in not the entire object.  so my code creates a new array and then pops one element off the original array and the returned array is put into newary and returned.
 +
 +
  p.shorten = function( ary ) {
 +
    var newary = new Array();
 +
    // copy ary into newary
 +
    for ( var i = 0; i < size; i++ ) {
 +
        newary[ i ] = ary[ i ];
 +
    }
 +
    newary.pop();
 +
    return newary;
 +
  }
  
 
== Week 1 stuff ==
 
== Week 1 stuff ==

Revision as of 19:18, 18 October 2009

Contact Information

Name Daniel Hodgin
Email dhhodgin [AT] learn [DOT] senecac [DOT] on [DOT] ca
Email2 hodgin.daniel [AT] gmail [DOT] com
IRC dhodgin
BLOG [1]

About Me

I'm a 5th Semester BSD student taking DPS909. Working part time on an ASP.NET c# application.

Technical Qualifications

Programming Languages

  • C
  • C++
  • C#
  • Java
  • PHP/PERL
  • SQL

DPS909 Project

[Processing.js] - Active project
[Fennec and @font-face] - on hold

code blocks

Here is a list of code blocks I have written for the processing.js project

shorten()

Arrays in JS have no type the elements in them can contain any type and do not all have to match. Arrays are also passed by reference which means a reference to the object is passed in not the entire object. so my code creates a new array and then pops one element off the original array and the returned array is put into newary and returned.

 p.shorten = function( ary ) {
   var newary = new Array();
   // copy ary into newary
   for ( var i = 0; i < size; i++ ) {
       newary[ i ] = ary[ i ];
   }
   newary.pop();
   return newary;
 }

Week 1 stuff

  • Create Zenit Wiki (done)
  • Create Blog (done)
  • Blog on introductory readings (done)
  • Listen in on a Weekly Call (done)
  • Update wiki (done)

Week 2 stuff

  • Create MDC account (done)
  • join Mozilla Fennec mailing list (done)
  • week 2 lab (done)
  • watch learning to be at the festival and blog about it (done)

Week 3 stuff

  • watch online lectures about build system by Paul Reed (done)
  • build Firefox at school on Linux (fedora) (done)
  • build Firefox minefield at home on windows 7 (done)
  • choose subject for project and write project plan on blog (done)

Week 4 stuff

  • spend time searching through MXR and familiarizing myself with it (done)
  • lab, working with patches (to do)

Week 5 stuff

  • create Bugzilla account (done)
  • Find 3+ bugs related to your project, and add them to your project wiki page (done)
  • CC yourself on two bugs that relate to your project 517086 476478 (done)
  • Watch a user in Bugzilla for the week and blog about the experience (blassey) (done)
  • Be working on your 0.1 release. Ask for help if you're stuck (done)
  • Register for FSOSS or join as a volunteer. (done)