• No Comments
Glancing at my previous post, I got to thinking about how, no matter where it originates, programming APIs seem to always come in English… or in some cases the developers’ best attempt at English. Now, I’m not complaining- just thinking about how many software people there are out there for whom English is not their first language. Anyway, consider the XML example from the previous post:
<entry xmlns='http://www.w3.org/2005/Atom'
xmlns:gd='http://schemas.google.com/g/2005'>
<category scheme='http://schemas.google.com/g/2005#kind'
term='http://schemas.google.com/g/2005#event'></category>
<title type='text'>Tennis with Beth</title>
<content type='text'>Meet for a quick lesson.</content>
<gd:transparency
value='http://schemas.google.com/g/2005#event.opaque'>
</gd:transparency>
<gd:eventStatus
value='http://schemas.google.com/g/2005#event.confirmed'>
</gd:eventStatus>
<gd:where valueString='Rolling Lawn Courts'></gd:where>
<gd:when startTime='2006-04-17T15:00:00.000Z'
endTime='2006-04-17T17:00:00.000Z'></gd:when>
</entry>
What if we wanted the API to instead be Japanese… because we all know Japanese is cool. Would something like this even work?
<???? xmlns='http://www.w3.org/2005/Atom'
xmlns:gd='http://schemas.google.com/g/2005'>
<????? scheme='http://schemas.google.com/g/2005#kind'
??='http://schemas.google.com/g/2005#event'></?????>
<???? type='text'>Tennis with Beth</????>
<?? ??='text'>Meet for a quick lesson.</??>
<gd:??
?='http://schemas.google.com/g/2005#event.opaque'>
</gd:??>
<gd:???????
?='http://schemas.google.com/g/2005#event.confirmed'>
</gd:???????>
<gd:?? ?????='Rolling Lawn Courts'></gd:??>
<gd:?? ????='2006-04-17T15:00:00.000Z'
????='2006-04-17T17:00:00.000Z'></gd:??>
</????>
If i had to venture a guess, I’d say “no”. For two reasons: first, I just plugged stuff into Google Translae and prayed it spi ou something reasonable. And two, I’m not sure XML parsers can handle unicode entities… though I might play with that later… just out of curiosity.
• No Comments
… despite my best efforts to smile and play the M$ masochist.. I have to confess that the whole ordeal has been, shall we say, less than Peachy Dumplings. …
• No Comments
Appearantly not. This past weekend I decided to get Drizzle up and running on my box and have a peek around with the source code. Fun times. I haven’t looked at C code for so long, I forgot how ugly it can get and I really struggled to follow a lot of it. I guess I’ve been spoiled by Java for far too long, eh? Needless to say, I wasn’t able to understand a lot of it… though it is a beast of an application.
• No Comments
I was flipping through some articles I had bookmarked awhile back and came across an article posted in late April, which introduced the worlds most powerful operational laser- one that can emit a short pulse of over a petawatt of power…
• No Comments
Well, I haven’t been in the mood to write much lately, but I thought I’d share with everyone that if all goes well tomorrow, I’ll be putting in my an offer on my first home!
• No Comments
The annual Celebrate Fairfax was this weekend- one hot as hell weekend to go to a festival! The event was much the same as the previous years, except for the obvious changes in live performers and vendors. The biggest change, however, was that everything was just a little scaled back- people are feeling the economic crunch it would seem.
• No Comments
Job done!
Today wasn’t nearly as exciting as previous days- most of it was stuff I already new regarding security and such. Also, I had the test, which was a 40-question multiple choice test that wasn’t that hard… so I think I probably did alright.
Not much else to say really- this was just a follow-up and [...]
• No Comments
Almost done- 3 of 4 days over with!
I don’t really have as much to ramble on about here as I did before. My satisfaction with the course as well as the Learning Tree hasn’t wavered and I’m enjoying the feeding of the brain of some new stuff. I’m thinking that they’ll be seeing [...]
• 1 Comment
I’m attending this training course for work at the Learn Tree for four days as a crash course in web services. Good stuff, though most of what we’ve covered so far isn’t new to me at all, but that’s ok- what I am picking up (filling in gaps) has made it worth my while I [...]