Merge branch 'master' of caffeine:/users/www/www

This commit is contained in:
David Bartley 2009-03-01 03:52:45 -05:00
commit b4c1de2e84
2 changed files with 71 additions and 1 deletions

View File

@ -5,6 +5,64 @@
<!-- Winter 2009 -->
<eventitem date="2009-03-12" time="8:00 AM" edate="2009-03-13" etime="9:00 PM"
room="Toronto Hilton" title="Canadian Undergraduate Technology Conference">
<short>
<p>
See <a href="http://www.cutc.ca">cutc.ca</a> for more details.
</p>
</short>
<abstract>
<p>
The Canadian Undergraduate Technology Conference is Canada's
largest student-run conference. From humble roots it has emerged
as a venue that offers an environment for students to grow
socially, academically, and professionally. We target to exceed
our past record of 600 students from 47 respected institutions
nationwide. The event mingles ambitious as well as talented
students with leaders from academia and industry to offer
memorable experiences and valuable opportunities.
</p>
</abstract>
</eventitem>
<eventitem date="2009-03-09" time="3:00 PM" room="DC1302" title="Prabhakar Ragde">
<short><p>
Functional Lexing and Parsing</p></short>
<abstract>
<p>
This talk will describe a non-traditional functional approach
to the classical problems of lexing (breaking a stream of
characters into "words" or tokens) and parsing (identifying
tree structure in a stream of tokens based on a grammar,
e.g. for a programming language that needs to be compiled or
interpreted). The functional approach can clarify and organize
a number of algorithms that tend to be opaque in their
conventional imperative presentation. No prior background in
functional programming, lexing, or parsing is assumed.
</p>
</abstract>
</eventitem>
<eventitem date="2009-03-12" time="5:00 PM" etime="7:00 PM" room="TBA"
title="IQC - Programming Quantum Computers">
<short>
<p>
A brief intro Quantum Computing and why it matters, followed by a talk on programming
quantum computers.
</p>
</short>
<abstract><p>
TBA</p></abstract>
</eventitem>
<eventitem date="2009-02-27" time="5:00 PM" etime="7:00 PM" room="CSC Office: MC3036" title="Dooly's Night">
<short><p>
Come join the CSC as we head to Dooly's.</p></short>
<abstract><p>
Meet us at the Club office as we head to Dooly's for cheap tables and good times.</p></abstract>
</eventitem>
<eventitem date="2009-02-05" time="5:30 PM" room="MC2062 and MC2063" title="UNIX 101 and 102">
<short><p>
Continuing the popular Unix Tutorials with a rerun of 101 and the debut of 102.</p></short>

View File

@ -20,7 +20,6 @@ END:VCALENDAR
<xsl:template name="eventitem">
<xsl:variable name="room" select="@room" />
<xsl:variable name="start" select="csc:ical-datetime(@date, @time)" />
<xsl:variable name="end" select="csc:ical-datetime(@date, @time, 60)" />
<xsl:variable name="title" select="csc:ical-escape(@title)" />
<xsl:variable name="short" select="csc:ical-escape(string(short))" />
<xsl:variable name="abstract" select="csc:ical-escape(string(abstract))" />
@ -30,7 +29,20 @@ DTSTAMP:20060912T200708Z
UID:<xsl:value-of select="$start" />@csclub.uwaterloo.ca
SEQUENCE:11
DTSTART:<xsl:value-of select="$start" />
<xsl:choose>
<xsl:when test="(string(@edate) != '') and (string(@etime) != '')">
<xsl:variable name="end" select="csc:ical-datetime(@edate, @etime)" />
DTEND:<xsl:value-of select="$end" />
</xsl:when>
<xsl:when test="string(@etime) != ''">
<xsl:variable name="end" select="csc:ical-datetime(@date, @etime)" />
DTEND:<xsl:value-of select="$end" />
</xsl:when>
<xsl:otherwise>
<xsl:variable name="end" select="csc:ical-datetime(@date, @time, 60)" />
DTEND:<xsl:value-of select="$end" />
</xsl:otherwise>
</xsl:choose>
SUMMARY:<xsl:value-of select="$title" /><xsl:if test="$short != ''"> -- <xsl:value-of select="$short" /></xsl:if>
DESCRIPTION:<xsl:value-of select="$abstract" />
END:VEVENT