Questions tagged [specifications]

A specification (also commonly referred to as "spec") is a description of a defined technology and the resources it offers.

When the asset is programming, to know the resources of the language you are planning to use is of major importance. The features offered by a language may be critical in its use by developers and can cause severe problems for the novice ones that are starting to learn the language.

There are many languages and, therefore, each one is documented in a different way. Java, for example, offers a huge amount of information in different formats, either to download or to read in the browser. PHP, as a different approach, will offer the php.net site that’s also a great source of information.

This is an example for Java SE7 specification: https://docs.oracle.com/javase/specs/jls/se7/html/index.html

And here you can start the path in PHP: https://php.net/

The specification may also determine the adoption of the resources in different platforms. If you think about W3C’s specs on web-based technologies, you may remember that many of them depend on adoption of the browsers, since, unlike the examples of Java and PHP where the language resources are developed with the guidance of an enterprise or a group, HTML5 can only be implemented today in a signicative way by the major browser maintainers, like, for instance, Mozilla Foundation (for Firefox) and Google Inc. (for Google Chrome).

An example for this spec can be found at W3C’s site, that’s also full with documents for many others technologies, like XML and Web Architecture. Here is an example of HTML 4.01: https://www.w3.org/TR/html401/

1739 questions
0
votes
2 answers

What implementations of SMTP typically do with the mail data in response to RSET after DATA?

Here is what I gathered from the RFC 5321: 4.1.1.5. RESET (RSET) This command specifies that the current mail transaction will be aborted. Any stored sender, recipients, and mail data MUST be discarded, and all buffers and state tables cleared. …
user6627712
0
votes
1 answer

Specification Pattern with Navigation Properties

Is it correct to use Specification Pattern with Navigation Properties ? I have the follow context: When I add a student, I need to validate the addresses. Student class: public class Student { public string Name { get; set; } public DateTime…
Wilson Santos
  • 105
  • 1
  • 6
0
votes
0 answers

Laptop specification for heavy excel file

I am working on 600 MB+ excel file with more than 8,00,000 rows data in each 10 sheets and extra multiple column of formula in each sheet. Now the excel has stopped responding and is not opening even if I do not touch it for 3 hours. I can't…
Sumit Jain
  • 367
  • 1
  • 7
0
votes
2 answers

How to map Json object to JPA specification for Search query

I have a RequestMaping that get a Search json class as body params. I want to create proper Specification from this search json object so that pass to my Repository like this: pagesResult = myRepository.findAll(mySpec) I have problme with parsing…
Mahdi
  • 6,139
  • 9
  • 57
  • 109
0
votes
1 answer

Block and inline elements within block element

I thought that elements can contain block and inline at the same time, but here says here that this is not so. A block-level box may contain either line boxes or block-level boxes, but not both. If necessary, any line boxes that belong to this…
Serzh
  • 1
0
votes
3 answers

Why Does Java Provide Specification Instead of Implementation

Why does Java not provide a "standard" implementation for all APIs? For example, JPA, XML, Transformers, and more! Wouldn't it be more convenient if there was an implementation and if people didn't like it then they could rely on other libraries…
user640853
  • 163
  • 10
0
votes
0 answers

catch spark conntext exception with spec2

I'm trying to test some code that transforms dataframe to dataset[String] I'm using the following spec2 code to test if my module throws an exception in specific condition. the problem is that spec2 does trace the exception and failed the test even…
Lior Baber
  • 852
  • 3
  • 11
  • 25
0
votes
1 answer

CSP url-scheme http:// matches if resource's scheme is either http:// or https://

Let's take the frame-ancestors directive. Say I want to allow http://*.parent.com to load my page at both https://child.com and http://child.com: If I set frame-ancestors https://*.parent.com we have an obvious violation If I set frame-ancestors…
fabmlk
  • 342
  • 3
  • 9
0
votes
2 answers

C format specifier mismatch with data type

I would like to know, as per C specification, what is the expected behavior in C if the given data type does not match the format specifier expected. For eg: printf("%lu\n", 2);
Quiescent
  • 1,088
  • 7
  • 18
0
votes
2 answers

Is tabindex hack for CSS :focus specified somewhere?

There is a hack to make work :focus pseudoclass for div elements: adding to div tabindex. Like this: .testFocus:focus{ background: red; }
awesomeDiv
Is this behavior specified somewhere in W3C…
Daydreaming Duck
  • 2,110
  • 3
  • 18
  • 25
0
votes
1 answer

Why Are SAML Persistent Identifiers Used as a 'Privacy Protection Mechanism'?

Section 8.3.7 of the SAML Core Specification states that the persistent nameID format is used for privacy protection: Persistent identifiers are intended as a privacy protection mechanism; as such they MUST NOT be shared in clear text with…
josh-cain
  • 4,997
  • 7
  • 35
  • 55
0
votes
1 answer

Standards/specifications for WYSIWYG text editor development

I was playing around with the thought of creating a WYSIWYG text editor from scratch just for fun. As I was getting deeper on the subject , I noticed that I do really know nothing about text editing although I use it every day. Its a much bigger…
therufa
  • 2,050
  • 2
  • 25
  • 39
0
votes
0 answers

Write a criteria query on elements of a Set

how I can write a criteria query if a parameter is a Set? In the class Libro autore is a Set, in my criteria query I want to check on author first name and author last name. If I wirte this method surely don't work because autores is a Set and…
Dennis A. Boanini
  • 477
  • 1
  • 5
  • 19
0
votes
0 answers

Changed saved export specification on MS Access

So, I'm having a hard time trying to add an extra field to an export using the DoCmd.TransferText function in Visual Basic. The Access file was written by a colleague that is no longer in touch with us at work, but he somehow managed to create an…
l_degaray
  • 63
  • 9
0
votes
3 answers

Is there a way to check a computer's specifications, and print the results with PXE booting?

So at work, we check computer's specifications, and need to print these in a standard format. I know how to set up a PXE server already, but I was wondering if it were easy to get a program (or write a script) that will check the computer's hardware…
user377628
1 2 3
99
100