<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Disqus - Latest Comments for anelson</title><link>http://disqus.com/by/anelson/</link><description></description><atom:link href="http://disqus.com/anelson/comments.rss" rel="self"></atom:link><language>en</language><lastBuildDate>Sat, 11 Apr 2009 13:10:05 -0000</lastBuildDate><item><title>Re: What’s the password…haddock?</title><link>http://stephencelis.com/2009/03/29/whats-the-password-haddock.html#comment-8080624</link><description>&lt;p&gt;Don't disagree.  As with so many security considerations, it comes down to one's threat model and an analysis of risk.&lt;/p&gt;&lt;p&gt;Maybe you don't need 256 bits of "military grade" security.  That's fine; most people probably don't.  If you do, a passphrase is probably not ever going to be sufficient anyway, since I've never seen a generator that strong that produced anything I could remember reliably.&lt;/p&gt;&lt;p&gt;But nonetheless, it's worthwhile to know how strong or weak a particular component is, so you can make an informed decision as to your risk tolerance.&lt;/p&gt;&lt;p&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">anelson</dc:creator><pubDate>Sat, 11 Apr 2009 13:10:05 -0000</pubDate></item><item><title>Re: What’s the password…haddock?</title><link>http://stephencelis.com/2009/03/29/whats-the-password-haddock.html#comment-8067304</link><description>&lt;p&gt;This is cool, thanks for posting.&lt;/p&gt;&lt;p&gt;I've played with a few different ways to generate passwords/phrases, with a particular focus on quantifying the strength of the results in terms of bits, where a password generating algorithm with strength n bits generates as many possible passwords as there are possible values of an n-bit symmetric cipher key.  I like to do this because it makes it easy to determine if a password is strong enough to protect, say, a 256-bit AES key.&lt;/p&gt;&lt;p&gt;Generally, it's really hard to create memorable passwords anywhere near that strong; at least, I've never found a way.  I wrote a quick script to see how strong your algorithm was at various lengths; the results are posted at &lt;a href="http://apocryph.org/2009/04/10/how-strong-are-haddock-passwords/" rel="nofollow noopener" target="_blank" title="http://apocryph.org/2009/04/10/how-strong-are-haddock-passwords/"&gt;http://apocryph.org/2009/04...&lt;/a&gt; if you're interested.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">anelson</dc:creator><pubDate>Fri, 10 Apr 2009 20:02:36 -0000</pubDate></item><item><title>Re: The Windows Security Model Is Ridiculous | apocryph.org</title><link>http://apocryph.org/windows_security_model_ridiculous#comment-4158830</link><description>&lt;p&gt;I'm afraid I can't share the code, but I can point you in the right direction:&lt;/p&gt;&lt;p&gt;Given a username, domain, and password:&lt;/p&gt;&lt;p&gt;* Call LogonUser to log the user on and get a token.  Note you must have the Act As Part of the Operating System priv to do this.  My code attempts both LOGON32_LOGON_SERVICE and LOGON32_LOGON_INTERACTIVE&lt;br&gt;* Call GetTokenInformation to get the SID of the user&lt;br&gt;* Call GetTokenInformation to get the token groups&lt;br&gt;* Use AllocateAndInitializeSid to construct the SID corresponding to the built-in administrators group (2, SECURITY_BUILTIN_DOMAIN_RID, DOMAIN_ALIAS_RID_ADMINS)&lt;br&gt;* Iterate through the token group SIDs and use EqualSid to compare each one to the build-in admins group sid; if you find a match, the user is a local admin&lt;/p&gt;&lt;p&gt;Hope this helps...&lt;br&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">anelson</dc:creator><pubDate>Wed, 03 Dec 2008 21:32:07 -0000</pubDate></item><item><title>Re: WTF is Powershell For? | apocryph.org</title><link>http://apocryph.org/wtf_powershell#comment-4032744</link><description>&lt;p&gt;Thanks, I'm glad I'm not the only one!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">anelson</dc:creator><pubDate>Wed, 26 Nov 2008 19:57:01 -0000</pubDate></item><item><title>Re: Project Idea: Face detection in Gallery2 | apocryph.org</title><link>http://apocryph.org/project_idea_face_detection_gallery2#comment-3964624</link><description>&lt;p&gt;Yes, I figured that out too.&lt;/p&gt;&lt;p&gt;I had the same thought RE training an Orwellian face recognition system.  Picasa is further along on this, and actually does detect faces and match them to people.  Scary.&lt;br&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">anelson</dc:creator><pubDate>Sat, 22 Nov 2008 23:44:32 -0000</pubDate></item><item><title>Re: The &amp;quot;free&amp;quot; gas card scam | apocryph.org</title><link>http://apocryph.org/the_free_gas_card_scam#comment-3964613</link><description>&lt;p&gt;There is no fine print.  Show me where on the "free" gas card it says, in tiny little print, "this isn't actually a free gas card at all, and unless you spend $100/mo on gas you'll actually get nothing from this card".  If there was, ppl wouldn't be as easily tricked, and the scam wouldn't work.&lt;br&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">anelson</dc:creator><pubDate>Sat, 22 Nov 2008 23:43:24 -0000</pubDate></item><item><title>Re: May have identified FiOS router slowdown problem | apocryph.org</title><link>http://apocryph.org/may_have_identified_fios_router_slowdown_problem#comment-3934861</link><description>&lt;p&gt;I suggest you put the router into Bridged mode as I noted in the update at &lt;a href="http://apocryph.org/finally_got_fios_router_bridge_mode" rel="nofollow noopener" target="_blank" title="http://apocryph.org/finally_got_fios_router_bridge_mode"&gt;http://apocryph.org/finally...&lt;/a&gt; .  Since I've done this, it turns the router into a glorified network interface card, and I let me OpenBSD firewall do the NATing.  Now I can saturate the pipe with no problems.&lt;br&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">anelson</dc:creator><pubDate>Fri, 21 Nov 2008 11:49:35 -0000</pubDate></item><item><title>Re: Finally getting 21st century entertainment gear | apocryph.org</title><link>http://apocryph.org/finally_getting_21st_century_entertainment_gear#comment-3673686</link><description>&lt;p&gt;Well, my office is tidied up since you saw it, and I'm thinking of taking out the recliner and putting in a small couch.  The TV will go where my whiteboard is, and should be big enough to view comfortably from the other side of the room.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">anelson</dc:creator><pubDate>Mon, 10 Nov 2008 23:18:55 -0000</pubDate></item><item><title>Re: A more in-depth analysis of Ruby HTTP client performance | apocryph.org</title><link>http://apocryph.org/more_indepth_analysis_ruby_http_client_performance#comment-3670451</link><description>&lt;p&gt;I didn't think so, but I just checked and sure enough, there is a binary gem for version 0.12.0.  Thanks for pointing that out.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">anelson</dc:creator><pubDate>Mon, 10 Nov 2008 18:37:34 -0000</pubDate></item><item><title>Re: A more in-depth analysis of Ruby HTTP client performance | apocryph.org</title><link>http://apocryph.org/more_indepth_analysis_ruby_http_client_performance#comment-3662947</link><description>&lt;p&gt;A flurry of warnings, followed by:&lt;/p&gt;&lt;p&gt;In file included from rev_loop.c:9:&lt;br&gt;/home/anelson/ruby19/include/ruby-1.9.0/ruby/backward/rubysig.h:14:2: warning: #warning rubysig.h is obsolete&lt;br&gt;In file included from rev.h:11,&lt;br&gt;                 from rev_loop.c:14:&lt;br&gt;/home/anelson/ruby19/include/ruby-1.9.0/ruby/backward/rubyio.h:2:2: warning: #warning use "ruby/io.h" instead of "rubyio.h"&lt;br&gt;rev_loop.c: In function 'Rev_Loop_ev_loop_oneshot':&lt;br&gt;rev_loop.c:211: error: 'RB_UBF_DFL' undeclared (first use in this function)&lt;br&gt;rev_loop.c:211: error: (Each undeclared identifier is reported only once&lt;br&gt;rev_loop.c:211: error: for each function it appears in.)&lt;br&gt;rev_loop.c:287:2: warning: no newline at end of file&lt;br&gt;make: *** [rev_loop.o] Error 1&lt;/p&gt;&lt;p&gt;I admit I didn't spend a whole lot of time looking into it, though I at least got as far as getting libev installed.&lt;br&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">anelson</dc:creator><pubDate>Mon, 10 Nov 2008 10:08:09 -0000</pubDate></item><item><title>Re: A more in-depth analysis of Ruby HTTP client performance | apocryph.org</title><link>http://apocryph.org/more_indepth_analysis_ruby_http_client_performance#comment-3656323</link><description>&lt;p&gt;Indeed.  The more I learn how shitty the stock 1.8.6 HTTP client impl is, the more surprised I am that I haven't read more about it.  It's basically useless if you're doing any sort of HTTP interface on the server side, particularly with miserly shared hosts.  Really lame.&lt;br&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">anelson</dc:creator><pubDate>Sun, 09 Nov 2008 23:09:10 -0000</pubDate></item><item><title>Re: Thoughts on the Presidential Election | apocryph.org</title><link>http://apocryph.org/thoughts_presidential_election#comment-3639064</link><description>&lt;p&gt;Thanks John.  For whatever it's worth, I don't count you among the execrable ranks of the Rationally Ignorant, support for the Evil One notwithstanding :)&lt;br&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">anelson</dc:creator><pubDate>Sat, 08 Nov 2008 19:47:40 -0000</pubDate></item><item><title>Re: Thoughts on the Presidential Election | apocryph.org</title><link>http://apocryph.org/thoughts_presidential_election#comment-3626743</link><description>&lt;p&gt;I'm afraid you have it wrong.  The narrative has hatred torwards thy neighbors derived from antipathy towards those who don't look like me.  The religion bit is just a backwards way of understanding the world, and doesn't really impact hatred one way or the other.&lt;br&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">anelson</dc:creator><pubDate>Sat, 08 Nov 2008 14:46:04 -0000</pubDate></item><item><title>Re: Migrating gallery from Gallery2 to Flickr | apocryph.org</title><link>http://apocryph.org/migrating_gallery_gallery2_flickr#comment-3343266</link><description>&lt;p&gt;Yes, but the upload utility is teh suck, so you'd need to find a third-party app to do backups.&lt;/p&gt;&lt;p&gt;Also, the video is limited to 150MB and as far as I can tell is transcoded into FLV.  So those HD family movies will have to go elsewhere.&lt;br&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">anelson</dc:creator><pubDate>Tue, 28 Oct 2008 11:41:15 -0000</pubDate></item><item><title>Re: Creating DevExpress.NET toolbox icons for non-admin users | apocryph.org</title><link>http://apocryph.org/creating_devexpressnet_toolbox_icons_nonadmin_users#comment-3311399</link><description>&lt;p&gt;Well, one could argue that UAC in Vista is conceptually similar to sudo, inasmuchas one runs w/o admin privs most of the time.&lt;/p&gt;&lt;p&gt;MakeMeAdmin actually emulates UAC more than it does sudo.  With sudo, you're allowed to run some/all commands as 'root', once you reauthenticate.  With UAC and MakeMeAdmin, you do everything as your user account, which simply enjoys elevated privs once in a while.&lt;/p&gt;&lt;p&gt;Frankly, as a concept I prefer UAC/MakeMeAdmin, since it's a bit more seamless, but the implementation leaves a LOT to be desired.  I'd happily take a solid 'sudo' implementation if Windows offered one.&lt;br&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">anelson</dc:creator><pubDate>Sun, 26 Oct 2008 13:18:13 -0000</pubDate></item><item><title>Re: Achieving maximum TCP performance on Windows XP/2k3 | apocryph.org</title><link>http://apocryph.org/achieving_maximum_tcp_performance_on_windows_xp_2k3#comment-3234056</link><description>&lt;p&gt;Thanks Mark I'll give thata go.&lt;br&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">anelson</dc:creator><pubDate>Wed, 22 Oct 2008 14:16:03 -0000</pubDate></item><item><title>Re: &amp;quot;Gem::SourceIndex#search support for Regexp patterns is deprecated&amp;quot; from Rails after upgrading to RubyGems 1.3.0 | apocryph.org</title><link>http://apocryph.org/gemsourceindexsearch_support_regexp_patterns_deprecated_rails_after_upgrading_rubygems_130#comment-3228010</link><description>&lt;p&gt;Yeah, I also fixed it by downgrading to gems 1.2.0.  It just seems...wrong to have to do that.  Don't they test gems before they release it?  Or is this a naming and shaming gambit to get gems like rails off of the deprecated functionality?  I don't know, but it's irritating.&lt;br&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">anelson</dc:creator><pubDate>Wed, 22 Oct 2008 11:32:22 -0000</pubDate></item><item><title>Re: An analysis of Ruby 1.8.x HTTP client performance | apocryph.org</title><link>http://apocryph.org/analysis_ruby_18x_http_client_performance#comment-3088200</link><description>&lt;p&gt;Good idea.  I have some further testing I want to perform with some more implementations, but when I'm done I'll try to put something together.&lt;br&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">anelson</dc:creator><pubDate>Thu, 16 Oct 2008 09:51:54 -0000</pubDate></item><item><title>Re: An analysis of Ruby 1.8.x HTTP client performance | apocryph.org</title><link>http://apocryph.org/analysis_ruby_18x_http_client_performance#comment-3077924</link><description>&lt;p&gt;Yes, in fact curb is one of the implementations I tested in the article.  It turned in outstanding performance, though not much faster than the all-Ruby rfuzz implementation.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">anelson</dc:creator><pubDate>Wed, 15 Oct 2008 18:51:22 -0000</pubDate></item><item><title>Re: Set up OpenID Delegation on Drupal | apocryph.org</title><link>http://apocryph.org/set_openid_delegation_drupal#comment-3041056</link><description>&lt;p&gt;iirc, the delegation stuff has a per-user option, though I'm not using it that way.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">anelson</dc:creator><pubDate>Tue, 14 Oct 2008 10:10:29 -0000</pubDate></item><item><title>Re: Absolutely bullshit Ruby HTTP client situation | apocryph.org</title><link>http://apocryph.org/absolutely_bullshit_ruby_http_client_situation#comment-2902774</link><description>&lt;p&gt;Since we're discussing obscure vocab words which one only uses to sound smart, here are a couple more:&lt;/p&gt;&lt;p&gt;* pedant - One who dwells incessantly upon insignificant minutia to the exclusion of relevant details.  For example, counting occurrences of the word "ameliorate" is pedantic.&lt;br&gt;* ad hominem - A latin phrase which roughly translates to 'being a douchbag'.  An ad hominem attack (such as, for example, "you're batshit insane") has no rhetorical value and as such is often a last resort of the ignorant.&lt;/p&gt;&lt;p&gt;Don't get me wrong.  It's awesome you actually took the time to read some of my blog postings before taking pot shots.  You're probably one of only a handful of people to read my civic SI holster compatibility complaint.  You could just stand to be a bit less of an ignoramous.&lt;/p&gt;&lt;p&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">anelson</dc:creator><pubDate>Mon, 06 Oct 2008 21:50:03 -0000</pubDate></item><item><title>Re: An analysis of Ruby 1.8.x HTTP client performance | apocryph.org</title><link>http://apocryph.org/analysis_ruby_18x_http_client_performance#comment-2884220</link><description>&lt;p&gt;I originally intended to run my test rig under 1.9 as well, but I ran into some trouble building it so I stuck with 1.8.x.  I did review the 1.9 code enough to see the Net/HTTP impl is largely unchanged, but I have to assume the other performance improvements will make a difference.  I'll definitely try it at some point.&lt;br&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">anelson</dc:creator><pubDate>Sun, 05 Oct 2008 19:19:20 -0000</pubDate></item><item><title>Re: An analysis of Ruby 1.8.x HTTP client performance | apocryph.org</title><link>http://apocryph.org/analysis_ruby_18x_http_client_performance#comment-2879724</link><description>&lt;p&gt;Indeed.  I see no reason Ruby can't approach native speed for I/O bound tasks, provided the author does his part regarding buffer management and such.&lt;br&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">anelson</dc:creator><pubDate>Sun, 05 Oct 2008 11:31:47 -0000</pubDate></item><item><title>Re: Moving to Future Hosting, Part III | apocryph.org</title><link>http://apocryph.org/moving_future_hosting_part_iii#comment-2754657</link><description>&lt;p&gt;rails_user wrote: &lt;br&gt;&amp;gt;How did you fix&lt;br&gt;&amp;gt;It spit out an annoying error: /usr/lib/ruby/gems/1.8/gems/rails-2.1.1/lib/rails_generator/lookup.rb:211:in `each’ is outdated&lt;/p&gt;&lt;p&gt;I didn't fix it.  I haven't yet figured out why that happened.  It didn't seem to hurt anything, so I left it for another day.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">anelson</dc:creator><pubDate>Tue, 30 Sep 2008 14:48:51 -0000</pubDate></item><item><title>Re: Absolutely bullshit Ruby HTTP client situation | apocryph.org</title><link>http://apocryph.org/absolutely_bullshit_ruby_http_client_situation#comment-2739240</link><description>&lt;p&gt;Cool.  I've actually taken your advice and started poking around the ruby sources.  Ruby 1.9 grows the buffer to 16K, which will likely ameliorate the problem, but the timeout implementation is quite horrifying.&lt;/p&gt;&lt;p&gt;If I get time this week I'll try making various modifications to the library source code to see about improving performance.&lt;br&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">anelson</dc:creator><pubDate>Mon, 29 Sep 2008 16:06:50 -0000</pubDate></item></channel></rss>