C++98, 17.4.3.1.2 Global names
- Each name that contains a double underscore (__) [...] is reserved to the implementation for any use.
950 karma · joined May 25, 2010
C++98, 17.4.3.1.2 Global names
- Each name that contains a double underscore (__) [...] is reserved to the implementation for any use.
http://www.doc.ic.ac.uk/lab/cplus/c++.rules/chap5.html
"The use of two underscores (`__') in identifiers is reserved for the compiler's internal use according to the ANSI-C standard."
No, this is culture-specific. In Russia, postal addresses are written exactly the opposite ("big endian") way.
Keyboard bindings and general IDE approach are orthogonal concepts. There is no reason you can't have modern innovative IDE with familiar keyboard bindings.
The real problem with auto_ptr is that if anything emits a call to auto_ptr destructor at the point where the object pointed to is incomplete (forward-declared), the destructor code won't run, only memory would be freed.
In Russia, most social networks these days require that you sign up with a mobile number. You cannot start using your account without receiving an SMS verification code.
The most common implementation is to require to reset a password via a link sent in the email (and only then you answer security questions), which solves the particular problem you describe.
Server-side web application frameworks are a well-understood and rigid domain: there is only so much variation you can get in the core structure, so it's easy to keep in mind the meaning and scope of Flask's "magic" implicit state variables.
I have used (and continue using) Flask for small- and medium-size projects, and thread-locals so far haven't been a maintenance burden.
No. Just... no.
I'm really pleased that Symbian is dead (or on life support). It is, so far, the worst platform I have ever had to deal with. Eclipse-based IDE for €300-1300, partner-only premium APIs, completely unusable multi-gigabyte emulator (if you needed to run two instances, you had to install... two copies in different directories!), awful documentation, terrible system libraries, and quirky Symbian C++ dialect... it was quite an experience, but I will never miss it.
Anything we have today is better than Symbian.
What baffles me is the amount of rationalisation. I come from Russia, where piracy is a social norm, and if you pay full official price for entertainment products, you are either a sucker, or a rich person asserting your wealth status (I don't imagine much has changed). But Russians never attribute themselves downloading movies and cracking games to some higher purpose: we just like free stuff, and gaming the system for personal gain is a national pastime.
Consider the following cases:
1. a company violates a FOSS license by incorporating GPL code and not releasing source code.
2. a company takes an image produced by an artist and sells T-shirts of it without the artist getting compensated.
3. a website/mobile app/elements of branding get replicated (or very closely reproduced) in a new website/app (think Zynga, Chinese/Russian clones of Facebook/Groupon and whatnot).
4. site content gets scraped wholesale, and fed into another AdSense-infested site.
In all these cases, noone lost any money when bits got copied (in fact, sometimes the offending party would produce original work to mimic the product in question), yet doing above things is a no-no, but downloading movies is OK. I don't mean to take a high moral ground here, but it's baffling for me to see the cognitive dissonance.
- The signature: SHA1 HMAC of data and, optionally, a timestamp to expire signatures.
- HMAC key derivation: SHA1 of a secret key and a salt.
(Yes, I realize the irony of this comment, I should be doing things right now.)
Is this one correct, though? I recall that insiders have selling restrictions for 180 days after the IPO date.
Also, so did HKEx (for the entire day, on option expiry day!) due to a typhoon (?), as far as I recall.
This is non-news. Exchanges do stop trading unexpectedly sometimes and it's hardly specific to Russia. I'm not sure what was the submitter's interest in it.
Care to explain? I was under the impression that the recent 32-bit memory usage issues are specific to the 8g implementation only.
1. I've never got downvoted for asking something that could be found by googling and don't downvote anyone else for it (unless it's the blatant "give me the codez" type of question). In fact, usually such questions are considered a low-hanging fruit for those answering the question (and who know where to look).
2. My spelling/grammar errors get corrected by users with editorial powers (and I try to do the same).
3. I consider this the advantage of the site: incorrect answers get downvoted, correct answers get upvoted.
This usually means that if the information is any good for profitable trading, it will be quietly used to make a profit and won't be shared with general public.
http://news.ycombinator.com/item?id=561311
http://news.ycombinator.com/item?id=2657554
http://news.ycombinator.com/item?id=2345552
However most of these submissions do not sit well with me as they try to glorify introversion as some sort of superpower or an exclusive club, and contain a hefty dose of ego stroking.
http://www.nytimes.com/2010/11/28/business/28borker.html?pag...