-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbackup.html
116 lines (72 loc) · 4.95 KB
/
backup.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
<!DOCTYPE html>
<html>
<head>
<title> No Dates! | Elsewhere Games</title>
<link href="http://fonts.googleapis.com/css?family=Fjalla+One|Average+Sans" rel="stylesheet" type="text/css">
<link rel="stylesheet" type="text/css" href="./styles/styles.css" />
</head>
<body>
<div class="body">
<div class="header">
<a href="./index.html">Elsewhere</a>
</div>
<div class="menu">
<a href="all_posts.html">Posts</a>
<a href="projects/">Projects</a>
<a href="about/">About</a>
</div>
<div class="content">
<!-- Post -->
<div class="post">
<h1>No Dates!</h1>
<p>I decided to try out the <a href="http://jekyllrb.com/">Jekyll</a> static site generator for this blog; <a href="http://pages.github.com/">GitLab</a> will host the site for you, and all you have to is push Markdown-formatted files to a special repository (provided you don't want to use third-party Jekyll plug-ins). When looking through a few sample sites and tutorials, I noticed that all blogs prominently show a date with their posts.</p>
<p>Dating posts may have been useful when diaries were used to keep track of important life-events, but serve no use for technical blogs on the web.</p>
<h2>Dates Provide Little Context</h2>
<p>Software generally does not use dates to differentiate between API or feature set. Instead, it relies on something that can relay much more contextual information, a version number. Provided the right approach to versioning is used, you can tell if a release contains mayor features or just bug fixes.</p>
<p>One thing you can learn from dates with posts is how active the writer is. However, with todays integration of social media, figuring out whether a writer contributes frequently should be easy. Especially when using GitHub pages, the date at which a post was written is pointless if the author can go in and update the post so easily. Unfortunately, Jekyll does not seem to provide a last-edited variable for posts, although you can add your own.</p>
<h2>Dates are Complex</h2>
<p>There are <a href="http://en.wikipedia.org/wiki/List_of_calendars">many different calendars</a>. Which one should you use? Do you display the full names of months, or just their numerical identifier? Anyone who has ever had code a scheduling system knows that dates are hard to code for. Word has it that Java 8 will finally provide a decent <a href="http://docs.oracle.com/javase/tutorial/datetime/">Date-Time</a> API.</p>
<h2>The Quest for Perfection</h2>
<p>In the end, it came down my desire to remove features until the essence remains. I didn't think dates added anything, so they had to go. I had to make a few changes to the Jekyll configuration to excludes dates from permalinks:</p>
<div class="highlight"><pre><code class="text language-text" data-lang="text">permalink: /:categories/:title.html
</code></pre></div>
<p>Posts still require a date in the file name, but at least these are not front-facing.</p>
</div>
<!-- Social Media -->
<div class="menu">
<span class="social-media-badges">
<span class="social-media-badge-pad"> </span>
<!-- G+ -->
<span class="social-media-badge">
<script type="text/javascript" src="https://apis.google.com/js/plusone.js"></script>
<g:plusone size="tall"></g:plusone>
</span>
<!-- Reddit -->
<span class="social-media-badge">
<script type="text/javascript" src="http://www.reddit.com/static/button/button3.js"></script>
</span>
<!-- Twitter -->
<span class="social-media-badge">
<a href="https://twitter.com/share" class="twitter-share-button" data-size="large" data-count="none">Tweet</a>
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+'://platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js,fjs);}}(document, 'script', 'twitter-wjs');</script>
</span>
</span>
</div>
<!-- Disqus Comments -->
<script type="text/javascript">
/* * * CONFIGURATION VARIABLES: EDIT BEFORE PASTING INTO YOUR WEBPAGE * * */
var disqus_shortname = 'elsewheregames';
/* * * DON'T EDIT BELOW THIS LINE * * */
(function() {
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js';
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
})();
</script>
<div class="comments">
<div id="disqus_thread"></div>
</div>
</div>
</div>
</body>
</html>