« first day (1743 days earlier)      last day (2742 days later) » 

12:53 AM
HipkuWL: encode any IP address as a unique haiku with Wolfram Language
 
 
7 hours later…
7:47 AM
@halirutan Very good question. If not, i don't understand the aim of John Fultz text. Promotion for nothing ?
 
 
4 hours later…
11:17 AM
@andre There are several users here who are attending the WTC. Many of last year's talks were put online. I'm going to look for this one as soon as the videos are posted.
 
11:28 AM
@Brett Any other interesting news from the WTC which is not under NDA?
 
11:40 AM
@JohnFultz In the GitLink docs it says,
> The Mac version builds two binaries. One is compatible with 10.2 and earlier, while the other is compatible with 10.3 and later.
That should be 10.3 and earlier & 10.4 and later, no? I'm pretty sure 10.3 still likes libstdc++.
@JohnFultz Do you have any comments on how to solve this better? In short, I was trying to make graphics with a variable number of elements each of which reacts to clicks or mouse hover, and each of which influences the other ones. This requires explicitly maintaining a state for each, so the others can read it. I did it using a boolean vector and it was unusably slow.
From Kuba's answer it is clear that the solution is to have a different symbol/variable for each one. But then we need to create these programmatically, which is messy and uncomfortable and goes against the maintainability you mention above.
The best solution I can see is to encapsulate all the symbol creation into a package (in a general way) and take the burden off the user. I know Kuba has done this (elsewhere).
 
 
2 hours later…
1:31 PM
Hi everybody, I have the following data
Testdata = {{1, 2, 3, 4, 5, 6}, {7, 8, 9, 10, 11, 12}, {13, 14, 15,
16, 17, 18}};
And I want to bring it in the following form:
{{1, 2}, {7, 8}, {13, 14}} &
{{3, 4}, {9, 10}, {15, 16}}
....

I have a solution for the first resulting list

Table[{Testdata[[i, 1]], Testdata[[i, 2]]}, {i, 1, Length[Testdata]}]

I would like to let it count automatically, since my data in one bracket has 100 entries, and not only 6 like in my example. Has someone a good idea?
 
2:04 PM
@Jacccy Transpose[Partition[#, 2] & /@ Testdata]
 
@Szabolcs Thank you very much, that was quite more easy than my approach :D
 
@Szabolcs Agree, but I seem to recall that it takes months to have some video of the WTC on the web. Also, I suppose the WTC attendees does not have more video available than others ? (there are NDA videos !)
Sorry, I mean "there are no NDA video"
 
2:44 PM
@Szabolcs Actually, it doesn't go against Lou's talk. You're just not going far enough. :)
Things like Manipulate don't directly generate the output -- they generate an output that contains information, and then dynamically construct the actual (dynamic) interface. The maintainability comes from being able to redefine the functions in later versions to add features, fix bugs, change the aesthetics, etc...
So in your case, rather than returning something with a lot of DynamicModule variables, you'd return something that knew how to dynamically construct them when needed. (I didn't say this was easier...)
 
 
2 hours later…
4:16 PM
@BrettChampion I never meant it goes against his talk! I wasn't at the WTC and haven't seen his talk. I am looking forward to the video. I asked about this because the talk title reminded me of it (and I hoped that there would be something in the talk that can help)
 
 
3 hours later…
7:11 PM
@halirutan , I hope so, but I'm honestly not sure which talks were videoed and which weren't.
@Szabolcs Yes, it should have been 10.4 and later. The code did the right thing...I just wrote it incorrectly in the docs. Now fixed.
 
7:39 PM
@Szabolcs In general, Kuba's got the right approach, and I wouldn't dispute it. Re maintainability, I would encapsulate this functionality in an inner Dynamic, which would allow the entire implementation to be rewritten at a later time with perhaps improved capabilities in a future version. Which is the sort of thing Lou covers in his talk.
 

« first day (1743 days earlier)      last day (2742 days later) »