freenode/#lisp - IRC Chatlog
Search
14:58:05
phoe
making user-implementable special operators would require that the users now have access to implementation internals and details and can essentially change their implementation at will.
14:58:42
phoe
you can think of special operators as a special kind of macros that you are unable to expand because their expansion and therefore internals are hidden from the user.
15:15:29
jeosol
when you run on SBCL on terminal (i.e.., sbcl --dynamic-space-size xxx), and your application writes lots of output to terminal, can this make it freeze or it is due to something else. FYI, my program typically can run for several days
15:23:18
shrdlu68
jeosol: Writing a lot of output to stdout/stderr is not a necessary/sufficient condition for a program to freeze.
15:24:17
jeosol
shrdlu68: thanks for that. I checked two cases I was running on a local box. one froze, the other didn't.
15:24:45
jeosol
So I just checked. So I can rule that out. Those outputs help me know things are going ok. Thx
15:43:05
pelle
hi, i'm trying to install Quicklisp in SBCL, but it gives me this error: Don't know how to REQUIRE SB-BSD-SOCKETS.
15:45:13
phoe
to me, it seems that you got a SBCL that was built without --fancy, and therefore without BSD socket support.
15:46:47
pelle
Well.. ok, another problem. In Clisp, Quicklisp *does* install, but McClim fails with this error (but maybe that's for the #clim channel): SYSTEM::%FIND-PACKAGE: There is no package with name "ASDF-USER"
15:46:52
phoe
pelle: please do. Building a distro-wide SBCL without contribs sounds like a big mistake.
15:48:25
pelle
@phoe: i had some problems installing debian/ubuntu/... but alpine linux happened to work. weird laptop. but alpine linux uses musl instead of glibc
15:48:50
jeosol
I am running on xterm. Not sure what they other one freeze, might be better logging to some where else, a file and check the file
17:23:51
Xach
pelle: i think it's because clisp does not have asdf so it uses an old one from quicklisp.
17:25:49
pelle
Xach: yes, found out now: Clisp has an old ASDF. It's working fine in ECL though. I got some help on the #clim channel.
17:47:50
sjjssjjeejej
But at the end of the day language doesn't matter much, unless its specified for a particular job.. do you people agree?
17:59:17
jackdaniel
day ends here and it still matters to me :-) I find pleasure in using cobol for my everyday tasks ^_^
18:01:36
beach
sjjssjjeejej: I suggest you read the excellent article by Hudak and Jones that is one of the few that reports on productivity comparisons between languages.
18:06:49
sjjssjjeejej
Okay, let's take an example. You can create a simple web application using abcde, a number of languages but when you want an application to do a specific task say, learn from its previous operations and manipulate data sets by itself, would you choose a language or go with the easily available, less hectic and Understandable by others?
18:15:09
jackdaniel
I think trolling is not on the "do" side of the netiquette, more like on "don't do"
18:23:56
dlowe
I think for any and all technical questions, "it depends" is a perfectly good answer.
19:57:05
alandipert
does anyone know an example of delivering a macos app? in particular i am interested in implementing a menu bar item-type application
20:42:26
drmeister
Someone made a quote at ELS about "Lisp is the best language when you don't know what you are doing"? Does anyone remember it more accurately or seen it before?
20:48:35
drmeister
On exploratory programming - here's something I posted late last night. I'm folding DNA with Cando Common Lisp.
20:49:41
drmeister
It was a demo that I wanted to show at ELS and I almost got it together but then I discovered three copies of every structure in every viewing window.
20:50:03
drmeister
It took me another 6 hours of debugging on the plane flying back from Spain to track down the two bugs that were causing the problem.
20:51:24
drmeister
But my undergraduate Kevin whipped up a way to connect sliders to the structure viewing windows so that I could visualize the dynamics of the optimization process (seen at about 2:50 in the movie).
20:56:24
rme
http://www.nhplace.com/kent/PS/Hindsight.html is a nice article about why Lisp is good at exploratory programming
20:59:09
drmeister
rme: Glancing at it (I'll read it carefully later) - that looks like a really nice article - thank you.
21:01:41
jeosol
guys, need some help. When working with parallel code via threads, and there is an error with a thread that acquired a lock, how do I say kill that thread without having to rerun my case. I am running sbcl on the shell (no slime)
21:02:15
jeosol
I can see the threads with (bt:all-threads) and I try (bt:destroy-thread ....) but I didn't quite get what I wanted
21:04:28
jeosol
When I run (bt:all-threads), I see that the status of one of the threads has something like "acquiring (or acquired) lock ..". and the other threads seem to be in normal state. Since there is an error with the thread that acquired the lock, everything stalls
21:07:29
copec
I suggest that because it seems you would need to know how bt is implemented on top of sbcl to access state of other threads
21:13:20
devon
Any idea how to hush the CCL CFFI warning ; bare references to struct types are deprecated. Please use (:POINTER (:STRUCT ...)) or (:STRUCT ...) instead.
21:21:37
devon
rme: Yes, maybe SBCL CFFI wouldn't warn. Ah, fixed by (with-foreign-slots (#1# #2# #3#) ...) -> (with-foreign-slots (#1# #2# (:struct #3)#) ...)
21:39:18
kuwzre
is there a way to get company mode to support common lisp? I am using slime-company, but I wish that I could get the same sort of behavior when editing normal cl files
22:41:40
scymtym
then (setf (foo 2 3 4) 1) where new-value will be bound to 1 and more parameters to 2 3 4
22:43:44
ebrasca
I like to make someting like (read-short-name array) and (setf (read-short-name array) "")
22:46:49
scymtym
if i understand correctly, that would be (defun (setf read-short-name) (new-value array) ...)
23:10:23
jasom
there are some cases in which defun (setf ...) will not work, for those you can use define-setf-expander
23:18:41
jasom
the usual rule of "never use a macro when a function will do" applies. If you can think of a function that will work, you don't need a setf-expander
1:52:48
vtomole
Is there tool for seeing how objects are consed by read? e.g, an input of (+ 1 2) gives (cons '+ (cons 1 (cons 2 '())))?