Newest Questions

Filter by
Sorted by
Tagged with
2 votes
2 answers
57 views

Does (possibly) failable destructor require to change invariant violation error handling?

First, I'd like to highlight my personal premise on error handling approaches in C++ (as it might be the source of confusion in the first place). C++ Standards, 2004 (Sutter, Aleksandrescu), item 68 ...
Aleksandr Medvedev's user avatar
0 votes
0 answers
12 views

Set-Cookie header is found in Response header but not found in Cookies Storage [migrated]

Context: Trying to login, the request is working with success login. But for storing refreshToken, the cookie is not being set in Cookies section and not found. Backend sends set-cookie header with ...
Geek's user avatar
  • 1
1 vote
1 answer
162 views

How to manage connection strings for CI/CD and local debugging that works for .NET Framework web apps and desktop apps?

We want CI/CD to inject the production connection string into a .NET Framework app.config during deployment. In source control, we only want test/staging DB connection strings. Developers should ...
EMN's user avatar
  • 601
0 votes
1 answer
133 views

Why do database protocols use fixed endianness instead of native server endianness?

Most database wire protocols mandate a specific byte order for multi-byte integers: PostgreSQL: big-endian (network byte order) MySQL: little-endian MongoDB: little-endian (BSON format) OracleDB: ...
ybjeon01's user avatar
3 votes
2 answers
312 views

Backup for an Android offline password manager

I am building an Android password management app, where passwords are locally kept for security reasons. The network endpoints are only for creating an account, email verifications etc. I want to ...
dev4Life's user avatar
1 vote
3 answers
156 views

How can I introduce migration scripts to a team that has stopped using them?

In my working experience, I am into a situation in which the team has stopped using migration scripts for setting up the db. The team is fast paced focusing on business upon a 1-year old startup. ...
Dimitrios Desyllas's user avatar
1 vote
1 answer
87 views

How Should Services and Presentation Layers Share Data in Web Applications?

Lately, I’ve been studying the fundamentals of Software Architecture for web applications, and I’m a bit unsure about how the data and presentation layers should interact. From what I understand, the ...
ikiwq's user avatar
  • 49
2 votes
2 answers
97 views

How to deal with a poorly documented AWS SQS feed for a security product API?

I’m integrating with the Ajax Enterprise API which exposes an AWS SQS feed for device events and notifications. The API documentation is here: Ajax Enterprise API Docs. Each SQS message supplies an ...
alstr's user avatar
  • 129
-2 votes
4 answers
323 views

Terminology for a case where the same algorithm produces different results during tests?

I'm testing writing 10 MB of data to a server. The expected result echoed back is 10485760 bytes. 160 writes of 65336 bytes. Approximately 1 of 5 tests I get back 10420224 bytes in the test. 65536 ...
guest271314's user avatar
0 votes
0 answers
63 views

Strategies for flexible, maintainable and easy to read data access [closed]

For me the hardest part has always been designing data access layer. After trying various strategies I started leaning towards many small focused DAOs like in example below. public class ...
Linas's user avatar
  • 109
1 vote
2 answers
113 views

Designing persistence guarantees in an ingestion pipeline with a non-customizable intermediary

I’m migrating a large volume of historical RRD data into a VictoriaMetrics cluster. By design, vminsert buffers and asynchronously forwards data to vmstorage. This makes it unclear when data is ...
SPYN's user avatar
  • 21
3 votes
6 answers
619 views

Can a language be sound if it doesn't promise safety?

It is said that C's type system is unsound, which means that it has "false negatives", it tells the programmer everything is fine, but then the code fails at runtime. for example, "the ...
Ghassen's user avatar
  • 175
-4 votes
3 answers
200 views

Optimizing a "Transfer-Encoding: chunked" parser [closed]

I have written a parser for Transfer-Encoding: chunked requests over HTTP/1.1. Now I'm working on optimizing the code. This is the specification 7.1. Chunked Transfer Coding. The first optimization ...
guest271314's user avatar
2 votes
2 answers
149 views

How should multiple ViewModels communicate in a larger WPF MVVM application?

I’m working on a WPF MVVM application that has grown beyond just one or two User Controls. I now have multiple ViewModels that need to react to each other’s actions (e.g., selecting a customer in one ...
Sam's user avatar
  • 29
-2 votes
2 answers
132 views

Preventing duplicate customers from company entry vs mobile sign-in [closed]

We have a system where customers can be created in two ways: By a company — the customer belongs to that company and the company can edit their information. By a mobile user — the customer has a ...
user93865's user avatar

15 30 50 per page
1
2 3 4 5
4290