-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathtest.html
377 lines (346 loc) · 10.9 KB
/
test.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
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<link rel="shortcut icon" href="/~blengeri/favicon.ico" type="image/x-icon">
<link rel="icon" href="/~blengeri/favicon.ico" type="image/x-icon">
<title>Conference Deadlines | SVIP Lab</title>
<meta name="viewport" content="width=device-width">
<script src="https://use.typekit.net/wxk8bwy.js"></script>
<script>try{Typekit.load({ async: true });}catch(e){}</script>
<link rel="stylesheet" href="/~blengeri/css/grid.css" type="text/css">
<link rel="stylesheet" href="/~blengeri/css/main.css">
<style type="text/css">
/* Some resetting */
body {
font-family: Verdana, Helvetica, sans-serif;
font-size: 12px;
padding: 0;
margin: 0;
background-color: white;
color: #222;
}
/* Main content div */
#surround {
margin-left: auto;
margin-right: auto;
margin-top: 50px;
width: 600px;
background-color: white;
}
/* Div that contains all deadlines */
#deadlinesdiv {}
#currtime {
font-size: 14px;
}
#bottompart {
text-align: center;
}
/* Page title */
h1 {
display: inline;
margin-right: 10px;
font-size: 35px;
}
/* Maintained by @karpathy */
#signature {
position: absolute;
bottom: auto;
right: 0;
text-align: center;
padding-bottom: 15px;
padding-right: 30px;
/*font-size: 14px;*/
}
/* The cells that contain each deadline */
.dd {
padding: 10px;
margin-bottom: 3px;
background-color: #EEE;
border: 1px solid #DDD;
cursor: pointer;
position: relative;
}
.dd:hover {
background-color: #DDD;
border: 1px solid #AAA;
cursor: default;
}
/* Time left description div */
.tld {
float: right;
font-size: 18px;
font-weight: bold;
margin-top: 16px;
}
/* Area description div */
.ad {
font-family: monospace;
}
/* Time description div */
.td {}
/* Venue description div */
.vd {
font-weight: bold;
font-size: 16px;
}
/* Warning div */
.wd {
position: absolute;
bottom: 10px;
right: 8px;
color: #700;
font-size: 10px;
}
</style>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.10.6/moment.min.js"></script>
<script type="text/javascript">
// DATABASE
var deadlines = new Array();
var shouldDisplay = {
"Machine Learning": true,
"Algorithms": true,
"AI": true,
"Computational Biology": true,
"Linguistics": true
}
// Machine Learning
deadlines.push({
venue: "ICML",
area: "Machine Learning",
deadline: moment("2019-01-18 23:59:00 +0000", "YYYY-MM-DD HH:mm:ss Z"),
website: "http://icml.cc",
approx: 0,
});
deadlines.push({
venue: "SysML",
area: "Machine Learning",
deadline: moment("2018-09-28 23:59:00 +0000", "YYYY-MM-DD HH:mm:ss Z"),
website: "http://sysml.cc",
approx: 0,
});
deadlines.push({
venue: "UAI",
area: "Machine Learning",
deadline: moment("2019-03-04 23:59:00 -1100", "YYYY-MM-DD HH:mm:ss Z"),
website: "http://www.auai.org/uai2019/index.php",
approx: 0,
});
deadlines.push({
venue: "NeurIPS",
area: "Machine Learning",
deadline: moment("2018-05-18 20:00:00 -0000", "YYYY-MM-DD HH:mm:ss Z"),
website: "https://nips.cc/",
approx: 0,
});
deadlines.push({
venue: "AISTATS",
area: "Machine Learning",
deadline: moment("2018-10-04 23:59:00 +0000", "YYYY-MM-DD HH:mm:ss Z"),
website: "http://www.aistats.org/",
approx: 0,
});
deadlines.push({
venue: "ICLR",
area: "Machine Learning",
deadline: moment("2018-09-27 14:00:00 -0700", "YYYY-MM-DD HH:mm:ss Z"),
website: "http://www.iclr.cc",
approx: 0,
});
deadlines.push({
venue: "SODA",
area: "Algorithms",
deadline: moment("2018-07-05 16:59:00 -0000", "YYYY-MM-DD HH:mm:ss Z"),
website: "http://www.siam.org/meetings/da19/",
approx: 0,
});
deadlines.push({
venue: "ACL",
area: "Linguistics",
deadline: moment("2019-03-04 23:59:00 -1100", "YYYY-MM-DD HH:mm:ss Z"),
website: "http://www.acl2019.org/EN/index.xhtml",
approx: 0,
})
deadlines.push({
venue: "IJCAI",
area: "AI",
deadline: moment("2019-02-19 23:59:00 -1200", "YYYY-MM-DD HH:mm:ss Z"),
website: "https://www.ijcai19.org/important-dates.html",
approx: 0,
});
deadlines.push({
venue: "AAAI",
area: "AI",
deadline: moment("2018-09-05 23:59:00 -1000", "YYYY-MM-DD HH:mm:ss Z"),
website: "https://aaai.org/Conferences/AAAI-19/",
approx: 0,
});
deadlines.push({
venue: "KDD",
area: "AI",
deadline: moment("2019-02-03 23:59:00 -0800", "YYYY-MM-DD HH:mm:ss Z"),
website: "https://www.kdd.org/kdd2019",
approx: 0,
});
deadlines.push({
venue: "RECOMB",
area: "Computational Biology",
deadline: moment("2018-10-30 17:00:00 -0400", "YYYY-MM-DD HH:mm:ss Z"),
website: "http://recomb2019.org/key-dates/",
approx: 0
});
/*deadlines.push({
venue: "APBC",
area: "Computational Biology",
deadline: moment("2018-07-30 00:00:00 -0800", "YYYY-MM-DD HH:mm:ss Z"),
website: "http://glab.hzau.edu.cn/APBC2019/",
approx: 0,
});*/
deadlines.push({
venue: "ISMB",
area: "Computational Biology",
deadline: moment("2019-01-28 23:59:00 +0000", "YYYY-MM-DD HH:mm:ss Z"),
website: "https://www.iscb.org/ismbeccb2019",
approx: 0,
});
deadlines.push({
venue: "PSB",
area: "Computational Biology",
deadline: moment("2018-08-06 23:59:00 +0000", "YYYY-MM-DD HH:mm:ss Z"),
website: "http://psb.stanford.edu/",
approx: 0,
});
deadlines.push({
venue: "COLING",
area: "Linguistics",
deadline: moment("2018-03-16 23:59:00 +0000", "YYYY-MM-DD HH:mm:ss Z"),
website: "http://coling2018.org/final-call-for-papers/",
approx: 0,
});
// HELPER FUNCTIONS
var timeDescription = function (x) {
return x.format("MM/DD/YYYY h:mm:ss A");
}
var timeLeftDescription = function (t) {
if (t < 0) t = 0;
var tseconds = t / 1000;
var seconds = Math.floor(tseconds) % 60;
var tminutes = tseconds / 60;
var minutes = Math.floor(tminutes) % 60;
var thours = tminutes / 60;
var hours = Math.floor(thours) % 24;
var tdays = thours / 24;
var days = Math.floor(tdays);
return days + " days, " + hours + "h " + minutes + "m " + seconds + "s";
}
// Display function, called every second or so
function refreshDisplay() {
var d = moment();
$("#currtime").text("Current time: " + timeDescription(d));
// calculate and display deadlines
for (var i = 0; i < deadlines.length; i++) {
var dl = deadlines[i];
//if (shouldDisplay[dl.area]) {
var checkBox = document.getElementById(dl.area);
if (checkBox.checked == true) {
var timeLeft = dl.deadline - d;
warningString = "";
//if (timeLeft < 0) { warningString= "based on previous year!"; }
if (dl.approx) {
warningString = "based on previous year!";
continue;
}
prefix = "";
suffix = "";
if ("website" in dl) {
prefix = "<a class=\"sd\" href=\"" + dl.website + "\">";
suffix = "</a>";
}
$("#deadline" + i).html(
prefix + "<div class=\"tld\">" + timeLeftDescription(timeLeft) + "</div>" +
"<div class=\"vd\">" + dl.venue + "</div>" +
"<div class=\"ad\">" + dl.area + "</div>" +
"<div class=\"td\">Deadline: " + timeDescription(dl.deadline) + "</div>" +
"<div class=\"wd\">" + warningString + "</div>" +
suffix
);
$("#deadline" + i).show();
} else {
$("#deadline" + i).hide();
}
}
}
// int main(){}
$(document).ready(function () {
for (var i = 0; i < deadlines.length; i++) {
var d = moment();
var dl = deadlines[i];
if (dl.deadline - d <= 0) {
dl.deadline.add(1, 'year');
dl.approx = 1;
}
}
deadlines.sort(function (a, b) {
return a.deadline - b.deadline;
});
// create divs for all deadlines and insert into DOM
for (var i = 0; i < deadlines.length; i++) {
if (deadlines[i].approx == 1) {
continue;
}
$("<div class=dd id=deadline" + i + "></div>").appendTo("div#deadlinesdiv");
var divid = "#deadline" + i;
$(divid).hide();
$(divid).fadeIn(100 * (i + 1), function () {}); // create a nice fade in effect
}
// set up deadline timer to redraw
setInterval(
function () {
refreshDisplay();
},
1000
);
// draw!
refreshDisplay();
});
</script>
</head>
<body>
<div id="wrap">
<div id="header"></div>
<!--<article style="width: 58%; padding-top: 6%; padding-left: 4%; padding-right:7%; text-align: left;" >-->
<article style="text-align:left;">
<div id="surround">
<h1>ML+CompBio Conference Deadlines</h1>
<div id="currtime"></div>
<br />
For conferences with an abstract required before the full paper, the abstract deadline is listed.
<br />
Machine Learning:<input type="checkbox" id="Machine Learning" onclick="" checked>
AI:<input type="checkbox" id="AI" onclick="" checked>
Computational Biology:<input type="checkbox" id="Computational Biology" onclick="" checked>
Algorithms:<input type="checkbox" id="Algorithms" onclick="" checked>
Linguistics:<input type="checkbox" id="Linguistics" onclick="" checked>
<br />
<div id="deadlinesdiv"></div>
<br />
</div>
<div id="signature">
Created by <a href="https://twitter.com/karpathy">@karpathy</a>, modified by Xun Zheng and me <a href="https://twitter.com/ben_lengerich">(@blengerich)</a>.<br>
This list is not intended to be comprehensive,<br>
but please contact me if you have a suggestion.
</div>
</article>
</div>
<footer>
<ul>
<li><a target="_blank" href="http://twitter.com/ben_lengerich/" class="twitter">Twitter</a></li>
<li><a target="_blank" href="http://linkedin.com/in/benlengerich" class="linkedin">Linked In</a></li>
<li><a target="_blank" href="http://quora.com/profile/Ben-Lengerich" class="quora">Quora</a></li>
<li><a target="_blank" href="mailto:[email protected]" class="email">Email</a></li>
</ul>
</footer>
<script type="text/javascript" src="js/jquery-1.8.3.min.js"></script>
</body>
</html>