<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>gfrlog</title>
    <link>http://gfredericks.com/</link>
    <description>Eat it before it gets cold!</description>
    <item>
      <title>Internet Marketing Experts</title>
      <link>http://gfredericks.com/gfrlog/post/69</link>
      <description>&lt;p&gt;The other day I received a one-sentence message from the contact page on this site:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;We are Internet Marketing experts who can help you answer these questions, drive mass traffic to your site, and dramatically increase sales.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;This was a relief, because I had been trying to answer these questions.
Also I haven&amp;#8217;t had a sale around here for as long as I can remember.&lt;/p&gt;</description>
      <guid>http://gfredericks.com/gfrlog/post/69</guid>
    </item>
    <item>
      <title>More Polyominoes</title>
      <link>http://gfredericks.com/gfrlog/post/68</link>
      <description>&lt;p&gt;Despite having a pile of ideas and plans, and of course never enough
time to implement them, I was able to heave out some planned and
requested features for the 
&lt;a href=&quot;/sandbox/polyominoes&quot;&gt;Polyomino Tiler&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;There are a handful of minor UI improvements, and two major new
features. The first is the ability to specifically assign colors
to certain tiles, as well as expanding the list of provided colors
and allowing for arbitrary colors (in hex format) to be added. That
and the fact that the heptominoes are now also included enable the
following image:&lt;/p&gt;
&lt;p style=&quot;text-align:center;&quot;&gt;&lt;img src=&quot;/images/gfrlog/68/29277b05_l.png?1279714388&quot; alt=&quot;&quot; /&gt;&lt;/p&gt;
&lt;p&gt;The second new feature is the ability to distinguish between pieces
in a one-sided mode, as well as a fixed mode. By &amp;#8220;distinguish&amp;#8221;, I mean
both that you can decide to include or exclude a particular variant,
as well as assign variants their own colors (as the following two
images illustrate, respectively).&lt;/p&gt;
&lt;p style=&quot;text-align:center;&quot;&gt;&lt;img src=&quot;/images/gfrlog/68/b2b1828_l.png?1279757033&quot; alt=&quot;&quot; /&gt;&lt;/p&gt;
&lt;p&gt;The above image has the &amp;#8216;T&amp;#8217; tetromino fixed at one orientation, the
&amp;#8216;S&amp;#8217; tetromino as one-sided, and two fixed variants of the &amp;#8216;L&amp;#8217;
triomino. The image below is all one piece, colored differently
for each of the eight orientations.&lt;/p&gt;
&lt;p style=&quot;text-align:center;&quot;&gt;&lt;img src=&quot;/images/gfrlog/68/2fd6eaff_l.png?1279757594&quot; alt=&quot;&quot; /&gt;&lt;/p&gt;
&lt;p&gt;Well good.&lt;/p&gt;</description>
      <guid>http://gfredericks.com/gfrlog/post/68</guid>
    </item>
    <item>
      <title>A New Class</title>
      <link>http://gfredericks.com/gfrlog/post/67</link>
      <description>&lt;p&gt;Add this to the list of bizarre things you can do in Ruby:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;
class Object
  def new
    Class.new
  end
end

p Class.new.new.new.new.new.new.new.new.new.new.new

# prints &quot;#&amp;lt;Class:0x401bf9dc&amp;gt;&quot;
&lt;/code&gt;&lt;/pre&gt;</description>
      <guid>http://gfredericks.com/gfrlog/post/67</guid>
    </item>
    <item>
      <title>Suggest An Appropriate Title</title>
      <link>http://gfredericks.com/gfrlog/post/66</link>
      <description>&lt;p&gt;The other day on a train I was investigating the different ways
that numbers can be represented using an &amp;#8220;extended binary&amp;#8221; when
I happened upon an interesting sequence.&lt;/p&gt;
&lt;p&gt;Extended binary has the same values for the digits (2&lt;sup&gt;0&lt;/sup&gt;,
2&lt;sup&gt;1&lt;/sup&gt;,
2&lt;sup&gt;2&lt;/sup&gt;, 2&lt;sup&gt;3&lt;/sup&gt;&amp;#8230;), but instead of allowing only
coefficients of 0 and 1, we allow any natural number. So the number
6 can be represented in any of the following ways:&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;1&amp;#183;2&lt;sup&gt;2&lt;/sup&gt; + 1&amp;#183;2&lt;sup&gt;1&lt;/sup&gt;&lt;/li&gt;
	&lt;li&gt;1&amp;#183;2&lt;sup&gt;2&lt;/sup&gt; + 2&amp;#183;2&lt;sup&gt;0&lt;/sup&gt;&lt;/li&gt;
	&lt;li&gt;3&amp;#183;2&lt;sup&gt;1&lt;/sup&gt;&lt;/li&gt;
	&lt;li&gt;2&amp;#183;2&lt;sup&gt;1&lt;/sup&gt; + 2&amp;#183;2&lt;sup&gt;0&lt;/sup&gt;&lt;/li&gt;
	&lt;li&gt;1&amp;#183;2&lt;sup&gt;1&lt;/sup&gt; + 4&amp;#183;2&lt;sup&gt;0&lt;/sup&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;So the number six has five representations. If we count the number
of representations for each number, starting with 0, we get the
following sequence:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;1, 1, 2, 2, 3, 3, 5, 5, 7, 7, 10, 10, 13, 13, 18, 18, 23, 23,
30, 30, 37, 37, 47, 47, 57, 57, &amp;#8230;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;The first thing I do when analyzing a sequence is to look at the
differences between the successive numbers. In this case every
number repeats, but if we remove the repeats, like so:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;1, 2, 3, 5, 7, 10, 13, 18, 23, 30, 37, 47, 57, &amp;#8230;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;And then take the difference between each of these numbers, we get:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;1, 1, 2, 2, 3, 3, 5, 5, 7, 7, 10, 10, &amp;#8230;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Sloane&amp;#8217;s has it as &lt;a href=&quot;http://www.research.att.com/~njas/sequences/A040039&quot;&gt;A040039&lt;/a&gt;, with the subtitle:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;First differences of &lt;a href=&quot;http://www.research.att.com/~njas/sequences/A033485&quot;&gt;A033485&lt;/a&gt;; also &lt;a href=&quot;http://www.research.att.com/~njas/sequences/A033485&quot;&gt;A033485&lt;/a&gt; with terms repeated.&lt;/p&gt;
&lt;/blockquote&gt;</description>
      <guid>http://gfredericks.com/gfrlog/post/66</guid>
    </item>
    <item>
      <title>Unrectangularizability</title>
      <link>http://gfredericks.com/gfrlog/post/65</link>
      <description>&lt;p&gt;There&amp;#8217;s a way to describe prime numbers without mentioning divisibility
(or multiplication, division, or any arithmetic at all actually) that
I suspect might be easier to digest for people who aren&amp;#8217;t the least bit
thrilled by number theory.&lt;/p&gt;
&lt;p&gt;We just need one preliminary concept. Consider an arrangement of objects
into identical rows forming a rectangular grid, like this:&lt;/p&gt;
&lt;p style=&quot;text-align:center;&quot;&gt;&lt;img src=&quot;/images/gfrlog/65/5x7.png?1276347880&quot; alt=&quot;&quot; /&gt;&lt;/p&gt;
&lt;p&gt;We&amp;#8217;ll call it a rectangle as long as all of its sides are at least
two objects long. This should all be pretty intuitive.&lt;/p&gt;
&lt;p&gt;Note that in the previous example there are 35 objects in total. We could
get this by multiplying, but if we&amp;#8217;re trying not to use arithmetic, we
could also get it by counting. So because we have a rectangle with 35
objects in it, we&amp;#8217;ll say that 35 must be a rectangular number. All 
it means for a number to be rectangular is that if you have that particular number of
objects, you can arrange them into a rectangle somehow. Because the rectangles must
have sides at least 2, the smallest rectangular number must be 4:&lt;/p&gt;
&lt;p style=&quot;text-align:center;&quot;&gt;&lt;img src=&quot;/images/gfrlog/65/2x2.png?1276347880&quot; alt=&quot;&quot; /&gt;&lt;/p&gt;
&lt;p&gt;Having now defined &amp;#8216;rectangular number&amp;#8217; in terms that I optimistically
suspect a preschooler could understand, we can get prime numbers with
just this:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;A prime number is any number greater than one that is not rectangular.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;This is a negative definition for sure, but we can make it constructive by
turning it into a method for showing a number is prime. This is
as simple as checking all possible rectangle-shapes (or row-lengths). For example,
to show that 37 is a prime, we look at what happens when we try to make a
rectangle with every possible row length:&lt;/p&gt;
&lt;p style=&quot;text-align:center;&quot;&gt;&lt;img src=&quot;/images/gfrlog/65/2x18t1.png?1276347880&quot; alt=&quot;&quot; /&gt;
&lt;img src=&quot;/images/gfrlog/65/3x12t1.png?1276347880&quot; alt=&quot;&quot; /&gt;
&lt;img src=&quot;/images/gfrlog/65/4x9t1.png?1276347880&quot; alt=&quot;&quot; /&gt;
&lt;img src=&quot;/images/gfrlog/65/5x7t2.png?1276347880&quot; alt=&quot;&quot; /&gt;
&lt;img src=&quot;/images/gfrlog/65/6x6t1.png?1276347880&quot; alt=&quot;&quot; /&gt;
&lt;img src=&quot;/images/gfrlog/65/7x5t2.png?1276347880&quot; alt=&quot;&quot; /&gt;
&lt;img src=&quot;/images/gfrlog/65/9x4t1.png?1276347880&quot; alt=&quot;&quot; /&gt;
&lt;img src=&quot;/images/gfrlog/65/10x3t7.png?1276347880&quot; alt=&quot;&quot; /&gt;
&lt;img src=&quot;/images/gfrlog/65/11x3t4.png?1276347880&quot; alt=&quot;&quot; /&gt;
&lt;img src=&quot;/images/gfrlog/65/12x3t1.png?1276347880&quot; alt=&quot;&quot; /&gt;
&lt;img src=&quot;/images/gfrlog/65/13x2t11.png?1276347880&quot; alt=&quot;&quot; /&gt;
&lt;img src=&quot;/images/gfrlog/65/14x2t9.png?1276347880&quot; alt=&quot;&quot; /&gt;
&lt;img src=&quot;/images/gfrlog/65/15x2t7.png?1276347880&quot; alt=&quot;&quot; /&gt;
&lt;img src=&quot;/images/gfrlog/65/16x2t5.png?1276347880&quot; alt=&quot;&quot; /&gt;
&lt;img src=&quot;/images/gfrlog/65/17x2t3.png?1276347880&quot; alt=&quot;&quot; /&gt;
&lt;img src=&quot;/images/gfrlog/65/18x2t1.png?1276347882&quot; alt=&quot;&quot; /&gt;
&lt;img src=&quot;/images/gfrlog/65/19x1t18.png?1276347882&quot; alt=&quot;&quot; /&gt;&lt;/p&gt;
&lt;p&gt;There&amp;#8217;s always something leftover. So to be prime is to completely escape
all attempts at rectangularization. I think it&amp;#8217;s fascinating to consider
very large primes, for which there would be millions, trillions, or however
arbitrarily many plausible row sizes to make a rectangle from, and none of
them work.&lt;/p&gt;</description>
      <guid>http://gfredericks.com/gfrlog/post/65</guid>
    </item>
    <item>
      <title>Maximally Irregular Graphs -- Part 2</title>
      <link>http://gfredericks.com/gfrlog/post/64</link>
      <description>&lt;p&gt;My last post where I introduced the idea of maximally irregular graphs ended with
a question &amp;#8212; can there be two distinct (non-isomorphic) maximally irregular graphs
of the same order? I had found this not to be the case up to order 9, but of course
we can&amp;#8217;t be sure that there aren&amp;#8217;t any without a formal proof.&lt;/p&gt;
&lt;p&gt;Within minutes of publishing the first post, I started getting ideas
of how such a proof might go, but I didn&amp;#8217;t have the opportunity and
the will to formalize it until just recently.&lt;/p&gt;
&lt;p&gt;First a lemma to simplify a bit.
For a graph of n nodes containing all degrees from 1 to (n-1), there will always be
one duplicate degree, and I didn&amp;#8217;t specify in my definition which degree it might be.
So the first thing we should note is that, for orders greater than 3,
it can&amp;#8217;t be of degree (n-1) OR of degree 1.
It can&amp;#8217;t be of degree (n-1), because that would mean there are two vertices connected
to every other vertex, which demands that every vertex have degree at least 2, which
precludes the existence of a vertex of degree 1, which we require. The duplicate
can&amp;#8217;t be of degree 1 either, because then there are two vertices that are only connected
to the one vertex of maximal degree, which precludes the existence of a vertex of degree
(n-2), which must necessarily be connected to all but one vertex. So for a large enough
graph (&amp;gt; 3 vertices, so that 1&amp;ne;(n-2)), there will be one unique vertex of degree (n-1), and one unique
vertex of degree 1.&lt;/p&gt;
&lt;p&gt;Having established that, we can outline the proof. The proof will be one of infinite
descent, which will create a contradiction when combined with our observation that
only one maximally irregular graph exists for each order less than ten. So given two
distinct graphs of order n, we will construct two distinct graphs of order (n-2).&lt;/p&gt;
&lt;p&gt;So we assume the existence of two non-isomorphic graphs on n vertices, G and H. Then we
construct G&amp;#8217; and H&amp;#8217; by taking the induced subgraph that results from removing the
vertices of degree 1 and (n-1) from each graph. All we have to show is that G&amp;#8217; and
H&amp;#8217; are maximally irregular for order (n-2), and that they cannot be isomorphic.&lt;/p&gt;
&lt;p&gt;To show that they are maximally irregular, consider what happens to the remaining vertices
when the largest and smallest degree vertices are removed, as in the
example order-15 graph below:&lt;/p&gt;
&lt;p style=&quot;text-align:center;&quot;&gt;&lt;img src=&quot;/images/gfrlog/64/graph_after.png?1275857406&quot; alt=&quot;&quot; /&gt;&lt;/p&gt;
&lt;p&gt;The degree-1 vertex was 
only connected to the degree-(n-1) vertex, and so its removal does not change the
degrees of any of the remaining vertices. The degree-(n-1) vertex, however, was
connected to &lt;strong&gt;every&lt;/strong&gt; remaining vertex, and so removing it will decrement the degree of &lt;strong&gt;every&lt;/strong&gt; remaining
vertex. So this subset of vertices in the original graph had degrees in the range
[2,(n-2)], and so decrementing each of them gives vertices of degrees [1,(n-3)],
which is exactly the requirements for a maximally irregular graph of order (n-2).&lt;/p&gt;
&lt;p&gt;All that remains is to show that G&amp;#8217; and H&amp;#8217; cannot be isomorphic. We can do this by
contradiction &amp;#8212; if G&amp;#8217; and H&amp;#8217; are isomorphic, then we can show that G and H must be isomorphic as
well, contradicting our original assumption that they are distinct. To show this, let us assume
we have a bijection between the vertices of G&amp;#8217; and H&amp;#8217; &amp;#8212; I claim that if we use this
same bijection for G and H, adding that the vertices of degree (n-1) are mapped to
each other and the vertices of degree 1 are mapped to each other, that it will be
an isomorphism. This should be obvious once we note that for the degree (n-1) vertices,
&lt;strong&gt;all&lt;/strong&gt; other vertices are connected to them, so they are trivially equivalent; and for
the degree-1 vertices, they are &lt;strong&gt;only&lt;/strong&gt; connected to the degree (n-1) vertices, which
are mapped to each other. So the connections between the two graphs are preserved.&lt;/p&gt;
&lt;p&gt;And that&amp;#8217;s it. Given any two distinct maximally irregular graphs of the same order, 
we can produce two smaller distinct maximally irregular graphs by removing two vertices
from each graph. This process can be repeated as many times as necessary to produce
two distinct maximally irregular graphs of order less than or equal to nine, and we
have searched exhaustively to be sure that these do not exist. Therefore, for every
order &amp;gt;= 2, there is one unique maximally irregular graph, so we can speak of &lt;strong&gt;the&lt;/strong&gt;
maximally irregular graph for any given order.&lt;/p&gt;
&lt;p&gt;As a reward for anybody who actually read this far, I supply images of the
maximally irregular graphs on &lt;a href=&quot;/images/gfrlog/64/maxirr25.png?1275858118&quot;&gt;25&lt;/a&gt;, &lt;a href=&quot;/images/gfrlog/64/maxirr50.png?1275858131&quot;&gt;50&lt;/a&gt;, &lt;a href=&quot;/images/gfrlog/64/maxirr75.png?1275858176&quot;&gt;75&lt;/a&gt;, and &lt;a href=&quot;/images/gfrlog/64/maxirr100.png?1275857917&quot;&gt;100&lt;/a&gt; nodes.&lt;/p&gt;</description>
      <guid>http://gfredericks.com/gfrlog/post/64</guid>
    </item>
    <item>
      <title>Maximally Irregular Graphs</title>
      <link>http://gfredericks.com/gfrlog/post/63</link>
      <description>&lt;p&gt;For no reason in particular, it occurred to me to wonder if there exist
any graphs (simple, connected, undirected) that contain vertices of
every possible degree (from 1 to (n-1)). A quick mental check should
confirm that such a graph would necessarily have exactly two vertices
that share the same degree (by the pigeonhole principle).
It wasn&amp;#8217;t much trouble to
set my computer to search my nine-vertices-or-less database, but as
I had set it up rather inefficiently, it was taking a few minutes. While
I waited, I tried to construct one myself on paper.&lt;/p&gt;
&lt;p&gt;I was interested in finding a nine-vertex graph specifically, since
that is the largest order in the database. So we start with nine
vertices:&lt;/p&gt;
&lt;p style=&quot;text-align:center;&quot;&gt;&lt;img src=&quot;/images/gfrlog/63/step0.png?1274531868&quot; alt=&quot;&quot; /&gt;&lt;/p&gt;
&lt;p&gt;For the first step we can connect the graph by choosing vertex A to
be the degree-8 vertex. We can also already mark off vertex B
as being the degree-1 vertex, so both A and B are complete at this
point:&lt;/p&gt;
&lt;p style=&quot;text-align:center;&quot;&gt;&lt;img src=&quot;/images/gfrlog/63/step1.png?1274531868&quot; alt=&quot;&quot; /&gt;&lt;/p&gt;
&lt;p&gt;We&amp;#8217;ll let C be the degree-2 vertex, and we can accomplish that by
connecting it to D:&lt;/p&gt;
&lt;p style=&quot;text-align:center;&quot;&gt;&lt;img src=&quot;/images/gfrlog/63/step2.png?1274531868&quot; alt=&quot;&quot; /&gt;&lt;/p&gt;
&lt;p&gt;Similarly D will be the degree-3 vertex, and connecting D to E
accomplishes this nicely:&lt;/p&gt;
&lt;p style=&quot;text-align:center;&quot;&gt;&lt;img src=&quot;/images/gfrlog/63/step3.png?1274531868&quot; alt=&quot;&quot; /&gt;&lt;/p&gt;
&lt;p&gt;Now we need vertex E to have 4 edges, so we connect it with F and
G:&lt;/p&gt;
&lt;p style=&quot;text-align:center;&quot;&gt;&lt;img src=&quot;/images/gfrlog/63/step4.png?1274531868&quot; alt=&quot;&quot; /&gt;&lt;/p&gt;
&lt;p&gt;Once again, we want five edges for F, so we can accomplish this
by connecting it to G, H, and J:&lt;/p&gt;
&lt;p style=&quot;text-align:center;&quot;&gt;&lt;img src=&quot;/images/gfrlog/63/step5.png?1274531868&quot; alt=&quot;&quot; /&gt;&lt;/p&gt;
&lt;p&gt;But now it doesn&amp;#8217;t look like we can make much more progress. Six
of our vertices are already locked up, so the best we can do is to
connect all of the remaining three, which won&amp;#8217;t suffice since
we still need vertices of degree six and seven.&lt;/p&gt;
&lt;p style=&quot;text-align:center;&quot;&gt;&lt;img src=&quot;/images/gfrlog/63/step6.png?1274531868&quot; alt=&quot;&quot; /&gt;&lt;/p&gt;
&lt;p&gt;This suggested to me that there must not be any graphs of order 9
with degrees 1-8, and that my computer would search through a
couple hundred thousand graphs and come up with nothing. I was
surprised, then, when the search returned exactly one result:&lt;/p&gt;
&lt;p style=&quot;text-align:center;&quot;&gt;&lt;img src=&quot;/images/gfrlog/63/o9.png?1274500900&quot; alt=&quot;&quot; /&gt;&lt;/p&gt;
&lt;p&gt;It&amp;#8217;s hard to argue with that. So what did I do wrong? After thinking
for a minute, I realized it was the choice of connections in the
early steps. For example, instead of connecting C to D, I should have
connected both C and D to J. Connecting C to D was wasting an edge,
in a way. It might be more clear if we redraw the graph in the
previous style:&lt;/p&gt;
&lt;p style=&quot;text-align:center;&quot;&gt;&lt;img src=&quot;/images/gfrlog/63/step7.png?1274531868&quot; alt=&quot;&quot; /&gt;&lt;/p&gt;
&lt;p&gt;Another way to arrive at this answer would be to work in the other direction &amp;#8212;
after connecting A to all the other vertices, we then reason that
J needs to be connected to 7 vertices and can&amp;#8217;t connect to B, so it
must necessarily be connected to all the others. Then make similar
arguments for H and G, and by that point I think the graph would
already be finished.&lt;/p&gt;
&lt;p&gt;I also thought it was interesting that there was exactly one graph
that fit the requirements. I quickly had the computer search the
smaller graphs, and sure enough, for each order, there is only
one maximally irregular graph (a term I had to make up, since I don&amp;#8217;t
have a graph theorist on hand to learn me some vocab):&lt;/p&gt;
&lt;p style=&quot;text-align:center;&quot;&gt;&lt;img src=&quot;/images/gfrlog/63/o2.png?1274501360&quot; alt=&quot;&quot; /&gt;&lt;/p&gt;
&lt;p style=&quot;text-align:center;&quot;&gt;&lt;img src=&quot;/images/gfrlog/63/o3.png?1274501367&quot; alt=&quot;&quot; /&gt;&lt;/p&gt;
&lt;p style=&quot;text-align:center;&quot;&gt;&lt;img src=&quot;/images/gfrlog/63/o4.png?1274501379&quot; alt=&quot;&quot; /&gt;&lt;/p&gt;
&lt;p style=&quot;text-align:center;&quot;&gt;&lt;img src=&quot;/images/gfrlog/63/o5.png?1274501392&quot; alt=&quot;&quot; /&gt;&lt;/p&gt;
&lt;p style=&quot;text-align:center;&quot;&gt;&lt;img src=&quot;/images/gfrlog/63/o6.png?1274501402&quot; alt=&quot;&quot; /&gt;&lt;/p&gt;
&lt;p style=&quot;text-align:center;&quot;&gt;&lt;img src=&quot;/images/gfrlog/63/o7.png?1274501413&quot; alt=&quot;&quot; /&gt;&lt;/p&gt;
&lt;p style=&quot;text-align:center;&quot;&gt;&lt;img src=&quot;/images/gfrlog/63/o8.png?1274501442&quot; alt=&quot;&quot; /&gt;&lt;/p&gt;
&lt;p&gt;I thought of a pretty simple inductive proof that a maximally
irregular graph exists for any order, but I have no idea if there
ought to always be exactly one. Isomorphism is extremely easy to
check on these graphs, so I&amp;#8217;ll start searching for a counterexample.&lt;/p&gt;</description>
      <guid>http://gfredericks.com/gfrlog/post/63</guid>
    </item>
    <item>
      <title>MySQL Supported Hack</title>
      <link>http://gfredericks.com/gfrlog/post/62</link>
      <description>&lt;p&gt;From the &lt;a href=&quot;http://dev.mysql.com/doc/refman/5.1/en/select.html&quot;&gt;official MySQL documentation&lt;/a&gt;
comes perhaps the highest combination of software-project-respectability and ugliness-of-officially-recommended-hack
that I&amp;#8217;ve yet encountered:&lt;/p&gt;
&lt;blockquote&gt;
To retrieve all rows from a certain offset up to the end of the result set, you can use some large number for the second parameter. This statement retrieves all rows from the 96th row to the last:
&lt;blockquote&gt;
&lt;p&gt;&lt;span class=&quot;caps&quot;&gt;SELECT&lt;/span&gt; * &lt;span class=&quot;caps&quot;&gt;FROM&lt;/span&gt; tbl &lt;span class=&quot;caps&quot;&gt;LIMIT&lt;/span&gt; 95,18446744073709551615;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;/blockquote&gt;</description>
      <guid>http://gfredericks.com/gfrlog/post/62</guid>
    </item>
    <item>
      <title>A Lot of Little Graphs</title>
      <link>http://gfredericks.com/gfrlog/post/61</link>
      <description>&lt;p&gt;My recent frolicking about with Graph Theory was facilitated
by a database that I populated from &lt;a href=&quot;http://cs.anu.edu.au/~bdm/data/graphs.html&quot;&gt;these collections&lt;/a&gt;,
as well as web interface to it with some basic search 
functions. I just finished polishing the interface to meet
my own user-friendliness standards, and have propped it up
in the Sandbox &lt;a href=&quot;/sandbox/graphs/browse&quot;&gt;here&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;It has all of the undirected connected simple graphs with
nine vertices or fewer (except the graph with one vertex,
which I doubt anyone is interested in), and allows browsing through
the database with just about any simple restriction on the
attributes of the graph (radius, girth, automorphisms, etc.).&lt;/p&gt;
&lt;p&gt;Having the graphs and their attributes pre-computed means
that it can be a lot faster to find graphs with particular
combinations of characteristics than it would be if everything
had to be computed on the fly. It&amp;#8217;s also easy to find types
of graphs that don&amp;#8217;t exist for nine vertices or less, such
as asymmetric regular graphs.&lt;/p&gt;
&lt;p&gt;As someone with little academic experience with graph theory,
I found it a very efficient way to get acquainted with the
different types of graph properties and generally increase
my familiarity with the subject.&lt;/p&gt;
&lt;p&gt;It also
tended to prompt deeper questions that aren&amp;#8217;t so easy to
Google for. For example, I noticed that very few of the
graphs had an automorphism-count that was a prime higher
than two. Specifically, there are only &lt;a href=&quot;/sandbox/graphs/browse?automorphisms=3&quot;&gt;four&lt;/a&gt; of them, all with
only three automorphisms, and all on nine vertices.
This is one of those:&lt;/p&gt;
&lt;p style=&quot;text-align:center;&quot;&gt;&lt;img src=&quot;/images/gfrlog/61/3auto.png?1272119162&quot; style=&quot;border-width:0px;&quot; alt=&quot;&quot; /&gt;&lt;/p&gt;
&lt;p&gt;The smallest graph with 2 automorphisms is actually the
smallest graph with any edges at all, which is the only connected
graph on 2 vertices. So if we form a sequence of the order
of the smallest graph with p automorphisms for all primes p,
we have the following so far:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;2, 9, &amp;#8230;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;So how does this continue? What is the smallest graph with
exactly 5 automorphisms? 7? 11? I can&amp;#8217;t find any information
on it, but I have to think they might
be quite large, such that it would be hard to find them
without more sophisticated mathematical analysis. On the
hand, they might all be simple variations on the one above.&lt;/p&gt;
&lt;p&gt;To avoid the temptation to write a new blog post every time
I see an interesting graph, I&amp;#8217;ll probably create a list for
them. For now, the &lt;a href=&quot;http://gfredericks.com/main/sandbox/graphs/browse?girth=gt3&amp;amp;o=size_desc&quot;&gt;large-girthed-graphs&lt;/a&gt; are fun.&lt;/p&gt;</description>
      <guid>http://gfredericks.com/gfrlog/post/61</guid>
    </item>
    <item>
      <title>Choose a Latitude</title>
      <link>http://gfredericks.com/gfrlog/post/60</link>
      <description>&lt;p&gt;I like Dell&amp;#8217;s approach to comparing-and-contrasting their
product lines:&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;/images/gfrlog/60/choose_a_latitude.png?1271079626&quot; alt=&quot;&quot; /&gt;&lt;/p&gt;
&lt;p&gt;The fun continued when I tried to start customizing things:&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;/images/gfrlog/60/select_base_system.png?1271080151&quot; alt=&quot;&quot; /&gt;&lt;/p&gt;</description>
      <guid>http://gfredericks.com/gfrlog/post/60</guid>
    </item>
  </channel>
</rss>
