techhub.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
A hub primarily for passionate technologists, but everyone is welcome

Administered by:

Server stats:

4.6K
active users

#commonlisp

20 posts17 participants2 posts today

#spatial #programming #commonLisp #leonardoCalculus

screwlisp.small-web.org/lispga

New organisms-2 knowledgebase,starting out with local spatial walking at @mdhughes mdhughes.tech/ recommendation that fast access to local neighbors is fundamental.

I.e. I don't want to check every organism in the world to check who is standing next to me. Well, I put that in a knowledgebase in my organisms-2 #KRF here.

Seems to work, pulls in 8 connected and 24 connected neighbors rightly.

screwlisp.small-web.orgLeonardo Calculus Knowledge Representation: Organisms 2 knowledgebase starting with local spatial walks
Replied to Vassil Nikolov

@vnikolov @tusharhero @evgandr @mdhughes @screwlisp

For me the one true editor was a dos program, qedit.

When I went to Linux I chose gedit as the most functionally equivalent to qedit even if it didn't have the feature set. When gedit lost it's way I followed pluma down the fork.

I am learning Emacs as an IDE for common lisp. My guru is @screwlisp and I am trying to understand his document.

screwlisp.small-web.org/fundam

I am totally uninterested in the vim/emacs wars.

screwlisp.small-web.orgInstalling common lisp etc like I use it geared for beginners
Replied in thread

@phil There are three layers to code management in #CommonLisp:

0. The language standard, which is very basic: you can load source code files.

1. ASDF, which manages "systems" (roughly collections of source code files, plus tests etc.) and their dependencies. If all the code you need is in your local file system, ASDF is all you need. It's also a de-facto standard, in that all modern implementations support it

2. Package managers, which download systems to the local file system.

@screwlisp

Replied to screwlisp

<">
I think some people do either end up not using slime, or not using sbcl’s ext:save-lisp-and-die to save and resume their universe lisp image core when they are using slime. When you should use both.
</">

Good points.
I'll make a weaker statement.
You don't _have_ to use them.
Your mode of operation will vary.
But you must make an __informed__ decision whether to use them or not.

#CommonLisp

@screwlisp

Replied in thread

> As much as CL is 'standardized', it doesn't appear to have a standard way of interaction with the ecosystem.

Aside:
as a language, Common Lisp _is_ standardized, no quotes.
Yes, it is unfortunate that (official) standardization didn't get around to doing more.
Simplistically, blame it on the first AI winter.

I think most people's problem with Lisp is that it wins no popularity contests.
Like Shakespeare's Banquo from the Play, it begat kings though it was none.

#CommonLisp

@phil @screwlisp

Unfortunately the state of graphics programming frameworks in #commonlisp is not quite there yet, so it seems I'll be crawling back to #cpp and #openframeworks for my graphics needs.

Bits and pieces are there in the lisp ecosystem, but there's nothing at the moment that ties it all together in the way that oF or Processing does. In the future I might think of going down the Clojure/quill route, as it seems I should be able to leverage the full power of a lisp and all of Java/Processing.

Replied to screwlisp

> ANSI CL does not call for or need TCO as such.

My impression is that the ANSI committee didn't want to burden implementors by mandating tail call elimination (it is easier in Scheme), but don't take my word for it.
Besides, a stack overflow can be of great help to tackle endless loops, though that is a different story.

> DO exists because it is exactly like one common case of TCO.

Yes.

#CommonLisp

By the way, TCO as a TLA sounds like an OS/MVS thing...

@screwlisp @AverageDog

Replied in thread

@ksaj @pkw @deech
oh, yeah, good book.

When I first went to read the art of the metaobject protocol and I got to where it says "if you are new to the common lisp object system, go read Sonya Keene's Object-oriented Programming in Common LISP: A Programmer's Guide to CLOS now then come back afterwards"

but I made the mistake of trying to read AMOP first (which I did not much understand or retain). #AMOP #bookstodon #commonLisp

#programming #workflow #GUI #mcclim #commonLisp #emacs #ecl #clisp #slime #leonardoCalculus #eepitch

screwlisp.small-web.org/lispga

I have to say, I am really, really happy with how the flow into the thirty second GIF reflects my ideal computer useage.

Basically, I write a clim command that steers my leonardo system "like a person does" via emacs-server, visible in the background of the straightforward clim interactor GUI I generated in a couple lines.

screwlisp.small-web.orgLeonardo Calculus Knowledge Representation: Object Oriented Simulation Simulation Lisp Useage (Great Example if I do say)

#programming #gamedev #devlog #simulation #commonLisp #leonardoCalculus

screwlisp.small-web.org/lispga

Really just a devlog! I slapped a #mcclim #gui onto my simulation so that I could click a button rather than type actions over and over again.

Then, I really just figured out that one simple-starting-arrangement idea I had doesn't work, because the only vertical move that gets triggered is from the lowest row of a tile to the highest row of the same tile.

Small "improvements".