Skip to main content

Posts

Showing posts from July, 2010

New Logbook and Spotter on Copasetic Flows

There's are two new applications at copaseticflows. The front page now geographically displays the most recent calls from both dxsummit.fi and the copaseticflows logbook. That brings us to the second new application, the copaseticflows logbook. You can log, store, search, and map your calls for free. The new front page can be seen at:

copaseticflows.appspot.com

and the new logbook application can be used at:

copaseticflows.appspot.com/cflogbook

Have fun!

Google Mathematical Formula API Tester

Google has come out with a handy URL based API for adding mathematical formulas to html documents. I haven't seen a GUI tester for this yet, so I'm adding one here.

All formula image links start with the address

http://chart.apis.google.com/chart?cht=tx&chl=

The code that follows the link describes the formula to be displayed. For example, the tester on this page loads with the quadratic formula. Documentation on the TeX codes used to create formulas can be found on Wikipedia at:

http://en.wikipedia.org/wiki/Help:Displaying_a_formula

To use the tester, place your formula tags in the text field labeled 'Formula'. Then click, 'Test Formula' to see the formula as it will be displayed. The 'Formula URL' box will contain your formula encoded into the proper web address.


FormulaFormula URL

App Engine and long Post URLs Error 414

I've been working on an applciation utilizing Google's App Engine.The fist version of my application sent about 500 bytes of information along with each user POST request.The second version up this to around 100 bytes and the App Engine server started giving the error:
Requested URI too long: ... HTTP/1.1" 414 –
This is the http error returned when a post request is longer than the server is configured to accept.After a little research I found this excellent article:http://www.openjs.com/articles/ajax_xmlhttp_using_post.phpthat solved my problem.The short version of the article is:Don’t send the post parameters as part of the url, send them using the XMLHTTP object’s send method once the object has been opened using only the address, (everything before the ?), of the original post url. So, the original code that looked like:
var my_url = "/myhandler?longstring=" +encodeURIComponent(longstring) +//Now send the string to the dbif (typeof XMLHttpRequest != "undef…