Skip to main content

Questions tagged [io]

In computing, input/output, or I/O, refers to the communication between an information processing system (such as a computer), and the outside world, possibly a human, or another information processing system.

0 votes
0 answers
25 views

At what point in the interrupt-processing path does device-driver code execute?

I am new to interrupt handlers and device i/o and I have a few questions: When you load a device-driver, i.e. kernel module, its assembly code is stored in the module-mapping region of the Kernel ...
bonecrusher's user avatar
-1 votes
1 answer
12 views

System.IO.Abstraction: Autofac.Core.DependencyResolutionException: 'An error occurred during the activation of a particular registration

Background I started using the NuGet package System.IO.Abstractions to unit-test File methods (File.Exists(), File.OpenRead(), File.Move(), etc.). I installed the NuGet in both the unit test project ...
Super Jade's user avatar
  • 6,077
0 votes
0 answers
61 views

io.Copy on ssd costs too much time

Recently I developed a simple file upload server using the Go language. The key code is as follows: func saveFile(r io.Reader, n int64) error { objectID := "1cb700e18a864328a561641736af934c&...
simaocat's user avatar
-2 votes
0 answers
73 views

Why does my text based game display my options instead of attacking?

In my text-based Python game I handle random and scripted encounters: import time import os import random import sys from termcolor import cprint health = 75 player_turn_done = False usr_inpt = 0 ...
sp7n0's user avatar
  • 5
1 vote
0 answers
32 views

Digital Signal Processing with Gnuradio - output signals differs from input signal without any modification done

I am sorry for the probably pretty basic question (and not very specific title) - still new to DSP and I have no idea what causes my problem. I am using gnu radio companion and trying to a rather ...
leoposc's user avatar
  • 11
0 votes
0 answers
18 views

do the editor's write rewrite all the bytes on the disk or just the diff?

For example, i'm using neovim and have 200KB file size, when i hit :w to save it, do it gonna rewrite all the bytes in my nvme cells or it will compare the changes and "append" it? I think ...
Rafael Ledo's user avatar
0 votes
0 answers
24 views

iOS Message Filter Extension network action REST calls not authenticated when Shared Web Credentials set

I’ve created a Message Filter Extension using the ILMessageFilterExtension framework, relying on its network action workflow. However, I've encountered an issue where the stored web credentials are ...
BBQGuy's user avatar
  • 1
0 votes
0 answers
26 views

Why does fstreams have 1 cursor for both read & write? (Logically and technically) [duplicate]

Consider the next code: #include <iostream> #include <fstream> using std::fstream; int main() { fstream file("text.txt", ios::out| ios::in |ios::trunc| ios::binary); if (!file) ...
CS Student's user avatar
-1 votes
0 answers
52 views

Non blocking Processbuilder output

When using ProcessBuilder, is there a true non blocking reactive way to consume the output? By true non blocking i mean not creating a thread that is blocked waiting to read, but push-based like ...
dac1n's user avatar
  • 389
0 votes
1 answer
54 views

How do I Exit a Process if a Child Fails?

The program I'm working with requires a secondary executable to run (for asset compression). For error handling reasons, I need the return value of the child process. According to the system man page, ...
Zenais's user avatar
  • 96
0 votes
1 answer
34 views

How to save numpy Polynomial fit

Given a fitted polynomial using the numpy Polynomial convenience class (>1.14) p = np.polynomial.Polynomial.fit(...) what is the best way of saving and loading this fit? There are three arguments ...
Marvin van Aalst's user avatar
-3 votes
0 answers
41 views

Will this hog the IO(HDD)?

I have some code. // files = (1000's of files in folder xxx); for (string f in files){ string contents = File.ReadAllText(f); // do some work with the contents which is <2kb, make results ...
Ranald Fong's user avatar
1 vote
1 answer
89 views

How to read a raw disk without locking/dismounting the volume, using Win32 API?

This StackOverflow question has an answer that requires the volume to be locked/dismounted, but it seems this is not necessarily required. When I use the hex editor HxD (Tools > Open disk) to open ...
Schilive's user avatar
  • 265
-2 votes
1 answer
58 views

Can't fetch the audio data from the sql database using python

I am trying to store a song in a database using Python and then retrieve it using Python as well. The song is in MP3 format. However, when I attempt to retrieve the song file, it does not play. ...
Zid's user avatar
  • 1
-5 votes
0 answers
124 views

Delphi loading RTF file gives me a I/O error 13

I'm writing code for a multi-device application in Delphi 11 that will read from a RTF text file. When running it, I get an I/O error 13. This stumped me and I don't really know what to do to fix it. ...
Arion Swanepoel's user avatar

15 30 50 per page
1
2 3 4 5
1176