freenode/lisp - IRC Chatlog
Search
8:23:12
phoe
A daily reminder that the Lisp Guild exists and currently has four free tasks for volunteers (maybe you!) to pick up. If you want some working experience with real-life Lisp on well-defined tasks to be done, then https://github.com/Lisp-Guild/lisp-todo/projects/1 <- click here and grab one. If you want to post new tasks so you get them done and others get experience - you're free to join up as well.
8:33:16
beach
phoe: Actually, the Guild is a good TODO list, even if the same person who defined the task ultimately also ends up doing it.
11:41:52
varjag
i never use goto with state machines, but i guess that can be argued as personal preferences
11:44:44
shrdlu68
varjag: I'd like to see you implement section 2.2.1.1 of https://www.ietf.org/rfc/rfc2631.txt without using gotos or losing your mind.
11:45:19
ogamita
If you use Hoare's assertions, then you can use goto easily: just compute the right assertition at the jump points.
11:50:38
shrdlu68
I used goto and was done with it. For me, there was absolutely no reason against using goto in this case.
11:52:29
_death
apparently McCarthy also wrote a "considered harmful" article.. which is an amusing read
12:47:48
Xach
attila_lendvai: did dwim.hu have trouble earlier? i had trouble fetching from it about 4 hours ago, but things are better now
12:48:37
attila_lendvai
Xach: the lisp web service was not running for some reason. I just restarted it. thanks for the heads up!
15:53:42
francogrex
hi in slime, is it possible to find the source file of a function (within the context of a asdf library)? or do we lose the src when asdf loads compiled files?
15:59:17
beach
francogrex: I would think it depends on whether your implementation saved the source position in the fasl file.
16:10:08
jasom
PuercoPop: what I *can't* update is the github settings, so I can't put the manual in github pages (since that would require admin rights to the github repository)
16:35:40
jasom
emaczen: if you mean "cached downloaded source code" then that's in QUICKLISP-INSTALL-DIR/dists/quicklisp/softare (i.e. ~/quicklisp/dists/quicklisp/software by default)
16:37:19
emaczen
jasom: Thanks, I keep having issues with compiling a parenscript file in the source for some reason...
16:56:03
gigamonkey
Getting a weird warning from SBCL. Details here: http://paste.lisp.org/display/345140
17:05:21
gigamonkey
It's like it's looking at the code before macro expansion and complaining about it even though the macro is going to totally transform it.
17:11:03
Bike
that's pretty strange. and you transform it manually instead of using a macrolet or something?
17:15:42
Bike
hm... can't reproduce with a vastly simplified version. are you sure the function with two arguments is COUNTED?
17:19:40
gigamonkey
And COUNTED is the only function called in the exanded code unless I'm missing something.
17:41:32
phoe
So I'm running SBCL under Wine now with Quicklisp loaded, I'm downloading and compiling QTools.
18:53:28
phoe
UIOP:LAUNCH-PROGRAM on SBCL under Wine creates a process that would then normally spawn a window
19:22:35
borei
r can be vector object with 3 components, but it can be just x, y, z so method will be like
19:24:25
borei
i can introduce several generic functions to cover possible use-cases, but that solution is not lisp way
19:25:08
borei
i can introuduce (defgeneric move-to (atom &rest r) ... - but that solution is too open for potential problem
19:26:31
gigamonkey
Or are you hoping to distinguish between a vector r and your three loose arguments?
19:26:33
borei
attila_lendvai: that is good point and it leads to another question - when should i use generic functions or just functions
19:26:56
gigamonkey
Use GFs when you want convenient dispatching on the type(s) of one or more arguments.
19:28:12
borei
im comming up to that conclusion, but want to make sure if i missunderstood something, or don't see full functionality
19:28:12
attila_lendvai
borei: if it'll be an essential part of your code, i.e. used a lot, then you can even introduce a small macro based DSL
19:28:43
gigamonkey
SBCL hackers: that weird warning I mentioned earlier this morning seems to be contaminating things worse than I thought. If I build the system I get the warning and then if I run the code it complains about the wrong number of arguments being passed.
19:29:03
gigamonkey
But if I then go and recompile the file containing the DEFTERM form, the warning goes away and the code runs fine.