freenode/#lisp - IRC Chatlog
Search
9:01:33
smokeink
remix2000: https://letoverlambda.com/index.cl/guest/chap2.html "There are few good reasons to prefix your lambda forms with #' thanks to the lambda macro."
9:09:34
edgar-rft
What Doug Hoyte wants to point out is that ((lambda (x) (+ 1 x)) 2) works but (#'(lambda (x) (+ 1 x)) 2) signals an error.
9:13:52
remix2000
Ok, thanks :) For me it looks more obvious without that prefix. I was only curious whether it’s permitted by ANSI standard or is there some performance overhead.
9:30:53
Shinmera
XachX: Any news on when the next QL release cycle hits? I have quite a few things piled up now.
10:04:47
no-defun-allowed
if you do it you tend to mash different components together which often is a pain in the ass to look at later
10:06:04
smokeink
is there a portable way to catch simple-parse-error exceptions thrown by (parse-integer)? When I catch sb-int:simple-parse-error inside handler-case it says style warning Undefined function:; SB-INT:SIMPLE-PARSE-ERROR , but it seems to work just fine
10:08:15
White_Flame
smokeink: you probably have parens where you shouldn't, making an expression look like a function call
10:08:58
Shinmera
While you're at it you might also want to set the default-bindings to something like `((*standard-output* . ,*standard-output*) (*error-output* . ,*error-output*) (*trace-output* . ,*trace-output*) (*query-io* . ,*query-io*) ... etc)
10:09:53
Colleen
smokeink: Clhs: function parse-integer http://www.lispworks.com/documentation/HyperSpec/Body/f_parse_.htm
10:11:50
no-defun-allowed
my code scans a list for nodes it doesn't have and forks off to probe new ones
10:14:17
White_Flame
you could loop over the common-lisp package symbols, test which ones are special, and copy them all :-P
10:15:32
no-defun-allowed
[i much prefered `(bt:make-thread (lambda () ,@body))`](http://people.cs.uchicago.edu/~wiseman/humor/large-programs.html)
10:16:07
Shinmera
no-defun-allowed: Regarding your convention of writing URLs into chat, please note that parens are valid constituents of URL parts, so some chats might invalidly think the closing paren is part of the URL.
10:16:39
no-defun-allowed
that's fair but my matrix client hates me and puts gibberish on non-fancy markdown URLs
10:17:27
no-defun-allowed
see, it'll pop a %thing on the end here: http://people.cs.uchicago.edu/~wiseman/humor/large-programs.html
10:18:16
Shinmera
In Lisp graphics news, here's another short video of my clipmaps implementation. https://www.youtube.com/watch?v=dTRDlgw-C50
10:19:02
splittist
Shinmera: mmap looks great. Thanks for all your work! (The "No documentation provided." entry under the package name looks a bit out of place. It doesn't appear in your documentation for documentation-tools, for example. Which (doc...-tools) also looks very interesting.)
10:19:29
Shinmera
splittist: It appears because packages can have docstrings, but I usually don't provide them.
10:19:44
Shinmera
and the docs for documentation-utils were generated before Staple was fixed to do that.
10:22:06
Shinmera
It looks a bit cruddy right now due to low framerates and a bug in the terrain generator that makes the splatmaps too low res
10:26:47
Shinmera
When I booted it up today still FPS were ~50 while yesterday it was ~100. I don't remember changing anything so I don't know what's going on.
10:31:04
no-defun-allowed
i pushed the refactored stuff for cl-decentralise including a simple netsplit solution
10:34:46
no-defun-allowed
my cl-decentralise stress test gets only 20 synchronous ops/second, which i can't pin on any lisp functions
10:38:48
Colleen
Function socket-connect https://common-lisp.net/project/usocket/api-docs.shtml#socket-connect
10:39:02
Shinmera
There's a :nodelay option for client connections. Not sure about server connections.
10:55:27
flip214
there's no debian-stable or -security update yet, that might have come in automatically even
11:10:52
schjetne
Hmm, turns out SSL in CL wasn't trivial on any platform when you want fancy stuff like TLS 1.2
11:12:44
schjetne
I just needed to write a quick command line tool that should also work on Windows in the least painless way possible. It needs to talk HTTPS with TLS 1.2 and I'd figured I'd take the chance to sneak in some CL in the project
11:23:49
no-defun-allowed
You can't talk about Intel not being fast, they'll cease and desist you, flip214 and Shinmera!!
11:49:46
jdz
Does anybody know where's the source .org file Postmodern documentation is generated from?
12:26:22
schjetne
shrdlu68: I thought I might try seeing what version of OpenSSL CL+SSL links against and see if I can get it working that way. Or maybe just writing a script that calls cURL.
12:26:35
jdz
sabrac: I need (well, want) prepared statements to work after DB reconnect, and I have it working locally. But bits of documentation need to be updated.
12:56:20
AeroNotix
Shinmera: reason using the designer/ui files is that half of the application doesn't really need to be written.
12:58:30
AeroNotix
Exactly, that's what I want to do, write code, but relatively interesting code though. I find placing widgets/setting defaults etc is akin to writing html/css
12:59:11
AeroNotix
I'll have a play when I finish my current thing to pick up cluic again, clearly I didn't get very far.
13:00:06
AeroNotix
Shinmera: btw, when running commonqt code through slime if there's an exception in the Qt thread (it seems?) then I can't start an Qt application again in slime, needing a restart. I'm assuming there's some state left over somewhere that I need to clear.
13:00:37
Shinmera
If the exception happens outside of a slot or override then Qt slits its throat and it's game over.
14:37:30
jdz
sabrac: my changes to Postmodern currently live here: https://github.com/jdz/Postmodern/tree/local
16:12:01
random-nick
is there a standard function to determine if a character represents whitespace?
16:18:27
pjb
random-nick: there's only 1 standard whitespace character: #\space. There are a few semi-standard whitespace characters such as #\tab and #\page. But it's an application domain question whether #\return #\backspace and #\newline should be considered whitespaces or not.
16:19:38
pjb
Even while unicode specifies a whitespace character class, it's still application dependent what character should be considered whitespace!
16:24:11
fouric
is there a pattern to which quicklisp releases have system names prefixed with "cl-" and which do not?
16:25:13
Shinmera
A sub-pattern of that is: the library is a re-implementation or binding library to another, already existing algorithm/system/library
16:51:11
flip214
which might not even that bad an idea -- at least looking for "cl-matlab" gives better matches than simply googling "matlab" ...
17:00:55
Shinmera
if you're looking for cl systems you should just browse quickdocs or ql:system-apropos anyway
19:07:08
stacksmith
Good morning! Is anyone else here concerned with github being owned by msft? I am considering moving my repose elsewhere...
19:19:10
White_Flame
certainly there was a sizeable exodus of people away from GH right after the announcement
19:28:11
AeroNotix
if you're so entrenched in github that microsoft taking it over is a problem. Did you ever really give a shit about the underlying reasons to be bothered by microsoft taking GH over?
19:38:05
flip214
v0|d: Microsoft isn't known for making bought software better, so one possible fear is that GH will slowly detoriate and so another hosting must be chosen at some time.
19:50:11
aeth
The main alternative, Gitlab, is perfectly fine as far as software goes, but is not a social network like Github. Very quiet.
19:50:58
drmeister
Hi lispers - does the CLHS say anywhere that structs are not allowed to be redefined?
20:12:56
Shinmera
They'd be in QL too if the loading behaviour wasn't disagreeable with QL's requirements :/
20:15:13
jasom
Shinmera: I just found it slightly humorous that you recommended searching QL to find things, when Radiance is the first thing I think of for a useful package not in QL.
20:44:53
nikki93
hey all -- i just installed quicklisp and moved the ~/quicklisp directory to be ~/.quicklisp instead because i like it not showing up in my usual ~ directory listing and updated .sbclrc accordingly
20:45:27
nikki93
now i was wondering about the ql:*local-project-directories* thing -- do you usually set that in your .sbclrc too? and is it ok if that directory has non-lisp projects too? I like putting all of my projects as directories in ~/Development, whatever language they use
20:46:56
pjb
stacksmith: I've always been concerned by github being a commercial operation (.com). This is why I have my own git repository. And then I used gitorious.org ; but gitorious.org, begin not a commercial operation had financial problems. Finally they've been rescued by gitlab.com a commercial operation (but European based instead of US, so closer to heart).
20:47:19
pjb
stacksmith: there's also framasoft.org, which is non-commercial and even closer (French).
20:48:06
Shinmera
nikki93: That's an easy way, sure. You could also symlink the default local-projects directory.
20:48:21
pjb
stacksmith: and for enterprise git, I set up my own gitlab on enterprise owned servers.
20:48:28
Shinmera
nikki93: The latter has the advantage that it'll work with all implementations immediately, whereas otherwise you need to add the line to each init file.
20:50:05
stacksmith
pjb: much appreciated. I actually started moving things to gitlab.com. While commercial, at least gitlab not invested in sinking open-source.
20:50:54
stacksmith
pjb: and all the evil ones put together does not even begin to approach Google...
20:52:04
stacksmith
Shinmera: true enough, although the subject of where to keep source is on-topic.