standards

alphanumeric and special character sorting

Hi ppl, I wanted to know the different standards of sorting. To be more specific take the sample set: (Please note there's capitals, small letters, special characters, null values and numbers here) A a 3F Zx - 1Ad NULL How would the Oracle Database sort this by default? How would LINQ sort this by default? How would db2 sort this...

How can I keep up to date on the latest web development standards?

First off, I know that this question begs the other question - should the latest web development standards be followed and further will they remain relevant? That aside, I am focused on GUI development, usability, etc. Front-end web development that utilizes XHTML, CSS, JavaScript, etc. I know there are many gurus and thought leaders o...

Global qualification in a class declarations class-head

We found something similar to the following (don't ask ...): namespace N { struct A { struct B; }; } struct A { struct B; }; using namespace N; struct ::A::B {}; // <- point of interest Interestingly, this compiles fine with VS2005, icc 11.1 and Comeau (online), but fails with GCC: global qualification of class name is inva...

When learning C, should one only refer to resources published from 2007 onward?

I ask this question because the international standardization subcommittee for programming languages, or ISO/IEC JTC1/SC22 Programming languages, states on this page: http://www.open-std.org/JTC1/SC22/WG14/www/standards that Technical Corrigendum 3, the latest one, was published in 2007. Now I take it that this means the C language it...

Why isn't there a regular expression standard?

I know there is the perl regex that is sort of a minor de facto standard, but why hasn't anyone come up with a universal set of standard symbols, syntax and behaviors? ...

Html width 100%

Hi, This is driving me nuts. What happens with "width:100%" ? Apparently it just works in IExplore, so I think it's one of those things Microsoft made up. But then... how do you tell to a element that has to take all available parent's space in a way that all browsers can understand? Cheers? ...

Best standards for declaring variable in php

can any one please let me know the global declaration of php variables..i have seen one among the site like.. for integer start with i, eg: $iItemId for array start with a, eg: $aItemIds for string start with s, eg: $sItemName ...

Is it poor form to use CLASS attributes with no corresponding CSS rule?

For example if I wanted to select some elements with a certain class using jQuery, and for that reason only, is it always expected that those classes SHOULD be defined in the css?. <div class="xyz"> something </div> <div class="xyz"> something else </div> //with example jQuery $(".xyz").hide(); //is it wrong no element 'xyz' is defin...

Is the stack unwound when you stop debugging?

Just curious if my destructors are being called. (Specifically for Visual Studio, when you hit the red stop button) ...

Is there a standard C++ grammar?

Does the standard specify the official C++ grammar? I searched, but did not find it anywhere. Also, I wish to read a bit about C++ grammar in detail, like which category of grammars it falls in, etc. Any links pointing me in the right direction would be helpful. By category, I mean taken from here. ...

Purpose of boost::checked_delete

I don't understand the purpose of boost::checked_delete. The documentation says: The C++ Standard allows, in 5.3.5/5, pointers to incomplete class types to be deleted with a delete-expression. When the class has a non-trivial destructor, or a class-specific operator delete, the behavior is undefined. Some compilers issue...

In proper HTML, must an <input> be in a <form>?

I need a few input elements, but their values won't be submitted anywhere - they're just going to be manipulated by some client-side JavaScript. Do I have to place them in a <form> to have legit HTML, or can they just be free-standing? ...

i18n - Should the page URIs be translated on a regional website?

I'm working on a regional ecommerce website (ie. usa, uk, china) that offers a unique product line for each country. The site's URLs are currently in english only. Should these URLs be translated into the region's language? Are site URLs usually translated on regional sites? Example URLs: http://domain.com/products http://domain.com/col...

Link to audio in XHTML/EPUB

I'm looking into synchronizing an ebook in epub format (so the content is in XHTML) to an audio file. I'm thinking of putting something along the lines of: <a class="audiolink" href="sound.ogg?t=1093"></a> into the body of the document, and then have a custom epub reader that recognizes those tags and synchronizes the audio accordingl...

Embed feedback element in rss or atom that does not change the view on click

I am developing a filtering proxy for feeds (rightload.info). A key UI element is a link or equivalent embedded in each entry that allows the user to express an opinion such as "like" or "dislike". A design goal was to support the largest number of feeds and feed readers (and browsers since the most popular feed readers are web based). T...

Empty UL inside LI element

Can anyone explain me why <ul> elementa cannot be empty? And why this HTML: <ul> <li class="header"> <a href="#">Work</a> <ul/> </li> <li class="header"> <a href="#">New</a> <ul/> </li> <li class="header"> <a href="#">Ungrouped</a> <ul/> </li> <li class="header...

Valid HTTP header? `GET /page.html Http1.0`?

Ok so I've been reading up on HTTP and found this page. This is an example HTTP request that was posted there: GET /http.html Http1.1 Host: www.http.header.free.fr Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, Accept-Language: Fr Accept-Encoding: gzip, deflate User-Agent: Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 4.0...

What are the most useful proposed features of C1X?

What are the most useful proposed features of C1X so far? And what support for them is there in current compilers? ...

Order of evaluation in C++ function parameters

If we have three functions (foo, bar, and baz) that are composed like so... foo(bar(), baz()) Is there any guarantee by the C++ standard that bar will be evaluated before baz? ...

What is the rationale for difference between -> and . in c/c++ ?

I know the difference between the member operator (.) and the member by pointer operator (->). Why did the C designers create a different operator for this access? Why can't the compiler figure it out on its own? If you always used a . does any case exist where it is ambiguous whether you mean a member or a member by pointer? edit: I'...