Log of the #nice channel on irc.freenode.net

Using timezone: Central European Time
<arjanb>hi00:54
* lucp joins01:57
* cm_ leaves02:04
<arjanb>hi luc03:18
<lucp>hi03:19
* CIA-9 leaves03:21
* CIA-8 joins
<arjanb>did you have time to work on nice?03:34
<lucp>not lately. i'm having problems with my hard drive. i have a new one on the way.03:36
<arjanb>hard drives seem to have poorer quality nowadays..03:38
<lucp>i've lost 3 of them in about 5 years03:47
<arjanb>:(03:50
<lucp>i have been thinking about the solution for the protected methods problem, i am just not sure on how to implement it properly.03:57
<arjanb>a few choices, redirect methods could be generated for all protected methods from a java class extended by a nice class or it can be done on need04:18
this only matters a little for the class size04:21
<lucp>the first seems easier to implement, the second seems to be the optimal solution04:25
<arjanb>yeah
<lucp>protected methods dont make much sense when dealing with multimethods anyway, but we are forced to deal with them.04:27
<arjanb>indeed therefore Nice won't get the protected keyword04:29
general approach could be check in codegen of a call to a java methods whether it's protected and then ask the correct nice class to add a static redirect method and call that instead
i have no idea how to select the nice class to put the redirect in04:30
<lucp>the nice.tools.code.Types.typeConstructor() method seems to be able to convert the bytecode type to the nice type.04:36
<arjanb>that doesn't get you closer to a nice class04:39
<lucp>:(04:40
<arjanb>that method gives the type it has in the typesystem04:41
<lucp>NiceClass.java has a static method to lookup the nicelcass with a tc04:49
<arjanb>yes04:52
the problem is there's no simple link from superclasses to subclasses04:53
so the check for protected calls needs to be done at a place where the responsible nice class is still known04:58
good night05:47
* arjanb leaves05:48
* CIA-8 leaves06:18
* CIA-3 joins06:19
* lucp leaves09:27
* Vurlix joins10:53
* cm_ joins13:24
* Vurlix leaves14:00
* fcb joins14:21
hello cm_14:22
<cm_>hello fcb
<fcb>we should talk about nicedoc and get moving with it14:23
<cm_>absolutely
Any progress lately?
<fcb>no - I've been busy with some other things, but that's why it will be good when are active on it as well14:24
is there anything you particularly wanted to do?
<cm_>True, I have also been quite busy14:25
* arjanb joins
<cm_>I might be good to discuss the overall design
<fcb>yep - currently its a mess
<arjanb>hello cm_, fcb14:27
<fcb>hello
<cm_>hello
Is the html-document created in a two phase fashion, ie. 1. build some internal structure 2. generate html?14:29
<fcb>not really. I wanted to do that, but in the end I ended up generating the html as I go because that meant I didn't have to come up with an intermediate form.14:31
<cm_>It might be a good idea as some discissions could perhaps not be taken on the fly. 14:32
Also to support pluggable back-ends 14:33
<fcb>you can see from the classes that what I wanted was to have a main class which parses the command line, etc, and a document class that represents an individual class or file or whatever, and then the htmlwriter which actually writes the html14:35
unfortunately it didn't work out that way because I coded before thinking in my enthusiasm14:37
<cm_>heh
<fcb>yes, so basically I'm all in favour of that idea14:38
one of the things I want to do is have a lot more links in there. for example, if you have int a_method(String s), int and String should be hyperlinks. I think an intermediate form might assist in achieving this14:39
question is, how to achieve it?14:40
<cm_>Hyperlinked to the type/class doc?14:41
<fcb>that's what I'd like to see, yes. but when I said "how to achieve it?" I really meant "what should the intermediate form look like?"14:42
<cm_>Back-patching perhaps, class B is used as argument in method A.f(B b). If the B isn't processed you would have to back-patch that reference later.14:49
<fcb>yes, agreed.14:50
<cm_>If not the location (file and section in the html-file) is an explicit function of the type
<fcb>I don't follow that last bit14:51
<cm_>In the latter approach is a two-phase method required
location("class A","Method f") = ("file A.html", "section #f")14:52
s/latter/former
<fcb>I'm still not fully following but unfortunately I have to go now. That's the problem of the time difference! I will try and get back on here tomorrow so we can discuss further.14:55
sorry
<cm_>Ok, see you later. bye
What time is it where you are located?14:56
<fcb>10:00pm15:02
by the way, feel free to start doing things with the code if you feel like it
* fcb leaves15:18
* Vurlix joins16:20
* gpothier joins18:16
Hi!18:17
Can someone help me with the Nice Eclipse plugin?
* gpothier leaves18:45
* Vurlix leaves20:18
* Vurlix joins21:47
* Vurlix leaves22:50

Generated by Sualtam