<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en-us" xmlns="http://www.w3.org/2005/Atom"><title>Simon Willison's Weblog: integers</title><link href="http://simonwillison.net/" rel="alternate"/><link href="http://simonwillison.net/tags/integers.atom" rel="self"/><id>http://simonwillison.net/</id><updated>2010-01-25T08:11:02+00:00</updated><author><name>Simon Willison</name></author><entry><title>Quoting Kellan Elliott-McCrea</title><link href="https://simonwillison.net/2010/Jan/25/kellan/#atom-tag" rel="alternate"/><published>2010-01-25T08:11:02+00:00</published><updated>2010-01-25T08:11:02+00:00</updated><id>https://simonwillison.net/2010/Jan/25/kellan/#atom-tag</id><summary type="html">
    &lt;blockquote cite="http://laughingmeme.org/2010/01/24/4294967295-and-mysql-int20-syntax-blows/"&gt;&lt;p&gt;If you’re ever debugging a problem and you see the number 42-mumble-mumble-mumble-7295 you’ve run out of 32-bit storage. If you see 2-mumble-mumble-mumble-647 (2147483647) you’ve run out of signed 32-bit storage. 167-mumble-mumble-15 (16777215) you’ve run out of 24-bits and 65-mumble-mumble-35 (65535) you’ve run out of 16-bits of integers.&lt;/p&gt;&lt;/blockquote&gt;
&lt;p class="cite"&gt;&amp;mdash; &lt;a href="http://laughingmeme.org/2010/01/24/4294967295-and-mysql-int20-syntax-blows/"&gt;Kellan Elliott-McCrea&lt;/a&gt;&lt;/p&gt;

    &lt;p&gt;Tags: &lt;a href="https://simonwillison.net/tags/integers"&gt;integers&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/kellan-elliott-mccrea"&gt;kellan-elliott-mccrea&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/mysql"&gt;mysql&lt;/a&gt;&lt;/p&gt;



</summary><category term="integers"/><category term="kellan-elliott-mccrea"/><category term="mysql"/></entry><entry><title>Do not treat Flickr photo IDs as integers</title><link href="https://simonwillison.net/2008/Jan/3/driftrcom/#atom-tag" rel="alternate"/><published>2008-01-03T22:46:30+00:00</published><updated>2008-01-03T22:46:30+00:00</updated><id>https://simonwillison.net/2008/Jan/3/driftrcom/#atom-tag</id><summary type="html">
    
&lt;p&gt;&lt;strong&gt;&lt;a href="http://blog.driftr.com/post/20"&gt;Do not treat Flickr photo IDs as integers&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;
“The good news is, Flickr reached photo number 2147483647 yesterday. Go Flickr! The bad news is that number 2147483647 is the limit for signed integer data type.”

    &lt;p&gt;&lt;small&gt;&lt;/small&gt;Via &lt;a href="http://laughingmeme.org/2008/01/03/do-not-treat-flickr-photo-ids-as-integers/"&gt;Kellan&lt;/a&gt;&lt;/small&gt;&lt;/p&gt;


    &lt;p&gt;Tags: &lt;a href="https://simonwillison.net/tags/flickr"&gt;flickr&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/integers"&gt;integers&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/unsigned"&gt;unsigned&lt;/a&gt;&lt;/p&gt;



</summary><category term="flickr"/><category term="integers"/><category term="unsigned"/></entry></feed>