Skip to main content
Filter by
Sorted by
Tagged with
-6 votes
0 answers
50 views

I developed a website using vibe coding and downloaded it as a ZIP file. How do I extract the ZIP file and run the project in VS Code?
Wishnu.chowdare's user avatar
Advice
0 votes
0 replies
46 views

I’m building a system where users create a product with multiple media files (images/videos). Tech stack Node.js / Express backend PostgreSQL Supabase Storage (object storage) Current flow Client ...
Blue moon 215's user avatar
5 votes
1 answer
189 views

I'm writing to a file using C, and would like to be sure to catch any errors in time, not necessarily immediately when the error happens, but still before I close the file. My current approach is as ...
juhist's user avatar
  • 4,516
Advice
0 votes
3 replies
49 views

I need to [create a file with a specific number of empty lines], to which strings are then added to later. I know how many lines the file will need, but not yet how many strings per line, or in which ...
Kharkovchanka 22's user avatar
1 vote
1 answer
68 views

I want to get the last modified date of a file, preferrably in UNIX nanoseconds for easy comparison. I see two solutions online (assume $1 has the filename): stat -c %Y "$1" and date %s%N -...
Coarse Rosinflower's user avatar
Tooling
0 votes
2 replies
44 views

I have a large tab-delimited text file with the following structure: AAA.xyz<tab><various other tab-delimited values> AAA.xyz<tab><various other tab-delimited values> BB.xyz<...
kneeknack's user avatar
Best practices
0 votes
4 replies
139 views

I want to replace one or many occurrences of a certain string with the content of a file, e.g. This is some text with a certain string to replaced with the content of a file. The string to replace ...
user30424's user avatar
  • 271
Advice
0 votes
2 replies
117 views

When a program like VS Code or any other program opens a file, let’s say it is a Python file, it loads it from the hard drive into RAM. Is it possible for another program to change the Python file ...
Gabriel's user avatar
  • 387
Best practices
0 votes
1 replies
56 views

Media types (aka MIME types), defined in RFC 2045 § 5.1 can have parameters such as text/html; charset=UTF-8. There is also an unregistered tree for subtypes, e.g. text/x.mytextformat (defined in RFC ...
Miro's user avatar
  • 121
5 votes
1 answer
177 views

consider script.sh: #!/usr/bin/env bash set -xv [[ -s ./script.sh ]] echo $? [[ -e /dev/stdin ]] echo $? [[ -s /dev/stdin ]] echo $? cat /dev/stdin when executed: $ echo this is some stdin | ./...
Rock Hupperts's user avatar
Advice
0 votes
2 replies
40 views

I would like to monitor a folder with subfolders where every minute a new file is added (by another application). I need to process these files in python as soon as they are added. The folder contains ...
carpediem's user avatar
  • 491
1 vote
1 answer
96 views

I am developing a simple command-line to-do list application in C as a learning exercise. The program allows adding, viewing, updating, and removing tasks, storing them in a text file. Adding and ...
lucas arcoverde's user avatar
-2 votes
1 answer
126 views

I've been learning C programming for a few weeks, and I made a couple of projects, and now I'm working on my third one. It's a simple CLI to-do list. I'm facing problems in the data persistence part. ...
lucas arcoverde's user avatar
-1 votes
1 answer
69 views

I'm learning Rust and have a (apparently) working example compartmental ODE model using the pharmsol crate to solve the ODEs. This code works correctly to output the results of 3 fluxes, over time (...
Jim Maas's user avatar
  • 1,757
0 votes
1 answer
161 views

The main function contains arguments check and a switch for arguments so in packing process, the argument -p FOLDER is passed. The basename does its thing to get the folder name from the path but I am ...
YukiXXL's user avatar
  • 93

15 30 50 per page
1
2 3 4 5
5421