Search
Saturday, 22nd of July 2017, 15:47:24 UTC
18:50:09
flip214
When the accessor functions for a class are in a different package, is there a shorter way than the 2-symbols-version of WITH-ACCESSORS to map them to symbols in the local package?
18:50:39
flip214
Ie. (WITH-ACCESSORS ((accessor other-package:accessor) ...) object ...)
18:50:45
Bike
with-accessors doesnt know anything about packages
18:50:50
flip214
to not duplicate "accessor"?
18:51:09
flip214
so, if I really needed that, I'd need to write a macro....
18:51:22
flip214
but for a single use (even with 9 lines) it won't be an improvement
18:54:06
pjb
Macros should be written for abstractions, not for textual substitutions.
18:54:14
pjb
You can always import the symbols!
21:04:42
alandipert
is a hash table with T as vals an idiomatic way to represent a set?
21:04:59
Bike
it's not uncommon. a "hash set".
21:05:51
White_Flame
you could also store the key as the value, handy in some cases
21:07:45
Shinmera
If your set is small enough, a list and pushnew works just fine too.
21:59:44
Posterdati
please I've got this error quickloading iolib/syscalls on armhf: ondition of type: SIMPLE-ERROR
21:59:44
Posterdati
[22:30:34] <Posterdati> `(VECTOR ,SI::ELT-TYPE (,LENGTH)) is not a valid type specifier.
22:00:10
Posterdati
any hints? Thanks for help
22:02:46
Bike
Posterdati: looks like you expected a type specifier to be evaluated, but it wasn't
22:03:21
Posterdati
the error came up when loading iolib/syscalls
22:05:13
Posterdati
the funny thing is that I have another raspberry pi 3 with a cloned sdcard wich works
3:30:42
beach
Good morning everyone!
3:30:58
whoman
good evening beach =)
3:33:12
ejohnson
Has anyone delt with float length limitations on FLOOR and CEILING? For instance (= (ceiling 111.000001) (floor 111.000001)). Using SBCL "1.3.19.122-3383977aa" on a x86_64 linux install.
3:34:03
beach
ejohnson: Long time no see.
3:34:17
ejohnson
beach: yes. How are you and life in Fr?
3:34:31
beach
Very well thank you. Where are you these days?
3:34:47
ejohnson
Central California. Got married and moved back to the valley.
3:35:04
beach
Nice. Except for the fires perhaps?
3:35:16
ejohnson
True, very hazy around this time of year.
3:35:40
ejohnson
We have some of the worst air quality in the US (#2), so yeah it's always bad.
3:35:53
beach
Oh, sorry to hear that.
3:36:01
Bike
ejohnson: that sounds like general floating-point-ness than anything to do with floor and ceiling particularly
3:36:16
ejohnson
Bike: yes. Any ideas on work arounds?
3:36:34
ejohnson
beach: thanks, I try not to contribute as much as I can.
3:37:04
ejohnson
beach: I've seen how McClim is moving forward. Nice to see that happening.
3:37:34
beach
Yes, very exciting. We have the #clim IRC channel now and jackdaniel is going a great job with maintaining it.
3:38:09
holycow
huh didn't know. checking it out.
3:39:15
ejohnson
beach: that is cool!
3:40:32
beach
ejohnson: Yes, and I am working on Second Climacs, which will have much better support for editing Common Lisp code.
3:41:24
ejohnson
I'm excited to hear that. I'd love to check it out.
3:41:45
ejohnson
haha, of course :)
3:42:33
Bike
ejohnson: depends on the context, i guess. number one: use doubles instead of singles
3:43:53
ejohnson
Bike: I'm trying to write something a little more flexible than typed information. I actually have an solution that avoids the whole floor/ceiling thing. Thanks for the suggestion though.
3:45:33
beach
ejohnson: It is entirely possible that the last digit disappears when such a number is read using a float format with not enough precision.
3:45:35
Bike
"typed information"....? well, as long as you got something
Sunday, 23rd of July 2017, 3:47:24 UTC