Skip to main content
Filter by
Sorted by
Tagged with
-5 votes
0 answers
63 views

so I'm trying to build an app that sends the phone's sensor data (accelerometer, GPS, etc) to an ESP32 through serial communication I'm not a app developer and I have little to no knowledge when it ...
ThatOtherBilal's user avatar
1 vote
1 answer
71 views

In a Nodejs project, I am using PSD.js to generate a png from a psd. I am using the .toPng() method. I would like to go from this png object to a buffer without saving to the file system. I have ...
Matthew Michaud's user avatar
19 votes
7 answers
3k views

I'm trying to read a package from a buffer, decode it, and then return a package that might contain a requested info or call a specific function depending on the package I received. I'd like to know ...
th3virtuos0's user avatar
0 votes
1 answer
63 views

I have an indicator that draws dashed lines in red or blue as needed for support and resistance levels. However, I have a difficult time seeing the lines on the black background charts, so I would ...
Johnny Sandaire's user avatar
5 votes
1 answer
123 views

This is a follow-up on: Why is it UB to pass a char array as the argument of placement new? The spec says the following for creating an object using an existing storage - [intro.object#3]: If a ...
Amir Kirsh's user avatar
  • 14.4k
1 vote
0 answers
139 views

I'm using Redis for caching in our Next.js application and recently upgraded from v14.2 to v15.3. Previously I've used @neshca/cache-handler for cache handling, but the latest version(1.9.0) of @...
Abu Rifat Muhammed Al Hasib's user avatar
2 votes
2 answers
155 views

My app first takes some input, then it 'thinks' showing a progress bar, then throws an exit code and waits with getchar() for ENTER to be clicked before exiting. The problem is that if I click ENTER ...
Greg's user avatar
  • 171
0 votes
1 answer
47 views

I try so send nodejs Buffers via node:net Server and Socket. That works fine in principle. But when I re-create the Buffer on the receiver side using Buffer.concat(), this is really slow. Expected: ...
GerritP's user avatar
  • 33
1 vote
0 answers
454 views

gLTF and probably other formats have different "buffers" that are long series of data. Unless the gLTF have a "stride", that is interleaved data, every buffer store things ...
Katten's user avatar
  • 49
0 votes
2 answers
119 views

program 1: #include <stdio.h> #define MAXSTR 100 int main() { char ch; char str[MAXSTR]; char line[MAXSTR]; scanf("%c", &ch); // Just read character ...
Lavya's user avatar
  • 1,641
1 vote
0 answers
61 views

We run a ColdFusion server with Internet Information Services and there exists a configuration file called isapi_redirect.properties that specifically has a flag called iis_buffer_enable that is set ...
jadedQuail's user avatar
3 votes
3 answers
153 views

A number guessing C program; After the 4th iteration which prompts “well, is it 5 then?”, the character \n (enter) still remains in the buffer which then gets read by the first getchar() in the while ...
memory_pimp941's user avatar
3 votes
2 answers
196 views

I've got a question regarding the sizeof() operator. Browsing Open Source projects written in C obviously, some developers tend to use the sizeof() operator in one place and on other places the ...
MaSc. H.'s user avatar
  • 133
0 votes
0 answers
145 views

I'm working on a procedural planet generator. My implementation is running a compute shader that calculates vertice positions based on noise algorithms and writing the vertex data directly into the ...
Deltt's user avatar
  • 1
0 votes
2 answers
147 views

I have a line sf object that I am trying to create a buffer around, say 10m, and finally calculate the area of the buffer in square meters. My issue is that, using my current setup, my buffer is ...
Jason Edelkind's user avatar
1 vote
1 answer
57 views

I recently encountered an issue in my Linux development environment. I wrote a function to export results to an Excel file, triggered by a button click. After the function executes, it flushes the ...
mq白's user avatar
  • 31
1 vote
1 answer
74 views

When I run the code, I find it will call the function lsh_read_line() twice.However, according to the logic of the program, it will only call the function once. In the shell, repeated reading is due ...
dazhu's user avatar
  • 53
1 vote
0 answers
17 views

Somehow in one of or more of my loops are overrunning my buffer but I can't catch it. It's either that or somehow my capacity or size is at 0 when it shouldn't be but either way I can't find the issue ...
Shahab's user avatar
  • 11
1 vote
0 answers
488 views

I started a new project using version 0.74.6 because I want to upgrade my old project, which is on version 0.64.4. I've been migrating code from the old project to the new one and installing libraries ...
SurajTopal's user avatar
1 vote
1 answer
92 views

I’m experiencing issues with an upload progress bar that won’t update when uploading files through Nginx. The progress bar fails to reflect any progress updates, staying at 0% throughout the upload. ...
Alo's user avatar
  • 1,315
0 votes
0 answers
53 views

I want to determine that when I click on the Print Screen button on keyboard, is it written to the console whether it’s a image or not? Needs use buffer like const checkHaveImageInClipboar = async () ...
VueFrontend's user avatar
0 votes
1 answer
54 views

I wanted to ask how to access and modify the frame buffer in iOS 17. I want to modify the entire screen to create black bars on the top of the screen, to decrease the total screen size and resize the ...
Suharick's user avatar
0 votes
1 answer
216 views

I'm writing an ASP.NET Core 6 program which receives many files and writes them to a SQLite database. I'm using the following code on the client to send the file: var request = new HttpRequestMessage()...
user27382618's user avatar
0 votes
0 answers
72 views

For what i know, the differences between this codes: #include <iostream> //CODE 1 int main(){ std::cout << "Hi there" << std::endl; while(1); return 0; } #...
Cblue X's user avatar
  • 353
0 votes
0 answers
105 views

BackGround Info: For a Home Automation, an KNX installation (running sound and stable), setup a Group Address recorder. Logging values of heating control valve actuators positions, room temperatures, ...
Arjen Groeneveld's user avatar

1
2 3 4 5
142