<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>e-huned.com &#187; Uncategorized</title>
	<atom:link href="http://e-huned.com/category/uncategorized/feed/" rel="self" type="application/rss+xml" />
	<link>http://e-huned.com</link>
	<description>huned botee</description>
	<lastBuildDate>Wed, 21 Jul 2010 21:29:05 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>ifconfig.rb</title>
		<link>http://e-huned.com/2007/06/30/ifconfigrb/</link>
		<comments>http://e-huned.com/2007/06/30/ifconfigrb/#comments</comments>
		<pubDate>Sun, 01 Jul 2007 04:51:23 +0000</pubDate>
		<dc:creator>huned</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://e-huned.com/2007/06/30/ifconfigrb/</guid>
		<description><![CDATA[i wanted to collect some live data from my machine this afternoon, so i wrote this.  grabs ifconfig data for eth0, parses out RX packets, TX packets, and generates a string containing csv data.

class Ifconfig
  RX_REGEX = /^\s+RX packets:(\d+)/
  TX_REGEX = /^\s+TX packets:(\d+)/
  COLLISIONS_REGEX = /^\s+collisions:(\d+)/

  def collect samples = [...]]]></description>
			<content:encoded><![CDATA[<p>i wanted to collect some live data from my machine this afternoon, so i wrote this.  grabs ifconfig data for eth0, parses out RX packets, TX packets, and generates a string containing csv data.</p>
<pre>
class Ifconfig
  RX_REGEX = /^\s+RX packets:(\d+)/
  TX_REGEX = /^\s+TX packets:(\d+)/
  COLLISIONS_REGEX = /^\s+collisions:(\d+)/

  def collect samples = 120
    collected = []
    samples.times do
      collected < < row.join(',')
      sleep 1
    end
    header_row.join(',') + "\n" + collected.join("\n")
  end

  private
    def header_row
      ['date', 'rx packets', 'tx packets', 'collisions']
    end

    def row device = 'eth0'
      output = `/sbin/ifconfig #{device}`
      rx = output.match(RX_REGEX)[1]
      tx = output.match(TX_REGEX)[1]
      collisions = output.match(COLLISIONS_REGEX)[1]
      [Time.now.strftime('%Y-%m-%d %H:%M'), rx, tx, collisions]
    end
end
</pre>
<p>use it like this:</p>
</pre>
<pre>
# collect data
require 'ifconfig'
ifconfig = Ifconfig.new
data = ifconfig.collect # get a drink while you wait

# stuff it into swivel
require 'swivel'
swivel = Swivel::Connection.new
data_set = swivel.upload :name => 'spork: ifconfig eth0', :data => data

# create a graph of RX packets over time in swivel
graph = swivel.create_graph :x_axis_column => data_set.data_columns[0].id,
  :columns => data_set.data_columns[1].id, :graph_type => 'LineGraph'
graph.save!
</pre>
<p>NOTE: wordpress kills my backslash-n newline characters.  but you know, they&#8217;re there.  copy/paste diligently.</p>
]]></content:encoded>
			<wfw:commentRss>http://e-huned.com/2007/06/30/ifconfigrb/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>want a ruby gem for the swivel api?</title>
		<link>http://e-huned.com/2007/06/30/want-a-ruby-gem-for-the-swivel-api/</link>
		<comments>http://e-huned.com/2007/06/30/want-a-ruby-gem-for-the-swivel-api/#comments</comments>
		<pubDate>Sun, 01 Jul 2007 01:14:47 +0000</pubDate>
		<dc:creator>huned</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://e-huned.com/2007/06/30/want-a-ruby-gem-for-the-swivel-api/</guid>
		<description><![CDATA[wheeeee, look at me!  i&#8217;m an open source developer now.  sorta.  swivel.rb (documentation) is a ruby gem for the swivel api.  it&#8217;s a pretty sweet piece of code.
[huned@spork swvl]$ sudo gem install swivel
Successfully installed swivel-0.0.8
Installing ri documentation for swivel-0.0.8...
Installing RDoc documentation for swivel-0.0.8...
it&#8217;s under moderate development still, so best to grab [...]]]></description>
			<content:encoded><![CDATA[<p>wheeeee, look at me!  i&#8217;m an open source developer now.  sorta.  <a href="http://rubyforge.org/projects/swivel">swivel.rb</a> (<a href="http://swivel.rubyforge.org">documentation</a>) is a ruby gem for the swivel api.  it&#8217;s a pretty sweet piece of code.</p>
<pre>[huned@spork swvl]$ sudo gem install swivel
Successfully installed swivel-0.0.8
Installing ri documentation for swivel-0.0.8...
Installing RDoc documentation for swivel-0.0.8...</pre>
<p>it&#8217;s under moderate development still, so best to grab it from svn (<a href="http://rubyforge.org/scm/?group_id=3792">read how</a>) until the swivel api is done f&#8217;real.</p>
]]></content:encoded>
			<wfw:commentRss>http://e-huned.com/2007/06/30/want-a-ruby-gem-for-the-swivel-api/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>activerecord&#8217;s validates_uniqueness_of validates nil values</title>
		<link>http://e-huned.com/2007/03/06/activerecords-validates_uniqueness_of-validates-nil-values/</link>
		<comments>http://e-huned.com/2007/03/06/activerecords-validates_uniqueness_of-validates-nil-values/#comments</comments>
		<pubDate>Wed, 07 Mar 2007 01:56:49 +0000</pubDate>
		<dc:creator>huned</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[personal]]></category>

		<guid isPermaLink="false">http://e-huned.com/2007/03/06/activerecords-validates_uniqueness_of-validates-nil-values/</guid>
		<description><![CDATA[the default behavior of activerecord&#8217;s validates_uniqueness_of includes validating nil values.  so, that means that only one row in your table can have a value of nil for the column on which you&#8217;re validating uniqueness.

validates_uniqueness_of login_token # triggers for nil.  bad!

fortunately, those guys that make the rails go, they&#8217;re smart.  you can change [...]]]></description>
			<content:encoded><![CDATA[<p>the default behavior of activerecord&#8217;s validates_uniqueness_of includes validating nil values.  so, that means that only one row in your table can have a value of nil for the column on which you&#8217;re validating uniqueness.</p>
<blockquote><p>
validates_uniqueness_of login_token # triggers for nil.  bad!
</p></blockquote>
<p>fortunately, those guys that make the rails go, they&#8217;re smart.  you can change this default behavior and all will work well.  simply set the <code>allow_nil</code> option to <code>true</code></p>
<blockquote><p>
validates_uniqueness_of login_token,<br />&nbsp;&nbsp; :allow_nil => true # doesn&#8217;t trigger for nil.  good!
</p></blockquote>
<p>this is all in the <a href="http://ar.rubyonrails.com/classes/ActiveRecord/Validations/ClassMethods.html">activerecord doc</a>, but it&#8217;s hard to find.</p>
<blockquote><p>
DEFAULT_VALIDATION_OPTIONS = { :on => :save, :allow_nil => false, :message => nil }
</p></blockquote>
<p>go forth and validate.</p>
]]></content:encoded>
			<wfw:commentRss>http://e-huned.com/2007/03/06/activerecords-validates_uniqueness_of-validates-nil-values/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>how to import a new project into an svn repository</title>
		<link>http://e-huned.com/2007/03/03/how-to-import-a-new-project-into-an-svn-repository/</link>
		<comments>http://e-huned.com/2007/03/03/how-to-import-a-new-project-into-an-svn-repository/#comments</comments>
		<pubDate>Sat, 03 Mar 2007 18:49:37 +0000</pubDate>
		<dc:creator>huned</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://e-huned.com/2007/03/03/how-to-import-a-new-project-into-an-svn-repository/</guid>
		<description><![CDATA[i always forget the syntax for importing a new directory into svn because i don&#8217;t do this frequently.  i&#8217;ll outline the steps and command lines here, which mostly apply to unix systems.


    create the directory which you&#8217;ll import.  e.g., for an addressbook app.  make sure you include a trunk/ [...]]]></description>
			<content:encoded><![CDATA[<p>i always forget the syntax for importing a new directory into svn because i don&#8217;t do this frequently.  i&#8217;ll outline the steps and command lines here, which mostly apply to unix systems.</p>
<ol>
<li>
    create the directory which you&#8217;ll import.  e.g., for an addressbook app.  make sure you include a trunk/ subdirectory.</p>
<blockquote><p>mkdir -p addressbook/trunk</p></blockquote>
<p>    if you have any code, copy it into <code>addressbook/trunk/</code>.
  </li>
<li>
    now import that into your repository (which in this case is hosted on a machine named <code>build</code>).  thusly for the addressbook app:</p>
<blockquote><p>svn import addressbook svn://build/addressbook</p></blockquote>
<p>    this will slurp everything in the <code>addressbook/</code> directory into svn.
  </li>
<li>
    let&#8217;s check out the addressbook app from svn to make sure it all imported successfully.</p>
<blockquote><p>svn co svn://build/addressbook/trunk</p></blockquote>
<p>    when it&#8217;s done, you should have a <code>trunk/</code> directory around.  inspect the contents of <code>trunk/</code> to ensure it contains everything you expect.  it should.
  </li>
<li>
    at this point, you can remove all the original stuff and begin using your svn&#8217;d stuff.</p>
<blockquote><p>rm -rf addressbook</p></blockquote>
<blockquote><p>mv trunk/ addressbook/</p></blockquote>
<p>.
  </li>
</ol>
<p>for more information, please check the more authoritative resources are <code>svn help import</code> and <a href="http://svnbook.red-bean.com/">the svn manual</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://e-huned.com/2007/03/03/how-to-import-a-new-project-into-an-svn-repository/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>blogger.com doesn&#8217;t allow photo links?</title>
		<link>http://e-huned.com/2007/01/27/bloggercom-doesnt-allow-photo-links/</link>
		<comments>http://e-huned.com/2007/01/27/bloggercom-doesnt-allow-photo-links/#comments</comments>
		<pubDate>Sat, 27 Jan 2007 22:11:13 +0000</pubDate>
		<dc:creator>huned</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://e-huned.com/2007/01/27/bloggercom-doesnt-allow-photo-links/</guid>
		<description><![CDATA[did you know blogger.com doesn&#8217;t seem to allow external sites to load images hosted there by referencing the url directly?  an example is here in this blog post:

how would you do this in your web app if you felt so inclined?  check the user agent in your code.  if it&#8217;s a browser, [...]]]></description>
			<content:encoded><![CDATA[<p>did you know blogger.com doesn&#8217;t seem to allow external sites to load images hosted there by referencing the url directly?  an example is here in this blog post:</p>
<p><img width="320" height="240" src="http://photos1.blogger.com/blogger/3925/1792/1600/IMG_0534.jpg" alt="[ this alt text displays because the image didn't load ]"/></p>
<p>how would you do this in your web app if you felt so inclined?  check the user agent in your code.  if it&#8217;s a browser, don&#8217;t load.</p>
]]></content:encoded>
			<wfw:commentRss>http://e-huned.com/2007/01/27/bloggercom-doesnt-allow-photo-links/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>technology obsolescence curves are cool</title>
		<link>http://e-huned.com/2007/01/17/technology-obsolescence-curves-are-cool/</link>
		<comments>http://e-huned.com/2007/01/17/technology-obsolescence-curves-are-cool/#comments</comments>
		<pubDate>Thu, 18 Jan 2007 02:05:00 +0000</pubDate>
		<dc:creator>huned</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://e-huned.com/2007/01/17/technology-obsolescence-curves-are-cool/</guid>
		<description><![CDATA[check out this cool technology obsolescence curve.  It shows the gradual rise and fall of sales trends of vinyl records, cassette tapes, and compact discs over a 30 year period.  unfortunately, no mp3 data.  but, lucky us, someone else contributed apple ipod unit sales into swivel, so i threw that into the [...]]]></description>
			<content:encoded><![CDATA[<p>check out this cool technology obsolescence curve.  It shows the gradual rise and fall of sales trends of vinyl records, cassette tapes, and compact discs over a 30 year period.  unfortunately, no mp3 data.  but, lucky us, someone else contributed apple ipod unit sales into swivel, so i threw that into the mix and ended up with an illustrative comparison.</p>
<p>(for now, please ignore the colors &#8212; i&#8217;ll change them soon.)</p>
<p><a href="http://swivel.com/graphs/show/5119239"><img alt="Vinyl to Ipods" src="http://swivel.com/graphs/image/5119239" style="border: solid 1px #999999;" title="Vinyl to Ipods" /></a></p>
<p>so, a <strike>couple</strike> few interesting observations.</p>
<ul>
<li>the obvious thing &#8212; why are there way more cd sales?  one possible explanation is that it&#8217;s a marketing victory.  remember those old BMG and columbia house deals where you could buy 30 CDs at a time for some obscenely low price?  another, more interesting, explanation is that the cd players became commodity technology fairly quickly which made it widely available to more people, which means the market who consumes cds increased.  i have no data on this, but it seems to make sense &#8212; electronics become commodities pretty quickly these days.
  </li>
<li>the intersection of the tail of vinyl with the head of cds is approximately near the peak of cassette tapes.  i wonder if this is a characteristic of technology obsolescence when it comes to music distribution technology.</li>
<li>the approximate death of vinyl&#8217;s sales coincides neatly with the intersection of the tail of cassettes and the head of cds.  same goes for the intersection of vinyl and cassettes &#8212; it&#8217;s approximately the start for compact discs.  curious.  again, is this a recurring characteristic?  </li>
<li>unit sales of ipods seem to fit in crisply with what we expect after looking at the previous technologies&#8217; osolescence curves.  the sales of ipods start at approximately the same time that sales of compact discs begin to slow.  not a surprise, but it&#8217;s nice to see that actual disparate data sets confirm the regularity of obsolescence cycles.  also note the positioning of the intersections.  this is telling.</li>
</ul>
<p>(<a href="http://emergent.urbanpug.com">matt</a> pointed out that <a href="http://en.wikipedia.org/wiki/ITunes_Music_Store">wikipedia has a good chunk of itunes music store data</a>.  i need to get this into swivel.  thanks matt.)</p>
<p>what do you think?  what other technology trends can we track for fun (and profit)?  i could look at this graph for hours, but i need to make swivel better for a while.</p>
<p>credit for this goes to the <a href="http://swivel.com/users">swivel community</a>:</p>
<p><a href="http://swivel.com/users/show/1000008">seema</a> created <a href="http://swivel.com/graphs/show/5046442">the original graph that caught my attention</a> from from data uploaded by <a href="http://swivel.com/users/show/1000161">c.a.joyce</a>.  the <a href="http://swivel.com/data_sets/show/1002267">data</a> is sourced the world almanac and the riaa, with <a href="http://swivel.com/data_sets/show/1001586">additional data on ipod unit sales</a> from <a href="http://swivel.com/users/show/1000744">adpowers</a></p>
]]></content:encoded>
			<wfw:commentRss>http://e-huned.com/2007/01/17/technology-obsolescence-curves-are-cool/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>swivel</title>
		<link>http://e-huned.com/2006/08/26/swivel/</link>
		<comments>http://e-huned.com/2006/08/26/swivel/#comments</comments>
		<pubDate>Sat, 26 Aug 2006 23:09:11 +0000</pubDate>
		<dc:creator>huned</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[personal]]></category>

		<guid isPermaLink="false">http://e-huned.com/2006/08/26/swivel/</guid>
		<description><![CDATA[i&#8217;ve been invited to work with the fine folks at swivel, a start-up in san francisco, california.  i&#8217;ll be moving back to california in mid-september.  my phone number and email address will remain unchanged, so you should call me (or be uncool).
]]></description>
			<content:encoded><![CDATA[<p>i&#8217;ve been invited to work with the fine folks at <a href="http://swivel.com">swivel</a>, a start-up in san francisco, california.  i&#8217;ll be moving back to california in mid-september.  my phone number and email address will remain unchanged, so you should call me (or be uncool).</p>
]]></content:encoded>
			<wfw:commentRss>http://e-huned.com/2006/08/26/swivel/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>fake progress bars aren&#8217;t bad</title>
		<link>http://e-huned.com/2006/08/16/fake-progress-bars-arent-bad/</link>
		<comments>http://e-huned.com/2006/08/16/fake-progress-bars-arent-bad/#comments</comments>
		<pubDate>Thu, 17 Aug 2006 01:41:37 +0000</pubDate>
		<dc:creator>huned</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://e-huned.com/2006/08/16/fake-progress-bars-arent-bad/</guid>
		<description><![CDATA[chris and i were once involved in a debate about the use of progress bars when we were deciding whether or not kickapps&#8217; upload screen should have an ajax-based progress bar or a fake-y animated gif progress bar. my preference was to go the animated gif route while chris (and others) wanted to do something [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://chriskeane.net">chris</a> and i were once involved in a debate about the use of progress bars when we were deciding whether or not kickapps&#8217; upload screen should have an ajax-based progress bar or a <a href="http://mentalized.net/activity-indicators/">fake-y animated gif progress bar</a>. my preference was to go the animated gif route while chris (and others) wanted to do something real, an ajax-y progress bar.</p>
<p>my rationale for the animated gif progress bar is that it&#8217;s cheap to implement, reliable, and feeds the user back that &#8220;something is happening&#8221;, which is the primary goal of the progress bar.  at kickapps, sadly, i failed to influence the decisionmakers into doing what i believed was the right thing.  we ended up going the way of the ajax progress bar, which ended up being all kind of broken.</p>
<p>i just bought an airline ticket from <a href="http://orbitz.com">orbitz</a>.  what kind of progress indicator do they use?  the gif.  here it is:</p>
<div style="text-align: center"><img width="128" height="63" alt="purchaseProgress1.gif" id="image47" src="http://e-huned.com/wp-content/uploads/2006/08/purchaseProgress1.gif" /></div>
<p>it&#8217;s not the best progress bar in the world, but it gets the job done.  i personally like those horizontal infinite barber-shop pole kind of progress bars, which you can see over at <a href="http://mentalized.net/activity-indicators/">mentalized</a>.  here&#8217;s an example.</p>
<p align="center"><img width="128" height="13" alt="3MA_processingbar1.gif" id="image46" src="http://e-huned.com/wp-content/uploads/2006/08/3MA_processingbar1.gif" /></p>
<p>other advantages of a fake-y animated gif progress bar?  well, if you work for a startup in a crowded social-media space, you&#8217;re working with limited resources (money, people, time to acquisition, quickly diminishing barriers to entry).  the solution is clear: pick the cheapest good-enough solution that gets the job done.  you&#8217;re not winning any points for innovating on progress bar implementations, that&#8217; s for damn sure.  spend your time somewhere else, where it matters.</p>
]]></content:encoded>
			<wfw:commentRss>http://e-huned.com/2006/08/16/fake-progress-bars-arent-bad/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>technorati&#8217;s misuse of authority</title>
		<link>http://e-huned.com/2006/08/15/technoratis-authority-metric/</link>
		<comments>http://e-huned.com/2006/08/15/technoratis-authority-metric/#comments</comments>
		<pubDate>Tue, 15 Aug 2006 23:53:08 +0000</pubDate>
		<dc:creator>huned</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[personal]]></category>

		<guid isPermaLink="false">http://e-huned.com/wordpress/2006/08/15/technoratis-authority-metric/</guid>
		<description><![CDATA[so i was over at technorati earlier today, looking for stuff about my company, kickapps.  i do this pretty much every morning to see if we&#8217;ve been picked up by any of the bloggers.  usually, i spend just a minute on it and then move on since there&#8217;s not usually much of interest.
but [...]]]></description>
			<content:encoded><![CDATA[<p>so i was over at <a href="http://technorati.com">technorati </a>earlier today, looking for stuff about my company, <a href="http://e-huned.com/wordpress/wp-admin/kickapps.com">kickapps</a>.  i do this pretty much every morning to see if we&#8217;ve been picked up by any of the bloggers.  usually, i spend just a minute on it and then move on since there&#8217;s not usually much of interest.</p>
<p>but today, i spent a little longer.  i always wondered what the &#8220;authority&#8221; select-box did.  how does technorati measure authority?  i tried it figure it out.</p>
<ul>
<li>i performed a search &#8211; <a href="http://technorati.com/search/kickapps">http://technorati.com/search/kickapps</a></li>
<li>set authority select-box to &#8220;a lot of authority&#8221;</li>
<li>i saw <a href="http://e-huned.com">my personal blog</a> excluded from the results.  this is funny because i actually <em>am</em> an authority on kickapps.  i work there, i&#8217;ve been there since the early days, and i&#8217;ve written a couple relevant blog posts on the topic.  so , why&#8217;d i get filtered?</li>
<li>also note that i saw <a href="http://kickapps.com/blog">the kickapps corporate blog</a> excluded from the results.  the kickapps corporate blog is <em>the authoritative blog</em> for kickapps.  it should definitely be in the results when i select &#8220;a lot of authority&#8221;.</li>
</ul>
<p>but wait, what&#8217;s this?  technorati displays the number of blogs linking <em>to</em> each item in the search results list.  it appears that the &#8220;authority&#8221; filter is simply a (perhaps modified) link counting strategy.  blogs with &#8220;lots of authority&#8221; have lots of other blogs linking to them, while blogs with &#8220;little authority&#8221; don&#8217;t have many incoming links (like my personal blog and the kickapps corporate blog).</p>
<p>that&#8217;s a fine strategy for determining some relevance of a blog, but it&#8217;s certainly far removed from a legitimate measure of <em>authority</em> of a blog.  silly technorati, you are misleading your audience and undermining your own credibility.</p>
<p>it would be useful if technorati renamed this authority select-box to &#8220;incoming links&#8221; or &#8220;link popularity&#8221; with options ["many", "some", "few"], or something to that effect.</p>
]]></content:encoded>
			<wfw:commentRss>http://e-huned.com/2006/08/15/technoratis-authority-metric/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>reset a mediawiki password with mysql</title>
		<link>http://e-huned.com/2006/08/15/reset-a-mediawiki-password/</link>
		<comments>http://e-huned.com/2006/08/15/reset-a-mediawiki-password/#comments</comments>
		<pubDate>Tue, 15 Aug 2006 18:13:45 +0000</pubDate>
		<dc:creator>huned</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://e-huned.com/wordpress/2006/08/15/reset-a-mediawiki-password/</guid>
		<description><![CDATA[i run a idea-journal kind of mediawiki.  i&#8217;ve enabled a few friends of mine to access this wiki.
one of my users was being (unusually) idiotic and forgot his password.  and he couldn&#8217;t use the forgot password functionality because i never configured email.  and, i still don&#8217;t want to configure email.
so, i had [...]]]></description>
			<content:encoded><![CDATA[<p>i run a idea-journal kind of <a href="http://mediawiki.org">mediawiki</a>.  i&#8217;ve enabled a few friends of mine to access this wiki.</p>
<p>one of my users was being (unusually) idiotic and forgot his password.  and he couldn&#8217;t use the forgot password functionality because i never configured email.  and, i still don&#8217;t want to configure email.</p>
<p>so, i had to manually change his password using the <a href="http://mysql.com">mysql</a> command line.  here&#8217;s the sql update statement.  run it and ask your user to log in and change his password to something more sensible.  execute this statement as your mysql root user:</p>
<blockquote><p>update user set user_password = md5(concat(user_id,&#8217;-',md5(&#8216;new_password&#8217;))) where user_name=someone</p></blockquote>
<p>i should have fixed this out a while ago, but i had been procrastinating.</p>
]]></content:encoded>
			<wfw:commentRss>http://e-huned.com/2006/08/15/reset-a-mediawiki-password/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>
