mastodon.xyz is one of the many independent Mastodon servers you can use to participate in the fediverse.
A Mastodon instance, open to everyone, but mainly English and French speaking.

Administered by:

Server stats:

739
active users

#commonlisp

24 posts21 participants5 posts today
Vassil Nikolov | Васил Николов<p>Isn't the core of the subtype test for cons as follows:</p><p>(subtypep '(cons t1 t2) '(cons u1 u2)) =&gt; (and s1 s2) (and d1 d2)</p><p>where</p><p>(subtypep 't1 'u1) =&gt; s1 d1<br>(subtypep 't2 'u2) =&gt; s2 d2</p><p><a href="https://ieji.de/tags/CommonLisp" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>CommonLisp</span></a></p><p><span class="h-card" translate="no"><a href="https://functional.cafe/@jackdaniel" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>jackdaniel</span></a></span></p>
woozong 🅅<p>yo yo <a href="https://post.lurk.org/tags/commonlisp" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>commonlisp</span></a> peeps, I'm getting back into some cl hacking and I have a question: <br>AFAICR when I did a (ql:quickload "some-library"), I could then, in later session just load my asdf package with the dependency to it, and it would use the "some-library" I ql-loaded in a previous session. <br>For some reason that isn't working anymore. Did I forget some config somewhere? <br>i.e. only quickload once and then have it available to asdf in later sessions. </p><p>any ideas?</p>
screwlisp<p><a href="https://gamerplus.org/tags/gamedev" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>gamedev</span></a> <a href="https://gamerplus.org/tags/devlog" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>devlog</span></a> <a href="https://gamerplus.org/tags/itchio" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>itchio</span></a> <a href="https://gamerplus.org/tags/commonLisp" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>commonLisp</span></a> <a href="https://gamerplus.org/tags/mcclim" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>mcclim</span></a> my <a href="https://gamerplus.org/tags/nicclim" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>nicclim</span></a> Map Editor way-better- <a href="https://gamerplus.org/tags/demo" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>demo</span></a> and setup walkthrough.</p><p><a href="https://screwlisp.small-web.org/lispgames/trying-nicclim/" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">screwlisp.small-web.org/lispga</span><span class="invisible">mes/trying-nicclim/</span></a></p><p>I'd love it if you tried it; a few people already are. Link to previous thread in the article. I'm happy for any and all comments. I'll attach screenshots from the article, which shows programmatic useage and indicates hotkey useage.</p>
Vassil Nikolov | Васил Николов<p>In this line of thought,<br>a simple illustration that may be of interest.</p><p>Part 1:<br>Put these in a file and compile it:</p><p>(defun wt () "Wrap a throw." (throw 'foo nil))<br>(defun bar () (loop repeat 3 do (print 'baz) (wt) finally (print 'quux)))</p><p>There cannot be a warning about unreachable code<br>and there indeed isn't.</p><p>Part 2:<br>Insert</p><p>(declaim (inline wt))</p><p>before the two definitions above.<br>SBCL's file compiler does emit a warning now.</p><p><a href="https://ieji.de/tags/CommonLisp" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>CommonLisp</span></a></p><p><span class="h-card" translate="no"><a href="https://mathstodon.xyz/@weekend_editor" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>weekend_editor</span></a></span> <span class="h-card" translate="no"><a href="https://hachyderm.io/@davetenny" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>davetenny</span></a></span></p>
screwlisp<p><span class="h-card" translate="no"><a href="https://types.pl/@pigworker" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>pigworker</span></a></span> hey! I was thinking about your toot about first-year modules introducing computers needing to be dangerous, being less now-conventional. tomorrow- well, 22 hours from right now, I'm interviewing <a href="https://as.tufts.edu/physics/people/faculty/ken-olum" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">as.tufts.edu/physics/people/fa</span><span class="invisible">culty/ken-olum</span></a> - whose research group has used and is using <a href="https://gamerplus.org/tags/commonLisp" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>commonLisp</span></a> for their biggest-ever, current, world-leading <a href="https://gamerplus.org/tags/astrophysics" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>astrophysics</span></a> simulations. One topic will be Olum learning lisp from John McCarthy. I was just wondering if you (or anyone else, to be fair), had a question for him.</p>
jbz<p>Web Embeddable Common Lisp is a project that brings Common Lisp and the Web Browser environments together</p><p><a href="https://turtleware.eu/posts/Using-Common-Lisp-from-inside-the-Browser.html" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">turtleware.eu/posts/Using-Comm</span><span class="invisible">on-Lisp-from-inside-the-Browser.html</span></a></p><p><a href="https://indieweb.social/tags/lisp" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>lisp</span></a> <a href="https://indieweb.social/tags/commonlisp" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>commonlisp</span></a> <a href="https://indieweb.social/tags/functionalprogramming" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>functionalprogramming</span></a></p>
DeadSwitch @ T0m's 1T C4fe<p>A Common Lisp community is building on Discord: <a href="https://discord.gg/eNvmFrSCNb" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="">discord.gg/eNvmFrSCNb</span><span class="invisible"></span></a></p><p><a href="https://mastodon.social/tags/CommonLisp" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>CommonLisp</span></a> <a href="https://mastodon.social/tags/Lisp" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Lisp</span></a> <a href="https://mastodon.social/tags/Discord" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Discord</span></a> <a href="https://mastodon.social/tags/Community" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Community</span></a> <a href="https://mastodon.social/tags/DeadSwitchSignal" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>DeadSwitchSignal</span></a></p>
Nicolas Martyanoff<p>I still love <a href="https://fosstodon.org/tags/CommonLisp" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>CommonLisp</span></a> but I spend too much time dealing with production issues in my life to ship production software in a language that cannot be statically typechecked. Yes, type declarations sometimes help with specific implementations; but "sometimes" is just not good enough.</p>
Artyom Bologov<p>Imagine… an <a href="https://merveilles.town/tags/Interslavic" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Interslavic</span></a> book with every word linking to a dictionary with its translation. Heck, any language book being a <a href="https://merveilles.town/tags/hypertext" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>hypertext</span></a> document with inline/linked translation! There was a vision for the better <a href="https://merveilles.town/tags/Internet" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Internet</span></a>, and we’ve strayed away from it. <span class="h-card" translate="no"><a href="https://climatejustice.social/@kentpitman" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>kentpitman</span></a></span> ‘s <a href="https://merveilles.town/tags/CommonLisp" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>CommonLisp</span></a> HyperSpec was the closest to a truly hyperlinked book I’ve seen. And it’s the most useful (reference) book I read. We need more hyperbooks!</p>
Vassil Nikolov | Васил Николов<p>P.P.S.</p><p>Yes, "upward go" is possible.<br>(As _of course_ it should be.)</p><p>So one is allowed, for example,</p><p>(tagbody (loop repeat ... do ... (go end) finally ...) end)</p><p>where this _isn't_ an endless loop, but the epilogue is unreachable nevertheless.<br>Naturally, in the wild the `go' and `tagbody' forms will be in a macroexpansion.</p><p><a href="https://ieji.de/tags/CommonLisp" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>CommonLisp</span></a></p><p><span class="h-card" translate="no"><a href="https://mathstodon.xyz/@weekend_editor" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>weekend_editor</span></a></span> <span class="h-card" translate="no"><a href="https://hachyderm.io/@davetenny" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>davetenny</span></a></span></p>
screwlisp<p><a href="https://gamerplus.org/tags/gamedev" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>gamedev</span></a> <a href="https://gamerplus.org/tags/devlog" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>devlog</span></a> <a href="https://gamerplus.org/tags/commonlisp" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>commonlisp</span></a> <a href="https://gamerplus.org/tags/McCLIM" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>McCLIM</span></a> My <a href="https://gamerplus.org/tags/NicCLIM" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>NicCLIM</span></a> map editor so far. <a href="https://gamerplus.org/tags/itchio" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>itchio</span></a> </p><p><a href="https://lispy-gopher-show.itch.io/nicclim/devlog/1016511/nicclim-house-yard-street-map-editor-initial-example" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">lispy-gopher-show.itch.io/nicc</span><span class="invisible">lim/devlog/1016511/nicclim-house-yard-street-map-editor-initial-example</span></a></p><p>Pictures are screenshots detailed by the article.</p><p>This was the example I was going to stream yesterday, but had the compiler/library version and performance problems with the stream.</p>
Stewart V. Wright<p><span class="h-card" translate="no"><a href="https://masto.gregnewman.io/@greg" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>greg</span></a></span> <span class="h-card" translate="no"><a href="https://infosec.exchange/@birdgoose" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>birdgoose</span></a></span> </p><p>💯 about the built-in docs. I read the <a href="https://fosstodon.org/tags/elisp" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>elisp</span></a> guide and it fundamentally changed my view of coding. I moved to <a href="https://fosstodon.org/tags/CommonLisp" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>CommonLisp</span></a> as my go-to language.</p>
Vassil Nikolov | Васил Николов<p>Yes.<br>Embarrassingly, it took me a whole five minutes to notice that.</p><p>Note that unreachability is detected in the macroexpansion.<br>Emitting a meaningful error message would take a lot of work:</p><p>either implement all of that analysis for `loop' as a special case _as well_</p><p>or relate the pieces of the macroexpansion back to the pieces of the original form.</p><p>Now, justify that effort...</p><p><a href="https://ieji.de/tags/CommonLisp" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>CommonLisp</span></a></p><p><span class="h-card" translate="no"><a href="https://mathstodon.xyz/@weekend_editor" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>weekend_editor</span></a></span> <span class="h-card" translate="no"><a href="https://hachyderm.io/@davetenny" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>davetenny</span></a></span></p>
Dave Tenny<p><a href="https://hachyderm.io/tags/lisp" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>lisp</span></a> <a href="https://hachyderm.io/tags/commonlisp" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>commonlisp</span></a> <a href="https://hachyderm.io/tags/sbcl" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>sbcl</span></a> </p><p>SBCL is telling me my return statement is unreachable, which is _terrific_. It doesn't tell me why, that's generally an exercise for the author, and here I leave it for you to identify for your amusement. I liked this particular catch by the compiler.</p><p>I am a huge fan of SBCL's compilation warnings. IMO it's one of the things that makes Common Lisp a much better production language than some other lisps.</p><p>(Is there a way to hide spoilers in Mastodon posts?)</p>
Andres Moreno<p><span class="h-card" translate="no"><a href="https://merveilles.town/@aartaka" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>aartaka</span></a></span> </p><p>Paul Graham (the power behind Hacker News) is a big proponent of <a href="https://hachyderm.io/tags/commonlisp" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>commonlisp</span></a> A whole Lisp-oriented culture emerged on HN.</p><p>While no longer as obvious as it was then, it is still with us.</p>
Artyom Bologov<p>At times I don't get the logic of <a href="https://merveilles.town/tags/HackerNews" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>HackerNews</span></a>. My latest post (<a href="https://aartaka.me/customize-repl.html" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="">aartaka.me/customize-repl.html</span><span class="invisible"></span></a>) hit 70+ points on HN, despite being quite niche and supposedly oriented towards <a href="https://merveilles.town/tags/CommonLisp" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>CommonLisp</span></a>. Why? </p><p>But it's good to see at least some of my posts back on HN after two months of no one posting the stuff (I poured my heart into.)</p>
charliemac<p>Planning on streaming / rubber-ducking more <a href="https://mastodon.social/tags/McCLIM" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>McCLIM</span></a> and <a href="https://mastodon.social/tags/CommonLisp" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>CommonLisp</span></a> in a couple of hours at 12pm CDT<br><a href="https://www.twitch.tv/endparen" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://www.</span><span class="">twitch.tv/endparen</span><span class="invisible"></span></a></p>
Samuel Chase<p>Tried out the <a href="https://fantastic.earth/tags/lem" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>lem</span></a> text editor today!</p><p>It's written in <a href="https://fantastic.earth/tags/commonlisp" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>commonlisp</span></a> and the usual <a href="https://fantastic.earth/tags/emacs" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>emacs</span></a> keybindings work by default. Obviously, it can also be customized and extended using CL.</p><p>Will be cool to see how this project progresses.</p><p><a href="https://lem-project.github.io/" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="">lem-project.github.io/</span><span class="invisible"></span></a></p>
Vassil Nikolov | Васил Николов<p><span class="h-card" translate="no"><a href="https://fediscience.org/@ericsfraga" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>ericsfraga</span></a></span> wrote:<br>&gt; &gt; (... use computed GOTOs.)<br>&gt; 🤣</p><p>Yeah...<br>They are the poor compiler writer's case or switch statements, of course.</p><p>Now, Fortran also has (or had) arithmetic IF (a three-way branch on the sign of a real value).<br>Guy Steele used that to illustrate defining a macro, noting that accepting the need for such a macro "requires stretching of the imagination and suspension of disbelief".</p><p>(_Common Lisp: the Language_; chapter 8?)</p><p><a href="https://ieji.de/tags/CommonLisp" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>CommonLisp</span></a></p><p><span class="h-card" translate="no"><a href="https://mathstodon.xyz/@dougmerritt" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>dougmerritt</span></a></span> <span class="h-card" translate="no"><a href="https://mathstodon.xyz/@rwxrwxrwx" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>rwxrwxrwx</span></a></span> <span class="h-card" translate="no"><a href="https://gamerplus.org/@screwlisp" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>screwlisp</span></a></span></p>
Samuel Chase<p><span class="h-card" translate="no"><a href="https://social.masto.host/@njoseph" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>njoseph</span></a></span> <a href="https://fantastic.earth/tags/perl" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>perl</span></a>, <a href="https://fantastic.earth/tags/commonlisp" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>commonlisp</span></a>, <a href="https://fantastic.earth/tags/openbsd" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>openbsd</span></a>, <a href="https://fantastic.earth/tags/sqlite" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>sqlite</span></a> fit the bill here.</p>