freenode/#lisp - IRC Chatlog
Search
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 ?
7:54:38
Shinmera
Statistically, compared to the things I haven't written yet, I have not written anything at all :)
7:56:52
aeth
Shinmera: did you write an infix library? it would be interesting to compare the various solutions people have for implementing one
7:58:24
aeth
I have no use for infix, but I got distracted by it because I think there can be some elegant solutions there.
8:00:38
aeth
I made a solution that at the moment is only designed to work with binary operators with no precedence rules (it's an error to write 1 + 2 - 3 because there's no precedence). https://gitlab.com/snippets/1747132
8:04:20
Shinmera
I mean if all you're interested in is the parser logic, here you go I guess https://github.com/Shirakumo/glsl-toolkit/blob/master/grammar.lisp#L176-L238
8:10:21
Shinmera
Hopefully at some point I can convince Baggers to make Varjo output to glsl-toolkit's AST so that the two can be combined easily.
8:13:31
aeth
The other GLSL generators' goals are actually to make it interchangeable with CL for easy refactoring afaik.
8:16:58
aeth
I can definitely see why Varjo's integration with a math library has it's users, though.
8:38:47
Ober
ACTION images ELS to be the same crowd of folks who would rush to greet an Alien saucer landing.
8:40:35
aeth
Ober: It's unlikely that an alien visitor to Earth would still be biological, so of course everyone would want to know what their source code looks like.