-
Notifications
You must be signed in to change notification settings - Fork 6
/
index.html
59 lines (58 loc) · 2.2 KB
/
index.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
<!DOCTYPE html>
<html>
<head>
<title>hn-ratio</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<link href="https://fonts.googleapis.com/css?family=Roboto" rel="stylesheet">
<link rel="stylesheet" type="text/css" href="styles.css">
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-JCTWLMDGRP"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-JCTWLMDGRP');
</script>
</head>
<body>
<div class="container">
<h1>hn-ratio</h1>
<div class="header">
<div class="info">[Ratio] Title (Comment/Score)</div>
<div class="reverse">
<button id="reverse-btn">Reverse</button>
</div>
<div class="date-picker">
<select id="date-select"></select>
</div>
</div>
<div class="content"></div>
<div>
<h2>Where are data between June 15, 2021 and December 12, 2021?</h2>
<p>
Data between June 15, 2021 and December 12, 2021 are missing because Travis.org stopped working on June 15, 2021.
<br><br>
I have migrated over to GitHub actions on December 13, 2021.
</p>
<h2>Why?</h2>
<p>
Being a long-time Hacker News reader, I realized that most interesting HN submissions for me are of two categories:
<br><br>
- stories that attract a lot of attention and comments, signaling active and extended debates
<br><br>
- stories that attract a lot of attention but few comments, signaling very insightful post that requires no further comments
<br><br>
Hence, I used the Comment/Score ratio to sort the top HN submissions and locate these stories at the top and the bottom of the list.
<br>
</p>
<p>
<a href="https://github.com/paradite/hn-ratio">GitHub</a>
<br><br>
</p>
</div>
</div>
<script src="https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.19.3/moment.min.js"></script>
<script src="https://d3js.org/d3.v4.min.js"></script>
<script src="app.js"></script>
</body>
</html>