Phew, I had to backtrack to Dynamic Windows documentation to understand the operator specified in CLIM II (because the specification was botched).
Notices by Daniel Kochmański (jackdaniel@functional.cafe)
-
Embed this notice
Daniel Kochmański (jackdaniel@functional.cafe)'s status on Monday, 27-Jan-2025 20:24:41 JST Daniel Kochmański -
Embed this notice
Daniel Kochmański (jackdaniel@functional.cafe)'s status on Monday, 13-Jan-2025 18:44:09 JST Daniel Kochmański @mapcar @nsrahmad @simon_brooke @praetor
Common Lisp certainly has numerous warts -- think that it is unavoidable at certain size. That said I think that it is a very practical language -- not in a sense that it is packed with features, but because these features are orthogonal and useful.
This and the fact, that the language does not impose opinions on how your program should be designed, is a quality rarely found on languages that know the one true way of programming.
-
Embed this notice
Daniel Kochmański (jackdaniel@functional.cafe)'s status on Wednesday, 25-Dec-2024 06:59:21 JST Daniel Kochmański I've looked into it and was surprised at first, because it works here (tm). Then I've tried the older version in Quicklisp and I could reproduce the issue!
In other words the issue was there, and it was fixed. I don't recall what was it and I think that at this point bisecting /when/ it was fixed doesn't make much sense.
A remedy: clone McCLIM from the branch master to ~/quicklisp/local-projects and try again. Happy hacking!
-
Embed this notice
Daniel Kochmański (jackdaniel@functional.cafe)'s status on Friday, 13-Dec-2024 17:54:06 JST Daniel Kochmański CLIM features graphical output records that are drawn at fixed positions, and records that are put on the text line.
If you want to adjust the cursor position, then (setf (stream-cursor-position stream) (values cx cy))
Note that you can draw on the text line when you use with-output-to-graphics, then the drawn graphics will be placed on the text line.
-
Embed this notice
Daniel Kochmański (jackdaniel@functional.cafe)'s status on Monday, 09-Dec-2024 10:59:04 JST Daniel Kochmański -
Embed this notice
Daniel Kochmański (jackdaniel@functional.cafe)'s status on Monday, 09-Dec-2024 05:19:54 JST Daniel Kochmański @screwtape the interface waits for well deserved refactor (see for accepting-value tickets on the repo). If you have certain requests about changes then the tracker is the right place to discuss it.
Thanks for the link!
-
Embed this notice
Daniel Kochmański (jackdaniel@functional.cafe)'s status on Sunday, 08-Dec-2024 18:30:54 JST Daniel Kochmański @screwtape is there a recording of your presentation available?
-
Embed this notice
Daniel Kochmański (jackdaniel@functional.cafe)'s status on Sunday, 08-Dec-2024 17:28:37 JST Daniel Kochmański @mdhughes @screwtape generally accepting-values is ran on behalf of a frame, so running it from execute frame command is correct (note that execute-frame-command *is* thread safe).
Re starting a frame in a background, you may wrap run-application-frame in make-thread, or use find-application-frame.
Note that soon (before christmas?) I'm merging a branch that adds thread-safe drawing and a repaint queue that speeds things up a lot and enables animations.
-
Embed this notice
Daniel Kochmański (jackdaniel@functional.cafe)'s status on Sunday, 08-Dec-2024 06:34:58 JST Daniel Kochmański @amoroso well, that would be destructive uncommon lisp then!
-
Embed this notice
Daniel Kochmański (jackdaniel@functional.cafe)'s status on Sunday, 08-Dec-2024 06:34:58 JST Daniel Kochmański @amoroso no, if it is not uncommon lisp, then it is common lisp, or at least something semantically compatible with it, isn't that right?
that's just one of ideas I'm playing right now when reworking parts of ECL -- Common Lisp without "Standard Library".
-
Embed this notice
Daniel Kochmański (jackdaniel@functional.cafe)'s status on Sunday, 08-Dec-2024 06:01:00 JST Daniel Kochmański UCL - UnCommon Lisp
NUCL - Not UnCommon LispNaming is the hardest problem in computing, but I'm pretty happy with these goofs!
-
Embed this notice
Daniel Kochmański (jackdaniel@functional.cafe)'s status on Wednesday, 27-Nov-2024 01:10:23 JST Daniel Kochmański I've send my application to NGI Zero for improving #ecl.
The goal is to create a comfortable environment for using Common #Lisp in a browser along with a JS bridge to:
a) use Common Lisp from a comfortable IDE in a browser
b) write web applications using Common Lisp (think <script type='cl'> ... </script>)
Keep your fingers crossed :)
-
Embed this notice
Daniel Kochmański (jackdaniel@functional.cafe)'s status on Wednesday, 20-Nov-2024 17:55:41 JST Daniel Kochmański I'm working on a proposal to @nlnet to improve ECL in the browser. Keep your fingers crossed!
-
Embed this notice
Daniel Kochmański (jackdaniel@functional.cafe)'s status on Saturday, 16-Nov-2024 16:19:35 JST Daniel Kochmański @dougmerritt @screwtape technically common lisp has both unnamed and keyword arguments, although the latter can't be specialized in standard generic functions.
There's also that many editors provide the function signature as a hint when you edit a function invocation; I don't know how this would work like with messages though.
-
Embed this notice
Daniel Kochmański (jackdaniel@functional.cafe)'s status on Thursday, 07-Nov-2024 19:22:36 JST Daniel Kochmański This branch is not fast; I've split recent works into two branches -- first thread safety, then repaint queue - because each feature is pretty independent.
FPS-wise untangling recording from drawing gives fps that goes easily above 4000fps (but it is throttled to go at 60fps); although recording technically may not keep up with this.
-
Embed this notice
Daniel Kochmański (jackdaniel@functional.cafe)'s status on Thursday, 07-Nov-2024 18:59:26 JST Daniel Kochmański I'm working now on concurrent drawing from multiple threads. #lisp #mcclim
The color "leakage" is a sign of an issue that has not been addressed yet, the important part is that rectangles are drawn at correct coordinates and that the output does not get corrupted.
-
Embed this notice
Daniel Kochmański (jackdaniel@functional.cafe)'s status on Monday, 27-May-2024 00:37:11 JST Daniel Kochmański @alexshendi @screwtape @cwebber @dthompson @technomancy @gramian
(With-output-to-drawing-stream (s nil nil)
(Draw-circle* s 50 50 25))Voila. Assuming wish is already game over portability wise.
-
Embed this notice
Daniel Kochmański (jackdaniel@functional.cafe)'s status on Sunday, 07-Jan-2024 18:02:33 JST Daniel Kochmański @screwtape @lispm @nytpu @lispi314 @zoerhoff @mapcar
Regarding friendly commentary - they cosponsor european lisp symposium and donate to common lisp foundation, they do innovate and evolve by providing new software products and, I think, they are only vendor capable of providing enterprise support for big clients. From Lisp viability perspective they do good fo CL, even if their offer to individual devs is not good.