Open main menu

CDOT Wiki β

Changes

User:John Dang

15,182 bytes added, 14:18, 30 August 2009
m
no edit summary
<table cellspacing="5" style="line-height: 1.5em; width: 22em; font-size: 95%; text-align: left; background-color: #F9F9F9; border: 1px solid #AAAAAA; color: black; float: right; margin: 0.5em 0 0.5em 1em; padding: 0.2em;">
<tr><td style="font-weight: bold; text-align: center; font-size: 125%;" colspan="2"><b>John Dang</b></td></tr>
<tr><td style="padding: 4pt; line-height: 1.25em; text-align: center; font-size: 8pt;" colspan="2">[[Image:JohnDang.jpg]]<br/><div style="padding-top: 2pt;"><span style="">Me</span></div></td></tr>
<tr>
<th style="padding: 0.2em 1em 0.2em 0.2em; background: transparent none repeat scroll 0% 0%; line-height: 1.2em; text-align: left; font-size: 90%;vertical-align: top;">Born</th>
<tr>
<th style="padding: 0.2em 1em 0.2em 0.2em; background: transparent none repeat scroll 0% 0%; line-height: 1.2em; text-align: left; font-size: 90%;vertical-align: top;">Expected Graduation</th>
<td class="" style="padding: 0.2em; line-height: 1.3em; vertical-align: middle; font-size: 90%;">May 2009</td>
</tr>
<tr>
</table>
<p>
'''John Dang''' is a [http://en.wikipedia.org/wiki/Software_Developer Software Developer]. He enrolled in the [http://warp.senecac.on.ca/bsd/ Bachelor of Software Development (BSD) Program] at [http://www.senecac.on.ca/ Seneca College] in the winter of 2006 and he will be graduating graduated from the this program in May 2009.
</p>
<p>
He was elected President of the [http://windowsclub.senecac.on.ca/ Seneca College School of Computer Studies Windows Club] for the school year 2008-2009. He plans on implementing implemented a strategic structure that consisted of standards, procedures and guidelines to assist executives the club to plan, execute and evaluate events, and to manage and monitor member recruitment and activities.
</p>
<p>He has enrolled in the [http://zenit.senecac.on.ca/wiki/index.phpbr /DPS909 DPS909 - Topics in Open Source Development Course] for the current semester (Winter 2009) where he hopes he will learn the fundamentals to what may be the beginning to a successfully career in the [http://en.wikipedia.org/wiki/Open_source_community Open Source Community].</p> == Open Source Projects Development ==
<h3>DPS909 - Topics in Open Source Development</h3>
<dl style="margin-bottom:0.5em;margin-top:0.2em;line-height:1.5em;"><dd>
<i>Further information: [[DPS909]]</i>
</dl>
<p><h4><u>Course Schedule</u></h4><ul><li>[[DPS909 and OSD600 Winter 2009 Eclipse WTP Weekly Schedule]]</li></ul></p><p><h4><u>Helpful Web Tools Platform (WTP) Tutorials</u></h4><ol><li>[http://cs.senecac.on.ca/~jordan.anastasiade/Eclipse/WTP/0/WTP_Tutorial_1.html Using Eclipse to Develop WTP]</li><li>[http://www.eclipse.org/articles/Article-Your%20First%20Plug-in/YourFirstPlugin.html Your First Plug-In: Developing the Eclipse "Hello World" plug-in]</li><li>[http://www.vogella.de/articles/EclipsePlugIn/article.html Eclipse Plug-In Development]</li></ol></p><br /> <h3>DPS911 - Open Source Project</h4h3>
<dl style="margin-bottom:0.5em;margin-top:0.2em;line-height:1.5em;"><dd>
<i>Further information: [[DPS909 and OSD600 Winter 2009 Eclipse WTP Weekly ScheduleDPS911]]</i>
</dl>
<p>Details to be added<h4><u>Course Schedule</u></h4><ul><li>[[Summer_2009_DPS911-OSD700_Weekly_Schedule]]</li></ul></p><p><h4>OpenOffice.org Project<u>Course Activities</u></h4><dl style/p>{| class="sortable" cellpadding="5" cellspacing="margin0" border="1"!<u>Week</u>!<u>Date</u>!<u>Activity</u>!<u>Contribution</u>|----bottom!Week 1|May 11|<ul><li>Added personal information to [[Summer 2009 Eclipse WTP Student Team]]</li><li>Analyzed and reviewed bugs on [https:0//bugs.eclipse.5em;marginorg/bugs/ Bugzilla] for WTP</li></ul>||-top---!Week 2|May 18|<ul><li>Downloaded and Extracted/Installed both Eclipse WTP RCP/Plug-in and WTP 3.1M7</li><li>Produced screencast for how to get Eclipse WTP working (Jordan's written tutorial)</li><li>Selected Eclipse WTP Bug #[https://bugs.eclipse.org/bugs/show_bug.cgi?id=241429 241429] for term project</li></ul>|<ul><li>[http://b.static.ak.fbcdn.net/swf/mvp.swf?8%3A152716%3A1&v=83901541771&ev=0Eclipse WTP - Downloading & Extracting/Installing] <em>beta</em></li><ul>|----!Week 3|May 25|<ul><li>Gave a 5 minute presentation on my experience with creating a screencast (including tools used)</li><li>Gave a 15 minute presentation about Eclipse WTP Bug #241429</li><ul>||----!Week 4|June 1|<ul><li>Attended other student presentations and offered valuable feedback</li><ul>||----!Week 5|June 8|<em>N/A - away for work</em>||----!Week 6|June 15|<ul><li>Worked on reproducing Eclipse WTP Bug #241429 with basic scenario</li><li>Worked on reproducing Eclipse WTP Bug #241429 with break-point scenario</li><ul>||----!Week 7|June 22|<ul><li>Worked on producing screencast for reproducing Eclipse WTP Bug #241429 with basic and break-point scenario</li><ul>||----!Week 8|June 29|<ul><li>Produced screencast for reproducing Eclipse WTP Bug #241429</li><ul>|<ul><li>[http://www.facebook.2em;linecom/v/98871186771 Eclipse WTP Bug #241429] <em>beta</em></li></ul>|-height:1---!Week 9|July 6|<ul><li>Worked on reproducing Eclipse WTP Bug #241429 with Thread.5em;"sleep method</li><ul>||----!Week 10|July 13|<ul><li>Propose two theoretical solution for Eclipse WTP Bug # 241429 (quartz job scheduling, message/disable button)</li><li>Give a 10 minute presentation on current project status</li><ddul>||----!Week 11|July 20|<ul><li>Worked on creating Lab 1 - How to Create Your Seneca Wiki Page <iem>Further information: [beta]</em></li><ul>||----!Week 12|July 27|<ul><li>Worked on creating Lab 2 - How to Create Your Blog Page (WordPress) <em>[DPS909 and OSD600 Winter 2009 OpenOffice.org Weekly Schedulebeta]</em></li><ul>||----!Week 13|August 3|<ul><li>Worked on creating Lab 3 - How to Get Help on IRC <em>[beta]</iem></li><ul>||----!Week 14|August 10|<ul><li>Finalized written Lab 1, Lab 2, Lab 3</dlli><ul>|<ul><li>[http://jdeport.wordpress.com/open-source-labs/open-source-seneca/lab-1-how-to-create-your-seneca-wiki-page/http://jdeport.wordpress.com/open-source-labs/open-source-seneca/lab-1-how-to-create-your-seneca-wiki-page/ Open Source @ Seneca Lab 1]<p/li><li>[http://jdeport.wordpress.com/open-source-labs/open-source-seneca/lab-2-how-to-create-your-blog-page-wordpress/ Open Source @ Seneca Lab 2]</li><li>Details [http://jdeport.wordpress.com/open-source-labs/open-source-seneca/lab-3-how-to be added-get-help-on-irc/ Open Source @ Seneca Lab 3]</li></ul> |----!Week 15|August 17|<ul><li>Give a 20 minute presentation on work status and contributions</pli><ul>||}<br />
== Open Source Contribution to the Community ==<h3>Zenit.senecac.on.ca Wiki ContributionOpen Source @ Seneca</h3>
<dl style="margin-bottom:0.5em;margin-top:0.2em;line-height:1.5em;"><dd>
<i>Further information: [[Main PageMain_Page]]</i>
</dl>
<p><h4><u>Pages Added</u></h4>
<ul><li>User:John_Dang (this page)</li></ul>
</p><p><h4><u>Pages Updated</u></h4>
<ul><li>[[User:JAnastasiade]]
<ul>
</ul>
</li></ul>
</p>
<br />
== Apple Development ==<h3>DPS909 DPS913 - Topics in Open Source Foundations of Apple Application Development Contribution</h3>
<dl style="margin-bottom:0.5em;margin-top:0.2em;line-height:1.5em;"><dd>
<i>Further information: [[DPS909]http://warp.senecac.on.ca/peter/dps913/default.aspx DPS913A.STSY.20091]</i>
</dl>
<h4>Eclipse Web Tools Platform (WTP) Project<u>Apple Mac OS X v10.5.6</u></h4><h5>Keyboard Shortcuts</h5>{| class="sortable" cellpadding="5" cellspacing="0" border="1" style="margin:0 40px 0 40px; width: 500px; text-align: left; table-layout: fixed;"!<u>Action</u>!<u>Mac OSX</u>|----!Exit Dialog|ctrl + eject|----!Quit All Applications and Restart|⌘ + ctrl + eject|----!Sleep|⌘ + opt + eject|----!Force Quit|opt + ⌘ + esc|----!Log Out|⇧ + ⌘ + Q|----!Log Out Immediately|opt + ⇧ + ⌘ + Q|----!Move to Trash|⌘ + Del|----!Empty Trash|⇧ + ⌘ + Del|----!Empty Trash with No Dialog|opt + ⇧ + ⌘ + del|----!Eject|⌘ + E|----!Right-Click|ctrl + Click|----!Spotlight|⌘ + spacebar|----!Find|⌘ + F|----!Hide Find|⌘ + H|----!Hide Others|opt + ⌘ + H|----!Hide All Windows Except Current Window|opt + ⌘ + H|----!Minimize Window|⌘ + M|----!Minimize All Windows|opt + ⌘ + M|----!Close Window|⌘ + W|----!Close All Window|opt + ⌘ + W|----!New|⌘ + N|----!Open|⌘ + O|----!Save|⌘ + S|----!Save As|⇧ + ⌘ + S|----!Print|⌘ + P|----!Get Info|⌘ + I|----!Add to Favorite/Sidebar|⌘ + T|----!Undo|⌘ + Z|----!Redo|⇧ + ⌘ + Z|----!Cut|⌘ + X|----!Copy|⌘ + C|----!Paste|⌘ + V|----!Select All|⌘ + A|----!View as Icons|⌘ + 1|----!Hide Toolbar|⌘ + B|----!Show View Options|⌘ + J|----!Back|⌘ + [|----!Forward|⌘ + ]|----!Go to My Computer|⇧ + ⌘ + C|----!Go to iDisk|⇧ + ⌘ + I|----!Go to Applications|⇧ + ⌘ + A|----!Go to Favorites|⇧ + ⌘ + F|----!Go to Folder|⇧ + ⌘ + G|----!Connect to Server|⌘ + K|----!Turn on Zoom|opt + ⌘ + 8|----!Zoom In|opt + ⌘ + '+'|----!Zoom Out|opt + ⌘ + '-'|----!Negative View|ctrl + opt + ⌘ + 8|----!FKA - Turn on Full Keyboard Access|ctrl + F1|----!FKA - Highlight Menu|ctrl + F2|----!FKA - Highlight Dock|ctrl + F3|----!FKA - Highlight Window/Next Window|ctrl + F4|----!FKA - Highlight Toolbar|ctrl + F5|----!FKA - Highlight Utility Window|ctrl + F6|----!Show/Hide Dock|opt + ⌘ + D|----!Switch Application|⌘ + tab|----!Turn VoiceOver on/off|⌘ + F5|----!VoiceOver Menu|ctrl + opt + F7|----!VoiceOver Option UtilityProxy-Connection: keep-aliveCache-Control: max-age=0 |ctrl + opt + F8|----!Take Picture of Screen|⇧ + ⌘ + 3|----!Take Picture of Selection|⇧ + ⌘ + 4|----!Take Picture of Screen to Clipboard|⇧ + ⌘ + 4, ctrl + select|----!Take Picture of Selected Window|⇧ + ⌘ + 4, spacebar|}<br /><h4><u>Objective-C</u></h4>
<dl style="margin-bottom:0.5em;margin-top:0.2em;line-height:1.5em;"><dd>
<i>Further information: [[DPS909 and OSD600 Winter 2009 Eclipse WTP Weekly Schedule]http://en.wikipedia.org/wiki/Objective-c Objective-C]</i>
</dl>
<h5>String Format</h5>{| class="sortable" cellpadding="5" cellspacing="0" border="1" style="margin:0 40px 0 40px; width: 500px; text-align: left; table-layout: fixed;"!<u>Symbol</u>!<u>Display</u>|----!%@|id|----!%%|a % character|----!%c|unsigned char as ASCII|----!%C|unichar as Unicode|----!%d, %D, %i|long|----!%e, %E, %f, %g, %G|double|----!%hi|short|----!%hu|unsigned short|----!%o, %O|unsigned long printed as octal|----!%p|void *|----!%qi|long long|----!%qu|unsigned long long|----!%s|char *|----!%S|unichar *|----!%u, %U|unsigned long|----!%x, %X|unsigned long printed as hexadecimal|}<br /><h5>String Conversion between NSString and C strings</h5>  <span style="color:#6600FF;">NSString</span> *nsstr; <span style="color:#6600FF;">const char</span> *cstr = <span style="color:#CC0000;">"Open Source!"</span>; <span style="color:#336633;">// Convert a C string to a NSString</span> nsstr = [<span style="color:#6600FF;">NSString</span> <span style="color:#660099;">stringWithUTF8String</span>:cstr]; <span style="color:#336633;">// Convert a NSString to a C string</span> cstr = [nsstr <span style="color:#660099;">UTF8String</span>]; <br /><h5>Automatically Called Methods</h5><ul><li>[http://developer.apple.com/documentation/Cocoa/Reference/ApplicationKit/Protocols/NSNibAwaking_Protocol/Reference/Reference.html <i>(void)awakeFromNib</i>]</li></ul><br /><h5>Essential Objects and Their Commonly Used Methods</h5><h6>[http://developer.apple.com/documentation/Cocoa/Reference/Foundation/Protocols/NSObject_Protocol/Reference/NSObject.html NSObject]</h6><ul><li>'''''- (id)init'''''</li>Details   <span style="color:#6600FF;">NSObject</span> *newNSObject = [[<span style="color:#6600FF;">NSObject</span> <span style="color:#660099;">alloc</span>] <span style="color:#660099;">init</span>]; <li>'''''- (NSString *)description'''''</li>  <span style="color:#660099;">NSLog</span>(<span style="color:#CC0000;">@"Open Source Account Number: %d is %@"</span>, i, accountToPrint); is equivalent to   <span style="color:#660099;">NSLog</span>(<span style="color:#CC0000;">@"Open Source Account Number: %d is %@"</span>, i, [accountToPrint <span style="color:#660099;">description</span>]); <li>'''''- (BOOL)isEqual:(id)that'''''</li>  <span style="color:#336633;">// compares the logic written in the isEqual methods</span> if ([this <span style="color:#660099;">isEqual</span>:that]) { ... } may not be addedequivalent to  <span style="color:#336633;">// compares the values of the two pointers</span> this == that; </pul><h4h6>OpenOffice[http://developer.apple.com/documentation/Cocoa/Reference/Foundation/Classes/NSArray_Class/Reference/Reference.org Projecthtml NSArray]</h6><ul><li>'''''- (NSUInteger)count'''''</li> <span style="color:#6600FF;">NSArray</h4span>*nsarray = [<span style="color:#6600FF;">NSArray</span> <span style="color:#660099;">initWithObjects</span>:<span style="color:#CC0000;">@"Open Source!"</span>, nil]; <dl span style="margincolor:#6600FF;">NSUInteger</span> *count; count = [nsarray <span style="color:#660099;">count</span>]; <li>'''''-bottom(id)objectAtIndex:(NSUInteger)index'''''</li>  <span style="color:#6600FF;">NSArray</span> *nsarray = [<span style="color:#6600FF;">NSArray</span> <span style="color:#660099;">initWithObjects</span>:<span style="color:#CC0000;">@"Open Source!"</span>, nil]; <span style="color:#6600FF;">NSObject</span> *nsobject = [nsarray <span style="color:#660099;">objectAtIndex</span>:0]; <li>'''''- (id)lastObject'''''</li>  <span style="color:#6600FF;">NSArray</span> *nsarray = [<span style="color:#6600FF;">NSArray</span> <span style="color:#660099;">initWithObjects</span>:<span style="color:#CC0000;">@"Open Source!"</span>, nil]; <span style="color:#6600FF;">NSObject</span> *nsobject = [nsarray <span style="color:#660099;">lastObject</span>]; <li>'''''- (BOOL)containsObject:(id)that'''''</li>  if ([this <span style="color:#660099;">containsObject</span>:that]) { ...5em} <li>'''''- (NSUInteger)indexOfObject:(id)that'''''</li> <span style="color:#6600FF;">NSArray</span> *nsarray = [<span style="color:#6600FF;">NSArray</span> <span style="color:#660099;">initWithObjects</span>:<span style="color:#CC0000;">@"Open Source!"</span>, nil]; <span style="color:#6600FF;margin">NSUInteger</span> *index; index = [nsarray <span style="color:#660099;">indexOfObject</span>:<span style="color:#CC0000;">@"Open Source!"</span>]; </ul><h6>[http://developer.apple.com/documentation/Cocoa/Reference/Foundation/Classes/NSMutableArray_Class/Reference/Reference.html NSMutableArray]</h6><ul><li>'''''- (void)addObject:(id)that'''''</li>  <span style="color:#6600FF;">NSMutableArray</span> *nsmarray = [<span style="color:#6600FF;">NSMutableArray</span> <span style="color:#660099;">initWithObjects</span>:<span style="color:#CC0000;">@"Open Source!"</span>, nil]; [nsmarray <span style="color:#660099;">addObject</span>:<span style="color:#CC0000;">@"Open Mind!"</span>]; <li>'''''-top(void)addObjectFromArray:0.2em(NSArray *)that'''''</li>  <span style="color:#6600FF;">NSMutableArray</span> *nmsarray = [<span style="color:#6600FF;">NSMutableArray</span> <span style="color:#660099;">initWithObjects</span>:<span style="color:#CC0000;">@"Open Source!"</span>, nil]; <span style="color:#6600FF;">NSArray</span> *nsarray = [<span style="color:#6600FF;">NSArray</span> <span style="color:#660099;">initWithObjects</span>:<span style="color:#CC0000;">@"Open Mind!"</span>, nil]; [nsmarray <span style="color:#660099;">addObjectFromArray</span>:nsarray];line <li>'''''-height(void)insertObject:(id)that atIndex:(NSUInteger)index'''''</li>  <span style="color:#6600FF;">NSMutableArray</span> *nsmarray = [<span style="color:#6600FF;">NSMutableArray</span> <span style="color:#660099;">initWithObjects</span>:<span style="color:#CC0000;">@"Open Source!"</span>, nil]; [nsmarray <span style="color:#660099;">insertObject</span>:<span style="color:#CC0000;">@"Open Mind!"</span> <span style="color:#660099;">atIndex</span>:1.5em]; <li>'''''- (void)removeAllObjects'''''</li>  <span style="color:#6600FF;">NSMutableArray</span> *nsmarray = [<span style="color:#6600FF;">NSMutableArray</span> <span style="color:#660099;">initWithObjects</span>:<span style="color:#CC0000;">@"Open Source!"</span>, nil]; [nsmarray <span style="color:#660099;">addObject</span>:<span style="color:#CC0000;">@"Open Mind!"</span>]; [nsmarray <span style="color:#660099;">removeAllObjects</span>]; <li>'''''- (void)removeObject:(id)that'''''</li>  <span style="color:#6600FF;">NSMutableArray</span> *nsmarray = [<span style="color:#6600FF;">NSMutableArray</span> <span style="color:#660099;">initWithObjects</span>:<span style="color:#CC0000;">@"Open Source!"</span>, nil]; [nsmarray <span style="color:#660099;">addObject</span>:<span style="color:#CC0000;">@"Open Mind!"</span>]; [nsamrray <span style="color:#660099;">removeObject</span>:<span style="color:#CC0000;">@"Open Source!"</span>]; <li>'''''- (void)removeObjectAtIndex:(NSUInteger)index'''''</li>  <span style="color:#6600FF;">NSMutableArray</span> *nsmarray = [<span style="color:#6600FF;">NSMutableArray</span> <span style="color:#660099;">initWithObjects</span>:<span style="color:#CC0000;">@"Open Source!"<dd/span>, nil]; [nsmarray <ispan style="color:#660099;">addObject</span>Further information: <span style="color:#CC0000;">@"Open Mind!"</span>]; [nsmarray <span style="color:#660099;">removeObjectAtIndex</span>:0]; </ul><h6>[DPS909 and OSD600 Winter 2009 OpenOfficehttp://developer.apple.com/documentation/Cocoa/Reference/Foundation/Classes/NSString_Class/Reference/NSString.org Weekly Schedulehtml NSString]</h6><ul><li>'''''- (id)initWithFormat:(NSString *)format, ...'''''</li>  <span style="color:#6600FF;">NSString</span> *nsstring = [<span style="color:#6600FF;">NSString</span> <span style="color:#660099;">initWithFormat</span>:<span style="color:#CC0000;">@"Open %@!"</span>, <span style="color:#CC0000;">@"Source"</span>]; <li>'''''- (NSUInteger)length'''''</li>  <span style="color:#6600FF;">NSString</ispan> *nsstring = <span style="color:#CC0000;">@"Open Source!"</span>; <span style="color:#6600FF;">NSUInteger</span> *length; length = [nsstring <span style="color:#660099;">length</span>]; <li>'''''- (NSString *)stringByAppendingString:(NSString *)that'''''</li>  <span style="color:#6600FF;">NSString</span> *nsstring1 = <span style="color:#CC0000;">@"Open"</span>; <span style="color:#6600FF;">NSString</span> *nsstring2 = <span style="color:#CC0000;">@" Source!"</span>; <span style="color:#6600FF;">NSString</dlspan>*nsnewstring; nsnewstring = [nsstring1 <pspan style="color:#660099;">Details to be addedstringByAppendingString</pspan>:nsstring2];
</ul><br /><h4><u>Apple Xcode v3.1.2</u></h4><h5>Keyboard Shortcuts</h5>{| class="sortable" cellpadding="5" cellspacing="0" border= "1" style="margin:0 40px 0 40px; width: 500px; text-align: left; table-layout: fixed;"!<u>Action</u>!<u>Mac OSX</u>|----!Build and Go (Run)|⌘ + return|----!Display Console Window|⇧ + ⌘ + R|----!Clear Console Messages|ctrl + opt + ⌘ + R|----!Display Documentation Help|opt + double-click + method|----!Display Preferences Window|⌘ + ,|----!Switching Between .h and .m Files|opt + ⌘ + up|}<br /><h4><u>Apple Development Interface Builder v3.1.2</u></h4><h5>Keyboard Shortcuts</h5>{| class="sortable" cellpadding="5" cellspacing="0" border="1" style="margin:0 40px 0 40px; width: 500px; text-align: left; table-layout: fixed;"!<u>Action</u>!<u>Mac OSX</u>|----!Display Inspector Window|⇧ + ⌘ + I|----!Display Preferences Window|⌘ + ,|}<br />
== References ==
<br />
== External links ==
<h3>Eclipse WTP</h3>
<li>
http://wiki.osx86project.org/wiki/index.php/Vmware_how_to - [Tested (2009/01/18): '''Works''']
</li>
<li>
http://www.insanelymac.com/forum/index.php?showtopic=109102 - My "OS Test" Disk Identifier: "disk0s3" [-v rd=disk0s3]
</li>
</ul>
1
edit