freenode/#lisp - IRC Chatlog
Search
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.
21:04:03
defaultxr
does anyone know if there is some way to get output sent to the slime-repl buffer from a command run via uiop:run-program in real-time, as it's printed by the command? i wrote a basic shell script to test that just does 'echo hi' and then 'sleep 10', and while i see 'hi' right away when i run it from the command line, if i run (uiop:run-program "/path/to/test.sh" :output *standard-output*) in my lisp, i only
21:04:04
defaultxr
see 'hi' after the script exits, after the 'sleep 20' finishes. using SBCL 1.4.10, Emacs 26.1, Swank from Quicklisp, Slime from MELPA. already tried using (finish-output) in case that would have any effect but it doesn't seem to.
21:04:43
Colleen
defaultxr: About simple-inferiors https://shinmera.github.io/simple-inferiors#about_simple-inferiors
21:08:15
defaultxr
trying this, but unfortunately it has the same issue... running (simple-inferiors:run "/path/to/test.sh" :output t) and i don't get the output until the script finishes
21:08:24
pjb
stacksmith: there's of course https://gitlab.common-lisp.net/explore/projects?sort=latest_activity_desc
21:09:57
pjb
stacksmith: but of course, the question is that any of those repositories may fail or be bought by evil companies. The only solution is to clone your repositories on all of them…
21:10:44
Shinmera
defaultxr: also, are you sure you pasted the right example? There's a second required argument to the function...
21:11:34
stacksmith
pjb: I am not entirely paranoid yet - just don't want to waste time, support evil or eat animals, whenever possible.
21:12:53
pjb
stacksmith: it's not being paranoid. common-lisp.net has already been done. gitorius.org has been bought by gitlab.com, and github.com has been bought by microsoft.
21:13:52
pjb
stacksmith: so it WILL occur again, so you better clone your repositories. It's easy to push on all of them at once. cf. eg. https://github.com/informatimago/bin/blob/master/git-groups
21:14:49
pjb
even github.com has already been down, several time (or if not specifically done, at least unaccessible for 24 hours from certain parts of the network).
21:14:56
Shinmera
Also useful: updating all git repositories in a directory with this Lisp snippet. http://plaster.tymoon.eu/view/650
21:15:52
pjb
It was a DNS problem IIRC. Perhaps it was common-lisp.org and it became common-lisp.net ?