Skip to content

Commit

Permalink
Update documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
George V. Reilly committed Jan 21, 2016
1 parent 892808b commit 8d8fcd3
Show file tree
Hide file tree
Showing 67 changed files with 2,201 additions and 2,173 deletions.
5 changes: 5 additions & 0 deletions articles/index.html
Expand Up @@ -38,6 +38,11 @@ <h1><a href="/" rel="home start" class="blogtitle">George V. Reilly</a></h1>
</tr>


<tr>
<th>20</th>
<td><a href="/blog/2016/01/20/MixedUpCanadianDateFormats.html">Mixed-Up Canadian Date Formats</a></td>
</tr>

<tr>
<th>19</th>
<td><a href="/blog/2016/01/19/PsqlCouldNotConnectToServer.html">psql: could not connect to server</a></td>
Expand Down
89 changes: 23 additions & 66 deletions atom/index.html
Expand Up @@ -11,8 +11,30 @@
<link rel="self" type="application/atom+xml" href="http://www.georgevreilly.com/atom/" />
<icon>http://www.georgevreilly.com/favicon.ico</icon>
<logo>http://www.georgevreilly.com/feed-logo.png</logo>
<updated>2016-01-19T08:00:00Z</updated>
<updated>2016-01-20T08:00:00Z</updated>
<generator uri="https://github.com/posativ/acrylamid/" version="0.7.10">acrylamid</generator>
<entry>
<title>Mixed-Up Canadian Date Formats</title>
<link rel="alternate" type="text/html" href="http://www.georgevreilly.com/blog/2016/01/20/MixedUpCanadianDateFormats.html" />
<id>tag:www.georgevreilly.com,2016-01-20:/blog/2016/01/20/MixedUpCanadianDateFormats.html</id>
<updated>2016-01-20T08:00:00Z</updated>

<author>
<name>George V. Reilly</name>
<uri>http://www.georgevreilly.com/</uri>
<email>george@reilly.org</email>
</author>
<content type="html">&lt;a class=&#34;reference external image-reference&#34; href=&#34;http://www.cbc.ca/news/canada/proposed-legislation-aims-to-settle-date-debate-1.3407640&#34;&gt;&lt;img alt=&#34;http://i.cbc.ca/1.3407646.1453137886!/fileImage/httpImage/image.jpg_gen/derivatives/16x9_620/date-on-federal-government-forms.jpg&#34; src=&#34;http://i.cbc.ca/1.3407646.1453137886!/fileImage/httpImage/image.jpg_gen/derivatives/16x9_620/date-on-federal-government-forms.jpg&#34;/&gt;&lt;/a&gt;
&lt;p&gt;Apparently, there&#39;s &lt;a class=&#34;reference external&#34; href=&#34;http://www.cbc.ca/news/canada/proposed-legislation-aims-to-settle-date-debate-1.3407640&#34;&gt;no standard for writing dates&lt;/a&gt; in Canada.
I assumed that Canada used the annoying US-style convention of MM/DD/YYYY.
I didn&#39;t realize that the British-style DD/MM/YYYY is also widespread.
How exasperating!&lt;/p&gt;
&lt;p&gt;Personally, I always write YYYY-MM-DD whenever I can get away with it,
as God and &lt;a class=&#34;reference external&#34; href=&#34;https://en.wikipedia.org/wiki/ISO_8601&#34;&gt;ISO 8601&lt;/a&gt; intended.
A bill is before the Canadian parliament aiming at standardizing on year-month-day formats.&lt;/p&gt;
</content>
</entry>

<entry>
<title>psql: could not connect to server</title>
<link rel="alternate" type="text/html" href="http://www.georgevreilly.com/blog/2016/01/19/PsqlCouldNotConnectToServer.html" />
Expand Down Expand Up @@ -931,71 +953,6 @@
and is readier (though not yet fully ready) to make the sacrifices
that he will be called upon to make.&lt;/p&gt;
&lt;p&gt;A satisfying middle book of a trilogy.&lt;/p&gt;
</content>
</entry>

<entry>
<title>Review: The Magicians</title>
<link rel="alternate" type="text/html" href="http://www.georgevreilly.com/blog/2015/12/26/ReviewTheMagicians.html" />
<id>tag:www.georgevreilly.com,2015-12-26:/blog/2015/12/26/ReviewTheMagicians.html</id>
<updated>2015-12-26T08:00:00Z</updated>

<author>
<name>George V. Reilly</name>
<uri>http://www.georgevreilly.com/</uri>
<email>george@reilly.org</email>
</author>
<content type="html">&lt;a class=&#34;reference external image-reference&#34; href=&#34;http://www.amazon.com/dp/0670020559/?tag=georgvreill-20&#34;&gt;&lt;img alt=&#34;The Magicians&#34; class=&#34;right-float&#34; src=&#34;http://images.amazon.com/images/P/0670020559.01.MZZZZZZZ.jpg&#34;/&gt;&lt;/a&gt;
&lt;div class=&#34;line-block&#34;&gt;
&lt;div class=&#34;line&#34;&gt;Title: The Magicians&lt;/div&gt;
&lt;div class=&#34;line&#34;&gt;Author: Lev Grossman&lt;/div&gt;
&lt;div class=&#34;line&#34;&gt;Rating: $stars(4.5)&lt;/div&gt;
&lt;div class=&#34;line&#34;&gt;Publisher: Plume&lt;/div&gt;
&lt;div class=&#34;line&#34;&gt;Copyright: 2009&lt;/div&gt;
&lt;div class=&#34;line&#34;&gt;ISBN: &lt;a class=&#34;reference external&#34; href=&#34;http://www.amazon.com/dp/0670020559/?tag=georgvreill-20&#34;&gt;0670020559&lt;/a&gt;&lt;/div&gt;
&lt;div class=&#34;line&#34;&gt;Pages: 402&lt;/div&gt;
&lt;div class=&#34;line&#34;&gt;Keywords: adult fantasy&lt;/div&gt;
&lt;div class=&#34;line&#34;&gt;Reading period: 20–26 December, 2015&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;Take a heavy dose of &lt;a class=&#34;reference external&#34; href=&#34;https://en.wikipedia.org/wiki/The_Chronicles_of_Narnia&#34;&gt;Narnia&lt;/a&gt;,
add a hefty dollop of &lt;a class=&#34;reference external&#34; href=&#34;https://en.wikipedia.org/wiki/Harry_Potter&#34;&gt;Harry Potter&lt;/a&gt;,
stir in some &lt;a class=&#34;reference external&#34; href=&#34;https://en.wikipedia.org/wiki/Bret_Easton_Ellis&#34;&gt;Bret Easton Ellis&lt;/a&gt;
and a dash of &lt;a class=&#34;reference external&#34; href=&#34;https://en.wikipedia.org/wiki/The_Catcher_in_the_Rye&#34;&gt;The Catcher in the Rye&lt;/a&gt;,
then cook for adults.
That glib description shortchanges &lt;a class=&#34;reference external&#34; href=&#34;https://en.wikipedia.org/wiki/The_Magicians_(Grossman_novel)&#34;&gt;The Magicians&lt;/a&gt;,
even though Fillory clearly owes a major debt to Narnia
and the preppy Brakebills College for Magical Pedagogy somewhat resembles Hogwarts.&lt;/p&gt;
&lt;p&gt;Quentin Coldwater is an overachieving, solitary math nerd from Brooklyn,
who thinks he&#39;s attending an entrance interview for Princeton
but instead gains admittance to Brakebills.
Magic turns out to be real, but difficult, requiring much grinding practice and study.
It&#39;s not all dull work:
Quentin and his girlfriend Alice end up sharing a house
with the hedonistic Practical Kids until graduation.&lt;/p&gt;
&lt;p&gt;Moving to New York,
they lose themselves in sensual pleasure and ennui.
The morning after Quentin estranges Alice
by sleeping with the predatory Janet,
they are all astounded
when Penny, another former classmate,
brings them a button which can transport them to Fillory.&lt;/p&gt;
&lt;p&gt;The five Fillory books were written in the 1930s
about the Chatwin children,
who travel from England to the mystical land of Fillory
where they reign as kings and queens.
Quentin has always been a huge fan of the books,
yearning to fill the void in his life
with the simple adventures of Fillory.
Neither he nor the others had actually believed that Fillory existed, however.
Fillory turns out to be much darker than they expect,
as The Beast who now reigns there,
pulls them into a trap that shatters them.
Quentin survives but emerges more depressed than ever.&lt;/p&gt;
&lt;p&gt;&lt;em&gt;The Magicians&lt;/em&gt; is funny and inventive and somber,
and I highly recommend it.
Quentin, for all his irritating flaws, is an interesting character,
who eventually grows up,
at great cost to himself and his friends.&lt;/p&gt;
</content>
</entry>
</feed>
3 changes: 3 additions & 0 deletions blog/2016/01/19/PsqlCouldNotConnectToServer.html
Expand Up @@ -71,6 +71,9 @@ <h1>
</a>


<a href="/blog/2016/01/20/MixedUpCanadianDateFormats.html" class="page floatleft">
&laquo; Mixed-Up Canadian Date Formats
</a>
<footer>


Expand Down
75 changes: 75 additions & 0 deletions blog/2016/01/20/MixedUpCanadianDateFormats.html
@@ -0,0 +1,75 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>Mixed-Up Canadian Date Formats</title>
<link media="all" href="/style.css" rel="stylesheet" />
<link href="/favicon.ico" rel="shortcut icon" />
<link href="/sitemap.xml" type="application/xml" rel="sitemap" title="Sitemap">
<link href="/" rel="home start" />
<link href="/atom/" type="application/atom+xml" rel="alternate" title="Atom Feed" />
<link href="/rss/" type="application/rss+xml" rel="alternate" title="RSS Feed" />
<!--[if lt IE 9]>
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<meta name="description" content=".. image:: http://i.cbc.ca/1.3407646.1453137886!/f..." />
<meta name="keywords" content="" />
</head>
<body>
<header>
<h1><a href="/" rel="home start" class="blogtitle">George V. Reilly</a></h1>
<nav>
<ul>
<li><a href="/blog/" rel="home start">blog</a></li>
<li><a href="/about/" rel="home start">about</a></li>
<li><a href="/atom/" rel="alternate">atom</a></li>
<li><a href="/rss/" rel="alternate">rss</a></li>
<li><a href="/articles/" rel="contents">articles</a></li>
</ul>
</nav>
</header>

<article>
<header>
<time datetime="2016-01-20">20.01.2016, 00:00</time>
<h1>
<a href="/blog/2016/01/20/MixedUpCanadianDateFormats.html" rel="bookmark canonical">Mixed-Up Canadian Date Formats</a>
</h1>
</header>
<a class="reference external image-reference" href="http://www.cbc.ca/news/canada/proposed-legislation-aims-to-settle-date-debate-1.3407640"><img alt="http://i.cbc.ca/1.3407646.1453137886!/fileImage/httpImage/image.jpg_gen/derivatives/16x9_620/date-on-federal-government-forms.jpg" src="http://i.cbc.ca/1.3407646.1453137886!/fileImage/httpImage/image.jpg_gen/derivatives/16x9_620/date-on-federal-government-forms.jpg"/></a>
<p>Apparently, there's <a class="reference external" href="http://www.cbc.ca/news/canada/proposed-legislation-aims-to-settle-date-debate-1.3407640">no standard for writing dates</a> in Canada.
I assumed that Canada used the annoying US-style convention of MM/DD/YYYY.
I didn't realize that the British-style DD/MM/YYYY is also widespread.
How ex&shy;as&shy;per&shy;at&shy;ing!</p>
<p>Personally, I always write YYYY-MM-DD whenever I can get away with it,
as God and <a class="reference external" href="https://en.wikipedia.org/wiki/ISO_8601">ISO 8601</a> intended.
A bill is before the Canadian parliament aiming at stan&shy;dard&shy;iz&shy;ing on year-month-day formats.</p>

<footer>


<p>untagged</p>

</footer>
<div class="comments"></div>
</article>


<a href="/blog/2016/01/19/PsqlCouldNotConnectToServer.html" class="page floatright">
psql: could not connect to server &raquo;
</a>


<footer>


<p>written by <a href="mailto:george@reilly.org">George V. Reilly</a></p>
<a href="http://creativecommons.org/licenses/by-nc-sa/2.0/de/" rel="copyright license">
<img src="http://i.creativecommons.org/l/by-nc-sa/3.0/88x31.png" alt="by-nc-sa" />
</a>



</footer>
</body>
</html>
63 changes: 25 additions & 38 deletions blog/index.html
Expand Up @@ -27,6 +27,31 @@ <h1><a href="/" rel="home start" class="blogtitle">George V. Reilly</a></h1>
</nav>
</header>

<article>
<header>
<time datetime="2016-01-20">20.01.2016, 00:00</time>
<h1>
<a href="/blog/2016/01/20/MixedUpCanadianDateFormats.html" rel="bookmark canonical">Mixed-Up Canadian Date Formats</a>
</h1>
</header>
<a class="reference external image-reference" href="http://www.cbc.ca/news/canada/proposed-legislation-aims-to-settle-date-debate-1.3407640"></a>
<p>Apparently, there's <a class="reference external" href="http://www.cbc.ca/news/canada/proposed-legislation-aims-to-settle-date-debate-1.3407640">no standard for writing dates</a> in Canada.
I assumed that Canada used the annoying US-style convention of MM/DD/YYYY.
I didn't realize that the British-style DD/MM/YYYY is also widespread.
How ex&shy;as&shy;per&shy;at&shy;ing!</p>
<p>Personally, I always write YYYY-MM-DD whenever I can get away with it,
as God and <a class="reference external" href="https://en.wikipedia.org/wiki/ISO_8601">ISO 8601</a> intended.
A bill is before the Canadian parliament aiming at stan&shy;dard&shy;iz&shy;ing on year-month-day formats.</p>

<footer>


<p>untagged</p>

</footer>
<div class="comments"></div>
</article>

<article>
<header>
<time datetime="2016-01-19">19.01.2016, 00:00</time>
Expand Down Expand Up @@ -359,44 +384,6 @@ <h1>
<div class="comments"></div>
</article>

<article>
<header>
<time datetime="2016-01-10">10.01.2016, 00:00</time>
<h1>
<a href="/blog/2016/01/10/ReviewADedicatedMan.html" rel="bookmark canonical">Review: A Dedicated Man</a>
</h1>
</header>
<a class="reference external image-reference" href="http://www.amazon.com/dp/0380716453/?tag=georgvreill-20"></a>
<div class="line-block">
<div class="line">Title: A Dedicated Man</div>
<div class="line">Author: Peter Robinson</div>
<div class="line">Rating: $stars(4)</div>
<div class="line">Publisher: Avon</div>
<div class="line">Copyright: 1988</div>
<div class="line">ISBN: <a class="reference external" href="http://www.amazon.com/dp/0380716453/?tag=georgvreill-20">0380716453</a></div>
<div class="line">Pages: 352</div>
<div class="line">Keywords: police procedural</div>
<div class="line">Reading period: 8–10 January, 2016</div>
</div>
<p><a class="reference external" href="https://en.wikipedia.org/wiki/A_Dedicated_Man">A Dedicated Man</a> is the second novel in the <a class="reference external" href="https://en.wikipedia.org/wiki/Inspector_Alan_Banks">Inspector Banks</a> series.
A local historian has been murdered in the Yorkshire Dales.
He was well-liked and there seems to be no obvious motives or suspects.
Banks must dig into the dead man's past if there are no leads in the present.</p>
<p>Like <a class="reference external" href="http://www.georgevreilly.com/blog/2009/11/21/ReviewTheHangingValley.html">other</a> <a class="reference external" href="http://www.georgevreilly.com/blog/2015/05/31/ReviewBadBoy.html">books</a> in the series,
this is a competent well-written police procedural,
partly seen through Banks' eyes
and partly through the eyes of some of the locals.
Robinson is an expatriate York&shy;shire&shy;man
with a fondness for his homeland and for his <span>&#8230;<a href="/blog/2016/01/10/ReviewADedicatedMan.html" class="continue">continue</a>.</span></p>
<footer>


<p>untagged</p>

</footer>
<div class="comments"></div>
</article>


<a href="/blog/page/2/" class="page floatright">
Previous &raquo;
Expand Down
59 changes: 29 additions & 30 deletions blog/page/10/index.html
Expand Up @@ -27,6 +27,35 @@ <h1><a href="/" rel="home start" class="blogtitle">George V. Reilly</a></h1>
</nav>
</header>

<article>
<header>
<time datetime="2015-03-02">02.03.2015, 00:00</time>
<h1>
<a href="/blog/2015/03/02/NosetestsWontDiscoverExecutableFiles.html" rel="bookmark canonical">Nosetests won't discover tests in executable files</a>
</h1>
</header>
<a class="reference external image-reference" href="http://nose.readthedocs.org/"></a>
<p>We use <a class="reference external" href="http://nose.readthedocs.org/">Nose</a> to run unit tests.
I noticed that we had some tests that weren't being run,
and it took me some time to work out why.
Eventually, I found this <a class="reference external" href="https://www.hyperink.com/blog/?p=22">checklist</a>,
which told me to &quot;make sure the files in your tests directory are not executable&quot;.</p>
<p>A quick <tt class="docutils literal">chmod <span class="pre">-x</span> *.py</tt> later and <tt class="docutils literal">nosetests project/tests</tt> suddenly found all the tests.</p>
<p>Now that I know what to look for, I found this in the Nose docs:</p>
<blockquote>
<p>It is important to note that the default behavior of nose
is to not include tests from files which are executable.</p>
<p><tt class="docutils literal"><span class="pre">--exe</span></tt>: Look for tests in python modules that are executable.
Normal behavior <span>&#8230;<a href="/blog/2015/03/02/NosetestsWontDiscoverExecutableFiles.html" class="continue">continue</a>.</span></p></blockquote>
<footer>


<p>untagged</p>

</footer>
<div class="comments"></div>
</article>

<article>
<header>
<time datetime="2015-03-01">01.03.2015, 00:00</time>
Expand Down Expand Up @@ -324,36 +353,6 @@ <h1>
<div class="comments"></div>
</article>

<article>
<header>
<time datetime="2015-01-25">25.01.2015, 00:00</time>
<h1>
<a href="/blog/2015/01/25/PyCharmYosemite.html" rel="bookmark canonical">Running PyCharm on Yosemite</a>
</h1>
</header>
<a class="reference external image-reference" href="https://www.jetbrains.com/pycharm/"></a>
<p>I did a <a class="reference external" href="http://www.georgevreilly.com/blog/2015/01/17/YosemiteCleanInstall.aspx">clean install of OS X 10.10</a> on my home laptop a week ago.
I tried to launch <a class="reference external" href="https://www.jetbrains.com/pycharm/">PyCharm</a> 4.0.4 on it today.
It im&shy;me&shy;di&shy;ate&shy;ly failed. Every time.</p>
<p>When I looked in the System Console, I saw:</p>
<pre class="literal-block">
1/25/15 7:46:00.557 PM pycharm[1160]: No matching VM found.
1/25/15 7:46:00.711 PM com.apple.xpc.launchd[1]: (com.jetbrains.pycharm.58252[1160]) Service exited with abnormal code: 1
</pre>
<p>The JetBrains website wasn't very helpful when I looked there.
In time, I found a <a class="reference external" href="http://stackoverflow.com/questions/26438628/crash-jetbrains-ide-with-yosemite-mac-osx-webstorm-intellij">Stack&shy;Over&shy;flow answer</a> that put me on the right track
(and reminded me that I had previously solved this problem about a year ago, at work).
PyCharm and some of the other JetBrains IDEs require JDK 1.6,
as <span>&#8230;<a href="/blog/2015/01/25/PyCharmYosemite.html" class="continue">continue</a>.</span></p>
<footer>


<p>untagged</p>

</footer>
<div class="comments"></div>
</article>


<a href="/blog/page/11/" class="page floatright">
Previous &raquo;
Expand Down

0 comments on commit 8d8fcd3

Please sign in to comment.