Try this in the location bar of your browser (this will run the statements through the JavaScript implementation of your browser and write the evaluated value as a new document):
javascript: typeof("17" - 0)
This type casts the string "17" to the number 17. Your result will be number.
BUT:
javascript: typeof("17" + 0)
will type cast the number 0 to the string "0" and will concatenate it to the string "17", so you will get "170". Your result will be string.
AHA!
This looks like a thing that can result in bugs in implementations.
My family, books, photos, technology, language and some math משפחתי, ספרים, תמונות, טכנולוגיה, שפה, וקצת מתמטיקה
Thursday, July 31, 2008
17th USENIX Security Symposium
17th USENIX Security Symposium: http://www.usenix.org/events/sec08/sec08.html
I found some very interesting stuff there in the technical sessions.
Here's the ToC: http://www.usenix.org/events/sec08/tech/contents.pdf
F5 ASM on DevCentral
F5's ASM has its own DevCentral forum: http://devcentral.f5.com/Default.aspx?tabid=53&view=topics&forumid=47
x6 zoon lense for your cell phone
My friend, Dima Rovniagin, referred me to a site that sells gadgets, where they sell a x6 zoon lense for cell phone cameras: http://www.dealextreme.com/details.dx/sku.3570
Subscribe to:
Posts (Atom)