81,555 questions
0
votes
0
answers
15
views
Streaming data from network to another app on Android
I discovered and implemented StorageManager.openProxyFileDescriptor, which opens a ParcelFileDescriptor providing custom read/write callbacks that enable providing a backing data source to stream in ...
-4
votes
0
answers
15
views
What’s the simplest and least confusing way to organize all my files and workflows in ClickUp or Notion?
Question Body / Description:
I'm looking to streamline my digital empire—content files, planning, business docs, creative assets—into one clear, manageable system. I'm torn between ClickUp and Notion, ...
0
votes
1
answer
25
views
Why Can This Not Write To Directory 'Output'?
I am attempting to write a file to an existing directory, using node, path, and fs.
How it's supposed to work:
Init mock data.
Loop through mock data.
Write mock string to existing directory 'output'
...
-2
votes
1
answer
70
views
Deserialize Json file in C# [closed]
I have the following Json file:
{
"@odata.context": "https://mmtruevalves.cc",
"value": [
{
"Date": "2019-08-01T00:00:00-07:00&...
0
votes
0
answers
12
views
'SpooledTemporaryFile' object has no attribute 'seekable' | python
i have been trying to call one API but having issues to read excel file and getting this errors
def insert_secon_file(self, file):
filename = file.filename if hasattr(file, "filename") ...
1
vote
1
answer
33
views
Update PSD files using NodeJS
I need to update a psd files using nodejs script. I have tried with as-psd, psd packages and also converting the psd to png but couldn't come to any solution. Here is my code for ag-psd package:
const ...
0
votes
0
answers
26
views
Problem accessing resources in bundle app MacOS with C
I'm currently working on a project that can compile and execute with multiples OS. I'm currently working on the MacOS version (working with a M2 one). My problem is that I have done a bundle of my app ...
1
vote
0
answers
85
views
Sending a 9MB JSON file takes 3 seconds
I have to provide data from a MySQL database, so I'm extracting that data with a traditional PHP/MySQL prepared statement, turning it into JSON with json_encode and echoing it.
This takes almost three ...
0
votes
1
answer
46
views
On product edit page, to send the same images, need to click on the button and choose the same images again
On the product edit page, if you want to send the same images, you'll need to click the button and select "Same Images" again.
The images are uploaded to Cloudinary as URLs, and they don't ...
0
votes
1
answer
44
views
Leading Spaces are removed when RTF scripted SAS dataset to Export into RTF while concatenating multiple reports
I am trying to concatenate multiple RTF reports into a single RTF file by importing into SAS data and Exporting to Combine RTF file. When I am doing that everything is transferred exactly except the ...
0
votes
2
answers
63
views
The canvas' background color isn't changed
I have 2 seperate files and trying to make a sort of 'module' with this one file. But it does not work.
The background color is still this weird gray color even if I set it to say, black.
Here is the '...
0
votes
0
answers
88
views
Unexpected modification time of created file
I'm writing a unit test of a component that creates a file, specifically the case where it doesn't set the file's modification time (mtime). I.e., I'm verifying that mtime is within the time range ...
-3
votes
0
answers
18
views
Unable to download .tsv file [closed]
I'm trying to run a code, which uploads a .tsv file This file can be downloaded via: https://doi.org/10.3886/ICPSR20240.v8 . However, I'm having trouble identifying the file. Can someone please help ...
0
votes
0
answers
77
views
How can I use a file .txt to store some passwords for many programs in python?
I have a file called password.txt and I want to store some passwords in it, I use it in a file of functions but I don't know how to make it usable for more than one file, every one having his specific ...
0
votes
0
answers
66
views
Changing tkinter elements from other files in python
I am trying to change tkinter elements from other python processes (in seperate files).
Is it possible to do so without restarting the start.py GUI window from end.py due to the import start in my ...
-9
votes
0
answers
76
views
Is it possible to process 2TB file size? [closed]
Is it possible to process 2TB file size using Python and Jupyter Notebook?
The file contains about 730 million rows. I am going to filter some columns by specific client_id.
I'm wondering how much ...
-4
votes
0
answers
39
views
Networked File Synchronization System [closed]
I want make client and server to sync file between each other , Now through socket I received (server) from client information about files my problem how I can distinguish if these name file or the ...
-2
votes
0
answers
67
views
Are external hyperlinks to files broken in Excel? [closed]
I am using Excel version 16.96 (25041326) on a MAC (Running Sequoia 15.3.2). I want to reference an external media file, on disk, from a cell in an Excel spreadsheet. Trying to use the hyperlink ...
-1
votes
0
answers
30
views
"The process cannot access the file because it is being used by another process" error when using Picture Boxes in Windows Forms [duplicate]
I am writing a program that should move images from one folder to another. If I click on viewFolder1Button in Form1 I display imagesUserControl1 that displays all images in a specific folder. Then, in ...
0
votes
0
answers
14
views
kotlin download a file divided into multiple uris in a single request and show a single progress
as stated in the subject, I have an application that provides an audio download service.
the problem is that the audio is divided into multiple smaller files (for example: an audio track divided into ...
1
vote
2
answers
47
views
Making file hidden in Windows using Python blocks file writing
I am trying to make a hidden file in Windows using Python, but after I make it hidden it becomes impossible to write. However, reading this file is possible.
import ctypes
with open("test.txt&...
0
votes
0
answers
22
views
ESP32 FFat fprintf garbage in text file
At first I wrote sketch and it worked. File "info.txt" was created correctly.
Then I tried to rewrite the sketch in the style
File file = FFat.open(path); file.print(message) etc.
But when I ...
1
vote
1
answer
38
views
Opening files of the same extension in different programs based on filesize [closed]
I work with a lot of .csvs for work and they're mostly either under 100 rows or over 1,000,000 rows for various reasons.
Based on the filesize I usually just 'right click > open with > Delimit' ...
0
votes
0
answers
43
views
Gzip files extraction
I am trying to extract .pkl files from the .zip files that are actually gzips. I have tried gunzip but it only works with .gzip extension.
I have tried the following but it gives me all the data (pkl,...
-2
votes
0
answers
82
views
Why can't I type/create my code in IntelliJ after I already made my project? [closed]
I was trying to make a new program in java from IntelliJ. As I made it, everything was going smoothly until after I created the file. I was not able to edit any code. There was no place where I could ...
0
votes
1
answer
29
views
Getting unsupported media type error when sending a file to an endpoint in spring
I am trying to test my file converter using postman and a input button in angular but am receiving a content type error. i have this endpoint that is supposed to capture the file and user. Whenever i ...
-1
votes
0
answers
29
views
Why is "QFile CUPDataFile("/home/user/qt-workspace/Bal_DB_Apps-II/CUsrPx.txt"); QFile CUPDataFile("~/qt-workspace/Bal_DB_Apps-II/CUsrPx.txt");
Why does the second file (path) version not work in QFile??
QFile CUPDataFile("/home/USER/qt-workspace/CUsrPx.txt"); (ok)
QFile CUPDataFile("~/qt-workspace/CUsrPx.txt"); ...
-1
votes
0
answers
18
views
Cannot run python file from file explorer [duplicate]
I currently have a python file in a directory C:\Users\...\startup.py, and I am using Windows. When I run this file from the command prompt (python3.10 "C:\Users\...\startup") it works as ...
-3
votes
0
answers
36
views
Easiest way to open a file of any extension in browser using Express?
I already figured out how to download a file relatively simply (at least on the backend side):
app.get('/api/documents', function (req, res) {
const fileName = req.query.fileName;
const path = &...
0
votes
0
answers
42
views
How to write a string containing binary representation of data to file? [duplicate]
I am trying to write a binary string as binary data to file but my function seems to be having a problem with the int conversion. I am reading a text file and manipulating it which gives me a string ...
1
vote
5
answers
148
views
How we can find & coping .mp3 files recursively in linux into a single folder
Basically I am writing this to transfer all .mp3 files to my mobile through Bluetooth option. If I am directly coping it to SD Card, it is not working. My button phone not recognizing the MP3 files ...
-1
votes
1
answer
66
views
How to copy/use a local jar file to a kubernetes pod directory (minikube on mac)
I'm trying to have a kubernetes deployment to work, on a mac with minikube, and using a jar file located in a local host directory:
apiVersion: apps/v1
kind: Deployment
metadata:
name: master
spec:
...
0
votes
1
answer
97
views
Most efficient way to handle I/O for large files [closed]
I am developing a secure P2P file transfer tool in C which is intended to be used for sending arbitrary-size files from between two machines running the program.
I have been trying to figure out what ...
1
vote
0
answers
32
views
Download a sublist data in a CSV file format after "Download Report" button click on suitelet
I have created a Suitelet script in NetSuite that populates a sublist based on values entered into a textarea field and submitted via a button. This part of the script functions correctly. The sublist ...
2
votes
1
answer
48
views
Can't open p12 file inside my iOS application
I need to open p12 file from other iOS applications to import private key to my application. My app is set up to be able to open any file with following plist
<?xml version="1.0" encoding=...
2
votes
2
answers
78
views
Create a new file, moving an existing file out of the way if needed
What is the best way to create a new file in Python, moving if needed an existing file with the same name to a different path?
While you could do
if os.path.exists(name_of_file):
os.move(...
0
votes
0
answers
21
views
share text file with WhatsApp
I'm trying to send a text file using WhatsApp, the code seems to be correct, everything happens as expected, WhatsApp opens and I select a contact but when I click send, WhatsApp closes and doesn't ...
0
votes
1
answer
36
views
.Rprofile not accessible while using renv
I am using renv for this project and everything was working fine. I think the .Rprofile created by renv got corrupted. Now I can't open or delete that .Rprofile.
I tried accessing the file but the ...
2
votes
2
answers
80
views
insert line with command from one bash file to another
I would like to inject to in docker bash file 2nd line (after #!/bin/bash -x) such a command: set -a && . .env && set +a. I've tried this inside source.sh:
TEXT_INSERT='set -a &&...
0
votes
0
answers
17
views
How to implement downloading logic on strapi?
I am trying to implement downloading file on strapi controller.
I tried this.
const path = "/records/xxxx.mp4"
if (!fs.existsSync(path)) {
console.log("file does not exist&...
0
votes
1
answer
35
views
How do you convert a .cif file to a .mol file?
I've been working with AlphaFold 3 on a Linux HPC, and I've been trying to use Posebusters to evaluate the results of AlphaFold 3 by comparing the predicted structures with the ground truth structures ...
0
votes
1
answer
36
views
Vue 3 routing Issue
I’ve been stuck on this for a while. The problem is that when I click on something like the gallery link, the URL in the browser updates, but the page itself doesn’t change
Defualt URL page = http://...
0
votes
0
answers
27
views
Error in Converting a NetCDF File to Pandas Parquet (/CSV)
I was trying to load a netcdf file and convert it into several parquet files as chunk for further processing. Each file contains data for a unique lat, lon pair for a given time period.
So I started ...
0
votes
1
answer
43
views
Jsf (Primefaces) Download solution posts the whole form? [duplicate]
<h:form id="main">
... lot of things
<p:commandLink id="x" value="Download" ajax="false">
<p:fileDownload value="#{bean.getStream()}&...
2
votes
2
answers
69
views
Writing and returning a File in Kotlin using a buffer
I'm working on a function to process some data and output the results as a csv file. I am using a 'use' block to wrap the function and ensure all the resources are closed. the problem I am running ...
0
votes
1
answer
37
views
Uploading a specific ACF File field into a sub directory inside the uploads folder in Wordpress
I have been trying unsuccessfully to change the upload path of any file uploaded via a specific ACF field.
The field in question has a name of ‘pdf’ and a key of ‘field_67c62165a77ab’
The upload ...
0
votes
0
answers
47
views
How to fix flaws of the type CWE 73 External Control of File Name or Path (new File)
I have batch writer class to get the files from the directory but getting the CWE 73 flaw in the below mentioned line. is anyone have a solution to mitigate this flaw?
this.Dir - this is the DB ...
0
votes
2
answers
42
views
Reading a json file from ECS location and transforming it into list of Object?
I am currently reading a json file from s3 location using the below code and then printing the data.
Json File
[
{
"name": "A",
"lastName" : "B"
},
{
...
0
votes
0
answers
61
views
Is there any way to reduce the size of the fonts files
I'm developing an Islamic app using kotlin android studio, and I'm currently working on the Quran section. I struggled to find a suitable layout to display the text correctly, but I eventually found ...
-1
votes
1
answer
55
views
Why does Visual Studio Code tries to open Dolphin, instead of default terminal on Linux
In VSCode (Specifically Code - OSS), when I try to open containing folder, it only opens Dolphin, no matter what is my default file manager
I have tried to add Thunar instead of Dolphin to
~/.local/...