<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>gen_fsm on Roger&#39;s Blog</title>
		<link>https://blog.differentpla.net/series/gen_fsm/</link>
		<description>Recent content in gen_fsm on Roger&#39;s Blog</description>
		<generator>Hugo</generator>
		<language>en</language>
		
		
		
		
			<lastBuildDate>Tue, 12 Nov 2013 13:51:52 +0000</lastBuildDate>
		
			<atom:link href="https://blog.differentpla.net/series/gen_fsm/feed.xml" rel="self" type="application/rss+xml" />
			<item>
				<title>gen_fsm learnings, part 3</title>
				<link>https://blog.differentpla.net/blog/2013/11/12/gen-fsm-learnings-part-3/</link>
				<pubDate>Tue, 12 Nov 2013 13:51:52 +0000</pubDate>
				<guid>https://blog.differentpla.net/blog/2013/11/12/gen-fsm-learnings-part-3/</guid>
				<description>&lt;p&gt;Some odds and ends.&lt;/p&gt;&#xA;&lt;h2 id=&#34;handle_info-information&#34;&gt;&lt;code&gt;handle_info&lt;/code&gt; information&lt;a href=&#34;#handle_info-information&#34;&gt;&lt;span class=&#34;icon icon-link&#34;&gt;&lt;/span&gt;&lt;/a&gt;&#xA;&lt;/h2&gt;&#xA;&lt;p&gt;The last of the &amp;ldquo;I don&amp;rsquo;t know what this is for&amp;rdquo; functions is &lt;code&gt;handle_info&lt;/code&gt;. This&#xA;is documented as being called for messages that aren&amp;rsquo;t events or system&#xA;messages.&lt;/p&gt;</description>
			</item>
			<item>
				<title>gen_fsm learnings, part 2</title>
				<link>https://blog.differentpla.net/blog/2013/11/11/gen-fsm-learnings-part-2/</link>
				<pubDate>Mon, 11 Nov 2013 16:12:36 +0000</pubDate>
				<guid>https://blog.differentpla.net/blog/2013/11/11/gen-fsm-learnings-part-2/</guid>
				<description>&lt;h2 id=&#34;handle_event-and-handle_sync_event&#34;&gt;&lt;code&gt;handle_event&lt;/code&gt; and &lt;code&gt;handle_sync_event&lt;/code&gt;&lt;a href=&#34;#handle_event-and-handle_sync_event&#34;&gt;&lt;span class=&#34;icon icon-link&#34;&gt;&lt;/span&gt;&lt;/a&gt;&#xA;&lt;/h2&gt;&#xA;&lt;p&gt;OK. So, looping back round, just what &lt;em&gt;are&lt;/em&gt; &lt;code&gt;handle_event&lt;/code&gt; and&#xA;&lt;code&gt;handle_sync_event&lt;/code&gt; for?&lt;/p&gt;</description>
			</item>
			<item>
				<title>gen_fsm learnings, part 1</title>
				<link>https://blog.differentpla.net/blog/2013/11/11/gen-fsm-learnings-part-1/</link>
				<pubDate>Mon, 11 Nov 2013 15:31:10 +0000</pubDate>
				<guid>https://blog.differentpla.net/blog/2013/11/11/gen-fsm-learnings-part-1/</guid>
				<description>&lt;h2 id=&#34;background&#34;&gt;Background&lt;a href=&#34;#background&#34;&gt;&lt;span class=&#34;icon icon-link&#34;&gt;&lt;/span&gt;&lt;/a&gt;&#xA;&lt;/h2&gt;&#xA;&lt;p&gt;All of the &lt;code&gt;gen_fsm&lt;/code&gt; examples I&amp;rsquo;ve found on the Internet are way too&#xA;complicated. For example, the one in &lt;a href=&#34;http://learnyousomeerlang.com/finite-state-machines&#34;&gt;learn you some&#xA;Erlang&lt;/a&gt; jumps from a&#xA;simple, hand-written FSM to one that seems to handle a full trading floor&#xA;simulation. That&amp;rsquo;s a steep learning curve in my book.&lt;/p&gt;</description>
			</item>
	</channel>
</rss>
