-
Notifications
You must be signed in to change notification settings - Fork 0
/
env.html
220 lines (172 loc) · 9.81 KB
/
env.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>Helvetic Coding Contest</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="generator" content="gedit" />
<meta name="author" content="Titus Cieslewski" />
<link rel="stylesheet" type="text/css" href="style21f2c.css?20130113" />
<LINK REL="SHORTCUT ICON" HREF="res/favicon1f2c.png?20130113">
<script type="text/javascript" src="js/js21f2c.js?20130113"></script>
<script type="text/javascript" src="../ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
<script type="text/javascript" src="../ajax.googleapis.com/ajax/libs/jqueryui/1.10.3/jquery-ui.min.js"></script>
<script type="text/javascript" src="../apis.google.com/js/plusone.js"></script>
<!-- GOOGLE ANALYTICS -->
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-37610977-1']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
<!-- moving eyeball -->
<script type="text/javascript">
$( document ).on( "mousemove", function( event ) {
var p = $( "#eye" ).offset()
var relX = event.pageX - p.left - 40
var relY = event.pageY - p.top - 20
var scale = 0.05
var cap = 15
var x = relX*scale
var y = relY*scale
var norm = Math.sqrt(x * x + y * y)
if (norm > cap) {
x = x / norm * cap
y = y / norm * cap
}
$( "#iris" ).css("background-position", x + "px " + y + "px")
})
</script>
</head>
<body>
<div style="margin:20px auto 0px auto; width:1150px; position:relative;">
<div id="main3">
<div id="main2">
<div id="main">
<!--<img src="img/logo.png" style="position:absolute; bottom:-40px; left:-30px;" alt="logo" />-->
<!-- Some seldomly accessed links & infos here -->
<table width="100%" style="padding:0 10px; margin:3px auto 0px auto;">
<tr>
<td style="padding:0; margin:0;">
<a href="../external.html?link=http://twitter.com/share" class="twitter-share-button" data-count="none">Tweet</a><script type="text/javascript" src="../platform.twitter.com/widgets.js"></script></td><td style="padding:0; margin:0;">
<iframe src="../external.html?link=http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.facebook.com%2Fpages%2FHelvetic-Coding-Contest%2F309821316193&layout=button_count&show_faces=false&width=450&action=like&colorscheme=light&height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:200px; height:21px;" allowTransparency="true"></iframe>
</td><td style="padding:0; margin:0;"><g:plusone size="small" annotation="inline" width="200"></g:plusone>
</td>
<td align="right" style="padding:0; margin:0;">
<form action="../external.html?link=http://2014.hc2.ch/env.php?" method="get" style="display:inline;">
<select id="language" name="lang">
<option value="En" selected>English</option>
<option value="De" >Deutsch</option>
<option value="Fr" >Français</option>
</select>
<script language="javascript">
$(function(){
$("#language").change(function(){
location.href = ("?lang="+$("#language").val());
});
});
</script>
<noscript>
<input type="Submit"/>
</noscript>
</form>
Last update: 30.03.2014 </td>
</tr>
</table>
<!-- The menu -->
<div id="menu">
<span ><a href='index-2.html'>Home</a></span><span class='selected'><a href='info.html'>Infos</a></span><span ><a href='gallery.html'>Gallery</a></span><span ><a href='register_frame.html'>Registration</a></span><span ><a href='links.html'>Sponsors</a></span><div id="eyebox"><div id="iris"></div><div id="eye"></div></div>
<div align="left" id="submenu">
<span ><a href='info.html'>Contest</a></span><span ><a href='sched.html'>Schedule</a></span><span ><a href='location.html'>Location</a></span><span ><a href='regu.html'>Rules</a></span><span class='selected'><a href='env.html'>Environment</a></span><span ><a href='comite.html'>Committee</a></span> </div>
</div>
<!-- Finally, the content -->
<div id="content">
<h2>Computing Environment</h2>
<h3 id="livesystem">Trying it out</h3>
<p>You will have time to try out the system during the dry run before the contest.</p>
<p>Additionally, you are encouraged download an image of the system so that you can try it out at home. To do so,</p>
<ol>
<li>Download the <a href="../external.html?link=http://doc.hc2.ch/2014hc2.iso">polyprog-live image</a> (742 MB). It's all free software,
you are allowed and encouraged to distribute it!</li>
<li>Copy the image to a USB stick. On Linux, you can use<br />
<code>cp polyprog-live.iso /dev/your_usb_stick</code><br />
(you have to replace <code>your_usb_stick</code> by the device that represents your stick, for example <code>sdb</code>.
All data on the device will be erased./li>
<li>Re-boot the computer from the USB stick. The stick should boot on any
modern 64-bit system. You might have to enable booting from USB in the BIOS,
though.</li>
<li>Send any comments to jonas (at hc2.ch).</li>
</ol>
<h3 id="faq">Frequently Asked Questions</h3>
<dl>
<dt>How do I change my keyboard layout?</dt>
<dd>For Swiss French, use the <code>setxkbdmap ch fr</code> command in a terminal.</dd>
<dt>Can we also bring our own keyboard, screen, mouse, ...</dt>
<dd>Yes, sure!</dd>
<dt>Do I need to install this?</dt>
<dd>No, it runs as a live system and does not modify your computer.</dd>
<dt>What if the system crashes during the contest?</dt>
<dd>We remotely connect to your machine and create backups of your files
every five minutes. If the live system crashes, you should not lose more than
ten minutes of time. Note that we cannot backup files if you don't save them,
though.</dd>
<dt>Can I just run this inside a virtual machine?</dt>
<dd>No, sorry (that would make it too easy to cheat during the competition).</dd>
<dt>There is a message about missing network connectivity...</dt>
<dd>We're working on it... check again from time to time for new releases of
the system.</dd>
<dt>Does it work on a Mac?</dt>
<dd>It should... try the following:
<ul>
<li>Prepare the USB stick. On mac, it’s something like <code>dd
if=2014hc2.iso of=/dev/rdisk2 bs=1m</code>. You can use the Disk Utility to see
the device name of your USB stick.</li>
<li>Insert the USB stick into the computer</li>
<li>Reboot, pressing the ALT key during boot</li>
<li>Select the USB drive (it’s probably labeled “Windows”)</li>
</ul>
</dd>
</dl>
<h3>Specifications</h3>
The Contest will take place on computers with the following
specification:
<UL CLASS="itemize"><LI CLASS="li-itemize">
Hardware:
<TABLE CELLSPACING=6 CELLPADDING=0><TR><TD ALIGN=left NOWRAP>CPU:</TD><TD ALIGN=left NOWRAP>Intel Core i7-4770 CPU @ 3.4GHz</TD></TR>
<TR><TD ALIGN=left NOWRAP>RAM:</TD><TD ALIGN=left NOWRAP>8 GB</TD></TR>
<TR><TD ALIGN=left NOWRAP>Screen:</TD><TD ALIGN=left NOWRAP>1920x1200</TD></TR>
<TR><TD ALIGN=left NOWRAP>Keyboard:</TD><TD ALIGN=left NOWRAP>Standard Swiss-French keyboard</TD></TR>
<TR><TD ALIGN=left NOWRAP> </TD><TD ALIGN=left NOWRAP>(keyboard layout can be changed in the desktop environment)</TD></TR>
<TR><TD ALIGN=left NOWRAP>Mouse:</TD><TD ALIGN=left NOWRAP>Standard 2 button mouse with scroll wheel.</TD></TR>
</TABLE></LI><LI CLASS="li-itemize">Software:<TABLE CELLSPACING=6 CELLPADDING=0><TR><TD ALIGN=left NOWRAP>OS:</TD><TD ALIGN=left NOWRAP>Linux (distribution: Debian live)</TD></TR>
<TR><TD ALIGN=left NOWRAP>Desktop:</TD><TD ALIGN=left NOWRAP>LXDE</TD></TR>
<TR><TD ALIGN=left NOWRAP>Editors:</TD><TD ALIGN=left NOWRAP>gvim, emacs, geany, scite, sublime text 2, eclipse</TD></TR>
<TR><TD ALIGN=left NOWRAP>Debugger:</TD><TD ALIGN=left NOWRAP>gdb, ddd</TD></TR>
<TR><TD ALIGN=left NOWRAP>C compiler:</TD><TD ALIGN=left NOWRAP>gcc 4.8.2</TD></TR>
<TR><TD ALIGN=left NOWRAP>C++ compiler:</TD><TD ALIGN=left NOWRAP>g++ 4.8.2</TD></TR>
<TR><TD ALIGN=left NOWRAP>Java compiler:</TD><TD ALIGN=left NOWRAP>OpenJDK 7</TD></TR>
<TR><TD ALIGN=left NOWRAP>Scala compiler:</TD><TD ALIGN=left NOWRAP>Scala 2.10.3</TD></TR>
</table></li></ul>
Alternatively, you can bring your own computer (register on your team page if
you plan to do this). The computer needs to run the HC2 live system as
described below. We will provide you with electricity and network cables. Note
that the system will need to run on bare hardware, not inside a virtual
machine.
</div>
<div id="foot" align="center">
<!--<hr style="color:white; height:1px; margin-top:0;">-->
<a href="../external.html?link=http://www.epfl.ch/" target="_blank" ><img src="img/logo140/epfl.png" alt="logo epfl" align="middle"/></a>
<a href="../external.html?link=http://www.open.ch/" target="_blank" ><img src="img/logo140/open.png" alt="logo open systems" align="middle" /></a>
<a href="../external.html?link=http://www.adnovum.ch/" target="_blank" ><img src="img/logo140/adnovum.png" alt="logo adnovum" align="middle"/></a>
<a href="../external.html?link=http://polyprog.epfl.ch/" target="_blank" ><img src="img/logo140/polyprog.png" alt="logo polyprog" align="middle" /></a>
</div>
</div>
</div>
</div>
</div>
</body>
</html>