Questions tagged [standards]

Standards are officially published or well agreed upon formats, procedures, or protocols. They allow individuals or organizations to collaborate by setting ground rules or boundaries. Standards often come with a set of preconditions or assumptions, which allow collaborators to take those conditions or assumptions as ground truth.

The concept of "standard" is at least as old as the Roman Empire, where the standard was a rod of wood often decorated with a headpiece or banner and carried at the front of an army's march. This one rod was used to establish a common length for contructing camps and buildings. By using the same length, workers constructing a door could operate independently of other workers constructing a door frame. And when the pieces were brought together, they fit.

Modern standards are often created by jurisdiction-based entities like national standards organizations (like ANSI in the USA) or the International Standards Organization (ISO).

3387 questions
3
votes
4 answers

What order should you put CSS properties in?

Is there a correct order to put your CSS properties in? I've never been told to put my properties in a certain order. I guess it's personal preference? Server side languages have various standards you can code to. Are there standards for CSS? I…
Pattle
  • 5,983
  • 8
  • 33
  • 56
3
votes
1 answer

Where is the specification for the Base Class Library?

I am looking for the "definitive" specification for the Base Class Library. I've perused ECMA 334, ECMA-335, IEC 23270, IEC 23271. And I expected to find details for everything in all the standardized BCL namespaces (e.g., System,…
jltrem
  • 12,124
  • 4
  • 40
  • 50
3
votes
1 answer

International standard for calendar system names

Is there an international (or widely used) standard code to specify the names of calendar systems? I'm working on an application that (among other things) stores and presents historical dates in multiple calendar systems, such as Gregorian, Jewish,…
3
votes
1 answer

Does rule about "distinct addresses" apply to objects created by new?

The draft C++11 standard says Unless an object is a bit-field or a base class subobject of zero size, the address of that object is the address of the first byte it occupies. Two objects that are not bit-fields may have the same address if one is a…
ajb
  • 31,309
  • 3
  • 58
  • 84
3
votes
3 answers

Focussing on Style Sheets and Cross Browser Compatibility

Let me begin this topic by explaining my background experience with web design. I have always been more of a back end programmer, with PHP and SQL and things. However I do have a shallow background with HTML and CSS. The problem is, I don't know it…
Sam
  • 18,417
  • 5
  • 22
  • 11
3
votes
1 answer

C++ headers, foo.h vs cfoo

If one actually wants functions placed into the global namespace, then is there any benefit to using this style: #include using namespace std; Or can one just do #include for an identical effect?
fieldtensor
  • 3,972
  • 4
  • 27
  • 43
3
votes
5 answers

Thoughts on Abandoning Proprietary Framework for A Larger Open Source Project

We have been going back and forth a lot around our office lately about abandoning a proprietary framework that was developed here a couple of years ago and move to something that is larger and community supported. Our current solution was built to…
3
votes
2 answers

Why won't sys/stat.h define ino_t with -std=c1x?

I'm experiencing a strange problem with some C code I am writing. Consider the following code: #include ino_t inode; According to POSIX.1-2008, the header file defines ino_t1: The header shall define the…
fuz
  • 88,405
  • 25
  • 200
  • 352
3
votes
2 answers

What defines the availability of the DOM `document` property in the javascript global object?

I am a bit new to javascript and was trying to understand how the W3C DOM standard and javascript as defined by ECMAscript interoperate. Specifically, as I understand it: the ECMAscript standard defines the existence of a Global Object, which…
Robert Tuck
  • 312
  • 1
  • 9
3
votes
2 answers

Is there an XML standard for Ecommerce Products?

Is there a standard way of transferring product data between e-commerce web sites? I presume there are several cases where a company wishes to include another companies products inside its store. How then would this be accomplished? I presume an…
Jon Winstanley
  • 23,010
  • 22
  • 73
  • 116
3
votes
3 answers

Where does C++ standard define the value range of float types?

As far as I know floating point values are of the form n * 2^e, with float range being n = -(2^23-1) - (2^23-1), and e = -126 - 127, double range being n = -(2^52-1) - (2^52-1), and e = -1022 - 1023 I was looking through the C++ standard, but…
shojtsy
  • 1,710
  • 3
  • 17
  • 24
3
votes
1 answer

Which browser returns the correct result for getBoundingClientRect of an SVG element?

This SVG contains a rect which overflows the SVG element: Chrome 28 and Opera 12 return a getBoundingClientRect() for the SVG element with a width and…
John
  • 29,546
  • 11
  • 78
  • 79
3
votes
2 answers

Linux Daemon written in Java location

I'm currently writing a Java daemon. I'm writing a script that will have the standard daemon commands (start, stop, restart, status) and I'm trying to decide on where things should go when installing the daemon. My current idea is: PID File:…
William
  • 15,465
  • 8
  • 36
  • 32
3
votes
4 answers

Why there is so many functions in string.h library that are "not recommended for use"?

There is something I try to understand about C origins, why there are functions that are not recommended for use in most of SO questions. Like strtok or strncpy, they are simply not safe to work with. Evrywhere I see recomendations to write my own…
eugen-fried
  • 2,111
  • 3
  • 27
  • 48
3
votes
1 answer

Does the top-level value in JSON have to be an array or object?

This object literal is valid JSON: { "foo" : "bar"} And so is this array literal: ["foo", "bar", 1, 2, 3, null] But what about a string by itself? "foo" Or a number by itself? 0
Patrick McElhaney
  • 57,901
  • 40
  • 134
  • 167