<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dw="https://www.dreamwidth.org">
  <id>tag:dreamwidth.org,2009-01-31:32</id>
  <title>development corrupts</title>
  <subtitle>absolute development corrupts absolutely</subtitle>
  <author>
    <name>afuna</name>
  </author>
  <link rel="alternate" type="text/html" href="https://afuna.dreamwidth.org/"/>
  <link rel="self" type="text/xml" href="https://afuna.dreamwidth.org/data/atom"/>
  <updated>2010-05-21T06:18:49Z</updated>
  <dw:journal username="afuna" type="personal"/>
  <entry>
    <id>tag:dreamwidth.org,2009-01-31:32:930278</id>
    <link rel="alternate" type="text/html" href="https://afuna.dreamwidth.org/930278.html"/>
    <link rel="self" type="text/xml" href="https://afuna.dreamwidth.org/data/atom/?itemid=930278"/>
    <title>Weird Browser Behavior</title>
    <published>2010-05-21T06:18:49Z</published>
    <updated>2010-05-21T06:18:49Z</updated>
    <category term="code"/>
    <category term="bugs"/>
    <category term="firefox"/>
    <dw:mood>geeky</dw:mood>
    <dw:security>public</dw:security>
    <dw:reply-count>4</dw:reply-count>
    <content type="html">(Or: when your focus listener interferes with your click listener) &lt;a href="http://jsfiddle.net/wmw6N/6/"&gt;Demo&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Stumbled across it while I was working on the new update page, and it held me up a while. Eventually, I decided to use another approach. &lt;br /&gt;&lt;br /&gt;Playing with the thought of submitting it as a bug, but it may be expected quirky behavior -- at least, it behaves the same way in both Firefox and Opera. Chrome, meanwhile, does not suffer from the problem, but that may be sheer accident: Chrome doesn't trigger the focus event when you use the mouse, only when you use the keyboard. So in Firefox/Opera, the click event doesn't work; in Chrome, it's the focus event that doesn't show up.&lt;br /&gt;&lt;br /&gt;Browsers: they are strange animals.&lt;br /&gt;&lt;br /&gt;PS. If you edit the URL to see previous versions of the fiddle, you'll see that I originally thought that the presence of images had something to do with it, ehehe.&lt;br /&gt;&lt;br /&gt;&lt;img src="https://www.dreamwidth.org/tools/commentcount?user=afuna&amp;ditemid=930278" width="30" height="12" alt="comment count unavailable" style="vertical-align: middle;"/&gt; comments</content>
  </entry>
  <entry>
    <id>tag:dreamwidth.org,2009-01-31:32:921468</id>
    <link rel="alternate" type="text/html" href="https://afuna.dreamwidth.org/921468.html"/>
    <link rel="self" type="text/xml" href="https://afuna.dreamwidth.org/data/atom/?itemid=921468"/>
    <title>Issue while updating db</title>
    <published>2010-04-04T18:19:54Z</published>
    <updated>2010-04-04T18:19:54Z</updated>
    <category term="mysql"/>
    <category term="bugs"/>
    <category term="weekends are for coding"/>
    <category term="dreamwidth"/>
    <dw:security>public</dw:security>
    <dw:reply-count>2</dw:reply-count>
    <content type="html">I ran into this issue while updating my database on my dev environment:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;Failed to read auto-increment value from storage engine&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;That happened when I was trying to insert something new into &lt;tt&gt;logproplist&lt;/tt&gt;. When I checked logproplist, I saw that the propid had skipped from 31 to 255, for the latest property (community moderator thing). information_schema.AUTO_INCREMENT had 256 as its value. Now I have no idea what that means, or why it happened, but it was causing me trouble.&lt;br /&gt;&lt;br /&gt;I deleted all references to the property in logprop2, deleted the property itself in logproplist, &lt;a href="http://ask.amoeba.co.in/failed-to-read-auto-increment-value-from-storage-engine-mysql/"&gt;reset the auto increment&lt;/a&gt; for logproplist, and then reran the database update command. First two steps may have been unnecessary; I did them before I managed to google up the reset fix.&lt;br /&gt;&lt;br /&gt;(In the process, I think I figured out that ALTER_TABLE modifies the information_schema somehow).&lt;br /&gt;&lt;br /&gt;As far as I can tell, it's not something that everyone is going to go through (that is, it appears to be a &lt;a href="http://bugs.mysql.com/bug.php?id=36411"&gt;bug in my MySQL server version&lt;/a&gt;, triggered by some funky other stuff), so I'm not posting in &lt;span style='white-space: nowrap;'&gt;&lt;a href='https://dw-dev.dreamwidth.org/profile'&gt;&lt;img src='https://www.dreamwidth.org/img/comm_staff.png' alt='[site community profile] ' width='16' height='16' style='vertical-align: text-bottom; border: 0; padding-right: 1px;' /&gt;&lt;/a&gt;&lt;a href='https://dw-dev.dreamwidth.org/'&gt;&lt;b&gt;dw_dev&lt;/b&gt;&lt;/a&gt;&lt;/span&gt; to spread the word/fix. Just here in my journal so I don't forget :-)&lt;br /&gt;&lt;br /&gt;&lt;img src="https://www.dreamwidth.org/tools/commentcount?user=afuna&amp;ditemid=921468" width="30" height="12" alt="comment count unavailable" style="vertical-align: middle;"/&gt; comments</content>
  </entry>
  <entry>
    <id>tag:dreamwidth.org,2009-01-31:32:81572</id>
    <link rel="alternate" type="text/html" href="https://afuna.dreamwidth.org/81572.html"/>
    <link rel="self" type="text/xml" href="https://afuna.dreamwidth.org/data/atom/?itemid=81572"/>
    <title>Snow Leopard network woes (problem connecting to another computer on the network)</title>
    <published>2010-02-08T16:54:19Z</published>
    <updated>2010-02-08T16:54:19Z</updated>
    <category term="bugs"/>
    <category term="computers"/>
    <category term="mac"/>
    <category term="note to self"/>
    <dw:mood>geeky</dw:mood>
    <dw:security>public</dw:security>
    <dw:reply-count>9</dw:reply-count>
    <content type="html">Okay, here's one thing that bothers me: occasionally, I stop being able to connect to my brother's computer on our home network. Let's call this computer "brother".&lt;br /&gt;&lt;br /&gt;So I'll still see "brother" under the Shared section of the Finder sidebar, but double-clicking on it gives me a "Connection failed", and clicking "Connect as" on the upper right either has no visible effect, or gives a pop-up with the text "The server “brother” may not exist or it is unavailable at this time. Check the server name or IP address, check your network connection, and then try again."&lt;br /&gt;&lt;br /&gt;In Console (Applications &amp;gt; Utilities &amp;gt; Terminal), there's this error message in the system log:&lt;br /&gt;SharePointBrowser::handleOpenCallBack returned 64&lt;br /&gt;&lt;br /&gt;Judicious googling tells me that indicates the remote server is down, which is not true! My laptop just thinks it is. No amount of flushing dnscache (whether by doing dscacheutil -flushcache, or killall -HUP mDNSResolver) could fix it. It's also not a network setup issue, because I've been able to connect to this computer before and if I restart, etc, I'll be able to connect to it again.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;I just spent the evening digging into this, because it frustrates me so, and I think I've finally got some solutions that work well enough that I want to share (also note them down so I can find them when I next need them!):&lt;br /&gt;&lt;br /&gt;&lt;span class="cut-wrapper"&gt;&lt;span style="display: none;" id="span-cuttag___1" class="cuttag"&gt;&lt;/span&gt;&lt;b class="cut-open"&gt;(&amp;nbsp;&lt;/b&gt;&lt;b class="cut-text"&gt;&lt;a href="https://afuna.dreamwidth.org/81572.html#cutid1"&gt;three things that worked for me under the cut&lt;/a&gt;&lt;/b&gt;&lt;b class="cut-close"&gt;&amp;nbsp;)&lt;/b&gt;&lt;/span&gt;&lt;div style="display: none;" id="div-cuttag___1" aria-live="assertive"&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;And there! I haven't managed to google up *any* solution to this kind of issue (except for advice to restart, but again that's not always feasible), so I've tried to put down everything that I could, and maybe it can help someone else in the future.&lt;br /&gt;&lt;br /&gt;Future self, if this happens to you again, please remember to look at this entry.&lt;br /&gt;&lt;br /&gt;&lt;img src="https://www.dreamwidth.org/tools/commentcount?user=afuna&amp;ditemid=81572" width="30" height="12" alt="comment count unavailable" style="vertical-align: middle;"/&gt; comments</content>
  </entry>
  <entry>
    <id>tag:dreamwidth.org,2009-01-31:32:76512</id>
    <link rel="alternate" type="text/html" href="https://afuna.dreamwidth.org/76512.html"/>
    <link rel="self" type="text/xml" href="https://afuna.dreamwidth.org/data/atom/?itemid=76512"/>
    <title>Ghosts in the interests code</title>
    <published>2010-01-09T13:17:19Z</published>
    <updated>2010-01-09T13:17:19Z</updated>
    <category term="weekends are for coding"/>
    <category term="bugs"/>
    <category term="dreamwidth"/>
    <dw:security>public</dw:security>
    <dw:reply-count>19</dw:reply-count>
    <content type="html">Bah, the issues with interests are slowly driving me to distraction. Two requests about interests within hours of each other! I feel that those two... three? issues have been going on long enough, so I spent the afternoon digging into interests code.&lt;br /&gt;&lt;br /&gt;No progress on any of the issues, unfortunately, and I'm left feeling that there are, indeed, ghosts in the interests code. Without a reliable method of replication, I can't even tell whether it's memcache or actual stored values that are the problem. &lt;br /&gt;&lt;br /&gt;I have the feeling that when we figure out what's wrong, it will be a FLASH OF SUDDEN INSIGHT HOW COULD I HAVE MISSED IT. But today, I'm well and truly stumped past the point of unproductivity. &lt;br /&gt;&lt;br /&gt;*shakes fist*&lt;br /&gt;&lt;br /&gt;Will get you, yet.&lt;br /&gt;&lt;br /&gt;&lt;img src="https://www.dreamwidth.org/tools/commentcount?user=afuna&amp;ditemid=76512" width="30" height="12" alt="comment count unavailable" style="vertical-align: middle;"/&gt; comments</content>
  </entry>
  <entry>
    <id>tag:dreamwidth.org,2009-01-31:32:48590</id>
    <link rel="alternate" type="text/html" href="https://afuna.dreamwidth.org/48590.html"/>
    <link rel="self" type="text/xml" href="https://afuna.dreamwidth.org/data/atom/?itemid=48590"/>
    <title>I have the specter of a commit and ditch hanging over my head</title>
    <published>2009-11-02T19:22:28Z</published>
    <updated>2009-11-02T19:22:28Z</updated>
    <category term="dreamwidth"/>
    <category term="bugs"/>
    <category term="code"/>
    <dw:security>public</dw:security>
    <dw:reply-count>4</dw:reply-count>
    <content type="html">But I cannot replicate on my 'hack. I am stumped!&lt;br /&gt;&lt;br /&gt;&lt;img src="https://www.dreamwidth.org/tools/commentcount?user=afuna&amp;ditemid=48590" width="30" height="12" alt="comment count unavailable" style="vertical-align: middle;"/&gt; comments</content>
  </entry>
</feed>
