Questions tagged [standards]
Standards are rules and customs that the software industry considers to be important and are codified in some way, either as a formal specification like an ISO standard or a language specification or as a more informal document like rules for behavior at a workplace.
169 questions
-1
votes
2
answers
175
views
Are there any standards for storing checksums of a repository?
I have a repository with many files (mostly binary, images and raw data) and some documentation. The files are stored in a hierarchical folder structure; I want to allow checking the fixity of the ...
0
votes
0
answers
38
views
How to handle events in workflow orchestrator?
I am working on building a workflow orchestrator (like Camunda). It has nodes of type event. This represents a message has been received in the kafka topic which the orchestrator is listening to. The ...
0
votes
2
answers
251
views
Is there some standard or virtually standard way to document code in a language agnostic and IDE agnostic fashion? [closed]
In java we generally do it the java-docs way and in js the popular method these days is vscode documentation using @param, @returns, @example etc but I would prefer if there were some language ...
1
vote
2
answers
164
views
Orchestrator (like Camunda) between frontend and backend?
I have the following use case. We have both a frontend application and a backend application. Earlier, events on the frontend application directly call the backend application. Now we want to ...
1
vote
1
answer
850
views
JSON: RFC8259 Escape forward slash or not?
It seems that the RFC8259 and ECMA-404 definitions of JSON are unclear on the escaping of solidus, aka forward slash.
RFC8259 states:
Any character may be escaped.
All Unicode characters may be ...
0
votes
1
answer
233
views
How to decide when to increase the minimum supported C++ standard version?
I'm maintaining a library written in C++, which offers modern-C++ bindings for another API that's C-ish (it's this one, although I'm trying to make this question somewhat more general).
Now, when I ...
7
votes
4
answers
2k
views
The meaning of "function blocks of limited size of coding" in ISO 13849-1
Section 4.6.3 of ISO 13849-1 concerning "safety-related application software" has following provisions:
c) Software design shall feature:
semi-formal methods to describe data and control ...
0
votes
1
answer
81
views
Regrouping several application files into one
I am working on a C++ application which lets users work on projects.
Each project consists of several files that should not be known / edited manually by the user.
For that we currently use a folder ...
6
votes
2
answers
503
views
How did the IEEE 754 standard choose how many bits to allocate to each field (i.e. sign, exponent, mantissa)?
I've been reading about the IEEE 754 standard, but can't understand how or why they chose those exact number of bits for the exponent and mantissa. For example, why 8 bits for the exponent and not 7 ...
0
votes
0
answers
83
views
Is there a standard for describing information about Java Beans (Bean Introspections)
In many situations we need access to meta information about Java Beans. The Java Reflection API itsself does not work for projects were performance matters so the bigger Frameworks like Spring or ...
0
votes
1
answer
60
views
Handling resource not found
I have an endpoint GET home/{homeId}/laptops . Its response is :
{"homeId":string,"laptops":string[]}
If homeID does not exist I can return '404 Not found' OR an empty response ...
-1
votes
5
answers
458
views
Why follow standards of a voluntary organization?
I'm struggling to understand how, for example, the IETF is a "standards organization" but the standards are "voluntary" meaning there is no civil or criminal penalties for not ...
0
votes
1
answer
270
views
Is a good practice using form tag's atributes in HTML?
Checkout this HTML using the attribute action, method and target from <form></form> tag:
<form action="/action_page.php" method="get" target="_blank">
...
-3
votes
1
answer
116
views
Why is there no web standards for charts? [closed]
Charts are a pretty common thing on the Internet. So that made me wonder why there are still not some web standards for the charts?
I thought that it would be cool if we had some sort of built-in ...
3
votes
1
answer
475
views
What is the role of ISO in the ECMAScript standardization process?
I've been told on StackOverflow this questions was off-topic so I'm asking here:
From this webpage (ISO/IEC 22275:2018):
This International Standard defines the ECMAScript Specification Suite ...
2
votes
1
answer
6k
views
What can be an Actor in a subsystem sequence diagram?
I am doing a lot of sequence diagrams. We decided to start at a subsystem level of abstraction because we do not have all the details yet. In my diagrams I was using this definition of Actor:
In UML, ...
-2
votes
1
answer
45
views
Document containing relevant data in meta-data
I find myself working with documents that need to be displayed to a user and at the same time, I need the information that they bear.
For example, you have a generated PDF document (or other "...
2
votes
2
answers
167
views
How to reflect "functional quality" when implementing ISO 250XX, which is quality model of non-functional requirements?
We want to adopt ISO 25000 quality model, which explicitly states it does not deal with functional requirements (i.e. its Functional suitability is truly about assessing how the functions fit in the ...
6
votes
2
answers
5k
views
How different are float numbers across different hardwares?
Firstly i am aware that different hardware architectures handle floats differently, so I can't guarantee the same result on different machines even with the same inputs.
But in my case i do not have a ...
2
votes
1
answer
2k
views
Any standard expansions to RFC 4122 for generating a name based UUID using SHA256
I am doing some code review for a project and they have generated a name based UUID using SHA256 as the hashing algorithm.
I found a some Java code that created a Name-based (hashing) UUIDs using SHA-...
5
votes
1
answer
1k
views
Whatever happened to HTTP SEARCH? [closed]
It seems 5 years ago there was a proposal for a HTTP SEARCH request, but it does not appear to have been adopted and it not widely supported. Are there any factual documents or citations which shed ...
-2
votes
1
answer
238
views
Are all sockets implemented as per the Berkeley sockets specification?
Are all sockets implemented as per the Berkeley sockets specification in all platforms or languages? What I am trying to understand is; is this the only standard for sockets implementation or there ...
1
vote
2
answers
149
views
Should we switch to standard functions for utilities?
Many projects need a set of various utilities. There is some discussion about where to place them. But what happens if the utility becomes part of the standard?
For example, C++ kept adding to the ...
10
votes
5
answers
3k
views
Consequences of not doing a REST API the "right" way?
I'll ask this question this way - what are the software engineering concerns for not implementing my REST API the "right" way?
What do you mean the "right" way? Well, allow me to explain my ...
5
votes
2
answers
153
views
Is there some sort of standardisation for error reporting? [closed]
I'm looking for some sort of standardisation, in a similar vein as POSIX for compatibility and familiarity between different commandline-interfaces, but for error reporting. Notably, I'm looking for:
...
-3
votes
3
answers
157
views
Does the implementation of GDPR compliance per site make sense in terms of good practises?
Although I understand privacy concerns, the measure has been imposed by politcians and I want to know what the proper way to put this into place would have been.
Right now, each site has to implement ...
-1
votes
1
answer
367
views
How to ramp-up software testing from zero on a code base of approximately six years of development and in a team without practical knowledge?
In a feedback for a (deleted) question I asked here last year, I was told that there is not easy way to do software testing. We may find prepared test cases for protocols but in most case the test are ...
3
votes
2
answers
212
views
What Software Delivery Guidelines are appropriate when outsourcing?
I started working at a very small company that regularly (not too often) has to outsource some software developments. The external suppliers than have to deliver something.
As I now have seen is that ...
144
votes
3
answers
27k
views
What's the phone number equivalent of example.org?
RFC 2606 standard reserves the domain names example.org, example.net and example.com for the purpose of being used as examples in documentation.
What is an equivalent for a phone number (including ...
0
votes
1
answer
398
views
Handling Networking on Android
While doing Android development. There is really no clear way of doing network operations, sending and receiving data.
Currently I am handing it using HttpsURLConnection and having streams to build a ...
48
votes
4
answers
42k
views
Should UTF-8 CSV files contain a BOM (byte order mark)?
Our line-of-business software allows the user to save certain data as CSV. Since there are a lot of different formats (all called "CSV") in use in the wild, we are tying to decide what the &...
1
vote
2
answers
162
views
RFC5322 (Internet message format) ABNF rule error?
I was recently studying Internet Message Format originally RFC2822 and RFC5322. I was looking at definition of folding whitespace.
Each header field is logically a single line of characters ...
2
votes
2
answers
267
views
Testing and Debugging Techniques vs. Rice's Theorem
As far as I got it correctly, as a result of Rice's theorem, the equivalence of two programs is generally not decidable.
Nevertheless, there exists a wide variety of testing and debugging techniques, ...
2
votes
1
answer
340
views
Is the URL 'users/new' RESTful?
I was in a job interview demo-ing a RESTful API in Flask when an argument broke about the API. The interviewer argued that the URL for adding a new user (/users/new) is not proper REST.
My API ...
17
votes
4
answers
4k
views
When should new C projects target very old C standards (>20 years old, i.e. C89)?
Occasionally I see major, relatively new, open source C projects targeting very old C standards, typically C89. An example is systemd. These projects have intelligent people at the helm so they ...
0
votes
1
answer
251
views
How to answer someone who says that quality standards in code are irrelevant? [duplicate]
I had a conversation once with a with a senior development manager. I said that I aimed to produce "good" code, meaning code that is high quality. He said that good code is functional, performant ...
12
votes
3
answers
9k
views
What is actually the difference between the GNU C Library and the C standard Library?
I sometimes see these two terms be used interchangeably.
What is the actual difference between these two terms? How are they used differently? Are there any other alternatives to these two libraries?
0
votes
2
answers
1k
views
IEC62304 SOUP classification of Integrated Development Environments and compilers
I am interested in whether IDEs, compilers or linkers are considered SOUP in IEC62304. I found one website which claimed this is not the case. I think I agree based on my reading of the standard, ...
6
votes
2
answers
304
views
What time horizon and level of abstraction is the right for the maintainable and evolvable software? [closed]
From time to time I feel exhausted in my software development efforts because I am pressed to think and develop in a very specific and very short-term manner. One client here and now requires one ...
3
votes
1
answer
211
views
Are tables inside tables a good idea in the right circumstance
I found myself wanting to put a table in a table. I had a momentary war flashback of legacy webpages and email html templates and was about to shelve the idea, but then I considered that it kind of ...
4
votes
1
answer
3k
views
Why shouldn't you create a custom uri scheme?
In setting up deep linking to android and iOS apps, I've made some use of custom URI schemes, and they work great, especially as a fallback when the mechanism that allows maps from http: fails (as ...
0
votes
1
answer
485
views
When were unsigned types first introduced in programming languages?
Recently I learned that standard Fortran does not support unsigned integers. Fortran is a language with a very long history. I suppose that when Fortran was first designed, there simply wasn't any ...
4
votes
2
answers
1k
views
Is there a standard way to refer to items inside a menu when writing documentation?
At several times in the past while writing software documentation -- including user manuals, user stories, bug reports, test cases, and emails to users/colleagues -- I've needed to be able to refer to ...
0
votes
1
answer
32
views
"preempts no lexical conventions" in a Scheme PL report
I am reading "Revised^5 Report on the Algorithmic Language Scheme," "1.3.1. Primitive, library, and optional features."
In particular, implementations must support portable code by providing
a ...
1
vote
0
answers
889
views
Android intent: Using ?q= in a geo: URI [closed]
I noticed that the Airbnb Android app sends such an intent to open a map app at a particular latitude/longitude:
geo:0:0?q=77.77%2C88.88
From my simplistic point of view, they should use the ...
0
votes
1
answer
162
views
Language code for translation placeholders and translation context?
I'm planning to add a feature to my application where you can switch to the "Translation" locale and then see the names of the translation placeholders in the application instead of the actual ...
150
votes
17
answers
46k
views
Coding standard for clarity: comment every line of code?
I've worked in shops that produce life critical software and I've dealt with commenting rules that were meant to keep the code readable and potentially save lives. In my experience though the ...
1
vote
1
answer
115
views
C++ preprocessor search path search order
Is the #include order guaranteed by the standard to be the order of the -I options in the invocation:
example:
having the folders and files:
A/foo.h
B/foo.h
can it be guaranteed that
#include <...
2
votes
2
answers
598
views
Why is it CRUD instead of GRAS? [closed]
Why is it
Create
Read
Update
Delete
instead of
Get
Remove
Add
Set
?
I've been working with an API that uses ADD and SET and REMOVE. Most accessor functions are named get...() and set...(). I ...
0
votes
2
answers
275
views
Are there any formalised minimum quality standards for software development?
I've joined a very large new company who have very different ideas about what constitutes quality in development. In trying to convince managers about what should change, are there any well accepted ...