freenode/#lisp - IRC Chatlog
Search
16:59:11
beach
Thanks. Yes, I have made my decision. I studies CPS in depth in my youth, when I was working with Scheme, partial evaluation, etc.
17:03:25
beach
dim: Anyway, it is off topic, and if you don't know much about compiler technology, I won't elaborate.
17:05:29
beach
I could explain it to you in #sicl, but not today. It is Friday evening and I have had a long day and a long week.
17:15:02
jcowan
I don't find it so, at least not since age ten or thereabouts. A year is still a very, very long time, taken a day at a time as I do.
17:18:24
beach
Bah, think about the poor people wasting their time on using programming languages that are way less productive than Common Lisp. We are relatively lucky.
17:22:51
jackdaniel
extrapolating, given there is a programming language way more productive than common lisp we don't appreciate enough, we are the poor people ourself?
17:24:05
jackdaniel
being poor is a state of mind, I don't consider myself being poor even if there are more productive languages
17:25:02
jackdaniel
(likewise I don't find people finding joy in writing in python being poorer than me, maybe having a little worse taste)
17:28:04
jcowan
"Oh, I just root for all the teams. I guess you could call me an athletic supporter."
17:29:35
shka_
jcowan: though competition has more value then just letting your favorite team win ;-)
19:50:09
jmercouris
so how do I know what kind of strings exists? is there like #+drawin-p? or something?
19:50:09
elderK
Guys, is there a way to set the same default value for an optional parameter to a generic function, like, for all methods?
19:51:57
elderK
pfdietz: I was thinking of using an around method for assertions, like, checking that the parameters are of the right types.
19:54:16
jackdaniel
trivial-features provides uniform symbols in cl:*features* for certain features across implementations
19:54:49
jmercouris
okay, sorry, yes when I said strings, I meant the strings the symbols evaluate to
19:55:36
jmercouris
I am trying to say #+darwin, or #+unix, those macros, the sequence of characters, who defined them, that was my question
19:56:28
jackdaniel
if foo (by default in keyword package unless you provide package accessor) is in cl:*features*, then #+foo form will read form, and #-foo form won't read it. if foo is not there, then #+ foo form will not read it (etc)
19:56:34
jmercouris
and trivial-features generalizes that, and I believe, UIOP uses trivial features based on reader-macros I've seen people writing with it
19:57:03
jackdaniel
uiop is in "depend on me, I'll reimplement everything" camp, so I doubt it depends on trivial-features
19:57:51
Bike
trivial-features just makes sure that on an implementation that puts :macosx or something in *features*, instead of :darwin, :darwin is also there.
19:58:22
jmercouris
but how could I use that in asdf file? wouldn't I first have to load trivial-features?
19:58:55
jackdaniel
if you have trivial-features in this list, then asdf will load trivial-features and then reload your asd file
19:59:32
jmercouris
I assume it is just :system-depends-on (:trivial-features) within the defsystem form?
20:04:55
jmercouris
I don't understand the manual: https://common-lisp.net/project/asdf/asdf.html#index-system_002ddepends_002don
20:07:23
jackdaniel
If you need non-standard character encodings for your source code, use the extension system asdf-encodings, by specifying :defsystem-depends-on ("asdf-encodings") in your defsystem. This extension system will register support for more encodings using the *encoding-external-format-hook* facility, so .. etc
20:10:56
jackdaniel
https://common-lisp.net/project/asdf/asdf.html#index-_003aif_002dfeature-component-option
20:11:29
jackdaniel
in firefox it is Ctrl-f for free text search, that may prove useful in this manual
20:45:24
dim
ahah, I had forgotten that it's easy to start a swank server in an already running lisp, such as Clozure-CL, so that I can still hack using CCL in SLIME ;-)
20:45:56
dim
(because ccl is currently broken in macos and I have a test version that works but only in packaged/gui mode, for reasons)
20:47:27
pjb
dim: really, if you recompile it following the procedure, it currently works on mojave.
20:47:58
dim
aeth: I did at times, but it's frustrating, because some operations need to files to exist in the remote server and be in sync
20:48:59
dim
I guess I should use the GUI version to compile to the full distribution then, too. Or maybe brew install --head works?
21:15:41
dim
ok I made a local fork of the brew formula for ccl, using url "https://github.com/Clozure/ccl/releases/download/v1.12-dev.1/darwinx86.tar.gz" sha256 "c4dda85210a6d09301d0e4691c65a41824126096eb36b9c9fa40a16d72ae22ce", and it seems to be working its magic
21:21:05
dim
and I could verify that my src/save.lisp code works with CCL too, not only SBCL, so I'm happy
22:54:46
no-defun-allowed
i'd like a "lazy" class which only does some computation when values are requested from it, but this lazy class could become one of several classes and to preserve the illusion it is an instance of that class making it typep to the class would be nice
22:55:16
no-defun-allowed
the alternative is to write a lazy class for each target, but it'd be quite verbose
22:58:46
no-defun-allowed
then again dispatch would be screwy if you could, so yeah the verbose solution would be better
4:13:20
margaritamike
Anyone feel like bribing the owners of Timus online judge, Kattis online judge, or Codeforces to include SBCL in their list of supported languages? :p
4:13:55
margaritamike
I wonder, really though, what it would take to get languages support added to one of those sites.