rabbibotton / clog

CLOG - The Common Lisp Omnificent GUI
Other
1.56k stars 104 forks source link

Part 2 of the tutorial cltt.pdf incomplete #389

Open nigel4520 opened 2 months ago

nigel4520 commented 2 months ago

AT clog/LEARN.md, in the linked file cltt.pdf the section Part 2 on Symbols is missing its part 3 that creates the files needed to do the Part 3 Functions section. This Symbols own part 3 is in the linked section 2 below the pdf link but not in the pdf. Possibly needs regeneration of pdf?

rabbibotton commented 2 months ago

Have you seen a complete pdf? Must be some place avaible

chuchana commented 2 months ago

I came to report the same issue: part 3 (Functions) of the tutorial pdf (linked in learn.md) references something that wasn't introduced before:

Named Functions Let's spin up our last system - hello-sys from the last part: (ql:quickload :hello-sys)

It looks like you have changed the order of part 3 (Packages and Systems) and 4 (Functions) from learn.md when you put them in the pdf tutorial.

rabbibotton commented 2 months ago

Got it. Will take a look first chance to fix it up.

On Tue, Oct 1, 2024, 1:28 PM chuchana @.***> wrote:

I came to report the same issue: part 3 (Functions) of the tutorial pdf https://rabbibotton.github.io/clog/cltt.pdf (linked in learn.md https://github.com/rabbibotton/clog/blob/main/LEARN.md) references something that wasn't introduced before:

Named Functions Let's spin up our last system - hello-sys from the last part: (ql:quickload :hello-sys)

It looks like you have changed the order of part 3 (Packages and Systems) and 4 (Functions) from learn.md when you put them in the pdf tutorial.

— Reply to this email directly, view it on GitHub https://github.com/rabbibotton/clog/issues/389#issuecomment-2386572225, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACYUEFJ6UJ3W6RHCJY5MW6DZZLLU7AVCNFSM6AAAAABOXMFI3KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGOBWGU3TEMRSGU . You are receiving this because you commented.Message ID: @.***>

chuchana commented 2 months ago

Great!

I'm not sure if this belongs here, but in the meantime I looked at the Packages section and stumbled on (ql:quickload :clog) in slime. I get this error:

attempt to redefine the STRUCTURE-OBJECT class SWANK::CONNECTION incompatibly with the current definition [Condition of type SIMPLE-ERROR]

This happens on the latest Windows 10 with freshly installed software following the guide.

Loading clog in sbcl works fine. Loading other systems in slime also works.

rabbibotton commented 2 months ago

It is an issue with two different versions of swank one in QuickLisp and one in UltraLisp. Edit .quicklisp/slimehelper.el modify mentions of QuickLisp with UltraLisp

On Wed, Oct 2, 2024, 11:55 AM chuchana @.***> wrote:

Great!

I'm not sure if this belongs here, but in the meantime I looked at the Packages section and stumbled on (ql:quickload :clog) in slime. I get this error:

attempt to redefine the STRUCTURE-OBJECT class SWANK::CONNECTION incompatibly with the current definition [Condition of type SIMPLE-ERROR]

This happens on the latest Windows 10 with freshly installed software following the guide https://github.com/rabbibotton/clog/blob/main/WINDOWS.md.

Loading clog in sbcl works fine. Loading other systems in slime also works.

— Reply to this email directly, view it on GitHub https://github.com/rabbibotton/clog/issues/389#issuecomment-2389032956, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACYUEFPDPWJO7RSO6QC4RUDZZQJOXAVCNFSM6AAAAABOXMFI3KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGOBZGAZTEOJVGY . You are receiving this because you commented.Message ID: @.***>

chuchana commented 1 month ago

Thanks again for the quick and helpful reply!

Emacs isn't able to access the dlls installed with git. Installing OpenSSL was quite straightforward, but I have no idea what to do with SQLite because the dll comes in an archive, not with an installer.

My workaround is running sbcl --eval '(ql:quickload "swank")' --eval '(swank:create-server)' in git bash and slime-connect in Emacs.

I'm fine with that, but I wanted to point out what's not directly usable from the tutorial in case others encounter the same problems.

I was about to ask if it would be of interest to you if I converted the google docs tutorials to org mode because I assume that would make it easier to contribute corrections/updates/improvements instead of asking you to manage all that, but I saw that there's already an open pull request by someone who started converting them to markdown.