If you go to json.org, you’ll be amazed by simplicity and cleanliness of JSON format. At least I was. Now… there are some little things you should know before writing JSON parser: Take a look at these: char any-Unicode-character- except-”-or-\-or- control-character \” \\ \/ \b \f \n \r \t \u four-hex-digits There’s one escaped char [...]
Barricades?
Just had a chat with my colleague on this and that. Among other things, he shared his point of view on what is real programming is. I’ll be brief: – real programming is C and C++ on tasks where every mistake could be fatal (graphic drivers?) – .Net and Java are scripting languages. O-ok… No, [...]
Why fat-free diet is not always healthy: JSON and the large data
It is widely known that the JSON is a fat-free alternative to XML. However, as with any alternative, there is a price you have to pay. Most people don’t even consider limitations of JSON format when they design their JSON-based protocols. However, they exist and they usually appear later, when there is a need to [...]
Why C++ is bad
Time for a rant… A: Say… do you really need template programming in order to concatenate some strings? or, god forbid, you need to tokenize the std::wstring and have to write a method for that? Of you need a stringBuilder-like functionality? B: C++0x standard is going to be old before it will be released. Come [...]
“ZX-14 lady” bot
Google for ‘zx-14 lady’. Quite interesting strategy. Either it is promoting motorbike forum (which is unlikely) or it slowly infiltrates through the spam filters around the world. In couple of years account will reach maturity and the owner will deliver a message… Or maybe someone just testing improved AI text generator on Markov chains.
LISP SQL
I probably discovered America… but this is very LISP-like WITH T1 as ( SELECT SNO AS SA, CITY FROM S ) , T2 as ( SELECT SNO AS SB, CITY FROM S ) , T3 as ( SELECT * from T1 NATURAL JOIN T2 ) , T4 AS ( SELECT * FROM T3 WHERE SA [...]