standards

How RFC 5545 is different from RFC 2445

In native Android calendar app RFC 2445 protocol is used to create .ics files. I found in some blogs that RFC 2445 is replaced with RFC 5545. Can any one please tell me what are the extra features in RFC 5545 and how it is different from RFC 2445? Regards, Rajani ...

Maximum number of fields for a C++ object

This answer states that in Java the maximum number of fields an object may have is 65536. Is there any such limit imposed on an object in C++? ...

Column type and size for international country subdivisions (states, provinces, territories etc)

I apologize if this is a duplication. What column standardization would you use for storing international country subdivision data? For example, if it was just US and Canada I believe all subdivisions have a 2-character abbreviation... which might lend to a Char(2) This cannot possibly be sustainable internationally lest we presume th...

JavaScript style and standard practice - "static" method definition of custom user function/object

Forgive my probably incorrect application of terminology in this question (btw, please correct me where wrong). Let's say we have a custom object we want to define. Some of the methods on this object make sense to be 'instance' specific. And we also have some methods that are really independent of the instance, sort of like a public s...

Where can I read C99 official language standard manual/reference/specification online?

Possible Duplicate: Where do I find the current C or C++ standard documents? Where can I read C99 official language standard manual/reference/specification online? ...

HTML Standards and deviating browsers

Good evening everyone. This is a story anyone developing web applications is surely aware of - You create a site, which is well coded and elegant in the browser of your choice - until you run it in a different browser, which a lot of the time required hacking and slashing to create a functioning site. I wish to enquire the techniques u...

Integer overflow in C: standards and compilers

Edited to include proper standard reference thanks to Carl Norum. The C standard states If an exceptional condition occurs during the evaluation of an expression (that is, if the result is not mathematically defined or not in the range of representable values for its type), the behavior is undefined. Are there compiler switches th...

If my python class name has an acronym, should I keep it upper case, or only the first letter?

I have a class named SSLXMLRPCServer. Should it be that or SslXmlRpcServer? ...

How to display user error in Python

Hi, What is the best way (standard) to display an error to the user in Python (for example: bad syntax, invalid arguments, logic errors)? The method should print the error in the standard error and exit the program. ...

Browsers with JS disabled

Years ago I used to design with JavaScript disabled browsers in mind. How important is it nowadays? Is it really something you need to worry about? I've never come across a user in real life who has JavaScript disabled. Anyone got any figures? ...

Where does the dirname/basename terminology originate?

What are the origins and reasons for the terms, dirname and basename, referring to the path with the trailing component removed, and the trailing component respectively? Is the terminology standardized, and where? Are there alternative or equivalent conventions in use to refer to the splitting of a path in this way? Update0 In partic...

socket open to http url and retrieve a data

I would like to open a socket to http url (https://www.abc.co.uk:8433/open/url/client?username=123&password=456) using socket and connect and recv methods of socket.h. The problems are that the url is using 8433 port and the remaining url (/open/url/client?username=123&password=456). Also using https url. Dose anyone know how to do...

Is there a standard database format for financial information of a company ?

Is there any standard formats with which the companies / stock exchanges use to communicate financial data ? I have come across csv format but that is a bit different . Editing for more clarification : I am looking at information like Balance Sheet , Income Cash Flow , these datas are submitted to Securities Board using some format like...

Standardizing of password strength algorithm

Last couple of months I've been wondering about all these password strength meters on websites. If you use the same password in every of those registration forms, the result on meter is sometimes different. One say "Strong" other say "Normal" and there are probably some that would even say "Weak". So the question is, what if there would...

Why isn't the HL7 standard using XML?

I am new to HL7 and the first thing that came to my mind was, why isn't this format using XML instead? There are a handful of parsers and there are some serious inconsistencies among vendors. For those new to the health care software business I recommend this read http://www.interfaceware.com/hl7_version2x.html ...

Is it invalid HTML to write "&" by itself? Why?

Possible Duplicate: Do I really need to encode '&' as ' &' ? I know that W3C recommends to "use "&" (ASCII decimal 38) instead of "&" to avoid confusion with the beginning of a character reference", and that tidy warns of an "unescaped & which should be written as &" but, these warnings not withstanding, is it vali...

GREATEST and LEAST in SQL standard

My understanding is that GREATEST() and LEAST() are not part of the SQL standard, but are very common. I'm wondering, is there a way to clone the functionality of GREATEST keeping within the SQL standard? SELECT id, GREATEST(1,2,3,4,5,6,7) AS number FROM table The fully query: SELECT SUBSTR(section,1,2) AS campus, AVG(...

Is there a standardised way to get type sizes in bytes in C++ Compilers?

I was wondering if there is some standardised way of getting type sizes in memory at the pre-processor stage - so in macro form, sizeof() does not cut it. If their isn't a standardised method are their conventional methods that most IDE's use anyway? Are there any other methods that anyone can think of to get such data? I suppose I co...

websocket for binary transfer of data & decode

I was reading through the specification and many examples about usage of websockets. Almost all of them talk about UTF-8 or ascii message transfer using websockets. The latest Hybi websocket spec requested support for binary transfer. REQ 6 in hybi spec Also i read somewhere that chrome supports hybi. But latest release Chrome 7.0 wor...

Method naming convention

If a method takes a class/struct as an input parameter, what is the best way to name it? Example: class Person{} class Address{} class Utility{ //name **style 1** - use method overloading public void Save(Person p){} public void Save(Address a){} *//name **style 2** - use unique names that define what they are doing //or p...