Arc Forumnew | comments | leaders | submitlogin
3 weird errors; could y'all please try to reproduce them? (akkartik.name)
4 points by akkartik 5182 days ago | 7 comments


1 point by thaddeus 5182 days ago | link

For number 2, try this:

  (def buttons(user sname doc)
    (tag (div class "buttons")
      (do (button user sname doc 1 "skip" "not interesting")
          (button user sname doc 2 "next" "more like this")
          (button user sname doc 4 "love" "more from this site")
          (clear))))

-----

1 point by akkartik 5182 days ago | link

Interesting. Could you elaborate on the reasoning?

-----

2 points by thaddeus 5181 days ago | link

nope. I was obviously color blind last night and too quick with the pen...

Please pretend post never happened :)

-----

1 point by akkartik 5181 days ago | link

Lol. I found it useful, because it got me thinking about the fact that all the tags in the code are really pr's under the hood. I wonder if the code gets evaluated in the wrong order. With most code bugs in evaluation order wouldn't matter as long as outer functions picked up the right objects for their arguments. But here the entire tree shares a single channel.

So thanks.

-----

1 point by akkartik 5179 days ago | link

Update:

1. Bug C, the segfault, also happens with mzscheme v372.

2. Eli Barzilay has been unable to reproduce it in several versions. (http://bugs.plt-scheme.org/query/?cmd=view&pr=10800)

Perhaps it's the fact that I'm running 32-bit EC2 slices. I'm going to fire up a 64-bit instance and try it out.

-----

1 point by thaddeus 5179 days ago | link

Not sure if you can repost your comment/email to Eli, but your reference URL to the arclanguage.org topic was incorrect. Eli wouldn't get to it.

-----

1 point by akkartik 5179 days ago | link

Argh, it replaced the '=' with '=3D'.

Presumably subscribers will see the correct link in their email.

-----