2
<p><span class="h-card" translate="no"><a href="https://mastodon.social/@dabeaz" class="u-url mention">@<span>dabeaz</span></a></span> <span class="h-card" translate="no"><a href="https://mastodon.bsd.cafe/@gumnos" class="u-url mention">@<span>gumnos</span></a></span> Fantastic. Fun. Reading the course description for The One, I’m reminded of this Johnny Guitar Watson track and its one-note split, which Frank Zappa memorably describes hearing as a teenager and having his mind blown. <a href="https://open.spotify.com/track/6k3Pv5sOEBeHrcgnL5fM9c?si=aqfIhUYfSfqUwSfNZUFeQg" target="_blank" rel="nofollow noopener noreferrer" translate="no"><span class="invisible">https://</span><span class="ellipsis">open.spotify.com/track/6k3Pv5s</span><span class="invisible">OEBeHrcgnL5fM9c?si=aqfIhUYfSfqUwSfNZUFeQg</span></a></p>
<p><span class="h-card" translate="no"><a href="https://fediscience.org/@BenjaminHimes" class="u-url mention">@<span>BenjaminHimes</span></a></span> <span class="h-card" translate="no"><a href="https://mastodon.social/@shriramk" class="u-url mention">@<span>shriramk</span></a></span> If by neighbor, you mean Illinois, then sure! It&#39;s pretty close on a cosmic scale.</p>
<p><span class="h-card" translate="no"><a href="https://pigeons.club/@joshua" class="u-url mention">@<span>joshua</span></a></span> <span class="h-card" translate="no"><a href="https://mastodon.bsd.cafe/@gumnos" class="u-url mention">@<span>gumnos</span></a></span> Current course list at <a href="https://www.dabeaz.com/courses.html" target="_blank" rel="nofollow noopener" translate="no"><span class="invisible">https://www.</span><span class="">dabeaz.com/courses.html</span><span class="invisible"></span></a>.</p>
<p><span class="h-card" translate="no"><a href="https://mastodon.bsd.cafe/@gumnos" class="u-url mention">@<span>gumnos</span></a></span> <span class="h-card" translate="no"><a href="https://mastodon.social/@dabeaz" class="u-url mention">@<span>dabeaz</span></a></span> Seriously, I’d like to have my programming head exploded as well! Chapter 4 of the SICP did it as an underhand at Berkeley, it’s been a while!</p>
<p><span class="h-card" translate="no"><a href="https://fosstodon.org/@ptmcg" class="u-url mention">@<span>ptmcg</span></a></span> Where&#39;s &quot;I&#39;ll get around to it?&quot;</p>
<p>One might ask &quot;don&#39;t you get bored with the repetition?&quot; The answer is no. </p><p>To me, each of these courses is akin to playing a jazz chart. Yes, there is an overall &quot;shape&quot; and general objective, but nothing is too scripted. I&#39;m always trying new things out and a lot is driven by spur-of-the-moment course discussion (&quot;oh yeah, let&#39;s try doing that&quot;). So, you really don&#39;t know what&#39;s going to happen.</p><p>I also iterate on things a lot (making various tweaks to material after each course).</p>
<p>Here are some of the test cases for that parser:</p><p>10 seconds ago<br />1000 seconds ago<br />10000 seconds ago<br />10 minutes ago<br />10 minutes from now<br />in 10 minutes<br />in a couple of minutes<br />20 seconds ago<br />in 30 seconds<br />in an hour<br />3 days from now<br />a couple of days from now<br />a week from today<br />in a couple of days<br />a couple of days from today<br />8am the day after tomorrow<br />6am tomorrow<br />0800 yesterday<br />1700 tomorrow<br />12:15 AM today<br />twenty-four hours from now<br />in just 10 seconds<br />in just a couple of hours<br />in exactly 1 hour</p>
<p><span class="h-card" translate="no"><a href="https://mastodon.social/@dabeaz" class="u-url mention">@<span>dabeaz</span></a></span> </p><p>&gt; Exploded heads 4 times in my advanced programming course.</p><p>Where does one sign up! I enjoy getting my head exploded! ☺</p>
<p>I just released pyparsing 3.2.1 with a very cool addition to the railroad diagrams that pyparsing generates for its parsers - non-terminal diagram elements now link to their definitions elsewhere in the diagram! This is pretty handy when the diagram is for a complex parser, as in this demo of a parser/evaluator for time references like &quot;3 weeks from today&quot; or &quot;0800 two days from now&quot; or &quot;in exactly twenty-four hours&quot;. <a href="https://fosstodon.org/tags/pyparsing" class="mention hashtag" rel="tag">#<span>pyparsing</span></a> <a href="https://fosstodon.org/tags/python" class="mention hashtag" rel="tag">#<span>python</span></a> <a href="https://fosstodon.org/tags/parser" class="mention hashtag" rel="tag">#<span>parser</span></a> <a href="https://fosstodon.org/tags/railroaddiagram" class="mention hashtag" rel="tag">#<span>railroaddiagram</span></a></p>
Attached file 0