<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" 
    xmlns:dc="http://purl.org/dc/elements/1.1/"
    xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
    xmlns:admin="http://webns.net/mvcb/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd">
	<channel>
<title>E-Tech Blog</title><link>http://www.nd.edu/~gmadey/etech07/index.html</link><description>Random notes for the course</description><dc:language>en</dc:language><dc:creator>gmadey@nd.edu</dc:creator><dc:rights>Copyright 2007 gmadey</dc:rights><dc:date>2007-12-10T10:12:57-05:00</dc:date><admin:generatorAgent rdf:resource="http://www.realmacsoftware.com/" />
<admin:errorReportsTo rdf:resource="mailto:gmadey@nd.edu" /><sy:updatePeriod>hourly</sy:updatePeriod>
<sy:updateFrequency>1</sy:updateFrequency>
<sy:updateBase>2000-01-01T12:00+00:00</sy:updateBase>
<lastBuildDate>Mon, 10 Dec 2007 10:17:48 -0500</lastBuildDate><item><title>CourseConceptMap</title><dc:creator>gmadey@nd.edu</dc:creator><dc:subject>Course Blog</dc:subject><dc:date>2007-12-10T10:12:57-05:00</dc:date><link>http://www.nd.edu/~gmadey/etech07/page4/files/aae7e7bf0e53acf3372ed2f8f19aed8b-15.html#unique-entry-id-15</link><guid isPermaLink="true">http://www.nd.edu/~gmadey/etech07/page4/files/aae7e7bf0e53acf3372ed2f8f19aed8b-15.html#unique-entry-id-15</guid><content:encoded><![CDATA[<a href="http://www.cse.nd.edu/~gmadey/etech07/page4/CourseConceptMap.pdf" rel="self"><img class="imageStyle" alt="CourseConceptMap" src="http://www.nd.edu/~gmadey/etech07/page4/files//page4_blog_entry15_1.png" width="530" height="419"/></a>]]></content:encoded></item><item><title>Topics for Extra Credit Research Paper</title><dc:creator>gmadey@nd.edu</dc:creator><dc:subject>Course Blog</dc:subject><dc:date>2007-12-07T06:08:42-05:00</dc:date><link>http://www.nd.edu/~gmadey/etech07/page4/files/d0a8214a7d8fdf694dc90f1776fd6b20-14.html#unique-entry-id-14</link><guid isPermaLink="true">http://www.nd.edu/~gmadey/etech07/page4/files/d0a8214a7d8fdf694dc90f1776fd6b20-14.html#unique-entry-id-14</guid><content:encoded><![CDATA[<ul class="disc"><li><span style="font:12px Courier, mono; font-weight:bold; ">Accessibility, Guidelines, Regulations, Usability Analysis, WCAG2, WCAG  Samurai, ADA-504, Issues, Analysis of the ND HomePage</span></li><li></li><li><span style="font:12px Courier, mono; font-weight:bold; ">Web Standards: Design and Development, Jakob Nielsen</span></li><li></li><li><span style="font:12px Courier, mono; font-weight:bold; ">Google Analytics, Web Analytics</span></li><li></li><li><span style="font:12px Courier, mono; font-weight:bold; ">Content Management Systems, Blogs, and Wiki's: Software, Feature Comparisons, When to use, for what applications</span></li><li></li><li><span style="font:12px Courier, mono; font-weight:bold; ">Open Social, Social Networks, MySpace, FaceBook, embedded applications/Gadgets</span></li><li></li><li><span style="font:12px Courier, mono; font-weight:bold; ">Micro-blogging, Twitter, Jaiku, Pownce, Dodgeball</span></li><li></li><li><span style="font:12px Courier, mono; font-weight:bold; ">Web Site Internationalization, Character Codes, Translation, Cultural Issues, Political Issues</span></li><li></li><li><span style="font:12px Courier, mono; font-weight:bold; ">WEB 2.0, Technology, Business Models</span></li><li></li><li><span style="font:12px Courier, mono; font-weight:bold; ">JSON, YAML, RFC 4627, adoptions (e.g., Google, Yahoo, etc)</span></li><li></li><li><span style="font:12px Courier, mono; font-weight:bold; ">Mashups: Google Earth/Maps, Flickr, Frappr!</span></li><li></li><li><span style="font:12px Courier, mono; font-weight:bold; ">Web Apps: Google Apps, Google Gears, Windows Live, comparisons with each other, comparison to desktop office suits</span></li><li></li><li><span style="font:12px Courier, mono; font-weight:bold; ">Design and development for mobile systems</span></li><li></li><li><span style="font:12px Courier, mono; font-weight:bold; ">Web Adverstising: Technologies, Business models (impressions, page views, click throughs, etc), Competitors, Google AdSense, YPN, AdWords, </span></li><li></li><li><span style="font:12px Courier, mono; font-weight:bold; ">Flash and its competitors, SilverLight, Adobe Flex</span></li><li></li><li><span style="font:12px Courier, mono; font-weight:bold; ">Cloud computing: Amazon S3, A3, Microsoft SkyDrive, Elastic Compute Cloud</span></li><li></li><li><span style="font:12px Courier, mono; font-weight:bold; ">Completely Automated Public Turing Test(s) or How to Tell Computers and Humans Apart (CAPTCHA)</span></li></ul>]]></content:encoded></item><item><title>Control-D Issues in Ruby HW Problem - Observation by Patrick Finnigan ...</title><dc:creator>gmadey@nd.edu</dc:creator><dc:subject>Course Blog</dc:subject><dc:date>2007-11-22T12:33:08-05:00</dc:date><link>http://www.nd.edu/~gmadey/etech07/page4/files/baa88da384497a5754ffe2797c9c4f06-12.html#unique-entry-id-12</link><guid isPermaLink="true">http://www.nd.edu/~gmadey/etech07/page4/files/baa88da384497a5754ffe2797c9c4f06-12.html#unique-entry-id-12</guid><content:encoded><![CDATA[<span style="font:12px Courier, mono; font-weight:bold; ">Patrick sends the following observation:<br /><br />I think that I understand the issue brought up in class that CONTROL+D does not quit out of a while loop to get lines of text of input.<br /><br />This code CAUSES THE PROBLEM where CONTROL+D will not exit:<br />-------------------<br />while (num = gets.to_i)<br />  inputs.push(num)<br />end<br />-------------------<br /><br /><br />This code works and is problem free:<br />-------------------<br />while (num = gets)<br />  inputs.push(num.to_i)<br />end<br />-------------------<br /><br /><br />What's the difference?  The difference is, the "to_i" method CANNOT BE CALLED on the return of gets in the evaluation of the while loop here.<br /><br />1. When we press CONTROL+D on Windows to insert an end of file character, gets returns nil<br />2. nil.to_i returns 0<br />3. Ruby evaluates 0 as "true" in the context of boolean expressions<br /><br />Thus, any loop "while (x = gets.to_i)" will continue to loop forever.  The to_i function must be called somewhere else within the while loop to convert the string returned by gets to an integer.<br /><br />I tested and verified all of this in the IRB shell.<br />(screenshot below)<br /><br /></span><strong><img class="imageStyle" alt="irb1" src="http://www.nd.edu/~gmadey/etech07/page4/files//page4_blog_entry12_1.jpg" width="538" height="265"/></strong><span style="font:12px Courier, mono; font-weight:bold; "><br /></span>]]></content:encoded></item><item><title>Final Exam Period</title><dc:creator>gmadey@nd.edu</dc:creator><dc:subject>Course Blog</dc:subject><dc:date>2007-11-18T15:29:17-05:00</dc:date><link>http://www.nd.edu/~gmadey/etech07/page4/files/c4e6b0f6b3e1293e3e588872e11f3545-10.html#unique-entry-id-10</link><guid isPermaLink="true">http://www.nd.edu/~gmadey/etech07/page4/files/c4e6b0f6b3e1293e3e588872e11f3545-10.html#unique-entry-id-10</guid><content:encoded><![CDATA[The following is the time and location for our final meeting. Recall, we will not have a final exam, but will use this period for final project presentations.<br /><br /><span style="font:12px Courier, mono; font-weight:bold; ">CSE 40613 01 12/15/2007 8:00 AM 10:00 AM <br />356A Fitzpatrick Hall of Engr<br /></span>]]></content:encoded></item><item><title>Sample PHP connection string from Ben Roesch</title><dc:creator>gmadey@nd.edu</dc:creator><dc:subject>Course Blog</dc:subject><dc:date>2007-11-15T22:29:00-05:00</dc:date><link>http://www.nd.edu/~gmadey/etech07/page4/files/e3994bf1231920f93d4a04d15a812a8d-13.html#unique-entry-id-13</link><guid isPermaLink="true">http://www.nd.edu/~gmadey/etech07/page4/files/e3994bf1231920f93d4a04d15a812a8d-13.html#unique-entry-id-13</guid><content:encoded><![CDATA[Ben offered this example up for PHP access to the Oracle database from orchestra.<pre> $conn = OCILogon("guest","secret","testdb.world") or die("Couldn't connect"); <br> $query = "select user from dual";  <br> $stmt = ociparse($conn, $query); <br> OCIDefineByName($stmt, "USER", $u); <br> ociexecute($stmt, OCI_DEFAULT); <br> ocifetch($stmt); <br> echo "The user is: $u"; <br> ocilogoff($conn); <br></pre>]]></content:encoded></item><item><title>Tomcat Servlets&#x2c; JDBC&#x2c; and Oracle</title><dc:creator>gmadey@nd.edu</dc:creator><dc:subject>Course Blog</dc:subject><dc:date>2007-11-14T06:04:31-05:00</dc:date><link>http://www.nd.edu/~gmadey/etech07/page4/files/355d3f95eafd05d7ac53b2d8e33e951c-8.html#unique-entry-id-8</link><guid isPermaLink="true">http://www.nd.edu/~gmadey/etech07/page4/files/355d3f95eafd05d7ac53b2d8e33e951c-8.html#unique-entry-id-8</guid><content:encoded><![CDATA[The standard Tomcat installation includes documentation on the configuration and use of Tomcat, JDBC and the Oracle database. See your Tomcat installation  home page.<br /><br />Since we suggested installation of Tomcat 5.0, that will be the level of documentation installed.<br /><br />Additional somewhat updated documentation can be found for Tomcat 5.5 online at:<br /><ul class="circle"><li><a href="http://tomcat.apache.org/tomcat-5.5-doc/index.html" rel="self">http://tomcat.apache.org/tomcat-5.5-doc/index.html</a></li></ul><br />Sample connection strings for Oracle can be found at:<br /><ul class="circle"><li><a href="http://tomcat.apache.org/tomcat-5.5-doc/jndi-datasource-examples-howto.html" rel="self">http://tomcat.apache.org/tomcat-5.5-doc/jndi-datasource-examples-howto.html</a></li></ul>]]></content:encoded></item><item><title>Ruby Installation Hint</title><dc:creator>gmadey@nd.edu</dc:creator><dc:subject>Course Blog</dc:subject><dc:date>2007-11-14T06:03:23-05:00</dc:date><link>http://www.nd.edu/~gmadey/etech07/page4/files/7708869dccac533e56c49e3854f90ebd-7.html#unique-entry-id-7</link><guid isPermaLink="true">http://www.nd.edu/~gmadey/etech07/page4/files/7708869dccac533e56c49e3854f90ebd-7.html#unique-entry-id-7</guid><content:encoded><![CDATA[<strong>How to install ruby on your etech machine:</strong><br /><br />sudo apt-get install ruby]]></content:encoded></item><item><title>JSP hint from Shannon Morrison ... </title><dc:creator>gmadey@nd.edu</dc:creator><dc:subject>Course Blog</dc:subject><dc:date>2007-11-07T10:23:10-05:00</dc:date><link>http://www.nd.edu/~gmadey/etech07/page4/files/903cfd4998e108d8b796f1fb71d714ea-5.html#unique-entry-id-5</link><guid isPermaLink="true">http://www.nd.edu/~gmadey/etech07/page4/files/903cfd4998e108d8b796f1fb71d714ea-5.html#unique-entry-id-5</guid><content:encoded><![CDATA[To get our .jsp files to work, we had to copy standard.jar and jstl.jar from the jsp-examples folder into the WEB-INF/lib folder where the .jsp code was located.<br /><br />The .jar are at /var/lib/tomcat5/webapps/jsp-examples/WEB-INF/lib <br /><br />If the .jsp page is located in /myDir, then the .jar should be put in /myDir/WEB-INF/lib<br />-- <br />Shannon Morrison]]></content:encoded></item><item><title>Configuration script for your .cshrc file</title><dc:creator>gmadey@nd.edu</dc:creator><dc:subject>Course Blog</dc:subject><dc:date>2007-11-07T10:19:20-05:00</dc:date><link>http://www.nd.edu/~gmadey/etech07/page4/files/723fadd7756e95e3bf12bb37ed0d48f3-4.html#unique-entry-id-4</link><guid isPermaLink="true">http://www.nd.edu/~gmadey/etech07/page4/files/723fadd7756e95e3bf12bb37ed0d48f3-4.html#unique-entry-id-4</guid><content:encoded><![CDATA[if (`hostname` == "concert") then<br />setenv   ORACLE_HOME       /orasoft/9i<br />setenv   ORACLE_SID        testdb<br />set path = ($ORACLE_HOME/bin $path)<br />setenv  CLASSPATH  ./:/orasoft/9i/jdbc/lib/classes12.jar:/orasoft/9i/lib/xmlparserv2.jar<br />endif<br />]]></content:encoded></item><item><title>Error in textbook</title><dc:creator>gmadey@nd.edu</dc:creator><dc:subject>Course Blog</dc:subject><dc:date>2007-10-17T06:16:36-04:00</dc:date><link>http://www.nd.edu/~gmadey/etech07/page4/files/5218126ddfbade57d5dad07f1b769b44-3.html#unique-entry-id-3</link><guid isPermaLink="true">http://www.nd.edu/~gmadey/etech07/page4/files/5218126ddfbade57d5dad07f1b769b44-3.html#unique-entry-id-3</guid><content:encoded><![CDATA[Patrick Finnigan reported the following error in a comment in the book:<br /><br />=====<br /><br />I wanted to report an error in the textbook on page 383 that I ran into with the<br />past HW.  A line near the bottom of the page says:<br />"$number = int(rand 4);     # Computes a random integer 0-4"<br /><br />This is false, because the rand function in Perl is exclusive.  "int(rand 4)"<br />computes a number between 0 and 3.  rand function perldoc:  <br />http://perldoc.perl.org/functions/rand.htm<br /><br />=====<br /><br />This is a good example of the usefulness of the online perl documentation at:<br /><br />http://perldoc.perl.org/<br /><br />Check it out!<br /><br />g/m]]></content:encoded></item><item><title>Finding our way around &#x22;concert&#x22;</title><dc:creator>gmadey@nd.edu</dc:creator><dc:subject>Course Blog</dc:subject><dc:date>2007-10-07T12:59:13-04:00</dc:date><link>http://www.nd.edu/~gmadey/etech07/page4/files/ec365fb74b67a1147158eac150312b1c-2.html#unique-entry-id-2</link><guid isPermaLink="true">http://www.nd.edu/~gmadey/etech07/page4/files/ec365fb74b67a1147158eac150312b1c-2.html#unique-entry-id-2</guid><content:encoded><![CDATA[Concert is our apache/perl/cgi-bin server. See the relevant portions of the filesystem that we will be using. <br /><img class="imageStyle" alt="concertFileSystem" src="http://www.nd.edu/~gmadey/etech07/page4/files//page4_blog_entry2_1.png" width="410" height="472"/>]]></content:encoded></item><item><title>URI vs URL vs URN</title><dc:creator>gmadey@nd.edu</dc:creator><dc:subject>Course Blog</dc:subject><dc:date>2007-09-26T16:37:44-04:00</dc:date><link>http://www.nd.edu/~gmadey/etech07/page4/files/82a2d2ac1c5fe4f865522bf3de3138f1-1.html#unique-entry-id-1</link><guid isPermaLink="true">http://www.nd.edu/~gmadey/etech07/page4/files/82a2d2ac1c5fe4f865522bf3de3138f1-1.html#unique-entry-id-1</guid><content:encoded><![CDATA[The term URI is used heavily in the material on XML in our textbook. So far in the course we limited our discussion to URLs. <a href="http://en.wikipedia.org/wiki/Uniform_Resource_Identifier" rel="self">Wikipedia</a> has good discussion of these terms with the relationship of all three depicted in the figure below.<br /> <a href="http://en.wikipedia.org/wiki/Image:URI_Venn_Diagram.svg" rel="self"><img class="imageStyle" alt="180px-URI_Venn_Diagram.svg" src="http://www.nd.edu/~gmadey/etech07/page4/files//page4_blog_entry1_1.png" width="181" height="109"/></a><br />Quoted from that <a href="http://en.wikipedia.org/wiki/Uniform_Resource_Identifier#Relationship_to_URL_and_URN" rel="self">Wikipedia article</a>, "A Uniform Resource Locator (URL) is a URI that, in addition to identifying a resource, provides means of acting upon or obtaining a representation of the resource by describing its primary access mechanism or network "location". For example, the URL http://www.wikipedia.org/ is a URI that identifies a resource (Wikipedia's home page) and implies that a representation of that resource (such as the home page's current HTML code, as encoded characters) is obtainable via HTTP from a network host named www.wikipedia.org. A Uniform Resource Name (URN) is a URI that identifies a resource by name in a particular namespace. A URN can be used to talk about a resource without implying its location or how to dereference it. For example, the URN urn:isbn:0-395-36341-1 is a URI that, like an International Standard Book Number (ISBN), allows one to talk about a book, but doesn't suggest where and how to obtain an actual copy of it."]]></content:encoded></item><item><title>Hand Coded XHTML vs. XHTML Editors vs. WYSIWYG XHTML Tools</title><dc:creator>gmadey@nd.edu</dc:creator><dc:subject>Course Blog</dc:subject><dc:date>2007-09-06T18:01:16-04:00</dc:date><link>http://www.nd.edu/~gmadey/etech07/page4/files/63cc3e8762e3bf8266c92a348db5f949-0.html#unique-entry-id-0</link><guid isPermaLink="true">http://www.nd.edu/~gmadey/etech07/page4/files/63cc3e8762e3bf8266c92a348db5f949-0.html#unique-entry-id-0</guid><content:encoded><![CDATA[Hand coded XHTML is typically authored with text editors such as vi, emacs, pico, notepad.exe, etc. You type everything for maximum flexibility. I'm asking you to do it this way early in the course, since you will have to write programs that dynamically generate XHTML later in the course. If you become dependent on more automated tools too soon, you may have difficulty later when writing JSP, PHP, or Perl/CGI programs later in the course.<br /><br />XHTML editors provide help typing the "boilerplate" code with the use of menus, templates, etc. Some of the WYSIWYG tools also provide this mode for authoring XHTML.<br /><br />WYSIWYG Tools hide the XHTML coding and details from you and let you concentrate on "the design". Good looking XHTML documents can be generated quickly, but you lose flexibility. Some examples are Dreamweaver, Frontpage, GoLive, RapidWeaver, Mozilla Composer, SeaMonkey Composer, and many more. -- g/madey]]></content:encoded></item></channel>
</rss>