freenode/#lisp - IRC Chatlog
Search
1:56:32
Xach
It has some problems. I wish the multiplatform support was better. I have a plan to improve it but not the time.
1:56:57
jmercouris
every company says "we care about open source" but I've not seen a dollar of their investment into it
1:57:38
jmercouris
I wish I could support the community more, monetarily at least, the skills I don't have
1:59:10
jmercouris
I'll just throw this out there in general, if anyone in this community needs someone to talk to, I'm always happy to listen
2:07:06
aeth
jmercouris: Software companies should require that any hours of developer work beyond 30 in a week go to open source projects. This could help prevent burnout. (This could include Creative Commons and cover some non-programming roles, too.)
2:07:57
jmercouris
I'm hoping that nEXT can one day be an open source company that actually gives back to the community
2:08:26
aeth
jmercouris: Then you can comply with my proposed rule while overworking your developers with 90 hour weeks! Perfect!
2:09:24
jmercouris
full time work as a professional engineer + 2x as many classes as a normal student + moving to a new country + research publications simultaneously + many family health issues = not a good time
2:10:16
jmercouris
and I hope to help others as well, I want everyone to just feel happy, and safe, and relaxed
3:10:58
jmercouris
Xach: Might I suggest in the build script not requiring a bin directory for buildapp
3:11:13
jmercouris
I keep having to make a /my/path/bin, then moving buildapp out of there to /my/path
5:22:26
jmercouris
but if I write instead (defun print-something () (print *some-parameter*)) it will print the value of that parameter
5:22:37
jmercouris
here's the tricky thing though, (get-value) just returns the value of that parameter
5:23:49
jmercouris
I figured it was some strange closure optimization, but it could be a stupid issue
6:31:46
whoman
if you do not know what something is, how are you going to use it to help you <x> better ?
7:43:02
dmiles
I wanted to confirm that this is not some syntax that is used by any lisp other than EusLisp right? https://github.com/euslisp/EusLisp/blob/master/lisp/l/hashtab.l#L28-L141
9:00:28
pjb
dmiles: it's very hard to confirm such a thing. The probability that someone derived such a defmethod macro in a variant of eulisp or some other lisp or scheme is very high.
9:01:47
dmiles
well i was asking in order to figure out if there was some older type type or a special stylized non standard defmethod syntax i had not seen
9:03:46
dmiles
since of course people very rarely use defclass to define builtin classes.. except me and say EusLisp etc
9:04:53
dmiles
I was searching a few impls to see who defclassed hash-table that is.. and found EusLisp
9:06:17
pjb
dmiles: again, it is most probablye there are other macro with different syntaxes used to define classes and methods out there. There are more OO systems than programming languages…
9:07:11
pjb
dmiles: basically, take a scheme teacher and 100 or 200 students, and you get 200 different OO systems.
9:09:07
beach
dmiles: You can count on SICL using DEFCLASS to define the HASH-TABLE class, as well as the classes for SYMBOL, PACKAGE, etc.
9:14:23
dmiles
beach, right on, oh i now i see why i missed it on my last grep over impls.. it used defstruct.. (defstruct is just fine(
9:15:55
beach
I keep forgetting about DEFSTRUCT since I have absolutely no intention of using it in SICL code. :)
9:16:32
beach
And even if I *did* use it, it would have the absolute same representation as if I had used DEFCLASS.
9:17:45
dmiles
yeah in my impl DEFSTRUCT and DEFCLASS become the same representation .. jsut with DEFSTRUCT i create extra support of slot numbers
9:42:18
dmiles
rather than doing what i and many others do.. chekcing for environmental overrides and then going to symbol
10:07:32
beach
In fact, I save some space that way, because very few symbols will have a non-empty property list, so no need to represent them in the environment. In a typical implementation, this cell is allocated in every symbol, whether needed or not.
10:08:12
beach
The same thing goes for the function cell, the value cell, etc. In SICL, a symbol has only a NAME and a PACKAGE.
10:10:08
beach
I can even imagine some implementations having two function cells in every symbol, one for the name itself and one for (SETF <name>).
10:10:58
beach
Worse (in terms of maintainability), some implementations have a function cell for the name itself, but store the SETF name somewhere else.
11:16:01
sirkmatija
Hello, I am building a small web game and I am wondering how to serve a file (not a string) by ningle. Thanks for your help.
11:21:23
sirkmatija
I tried reading file into string and then serving it, but then it doesn't find js script file, even if I provide full (not relative) path
11:58:48
pjb
sirkmatija: I have no idea, but I guess it would involve reading ningle documentation…
12:17:33
JuanDaugherty
sirkmatija, y u gotta use that no name thing when everybody wants you to use the lisp majors (hunchentoot, etc)?
12:28:36
jackdaniel
if you are more interested in shipping whole directory of files consider using (:static :path "/public/" :root #P"/my/dir/") as parameter to lack:builder (instead of just making ningle:<app> instance)
12:33:36
sirkmatija
thank you, it serves the file now, but the script isn't found - when i inspect source it say URL /script.js was not found on this server.
12:34:35
jackdaniel
are you sure it is under /script.js ? not for instance my-host:8080/my-app/script.js ?
12:35:40
jackdaniel
computers are not magic, usually they do exactly what you tell them to do (and when they *do* magic for you, then it is usually a game over [opinionated])
12:36:38
sirkmatija
I thought I don't have to serve the files separately if they are in same dir, a stupid mistake
13:10:37
Shinmera
Just a quick announcement, the emacs package to interact with plaster.tymoon.eu is now on Melpa: https://melpa.org/#/plaster