9,328 questions
1
vote
1
answer
162
views
How to avoid duplicated Compose Multiplatform resources (strings & drawables) across core and feature modules?
I'm working on a Compose Multiplatform project (CMP) with multiple feature modules.
Each feature module contains a composeResources folder with drawable and values (strings,...) inside.
The issue is ...
0
votes
2
answers
80
views
Vaadin DownloadHandler return 403
I have some set of custom icons. They are stored in resources in a separate module from the main vaadin application.
To upload the iconset, I use SvgIcon with the specified ВownloadHandler.
public ...
Best practices
2
votes
6
replies
133
views
Memory accounting and quotas for subtasks in golang programs
If I have a server written in golang that processes requests containing user queries, is there any viable method to track and limit the memory used by any given user request?
The server process does ...
1
vote
0
answers
35
views
When do i have to use guile dynamic wind functions in a C written library
I wanted to write a library in C to then link into Guile and in it i have to deal with strings. In the Guile manual the scm_to_locale_string() function has the following documentation:
Returns a C ...
0
votes
1
answer
59
views
Kubernetes HPA algorithm [closed]
i have 2 questions:
1 - i'd like to know if i can set my hpa to compare the limits resources instead of the requests resources with the target utilization i choose for memory and cpu(i'm using normal ...
2
votes
1
answer
223
views
Docker based local postgres database gives disk space error during data population, however there appears to be plenty of space
I'm at a bit of a loss here.
I'm running a PostgreSQL Database on Docker on my Mac.
df -h shows that my root volume has 236 GB available.
docker system df shows that only a few gigs are being used by ...
0
votes
1
answer
72
views
Get the result of the triggered pipelines
I have a main azure pipeline (pipelineFinal) that should be triggered when a pipelineA is finished.
pipelineA:
trigger: none
jobs:
- job: BuildA
displayName: "Build Pipeline A"
pool:
...
0
votes
0
answers
243
views
How can I access a static SQLite database as a resource in an Android Tauri 2 app?
I have made a Tauri 2.0 dictionary app, with Android as the target platform. It uses Vue.js on the front-end, with a sqlx connection to a static SQLite database file that contains all the words and ...
0
votes
1
answer
114
views
When creating new Container Apps Environment (with VNet), is it possible to choose the names of the automatically generated resources?
Created a new Environment for the Container Apps, one with Virtual Network Integration, with one more Workload Profile, not only the Consumption, but also a Dedicated D4, a resource group and two ...
1
vote
0
answers
85
views
DirectX 11 Resource sharing from UMD
I'm developing a User Mode Driver (UMD) based on the Microsoft Indirect Display Driver Sample and want to share a D3D11 texture with real-time user-mode processes. However, when a client process tries ...
-1
votes
3
answers
158
views
laravel 11 : resource route doesn't work the same way when it's detailed in some route lines
laravel 11 here
in web.php
Route::resource('event', EventController::class);
works ok
when i replace this line by
Route::get('/event', [EventController::class, 'index'])->name('event.index');
...
0
votes
0
answers
57
views
Angular route doesn't render if pasting url directly or refreshing the page
I'm making a pastebin-like client on Angular 18 and so far the interface works great.
Only issue is that refreshing the page or trying to directly enter the website via the full url (very important ...
0
votes
0
answers
36
views
Laravel 8 Resource::make causing N+1 Queries problem
Background
I have two models Sale and Shipment with following relation in Sale.
/**
* @return BelongsTo
*/
public function shipment() : BelongsTo
{
return $this->belongsTo( ...
0
votes
1
answer
182
views
Is BinaryFormatter used to deserialize images embedded in an application via. .resx files?
In a C# .Net application, is BinaryFormatter used to deserialize resource image data embedded in the application via .resx files and Resource Explorer?
I've been handed a .Net application and the task ...
0
votes
0
answers
12
views
VC++ exe icon gets name "AAA" instead of its number
I'm building a Visual C++ project using the Visual Studio build tools and Visual Studio Code. At some point I added an icon to a project using a .rc file:
1 ICON MyIcon.ico
Which I later load using ...
1
vote
1
answer
50
views
angular multiple resources with single namesource suggestion
I am wondering this is the right way to do this way or not (I am new to resource/rxresource):
this is my templateUrl:
<div class="container">
<table class="table table-...
3
votes
1
answer
169
views
Resource Loading with SpringBoot @Value and JavaFX requires files to be in resources/static with java 9 modules. Why?
As the title says. To load a xml file (and any other file for that matter) via spring boots value annotation, the file has to sit in resources/static/path-to-file when using a module-info file. not ...
1
vote
1
answer
885
views
Godot error message "resource file not found"
When I open my project, the Output window displays the error message: "Resource file not found: res://some-path/some-image.png (expected type: Texture2D)
There was a png image that I used as a ...
0
votes
0
answers
225
views
How do I resolve the 'resource mipmap/ic_launcher not found' error and other missing resource issues in Android Studio?
I'm working on an Android app and am encountering a series of resource linking errors. Specifically, I'm getting the following error:
AAPT:
error: resource mipmap/ic_launcher (aka
com.example....
0
votes
0
answers
309
views
I can't use my resources in Visual Studio 2022 (vb.net)
I use Visual Studio 2022 and Visual Basic. Not a pro but amateur programmer.
I am trying to add images to my project as a resource. Everything goes well and they seem to be included in my solution. ...
0
votes
1
answer
18
views
How to find the relationship between resouces in AWS?
Does any api or method to get an account's resources and the relationship between them on AWS?
0
votes
0
answers
33
views
Problem in accessing right value in resources during changing culture - blazor webassembly - c#
I have these files in Resources project
Titles.resx
Titles.en.resx
Titles.fa.resx
Messages.resx
Messages.en.resx
Messages.fa.resx
now the switching works, but if the language in localstorage ...
0
votes
0
answers
43
views
mvvm application: language changes only after a different UserControl is rendered
It is hard to explain in a few words, I hope wpf mvvm experts can understand the problem and suggest a solution.
In the application window there is a ContentControl binded to the active viewmodel.
...
1
vote
0
answers
64
views
A failure occurred while executing com.android.build.gradle.internal.res.ResourceCompilerRunnable Resource compilation failed
Helo,
I'm trying to compile my app in Android Studio, but when i press the play button I get the following error:
Execution failed for task ':app:mergeDebugResources'.
A failure occurred while ...
0
votes
1
answer
68
views
.NET for Android Project Cannot Access Resources From Referenced Project
I have a Solution containing 2 Projects, one containing Resources & Classs, and the other is a .NET for Android app (which references the first). The first Project compiles with no problem, but ...
0
votes
0
answers
41
views
Java Heap Space in PySpark while running using Rapids GPU
I have an issue when running a Spark submit. I'm not sure whether the problem lies in my Spark script or my resources (but I suspect it's related to the resources).
I have 9 main processes:
A ...
0
votes
0
answers
33
views
While running Feature Extraction for VIT model, I am getting Resource Exhausted Error
While running Feature Extraction for VIT model for 2000 images, I am getting Resource Exhausted Error. We are using Google Colab Pro plan. We selected Compute Machine as T4 GPU.
We find that GPU RAM ...
0
votes
0
answers
94
views
Spring Boot 3 resource server bypass proxy
I have Keycloak server running and a Spring Boot 3.3.5 application as a resource server.
I have configured https proxy host and port via environment variables for entire application via System....
0
votes
1
answer
517
views
Problems adding C# icon resource in VS 2022 error MSB3554 'Could not find a part of the path....'
I can add an icon through Resources.resx and the icons are placed in the Resources folder, but when it compiles I get MSB3554 and another error without a reference code. Both errors are "Could ...
0
votes
0
answers
62
views
How to block adding language resources for Microsoft.SqlServer.Types and Microsoft.ReportViewer in ASP.NET MVC project when it's compiling in VS 2022?
I have an ASP.NET MVC project with a report (Microsoft.ReportViewer). When I compile this project, VS2022 adds dll resources for various languages for Microsoft.SqlServer.Types and Microsoft....
1
vote
0
answers
124
views
Azure SQL Server database query suddenly exhausting DTUs
I have a Microsoft SQL Server database on Azure. Recently a query that has worked in the past started to max out DTUs and never returns. While attempting to diagnose the problem, I rewrote the query ...
1
vote
2
answers
71
views
Resource of Cost of Declaring Variables and Scope
I'm at the beginning of my journey learning C#, I'm mid-way through the Microsoft Learn syllabus. I recently encountered a lesson where they stated it's best for security and resource management to ...
1
vote
0
answers
29
views
Estimate the amount of RAM that can be allocated
I would like to estimate the amount of allocatable memory in a system. On its outset, the question is very platform-dependent and next to impossible to answer. The concrete use case hopefully makes a ...
0
votes
1
answer
55
views
Can't find resources from another module for maven build
Need help from a maven maven. I used ant for years and then switched to gradle on my projects, so I've never really messed much with maven. On maven projects, there was always an expert that handled ...
0
votes
1
answer
53
views
Resources.Load fails in some cases but runs correct in other cases
Maybe I am not seeing the issue after 2 hours of debugging now.
I have the following code for finding a Name in an Enum and loading the asset in an object:
public PokemonBase FindPokemonName(string ...
0
votes
1
answer
77
views
Resource Hacker - Modify Icon Says Invalid Command?
I'm trying to use:
"C:\Program Files (x86)\Resource Hacker\ResourceHacker" -modify "C:\MyProjectDir\x64\Release\MyAppName.exe", "C:\MyProjectDir\x64\Release\MyAppName.exe"...
1
vote
1
answer
81
views
What data structure should I use for cashing my resoures when loading in parallel?
I'm working in C#. For a project of mine I need to load in some resources, I don't have any experience working with threads so after some googling I built a system that works 90% of the time. ...
6
votes
1
answer
3k
views
How do I add a resource as a bitmap to my C# project in Visual Studio 2022?
I know this is probably a dumb question but I've been literally trying to achieve this for like 4 hours. I looked up and down everywhere, asked ChatGPT but I was not able to find a solution.
My ...
1
vote
2
answers
100
views
apiResource laravel problem with show update and destroy methods
I'm using apiResource using Postman I try to get a specific item ("services"), update and delete by API controller but does not work and returns null values.
Here are the details:
Services ...
0
votes
2
answers
221
views
error: attribute 'android:name' in <activity>tag must be a valid Java class name
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:processDebugResources'.
> A failure occurred while executing com.android.build.gradle.internal.res....
0
votes
1
answer
92
views
Gradle Build Fails with Duplicate Drawable Resources Error in Android Project: Conflicting .png and .jpg Files
When I compile using the command line, the following error occurs,but when I compile in Android Studio, I don't get this error. I know that Android doesn't allow two files with the same name in the ...
2
votes
1
answer
802
views
How to use Tauri Resource Files properly on Android
I'm currently trying to write an android app using tauri that is required to access font resource files.
I added these files in my src-tauri directory within a fonts folder.
In my tauri.conf.json I ...
0
votes
3
answers
905
views
How to Add Images to Android Studio 2024 Ladybug?
I am trying to add images to my Android app by adding to res->drawable->image asset, but the images are being added.
Instead it is adding images as icons and not as background images.
How can I ...
0
votes
2
answers
135
views
Multiprocessing pool stops operating - Windows 11
The following code start 5 multiprocessing tasks. Those tasks print a message then go to sleep a random period of time then do this again. That is repeated 10 time so the entire set of tasks should ...
0
votes
0
answers
71
views
jenkins performance issues when using langchain directory loader
I am using baremetal-hypervisor proxmox on my local pc.
There's a virtual machine(12 vcpu, 16 gib) on which jenkins is installed and executed.
And as a part of jenkins pipeline, there's a stage which ...
0
votes
1
answer
74
views
MariaDB: Database connection failed with errno 2002 due to Resource temporarily unavailable
We are sporadically getting these errors for few milliseconds in PHP log on a busy web server.
2024/10/04 02:06:32 [error] 899410#899410: *566044078 FastCGI sent in stderr: "PHP message: ...
10
votes
3
answers
2k
views
How to build structured Resources folder in Bundle with XCode 16?
The question has been asked several times for previous (old) versions of XCode, but answers don't seem to apply to XCode 16.
How to embed, in the Resources folder of an App Bundle, resources with ...
0
votes
1
answer
88
views
Accidentally delete a resource group with NetApp account, Capacity Pool and Volume, chance to restore?
Is it possible to restore a Azure NetApp account / Capacity Pool / Volume if the resources accidentally deleted?
I know that restoring a deleted storage accounts as a resource is possible, is there ...
0
votes
1
answer
203
views
Unable to read a file using ResourceLoader
I have a file merge.json in resources directory of my springboot application,which is running in docker.
'jar -tf app.jar' shows BOOT-INF/classes/merge.json in results.
In code I try to read it as:
@...
2
votes
1
answer
353
views
How to add Bitmaps to my project in Visual Studio Community (post Jun 2024 Update)
I have been developing a C# project for a few months now and using the resource manager to add bitmaps to my app. Before the June 2024 update (which introduced a new layout for the resource manager), ...