eupolicy.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
This Mastodon server is a friendly and respectful discussion space for people working in areas related to EU policy. When you request to create an account, please tell us something about you.

Server stats:

202
active users

#commonlisp

13 posts7 participants1 post today

#classicalAI ( #gof_ai ) and #deeplearning #AI . A minimal #programming #example in #commonLisp for identifying the artist of famous pictures with either approach.

The code fits on the back of a cereal box. (Barely. Argh, numerically encoding data for DL..).

screwlisp.small-web.org/fundam

I think this is as clear an example as can be. Though I look forward to your feedback and criticisms.

screwlisp.small-web.orgCommon lisp Classical AI and deep learning ai the difference in two clear example implementations
Replied in thread

I wish this article pointed out explicitly that Lisp (if we need to be concrete, Common Lisp) has two levels of syntax:
the simple syntax of S-expressions
and
the idiosyncratic syntax of each special operator.

I wish this article considered XSLT, an ugly but homoiconic language.

I wish it mentioned that what is _usually_ called the Lisp reader _also_ does a scanner's job of constructing tokens.

Etc., which will remain for another time.

#CommonLisp

@monkey1 @simon_brooke @screwlisp

Replied to screwlisp

On Lisp Macros

My thesis is that they become easy
once you realize they extend the language
_without_ touching the language implementation,
no more and no less.
That is, macros extend the compiler _without_ modifying it.

It so _happens_ in Lisp that they are functions mapping lists to lists.

They are related to backquotes only because
they necessarily need to construct nested lists
and backquotes are one of the tools for that.

#CommonLisp
#Lisp

@screwlisp

Spacetime boxes and #NicCLIM #gamedev : An ordeal #devlog #commonLisp

screwlisp.small-web.org/lispga

I made a gamedev-my-NicCLIM-oriented spacetime-box class to try and figure upon Olum's stuff. I got tied up making two spacetime boxes, then making one spacetime-box every neighbor of the other, which was a huge problem actually. It seemed to be working at the end. Skip quickly to the extensive and far-ranging if poorly-named conclusions.

Has it occurred to you that an #LLM is a very good for generating boilerplate code? It's especially very good in frontend development.

But have you sometimes thought that the language shouldn't require you to write a lot of duplicated codes? And it should instead provide #metaprogramming capabilities like #macros so you could summarize multiple similar patterns?

I really miss macros in #Typescript and other frontend applications.

I mean using an LLM with like 400B parameters to autogenerate some frontend stuff is insane when you could simply fix the underlying tech instead of introducing new massive size tech to go around the problem, instead of solving it.

I think I really need to get back to #CommonLisp or maybe some other #Lisp languages. #Rust also has got macros and I could learn more advanced usages of them.

Replied in thread

@jeremy_list haha, I probably should have warned you I wouldn't be putting haikuos on anything ;p.
#commonLIsp
Threads: bordeaux-threads.common-lisp.d de factow standard, proposed by Barlow,
multiple event loops and the GUI: (honestly I would throw both of these in McCLIM which does both of these) mcclim.common-lisp.dev/

Surely it would still be Theseus' habitat though ;p.

For me I would quite like to hold onto the fact that your code is C++ in that magicaly ECL sffi way. C++ compatibility is good

bordeaux-threads.common-lisp.devBordeaux Threads project

Some of these "how deep is an atom in a #commonLisp form in a file" pictures are deeply satisfying to look at.

#gnuplot #clseries Sharpsign... Visualizing lisp expression leaf depth

screwlisp.small-web.org/moment

Make your own in this thread plz. Will send help.

Requests, conceivably.

Revisits how to write
(let* ((current-dir (car (directory #p"./")))
(wild-dir
(make-pathname :directory
'(:relative :wild-inferiors))
)
(wild-here
(merge-pathnames wild-dir current-dir))

Replied to screwlisp

@screwlisp wrote:
> I've had the idea that the loved-and-hated #commonLisp #formattedOutput is basically markdown

Again, I'd rather draw a (partial) similarity between Common Lisp's format language
and extended Backus-Naur (or Normal) form (EBNF).
Note also the common root of the two F-words.
It must be intentional; probably this has already been said.

Some format directives are analogous to lexical tokens
(as are almost all `printf' directives), of course.

@publicvoit @ramin_hal9001 @sacha