14:52:47 ccl-logbot [~ccl-logbo@setf.clozure.com] has joined #sbcl 14:52:47 14:52:47 -!- names: ccl-logbot teggi Okasu psilord kwmiebach_ pranavrc kludge` segv- Quadrescence stassats` angavrilov jaimef FrostyX ASau christoph_debian prxq__ Bike ferada danlentz fikusz Kromitvs milosn asedeno bege minion redline6561 reb gko Posterdati |3b| otwieracz @Krystof pchrist flip214 kanru antoszka jdz loke Blkt antifuchs fe[nl]ix daimrod easye jsnell scymtym_ xymox Subfusc pkhuong specbot pegu brucem luis` ivan`` foom 14:53:25 <|3b|> 'values' don't go out of scope though, variable do, so you need something to denote which lexical scope should delimit the lifetime of the value 14:54:05 <|3b|> if you had an automatic free attached to the value, would it just instantly free it if you didn't assign it to a variable? or never free it? 14:56:06 |3b|: Neither, it should be freed when last refernce to that value is gone. 14:57:58 <|3b|> finalizer is closest to that, but it is "(probably) at some point after last reference is gone" which isn't quite the same 14:58:23 (defun call-with-cleanups (thunk) (let ((*cleanups* '())) (unwind-protect (funcall thunk) (mapc #'funcall *cleanups*)))) 14:59:14 pkhuong: Ugly, doncha think? :) 14:59:21 (defun register-mess (object cleanup) (push (lambda () (funcall cleanup object)) *cleanups*)) 14:59:53 wrap your toplevel interaction in that, and you're done. 15:00:35 I'm sure you can make it look like a rose if aesthetics matter. 15:03:44 pkhuong: Wrap top level intercation in that, huh? Defpackage and what about functions called from outside of defpackage? 15:04:04 Like exported functions. 15:04:18 I hope that was a bad joke. 15:04:21 At this point though, #lisp would be the better channel. 15:17:51 Thanks for usefull feedback, it least i've learned something about finalizers. 15:22:15 pkhuong: It not that bad afteral, thanks for tip you too. 15:26:13 Krystof: http://www.haible.de/bruno/papers/cs/weak/WeakDatastructures-presentation/siframes.html Is that what you're referring to on weak pointers? 15:36:58 pkhuong: No, it's awfull, i was right. :D You know it'll be executed only once, but even if i fix it idea can't be fixed - having something on toplevel with undefined size/need to maintain it's just another statefull memory allocation. 15:37:31 It's no problem to support that stuff by hundredof cluches but even with-foo way better. 15:37:51 I mean funcion local with-foo suggested by |3b|. 15:38:57 -!- Okasu [~1@unaffiliated/okasu] has quit [Quit: leaving] 15:48:33 tylergoza [~tylergoza@user-24-96-98-239.knology.net] has joined #sbcl 16:03:28 attila_lendvai [~attila_le@92.47.224.193] has joined #sbcl 16:03:28 -!- attila_lendvai [~attila_le@92.47.224.193] has quit [Changing host] 16:03:28 attila_lendvai [~attila_le@unaffiliated/attila-lendvai/x-3126965] has joined #sbcl 16:13:44 nicdev [user@2600:3c03::f03c:91ff:fedf:4986] has joined #sbcl 16:35:41 joshe [~joshe@2001:470:e862::1:1] has joined #sbcl 16:46:57 -!- attila_lendvai [~attila_le@unaffiliated/attila-lendvai/x-3126965] has quit [Ping timeout: 256 seconds] 16:47:19 attila_lendvai [~attila_le@92.47.224.193] has joined #sbcl 16:47:19 -!- attila_lendvai [~attila_le@92.47.224.193] has quit [Changing host] 16:47:19 attila_lendvai [~attila_le@unaffiliated/attila-lendvai/x-3126965] has joined #sbcl 17:16:10 -!- teggi [~teggi@113.173.4.29] has quit [Remote host closed the connection] 17:37:30 -!- jaimef [jaimef@dns.mauthesis.com] has quit [Excess Flood] 17:44:51 jaimef [jaimef@dns.mauthesis.com] has joined #sbcl 17:54:58 kwmiebach__ [~kwmiebach@xdsl-87-79-98-32.netcologne.de] has joined #sbcl 17:58:40 -!- kwmiebach_ [~kwmiebach@xdsl-87-79-110-74.netcologne.de] has quit [Ping timeout: 264 seconds] 17:59:01 -!- pranavrc [~pranavrc@unaffiliated/pranavrc] has quit [Quit: Ping timeout: ] 18:12:47 sdemarre [~serge@91.180.107.241] has joined #sbcl 18:17:19 -!- segv- [~mb@95-91-243-211-dynip.superkabel.de] has quit [Remote host closed the connection] 18:23:10 yacks [~py@103.6.159.103] has joined #sbcl 18:23:40 -!- attila_lendvai [~attila_le@unaffiliated/attila-lendvai/x-3126965] has quit [Disconnected by services] 18:23:40 attila_lendvai1 [~attila_le@92.47.205.123] has joined #sbcl 18:23:43 -!- attila_lendvai1 is now known as attila_lendvai 18:23:45 -!- attila_lendvai [~attila_le@92.47.205.123] has quit [Changing host] 18:23:45 attila_lendvai [~attila_le@unaffiliated/attila-lendvai/x-3126965] has joined #sbcl 18:27:56 -!- stassats` [~stassats@wikipedia/stassats] has quit [Ping timeout: 260 seconds] 18:34:59 iln [~ID@101.255.24.142] has joined #sbcl 18:35:31 @web http://www.google.com 18:35:36 !web http://www.google.com 18:35:38 -!- iln [~ID@101.255.24.142] has left #sbcl 18:43:52 segv- [~mb@95-91-243-211-dynip.superkabel.de] has joined #sbcl 19:02:56 -!- ferada [~ferada@37.221.196.86] has quit [Ping timeout: 245 seconds] 19:03:29 ferada [~ferada@37.221.196.86] has joined #sbcl 19:04:49 ehaliewicz [~user@50-0-51-11.dsl.static.sonic.net] has joined #sbcl 19:25:19 -!- ehaliewicz [~user@50-0-51-11.dsl.static.sonic.net] has quit [Read error: Connection reset by peer] 19:26:04 -!- angavrilov [~angavrilo@217.71.227.190] has quit [Remote host closed the connection] 19:26:08 ehaliewicz [~user@50-0-51-11.dsl.static.sonic.net] has joined #sbcl 19:37:21 enarixoi [~l@84.233.246.170] has joined #sbcl 19:38:02 -!- enarixoi [~l@84.233.246.170] has left #sbcl 19:55:07 -!- sdemarre [~serge@91.180.107.241] has quit [Ping timeout: 248 seconds] 20:00:21 scymtym [~user@ip-5-147-115-29.unitymediagroup.de] has joined #sbcl 20:04:26 Fare [fare@nat/google/x-jbflfekccfvjkbxt] has joined #sbcl 20:04:44 l_ [~l@84.233.246.170] has joined #sbcl 20:05:01 -!- l_ [~l@84.233.246.170] has left #sbcl 20:07:29 stassats` [~stassats@wikipedia/stassats] has joined #sbcl 20:09:04 -!- attila_lendvai [~attila_le@unaffiliated/attila-lendvai/x-3126965] has quit [Quit: Leaving.] 20:09:10 attila_lendvai [~attila_le@92.47.205.123] has joined #sbcl 20:09:10 -!- attila_lendvai [~attila_le@92.47.205.123] has quit [Changing host] 20:09:10 attila_lendvai [~attila_le@unaffiliated/attila-lendvai/x-3126965] has joined #sbcl 20:11:10 l_ [~l@84.233.246.170] has joined #sbcl 20:30:44 edgar-rft [~GOD@HSI-KBW-109-193-013-113.hsi7.kabel-badenwuerttemberg.de] has joined #sbcl 20:38:31 -!- Fare [fare@nat/google/x-jbflfekccfvjkbxt] has quit [Ping timeout: 245 seconds] 20:38:54 -!- l_ [~l@84.233.246.170] has left #sbcl 20:57:22 -!- psilord [~pkeller@23-25-144-217-static.hfc.comcastbusiness.net] has quit [Quit: Leaving.] 21:04:46 Fare [fare@nat/google/x-uumodnpmdedcnatz] has joined #sbcl 21:10:13 -!- tylergoza [~tylergoza@user-24-96-98-239.knology.net] has quit [Read error: Connection reset by peer] 21:10:16 psilord [~pkeller@23-25-144-217-static.hfc.comcastbusiness.net] has joined #sbcl 21:18:19 -!- scymtym [~user@ip-5-147-115-29.unitymediagroup.de] has quit [Ping timeout: 260 seconds] 21:28:40 tylergoza [~tylergoza@user-24-96-98-239.knology.net] has joined #sbcl 21:49:07 -!- attila_lendvai [~attila_le@unaffiliated/attila-lendvai/x-3126965] has quit [Quit: Leaving.] 21:55:03 -!- psilord [~pkeller@23-25-144-217-static.hfc.comcastbusiness.net] has quit [Quit: Leaving.] 22:03:15 -!- segv- [~mb@95-91-243-211-dynip.superkabel.de] has quit [Remote host closed the connection] 22:07:33 -!- stassats` [~stassats@wikipedia/stassats] has quit [Ping timeout: 248 seconds] 23:00:55 -!- Fare [fare@nat/google/x-uumodnpmdedcnatz] has quit [Ping timeout: 260 seconds] 23:09:33 fisxoj [~fisxoj@192-0-131-151.cpe.teksavvy.com] has joined #sbcl 23:15:03 psilord [~psilord@c-69-180-173-249.hsd1.mn.comcast.net] has joined #sbcl 23:26:15 -!- tylergoza [~tylergoza@user-24-96-98-239.knology.net] has quit [Quit: Leaving] 23:33:32 -!- Bike [~Glossina@gannon-wless-gw.resnet.wsu.edu] has quit [Quit: Reconnecting] 23:33:48 Bike [~Glossina@gannon-wless-gw.resnet.wsu.edu] has joined #sbcl