Masyu please! |
Brian Kwon-Tom Obsessive Puzzles: 4907 Best Total: 9m 6s | Posted - 2010.06.15 15:43:19
Quote: Originally Posted by Tilps Hopefully the mass of new stuff I just posted still works on moonlight... |
I haven't been able to make an account or do any of the other new things (on Twist3). It says "Creating Account Failed, Server Error". With the Leaderboard/Compete/Archive tabs it seems that there just isn't any data. |
Tilps Kwon-Tom Obsessive Puzzles: 6720 Best Total: 18m 37s | Posted - 2010.06.15 16:54:29 Hmm, Twist3 works in .Net, going to have to debug moonlight. ...it appears you succesfully created an account, but moonlight is not handling the server response correctly.
Edit: Not sure what is up with your environment, I just successfully used Twist3 on a fresh ubuntu install with moonlight packages added. (Maybe you need to update your moonlight packages?) (are you using the moonlight 3 preview? - because it seems to work without it...)
Edit2: okay, I can reproduce the problem by switching from moonlight 2.2 to the moonlight 3 preview 6.
Edit3: Its a previously reported issue, apparently started happening after moonlight 3 preview 4.
Last edited by Tilps - 2010.06.15 19:14:41 |
Tilps Kwon-Tom Obsessive Puzzles: 6720 Best Total: 18m 37s | Posted - 2010.06.18 11:47:13 Been a while since my last update, have been sick. A small but important update today, the archive page vaguely works now, so you can select user puzzles, and puzzles other than the latest competition puzzle. Also changing away from the Compete tab and back again shouldn't cause the latest puzzle to load, unless you have completed the current puzzle you are competing on. In doing the above I made some server side changes, so the old version won't work until you reload to get the latest version of the web page.
I've also uploaded new puzzles for wednesday/thursday/friday and the upcoming weekend.
Last edited by Tilps - 2010.06.18 11:51:58 |
Brian Kwon-Tom Obsessive Puzzles: 4907 Best Total: 9m 6s | Posted - 2010.06.18 22:27:03 I didn't notice your edits until earlier today, but I updated moonlight and it works now. The puzzles seem to take longer to generate, but that might be my imagination. |
Tilps Kwon-Tom Obsessive Puzzles: 6720 Best Total: 18m 37s | Posted - 2010.06.19 00:06:18 There is a 'bug' where the first time you load the page it is actually generating 2 puzzles - 1 for the Just play tab and one for the Share tab. |
Tilps Kwon-Tom Obsessive Puzzles: 6720 Best Total: 18m 37s | Posted - 2010.06.19 02:55:17 There is a new moonlight 3 preview 7, which appears to be compatible with silverlight 4 - unfortunately it seems unstable, it crashes my firefox fairly frequently on my ubuntu VM. (It does fix the bug with moonlight 3 preview 6 ) |
Brian Kwon-Tom Obsessive Puzzles: 4907 Best Total: 9m 6s | Posted - 2010.06.19 10:55:48
Quote: Originally Posted by Tilps There is a new moonlight 3 preview 7, which appears to be compatible with silverlight 4 - unfortunately it seems unstable, it crashes my firefox fairly frequently on my ubuntu VM. (It does fix the bug with moonlight 3 preview 6 ) |
I think that's what I updated to (2.99.0.7). I haven't had a problem with crashing with this version. |
Tilps Kwon-Tom Obsessive Puzzles: 6720 Best Total: 18m 37s | Posted - 2010.06.19 15:20:03 Interesting, must be environmental. I was wondering if it was the new generational compacting garbage collector moving stuff and not updating the references
Have you tried using Twist instead of Twist3 with the new version?
Last edited by Tilps - 2010.06.19 15:47:09 |
Brian Kwon-Tom Obsessive Puzzles: 4907 Best Total: 9m 6s | Posted - 2010.06.19 16:49:59
Quote: Originally Posted by Tilps Have you tried using Twist instead of Twist3 with the new version? |
Ah, that works now. I'm not sure if I can tell a difference between the two, but I'll use the regular Twist from now on.
There's another issue, which might be due to moonlight. When I draw lines, especially on large boards, there's a delay before they show up. So for example with the Saturday puzzle, I did about half of it, then waited maybe twenty seconds staring at a blank board, until all the lines appeared at once. If I only draw a few lines and wait, the delay's only a second or less (and it's hardly noticeable on smaller boards). It also seems that once I've played a few puzzles the delay's shorter. |
Tilps Kwon-Tom Obsessive Puzzles: 6720 Best Total: 18m 37s | Posted - 2010.06.20 01:58:19 Only real difference with regular twist is you can use right click instead of shift click for crosses. I like it since it also keeps my hand free to hit ctrl-F/ctrl-R for fix/revert rather than clicking the buttons.
The performance of the determine closest edge algorithm most certainly is suboptimal, but it had always seemed fast enough to me. My computer is however pretty powerful. I'll look at implementing a faster algorithm. Also I think there is a bit of a lag when the puzzle is first created before it starts processing things properly, and during that lag you can queue up a lot of clicks which don't get processed until later. I'll investigate that too.
Last edited by Tilps - 2010.06.20 02:01:12 |
Tilps Kwon-Tom Obsessive Puzzles: 6720 Best Total: 18m 37s | Posted - 2010.06.20 03:53:44 I've improved click performance in general, and significantly improved the performance for displaying a cross in moonlight. Adding a cross to a large puzzle in moonlight was Extremely slow. Moonlight probably takes even longer to display the grid in the first place then it did before, but game play should be much smoother once it shows. |
Tilps Kwon-Tom Obsessive Puzzles: 6720 Best Total: 18m 37s | Posted - 2010.06.20 08:49:48 Starting from tomorrow the difficulty should go up slightly, compared to the week before. I added some 'trivial' logic which was previously missing from the solver to do with black dots. I've loaded up a weeks worth of puzzles with the new difficulty level, during the week I'll go back to focusing on making the web site more usable.
Edit: Couldn't help myself, added another 'trivial' case to do with white dots and regenerated the upcoming weeks puzzles.
Last edited by Tilps - 2010.06.20 09:20:09 |
Brian Kwon-Tom Obsessive Puzzles: 4907 Best Total: 9m 6s | Posted - 2010.06.20 12:44:49 That's much better, thanks. It seems right-clicking only brings up a menu in moonlight, but I wouldn't use it for crosses anyway (I use a tablet).
Last edited by Brian - 2010.06.20 12:45:28 |
Tilps Kwon-Tom Obsessive Puzzles: 6720 Best Total: 18m 37s | Posted - 2010.06.20 13:07:06 Just fixed a bug which was introduced with the improved click performance - if you tried to do a move which you had previous done, after reverting or undoing it would not update the display. |
Brian Kwon-Tom Obsessive Puzzles: 4907 Best Total: 9m 6s | Posted - 2010.06.22 02:23:52 Shift-clicking is all messed up for me, not sure when it started. |
Tilps Kwon-Tom Obsessive Puzzles: 6720 Best Total: 18m 37s | Posted - 2010.06.22 14:03:58 Think I'm going to need more description, shift clicking is working for me... |
Brian Kwon-Tom Obsessive Puzzles: 4907 Best Total: 9m 6s | Posted - 2010.06.22 15:25:02 Sometimes after I release shift, it will mark the next click as if I still was holding shift. And sometimes it does the opposite--when I hold shift it acts as if I wasn't. And sometimes I click and it doesn't change anything. It seems to only happen the first click or two after I press/release shift, but not every time (maybe 10% of the time?). It's not repeatable, in the sense that if I reset the board and make the same clicks, it won't always produce the same result. Not sure if it will help, but I restarted my computer and did the following experiment: http://imgur.com/Vfvln.png |
Tilps Kwon-Tom Obsessive Puzzles: 6720 Best Total: 18m 37s | Posted - 2010.06.22 23:24:18 Does the speed at which you perform each click with respect to each other seem to affect things? The best I can reproduce is that there might be a tiny tiny lag between releasing the shift key and it being registered as being released. If I cleanly ensure my finger is off the shift key before I click I can't get it to happen.
Last edited by Tilps - 2010.06.22 23:28:13 |
Brian Kwon-Tom Obsessive Puzzles: 4907 Best Total: 9m 6s | Posted - 2010.06.23 02:49:32 No, it doesn't make a difference. And it's real bad at the moment, like ten times as bad as the screenshot. I have no idea why. |
Tilps Kwon-Tom Obsessive Puzzles: 6720 Best Total: 18m 37s | Posted - 2010.06.23 08:13:03 Can you try downgrading to moonlight 2.2? |