freenode/#lisp - IRC Chatlog
Search
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:36:01
Bike
ejohnson: that sounds like general floating-point-ness than anything to do with floor and ceiling particularly
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:40:32
beach
ejohnson: Yes, and I am working on Second Climacs, which will have much better support for editing Common Lisp code.
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:48:55
beach
It just so happens that 111.0 is the closest possible approximation in single-float precision of 111.000001.
3:51:47
beach
ejohnson: If you do (= (ceiling 111.000001d0) (floor 111.000001d0)) instead, your problem goes away.
3:57:27
beach
For the people here with long-term memory problems, ejohnson worked on (first) Climacs and Drei.
4:00:46
beach
ejohnson: Since you were active here, ELS (the European Lisp Symposium) has become a successful annual event with almost 100 participants each year.
4:01:39
beach
ejohnson: The number of paper submissions has also increased over the years, improving overall quality. Next year, it will be in Marbella in Spain, where Ravenpack has its headquarters.
4:02:41
aeth
ejohnson: But I generally hardcode f0 and d0 when I want a specific kind of float, e.g. 4.0f0 or 4.0d0
4:05:19
ejohnson
beach: not sure. I worked mostly with Ahmon and Kevin. Andreas came on board then took off to stripe while I was there.
4:07:19
ejohnson
beach: it was a lot of fun working on climacs way back when. That's one of the first projects I contributed to. Thanks again.
4:09:17
beach
I think we (me, mostly) made some mistakes with (first) Climacs, but I also think that is inevitable with the first attempt at something like that.
4:10:14
beach
Second Climacs is the result of thinking about all those mistakes, and generally about possible improvements.
4:10:37
ejohnson
beach: how was ELS this year? I've been following some of the ongoings from afar, but have been out of the CL world for a while now.
4:11:40
beach
ELS was great as usual. This year, it was co-located with a bigger event, which meant that the local arrangements were not as good as they were in the past, but the conference itself was very good.
4:12:52
beach
I am counting on Nick Levine of Ravenpack to correct that problem in Marbella next year. :)
4:13:31
beach
ejohnson: By the way, Ravenpack is hiring Common Lisp programmers in case you would like to go to a great country in the EU for a change. :)
4:15:21
beach
ejohnson: Step one would be to show up at ELS, though. Then you can see for yourself. :)
4:17:53
ejohnson
beach: sounds like fun. I'm in a whole different field of work since I've moved. Thanks for thinking I'm on ravenpack level. They are a great team of coders.
4:18:26
ejohnson
beach: but the idea of moving to the EU would be just about the only thing that could tear me away from winemaking :)
4:21:15
ejohnson
I did work at Franz when Gabor was there though, so I probably have worked with the team a bit.
4:21:16
beach
Anyway, April/May is slow in the winemaking business, right? So you should come to ELS!
4:23:56
beach
ludston: loke has wanted to see an ALS. He is in Singapore. Maybe you could join forces. I would show up and even submit a paper or two.
4:24:58
beach
ludston: There are some great locations for it: Singapore, Sidney, Melbourne, Sài Gòn, Auckland, ...
4:26:37
beach
ludston: Don't know. When I lived in Auckland, there were about 5 within a radius of a 3 hour flight. :)
4:28:16
beach
ludston: You too are welcome to come work in the EU. It is a bit more densely populated than Australia. :)
4:29:45
ejohnson
I went to a couple meetups, some down in Redwood City with Warnock and a few other people... some in SF.
4:32:42
ejohnson
vtomole: yes. I've seen some vidoes of their meetings posted online, might be worth a watch.
4:47:10
ludston
Looks like I'd need proof of a functional level of Spanish to get a working visa for Spain anyway
4:48:38
beach
Spain is not the only place in the EU of course. I just mentioned Spain because: 1. It's a great place. 2. ELS will be held there in 2018. 3. I know Ravenpack is hiring Lispers.
4:57:42
beach
ludston: And if you get a visa for the Schengen area, you can then move freely within the 26 members.
9:21:07
beach
[sigh] Another library to extract, improve, document, and test. But that's a good thing I think. This time, it's from Gsharp. It splits a sequence into optimal subsequences. And it can do it incrementally as the original sequence is modified.
9:43:07
malice
More precisely, my objective is to change one of the object's slots, but I don't really know what the interface is.
9:48:55
beach
malice: This one ↑ gives you a list of the methods that have a particular specializer.
9:49:57
beach
Because a method might be applicable to a subclass that does not appear explicitly as a specializer.
9:54:41
malice
beach: Yes, I always forget about the nomenclature. I learned OOP first in C++, so I often call it methods (since there are no generic functions in C++).
10:06:49
malice
beach: I am sorry, but I am unable to find this information. How do I provide specializer?
10:17:03
beach
Also, this is MOP stuff, not Common Lisp HyperSpec stuff, so you will either need to :USE the MOP package, or provide an explicit package prefix.
10:27:12
beach
malice: Also, "it does not work" is not very helpful. It is best to provide the error message, or the incorrect output that you observe.
10:31:26
malice
beach: but I didn't really know what arguments to use. find-class was exactly what I needed. Thank you.
10:32:06
malice
If I want all the methods, should I also map the #'specializer-direct-generic-functions over all superclasses and their superclasses?
11:01:11
rk[ghost]
aye.. and it also has, a reasonable hyperlink schema.. so i can likely find what i want by mangling the url with the right fucntion name
11:02:05
rk[ghost]
i do not know any PHP (nor have any interest), but if you want any help with your project i could set aside some cycles..
11:03:44
phoe
rk[ghost]: I will, thanks! I need to fix my real life up a bit more and then I'll probably get back to working on CLUS.
11:08:36
rk[ghost]
i am also at the point of fixing up my `real life`, but i should be migrating within a couple weeks and stablized within a month likely