Skip to main content

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.

Filter by
Sorted by
Tagged with
-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 ...
G M's user avatar
  • 273
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 ...
Gopikrishna K S's user avatar
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 ...
Raven Danish's user avatar
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 ...
Gopikrishna K S's user avatar
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 ...
Daniël van den Berg's user avatar
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 ...
einpoklum's user avatar
  • 2,608
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 ...
lightweight's user avatar
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 ...
f222's user avatar
  • 1,040
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 ...
hackm's user avatar
  • 63
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 ...
Chris's user avatar
  • 207
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 ...
Cap Barracudas's user avatar
-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 ...
How To Linux's user avatar
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"> ...
Renato Junior's user avatar
-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 ...
daniilorain's user avatar
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 ...
Hugh's user avatar
  • 141
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, ...
Renato Sanhueza's user avatar
-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 "...
TLP's user avatar
  • 13
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 ...
John V's user avatar
  • 4,936
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 ...
WDUK's user avatar
  • 2,092
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-...
gnash117's user avatar
  • 149
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 ...
chrispepper1989's user avatar
-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 ...
Sisir's user avatar
  • 858
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 ...
Paul92's user avatar
  • 2,601
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 ...
Michael Plautz's user avatar
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: ...
alehresmann's user avatar
-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 ...
James P.'s user avatar
  • 1,223
-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 ...
SchLx's user avatar
  • 113
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 ...
m.weiloa's user avatar
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 ...
Florian's user avatar
  • 1,179
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 ...
Derek's user avatar
  • 121
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 &...
Heinzi's user avatar
  • 9,838
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 ...
Unicorn's user avatar
  • 121
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, ...
Wanderer's user avatar
  • 131
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 ...
Pithikos's user avatar
  • 232
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 ...
Praxeolitic's user avatar
  • 1,664
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 ...
user2882061's user avatar
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?
yoyo_fun's user avatar
  • 2,297
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, ...
sdbol's user avatar
  • 121
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 ...
TomR's user avatar
  • 1,009
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 ...
Goose's user avatar
  • 1,908
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 ...
forivall's user avatar
  • 341
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 ...
gerrit's user avatar
  • 1,348
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 ...
user avatar
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 ...
beroal's user avatar
  • 109
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 ...
Nicolas Raoul's user avatar
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 ...
chiborg's user avatar
  • 283
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 ...
candied_orange's user avatar
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 <...
Toni Homedes i Saun's user avatar
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 ...
Chloe's user avatar
  • 448
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 ...
angel of code's user avatar