<?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-05-01:164582</id>
  <title>Spudtater's Journal</title>
  <subtitle>Recent Thoughts of the Tuberous One</subtitle>
  <author>
    <name>spudtater</name>
  </author>
  <link rel="alternate" type="text/html" href="https://spudtater.dreamwidth.org/"/>
  <link rel="self" type="text/xml" href="https://spudtater.dreamwidth.org/data/atom"/>
  <updated>2010-09-02T12:40:39Z</updated>
  <dw:journal username="spudtater" type="personal"/>
  <entry>
    <id>tag:dreamwidth.org,2009-05-01:164582:219365</id>
    <link rel="alternate" type="text/html" href="https://spudtater.dreamwidth.org/219365.html"/>
    <link rel="self" type="text/xml" href="https://spudtater.dreamwidth.org/data/atom/?itemid=219365"/>
    <title>Password generation</title>
    <published>2010-09-02T12:40:39Z</published>
    <updated>2010-09-02T12:40:39Z</updated>
    <category term="programming"/>
    <dw:security>public</dw:security>
    <dw:reply-count>1</dw:reply-count>
    <content type="html">I got an email from &lt;span style='white-space: nowrap;'&gt;&lt;a href='https://galaxy-girl.dreamwidth.org/profile'&gt;&lt;img src='https://www.dreamwidth.org/img/silk/identity/user.png' alt='[personal profile] ' width='17' height='17' style='vertical-align: text-bottom; border: 0; padding-right: 1px;' /&gt;&lt;/a&gt;&lt;a href='https://galaxy-girl.dreamwidth.org/'&gt;&lt;b&gt;galaxy_girl&lt;/b&gt;&lt;/a&gt;&lt;/span&gt; today asking about generating passwords for a whole load of individual documents. This set me thinking.&lt;br /&gt;&lt;br /&gt;It's easy to generate random passwords in large quantities. But these generally aren't memorable &amp;mdash; how easy is it going to be for an average user to remember something like "uJ5we0B"? There's &lt;a href="http://spudtater.dreamwidth.org/208002.html"&gt;techniques&lt;/a&gt; for generating memorable passwords, but these are generally quite long-winded; not really suitable for generating passwords in quantities.&lt;br /&gt;&lt;br /&gt;I'm thinking more simple, mass-produced, low-security passwords along the lines of those which AOL used to send out on the back of their trial CDs. They would use paired dictionary words, all in uppercase, like BERRY-BRING, BRAIN-MUNCH or ICHOR-HAPPY.&lt;br /&gt;&lt;br /&gt;AOL's approach got me wondering: what actually makes these memorable? Is it that they're real words, or is it that they're pronounceable? I put together a quick script to see what a bunch of pronounceable, but nonsensical, words would look like. The result looks like a mixture of Lewis Caroll and J.K. Rowling &amp;mdash; with a scattering of medical-sounding nonsense thrown in for good measure:&lt;br /&gt;&lt;pre&gt;&lt;tt&gt;hopivels     cholatids    nobuderm     claronilts   pomunits
chizitacks   mulemicks    ponawack     blupivads    gafirons
kupiperts    slunijords   blogamecks   pravozim     glufapurts
betaweld     cremutins    pluzarungs   prosinacks   valopings
pukinilds    flofutalls   losiwelt     dritulorms   boripungs
grojesicks   glewabocks   trebizurt    namiruss     blavokerms
tabamungs    thetipurds   crividum     vokulash     slutifoss
kurumulls    grifuvids    bligeling&lt;/tt&gt;&lt;/pre&gt;&lt;br /&gt;This tickled my fancy enough to translate it into JavaScript, and &lt;a href="http://www.flocci.org/passwords.php"&gt;put it up on my webpage&lt;/a&gt;. I'm still not sure if these are any good as passwords, but it's an amusing toy.&lt;br /&gt;&lt;br /&gt;&lt;img src="https://www.dreamwidth.org/tools/commentcount?user=spudtater&amp;ditemid=219365" width="30" height="12" alt="comment count unavailable" style="vertical-align: middle;"/&gt; comments</content>
  </entry>
  <entry>
    <id>tag:dreamwidth.org,2009-05-01:164582:219069</id>
    <link rel="alternate" type="text/html" href="https://spudtater.dreamwidth.org/219069.html"/>
    <link rel="self" type="text/xml" href="https://spudtater.dreamwidth.org/data/atom/?itemid=219069"/>
    <title>Java programmers:</title>
    <published>2010-09-01T14:15:46Z</published>
    <updated>2010-09-01T14:15:46Z</updated>
    <category term="programming"/>
    <dw:security>public</dw:security>
    <dw:reply-count>0</dw:reply-count>
    <content type="html">Which is more evil?&lt;br /&gt;&lt;pre&gt;&lt;tt&gt;public MyReturnClass&amp;lt;ILikeGenerics&amp;gt; doSomethingAndTimeIt1(MyClass parameter) {
    long startTime = System.currentTimeMillis();

    MyReturnClass&amp;lt;ILikeGenerics&amp;gt; result =
        doSomethingComplicatedHere(parameter, this.someInstanceVariable);

    log.debug("Took " + (System.currentTimeMillis() - startTime) + "ms");
    return result;
}

public MyReturnClass&amp;lt;ILikeGenerics&amp;gt; doSomethingAndTimeIt2(MyClass parameter) {
    long startTime = System.currentTimeMillis();

    try {
        return doSomethingComplicatedHere(parameter, this.someInstanceVariable);
    } finally {
        log.debug("Took " + (System.currentTimeMillis() - startTime) + "ms");
    }
}&lt;/tt&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;img src="https://www.dreamwidth.org/tools/commentcount?user=spudtater&amp;ditemid=219069" width="30" height="12" alt="comment count unavailable" style="vertical-align: middle;"/&gt; comments</content>
  </entry>
  <entry>
    <id>tag:dreamwidth.org,2009-05-01:164582:209526</id>
    <link rel="alternate" type="text/html" href="https://spudtater.dreamwidth.org/209526.html"/>
    <link rel="self" type="text/xml" href="https://spudtater.dreamwidth.org/data/atom/?itemid=209526"/>
    <title>Meme, and SQL</title>
    <published>2010-04-22T12:02:23Z</published>
    <updated>2010-04-22T12:02:23Z</updated>
    <category term="programming"/>
    <category term="meme"/>
    <dw:security>public</dw:security>
    <dw:reply-count>0</dw:reply-count>
    <content type="html">&lt;center&gt;&lt;a href="http://election.slowley.com/vote/report/spudtater"&gt;&lt;img src="http://election.slowley.com/badges/2f/spudtater.png"&gt;&lt;/a&gt;&lt;/center&gt;&lt;br /&gt;Hmmm... that's the same for me as it was for two of my friends list.&lt;br /&gt;&lt;br /&gt;&lt;i&gt;*Tap tap*&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;This thing working?&lt;br /&gt;&lt;br /&gt;&lt;hr /&gt;&lt;br /&gt;Never a good sign:&lt;br /&gt;&lt;br /&gt;&lt;tt&gt;customer/stock/sql/GetCurrentStockValueDaveStyle.sql&lt;/tt&gt;&lt;br /&gt;&lt;br /&gt;&lt;img src="https://www.dreamwidth.org/tools/commentcount?user=spudtater&amp;ditemid=209526" width="30" height="12" alt="comment count unavailable" style="vertical-align: middle;"/&gt; comments</content>
  </entry>
  <entry>
    <id>tag:dreamwidth.org,2009-05-01:164582:201272</id>
    <link rel="alternate" type="text/html" href="https://spudtater.dreamwidth.org/201272.html"/>
    <link rel="self" type="text/xml" href="https://spudtater.dreamwidth.org/data/atom/?itemid=201272"/>
    <title>Androidey goodness!</title>
    <published>2010-01-09T21:50:30Z</published>
    <updated>2010-01-09T21:50:30Z</updated>
    <category term="programming"/>
    <category term="geek"/>
    <category term="technology"/>
    <dw:security>public</dw:security>
    <dw:reply-count>0</dw:reply-count>
    <content type="html">So, recently I've been quite &lt;a href="http://spudtater.dreamwidth.org/188102.html"&gt;excited about&lt;/a&gt; &lt;a href="http://spudtater.dreamwidth.org/188321.html"&gt;Android phones&lt;/a&gt;, and have been meaning to get one for a while.&lt;br /&gt;&lt;br /&gt;In a happy turn of events, my brother, who works for Google (marketing, not programming), has obtained a surplus GooglePhone (specifically, the &lt;a href="http://en.wikipedia.org/wiki/HTC_Dream"&gt;HTC Dream&lt;/a&gt;) which is &lt;i&gt;almost&lt;/i&gt; entirely working. Unlocked. Which he just gave to me.&lt;br /&gt;&lt;br /&gt;Yays! I have installed the &lt;a href="http://code.google.com/p/android-scripting/"&gt;Android Scripting Environment&lt;/a&gt;, and now have &lt;tt&gt;sh&lt;/tt&gt; and python shells on my phone. Geekiest... phone... ever.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size: 0.85em; font-family: sans-serif;"&gt;Coincidentally, the Doctor Who episode that has just come on TV is the one with the Anne-droid.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;img src="https://www.dreamwidth.org/tools/commentcount?user=spudtater&amp;ditemid=201272" width="30" height="12" alt="comment count unavailable" style="vertical-align: middle;"/&gt; comments</content>
  </entry>
  <entry>
    <id>tag:dreamwidth.org,2009-05-01:164582:191861</id>
    <link rel="alternate" type="text/html" href="https://spudtater.dreamwidth.org/191861.html"/>
    <link rel="self" type="text/xml" href="https://spudtater.dreamwidth.org/data/atom/?itemid=191861"/>
    <title>Stupid JavaScript tricks</title>
    <published>2009-07-24T22:32:01Z</published>
    <updated>2009-07-24T22:32:01Z</updated>
    <category term="programming"/>
    <category term="web"/>
    <dw:security>public</dw:security>
    <dw:reply-count>0</dw:reply-count>
    <content type="html">&lt;a href="http://spudtater.dreamwidth.org/173091.html"&gt;I have ranted in the past&lt;/a&gt; about people who see a nested list and think "that needs to have little pluses and minuses in it to make it dynamically browsable!"&lt;br /&gt;&lt;br /&gt;I stand by that rant. 95% of the time it's absolutely unnecessary. However, in some cases it really might come in handy &amp;mdash; and in a lot of other cases people just like the shiny. So I thought to myself: now that I know more about JavaScript (and have discovered the magic of &lt;a href="http://www.prototypejs.org/"&gt;Prototype&lt;/a&gt;), how could I improve this?&lt;br /&gt;&lt;br /&gt;The result is my &lt;a href="http://www.flocci.org/collapse-list.php"&gt;CollapsibleList utility&lt;/a&gt;. No more mucking around with 'onclick' attributes &amp;mdash; simply drop in the script and a bit of CSS, call "new CollapsibleList('myListID');", and Robert's your parent's sibling.&lt;br /&gt;&lt;br /&gt;Bonus features: javascript calls to expand entirely, collapse entirely, or collapse to a specific level. Magical pluses and minuses automatically keep up.&lt;br /&gt;&lt;br /&gt;&lt;img src="https://www.dreamwidth.org/tools/commentcount?user=spudtater&amp;ditemid=191861" width="30" height="12" alt="comment count unavailable" style="vertical-align: middle;"/&gt; comments</content>
  </entry>
  <entry>
    <id>tag:dreamwidth.org,2009-05-01:164582:188321</id>
    <link rel="alternate" type="text/html" href="https://spudtater.dreamwidth.org/188321.html"/>
    <link rel="self" type="text/xml" href="https://spudtater.dreamwidth.org/data/atom/?itemid=188321"/>
    <title>Portable programming</title>
    <published>2009-06-12T10:01:07Z</published>
    <updated>2009-06-12T10:01:07Z</updated>
    <category term="technology"/>
    <category term="programming"/>
    <category term="linkage"/>
    <dw:security>public</dw:security>
    <dw:reply-count>0</dw:reply-count>
    <content type="html">&lt;p&gt;Further to my &lt;a href="http://spudtater.dreamwidth.org/188102.html"&gt;last post&lt;/a&gt;:&lt;/p&gt;

&lt;blockquote&gt;&lt;p&gt;&lt;q style="font-style: italic;"&gt;Google has introduced an Android scripting environment that lets you code stuff for the Googlephone on the Googlephone. [...] It sits on the Android handset itself, giving coders the power to write and run scripts in &lt;a href="http://www.python.org/"&gt;Python&lt;/a&gt;, &lt;a href="http://www.lua.org/"&gt;Lua&lt;/a&gt;, and &lt;a href="http://www.beanshell.org/"&gt;BeanShell&lt;/a&gt; - without help from a PC.&lt;/q&gt;&lt;/p&gt;&lt;/blockquote&gt;

&lt;p style="text-align: center;"&gt;&amp;ndash; &lt;a href="http://www.theregister.co.uk/2009/06/09/android_scripting_environment/"&gt;Google lets you code for Googlephones on Googlephones&lt;/a&gt;, &lt;i&gt;The Register&lt;/i&gt;, 9th June 2009&lt;/p&gt;

&lt;p&gt;Did I mention my next phone was going to be an Android?&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;img src="https://www.dreamwidth.org/tools/commentcount?user=spudtater&amp;ditemid=188321" width="30" height="12" alt="comment count unavailable" style="vertical-align: middle;"/&gt; comments</content>
  </entry>
  <entry>
    <id>tag:dreamwidth.org,2009-05-01:164582:188102</id>
    <link rel="alternate" type="text/html" href="https://spudtater.dreamwidth.org/188102.html"/>
    <link rel="self" type="text/xml" href="https://spudtater.dreamwidth.org/data/atom/?itemid=188102"/>
    <title>Tech Meetup talks</title>
    <published>2009-06-11T09:09:49Z</published>
    <updated>2009-06-11T09:09:49Z</updated>
    <category term="technology"/>
    <category term="geek"/>
    <category term="programming"/>
    <dw:security>public</dw:security>
    <dw:reply-count>0</dw:reply-count>
    <content type="html">Interesting talks at the &lt;a href="http://www.techmeetup.co.uk/"&gt;Tech Meetup&lt;/a&gt; last night. By accident or design, one of the talks (given by Kate &amp;mdash; hi Kate!) was on developing for the iPhone, the other for Google's new "&lt;a href="http://en.wikipedia.org/wiki/Android_(operating_system)"&gt;Android&lt;/a&gt;" platform. The contrasts were extremely illuminating.&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://spudtater.dreamwidth.org/188102.html#cutid1"&gt;Cut for geekery&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;Anyway. I think my next phone will be an Android...&lt;br /&gt;&lt;br /&gt;&lt;img src="https://www.dreamwidth.org/tools/commentcount?user=spudtater&amp;ditemid=188102" width="30" height="12" alt="comment count unavailable" style="vertical-align: middle;"/&gt; comments</content>
  </entry>
</feed>
