You Are My Sofa

Thursday, March 11, 2010

Foreign pronunciation self-test

If you record yourself saying something, and then reverse it, it'll sound kinda funky.

If you then try to pronounce the backwards version, and then reverse THAT, it'll sound like you're in Twin Peaks.

More importantly, it'll give you an indication of how good you are at picking up different sounds and subtle variations in speech that are absent from your own language.

I suspect that the better you are at this, the better you would be at noticing and reproducing the differences present in foreign languages.

Labels:

Tuesday, March 09, 2010

Thrifty M&Ming

M&M prices per unit from various sources:

  • $0.03 Bulk barn

  • $0.04 Quarter machine (avg. 6 per $0.25)

  • $0.06 - $0.07 Retail bag (49g)



Note that the quarter machine presumably includes tax, which the other prices do not; also, part of the quarter machine earnings go to charity.

Labels:

Friday, March 05, 2010

Multipart POST: Form variable encoding

Don't use quotation marks in your form variable names.

The input:
<input type=hidden name='the"hidden"value<>' value="2!!!%eeeeee">

Gives the output:
Firefox 3.5.6:
Content-Disposition: form-data; name="the"hidden"value<>"

Opera 10.50 alpha 1:
Content-Disposition: form-data; name="the\"hidden\"value<>"

Chrome 4.0.249.43:
Content-Disposition: form-data; name="the%22hidden%22value<>"

Labels: