<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Hypothetical Labs - Latest Comments</title><link>http://hypotheticalabs.disqus.com/</link><description></description><atom:link href="https://hypotheticalabs.disqus.com/comments.rss" rel="self"></atom:link><language>en</language><lastBuildDate>Thu, 19 Aug 2010 10:28:34 -0000</lastBuildDate><item><title>Re: Protected: Part 1: Introducing riak_core</title><link>http://weblog.hypotheticalabs.com/?p=539#comment-69994795</link><description>&lt;p&gt;Any chance of a post on luke? I've just dropped a question onto the basho issue tracker about support for map-reduce-merge (a la &lt;a href="http://cs.baylor.edu/~speegle/5335/2007slides/MapReduceMerge.pdf)" rel="nofollow noopener" target="_blank" title="http://cs.baylor.edu/~speegle/5335/2007slides/MapReduceMerge.pdf)"&gt;http://cs.baylor.edu/~speeg...&lt;/a&gt; - riak for data warehousing anyone? :)&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Tim</dc:creator><pubDate>Thu, 19 Aug 2010 10:28:34 -0000</pubDate></item><item><title>Re: Protected: Part 1: Introducing riak_core</title><link>http://weblog.hypotheticalabs.com/?p=539#comment-65702332</link><description>&lt;p&gt;riak_core sounds like an extremely useful framework. You guys are doing a great job of pushing out useful tools and knowledge. I look forward to the graph DB posts.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ben Godfrey</dc:creator><pubDate>Mon, 02 Aug 2010 09:38:30 -0000</pubDate></item><item><title>Re: Restarting This Thing</title><link>http://weblog.hypotheticalabs.com/?p=535#comment-65168669</link><description>&lt;p&gt;It sounds good. I'm looking forward to this.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Vychodil Hynek</dc:creator><pubDate>Thu, 29 Jul 2010 17:30:10 -0000</pubDate></item><item><title>Re: Restarting This Thing</title><link>http://weblog.hypotheticalabs.com/?p=535#comment-65084955</link><description>&lt;p&gt;Me too looking forward to this. &lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Marcus</dc:creator><pubDate>Thu, 29 Jul 2010 10:24:43 -0000</pubDate></item><item><title>Re: Restarting This Thing</title><link>http://weblog.hypotheticalabs.com/?p=535#comment-65083539</link><description>&lt;p&gt;i'm very much looking forward to this =)&lt;/p&gt;&lt;p&gt;grantmichaels&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">grantmichaels</dc:creator><pubDate>Thu, 29 Jul 2010 10:16:31 -0000</pubDate></item><item><title>Re: Erlang Pattern: The Router</title><link>http://weblog.hypotheticalabs.com/?p=528#comment-20590629</link><description>&lt;p&gt;@Dizzy - I'll have to think about this a bit. I knew going into this that we'd get bogus timeout messages but for what we were doing that was acceptable. We have fairly robust logging so between the data in the message and the log output we can debug timeouts.&lt;/p&gt;&lt;p&gt;@Hunter - The lookup was a simple ETS table which contained some metadata about the service (interface version, acceptable messages, etc). We used monitors to determine when to remove a service and judicious use of pg2 to sync up information across the cluster.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">kevin</dc:creator><pubDate>Mon, 19 Oct 2009 17:47:25 -0000</pubDate></item><item><title>Re: Erlang Pattern: The Router</title><link>http://weblog.hypotheticalabs.com/?p=528#comment-20590628</link><description>&lt;p&gt;I like this.&lt;/p&gt;&lt;p&gt;What was the lookup mechanism in the recent implementation you talked about?  I'm interested in how the "target" processes notify the lookup bookkeeping about their deaths.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Hunter Morris</dc:creator><pubDate>Mon, 19 Oct 2009 17:14:41 -0000</pubDate></item><item><title>Re: Erlang Pattern: The Router</title><link>http://weblog.hypotheticalabs.com/?p=528#comment-20590627</link><description>&lt;p&gt;I'll admit that this pattern bugs me a bit.  The root of my discomfort is the fact that you're doing a gen:call on the router process, which causes the caller to setup a monitor on that (router) process. However, what we REALLY want to monitor is the target process. After all, if the target crashes, we'll never know how/why -- we'll just get a timeout from the router, which is misleading to say the least.&lt;/p&gt;&lt;p&gt;So there are two options, I suppose:&lt;br&gt;1. Do a call to get the target PID, followed by a call to that process&lt;br&gt;2. Do a cast to the router which in turn does a cast to the target&lt;/p&gt;&lt;p&gt;The downside with 1 is increased latency (likely). However, you get more meaningful errors, which in my book, is worth a bit of latency. Option 2 makes it impossible to know if the router or target actually recv'd the message.&lt;/p&gt;&lt;p&gt;A third option would be to split the difference like so:&lt;br&gt;1. Setup monitor on router&lt;br&gt;2. Cast request to router&lt;br&gt;3. Recv status notif from router with target pid&lt;br&gt;4. Setup monitor on target (delete router monitor)&lt;br&gt;5. Recv completion notice from target&lt;/p&gt;&lt;p&gt;This way you would know where the message fails, with slightly better concurrency. But you'd have to show me a pretty convincing chunk o' profiling to justify that over option 1. :)&lt;/p&gt;&lt;p&gt;My $0.02. :)&lt;/p&gt;&lt;p&gt;D.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Dizzy</dc:creator><pubDate>Mon, 19 Oct 2009 15:49:48 -0000</pubDate></item><item><title>Re: CodeWriMo</title><link>http://weblog.hypotheticalabs.com/?p=526#comment-20590625</link><description>&lt;p&gt;Just a thought, but what about having folks working on the docs in parallel to the coding? I tend to try to structure projects in that fashion so that the docs only need a little polishing at the end.  :-)&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Chuck McKnight</dc:creator><pubDate>Mon, 19 Oct 2009 12:49:23 -0000</pubDate></item><item><title>Re: Tomorrow Night</title><link>http://weblog.hypotheticalabs.com/?p=524#comment-20590599</link><description>&lt;p&gt;Kevin - your talk on WebMachine was not that long, but very inspiring - I actually looked into it and was seriously moved. I even posted a cool StickyNotes project WebMachine-y follow-up. Erlang rules even more than I thought :)&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Serge S</dc:creator><pubDate>Mon, 28 Sep 2009 15:38:20 -0000</pubDate></item><item><title>Re: Tomorrow Night</title><link>http://weblog.hypotheticalabs.com/?p=524#comment-20590598</link><description>&lt;p&gt;Are the slides available? Or better yet, video?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Kevin</dc:creator><pubDate>Sat, 12 Sep 2009 10:42:35 -0000</pubDate></item><item><title>Re: Tomorrow Night</title><link>http://weblog.hypotheticalabs.com/?p=524#comment-20590597</link><description>&lt;p&gt;Kevin,&lt;/p&gt;&lt;p&gt;Thank you so much for coming to speak to the DC Erlang community.&lt;/p&gt;&lt;p&gt;I can't wait to hear your talk tonight.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Luc Castera</dc:creator><pubDate>Thu, 10 Sep 2009 12:41:27 -0000</pubDate></item><item><title>Re: Tomorrow Night</title><link>http://weblog.hypotheticalabs.com/?p=524#comment-20590596</link><description>&lt;p&gt;Looking forward to it. See you there!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Paul Barry</dc:creator><pubDate>Wed, 09 Sep 2009 20:34:42 -0000</pubDate></item><item><title>Re: Win32 Linked-In Drivers and A Project Idea</title><link>http://weblog.hypotheticalabs.com/?p=508#comment-20590595</link><description>&lt;p&gt;@David - I looked at using couch_js.c but it's a wrapper around SpiderMonkey's JS shell which handles encoding/decoding data. It's not a linked-in driver and so Erlang has to talk to it over stdout/in. Not that's necessarily a bad thing, but it didn't fit my needs.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">kevin</dc:creator><pubDate>Fri, 19 Jun 2009 07:22:03 -0000</pubDate></item><item><title>Re: Win32 Linked-In Drivers and A Project Idea</title><link>http://weblog.hypotheticalabs.com/?p=508#comment-20590594</link><description>&lt;p&gt;@David&lt;br&gt;I think CouchDB uses an Erlang port to communicate with SpiderMonkey.  Although not the same as shelling out, data still has to cross the serialization boundary.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Sean Cribbs</dc:creator><pubDate>Thu, 18 Jun 2009 22:53:43 -0000</pubDate></item><item><title>Re: Win32 Linked-In Drivers and A Project Idea</title><link>http://weblog.hypotheticalabs.com/?p=508#comment-20590593</link><description>&lt;p&gt;Doesn't couchdb include a linked in spidermonkey driver already?&lt;/p&gt;&lt;p&gt;or do they just call the "js" binary and pipe through sdin/out?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">David Budworth</dc:creator><pubDate>Thu, 18 Jun 2009 22:45:00 -0000</pubDate></item><item><title>Re: Win32 Linked-In Drivers and A Project Idea</title><link>http://weblog.hypotheticalabs.com/?p=508#comment-20590592</link><description>&lt;p&gt;I had the same thought myself but couldn't figure out where VC++ keeps that info. What should I look for? A link dependency on kernel32.lib?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">kevin</dc:creator><pubDate>Thu, 18 Jun 2009 22:27:58 -0000</pubDate></item><item><title>Re: Hands-On Erlang Cancelled</title><link>http://weblog.hypotheticalabs.com/?p=506#comment-20590589</link><description>&lt;p&gt;Wow that sucks... I was getting close to getting tickets!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Will Schenk</dc:creator><pubDate>Tue, 16 Jun 2009 17:07:02 -0000</pubDate></item><item><title>Re: Tail Recursion: An Exhaustive Treatment</title><link>http://weblog.hypotheticalabs.com/?p=498#comment-20590588</link><description>&lt;p&gt;I especially like the limited ring for storing part of the trace as the counter argument to GvR's loss of debugging information in the Tail Call Optimized languages (in Part IV)&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Serge</dc:creator><pubDate>Sat, 30 May 2009 08:13:46 -0000</pubDate></item><item><title>Re: Basic Erlang Driver Revisited</title><link>http://weblog.hypotheticalabs.com/?p=496#comment-20590587</link><description>&lt;p&gt;Also, I have a walkthrough for making a driver using the method described here: &lt;a href="http://dawsdesign.com/drupal/erlang-driver-walkthrough" rel="nofollow noopener" target="_blank" title="http://dawsdesign.com/drupal/erlang-driver-walkthrough"&gt;http://dawsdesign.com/drupa...&lt;/a&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Matt Williamson</dc:creator><pubDate>Wed, 27 May 2009 23:24:15 -0000</pubDate></item><item><title>Re: Basic Erlang Driver Revisited</title><link>http://weblog.hypotheticalabs.com/?p=496#comment-20590586</link><description>&lt;p&gt;Matt - Thanks. I thought about using a single char but that seemed too restrictive.&lt;/p&gt;&lt;p&gt;James - baberl is working I'm doing for EA so they own the copyright. I own the copyright on the basic driver so that's assigned to Hypothetical Labs. I don't see any refs to EA in that code. If you find any let me know and I'll remove it.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">kevin</dc:creator><pubDate>Wed, 27 May 2009 10:03:05 -0000</pubDate></item><item><title>Re: Basic Erlang Driver Revisited</title><link>http://weblog.hypotheticalabs.com/?p=496#comment-20590585</link><description>&lt;p&gt;Is copyright EA a copy-pasteo?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">James Bowes</dc:creator><pubDate>Wed, 27 May 2009 09:23:46 -0000</pubDate></item><item><title>Re: Basic Erlang Driver Revisited</title><link>http://weblog.hypotheticalabs.com/?p=496#comment-20590584</link><description>&lt;p&gt;I like the way you used ASCII characters as the command instead of the way I did it with a single byte.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Matt Williamson</dc:creator><pubDate>Wed, 27 May 2009 09:14:40 -0000</pubDate></item><item><title>Re: More Screencasts</title><link>http://weblog.hypotheticalabs.com/?p=494#comment-20590583</link><description>&lt;p&gt;otp stuff ... i think there is plenty of "getting this started" things around now, otp is kind of underrepresented though.&lt;/p&gt;&lt;p&gt;... at least my impression :-)&lt;/p&gt;&lt;p&gt;cheers&lt;br&gt;lenz&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">lenz</dc:creator><pubDate>Thu, 21 May 2009 18:06:34 -0000</pubDate></item><item><title>Re: Thoughts on Training</title><link>http://weblog.hypotheticalabs.com/?p=478#comment-20590579</link><description>&lt;p&gt;Luc -&lt;/p&gt;&lt;p&gt;Hopefully my most recent posting addresses your first two concerns so I won't say more about those points here. What I do want to talk about is how the class differs from my screencasts.&lt;/p&gt;&lt;p&gt;The classes are primarily different from the screencasts in that we go into much more detail on each topic, especially gen_server and the OTP bits. Also, there are more lab exercises which allow everyone to get very comfortable with Erlang. I'd say everyone in the last class had at least one "aha!" moment even though most of them had watched the 'casts.&lt;/p&gt;&lt;p&gt;There's only so much you can cover in two days and I chose to focus on the practical basics. My goal for everyone who attends the class is to be comfortable enough with Erlang they could look at the source for a complex project, like webmachine or even CouchDB, and be able to figure out what's going on.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">kevin</dc:creator><pubDate>Tue, 12 May 2009 21:29:20 -0000</pubDate></item></channel></rss>