mastodon.ie is one of the many independent Mastodon servers you can use to participate in the fediverse.
Irish Mastodon - run from Ireland, we welcome all who respect the community rules and members.

Administered by:

Server stats:

1.6K
active users

#lispworks

0 posts0 participants0 posts today

Started to work on a label-pane "widget" for LispWorks, text pane with support for minimal html-like markup. Inspired by Qt's QLabel. So far looks good. I got a strange alignment of letters with smaller font sizes on Windows, but looks ok in Linux LW. No extra dependencies, just LW. Lists etc still not implemented but basic formatting is in place:
codeberg.org/fourier/lw-rich-t

Codeberg.orglw-rich-textA set of LispWorks panes with support for HTML-like markup.

Питер Норвиг: автор лучшего в мире учебника по ИИ

Питер Норвиг (Peter Norvig) — выдающийся учёный, один из отцов современной ИИ-разработки. После сингулярности ИИ точно оставит его в живых в знак благодарности. Норвиг не только хороший программист, но и теоретик программирования, учёный и преподаватель, в длинном резюме перечислено 58 статей, а количество цитирований на сегодняшний день составляет 78 830 . Основное признание Норвиг получил как автор учебника «Искусственный интеллект: современный подход» , который в наше время считается самым популярным учебником по ИИ в вузах. Эта фундаментальная работа претерпела уже четыре переиздания.

habr.com/ru/companies/ruvds/ar

#ruvds_статьи #Питер_Норвиг #фильм_Сеть #учебник #ИИ #вузы #JScheme #Scheme #Java #Prolog #Lisp #Franz #LispWorks #парсер_натуральных_языков #Cyc #НАСА #Deep_Space 1 #Remote_Agent #самовосстановление

ХабрПитер Норвиг: автор лучшего в мире учебника по ИИПитер Норвиг (Peter Norvig) — выдающийся учёный, один из отцов современной ИИ-разработки. После сингулярности ИИ точно оставит его в живых в знак благодарности. Норвиг не только хороший программист,...

@louis I’m always conflicted about #LispWorks. They have some fantastic affordances but the Hobbyist license fees are higher than most “professional” tools. Certainly more than I can justify for my scale of projects just to not have them time out. And multiply by not running the same platform on my laptop as on the server in my closet.

To be clear, I’m not saying it’s /wrong/ per se; the economics are what they are. Just sad that it prices me out.

I'm attempting to use the Remote Debugging capabilities of #lispworks but I never manage to connect. Does anyone have any experience with this?

I have a very simple application based on the examples/delivery/hello example. In the delivery script I (require "remote-debugging-client") and then run (dbg:start-client-remote-debugging-server). Once it's running (and I know it has started), I run (dbg:ide-connect-remote-debugging "localhost"), but it times out after a while with Failed to get remote version for connection "localhost" - 6 [Maybe the other side is not a Remote Debugging Client]

Any ideas?

@louis @offset___cyan Any reason why you don't use #LispWorks for the server? I've been evaluating LispWorks for the past couple of weeks, particularly because of the ability to output tree-shaken compiled self-contained builds (I had a lot of problems with save-lisp-and-die in SBCL, particularly because the GLIB version and SBCL version have to match exactly). Do you usually just recompile when you deploy to the server?

Although now that I think about it, maybe with #nix that is something that I can solve.

Love LispWorks and CAPI. In just several hours implemented a simple browser of the collection of FB2 books extracting data from database with simple queries (db is sqlite db created separately but within the same project).
CAPI is rather limited in its functionality but if you just stick to what it has it still allows you to do simple and efficient interfaces.

helm-git-grep-at-point in LispWorks.

One of my favorite commands in Emacs is helm-git-grep-at-point. I use it to navigate project all the time.
A similar simple command would enhance the LispWorks editor experience a lot, so I just wrote a simple function to simulate it using build-in "Search Files..." tool.

I assume the project is a git repo, and therefore just need to get the topmost directory where the .git directory is located an assume it as a project root. Using Editor sources (included in paid licenses for LW) one could find a way to call "Search files" tool.

So here you go, a couple of functions to do exactly that

pastebin.com/K7v9gELL

You can bind this command i.e like this:

```
;; Search current symbol in project, a-la Emacs helm-git-grep-at-point
(editor:bind-key "Search In Project" "Control-p" :mode "Lisp")
```

PastebinSearch In Project LW Editor Command - Pastebin.comPastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.

@galdor #commonlisp #lisp that's not bad! I was experimenting with creating a command line #LispWorks app (Linux / ARM64). App starts empty at 8MB (no compression, but fully tree-shaken). Using AOC 2023 day 5 code (partially tree-shaken) gets me to 13MB. The executable is generated in ~ 1 second. Runtime is < 0.02 secs on an Apple M2 Pro CPU.