freenode/#lisp - IRC Chatlog
Search
22:18:15
TMA
jmercouris: there are two hard problems in programming: naming things, cache invalidation and off-by-one errors
22:19:22
jmercouris
so many people misusing terms as well, that I'm not sure what the meaning of some words is anymore
22:19:45
TMA
(I have read that winsock.dll implements "bsd sockets" on windows but it does not implement AF_UNIX domain sockets at all)
22:19:47
jmercouris
if I can't get iolib to work, I'll have to settle for usocket, as much as I would like to not do that
22:22:56
jmercouris
rme: so you're thinking about putting in support for what precisely? unix domain sockets as an extension to CCL?
22:23:27
rme
If Windows ever supports the AF_UNIX address family, it would be good to add support for that. Windows already supports the AF_INET address family.
22:24:16
jmercouris
Josh_2: I'm interested in IPC, and yes, it is possible with usocket and those types of sockets, but I really don't like the idea
22:24:48
jmercouris
Josh_2: there is only one computer involved, and two processes are communicating via a special type of file
22:28:47
jmercouris
Josh_2: the Linux kernel, I don't know enough about it to say how it performs IPC
22:30:39
Josh_2
That's what it said no? " all communication occurs entirely within the operating system kernel."
22:31:52
Shinmera
jmercouris: When you say "sockets" the natural conclusion I come to is UDP/TCP sockets. Unix domain sockets are more special requirements.
22:32:21
jmercouris
Shinmera: Don't get me wrong, I'm not blaming you, I would have done the same, I just wanted to make sure there wasn't something I was missing
22:34:14
jmercouris
Josh_2: In a sense perhaps, as both processes are reading and writing to a file via sys calls
22:35:28
Josh_2
So I was saying wouldn't (if you used IPC) you have to use 3 different libraries or are there libraries already (I assume in C) that let you use IPC on windoge, mac os and linux
22:35:30
jmercouris
interesting, wonder what they mean by that, perhaps they mean that it is all facilitated by the kernel because of the reasons I said above
22:35:52
jmercouris
or maybe there is some special kernel facilities for domain sockets that I don't know about
22:36:26
jmercouris
Josh_2: there may be one library written in C with three implementation Linux, OSX, and Windows
22:37:58
Josh_2
Seems like a large amount of work when you could just put (let ((hostname "127.0.0.1)(port 45456))) :P
22:42:53
jmercouris
why all these weird libs? if I can't get unix domain sockets to work, I'll switch to "normal" ones
22:45:08
whoman
here is a blog post comparing windows and mac : http://blog.bfitz.us/?p=2252 -- seeing the mac ones with POSIX probably fine with linux as well.
22:46:07
whoman
...depending on use case of course. if low latency is required, the question of why the processes are seperate in the first place arises
22:47:23
jmercouris
whoman: It's definitely not an easy project, possibly a huge waste of time, but I think it's a good experience regardless
22:47:41
whoman
hmmm. i ran into that situation recently, (in concept), and decided to use ECL for the lisp and all is well
22:47:44
jmercouris
basically the lisp will be the core, and the other program, whether objective-c, c++, or c will be a "dumb" front end
22:49:08
jmercouris
I mean, it's most technically possible, but it adds lots of difficulties for nor eason
22:50:46
whoman
see now we are getting into some metaphysical existential parapsychology stuff ehh !
22:51:10
whoman
heh sorry i only assumed that your mention of cocoa means you will wrap lisp with UI
22:52:47
whoman
all you would have to do is run that, and just do lisp from there. you even got parenscript and cl-who for your user interface! oh well i tried ^_^
22:53:22
whoman
there was the deduction for solution, now its up to you to forge your own path my friend ~
22:58:34
jmercouris
well, as long as I use https://github.com/robbiehanson/CocoaAsyncSocket it'll be agnostic to whether I use unix domain sockets, or bsd style sockets
22:58:51
jmercouris
so I could start with an implementation that uses bsd style sockets, since that will be easier on the lisp side, and then try to develop some cffi bindings down the road
23:08:54
dmiles
ahah [13:54] <phoe> so if you specify STRUCTURE-OBJECT there, then you get an object without a defined type of its own.
23:10:10
jmercouris
fe[nl]ix: I'm not sure, that's just what my system tried to load when I typed in (ql:quickload "iolib")
23:14:13
jmercouris
fe[nl]ix: I got farther this time: https://gist.github.com/c3aba43f996369cec18bc317b6c7d035
23:14:38
jmercouris
seems to be just a deprecation warning, I wonder if I can adjust the flags passed to the compiler
23:15:14
jmercouris
also "lfp.h" not found, I wonder where that file even exists or what framework it is part of
0:49:04
smokeink
"How to get fontified, hyperlinked ANSI CL standard inside your GNU Emacs: http://users-phys.au.dk/harder/dpans.html" <- this link is dead, does anyone know a mirror ?
1:12:07
drmeister
Nested macros expand to the same result if you expand them outside in vs inside out - correct?
1:13:31
drmeister
I guess it's not necessarily true - because a macrofunction can do whatever it wants to the forms that it is passed
1:37:33
pfdietz
Right. Macro expansion is top-down, unless a macro dives in an manually macroexpands deep subforms first.
2:37:21
fouric
I'm trying to set up CI on GitLab. My project uses cl-sdl2. Running `~/.roswell/bin/run-prove monolith.asd monolith-test.asd` yields
2:37:23
fouric
Unhandled ASDF/FIND-COMPONENT:MISSING-COMPONENT in thread #<SB-THREAD:THREAD "main thread" RUNNING {10005585B3}>: Component "sdl2" not found
2:38:23
fouric
...I would provide more information, but there's so *much* of it that I don't know where to start.
2:42:52
fouric
...well, running run-prove multiple times eventually installs all of the systems and it succeeds...
9:30:14
aeth
Nothing stops you from making money with CL, you just have to do something where people don't care about the implementation language.
9:44:49
phoe
I'm slowly warming other people around me to the idea of including an ABCL in our product.
9:45:23
phoe
I am still curious how far I can push the environment of a JBoss with Java Enterprise from inside an ABCL image.
9:46:00
phoe
Right now they tolerate me writing and hacking Lisp in between work tasks, which is a step in a good direction.
9:48:24
phoe
I'm curious, because if I figure out a way to interactively call Java in a JEE environment, then I essentially get a REPL for free in our product.
9:49:32
phoe
It's a bit more complicated, because it's a cluster of several JBoss servers on different machines and not just a single JVM, but if I ever figure that out, then I'll essentially have material for a nice paper.
9:52:29
pjb
beach: http://dpnonline.com/employers/articles/job-descriptions-and-functions-butler-house-manager
9:59:21
pjb
I avoid orthographic correctors, because they usually get it wrong. Also, there are often multiple valid orthographs (eg. American English vs. British English or variants in French).
10:00:29
pjb
Oh, and also because their substitutions are often way worse than simple orthographic errors.