-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathenv.html
220 lines (177 loc) · 9.68 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="style254a7.css?20160213" />
<LINK REL="SHORTCUT ICON" HREF="res/favicon3ba2.png?20150204">
<script type="text/javascript" src="js/js23ba2.js?20150204"></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>
</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://2016.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: 08.10.2016 </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 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">
<h1>Computing Environment</h1>
<p>During the Helvetic Coding Contest, you will use a computer environment based
on Linux to access the problems, write and test your solutions. This page
contains information about the software and hardware, and allows you to try out
the system.</p>
<p>Note that we are still working on the live system. Hence many things can
still change.</p>
<p>
At the registration, you have the option to <strong>bring your own laptop.</strong>
This has a number of benefits and conditions:
</p>
<ul>
<li>You will have a keyboard/mouse/hardware that you already know well.</li>
<li>Your hardware might be newer than the machines in the computer rooms.</li>
<li>Your laptop must be able to boot from USB, and you <em>must try out the system in advance</em> (see below)</li>
</ul>
<div class="alert">If you bring your own laptop, it is crucial that you try out the system beforehand! Otherwise, expect trouble...</div>
<h2>Live system software (last year)</h2>
<p>
Desktop: <strong>LXDE</strong><br>
Editors: <strong>gvim, emacs, geany, scite, sublime text 2, eclipse</strong><br>
Debugger: <strong>gdb, ddd</strong><br>
C/C++: <strong>gcc/g++ 4.9.2</strong><br>
Java: <strong>OpenJDK 1.7</strong><br>
Scala: <strong>2.11.6</strong><br>
Python: <strong>2.7.9 and 3.4.2</strong><br>
Ruby: <strong>2.1.5</strong>
</p>
<h2>Lab computers hardware</h2>
<p>
CPU: <strong>2x Intel Core i7 920 @ 2.67 GHz</strong><br>
RAM: <strong>6 GB</strong><br>
Screen: <strong>1920x1200, 24"</strong><br>
Keyboard: <strong>Swiss-French (QWERTZ)</strong><br>
Mouse: <strong>Standard 2-button mouse</strong>
</p>
<h2 id="livesystem">Trying out last year's ISO</h2>
<p>You can download an image of the system we used during last year's competition, and try it out at home.</p>
<p>The ISO for this year's competition is still being worked on, but will be published as soon as it is ready.</p>
<ol>
<li>Download the <a href="../external.html?link=http://doc.hc2.ch/2015hc2.iso">polyprog-live
image</a> (825 MB).</li>
<li>Copy the image to a USB stick.<br />
On Linux, you can use <code>cp 2015hc2.iso /dev/sdb</code><br />
On Mac, the command is <code>dd if=2015hc2.iso of=/dev/rdisk2 bs=1m</code><br />
On Windows, <a href="../external.html?link=https://rufus.akeo.ie/">Rufus</a> can do this.</br>
Warning: replace <code>sdb</code> or <code>rdisk2</code> by the device that
corresponds to your USB drive. All data on that 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 info (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>setxkbmap ch fr</code> command in a terminal.</dd>
<dt>Things on the screen look extremely small...</dt>
<dd>You can scale the display using <code>xrandr --output eDP1 --scale
0.75x0.75</code>. Replace <code>eDP1</code> by the name of your screen (it's
printed when you run <code>xrandr</code> without parameters).</dd>
<dt>How to get network access?</dt>
<dd>The live system tries to connect to the EPFL network automatically. If
you're at EPFL and it doesn't work, please email jonas at hc2.ch immediately.
If you're not at EPFL, please run <code>ip link</code> in a terminal. If it
shows a <code>wlan0</code> interface, your network card has been recognized and
things will likely work at the contest. Otherwise, please email jonas at
hc2.ch.</dd>
<dt>My computer doesn't boot from USB stick...</dt>
<dd>Try disabling UEFI in the BIOS.</dd>
<dt>Can we also bring our own keyboard, screen, mouse, ...</dt>
<dd>Yes, sure!</dd>
<dt>Can we use two screens?</dt>
<dd>No, sorry... this would give an unfair advantage to your team.</dd>
<dt>Do I need to install anything?</dt>
<dd>No, the system runs as a live system and does not modify your computer.</dd>
<dt>What if the system crashes during the contest?</dt>
<dd>We regularly create backups of your files, and can restore them if your
computer crashes. Note that we only backup files if you save them,
though.</dd>
<dt>Can I run this inside a virtual machine during the contest?</dt>
<dd>No, sorry (that would make it too easy to cheat during the competition).</dd>
<dt>Does it work on a Mac?</dt>
<dd>We tested it on a 13-inch MacBook... try the following:
<ul>
<li>Prepare the USB stick. On mac, it’s something like <code>dd
if=2015hc2.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>
</div>
<br style="clear:both;" />
<div id="foot" align="center">
<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>