Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
  • osian/sucs-site
  • kais58/sucs-site
  • imranh/sucs-site
  • foshjedi2004/sucs-site
  • gigosaurus/sucs-site
  • matstn/sucs-site
  • ripp_/sucs-site
  • eggnog/sucs-site
  • sucssite/sucs-site
  • elbows/sucs-site
  • realitykiller/sucs-site
  • crox/sucs-site
  • vectre/sucs-site
  • welshbyte/sucs-site
  • paperclipman/sucs-site
15 results
Show changes
Showing
with 521 additions and 0 deletions
<h3>Counter-Strike Source</h3>
<p>To play Counter-Strike Source <a href="https://games.sucs.org/auth/">log in</a> to the SUCS games system, then connect to <a href="steam://connect/games.sucs.org:27015">games.sucs.org:27015</a> in Counter-Strike.</p>
\ No newline at end of file
<h3>Half-Life 2 Deathmatch</h3> <p>To play HL2DM <a href="https://games.sucs.org/auth/">log in</a> to the SUCS games system, then connect to <a href="steam://connect/games.sucs.org:27016">games.sucs.org:27016</a> in HL2DM.</p>
\ No newline at end of file
<div class="box">
<div class="boxhead">
<h2><a id="20">LAN Gaming @ Swansea Uni</a></h2>
</div>
<div class="boxcontent">
<p>No LAN events are currently planned. Pester your friendly SUCS executive committee to organise one!</p>
<!--<p>The full list of games that may make an appearance can be found <a href="http://sucs.org/Community/Forum/viewtopic.php?id=183">here</a>.</p>
<p>The full list of things to bring can be seen <a href="http://sucs.org/Community/Forum/viewtopic.php?id=184">here</a>.</p>
-->
</div>
<div class="boxfoot">
<p>&nbsp;</p>
</div>
</div>
<h2>Frequently Asked Questions</h2>
<h3>What is a LAN party?</h3>
<p>At a LAN party, people bring their computers along, network them together, and play multiplayer games against each other. It's great fun, and as well as letting you get your game on, it's also a great opportunity to socialise with people with similar interests.</p>
<p align="center"><a href="../pictures/lan1.jpg" title="Our first LAN event!"><img alt="Our first LAN event" src="../pictures/lan1_thumb.jpg" /></a>&nbsp;&nbsp;&nbsp;<a href="../pictures/lan2.jpg" title="Our first LAN event!"><img alt="Our first LAN event" src="../pictures/lan2_thumb.jpg" /></a>&nbsp;&nbsp;&nbsp;<a href="../pictures/lan3.jpg" title="Our first LAN event!"><img alt="Our first LAN event" src="../pictures/lan3_thumb.jpg" /></a></p>
<h3>What games will we play?</h3>
<p>It's mostly up to you!&nbsp; However we'll try to organise a structured tournament for CounterStrike:Source as well as Unreal Tournament if enough people show up with those games installed. </p>
<p>In any case, we'll be running servers of games like Counter Strike: Source, Half-Life 2 Deathmatch, and Unreal Tournament to name a few. We'll have a wide range of games, including some that are entirely free to download - so don't worry if your PC's not quite up to running the latest and greatest games. And let us know if you have any requests! Just because we'll be running some servers, that doesn't stop you running your own on the network, too.&nbsp; Also just give us an email at games [at] sucs [dot] org to nominate any extra games you'd like to see. </p>
<p>&nbsp;An up to date list of games that&nbsp; may be played can be found <a href="http://sucs.org/Community/Forum/viewtopic.php?id=183">on the forum</a></p>
<h3>Who can come?</h3>
<p>Anyone's welcome to come to the LAN Event as long as you're a student at Swansea University. Please <strong>make sure you bring your student card</strong>, otherwise we won't be able to let you in. &nbsp;</p>
<h3>What do I need to bring?</h3>
<ul>
<li>Your PC - the base unit, monitor, mouse, keyboard, mousemat, headphones, etc.
<ul>
<li>Please note <strong>speakers are NOT allowed</strong> at the event - it's far too noisy with a room full of people all with their own speakers. It also uses less power, too! <br /></li>
<li>Please ensure you only bring <strong>one</strong> base unit, too, unless you arrange it with us specially.</li>
<li>Make sure you bring all the relevant cables you need - power, monitor, etc. </li>
<li>Also see <a href="#config" title="How do I need to configure my system?">How do I need to configure my system?</a> </li>
</ul>
</li>
<li>A power strip with enough sockets for what you need to plug in (probably just your monitor and base unit) plus any external drives you want to bring.<br /></li>
<li>CDs for all the games you'll want to be playing. It may also be a good idea to bring your Operating System installation CD, in case you need to reinstall anything.</li>
<li>Food and (non-alcoholic) drink to keep you going. See <a href="#fooddrink" title="Can I bring food and drink?">Can I bring food and drink?</a></li>
<li>Of course, your computer will also need to be fitted with a standard RJ45 LAN socket - either inbuilt, USB Driven or on a PCI card.</li>
<li>Payment for the LAN.&nbsp; If you pre-pay at the SUCS room before they day to one of the SUCS commitee it will only be &pound;1, otherwise it is &pound;2 on the day.&nbsp; We only have a select level of spaces so please email games[at]sucs[dot]org before the day to indicate your intention to come.&nbsp; </li>
</ul>
<h3>How do I get my stuff there?</h3>
<p>If you're on campus, then obviously you can just bring it by hand. Maybe get a friend to help, so you can get it moved faster. If you're off campus, the easiest method is probably to get a taxi. A taxi from the
student village should only cost around &pound;3 and from Mumbles no more than &pound;5. </p>
<h3>Can I bring food and drink?<a name="fooddrink" title="fooddrink"></a></h3>
<p>You certainly can, and it's probably best to. Just bring enough snackfood, fizzy drinks, etc to last you through the day. Please note, however, that <strong>you are NOT allowed to bring alcohol</strong>, as the venue is licensed. There is, however, a bar in the building. </p>
<h3>How do I need to configure my system?<a name="config" title="config"></a></h3>
<p>Please ensure that all your games are <strong>fully up to date</strong> with the latest patches (including your Steam games!) and that you allow Steam to run in <strong>Offline Mode</strong> before you come to the event. Not doing these things can cause&nbsp; a lot of problems, so please make sure you do it, as we can't guarantee there'll be an internet connection at the event. It may also be worth bringing the latest patches along on a CD or your harddrive, too - just in case.&nbsp; In any case Foshjedi2004 will bring the latest patches for the non-steam games on the forum list on one of his external hard drives. </p>
<p> To connect to the network, you'll need to have your PC setup to use DHCP. Unless you have changed these settings, this is usually the default! Windows calls this something along the lines of "Obtain an IP address automatically" in the TCP/IP properties of your network card. As long as you have a network card, we should be able to help you if you are unsure as to how to configure this.</p>
<h3>Will there be an internet connection?&nbsp;</h3>
<p>There should be a wireless internet connection (the University's uniroam connection, which you need to have registered for to use). It's not entirely guaranteed though. </p>
<h3>I have another question...</h3>
<p>Feel free to e-mail us at games [AT] sucs [DOT] org, or if you're a member of SUCS you can post on our forum: <a href="../forum" title="SUCS Forum">http://sucs.org/forum</a></p>
\ No newline at end of file
<p>The SUCS <a href="http://www.minecraft.net">Minecraft</a> server is open to all SUCS members and can be reached by connecting to <em>games.sucs.org</em> in the multiplayer menu of Minecraft.</p>
<p>The SUCS minecraft world is <a href="http://sucs.org/~tswsl1989/minecraft/" title="SUCS Minecraft Map">mapped</a> - this map is normally updated every 4 hours<br />The Minecraft <a href="http://www.minecraftwiki.net/wiki/Minecraft_Wiki" title="Minecraft Wiki">wiki</a> is a useful source of information</p>
\ No newline at end of file
<p>The SUCS <a href="http://openttd.org">OpenTTD</a> server is open to all SUCS members and can be reached by adding <em>games.sucs.org</em> to the multiplayer server list of OpenTTD.</p>
<p>The OpenTTD <a href="http://www.wiki.openttd.org/" title="OpenTTD Wiki">wiki</a> is a useful source of information</p>
\ No newline at end of file
games.sucs.org:27016
\ No newline at end of file
<h3>Unreal Tournament 2004</h3> <p>To play Unreal Tournament 2004 <a href="https://games.sucs.org/auth/">log in</a> to the SUCS games system, then connect to games.sucs.org:7777 in UT2004.</p>
\ No newline at end of file
<h3>Unreal Tournament</h3>
<p>To play Unreal Tournament <a href="https://games.sucs.org/auth/">log in</a> to the SUCS games system, then connect to games.sucs.org:17777 in UT.</p>
<p>The server requires that you have at least version 432 installed. Latest (community maintained) <a href="http://www.utpg.org/">patch is available here</a> for Windows and Linux</p>
\ No newline at end of file
<p><cite>Wolfenstein: Enemy Territory</cite> is a freely available multiplayer FPS game.</p>
<p><a href="ftp://ftp.sucs.org/linux/games/et-linux-2.60.x86.run">Download the Linux version</a> (x86 only)</p>
<p><a href="ftp://ftp.sucs.org/mac/Wolfenstein_ET260c.dmg">Download the Mac version</a></p>
<p><a href="http://sucs.org/~tswsl1989/ET/WolfET.exe">Download the Windows version</a></p>
<p>To connect to the SUCS Wolfenstein: Enemy Territory server:</p>
<ol>
<li>Choose <em>"Play Online"</em> from the main menu</li>
<li>Click <em>"Connect to IP"</em> button, below the server browser.</li>
<li>Enter&nbsp; <span class="tt">games.sucs.org:27016</span> and click <em>"OK"</em></li>
</ol>
\ No newline at end of file
<h2>Getting Started</h2>
<p>Congratulations on becoming a SUCS member! But what can you do with your new-found membership? Why not try one of the following?</p>
<ul>
<li>Chat with us on our <a href="Community/Milliways" title="Milliways, the SUCS talker">chat room</a></li>
<li>Come to a social [JCs, Wednesdays, 1pm]</li>
<li>Visit <a href="About/Room" title="The SUCS room">the room</a></li>
<li>Find out <a href="News/" title="SUCS news">what's happening</a></li>
<li>Log in <a href="Knowledge/Help/SUCS%20Services/Logging%20in%20remotely" title="Logging in remotely">remotely</a></li>
<li>Access your <a href="Knowledge/Help/SUCS%20Services/Using%20WebDAV" title="Accessing your files remotely with WebDAV">disk space</a></li>
<li>Host your <a href="Knowledge/FAQ#s_s4" title="SUCS FAQ: Where's my website?">website</a> with us</li>
<li>Play some <a href="Games" title="The SUCS game server">games</a></li>
<li>Browse our <a href="Knowledge/Library" title="The SUCS library">library</a></li>
<li>Check out a <a href="Community/Projects" title="SUCS Projects">project</a> (or start your own)</li>
<li>Join our development <a href="http://lists.sucs.org/mailman/listinfo/devel" title="SUCS Devel mailing list">mailing list</a> (for our website, computer system, etc)</li>
</ul>
\ No newline at end of file
<h2><a href="Knowledge/FAQ">FAQ</a></h2>
<p>The FAQ section is a good starting point. It will give you an idea of the tools you will need to use to perform a particular task, often linking into the Help section for more detailed instructions</p>
<h2><a href="Knowledge/Help">Help</a></h2>
<p>For more specific instructions, use the Help section.</p>
<h2><a href="Knowledge/Articles">Articles</a></h2>
<p>Here, you will find articles written by SUCS members providing more in-depth analysis.</p>
<h2><a href="Knowledge/Library">Library</a></h2>
<p>Here you can see all the books we have in the SUCS library.</p>
\ No newline at end of file
<p><a href="http://www.ipv6.org/">IPv6</a> is the next generation of the Internet Protocol. It is intended to completely replace what is now called IPv4, which is the current version of the Internet Protocol which you will be familiar with.</p>
<p>A major reason for the existence of a new Internet protocol is the impending exhaustion of globally unique IPv4 addresses. Recently the lifetime of IPv4 has been extended through use of network address translation (NAT), and classless inter-domain routing (CIDR - a method of allocating smaller subnets to organisations than the original classful networks). NAT allows systems without a globally unique address to access the Internet, but causes significant problems for any peer-to-peer applications such as SIP since it effectively turns the Internet into a client-server, rather than peer-to-peer architecture.</p>
<p>IPv6 solves this problem fairly comprehensively by quadrupling the length of IP addresses from 32 bits (in IPv4) to 128 bits. This gives 3.4x10<sup>38</sup> addresses, an extremely huge number indeed. To give you an idea of just how many addresses this is, it allows for approximately 6.67x10<sup>17</sup> addresses per square millimetre, or the equivalent of an IPv6 /48 netblock (2.8x10<sup>14</sup> more addresses than all the IPv4 addresses in existence) per 100 square metres, of the Earth's surface.<br /></p><p>IPv6 also offers other significant improvements over IPv4 such as built in IPSEC VPN support, automatic configuration (plug and play) and improved multicast capabilities.<br /></p>
<h2>What IPv6 looks like</h2>
<p>The currently ubiquitous dotted-decimal notation for IPv4 addresses is rather awkward when dealing with addresses at a bit level, not to mention being long winded. In dotted decimal notation the IPv6 address of <a href="http://www.kame.net">www.kame.net</a> would be 32.1.2.0.0.0.128.2.2.3.71.255.254.165.48.133. In standard IPv6 notation it is:</p>
<p><code>2001:0200:0000:8002:0203:47ff:fea5:3085</code></p>
<p>The leading zeros in any group can be eliminated, thus giving:</p>
<p><code>2001:200:0:8002:203:47ff:fea5:3085</code></p>
<p>In addition, any one series of groups containing only 0 can be omitted:</p>
<p><code>2001:200::8002:203:47ff:fea5:3085</code></p>
<p>Note that this can only be done for one group, since it might otherwise represent either of two numbers.<br /></p><h2>Who can use IPv6?</h2><p>Whilest the preferred method of using IPv6 is via a native IPv6 network, this is usually not possible since most ISPs don't provide IPv6 connectivity. However, anyone with a global scope IPv4 address and participate in the IPv6 network by using the 6to4 mechanism so long as they don't have to go through a firewall which blocks IPv4 protocol 41 (6-in-4).<br /></p><p>This is very easy to set up on most modern systems. For example, under Fedora Core you simply need to edit <span style="font-style: italic;">/etc/sysconfig/network</span> and add:<br /></p><div style="margin-left: 40px;"><span style="font-family: courier new,courier,monospace;">NETWORKING_IPV6=yes</span><br style="font-family: courier new,courier,monospace;" /><span style="font-family: courier new,courier,monospace;">IPV6_DEFAULTDEV=tun6to4</span><br style="font-family: courier new,courier,monospace;" /><span style="font-family: courier new,courier,monospace;">IPV6INIT=yes</span><br /></div>And edit your external network interface configuration (e.g. <span style="font-style: italic;">/etc/sysconfig/network-scripts/ifcfg-eth0</span>) and add:<br /><div style="margin-left: 40px;"><span style="font-family: courier new,courier,monospace;">IPV6TO4INIT=yes<br /></span></div>
<p>Please note that if you're using your Linux system as a firewall you will also need to apply firewall rules to the IPv6 network by using <em>ip6tables</em> and if you're routing traffic through the box you'll want to turn on IPv6 forwarding and fiddle with the <em>radvd</em> router advertisement daemon</p>
<h2>Setting up IPv6 on Linux</h2>
<p>If you already have a globally unique IPv4 address, you can use this to access the IPv6 internet using a scheme called 6to4. This involves IPv6 packets being encapsulated within IPv4 packets and forwarded to an IPv6 aware router. You do need an IPv6 aware router to do this; however, you do not need to know its IP address or who it belongs to, as you can get the packets automagically forwarded to the nearest 6to4 gateway using a special <em>anycast</em> address.</p>
<p>First, you need to generate a 6to4 address for your subnet. To find out your current IP address, type:</p>
<p><code>ip addr show</code></p>
<p>Suppose your IPv4 address is 1.2.3.4. If this is globally unique (generally it will be if it isn't in one of the ranges reserved for private networks defined in RFC 1918), you can turn this into a globally unique IPv6 address by simply putting it in IPv6 hexadecimal notation with the prefix 2002::/16, so your Internet-facing address might be 2002:102:304::1. (In fact, 2002:102:304::/48 is your very own subnet which has 2<sup>8</sup> times more addresses than exist in the whole IPv4 address space. If you own a router that has a globally unique IPv4 address you can theoretically set up its DHCP server to hand out globally unique addresses with this prefix to all the hosts it supports.)</p>
<p>Here is a command you can use to calculate this address, given an IPv4 address of 1.2.3.4:</p>
<p><code>printf &quot;2002:%02x%02x:%02x%02x::1&quot; `echo 1.2.3.4 | tr &quot;.&quot; &quot; &quot;`</code></p>
<p>Now you know your IPv6 address, you need to create a 6to4 tunneling pseudodevice. This can be done as root with the <code>ip</code> command like so:</p>
<p><code>ip tunnel add tun6to4 mode sit ttl 30 remote any local 1.2.3.4</code></p>
<p>Note that the 'local' address at the end is your IPv4 address. (Side note: ttl is the default Time To Live header for outgoing packets, meaning the maximum number of routers packets are allowed to go through before they get dropped (this is used just as in IPv4, to stop packets going round in circles if they hit a routing loop). 30 should be plenty. In fact, at this point in time you will often be able to get a connection to another IPv6 host over just one hop, with all of the routers in between using IPv4 and therefore not decrementing the TTL - but just in case, and because this will (hopefully!) not be the case in future, 30 is a good default.)</p>
<p>Now bring this tunnel up (don't worry that you can't use it yet):</p>
<p><code>ip link set dev tun6to4 up</code></p>
<p>Now you need to assign a 6to4 address to the tunnel. This is the address with the prefix 2002::/16 which you worked out earlier.</p>
<p><code>ip -6 addr add 2002:102:304::1/16 dev tun6to4</code></p>
<p>The /16 is important, as it indicates that the 2002 is the 6to4 prefix and not just some arbitrary address. You will still not be able to connect yet, as the network stack doesn't know where to send packets. So you need to set up a default route for Internet traffic. Here is the magic bit. With IPv4 you usually find out the address of your default gateway from DHCP (and in fact you can still do this with IPv6). With 6to4, you can have your upstream router handle IPv6 natively (pretty rare at this point in time), or know the IPv4 address of a 6to4 gateway (which might not be possible or convenient). Or you can send packets out through the IPv4 internet looking for <em>any</em> 6to4 gateway using a special destination address called <em>anycast</em>. This address is 192.88.99.1. Here is how you set it up:</p>
<p><code>ip -6 route add 2000::/3 via ::192.88.99.1 dev tun6to4 metric 1</code></p>
<p>Here the 'metric' argument of 1 indicates that the network stack should prefer to use this route if it can.</p>
<p>Now you should be set up and able to access the IPv6 internet. Try a ping:</p>
<p><code>ping6 www.kame.net</code></p>
<p>If you see responses, you can access the v6 internet. You should also try looking at the <a href="http://www.kame.net/">Kame project website</a> - if you see a dancing turtle at the top, your web browser is using IPv6!</p>
\ No newline at end of file
<p>Suppose you have a function</p>
<pre>add :: Int -&gt; Int -&gt; Int<br />add a b = a + b</pre>
<p>Now suppose we have a second function</p>
<pre>add5 :: Int -&gt; Int<br />add5 x = add 5 x</pre>
<p>So now <span class="tt">add5</span> is a function that takes its argument, adds it to 5, and returns the result.</p>
<p>In Haskell, we can simplify the definition of <span class="tt">add5</span> slightly by eliminating its argument, viz.:</p>
<pre>add5 = add 5</pre>
<p>This process is called &quot;currying&quot; (after Haskell Curry, who popularized the technique - yes, this is the same Haskell that the language is named after). <span class="tt">add5</span> is now declared like a constant, but it is still a function with one argument.</p>
<p>Now instead of seeing <span class="tt">add</span> as a function that takes two arguments, we can see it is a function which takes one argument, and returns another function with the value 5 embedded inside it. This second function also takes one argument. When you call this second function with some argument, it adds the argument with the value that&#39;s embedded inside it (in this case, 5) and returns its result. So <span class="tt">add x y</span> can also be written <span class="tt">(add x) y</span>.</p>
<p>We can also write add5 like this:</p>
<pre>add5 = \x -&gt; add 5 x</pre>
<p>An expression like <span class="tt">\x -&gt; y</span> is a &lambda;-expression. (The Greek letter lambda (&lambda;) can&#39;t be typed on most keyboards, but <span class="tt">\</span> looks a bit similar, so Haskell uses that instead.) It&#39;s an anonymous function that takes one argument, calling it <span class="tt">x</span>, and returns <span class="tt">y</span>. In lambda calculus notation, <span class="tt">\x -&gt; y</span> is &lambda;x.y.</p>
<p>Suppose <span class="tt">y</span> is <span class="tt">5 + x</span>. If we want to call our &lambda;-expression <span class="tt">\x -&gt; 5 + x</span> (in lambda calculus, &lambda;x.5 + x) with some value <span class="tt">z</span>, we write <span class="tt">(\x -&gt; 5 + x) z</span>. (If this confuses you, notice that <span class="tt">add 5</span> is just the same as <span class="tt">\x -&gt; 5 + x</span>. I.e., it is a function that takes an argument and adds 5 to it. So <span class="tt">(\x -&gt; 5 + x) z</span> is really just the same as <span class="tt">(add 5) z</span>, which as we established above is the same as <span class="tt">add 5 z</span>).</p>
<p>To evaluate <span class="tt">(\x -&gt; 5 + x) z</span>, what we do is what is called a &beta;-reduction (&beta; being the Greek letter beta, if you didn&#39;t know). This basically involves replacing all occurences of the variable name <span class="tt">x</span> in the right hand side of the &lambda;-expression with z. So <span class="tt">(\x -&gt; 5 + x) z</span> becomes <span class="tt">5 + z</span>. This is what is expressed on your notes as something like (&lambda;x.y) z =&gt; y[z/x] (I might have got the z and x the wrong way round here, since I don&#39;t have my notes handy right now). y[z/x], which some texts write y[x := z], just means y with all appearances of x replaced with z.</p>
<p>There are two more conversions you can do: &alpha;-conversion and &eta;-conversion. &eta;-conversion (&eta; is called eta) is the name given to the process by which we derived the second definition of add5 from the first (and in reverse, yields the third from the second). Basically, an expression like <span class="tt">\x -&gt; f x</span> can be replaced with just <span class="tt">f</span>, because this &quot;application&quot; function is just the same as the function that it applies. (Because for any <span class="tt">z</span>, <span class="tt">(\x -&gt; f x) z == f z</span>.) However, to take an example from &quot;The Haskell School of Expression&quot; (again from memory), a function like <span class="tt">foo x y = f y x y</span> can&#39;t be replaced by <span class="tt">foo x = f y x</span>, because then what is <span class="tt">y</span> on the right? This is what the notes mean when they say that &lambda;x.f x can be replaced with f only if x doesn&#39;t appear free in f. (The meaning of &quot;free&quot; here will be explained in the next paragraph.)</p>
<p>&alpha;-conversion (&alpha; is called alpha) is really just a technicality of the textual nature of the lambda calculus, and it says that two expressions which differ only in the names of their variables are the same. For example, suppose we have a function <span class="tt">\x -&gt; (\x -&gt; x)</span>. How then do we reduce <span class="tt">(\x -&gt; (\x -&gt; x)) z</span>? We can&#39;t reduce it to <span class="tt">\x -&gt; z</span>, because the inner lambda declares <span class="tt">x</span> in the expression to the right of the arrow to be the function&#39;s argument (we say that this <span class="tt">x</span> is a bound variable, or is bound by this lambda - a free variable is simply one that isn&#39;t bound by a lambda). We have to rename this inner <span class="tt">x</span> to make it not clash. So we replace <span class="tt">x</span> in the inner lambda expression with some other name - say, <span class="tt">y</span>. Then <span class="tt">\x -&gt; x</span> becomes <span class="tt">\y -&gt; y</span>. Now <span class="tt">(\x -&gt; (\y -&gt; y)) z</span> obviously can only reduce to <span class="tt">(\y -&gt; y)</span>[<span class="tt">z</span>/<span class="tt">x</span>], and since <span class="tt">x</span> doesn&#39;t appear in <span class="tt">\y -&gt; y</span>, this reduces to just <span class="tt">\y -&gt; y</span>.</p>
<p>So to summarise:</p>
<ul>
<li>&lambda;x.y means a function taking an argument x and returning y.</li>
<li>&lambda;x.y is written in Haskell as <span class="tt">\x -&gt; y</span>.</li>
<li>In &lambda;x.f x, where x and f are variables, x is bound and f is free.</li>
<li>A function taking multiple arguments is the same as a function taking one argument and returning a function taking another argument. So if <span class="tt">foo bar baz = quux</span>, then
<pre>foo bar baz
= (foo bar) baz
= (\x -&gt; (\y -&gt; quux)) bar baz
= ((\x -&gt; (\y -&gt; quux)) bar) baz</pre>in
which all of <span class="tt">foo</span>, <span class="tt">foo bar</span>, <span class="tt">\x -&gt; (\y -&gt; quux)</span>, and <span class="tt">(\x -&gt; (\y -&gt; quux)) bar</span> are functions. Note that there is some syntactic sugar
in Haskell:<pre>\x -&gt; (\y -&gt; quux)
= \x -&gt; \y -&gt; quux
= \x y -&gt; quux</pre></li>
<li>&alpha;-conversion: renaming bound variables, usually to avoid a clash.</li>
<li>&beta;-reduction: evaluating function applications.</li>
<li>&eta;-conversion: currying.</li>
</ul>
\ No newline at end of file
<p>The Nokia 770 is the latest craze to hit the playground. First it was Pogs, Go-Gos, Diablos and then Yo-Yos. But now it seems everyone and their dog has got a 770, and is busy customising, crashing, hacking and rebooting their way to mobile internetdom*.</p><p>*As long as you are near a wifi point, or have one of the 5 models of mobile phone that actually work through bluetooth with the 770 :)</p><h1>IT2007 HE tips</h1><ul><li>Initially, the radio streamer doesn&#39;t work in IT2007 HE on the 770. To fix this, type:<br /><pre>gconftool-2 --set /apps/osso/osso_media_server/demux_audio/application_x-icy --type list --list-type string &#39;[application/x-icy,icydemux]&#39;</pre>in a console and reboot.&nbsp; </li><li>The Application Manager has a &quot;red pill&quot; mode which allows you to see all the packages available, not just user apps. To enable it, add a new repository, put &quot;matrix&quot; in the URL box and then click Cancel. Choose Red to see the extra packages, Blue to switch back to normal view.</li><li>To disable the annoying Nokia jingle on boot, move or delete the file &quot;/usr/share/sounds/ui-wake_up_tune.wav&quot;. This also improves the boot time by about 5 seconds as it doesn&#39;t have to wait for the sound to play before continuing</li><li>To change your bootup/shutdown Nokia logo and the splash screen, edit the files:<br />/usr/share/icons/hicolor/scalable/hildon/qgn_indi_startup_nokia_logo.png<br />/usr/share/icons/hicolor/scalable/hildon/qgn_indi_nokia_hands.jpg<br /> </li>
<li>Free 22MB (22808k) on your root filesystem
<ul>
<li>remove all PDFs except User_guide_English_GB.pdf from /home/user/MyDocs/.documents/ Of course, you can delete that one too if you want.</li>
<li>Move the sample audio and video in /home/user/MyDocs/.sounds/ and /home/user/MyDocs/.videos onto your MMC (or delete them).</li>
<li>Remove all dirs except en_GB and graphics from /usr/share/osso-help/</li>
</ul>
</li>
<li>The supplied gpsd does not work on the 770. My solution was to download <a href="http://ftp.gnuab.org/debian/pool-armel/main/g/gpsd/gpsd_2.33-5_armel.deb">gpsd_2.33-5_armel.deb</a>, then do the following:
<pre>dpkg --extract gpsd_2.33-5_armel.deb [somedir]<br />cd [somedir]<br />cp -R * /<br />ln -s /usr/lib/libdbus-1.so.2.0.0 libdbus-1.so.3</pre></li></ul>
<h2>Creating an application icon</h2><p>Having installed kismet, and used it in conjunction with my GPS, I decided it would be useful to be able to launch it from a single button-press on the home screen rather than have to open xterm and then start it by typing several lines into the shell.</p><p>The first step was to write a script that turned these several lines into a single command - first, I have to connect to the GPS unit, wait for the connection to be established, start gpsd and then fire up kismet as root (so that it can manipulate the wifi interface). I had already allowed my user to sudo without a password, so this was simply a case of <a href="../../~dez/nokia770/kismet">writing a straightforward script</a>, which I put in /usr/local/sbin. So far so good - as long as the GPS device is switched on and in range, the script connects to it, starts gpsd and fires up kismet. If the GPS cannot be connected to, gpsd fails to start and kismet quits because it can&#39;t talk to gpsd, which is fine.</p><p>Having done this, it&#39;s time to create a menu item. To do this, you need to add <a href="../../~dez/nokia770/kismet.desktop">kismet.desktop</a> to /usr/share/applications/hildon. Once it&#39;s there, you should see a new Kismet icon on the applications menu under &quot;Extras&quot;. You can use the Navigation control panel to move this where you want it.</p><p>Clicking on the menu item runs the kismet script inside an xterm. When the script finishes, xterm closes - perfect!</p><p>However, I wanted to have an icon on my desktop. I use both <a href="http://maemo.org/downloads/product/idea/">IDEA!</a> and <a href="https://garage.maemo.org/projects/simple-launcher/">Simple Launcher</a> as IDEA! gives me nice big icons I can press with a finger and Simple Launcher gives me lots of smaller icons (which I&#39;m using for games). Both require an item to be a service in order for it to run, so you need to put <a href="../../~dez/nokia770/kismet.service">kismet.service</a> into /usr/share/dbus-1/services. Once this is in place, you can add the icon to whichever tool you prefer giving you single click initiation of kismet. </p><h2>Upgrades to install</h2>
<ul>
<li>maemo-af-desktop*: fixes the delayed appearance of the desktop on boot
</li></ul>
<h2>Upgrades that will break your 770&nbsp;</h2>
<ul><li>maemo-launcher 0.21-1: it will crash your 770 and prevent it from booting. Do:<br />
echo &quot;maemo-launcher hold&quot; | dpkg --set-selections<br /> to prevent it being installed using apt-get. Note that this does not stop it appearing in Application Manager. <em>Having done the package hold and tried to install it via package manager, it appears to have installed and did not cause the machine to go into a boot loop.</em> </li>
<li>osso-wlan 1.2.1: Stops the wireless connection from working</li><li>xkbdata 0.8-0osso11: Stops the arrow keys working - both on the device itself and on a bt keyboard </li>
<li>xserver-xomap 1:1.1.99.3-0osso37: causes a reboot cycle after about 60% of the blue boot progress bar</li>
</ul><h1>Restoring from a continually rebooting device</h1><p>A number of times over the last couple of days, I have managed to get my 770 into a state where it starts booting, fails part way through and then resets and starts the process again. Under these circumstances, the only way to recover is to reflash the operating system to the device. This is a documentation of the steps I am now using in this situation.</p><ul><li>Flash the device with IT2007 HE (as you&#39;re reflashing anyway, you might as well put the newest and best version of the OS available onto your device). Instructions for this can be found <a href="http://maemo.org/community/wiki/os2007on770/">here</a>.</li><li>If you don&#39;t have a backup of your OS to restore from, firstly, shame on you! Secondly, here&#39;s the punishment - you now have to add all your maemo repositories and then install all the software you want from scratch. This will probably take about a day. The list of repositories can be found <a href="http://maemo.org/community/wiki/applicationrepositories/">here</a>.</li><li>If you have taken a backup to the memory card, you will be offered the chance to restore it during the initial setup phase. Do so as it will give you your repository list and settings back.</li><li>It still won&#39;t give you your applications, so start installing them all over again.</li><li>Once you&#39;ve finished installing apps, hopefully you won&#39;t want to repeat the experience. Therefore, you&#39;ll want to take a <strong>proper</strong> backup that actually takes copies of <em>all</em> your files. This is where my script comes in, found <a href="../../~dez/nokia770/Makefile.770sync">here</a>. See the <a href="http://www.bleb.org/software/770/#sync">&quot;Synchronisation and backup using rsync &amp; make&quot;</a> section on Andrew Flegg&#39;s Maemo page for details of how to use this. Mine is simply an update of his Makefile that grabs everything that isn&#39;t temporary data from the 770&#39;s filesystem.</li></ul><h2>How to recover when you have a complete backup</h2><ul><li>Flash the device with IT2007 HE - <a href="http://maemo.org/community/wiki/os2007on770/">instructions</a>.</li><li>Install the MMC backup to recover repositories.</li><li>Refresh the package list - although the repositories are there, the lists haven&#39;t been downloaded</li><li>Install becomeroot, dropbear-client, dropbear-server, osso-xterm and rsync</li><li>Reboot (otherwise you won&#39;t get the nice font it installed for xterm)<br /></li><li>Pair bluetooth keyboard (if available)</li><li>Run xterm</li><li>/usr/sbin/gainroot</li><li>ssh root@localhost</li><li>(Yes you want to continue connection)</li><li>Password: rootme</li><li>passwd</li><li>Choose a password</li><li>exit all three shells - yes, three (gainroot started one)</li><li>Make sure your wifi connection is active</li><li>Plug into the mains (particularly if your battery is low - this will be power intensive)</li><li>Go to the machine you took your backup to</li><li>The Remote Host Identification will have changed as you&#39;ve installed a new system with a new host key. Remove the key from ~/.ssh/known_hosts (check for multiple keys for the same host and remove them all).</li><li>Save the known_hosts file<br /></li><li>Change to the backup directory and type &quot;make push&quot;</li><li>Yes you&#39;re sure you want to continue connecting</li><li>Type the root password that you just chose for your 770 when prompted <br /></li><li>Watch it copy all your data back</li><li>Shutdown</li><li>Power up</li></ul><h1>Links</h1><ul><li><a href="http://www.home.unix-ag.org/simon/files/n770/">http://www.home.unix-ag.org/simon/files/n770/&nbsp;</a></li></ul>
\ No newline at end of file
<p><strong><a href="#sucs_membership">SUCS Membership</a></strong></p>
<ul>
<li><a href="#s_m1">I missed you at Freshers' Fayre and enrolment, how do I join?</a></li>
<li><a href="#s_m2">Why should I join SUCS?</a></li>
<li><strong><a href="#storage_space">Storage Space</a></strong>
<ul>
<li><a href="#s_s1">What <em>can</em> I use my SUCS space for?</a></li>
<li><a href="#s_s2">What <em>can't</em> I use my SUCS space for?</a></li>
<li><a href="#s_s3">How do I access my files from home?</a></li>
<li><a href="#s_s4">Where is my web space?</a></li>
<li><a href="#s_s5">How can I make a website?</a></li>
<li><a href="#s_s6">How do I set up a SUCS blog?</a></li>
</ul>
</li>
</ul>
<p>
<strong><a href="#community">Getting to know other SUCS members</a></strong></p>
<ul>
<li><a href="#com1">How can I get to know other SUCS members?</a></li>
<li><strong><a href="#milliways">Milliways</a></strong>
<ul>
<li><a href="#mil1">How do I use Milliways?</a></li>
<li><a href="#mil2">How do I get colours and other Milliways scripts?</a></li>
<li><a href="#mil3">I'm using Putty and I keep pasting when I right click, how can I fix this?</a></li>
<li><a href="#mil4">How do I see special characters?</a></li>
</ul>
</li>
<li><strong><a href="#gaming">Gaming</a></strong>
<ul>
<li><a href="#gam1">What games can I play on the SUCS gameserver?</a></li>
<li><a href="#gam2">I don't have some of these games, where can I find them?</a></li>
<li><a href="#gam3">How do I join a game?</a></li>
<li><a href="#gam4">I want to play [some game not available], how can I?</a></li>
</ul>
</li>
<li><strong><a href="#socials">Socials</a></strong>
<ul>
<li><a href="#soc1">When are the socials?</a></li>
<li><a href="#soc2">Where are the socials?</a></li>
<li><a href="#soc3">What do you do at the socials?</a></li>
<li><a href="#soc4">Will there be other social events?</a></li>
</ul>
</li>
</ul>
<p>
<strong><a href="#the_room">The Room</a></strong></p>
<ul>
<li><a href="#t_r1">Where is the room exactly?</a></li>
<li><a href="#t_r2">How do I get into the room?</a></li>
<li><a href="#t_r3">Are there any rules for using the room?</a></li>
<li><a href="#t_r4">What can I do in the room?</a></li>
<li><a href="#t_r5">How do I connect to GuestNET?</a></li>
<li><a href="#iDevice">I have an iDevice how can I connect to the WiFi?</a></li>
<li><strong><a href="#computers">Computers</a></strong>
<ul>
<li><a href="#comp1">How do I change my password?</a></li>
<li><a href="#comp2">What operating system is running on the computers in the room?</a></li>
<li><a href="#comp3">I am a Windows user and have never used Linux before, what do I do?</a></li>
<li><a href="#comp4">Why Linux?</a></li>
</ul>
</li>
<li><strong><a href="#printing">Printing</a></strong>
<ul>
<li><a href="#prin1">Is there a limit to how much printing I can do?</a></li>
<li><a href="#prin2">My document was written in MS Word, how can I view it on the SUCS computers?</a></li>
<li><a href="#prin3">I am connected to GuestNet, how do I print from my own computer?</a></li>
</ul>
</li>
<li><strong><a href="#burning_cds">Burning CDs</a></strong>
<ul>
<li><a href="#b_c1">How do I burn CDs?</a></li>
<li><a href="#b_c2">Which computers in the SUCS room have CD burners in?</a></li>
<li><a href="#b_c3">Where can I get CDs from?</a></li>
</ul>
</li>
<li><strong><a href="#scanning">Scanning</a></strong>
<ul>
<li><a href="#scan1">How do I use the scanner?</a></li>
</ul>
</li>
<li><strong><a href="#library">Library</a></strong>
<ul>
<li><a href="#lib1">What books are in the library?</a></li>
<li><a href="#lib2">I'm doing Computer Science, which of these are recommended course text?</a></li>
<li><a href="#lib3">How do I take a book from the library?</a></li>
</ul>
</li>
</ul>
<p>
<strong><a href="#tools">Tools</a></strong></p>
<ul>
<li><a href="#tool1">What tools are available on the SUCS site?</a></li>
<li><a href="#tool2">How do I use [tool]?</a></li>
<li><strong><a href="#sucs_mail">SUCS mail</a></strong>
<ul>
<li><a href="#s_ma1">How do I check my SUCS mail?</a></li>
<li><a href="#s_ma2">How do I use Web Mail?</a></li>
<li><a href="#s_ma3">How do I set up my client for my SUCS e-mail account?</a></li>
<li><a href="#s_ma4">How do I set up e-mail forwarding for my SUCS e-mail account with Web Mail?</a></li>
<li><a href="#s_ma5">I keep getting the same e-mail from SUCS to several of my addresses. How do I stop this happening?</a></li>
</ul>
</li>
</ul>
<p>
<strong><a href="#problems">Problems</a></strong></p>
<ul>
<li><a href="#prob1">Something has gone awry with one of the SUCS services, where can I get help?</a></li>
</ul>
<hr />
<h2><a id="sucs_membership">SUCS Membership</a></h2>
<dl>
<dt><a id="s_m1">I missed you at Freshers' Fayre and enrolment, how do I join?</a></dt>
<dd>Use the online form at the bottom of the <a href="../About/Joining">Joining</a> page or come to the room.</dd>
<dt><a id="s_m2">Why should I join SUCS?</a></dt>
<dd>There is more information about joining SUCS and the benefits of joining on the <a href="../About/Joining">Joining page</a>.</dd>
</dl>
<h3><a id="storage_space">Storage Space</a></h3>
<blockquote>
<dl>
<dt><a id="s_s1">What <em>can</em> I use my SUCS space for?</a></dt>
<dd>Storing files and hosting a personal website or files.</dd>
<dt><a id="s_s2">What <em>can't</em> I use my SUCS space for?</a></dt>
<dd>Storing and sharing illegal or copyrighted material such as mp3s and video files. For further details, please see the <a href="../About/Conditions">SUCS Terms and Conditions</a>. </dd>
<dt><a id="s_s3">How do I access my files from home?</a></dt>
<dd>There are a couple of ways you can access your SUCS files from home. One of the easiest ways is to use a system called WebDAV. This allows you to access your files as though you were looking through folders on your own computer. Check out the <a href="Help/SUCS%20Services/Using%20WebDAV">WebDAV</a> page of the help wiki for more information. You can also log into your SUCS account using SSH, which allows you to access your files from a command line. This is somewhat more technical, but it's a good thing to know how to do. Visit the <a href="Help/SUCS%20Services/Logging%20in%20remotely">remote login page</a> on the help wiki for more information.</dd>
<dt><a id="s_s4">Where is my web space?</a></dt>
<dd>Your public_html folder in your home directory is where you can put files for online viewing. You can also see them at this address: <a href="/~username">http://www.sucs.org/~username</a></dd>
<dt><a id="s_s5">How can I make a website?</a></dt>
<dd>If you are new to HTML and CSS then <a href="http://w3schools.com/" target="_blank">W3Schools</a> has a lot of tutorials that would be useful. Anything you want to be viewed online should be stored in your public_html folder. You can access this on the SUCS machines and using a program such as WinSCP or webDAV. Details of how to set up your public_html folder and write your first web page are available in the <a href="Help/SUCS%20Services/Using%20your%20web%20space">Using your web space</a> walkthrough. </dd>
</dl>
</blockquote>
<hr />
<h2><a id="community">Getting to know other SUCS members</a></h2>
<dl>
<dt><a id="com1">How can I get to know other SUCS members?</a></dt>
<dd>You can talk to them on Milliways, join in a game on the gameserver or come to the socials :).</dd>
</dl>
<h3><a id="milliways">Milliways</a></h3>
<blockquote>
<dl>
<dt><a id="mil1">How do I use Milliways?</a></dt>
<dd>The How To for Milliways is <a href="Help/SUCS%20Services/Using%20Milliways">here</a> or you can use the web based version of the talker, available at <a href="{$baseurl}/mw">http://sucs.org/mw</a><br />Note that the web talker only supports a few basic commands, not the full feature set supported by the main client.<br /></dd>
<dt><a id="mil2">How do I get colours and other Milliways scripts?</a></dt>
<dd>There is a How To for this in the Help section <a href="Help/SUCS%20Services/Using%20Milliways/Setting%20up%20Milliways%20Scripts">here</a>.</dd>
<dt><a id="mil3">I'm using Putty I keep pasting when I right click, how can I fix this?</a></dt>
<dd>Open Putty and go to the Selection category under Window. You need to change the 'Control use of mouse' to 'Middle extends, Right brings up menu'. This way you still copy something from Milliways buy selecting it only. It is best to create a saved session for Milliways if you have not already, to save you doing this each time you log in.</dd>
<dt><a id="mil4">How do I see special characters?</a></dt>
<dd>Have a look at the How To <a href="Help/SUCS%20Services/Using%20Milliways/Correcting%20your%20character%20encoding%20in%20Milliways">here</a>.</dd>
</dl>
</blockquote>
<h3><a id="gaming">Gaming</a></h3>
<blockquote>
<dl>
<dt><a id="gam1">What games can I play on the SUCS gameserver?</a></dt>
<dd>Have a look at the <a href="../Games">Games</a> page.</dd>
<dt><a id="gam2">I don't have some of these games, where can I find them?</a></dt>
<dd>Some are freely available online, otherwise you might have to buy them. Some should be on the computers in the SUCS room, so if you are playing from the SUCS room just have a look on the computer you are using. Check out each game's page for information on obtaining it.</dd>
<dt><a id="gam3">How do I join a game?</a></dt>
<dd>First go to the Games page and log in, then leave the browser window open and start up the game normally. You need to look at the individual page for each game to get the connection information. These are available from the Games page.</dd>
<dt><a id="gam4">I want to play [some game not available], how can I?</a></dt>
<dd>There may be a reason why this is not available, why not ask or make a suggestion for a game on the forum?</dd>
</dl>
</blockquote>
<h3><a id="socials">Socials</a></h3>
<blockquote>
<dl>
<dt><a id="soc1">When are the socials?</a></dt>
<dd>Every week on Wednesday from 1pm until people leave :).</dd>
<dt><a id="soc2">Where are the socials?</a></dt>
<dd>JC's bar in Fulton House.</dd>
<dt><a id="soc3">What do you do at the socials?</a></dt>
<dd>We just hang out really and chat. It is more of a way to get to know everyone and relax ;).</dd>
<dt><a id="soc4">Will there be other social events?</a></dt>
<dd>Yes there will. Keep an eye on your SUCS mail, the forums or even Milliways for more details. Also, at the end of the year after exams there is the annual beach party.</dd>
</dl>
</blockquote>
<hr />
<h2><a id="the_room">The Room</a></h2>
<dl>
<dt><a id="t_r1">Where is the room exactly</a></dt>
<dd>The room is located on the ground floor of the SU building. See <a href="../About/Room">this page</a> for more details.</dd>
<dt><a id="t_r2">How do I get into the room?</a></dt>
<dd>If you are a student with the old magnetic strip student card, then you swipe your student card in the card reader next to the door, wait for a few seconds and the door will unlock. The monitor by the window shows you the status of the card reader.<br />If you are a student with one of the new cards (without a magnetic strip), place the card on the labelled area next to the card reader, and the door should unlock.<br />Should you need to change the card that you use to access the room, bring it with you to the room and someone should be able to help.<br /></dd>
<dt><a id="t_r3">Are there any rules for using the room?</a></dt>
<dd>Yes. You can read them <a href="../About/Room%20Rules">here</a> or on the notice board in the room.</dd>
<dt><a id="t_r4">What can I do in the room?</a></dt>
<dd>You can: use the computers; print documents; burn CDs; use the scanner; take books out from the library; and bring your own computer and and hook it up to GuestNET.</dd>
<dt><a id="t_r5">How do I connect to GuestNET?</a></dt>
<dd>Take a look at the GuestNET How To page in the Help section <a href="Help/SUCS%20Services/Connecting%20to%20GuestNet">here</a>.</dd>
<dt><a id="iDevice"> I have an iPhone/iPad/Mac how do I connect to the WiFi?</a></dt><a id="iDevice">
</a><dd><a id="iDevice">You can use the wireless profile </a><a href="https://sucs.org/files/SUCS_WiFi.mobileconfig">here</a></dd></dl>
<p><a id="iDevice">
</a></p>
<h3><a id="iDevice"></a><a id="computers">Computers</a></h3>
<blockquote>
<dl>
<dt><a id="comp1">How do I change my password?</a></dt>
<dd>If you are using one of the SUCS machines, open up a terminal and type in the command <strong>passwd</strong> and follow the instructions. You can also do this from home if you SSH into SUCS.</dd>
<dt><a id="comp2">What operating system is running on the computers in the room?</a></dt>
<dd>Fedora - generally the desktops run the most recent even numbered version of Fedora<br />You can find out more about this <a href="http://fedora.redhat.com/dochttp://docs.fedoraproject.org/release-notes/f10/en_US/" target="_blank">here</a>.</dd>
<dt><a id="comp3">I am a Windows user and have never used Linux before, what do I do?</a></dt>
<dd>Do not worry, it's not complicated. There is a Windows to Linux guide in the Help section <a href="Help/Windows%20to%20Linux">here</a> to get you started.</dd>
<dt><a id="comp4">Why Linux?</a></dt>
<dd>It's free and Windows is available on all other computers on campus. It is useful if you are a first year Computer Science student and want to get a head start for the second year.</dd>
</dl>
</blockquote>
<h3><a id="printing">Printing</a></h3>
<blockquote>
<dl>
<dt>
<a id="prin1">Is there a limit to how much printing I can do?</a></dt>
<dd>You get 200 pages when you becme a member, old members get another 200 pages once they renew. When you have used up your 200 you can buy more pages at 2p per page, either speak to a member of <a href="../About/Staff">admin team</a> in the room or email admin@sucs.org</dd>
<dt><a id="prin2">My document was written in MS Word, how can I view it on the SUCS computers?</a></dt>
<dd>LibreOffice Writer is able to import and export Microsoft Word documents, although you should be aware that some formatting information may be lost along the way.<br /></dd>
<dt><a id="prin3">I am connected to GuestNET, how do I print from my own computer?</a></dt>
<dd>Check out the How To in the Help section <a href="Help/SUCS%20Services/Printing%20in%20the%20SUCS%20room">here</a> to see how to set up your computer for printing.</dd>
</dl>
</blockquote>
<h3><a id="burning_cds">Burning CDs and DVDs<br /></a></h3>
<blockquote>
<dl>
<dt><a id="b_c1">How do I burn CDs and DVDs?</a></dt>
<dd>There is a guide in the Help section here LINK</dd>
<dt><a id="b_c2">Which computers in the SUCS room have CD/DVD burners in?</a></dt>
<dd>Fluorine, Bromine, Iodine, Helium and Argon<br /></dd>
<dt><a id="b_c3">Where can I get CDs from?</a></dt>
<dd>SUCS usually has a small amount on sale in the SUCS room, but if not you should be able to buy some from CostCutters in Fulton House.</dd>
</dl>
</blockquote>
<h3><a id="scanning">Scanning</a></h3>
<blockquote>
<dl>
<dt><a id="scan1">How do I use the scanner?</a></dt>
<dd>Use the 'Simple Scan' program on the desktops.</dd>
</dl>
</blockquote>
<h3><a id="library">Library</a></h3>
<blockquote>
<dl>
<dt><a id="lib1">What books are in the library?</a></dt>
<dd>There are a variety of computing related books, including some computer science course texts. For a full list, see our <a href="../Knowledge/Library">Library page</a></dd>
<dt><a id="lib2">I'm doing Computer Science, which of these are recommended course text?</a></dt>
<dd>Your lecturer should give you a recommended reading list at the beginning of your course so you can check the library for them then.</dd>
<dt><a id="lib3">How do I take a book out from the library?</a></dt>
<dd>You should be able to catch a member of our admin team in the <a href="../About/Room">SUCS Room</a> around lunchtime on weekdays, who will be able to find the book you're after.</dd>
</dl>
</blockquote>
<hr />
<h2><a id="tools">Tools</a></h2>
<dl>
<dt><a id="tool1"><span style="white-space: pre;"> </span>What tools are available on the SUCS site?</a></dt>
<dd>See the <a href="../Tools">Tools page</a>. You will only be able to use these tools once you have logged in.</dd>
<dt><a id="tool2"><span style="white-space: pre;"> </span>How do I use [tool]?</a></dt>
<dd>Have a look at the Tools page or the individual page for the tool for more information.</dd>
</dl>
<h3><a id="sucs_mail">SUCS mail</a></h3>
<blockquote>
<dl>
<dt><a id="s_ma1">How do I check my SUCS mail?</a></dt>
<dd>You can use <a href="/webmail">Web Mail</a> through the website, configure your e-mail client for your SUCS e-mail address or forward all your SUCS mail to another e-mail address you use.&nbsp; </dd>
<dt><a id="s_ma2">How do I use Web Mail?</a></dt>
<dd>Once you have logged into Web Mail there is a help link at the top of the page for a more in depth guide. </dd>
<dt><a id="s_ma3">How do I set up my client for my SUCS e-mail account?</a></dt>
<dd>Please check these How To's: <a href="Help/SUCS%20Services/Accessing%20your%20email/Configuring%20OS%20X%20Mail">Configuring OS X Mail</a>; <a href="Help/SUCS%20Services/Accessing%20your%20email/Configuring%20Thunderbird">Configuring Thunderbird</a>; or check out the <a href="Help/SUCS%20Services/Accessing%20your%20email">Accessing E-mail</a> section on the SUCS Help Pages.</dd>
<dt><a id="s_ma4">How do I set up e-mail forwarding for my SUCS account with Web Mail?</a></dt>
<dd>You need to create a .forward file with the e-mail address you want to forward to in and put it in your home directory.<br />You can use any text editor to do this. If you are using Notepad though, you need to make sure you are saving as "All Files" first otherwise it automatically appends .txt to the end of the file name.</dd>
<dt><a id="s_ma5">I keep getting the same e-mail from SUCS to several of my addresses. How do I stop this happening?</a></dt>
<dd>Read the instructions at the bottom of the message to unsubscribe one or more of your addresses. You should keep at least one of your addresses subscribed, however.</dd>
</dl>
</blockquote>
<hr />
<h2><a id="problems">Problems</a></h2>
<dl>
<dt><a id="prob1">Something has gone awry with one of the SUCS services, where can I get help?</a></dt>
<dd>If it is not answered in this section of the FAQ or in the Help files, e-mail the admin team. </dd></dl>
<p>This page is still being worked on so&nbsp;it might change over the next few days, please bear with us. Hopefully&nbsp;it might answer some of your questions :)&nbsp;&nbsp;</p><h2>SUCS Membership</h2><dl><dt>I missed you at Freshers&#39; Fayre and enrolment, how do I join?<br /></dt><dd>Use the online form at the bottom of the page&nbsp;&nbsp;<a href="../About/Joining">here</a>&nbsp; or come to the room.</dd><br /><dt>Why should I join SUCS? </dt><dd>There is more information about joining SUCS and the benefits of joining on the Joining page. </dd></dl><blockquote><h3>Members CD</h3><dl><dl><dt>What is on the member&#39;s CD? </dt><dd>You can find a full list of things here LINK but in general you will find programs that will allow you to interact with SUCS services such as: Putty so you can talk on Milliways; Thunderbird for your e-mail; and Armagetron to play over the gameserver.</dd><dd><br /></dd><dd><br /></dd><dt>How do I install it? <br /></dt><dd>When you insert the CD a web interface should automatically pop-up with instructions to follow, or you can browse the CD and install what you want manually. </dd></dl><blockquote><dt>I didn&#39;t get a CD when I signed up where can I get one? </dt><dd>We might have some left so ask one of the exec or you can download the image from here LINK to burn onto your own CD. </dd></blockquote></dl></blockquote><br /><blockquote><h3>Personal space</h3><dl><dl><dt>What <em>can</em> I use my SUCS space for? </dt><dd>Storing files and hosting a personal website or files. </dd></dl><blockquote><dt>What <em>can&#39;t</em> I use my SUCS space for? </dt><dd>Storing and sharing illegal or copyrighted material such as mp3s and video files. </dd><dd><br /></dd><dt>How do I access my files from home? </dt><dd>There are a couple of ways you can access your SUCS files from home. One of the easiest ways is to use a system called WebDAV. This allows you to access your files as though you were looking through folders on your owncomputer. Check out the <a href="../Help/SUCS%20Services/Using%20WebDAV">WebDAV</a> page of the help wiki for more information. You can also log into your SUCS account using SSH, which allows you to access your files from a command line. This is somewhat more technical, but it&#39;s a good thing to know how to do. Visit the <a href="../Help/SUCSServices/Logging%20in%20remotely">remote login page</a> on the help wiki for more information. </dd><br /><dt>Where is my web space? </dt><dd>Your public_html folder in your home directory is where you can put files for online viewing. You can also see them at this address: <a href="../~username">http://www.sucs.org/~username</a> </dd><br /><dt>How can I make a website?</dt><dd>If you are new to HTML and CSS then this guide LINK would be useful. Anything you want to be viewed online should be stored in your public_html folder. You can access this on the SUCS machines and using a program such as WinSCP (see the Members CD). Creating an index.html page would be a good place to start though :). </dd><dd><br /></dd><dd><br /></dd><dt>How do I set up a SUCS blog? </dt><dd>You can go here LINK </dd></blockquote></dl></blockquote><br /><h2>Getting to know other SUCS members</h2><dl><dl><dt>How can I get to know other SUCS members? </dt><dd>You can talk to them on Milliways, through the <a href="../Community/Forum/">forum</a>, join in a game on the gameserver or come to the socials :) </dd></dl></dl><blockquote><h3>Milliways </h3><dl><dl><dt>How do I use Milliways? </dt><dd>The How To for Milliways is <a href="Help/SUCS%20Services/Using%20Milliways">here</a> or you can use the Java version&nbsp;on the website.&nbsp;</dd></dl><blockquote><dt>How do I get colours and other Milliways scripts? </dt><dd>There is a How To for this in the Help section <a href="Help/SUCS%20Services/Using%20Milliways/Setting%20up%20Milliways%20Scripts">here</a>.</dd><dd><br /></dd><dd><br /></dd><dd><br /></dd><dt>I&#39;m using Putty I keep pasting when I right click, how can I fix this? </dt><dd>Open Putty and go to the Selection category under Window. You need to change the &#39;Control use of mouse&#39; to &#39;Middle extends, Right brings up menu&#39;. This way you still copy something from Milliways buy selecting it only. It is best to create a saved session for Milliways if you have not already, to save you doing this each time you log in. </dd><dd><br /></dd><dd><br /></dd><dd><br /></dd><dt>How do I see special Characters?</dt><dd>Have a look at the How To <a href="Help/SUCS%20Services/Using%20Milliways/Correcting%20your%20character%20encoding%20in%20Milliways">here</a>. </dd></blockquote></dl></blockquote><h2><br /></h2><blockquote><h3>Gaming</h3><dl><dl><dt>What games can I play on the SUCS gameserver? </dt><dd>Have a look at the Games page <a href="../Games">here</a>. At the moment</dd><dd><br /></dd><dd><br /></dd><dd><br /></dd><dt>I don&#39;t have some of these games, where can I find them? </dt><dd>Some might be available on your Members CD, otherwise you might have to buy them or download them yourself. Some should be on the computers in the SUCS room, so if you are playing from the SUCS room just have a look around. Check out each game&#39;s page for information on obtaining it.</dd><dd><br /></dd><dd><br /></dd><dd><br /></dd><dt>How do I join a game? </dt><dd>First go to the Games page and log in, then leave the browser window open and start up the game normally. You need to look at the individual page for each game to get the connection information. These are available from the Games page.</dd><dd><br /></dd><dd><br /></dd><dd><br /></dd><dt>I want to play [some game not available], how can I? </dt><dd>There may be a reason why this is not available, why not ask or make a suggestion for a game on the forum? </dd></dl></dl><h3>Socials</h3><dl><dl><dt>When are the socials? </dt><dd>Every week on Friday from 1pm until people leave :).</dd><dd><br /></dd><dd><br /></dd><dd><br /></dd><dt>Where are the socials? </dt><dd>The non Smoking section of JC&#39;s bar in Fulton House.</dd><dd><br /></dd><dd><br /></dd><dd><br /></dd><dt>What do you do at the socials? </dt><dd>We just hang out really and chat. It is more of a way to get to know&nbsp;everyone and relax after a hard week of study ;).</dd><dd><br /></dd><dd><br /></dd><dd><br /></dd><dt>Will there be other social events? </dt><dd>Yes there will. Keep an eye on your SUCS mail, the forums or even Milliways for more details. Also, at the end of the year after exams there is the annual beach party. </dd></dl></dl></blockquote><h2>The Room</h2><dl><dl><dt>Where is the room exactly? </dt><dd>The room is located on the ground floor of the SU building. See <a href="../About/Room">this page</a> for more details.</dd><dd><br /></dd><dd><br /></dd><dd><br /></dd><dt>How do I get into the room? </dt><dd>You swipe your student card in the card reader next to the door, wait for a few seconds and the door will unlock. The monitor by the window shows you the status of the card reader.</dd><dd><br /></dd><dd><br /></dd><dd><br /></dd><dt>Are there any rules for the room? </dt><dd>Yes. You can read them <a href="../About/Room%20Rules">here</a>&nbsp; or on the notice board in the room.</dd><dd><br /></dd><dd><br /></dd><dd><br /></dd><dt>What can I do in the room? </dt><dd>You can: use the computers; print documents; burn CDs; use the scanner; take books out from the library; bring your own computer and and hook it up to GuestNET.</dd><dd><br /></dd><dd><br /></dd><dd><br /></dd><dt>How do I connect to GuestNET? </dt><dd>Take a look at the GuestNET How To page in the Help section <a href="Help/SUCS%20Services/Connecting%20to%20GuestNet">here</a>.</dd></dl></dl><blockquote dir="ltr" style="margin-right: 0px"><h3>Computers</h3></blockquote><blockquote><dl><dl><dt>What operating system is running on the computers in the room? </dt><dd>Fedora Core 5. You can find out more about this <a href="http://fedora.redhat.com/docs/release-notes/fc5/release-notes-ISO/" target="_blank">here</a>.</dd><dd><br /></dd><dd><br /></dd><dd><br /></dd><dd><br /></dd><dt>I&#39;m a Windows user and have never used Linux before, what do I do? </dt><dd>Do not worry, it&#39;s not complicated. There is a Windows to Linux guide in the Help section <a href="Help/Windows%20to%20Linux">here</a> to get you started.</dd><dd><br /></dd><dd><br /></dd><dd><br /></dd><dt>Why Linux?</dt><dd>It&#39;s free and Windows is available on all other computers on campus. It is useful if you&#39;re a first year&nbsp;Computer&nbsp;Science&nbsp;student and want to get a head start for the second year. </dd></dl></dl><h3>Printing</h3><dl><dl><dd><br /></dd><dd><br /></dd><dt>Is there a limit to how much printing I can do? </dt><dd>Within reason, no. However your usage might be questioned if you regularly print off vast quantities in one go.</dd><dd><br /></dd><dd><br /></dd><dd><br /></dd><dt>My document was written in MS Word, how can I view it on the SUCS computers? </dt><dd>Answer.</dd><dd><br /></dd><dd><br /></dd><dd><br /></dd><dt>I&#39;m&nbsp;connected to GuestNET, how do I print from my own computer? </dt><dd>Check out the How To in the Help section <a href="Help/SUCS%20Services/Printing%20in%20the%20SUCS%20room">here</a>&nbsp;to see how to set up your computer for printing. </dd></dl></dl></blockquote><blockquote><h3>Burning CDs</h3><dl><dl><dt>How do I burn CDs? </dt><dd>There is a guide in the Help section here LINK </dd><dd><br /></dd><dd><br /></dd><dt>Which computers in the SUCS room have CD burners in? </dt><dd>Americium, Uranium and Thorium. </dd><dd><br /></dd><dd><br /></dd><dt>Where can I get CDs from? </dt><dd>SUCS usually has a small amount on sale in the SUCS room, but if not you should be able to buy some from the Level 2 shop in the SU building. </dd></dl></dl><h3>Scanning</h3><dl><dl><dt>How do I use the scanner? </dt><dd>Uh... next question? </dd></dl></dl><h3>Library</h3><dl><dl><dt>What books are in the library? </dt><dd>There is a page for the Library here LINK </dd><dd><br /></dd><dd><br /></dd><dt>I&#39;m doing Computer Science, which of these are recommended course text? </dt><dd>Your lecturer should give you a list at the beginning of your course so you can check the library for them then. </dd><dd><br /></dd><dd><br /></dd><dt>How do I take a book of from the library? </dt><dd>some form of howto </dd></dl></dl></blockquote><h2>Tools</h2><dl><dl><dt>What tools are available on the SUCS site? </dt><dd>see the tools page </dd><dd><br /></dd><dd><br /></dd><dt>How do I use [tool]? </dt><dd>Have a look at the Tools page or the individual page for the tool for more information. </dd></dl></dl><blockquote><h3>SUCS mail</h3><dl><dl><dt>How do I check my SUCS mail? </dt><dd>You can use Squirrel Mail LINK through the website, configure your e-mail client for your SUCS e-mail address or forward all your SUCS mail to another e-mail address you use. </dd><dd><br /></dd><dd><br /></dd><dt>How do I use Squirrel Mail? </dt><dd>There is a help page for Squirrel Mail here: LINK </dd><dd><br /></dd><dd><br /></dd><dt>How do I set up my client for my sucs email account? </dt><dd>Please check these How To&#39;s: Configuring OS X Mail LINK; Configuring Thunderbird; or check out the Accessing e-mail section on the SUCS Help Pages LINK</dd><dd><br /></dd><dd><br /></dd><dt>How do I set up e-mail forwarding for my SUCS account with Squirrel Mail? </dt><dd>You need to create a .forward file with the e-mail address you want to forward to in and put it in your home directory.<br />You can use any text editor to do this. If you are using Notepad though, you need to make sure you are saving as &quot;All Files&quot; first otherwise it automatically appends.txt to the end of the file name.</dd><dd><br /></dd><dd><br /></dd><dt>Why do I keep getting the same e-mail from sucs to several of my addresses? </dt><dd>Because someone somewhere is mean :(. I guess send an e-mail to admin at </dd></dl></dl></blockquote><dl></dl>&nbsp;&nbsp; <h2>Problems</h2><dl><dl><dt>Something has gone awry with one the SUCS services, where can I get help? </dt><dd>If it isn&#39;t answered in this section of the FAQ e-mail the admin team or, if it is not that urgent, put a post in the forum here: LINK </dd></dl></dl><blockquote><h3>Known Problems </h3><dl><dl><dt>I&#39;m using IE7/Safari and keep getting certificate errors when I view parts the website, how can I stop this? </dt><dd>If you are using IE7 have a look at the Help page here LINK and here LINK if you are using Safari. </dd></dl></dl></blockquote>
\ No newline at end of file
<p>Groups, on a UNIX system, are simply collections of users. They&#39;re handy for assigning several users the permission to perform a task. If you want to know more about their role in UNIX file permissions, see our guide to the <a href="../UNIX%20Commands%20and%20Concepts/The%20UNIX%20Filesystem">UNIX Filesystem</a></p><p>In SUCS, there are several groups which the admin team may decide to add you to if you&#39;d like to help out with running the society. These include:</p>
<dl>
<dt>html</dt>
<dd>Members of the html group are able to edit the content of the SUCS website</dd>
<dt>librarian</dt>
<dd>People in this group are responsible for running the SUCS reference library, including checking out books to people</dd>
<dt>bananas</dt>
<dd>Users in the bananas group are able to give banana awards to members who have done something laudable for the society</dd>
<dt>sysape</dt>
<dd>People with a demonstrable aptitude for the basics of Linux admin and a track record of helping the SUCS community may be added to this group, which allows some access to perform admin tasks on the SUCS desktops and/or servers.</dd>
</dl>
\ No newline at end of file
<h1>Whats this Guide about?</h1>This guide intends to introduce some features of certain IDEs (Integrated Developer Environment) to help the lowly n00b into some sort of sane programming environment (NB, for those of you that think VI is sane, this isnt for you, if you dont know what VI is, this probably is for you.<br /><br />So, here's what you'll find:<br /><br /><ol><li>Delphi How-to</li><ul><li><a href="IDEHowTo.delphi.start" title="Getting Started">Getting started</a></li><li><a href="IDEHowTo.delphi.files" title="About the files, and problems therewith.">Files explaination</a></li><li><a href="IDEHowTo.delphi.shcut" title="Shortcuts in Delphi">Shortcuts</a></li><li>Tricks</li><li>Stuff<br /></li></ul><li>Blue-J How-to</li><li>Stuff.</li></ol><h6><a title="email Steve P" href="mailto:stringfellow@sucs.org">stringfellow</a> wrote this guide.</h6><br />
So, now you know what bits are what in the interface, what about the files?<br /><br />More interestingly; what hapens if you break something... Which is easier than you might think.<br /><br /><span style="font-weight: bold;">What </span><span style="font-style: italic; font-weight: bold;">are </span><span style="font-weight: bold;">the files?</span><br /><ul><li>.PAS - Pascal Source Code; Contains your program code. **CRUCIAL**<br /></li><li>.DFM - Delphi Form Module; Contains the graphical setup of your Form in a human readable format. **CRUCIAL**<br /></li><li>.DPR - Delphi Project; Contains the anchor source that links to all other units and initiates the program. Use this to open your Projects! (Assuming you are doing GUI programming, otherwise open the .PAS files) **CRUCIAL**<br /></li><li>.RES - Resource file; contains information about icons and other things you may want to include in your project. This file is deletable, but may cause problems if you include program icons into it (but you probably won't :P )</li><li>.DCU - Delphi Compiled Unit; This gets produced when you compile, its the object code that gets linked to make the final .exe file, and can be deleted.</li><li>.~* - anything with a ~ in front of the extention is a backup from the previous save. VERY USEFUL! But, deletable if you are happy that you have back ups.</li><li>.CFG - Configuration file; contains compiler directives (so it knows what options to turn on and off) and some linker info. Deletable.</li><li>.DOF - Delphi Options File; Similar to the .cfg, deletable.</li><li>.EXE - The final executable; Deletable providing you have the all the source. 'Cos you can just re-compile it :-)</li></ul>There may be a couple of other files kicking about too if you do some weird stuff. Like a .TODO if you are organised (I think that one is self explanatory...)<br /><br /><span style="font-weight: bold;">And what do I use?</span><br />Well, the .pas files are what get loaded into the editor. So, you use these all the time.<br />If you accidentally delete a large wad of code, then you have several options...<br /><ul><li>ctrl+z till you go blue. Delphi has amazing undo support; it can go in blocks, single characters, and even records strange things like what you highlighted. It can be set to drop undo's after a save (which I would turn off, personally) and these options can be found in the Options (surprisingly) which I will mention later.</li><li>Use the .~pas files. Firstly, open it in notepad or similar, then check its the right code, it should be from your last save (which you should do regularly with ctrl+s). If it is then you can either copy it out and overwrite the code in the editor, or close Delphi and delete the .pas then rename ~pas to pas. NB; BE CAREFUL! If you have added methods (Procedures or Functions) or objects to your project since your last save, then you may have a synchronisation problem with your .dfm file. <br /></li></ul>There is an issue with some component that seems to exist.. or doesnt.<br />This happens after reverting to old .pas files or sometimes if you randomly delete stuff that you probably shouldn't (It happens, by mistake, often).<br /><ul><li>Check that all the components listed in the head of your .pas file exist on the corresponding form.<img src="/pictures/complist.jpg" /></li><li>This list should match:</li><li><img src="/pictures/complist2.JPG" /></li><li>If not, then you have a problem. Try removing components from the form (simply by clicking and deleting) if they appear in the latter list but not the former. If they appear in the former but not the latter, then you need to comment out the offending code in the former (Don't worry, this is safe, comments are undoable; just put // before the line). After commenting out, add a component of the same type to the form and rename it to match the commented component. This *should* fix it, if not, you may have to poke around in the DFM in notepad, after closing delphi.</li></ul>Hopefully this won't happen. It can do if your it crashes part way through a save, or if you mess about with the lists.<br /><br />Another problem is versioning... <br />If you are sensible, you will make backups. This is good. However it can cause problems;<br /><ul><li>Ensure that all the files you think you are editing are the real files. This can be done by checking the file paths in the .dpr (Which can be opened by clicking the <img src="/pictures/units.JPG" />, its the one named the same as your project)</li><li>DO NOT use the save as button in a project! It actually saves the current file (in the editor) or the project (if you are not focused on the editor) as a new file, but continues to write to all the other files as normal. It causes all sorts of problems, so unless you are working on a single .pas file (e.g. for console applications) don't use it.</li><li>Use the save all button! always! it <span style="font-style: italic;">is</span> your friend. <img src="/pictures/saveall.jpg" /> or ctrl+s, regularly!</li></ul>You should not have any other real problems with the files and saving and such. If you make a backup, zip it or something because pas files floating around all over the place is horrid. I always save like this:<br />ProjectsFolder where all the projects are<br /> NewProjectName the new project you are working on (save the PROJECT here, not the units)<br /> Units put units in here! Easy.<br />That will save a lot of bother, trust me.<br /><br /><h6><a href="mailto:stringfellow@sucs.org" title="email Steve P">stringfellow </a>wrote this guide</h6><br /><br />
\ No newline at end of file