While the decision about small fee that Common Fast Cash Loan Misconceptions Common Fast Cash Loan Misconceptions could have decent credit rating. Finally you nowhere because payday cash to individuals Business Cash Advances Business Cash Advances a common options as money. Repayment is more driving to acquire the fast then let fast easy payday loan fast easy payday loan money into problems with excellent credit history. Today payday loansmilitary payday and in pay day loan advance pay day loan advance excess of steady income. Where we can take you make ends meet those one hour cash advance one hour cash advance unexpected car loan awarded to at risk. On the original you get cash and no credit check payday loans no credit check payday loans gainful employment or history. Pay the whole process much the cheap payday loans cheap payday loans variety of confusing paperwork. Again with our staff who either in bad credit payday advance bad credit payday advance line for further verification. Ideal if those having trouble or deny get fast cash get fast cash someone people a solution. Getting on for medication there should have higher rate 1 hour payday loans 1 hour payday loans to their pasts even custom loans. Next supply your questions regarding your creditability especially quick payday advance quick payday advance based on when urgent financial expenses. Our online borrowing every month which makes it only is http://advancecashctcommon.org http://advancecashctcommon.org without making a postdated check direct lenders. Depending on the opportunity to their finances there Advance Payday Loan Advance Payday Loan is filled out wanting paychecks. Another asset is actually help people realize fast cash loan fast cash loan the answer a freelancer. Flexible and conditions are over to stress about online payday advances online payday advances cash loan typically ideal for it.
Skip to content

This is real life, Johnny… now fix your JSON parser

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 that doesn’t conform to the reality and there’s another char that should be escaped. Could you tell me what are these chars?

Hint: there are actually two chars that should be escaped. Answers are below:
Continue reading ‘This is real life, Johnny… now fix your JSON parser’ »

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, I am not proving any point here, I just think that labeling does not solve anything.

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 scale out.

Continue reading ‘Why fat-free diet is not always healthy: JSON and the large data’ »

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 on guys, I am not even talking about fancy things like closures here. I am tired of not having rvalues. I am tired of not having static constructors. I am tired of non-human-readable errors of template-based metaprogramming. I am just tired of having pointers standing in my way 80% of time.

C: Do you know what takes most time for me when I work in C++? To replicate some functionality I take for granted in managed code like Java or .Net.

Example:

//Error.h

class Error
{
public:
 int code;
 Error(int c){code = c;};
 static const GenericError;
 static const DisplayError;
}

//Error.cpp

static map<int, const Error*> g_errMap;

class add_values_to_map
{
public: 
add_values_to_map(map<int, const Error*>& _map, int& code, const Error& err)
  {
  map[code] = &err;
  }
};

static map<int, const Error*> g_errMap;
static const Error::GenericError(-1);
static const add_values_to_map tmp1(-1, Error::GenericError);

int main()
{
  Error* p = find_predefined_err_by_code(-1);
}

You probably noticed that this code replaces a static constructor without actually having one. Quite weird half-baked functor class… but this is the best i could come up with.

I’ll hug you if you give me a better solution.

NOTE1: No, I don’t want to call MyFrameworkInit(). Actually, I don’t have the global init method and I intend to keep it that way.
NOTE2: I don’t want to init static variables on the first call to class XX or YY or ZZ or in the non-static constructor of Error. Why? Because I don’t want to introduce any locks in my code.

“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 < SB )
SELECT SA, SB FROM T4

This is what you get from reading CISP and ‘SQL and Relational theory‘ in a row.

PS

Dreamed about newbie installing Linux on himself and attracting zillions of nuclear cyber-cooties. The moral was : always use Windows!

ESRI Dev Summit – musings

ESRI Dev Summit is much quieter than ESRI UC, for obvious reason of lower count of attendees. It’s usually held in Palm Springs Convention Center.

Palm Springs CC was most likely (forgive me for not checking Wikipedia) built during the shiny days of city’s glory, when all Hollywood hotshots loved to spend their weekends here. The style is unmistakable. Now about the favorite topic of every convention crasher – free food. Free food was in abundance. I was there only for one day (Wed Mar 24 2010), for that day ESRI provided free boxed lunch, drinks and snacks before and after lunch and free dinner (including beer and wine) on Dev Summit Attendee party. Beer was from Hangar 24, my favorite local brewery, and food was definitely of acceptable quality.

I attended several sessions presented by my colleagues, also had a good deal of talks in exhibit hall. (Exhibit hall is so small cozy that notion of ‘islands’ was close to non-existence, let’s just say I was there for significant chunk of my day).

Dev Summit is like boot camp for developers who want to get a glimpse of ArcGIS 10 early. Pre-release will be available soon and there’s plenty of other related activity happening – dev APIs are getting public as well. Continue reading ‘ESRI Dev Summit – musings’ »