Skip to main content
Filter by
Sorted by
Tagged with
0 votes
1 answer
76 views

I'm trying to download files through a popup window. Most of files download correctly, but some one through this error: Error in /Controladores/Descarga.ashx?guid=4b5050f6-2f69-41e1-8bd6-1113686e9575 ...
Pyrus's user avatar
  • 107
0 votes
0 answers
45 views

I don't understand the way the handle my cache tag in magento 2. I have implemented DataObject/IdentityInterface.php for my models wishlist and wishlistitem. So when I create a wishlist for example I ...
R Lopez's user avatar
  • 199
1 vote
0 answers
606 views

I'm building a new server, and thought, its 2025 and probably good time to migrate from iptables, ipset... to nftables. earlier or later it has to happen any way, right? # uname -a Linux starnet 6.12....
Vaidas M's user avatar
2 votes
1 answer
172 views

I have a simple class in C++20 that logs data to a file line by line for Windows platform. To ensure thread safety, I use a static std::mutex to serialize the write operations. However, I encounter an ...
İsa Yurdagül's user avatar
0 votes
0 answers
52 views

I'm writing a data storage library that writes records to specific positions in a binary file. For each written record, its byte position in the file is determined, the file stream is seeked to that ...
ygoe's user avatar
  • 20.7k
1 vote
1 answer
93 views

Why, in this program, does the printf function print or not print depending on where it is inside the loop? #include <stdio.h> #include <time.h> int main() { char frames[] = {'-',...
user13456653's user avatar
1 vote
2 answers
326 views

I have seen many loggers using operator<< to read log messages and write them on file: template<typename T> Logger& Logger::operator<<(Logger& l, const T& s) { l....
Pietro's user avatar
  • 13.5k
1 vote
0 answers
40 views

I am working on a prebuilt API in a .net server. So there I saw we use Page class and append some js external links as <link> tag and I want to flush them early so that the client can download ...
Sushanta Saren Abhi's user avatar
0 votes
1 answer
91 views

I have a simple Bash-script that spend more than 99 % of its time on executing a Python application (the script is just a wrapper that feeds this Python script files in a for-loop and renames the ...
d-b's user avatar
  • 983
0 votes
0 answers
31 views

I know that new line character does not flush the output but endl does. Flushing the buffer means that everything stored in the buffer will be sent to the file which in this case is terminal. "it ...
Himanshu Poddar's user avatar
0 votes
1 answer
82 views

What should I do if the flush command fails to persist the files in wal, resulting in the failure to restart Apache IoTDB? I use Version 0.13.0 of IoTDB, and the error message is: 231 - WAL detected, ...
Monster Zhang's user avatar
2 votes
2 answers
165 views

The C reference states that a FILE* opened in update mode ('+') needs to take the following two precautions: Output cannot be followed by input without a call to one of fflush, fseek, fsetpos, or ...
Christopher Miller's user avatar
0 votes
1 answer
69 views

I am reading the code of pickdb. In this function: def dump(self): '''Force dump memory db to file''' json.dump(self.db, open(self.loco, 'wt')) self.dthread = Thread( target=json....
Lalo Ren's user avatar
0 votes
1 answer
311 views

In h5py, the file in disk is not change when create group or dataset unless call file.flush(), how to implement auto flush when data changes? I can wrap the h5py.File, but it does not work for ...
tigeroses's user avatar
1 vote
1 answer
350 views

I'm starting php directly from the terminal and passing it a .php script to run, I'm not using a web browser. The documentation for flush() says Flushes the system write buffers of PHP and whatever ...
DivergentSpaceTimeWanderer's user avatar
0 votes
1 answer
130 views

I have visited a similar question in SO which was asked earlier. In the answer its mentioned that : When the buffer is "flushed", it will be displayed. Normally, if the output is a terminal,...
user avatar
0 votes
0 answers
412 views

The flush function does not add anything to the database even though it doesn't return any error. Any idea of how can I solve that? Thanks in advance for your help! Here is my code: Controller: #[...
Aurélien Leleu's user avatar
0 votes
1 answer
745 views

In this post, the answer said Flushing: To sync the temporary state of your application data with the permanent state of the data (in a database, or on disk). I think that the flush is executed when ...
3088 K's user avatar
  • 95
0 votes
1 answer
5k views

I have Debezium in a container, capturing all changes of PostgeSQL database records. But i am unable to understand couple of things regarding how Debezium works. If Debezium starts for the first time ...
Stavros Koureas's user avatar
2 votes
1 answer
528 views

I've heard that the following program isn't guaranteed to print the string on every platform and to actually do it you need to add \n to the end or flush the buffer by other means. Is that true or ...
cppbest's user avatar
  • 249
1 vote
0 answers
52 views

I have a problem trying to send stdout in realtime to a log file with nohup by the command nohup python3 -u {} --model_dir={} --pipeline_config_path={} --num_train_steps={} > /lab/FastAPI/logs/...
Gabi Alexandru's user avatar
0 votes
0 answers
35 views

When printing a char array directly I get garbage data printed out with it. #include <iostream> using namespace std; int main(){ char x [5] {'H','E','L','L','O'}; cout << "...
RNAY's user avatar
  • 1
1 vote
0 answers
104 views

As much as I know, we do not get output to the screen from cout, until: 1.Buffer is full 2.Buffer is flushed 3.Program is terminated So i have written following Code: for(;;) { cout << "a&...
Lordoftherings's user avatar
0 votes
1 answer
1k views

I'm trying to make a login page I have been trying for weeks but this error keeps popping up: sqlalchemy.orm.exc.FlushError: Instance <Users at 0x10bd8c580> has a NULL identity key. The error ...
red_panda's user avatar
  • 344
0 votes
0 answers
126 views

Im using serial port for communication with device. But when ı cancel process and send new its executing previous process. serialPort.BaudRate = baudrate; serialPort.PortName = ...
mbb's user avatar
  • 15

1
2 3 4 5
23