1,690 questions
0
votes
1
answer
40
views
AWS CDK not updating ECR with ecrAssets.DockerImageAsset()
I use CDK to generate a CloudFormation stack.
When I run cdk synth and cdk deploy, the ECR image and the Task definition don't get updated. In order to force the update, I have to:
delete the built ...
0
votes
1
answer
379
views
FastAPI application: page stuck loading
I'm trying to create a basic FastAPI application. Initially, my project directory looked like this:
.venv/
main.py
where .venv/ is my virtual environment with FastAPI installed, while main.py has the ...
1
vote
0
answers
20
views
Fluent UI GroupedList not showing both files and folders in same-level folder
I'm using Fluent UI's GroupedList component in a React app to build a file/folder browser UI. The structure I'm rendering is hierarchical, where each group represents a folder, and it can contain both ...
0
votes
0
answers
26
views
managing different folder structures between development and deployment in a WordPress plugin
I have developed a WordPress plugin that is now live on the WordPress Plugin Directory. However, I'm facing an issue with managing different folder structures between my development environment and ...
0
votes
0
answers
67
views
Relative paths for KMZ thumbnails
I am having an issue with getting some thumbnail jpeg images to pop-up when I click on point locations I have in a kml. I know that I need to set the image location and when I use the full file path ...
0
votes
0
answers
83
views
SvelteKit Chrome Extension
I am trying to use SvelteKit to make a chrome extension. From my understanding, I need a manifest.json file inside the static folder. Because chrome does not allow inline scripts, I also need a ...
0
votes
1
answer
37
views
Using another's python code as a folder inside my folder and using files from both
I have the following code structure in python:
Application
├── app
│ ├── data/
│ ├── utils/
│ │ └── utils.py
│ └── main.py
├── utils2/
│ └── utils2.py
└── main2.py
I downloaded ...
0
votes
1
answer
81
views
How do I best layout a kivy project so it can be built for multiple platforms?
I'm trying to figure out a project layout for a kivy app that will allow it to be built as:
a python module (so it can be distributed via pypi and thus 'pipx install')
an android app
a windows app (...
0
votes
1
answer
50
views
How do I decrease the length of imports for my custom package?
I have a package called "library". The directory structure looks like this:
-library
+src
*pkg1.py
*pkg2.py
-pyproject.toml
-__init__.py
Currently, the import looks ...
0
votes
1
answer
113
views
Compare 2 directories based on their folder structure in batch
I am working on a batch script that takes user input of a source folder and a destination folder. I want my script to iterate through both folder structures and log which folders are not present in ...
0
votes
1
answer
136
views
Windows Powershell / robocopy: copy directory structure and full folder content - but only if folder contains PDF
I try to write a script that does the following:
determine folders that contain PDF files from a source dir
create the full original directory structure down to these folders to a destination dir
...
1
vote
1
answer
130
views
Why does my Python package install files directly into site-packages instead of under my package directory?
I'm working on a Python package with the following structure:
cfkit/
│
├── README.md
├── setup.py
├── .gitignore
├── LICENSE.txt
├── src/
│ ├── problem.py
│ ├── contest.py
│ ├── __init__.py
│ ├...
0
votes
1
answer
312
views
Folder structure conflict of Expo react native app with FSD v.2
I want to use FSD v2 with Expo application. As Expo application uses file based routing like a next.js, there is some conflicts. However, I found that there is possibilities to solve according to ...
1
vote
1
answer
209
views
Difference between a page component and smartcomponent Angular
I just finished reading an article about the recommended folder structure in an Angular project. The part about the feature modules caught my attention because it recommended to include a "top ...
0
votes
0
answers
25
views
Django: How to undo ModuleNotFoundErrors due to multiple site-packages locations
When I run my Django project, why does it check for site packages in a folder other than where my project is located? The correct location where the project and package files are located is:
C:\Users\...
0
votes
1
answer
849
views
How to change the default extension install folder of Visual Studio 2022?
The default folder that the Visual Studio installs the extensions is the following: %LocalAppData%\Microsoft\VisualStudio<Visual Studio version>\Extensions. So I want to change the folder to a ...
0
votes
0
answers
22
views
Rewrite url with dynamic subfolders to php handler
I'm trying to clean up my site a little bit and I am running into a bit of an issue with .htaccess rewrites with dynamic/unknown subfolders.
What i'm trying to achieve is the following
Accessing
/...
0
votes
1
answer
57
views
What is the recommended way to store application-wide values like the path of its AppData folder?
I'm working on a C# application and need to store application-wide values in a MVVM project, such as the path to its AppData folder. What is the recommended approach to achieve this? I'm very new to C#...
-1
votes
1
answer
261
views
example of how to separate sample project into separate files?
When you create a new project in Flutter v3.19, it creates a default app in /lib/main.dart
/lib/main.dart contains three classes:
class MyApp extends StatelessWidget
class MyHomePage extends ...
1
vote
1
answer
608
views
How To share/manage Typescript Types between Frontend and Backend In Big Projects
I have a MERN project with the following folder structure.
backend is an express,mongo backend. With the following structure.
frontend is folder of 3 vite react projects. each has the following folder ...
0
votes
1
answer
55
views
Problem in creating folder and file after upload in Django
I'm creating a source code evaluater platform using React and Django. Basically an user is going to upload a source file of his choice, my frontend sends the file to backend, which is working fine, ...
1
vote
1
answer
87
views
Ruby Script Recursively Creates Deeply Nested Directories
I'm working on a Ruby script, specifically with a method named copy2tmp, (copy pasted method definition)
define_singleton_method(:copy2tmp) do |files|
files.each do |f|
if File.symlink?(f)
...
0
votes
1
answer
712
views
aws s3 cp - Copy only specific subfolder tree using awscli
I would like to copy only certain subfolder tree from S3 to my local disk. We have multiple JDBC source connectors for each table in the database and an S3 sink connector. I want to copy the file ...
0
votes
0
answers
247
views
Correct date/time metadata for files on sharepoint based on file information from Word/Excel
Maybe someone has a good idea for the following problem.
In our company, we just went through a take-over of our Microsoft 365 domain. During that process, all data from the old sharepoint was ...
1
vote
1
answer
676
views
nextjs correct folder structure and dynamic routing
So i have this Link which passing a href
{
name: "Action",
cell: (row) => (
<div className="flex items-center space-x-5">
<Link href={`/...