2
<p><span class="h-card" translate="no"><a href="https://mastodon.social/@dabeaz" class="u-url mention">@<span>dabeaz</span></a></span></p><p>as_ takes self as a reference, to_ takes ownership of self. Also, there is From trait to convert with ownership transfer and Into trait which is conversion the other way around and Into is automatically implemented for From.</p>
<p>I will say that this exercise, punishing as it is, felt like a great way to try and build an &quot;intuition&quot; around Rust.</p><p>&quot;What the hell was the name of that thing?&quot;</p><p>&quot;from_thing?&quot;</p><p>&quot;to_thing?&quot;</p><p>&quot;as_thing?&quot;</p><p>&quot;Shit!&quot; (much fiddling around with trying different things to follow).</p>
<p><span class="h-card" translate="no"><a href="https://mastodon.social/@dabeaz" class="u-url mention">@<span>dabeaz</span></a></span> respect!</p>
<p>I realize that everyone has a different definition of &quot;fun&quot;, but over the last two days, I managed to write an interpreter capable of running the attached program in about 600 lines of Rust using nothing more than emacs, rust, and my wits. No IDE, no LSP, no books, no notes, no code samples, no online searches, and no AI. </p><p>Kind of a sanity check to see if I know Rust well enough to greenfield reproduce something that I struggled mightily with before. <br /> <br />Rock them vibes!</p>
Attached image 0
<p>Cherry blossom. This year I didn&#39;t forget to catch this short moment when cherries blossom all over our neighborhood.</p><p><a href="https://mastodon.social/tags/darktable" class="mention hashtag" rel="tag">#<span>darktable</span></a></p>
Attached image 0
<p>Often a machine can do a task better than a human. But economics being what it is, what may actually happen is that machines can do a worse job for a lot less money and for that reason the machines take over that task.</p><p>People warned us about superintelligent machines taking over. What will actually happen is that almost every aspect of our lives will be dominated by machines less intelligent than humans.</p>
<p><span class="h-card" translate="no"><a href="https://mastodon.social/@samth" class="u-url mention">@<span>samth</span></a></span> <span class="h-card" translate="no"><a href="https://types.pl/@wilbowma" class="u-url mention">@<span>wilbowma</span></a></span> It does not at all for me. For example, your own PL group would rank far hire in Jon Sterling&#39;s Rankings ;-) And I&#39;m not just saying that &#39;cause I like you.</p><p>And my own alma mater was a good place for PL, no doubt, but it was once far better than it is now — and I am pretty skeptical that it is stronger than Cornell and Penn and several others that it precedes by virtue of being &quot;first&quot;. Especially Cornell, where they have a very strong bunch of people doing core PL of the kind that very few people even do at CMU anymore.</p><p>All this reveals to me that as far as PL is concerned, Emery Berger&#39;s Ratings are pretty dodgy... But you know what they say — if it&#39;s wrong about the shit you do know, it&#39;s definitely wrong about the shit you don&#39;t know.</p>
<p><span class="h-card" translate="no"><a href="https://mathstodon.xyz/@jonmsterling" class="u-url mention">@<span>jonmsterling</span></a></span> <span class="h-card" translate="no"><a href="https://types.pl/@wilbowma" class="u-url mention">@<span>wilbowma</span></a></span> csrankings broadly corresponds to my own assessment of deparments in PL; does it not for you?</p>
<p><span class="h-card" translate="no"><a href="https://mastodon.social/@samth" class="u-url mention">@<span>samth</span></a></span> <span class="h-card" translate="no"><a href="https://types.pl/@wilbowma" class="u-url mention">@<span>wilbowma</span></a></span> I mean, CS Rankings is bad for the same reason that US News rankings was bad... lmao</p>