specifications

HTML 5 local computer hardware specs

本小妞迷上赌 提交于 2019-12-06 05:10:31
Is there a way to use HTML 5 to access local system hardware details? I'm looking specifically for attributes about CPU, RAM, Disk space, Video card information, Browsers available and plug-ins (with verson information). Ultimately, I am trying to determine if I can build a tool to check a machine for hardware requirements to run software but do so without needing to actually install anything on the machine. Any help is much appreciated! Thanks! Optimus Prime I don't know if HTML5 can help you but javascript can, more information on these websites. http://ajaxian.com/archives/jpu-javascript

ONVIF : How to form the device web service address from the IP address of an NVT

断了今生、忘了曾经 提交于 2019-12-06 04:08:09
问题 My question is about the ONVIF specification. http://www.onvif.org/imwp/download.asp?ContentID=18006 In section 5.10, it says : A service is a collection of related ports. This specification does not mandate any service naming principles. Lets say that I have the IP address of an NVT (Network Video Transmitter like an IP camera for example), how do I form the address of the device management web service? This service is the entry point of the whole system. Thank you. 回答1: According to the

.NET 4.5 MethodBuilder.SetMethodBody

有些话、适合烂在心里 提交于 2019-12-06 03:56:17
问题 In the newest version of the .NET framework, version 4.5, the MethodBuilder class has a method called SetMethodBody that I believe is exactly what I'm looking at as an alternative to using ILGenerator (which is annoying and limited in odd ways). The documentation can be found here, although since .NET 4.5 is not out yet, it is not fully documented. I can supply all but two of the arguments, but the rest I will need help with. The first that I don't understand is byte[] localSignature , the

Explanation of W3C TTML timing attributes

隐身守侯 提交于 2019-12-05 22:00:27
In W3C TTML dfxp standard , a div element can contain begin , end and duration attributes. How to interpret the value of these timing attributes? Example: <div begin="00:00:22.0 end ="00:00:30.0"> <p begin="0s" end="1s">Hi,</p> <p begin="3s" end="5s">Hello</p> <p begin="5s" end="10s">there?</p> </div> When to present p elements? Any pointers to TTML spec/implementation would be helpful. The latest TTML spec is at http://www.w3.org/TR/ttml1/ Many of the timing semantics come from SMIL 2.1 . There are two parts to your answer: first, how do you compute the times for any particular content

RPM spec files in version control system

耗尽温柔 提交于 2019-12-05 21:37:09
I faced with task of building RPM packets from sources of c++ (but it may be any other language) project controlled with Git. And my question is where should I store ".spec" files for this task? Should it be stored independently of project main sources or be included in them? This task is complicated by the condition that I'm participating in different projects and use different version control systems: SVN, Git, Mercurial. So I'm trying to find most common and convenient solution without reference to capabilities of specific version control systems. If you participate in these projects

How to identify whether an Excel file conforms to Excel 95 or Excel 97 specifications?

喜你入骨 提交于 2019-12-05 17:57:45
问题 How to identify where the Excel file use Excel 95 or Excel 97 specifications? i.e., which version of BIFF they uses. 回答1: You can find the necessary information in the MICROSOFT OFFICE EXCEL 97-2007 BINARY FILE FORMAT SPECIFICATION available from Microsoft. See page 11 for the following explanation: BIFF Microsoft Office Excel version --------------------------------------------------- BIFF5 Microsoft Excel version 5.0 (XL5) BIFF7 Microsoft Excel 95 (XL7) (also called Microsoft Excel version

Why does Array.prototype.push return the new length instead of something more useful?

孤街浪徒 提交于 2019-12-05 14:10:08
问题 Ever since its introduction in ECMA-262, 3rd Edition, the Array.prototype.push method's return value is a Number : 15.4.4.7 Array.prototype.push ( [ item1 [ , item2 [ , … ] ] ] ) The arguments are appended to the end of the array, in the order in which they appear. The new length of the array is returned as the result of the call. What were the design decisions behind returning the array's new length, as opposed to returning something potentially more useful, like: A reference to the newly

Where can I find SQL language specification

大城市里の小女人 提交于 2019-12-05 09:52:06
问题 Is there an official SQL standard? I.e. I want to understand what type of expression is supported by SQL language and how this expression evaluated by server? What documents are using for implementation SQL based databases? 回答1: There is an official SQL standard from the ISO/ANSI committee. Some information can be found here: http://en.wikipedia.org/wiki/Sql However the specification itself is not freely available. You might find some drafts of older specs in the internet if you search for it

Why does the Java ecosystem use different character encodings throughout their software stack?

╄→尐↘猪︶ㄣ 提交于 2019-12-05 09:08:34
For instance class files use CESU-8 (sometimes also called MUTF-8), but internally Java first used UCS-2 and now it uses UTF-16. The specification about valid Java source files says that a minimal conforming Java compiler only has to accept ASCII characters. What's the reason for these choices? Wouldn't it make more sense to use the same encoding throughout the Java ecosystem? ASCII for source files is because at the time it wasn't considered reasonable to expect people to have text editors with full Unicode support. Things have improved since, but they still aren't perfect. The whole \uXXXX

Rationale behind OverflowException thrown with negative array size?

感情迁移 提交于 2019-12-05 08:12:46
After writing code that can be boiled down to the following: var size=-1; var arr=new byte[size]; I was surprised that it threw an OverflowException . The docs for OverflowException state: The exception that is thrown when an arithmetic, casting, or conversion operation in a checked context results in an overflow. I couldn't see how providing a negative size for and array length fits into the description given for this exception, so delved a little deeper and found that this is indeed the specified behaviour: The computed values for the dimension lengths are validated as follows. If one or