04-21-2015 03:29 PM - edited 04-21-2015 03:48 PM
This is just the tip of the iceberg of the code posted here. The other problems are too numerous to list (almost all terminals disconnected and exclusive wiring via local variables, stacked sequence with 8 frames and 7 sequence locals, while loops with the stop condition wired from the outside, fixed iteration count WHILE loops instead of FOR loops, never heard of "spreadsheet string to array" and using convoluted while loops instead, etc. etc.)
So, let's look at the picture below.
For some reason, we need to get the same "pages" property five times in parallel, each getting the same array result of course, then we need to index out one element from each and writing to the visible property. For some reason this is still not enough, so we need to repeat all that five(!) times in a while loop as fast as the computer allows! Why?????
In the end, we are getting the same "pages" property 25 times and writing each visibility five times with the same value.
04-22-2015 04:28 PM
@altenbach wrote:
This is just the tip of the iceberg of the code posted here.
You weren't kidding. That is some of the best bad code I have seen in awhile. He took it to a whole new level
04-22-2015 11:58 PM
Jeff·Þ·Bohrer wrote
Dont leave dT = 0 you don't have enough memory, trust me ok?
How about machine epsilon?
06-02-2015 07:17 AM
Lets have some fun with converting strings to timestamps: Get Time Stamp will milli seconds from string time stamp format
06-02-2015 08:13 AM
Hopefully you realized that your outputs didn't match,wrong AM/PM flag. At least the answer doesn't complicate your code, just change the format string to "%<%m/%d/%Y %I:%M:%S%u %p>T"
"I won't be wronged. I won't be insulted. I won't be laid a-hand on. I don't do these things to other people, and I require the same from them." John Bernard Books
06-02-2015 08:39 AM
@bsvare wrote:
Hopefully you realized that your outputs didn't match,wrong AM/PM flag. At least the answer doesn't complicate your code, just change the format string to "%<%m/%d/%Y %I:%M:%S%u %p>T"
Yeah, I noticed my %H vs %I issue. It was just a little too late to actually edit it.
06-12-2015 05:05 PM
Not quite RGC, but very fitting to the thread title and idea. 🙂 http://www.haneke.net
/Y
06-13-2015 04:15 AM
That is bonkers - but a good use of a tiled background GIF to ensure continuity of the balls at the edges.
06-13-2015 07:53 AM
@Yamaeda wrote:
Not quite RGC, but very fitting to the thread title and idea. 🙂 http://www.haneke.net
/Y
That's horrendous. Should come with a "May induce a migraine. Do you wish to continue?" warning popup.
06-13-2015 09:20 AM
@PaulG. wrote:
@Yamaeda wrote:
Not quite RGC, but very fitting to the thread title and idea. 🙂 http://www.haneke.net
/Y
That's horrendous. Should come with a "May induce a migraine. Do you wish to continue?" warning popup.
I was immediately trying to turn off "hightlight execution" mode. 😄