Skip to main content

Questions tagged [error-detection]

7 votes
2 answers
366 views

The GPT (GUID Partition Table) is the most accepted modern standard for partitioning of a data storage device. Its unit for the offset and size of a partition is so-called sector*. Is it a well-...
Incnis Mrsi's user avatar
-3 votes
3 answers
101 views

On a platform with ECC memory, you can assure the compiled binary is 100% legit with EDAC daemon. (single-bit error will be corrected automatically, and multi-bit error will be logged so you can just ...
hurryman2212's user avatar
0 votes
0 answers
661 views

I have a couple of doubts regarding the quality of my code. I'm working on a helper function (for KoaJS) where I'm validating a Firebase ID token. If it is valid, I return the decoded token; otherwise ...
Guswiri Salpia's user avatar
1 vote
1 answer
165 views

I need to transfer only 5 byte message over the noizy line and I'd like not to make the message much longer with the data protection redundancy. Let's say I suppose that one extra byte should be ...
Roman Matveev's user avatar
55 votes
11 answers
11k views

Let me explain what I mean. I have made a complex, highly polished over years PHP framework/library for my own use. I very aggressively log the smallest notice and immediately deal with it as soon as ...
user379490's user avatar
1 vote
1 answer
1k views

I am trying to process some serial data (sent over UART). Its coming from a radio controlled receiver, is 27 bytes long. The last 2 bytes of this are a 16bit CRC check according to the spec. The ...
James Hounslow's user avatar
1 vote
1 answer
133 views

That is quite specific circumstances I've come across, and I somewhat struggle to find proper way how to approach this. I'm given a class written in swift-language, which has a control property, like ...
Aleksandr Medvedev's user avatar
1 vote
2 answers
210 views

I'm developing JS and PHP scripts and selling them on various marketplaces. But I need to track/monitor errors on my scripts. Usually, I use Sentry for own web apps, but I'm not sure if it's okay to ...
Eray's user avatar
  • 336
-1 votes
2 answers
113 views

I recently applied for a position as a software developer. As a part of the recruitment process, I was given an assignment that involves reading data from a file. The thing is that the example file ...
Lehonti's user avatar
  • 19
1 vote
1 answer
2k views

I am trying to reverse engineer a checksum or CRC wherein an 8 bit number* gets converted to a 5 bit number for error checking. I have an incomplete list of data values and checksums, and need to ...
DrWizard's user avatar
2 votes
1 answer
390 views

I just started learning about hamming codes and they're pretty awesome. I was just wondering though, are the check bits able to detect error in the check bits, as in, if one of the check bits is ...
richard davies's user avatar
-1 votes
1 answer
54 views

BACKGROUND: I've been developing in PHP for two years - self taught, and beyond the most basic editing, really just a year and a half - but my experience is limited to a small number of environments. ...
Carl Elder's user avatar
-1 votes
1 answer
101 views

I've got an idea, but I wonder whether somebody else already has named it. I'm writing code to control a machine with actuators, motors, etc., and software will be responsible for preventing ...
Solomon Slow's user avatar
  • 1,231
20 votes
3 answers
8k views

For example, when you submit a Register form, you have to check in the Domain Model (WriteModel in CQRS) that it is in a valid state (example, email address syntax, age, etc). Then you create a ...
JorgeeFG's user avatar
  • 697
2 votes
1 answer
258 views

Here's a rough translation of a tweet by @xharaken. "Space rays hit computers and mess up the bits in the memory" "hardware bugs mess up the bits in the memory" such things almost never happen, but ...
hello all's user avatar
  • 358

15 30 50 per page