-
Notifications
You must be signed in to change notification settings - Fork 0
/
404.html
338 lines (236 loc) · 12.6 KB
/
404.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
<!doctype html>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>mcrammm.com</title>
<link href='https://fonts.googleapis.com/css?family=Droid+Sans:400,700' rel='stylesheet' type='text/css'>
<link rel="stylesheet" href="/css/main.css">
<link href="http://mcramm.com//index.xml" rel="alternate" type="application/rss+xml" title="mcrammm.com" />
<meta name="title" content="http://mcramm.com/">
<link rel="canonical" href="http://mcramm.com/">
<meta property="og:title" content="mcrammm.com"/>
<meta property="og:url" content="http://mcramm.com/"/>
<meta property="og:site_name" content="mcrammm.com">
<style>
.container {
max-width:1155px;
}
pre {
white-space: pre;
overflow: scroll;
width:inherit;
word-wrap: normal;
word-break: normal;
}
article blockquote {
background-color: whitesmoke;
font-size: 0.85em;
border-left: 5px solid #eeeeee;
margin: 0 0 20px 0;
padding: 10px 20px;
}
article blockquote p {
font-size: inherit;
line-height: inherit;
color: inherit;
font-weight: inherit;
}
section.projects {
display: flex;
}
section.projects .project {
padding: 3em;
text-align: center;
display: block;
color: black;
text-decoration: none;
}
section.projects .project:hover {
cursor: pointer;
color: black;
text-decoration: none;
background-color: #F3F3F3;
}
section.personal-ad {
display: flex;
align-items: center;
justify-content: center;
}
section.personal-ad a {
text-align: center;
display: block;
color: black;
text-decoration: none;
}
.intro {
margin: 0 2em;
}
</style>
</head>
<body>
<section class="site-nav">
<header>
<nav id="navigation">
<a href="/" class="home">About</a>
<a href="/post" class="post">Posts</a>
<a href="/projects" class="projects">Projects</a>
</nav>
</header>
</section>
<article class="container">
<header><h1>404</h1></header>
<section>
<p>That doesn't seem to exist! Recent articles are below or search the <a href="/post/">archives</a>.</p>
</section>
<hr>
<section class="index">
<div>
<h2 class="title"><a href="/post/mailfeed-in-retrospect/" rel="prefetch">Mailfeed In Retrospect</a></h2>
<p>It’s been a few weeks since I announced on /r/Clojure I was finished working on Mailfeed, a service that emails you whenever an RSS feed updates. A comment on that thread suggested that I share a little about the technologies I used and some of the pitfalls I hit during development.
There’s a lot to talk about, so I thought I’d just drop a nice big list of all the major tech, services and libraries, then move on to some of the more interesting challenges.</p>
<div class="meta">
<time pubdate datetime="2017-04-15" title="2017-04-15">April 15, 2017</time>
</div>
</div>
<hr>
</section>
<section class="index">
<div>
<h2 class="title"><a href="/post/integration-tests-for-clojure-and-postgres/" rel="prefetch">Integration Testing with Clojure and Postgres</a></h2>
<p>If you’re writing a non-trivial application that will run in production, it’s usually a good idea to have some automated way to make sure that all the pieces are working together correctly. On a lot of projects this is going to mean integration tests. How granular these tests become will depend on your level of paranoia and how critical those integration points are to your application as a whole.
In this post I’m going to use an example from a previous article and add some integration tests to ensure that we’re creating and updating accounts correctly.</p>
<div class="meta">
<time pubdate datetime="2016-12-14" title="2016-12-14">December 14, 2016</time>
</div>
</div>
<hr>
</section>
<section class="index">
<div>
<h2 class="title"><a href="/post/off-the-ground-with-clojure-and-postgres/" rel="prefetch">Off the ground with Clojure and Postgres</a></h2>
<p>I’ve been writing a few apps in my spare time, most notably Mailfeed, and I’ve developed a simple pattern whenever I need to pull data out of the database. This pattern could be be applied to any database you’re interacting with, but in this case I’ll be showing how I tend to do it with Postrges.
I should say that none of this is groundbreaking stuff. If you’re an experienced developer then you’ll probably be saying “duh” a lot, but if your playing with Clojure and are struggling to come up with a good structure on how to do this kind of thing, then maybe this is something you could apply.</p>
<div class="meta">
<time pubdate datetime="2016-12-12" title="2016-12-12">December 12, 2016</time>
</div>
</div>
<hr>
</section>
<section class="index">
<div>
<h2 class="title"><a href="/post/datomic-setup/" rel="prefetch">Datomic Setup</a></h2>
<p>I’ve recently been exploring Datomic more seriously and have found myself jumping through the same hoops as I have in the past just to get things up and running. I’ve also encountered slight deficiencies in the documentation that I’ve had to re-investigate since the exploratory project I created was deleted quite a while ago.
I’m tired of retracing my same steps over and over again so I thought I’d create a quick post with some of the basic steps to get setup and using Datomic in a Clojure application.</p>
<div class="meta">
<time pubdate datetime="2015-07-22" title="2015-07-22">July 22, 2015</time>
</div>
</div>
<hr>
</section>
<section class="index">
<div>
<h2 class="title"><a href="/post/rack-and-ring-basics/" rel="prefetch">Rack and Ring Basics</a></h2>
<p>In the Clojure world, when you want to write a web app, you will almost certainly be using Ring. Ring is directly inspired by Rack, the defacto webserver abstraction for frameworks in Ruby.
The two are conceptually very similar, but there are some slight differences (aside from language) that might be interesting to highlight. I won’t be going too in depth with this post, and will focus instead on the basics of using Rack and Ring.</p>
<div class="meta">
<time pubdate datetime="2015-04-15" title="2015-04-15">April 15, 2015</time>
</div>
</div>
<hr>
</section>
<section class="index">
<div>
<h2 class="title"><a href="/post/composing-functions/" rel="prefetch">Composing Functions</a></h2>
<p><p>Let’s look at the different flavors of function composition
in Clojure.</p>
<p></p></p>
<div class="meta">
<time pubdate datetime="2015-04-11" title="2015-04-11">April 11, 2015</time>
</div>
</div>
<hr>
</section>
<section class="index">
<div>
<h2 class="title"><a href="/post/om-comparison/" rel="prefetch">Om Comparison</a></h2>
<p><p>In my <a href="http://mcramm.com/2014/01/26/react-intro.html">last post</a> I built a simple text manipulation widget with <a href="http://facebook.github.io/react/">React</a>.
I recommend reading through that post first, before this one.
As promised, I’ve built the same widget in
<a href="https://github.com/swannodette/om">Om</a>, a ClojureScript library that
sits on top of React.</p>
<p></p></p>
<div class="meta">
<time pubdate datetime="2014-02-01" title="2014-02-01">February 01, 2014</time>
</div>
</div>
<hr>
</section>
<section class="index">
<div>
<h2 class="title"><a href="/post/react-intro/" rel="prefetch">React Intro</a></h2>
<p>React is a new-ish library from Facebook/Instagram that is designed to make building user interfaces easy.
I thought it would be fun to build a basic example in React, and then contrast it with the same example in Om.
First let’s setup the page where our example will live. We’re going to want a container for the React root component, which we’ll give the id app, and we’ll include the React library and the JSX transformer.</p>
<div class="meta">
<time pubdate datetime="2014-01-26" title="2014-01-26">January 26, 2014</time>
</div>
</div>
<hr>
</section>
<section class="index">
<div>
<h2 class="title"><a href="/post/leiningen-templates/" rel="prefetch">Leiningen Templates</a></h2>
<p>Getting started with Clojurescript can be tough if you’ve never done it before, and once you do you might find yourself running through the same steps to get new projects into a structure that makes sense. In either case, the solution is to use a Leiningen template. My goal here is to show how easy it can be to create one of your own. Most templates are built for Clojure, but we’ll be creating one for Clojurescript.</p>
<div class="meta">
<time pubdate datetime="2014-01-06" title="2014-01-06">January 06, 2014</time>
</div>
</div>
<hr>
</section>
<section class="index">
<div>
<h2 class="title"><a href="/post/specificity-in-clojurescript/" rel="prefetch">Specificity in ClojureScript</a></h2>
<p><p><a href="https://github.com/clojure/clojurescript/commit/571e156d2daa223dcef273106827e932283e2f93">This commit</a> was pushed up to Clojurescript core recently, adding a new
macro <code>specify</code>. This means we can now have instance-level implementations of
protocols on specific values:</p>
<p></p></p>
<div class="meta">
<time pubdate datetime="2014-01-02" title="2014-01-02">January 02, 2014</time>
</div>
</div>
<hr>
</section>
</article>
<section class="pagination" style="text-align:center">
<a href="/post/" class="btn btn-outline">Archives</a>
</section>
<footer class="site-footer">
<div class="container">
<nav>
<a href="/" class="home">About</a>
<a href="/post" class="post">Posts</a>
<a href="/projects" class="projects">Projects</a>
</nav>
<nav class="social">
<a href="https://twitter.com/cramm" title="Follow on Twitter" target="_blank"><i class="icon icon-twitter black"></i></a>
<a href="https://github.com/mcramm" title="Follow on Github" target="_blank"><i class="icon icon-github black"></i></a>
<a href="/index.xml" title="RSS Feed">
<i class="icon icon-rss black"></i>
</a>
</nav>
</div>
</footer>
<script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
<script type="text/javascript" src="/js/main.js"></script>
<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>
<script>
(function(d, t) {
var g = d.createElement(t),
s = d.getElementsByTagName(t)[0];
g.src = '//hnbutton.appspot.com/static/hn.min.js';
s.parentNode.insertBefore(g, s);
}(document, 'script'));
</script>
</body>
</html>