Whole-known-network
<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's "I'll get around to it?"</p>
<p>One might ask "don't you get bored with the repetition?" The answer is no. </p><p>To me, each of these courses is akin to playing a jazz chart. Yes, there is an overall "shape" and general objective, but nothing is too scripted. I'm always trying new things out and a lot is driven by spur-of-the-moment course discussion ("oh yeah, let's try doing that"). So, you really don't know what'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>> 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 "3 weeks from today" or "0800 two days from now" or "in exactly twenty-four hours". <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>
<p><span class="h-card" translate="no"><a href="https://mstdn.io/@OldTroll" class="u-url mention">@<span>OldTroll</span></a></span> I teach it in its original form using Scheme. I can't speak to the overall demand for this, but that's what I'm teaching and I don't intend to change it.</p>
<p><span class="h-card" translate="no"><a href="https://mastodon.social/@dabeaz" class="u-url mention">@<span>dabeaz</span></a></span> are you teaching SICP in js or lisp? Just curious if demand is for one or the other these days.</p>
<p>On the whole, I'd say I had a pretty busy year of teaching in 2024:</p><p>- Attempted to implement Raft 8 times.<br />- Wrote 5 compilers<br />- Wrote 2 interpreters in Rust.<br />- Taught SICP twice.<br />- Exploded heads 4 times in my advanced programming course.</p><p>Plus, taught the Programming Languages course with <span class="h-card" translate="no"><a href="https://mastodon.social/@shriramk" class="u-url mention">@<span>shriramk</span></a></span> at Brown this fall. </p><p>Hmmm. Maybe there's a reason why I haven't been blogging...</p>