Windows Live ID Return URL banned words

UPDATE: No need to do this now, its fixed!

For edngames.com I use Facebook, Yahoo! and Windows Live as sign on solutions. However, Windows Live is the only system with a restriction on the domain names you can register. For instance, because of the word “games” in my domain, I get the error message “The Return URL field contains a forbidden word or domain. Please use a different Return URL and enter the HIP solution again.”

image

Facebook and Yahoo, competing single sign on solutions, do not have this restriction, which the word “game” I assume is to block gambling sites from the authentication.

To get around this, I have had to set up a dummy domain (edslife.co.uk) without the banned words and perform authentication on that – you cannot simply do a redirect because the signature returned by the Windows Live server will be invalid because its a different return URL. I then have to create my own authentication (I use a hash function based on the time and a secret word) to move between the dummy domain to the real one securely.

image 

Although this works, and is just as secure as authenticating on the target site I reckon, it provides a pretty shoddy user experience because I have to explain that there is another domain name involved. You also cannot use this method to get data from the Windows Live server such as contact information because from a different domain, the authentication is invalid.

PocketStackz (PocketPC) review

For Japanese language practice for my course I use PocketStackz by some chaps called “Minddate software”. Its an all-purpose language flashcard program with an emphasis on Asian languages (such as that an Asian Unicode font needs to be installed on your PocketPC).

What sets it apart is that you can immediately see what words you need to study at any point since the program sorts the words into “stacks” from “unknown” on the left to “known” on the right. If you get an answer wrong when testing yourself, the word moves towards the left, and visa versa if you get one right. This means when you have only a few hours until a vocab exam, you can quickly refresh the “most unknown” vocab in the quiz.

Vocab or kanji can be tested in pretty much any combination (romaji to kana, kana to kanji etc) and I find I get better results if I use it for short periods of time often. My test results even confirm this – weeks where I’ve spent 5 minutes a day with PocketStackz have seen perfect vocabulary test scores. You still need a drive to study, when when you don’t need to get your textbooks and pen and paper out (or those silly little “word cards”) its easier to find the time.

The software comes with a free PC application so you can make your own lists of vocabulary, but files for many textbooks and series of kanji (including the official joyo kanji) are available on the developers website. I had to make the kanji files for the Genki textbook series since they were not available, but this was painless using the PC software. Top stuff. 5/5.

Plus its only 19$ from Handango and they have a free trial (which I liked so much I bought it). Thats £8!

Buy or trial PocketStackz from Handango

Genki Japanese Textbook Vocab file for PocketStacks
Genki Japanese Textbook Kanji file for PocketStackz

Japanese keitai flashcards

Update April 2012: Five years later after several server moves, this is no longer online – I’m still hunting for the files. Most likely it wouldn’t work on new keitai’s anyway.

Edo no Tango (Ed’s Tango, エドの単語) is a Flash Lite based Japanese language vocabulary and kanji flashcard utility. Developed to help my study, it currently contains lessons 10 through 17 from the Genki series of Japanese language textbooks.

It uses Flash Lite 1.1 so runs on the vast majority of Japanese contract phones (the pre-paid ones can’t quite manage it). Give it a try! Press the 1 key when in the flashcards to display the button commands.

Postmortem

Flash Lite 1.1 is extremely basic – it only has the features of Flash 4. Flash Lite 2 is much better, supporting a Flash 7-esque feature set but at the time of creating the program was not on any Japanese phones yet – the closest you could get was a downloadable plugin for Nokia devices. There are several limitations of Flash Lite 1.1 which made development challenging:

  • No Unicode support. This was the first major hurdle. Even on Japanese devices, it is impossible to display Japanese text using the device font. Flash Lite 2 fixes this, but in the mean time Japanese text needs to be encoded as vectors or images.
  • 100kb network limit. It makes sense, but all the Japanese networks limit the size of any one file you download to around 99kb. This means with no Unicode, images or vectors for each kanji character soon add up.
  • Dynamic network retrieval of data is limited to rudimentary text files with no XML support. No Unicode means retreiving data was impossible anyway, but this meant I had to create a seperate file for each set of flashcards, needlessly increasing data use and not making a very elegant solution.
  • The phones have very limited memory, so my original idea of using 2bit images for each flashcard resulted in graphical corruption every time. Images would just turn red after showing four or five of them. In the end, 2bit images were converted into vectors using the “break apart” command.

I don’t need to use this now (I bought an off the shelf Pocket PC application to do the job) so I haven’t got round to adding new lessons. Its not simply a case of putting new data on a server unlike a Flash Lite 2 based version would be capable of.