What should be the valid characters in a username?
Most web based user authentication systems don't like usernames that contain characters other than letters, numbers and underscores. Is there any particular reason for that? ...
Most web based user authentication systems don't like usernames that contain characters other than letters, numbers and underscores. Is there any particular reason for that? ...
So I have a subscription form where a user is simultaneously creating a new account plus subscribing to a monthly plan. So they're entering username, email, password, and all the usual credit card/billing info. But the problem I'm having is say they accidentally enter an incorrect credit card number...what's the best way to handle that...
I'm interested how to construct certain kinds of layout in RTF documents, ideally using techniques that do not depend only on the most recent RTF standards, and that are "native", i.e., they do not involve embedding other representations, like picture files. In particular: In Postscript and DVI, I can specify a coordinate at any time ...
The title says everything. I am talking about C/C++ specifically, because both consider this as "implementation issue". I think, defining a standard interface can ease building a module system on top of it, and many other good things. What could C/C++ "lose" if they defined a standard ABI? ...
In a section in the <head> tags of my document I have code that lets me use the Id of my asp.net control from JavaScript like this: <script language="javascript" type="text/javascript"> var customerId = '<%= Me.CustomerTextbox.ClientID %>'; </script> However, if I want to modify the page structure in later stages of the page life cycl...
Are there any mnemonic standards for Windows? For example -- the menu bar, actions on the menu bar (e.g. Alt+f to file menu but ctrl+s to do the save under the file menu), and controls. I'm asking because we have a search screen with many controls and we're trying to decide shortcut keys to get to fields and such described above. Is t...
Is there a standard XML format for property listings? I've found a couple: reaxml1 reaxml.realestate.com.au/docs/reaxml1-xml-format.html RELML www.xml.com/98/08/real/relml-dtd.html but which is best / most used? Has anyone created xml property listings using these? ...
I know about html, css validation and some rules in pagespeed about css performance. Is there any all in one tool for checking? May be it can check some best practice for html markup. ...
Hi, I'm currently thinking about a timekeeping application which can store and process information about the times and durations somebody is working. There is national law about working times (at least in Germany), which should be considered. But what about more technical standards? Are there any standards or spezification of models ...
I basically need the full description of the standard as well as any document that touches the subject (its applicability, problems, quality attributes promoted and not promoted by the standard). Any reference will help. ...
Hi, I'm trying to look at the C# Coding Standards to make my code more beautiful and standard, and I have a question: Does functions (methods that are not voids), according to the C# coding standards, should start with "Get"? For example: "GetSongOrder()", "GetNextLine()" etc? Thanks. ...
GCC treats these two function declarations as equivalent: void F(int* a) { } void F(int* const a) { } test.cpp: In function 'void F(int*)': test.cpp:235: error: redefinition of 'void F(int*)' test.cpp:234: error: 'void F(int*)' previously defined here This makes some sense because a caller will always ignore the const i...
I'm using a ORM and ran across a database table named Class. I've been naming the domain objects the same as their table name. So is Class a valid name for this object? I know it will compile but it doesn't seem like a good practice. The table is refering to a versioned C# class. ...
Web services are becoming heart of SOA. The term Web services describes a standardized way of integrating Web-based applications using the XML, SOAP, WSDL and UDDI open standards over an Internet protocol backbone. XML is used to tag the data, SOAP is used to transfer the data, WSDL is used for describing the services available and UDDI ...
Is this code ambiguous or is it perfectly fine (approved by standards/has consistent behavior for any compilers in existence)? struct SCustomData { int nCode; int nSum; int nIndex; SCustomData(int nCode, int nSum, int nIndex) : nCode(nCode) , nSum(nSum) , nIndex(nIndex) {} }; edit: yes, I am...
I am writing (as a self-teaching exercise) a simple STL-Like range. It is an Immutable-Random-Access "container". My range, keeps only the its start element, the the number of elements and the step size(the difference between two consecutive elements): struct range { ... private: value_type m_first_element, m_element_count, m_step; };...
Can optimizing compiler delete infinite loops, which does not changes any data, like while(1) /* noop */; From analyzing a data flow graph compiler can derive, that such loop is "dead code" without any side effects. Is deleting of infinite loops prohibited by C90/C99 standards? Does C90 or C99 standards permit compiler to deletin...
Can subdomains have underscore "_" in them? ...
A while ago I came across this answer that introduced me to the obscure (at least for me) ISO 5218: a standard for representing human sexes (or is it genders? - thanks @Paul). For a pet project I'm working on I need my database schema to store the skin color of a person, and I'm wondering if a similar standard exists. All my life I've h...
sizeof(void*) and sizeof(function_type_ptr*) equality Must sizeof(void*) and sizeof(function_type_ptr*) be equal? Is it required by C (C90, C99) standard? function_type_ptr is pointer to function. This question is about standard requirements, not your own opinion. Please, give links, section numbers and quotations from standards ...