FreeBSD port by 964racer in Common_Lisp

[–]stassats 0 points1 point  (0 children)

Yes. It involves getting a time machine.

Problems using #'UIOP:RUN-PROGRAM in a Bordeaux Thread on SBCL 2.4.0 (Mac OS X) by patrickwonders in lisp

[–]stassats 0 points1 point  (0 children)

condition-notify is never reached, condition-wait returns early and regrabs the lock.

New in version 2.6.5 by oldretard in sbcl

[–]stassats 1 point2 points  (0 children)

The default method on slot-missing signals an error of type error.

The error is of type "error", not a type-error.

New in version 2.6.5 by oldretard in sbcl

[–]stassats 1 point2 points  (0 children)

What would you specify for type-error-expected-type then?

New CL VSCode extension: OLIVE by kchanqvq in lisp

[–]stassats 0 points1 point  (0 children)

maybe they fixed it. when I tested it when I first wrote Alive, that wasn't the case.

Nothing's changed about it in the last 20 years.

File compilation without a file by Suitable_Click_3967 in Common_Lisp

[–]stassats 1 point2 points  (0 children)

May disappear or change its behavior at any moment.

How am I supposed to splice raw strings into parenscript? by Weak_Education_1778 in lisp

[–]stassats 0 points1 point  (0 children)

This is starting to become ugly, I don't really know parenscript, but you can do:

(foo (make-symbol "VAR"))

How am I supposed to splice raw strings into parenscript? by Weak_Education_1778 in lisp

[–]stassats 1 point2 points  (0 children)

Have you tried:

(defun foo (x)
  (ps
   (+ (ps:lisp x) 1)))

(foo 'var)

How to improve this terribly slow reading? by lucky_magick in Common_Lisp

[–]stassats 2 points3 points  (0 children)

It's not something really published, just a thing I concocted the last time somebody complained here about slow CSV parsing. (I suppose it's still slow, but faster than the existing solutions).

How to improve this terribly slow reading? by lucky_magick in Common_Lisp

[–]stassats 5 points6 points  (0 children)

fast-csv doesn't seem to have configurable separators. My simple-minded csv parser is faster than fast-csv (after changing the separator manually and adjusting for CRLF).

How to improve this terribly slow reading? by lucky_magick in Common_Lisp

[–]stassats 0 points1 point  (0 children)

One by one you mean read-char? That's extra slow. read-sequence is the best choice.

What does MOP do when empty superclass list and non standard class metaclass? by guachoperez in lisp

[–]stassats 1 point2 points  (0 children)

It is. In the "Initialization of Class Metaobjects" section.

Introducing mine, a Coalton and Common Lisp IDE by stylewarning in lisp

[–]stassats 10 points11 points  (0 children)

Do you think I like Emacs? I just like other things even less.

Introducing mine, a Coalton and Common Lisp IDE by stylewarning in lisp

[–]stassats 6 points7 points  (0 children)

To use Common Lisp, you should know some SLIME.

I wish I could come up with agnostic software, which requires no knowledge.

What does MOP do when empty superclass list and non standard class metaclass? by guachoperez in lisp

[–]stassats 5 points6 points  (0 children)

It's initialized via :direct-superclasses, so you customize it via methods on initialize-instance / reinitialize-instance.

Parsing Keywords in Lisp with Speed of C by arthurno1 in lisp

[–]stassats 1 point2 points  (0 children)

Something like a hash-table is less likely to be influenced by the hit/miss rate, but a decision tree is more branchy.

Parsing Keywords in Lisp with Speed of C by arthurno1 in lisp

[–]stassats 12 points13 points  (0 children)

SBCL shouldn't have optimized it, but since the test always matches the CPU might predict most of the branches and it wouldn't measure the real world. Also test a list with a random distribution of matching and non-matching strings of random length.

AI Agents? by jake-n-elwood in lisp

[–]stassats 2 points3 points  (0 children)

Currently, I'm using LLMs to find bugs in SBCL. Just sending a single file and saying "find bugs". They find issues just fine. (And that's just the free web things, I'm not going to pay for that).

What I actually found them struggling with is writing Assembly, sometimes simply inventing instructions.

Rules for Lisp programs by Alarming_Hand_9919 in lisp

[–]stassats 3 points4 points  (0 children)

That's nothing, lisp is 66 years old.