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:

205
active users

#example

4 posts4 participants0 posts 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
Continued thread

Day 2 Successful compile, .RAS to .PRG

Got done a “hello.ras” compile to #MEGA65 using #TRSE #CLI. It involved a bit of mucking around but once set up works. Key bits:

* Type Hello.ras (hw.ras) #example for MEGA65 <github.com/leuat/TRSE/blob/mas>

* Download, compile #CC65 compiler <github.com/cc65/cc65>

* Find document for TRSE CLI usage <lemonspawn.com/trse-command-li>

* Write a #ShellScript for CLI #build

* Compile and target hw.ras to hw.prg

Next test is to pass the hw.prg using the #JTAG link to the #M65 and watch it run. This also means I can stay on the CLI to build something else. 📺😊

Continued thread

OK, so here’s likely the simplest possible example demonstrating:

• The same route, implemented as both a Kitten JavaScript Page (.page.js) and as a Kitten Markdown Page (.page.md)

• How to persist to the default Kitten JSDB¹ database.

(That first line with the nullish coalescing operator creates a “table” on the database with a default value for the count if it doesn’t already exist.)

kitten.small-web.org

¹ kitten.small-web.org/tutorials

#embeddableCommonLisp's #ffi (*not* libffi) #commonLisp #Cxx #programming example - taking base64 encoding C++ function/namespace from @jeremy_list 's secure scuttlebutt implementation, and using it for extremely portable common lisp rather than nonportable haikuos C++. A straightforward but technical indicative example.

screwlisp.small-web.org/fundam

Though! My one seems to get half the out bytes wrong x_x Edit: I forgot three cdrs, now works 100%.

Anyway, the #ecl #example is working.

screwlisp.small-web.orgC++ and embeddable common lisp habitat example ~ base64 encoding

How I normally do #async external programs in my #commonLisp image #embeddableCommonLisp and #uiop (in the notes).

screwlisp.small-web.org/progra

Originally I was writing Kittenette (Closette but for kittens) today, but I ended up wanting to individually treat external processes, especially from #ecl on its own first.

My example is particularly using #cat(1) as an external-process in-memory echo server.

Hope it helps someone. #programming #example

Yes "multi-processing" in the url is ~erroneous.

screwlisp.small-web.orgEmbeddable Common Lisp External Program Asyncronously

#programming #commonLisp #McCLIM #GUI #minimal #example #article screwlisp.small-web.org/clim/j

Just adding a command/menu-button that draws a random ellipse with no bells or whistles. Using the #ecl compiler /outside/ of #emacs though with heavy emacs useage. I guess this follows up from my nothing-but-the-default-app example (I seem not to have uploaded!). I'm keeping the lisp image external to the emacs connection to its swank server as I indicated over here (screwlisp.small-web.org/moment). @jackdaniel

#programming #engineering #types #strongTyping #commonLisp #example screwlisp.small-web.org/progra for my friend @aleteoryx .

Actually the #historicalNotes in the first paragraph of this article are a little explored key frontier in #computerScience , but the strong typing examples are simple ( etypecase and deftype.. satisfies for those in the know).

I am personally still figuring out how typing in this manner does and can further connect to #typeTheory.

screwlisp.small-web.orgCommon Lisp Strong Typing Example

#programming #graphing #plotting #visualization #timeSeries #gnuplot #commonLisp #lisp #example screwlisp.small-web.org/progra
I could not even find my own previous articles and #demos of this online!

I used #uiop run-program to handle one specific case like

(gnuplot "bad title" '((1 2) (3 4)) '((5 6) (7 8)))
or equivalently,
(apply 'gnuplot "bad title" '(((1 2) (3 4)) ((5 6) (7 8))))

Do you personally have an example? I remember it being hard to dredge up gnuplot examples but this is beyond silly.