Questions tagged [standards-compliance]

400 questions
0
votes
1 answer

Compilation Error with (/permissive-) while creating a 'ClassType>' from 'std::unique_ptr'

I have a code snippet which used to work properly when conformance mode settings were set to off. When I set the conformance mode to (/permissive-). I am facing error in part of the code where template template parameter is involved. My code is as…
0
votes
1 answer

How long must EDI files be archived for before purging them

I am looking to understand the rules behind purging EDI data from trading partners. I am lead to believe there is rules for the amount of time data must be archived for dependent on the country. Is there set rules for how long a company must…
EDI
  • 1
0
votes
2 answers

Eiffel: a way to check type conformance with a given CLASS_NAME

I'm trying to do something as work (a_father: FATHER) do if a_father.conforms_to ({DEVELOPER}) then a_father.code else a_father.change_job ({DEVELOPER}) end end the compilation works, but in…
Pipo
  • 4,653
  • 38
  • 47
0
votes
1 answer

A protocol is not conforming to a class inherited from a generic parent class?

I am trying to conform a class to a protocol however, I am getting error. Here is the code: class UserSearchViewController: GenericSearchViewController I am trying to conform it to a buttontappeddelegate: extension UserSearchViewController:…
Osama Naeem
  • 1,830
  • 5
  • 16
  • 34
0
votes
3 answers

How to allow certain ports open to world only for certain security groups in Cloud Custodian?

I have this in my policy to allow only 80 and 443 open to world. "or": [ { "Cidr": { "value": "0.0.0.0/0" }, "type": "ingress", "OnlyPorts": [ 80, 443 …
0
votes
1 answer

How to make uc() work in Perl like toupper() does in AWK in a locale-aware POSIX environment?

When I use functions like toupper() in AWK, they are automatically locale-aware and process text in the user's current locale. I would like to do the same in a Perl script, but have failed so far. For this, I wrote the following ASCII shell script…
0
votes
0 answers

Regulations regarding caching other peoples content in a content library

In the US, what are the regulations regarding caching other people's content in a company's content library (SharePoint or another CMS for example)? I would like to have indexable references to certain scientific papers from public Internet sites…
0
votes
1 answer

On screen text and accessibility 508 compliance

We have a presentation that is built in storyline. We have narration on a slide and the text on the screen can be tabbed through and read by a screen reader, but it is not because others here are saying that because the narration is basically…
Nick0989
  • 459
  • 5
  • 15
0
votes
2 answers

Is this piece of code MISRA C compliant?

I have to send UDP packets in a vehicle's LAN. The UDP packet consists of 5 fields: field_1: 4 bytes uint32_t field_2: 1 byte uint8_t field_3: 1 byte uint8_t field_3: 2 bytes uint16_t field_4: 20 bytes 5*float I wonder if doing memcpy in a buffer…
ignatius
  • 189
  • 2
  • 14
0
votes
1 answer

Google cloud compliance check (best practices)

I've been looking for few checks to make sure that our company's Google cloud is configured properly. Below are the few cases I want to check via some APIs programmatically. I would like to know which APIs can be used to achieve this. Need to check…
0
votes
1 answer

Allowing %n$ operand for custom printf

I have a custom implementation of printf which I use in my school projects. Wishing to have the same warnings that printf, I use __attribute__((format (printf ...)). That works fine, but using -Wall -Wextra -Werror -std=c11 -pedantic-errors, I get…
VannTen
  • 441
  • 2
  • 12
0
votes
2 answers

Strict vs Hacky CSS - Which is preferable

It doesn't take long to realise when using css that certain things are not cross-browser friendly. For example, when I wanted a semi-transparent png I had to give IE something ridiculous like: filter:…
jcuenod
  • 55,835
  • 14
  • 65
  • 102
0
votes
1 answer

WSDL validation with soap 1.2

Is there are any wsdl-validation profiles available to check the ws-i compliance of wsdl file with soap 1.2? Or I need to switch to soap 1.1 to pass the WS-I compliance test?
Vladimir
  • 12,753
  • 19
  • 62
  • 77
0
votes
1 answer

Swift switch between generics type and protocol conformance

I want to reach this goal: func parse(element: Any?) -> [T] { // if T is kind of MyProtocol, return get result // else let array = [T]() //do some stuff return array } func get(obj: Any?) -> [T] { return //some…
0
votes
1 answer

System to System Authentication (Two-Factor) best model (with highest standards/govt agency sign off)?

All, I am building an interface for a system (ours) that contains sensitive data that must now be made available through a system interface (of our own design) to what will be built into a client's other systems. Scenario :- SystemB calls…