Skip to main content

All Questions

Tagged with or
Advice
0 votes
6 replies
106 views

I am structuring the command and response models for my service layer. Currently, putting all models into a single, flat folder (like /commands or /responses) is becoming hard to manage due to the ...
Quốc Dũng's user avatar
Best practices
1 vote
8 replies
140 views

Let's say I named a function DoSomethingAsync. Now, without running it. Do you think it yields, or runs immediately, but returns something later, and allows the caller to continue running more stuff ...
karl-police's user avatar
  • 1,063
1 vote
1 answer
122 views

Trying to control my program time flow with a IRQ, all supervised from a WDT (watchdog) set at 1 min, if program doesn't reset the WDT, system resets. After boot (NVS and FS data fetching), a TIMER is ...
Daniel Riofrio's user avatar
Advice
2 votes
11 replies
6k views

I watched a few tutorials on YouTube. They said to assume a 32-bit architecture and then said "a single CPU cycle can only access a word (equals the CPU's native size i.e 4 bytes) at a time from ...
Random Guy's user avatar
Advice
0 votes
2 replies
120 views

(UPDATE: after various suggestions, some solutions were added at the end. It does seem to be possible to avoid pointers altogether, but it still is not completely ideal...) In the question Can I ...
Jos Bergervoet's user avatar
0 votes
0 answers
80 views

In the non-cloud version of Jira, Structure had a debug feature where you could step through the Jira formula's execution and see the values in each variable. That feature either doesn't exist in ...
BrandonToms's user avatar
2 votes
4 answers
170 views

I have simple program to make a point with x and y coords and function to move it. There are three files: main.c structs.h structs.c structs.h Has the definition of structure typedef struct point{ ...
Akramat's user avatar
  • 163
1 vote
1 answer
54 views

I'm beginning with programming with Lua and want to create a plugin that loops through a folder structure and creates Published collection sets (and smart collection sets afterward). I've come this ...
Keymaster's user avatar
0 votes
2 answers
63 views

I can't seem to find a way to achieve the transition between two different grid structures. The toggle is working fine; I'm simply toggling the class of the divs within the outlining grid-div where ...
Fred Fredrik's user avatar
2 votes
1 answer
131 views

I'm having this error but I don't understand why. I'm creating a structure of size 3x4x4 with 6 fields within loops. Then, I would like to create two more fields for the whole structure. How can I do ...
GMIC's user avatar
  • 41
3 votes
1 answer
152 views

I’m trying to understand the nuances of the restrict keyword in C, particularly how its behavior might differ when applied to a pointer to a structure versus a pointer to a primitive type like int. ...
Alphin Thomas's user avatar
0 votes
1 answer
117 views

I have data like this: ID Text Result I Want 1 abc null Passed 1 Passed Passed Passed 1 def null Passed 2 ghi null Failed 2 jhg null Failed 2 Failed Failed Failed There are several ways to do this I ...
littlequery's user avatar
1 vote
1 answer
111 views

I'm trying to implement a queue and for dequeue I've purposely done with an int procedure. What would be possible drawbacks for using an int? int dequeue(queue *q) { int res = 0; // list not empty ...
Ysw's user avatar
  • 21
-1 votes
2 answers
199 views

I am trying to write a Python function to validate whether a given list follows the same structure as a predefined "model" list, which in my particular case is: model = [ ["h", ...
SNC92's user avatar
  • 11
0 votes
0 answers
73 views

I am not proficient at using structures and arrays but got something to work. Any tips for improving this?screen grab of nested structure <cfset data = DeserializeJSON(_JSNresponse) <cfloop ...
Craig Baker's user avatar

15 30 50 per page
1
2 3 4 5
438