Questions tagged [resources]
Assets (like memory, disk space, CPU power or alike) necessary for effective operation or physical files (like images, configuration files or other) to provide some externalized enrichment to an application.
9,103
questions
0
votes
0
answers
25
views
How to manage vertical pod autoscaler for many deployments?
I'm running kubernetes on AKS with both staging and production clusters having only 2 vCPU/ 8GB per node. I'm constantly in a situation where new pods can't be scheduled due to insufficient CPU or ...
0
votes
1
answer
20
views
Anylogic: Resource(from the pool) is not being released when its availability time ( as per certain schedule) is over
In my ANYLOGIC model there are certain services( some delays the agent from 10 to 15 minutes, others 4 to 8 hrs), using certain resources from a resource pool.
The resources (pool) are available as ...
0
votes
1
answer
58
views
How to use a Bitmap image from Resources in Windows Toast Notifications
I am trying to build an unpackaged WPF app with Windows 10 Toast Notifications. I would like to make an AppLogoOverride to get a resource from the Resources class of my application. I have tried to do ...
0
votes
0
answers
25
views
App full screen problem, error "No resource found that matched the given name"
I have modified & created an app with apkeditor using html, css, javascript, jquery etc. Everything is going well, my app is running fine in all devices.
but i face a problem now after installing ...
0
votes
0
answers
3
views
How do I fix an error appearing in test and live
What is the error code USG_Resource_Blocked in live environment
what is error USG_Security_Ice_Error in test environment
0
votes
0
answers
12
views
Is there a module in Arena Simulation that help set the day off of workers?
Here the thing. I am try to simulate a manufacturing plants. It is said that the Machine A operated by 5 workers and statistics show that on average, every 20 working days there will be 2 workers off ...
0
votes
0
answers
10
views
ACF's Register Fields via PHP is DB and resource heavy
At my company we've implemented a system that programatically runs register_fields for each item in an array. These fields are then added to a group with the location of a Gutenberg Block. This works ...
0
votes
0
answers
22
views
Generated NavDirections classes include applicationIdSuffix in Resources package name
I just updated gradle / android studio and now I get the following issue when I try to run a build type.
Unresolved reference: R
The problem is that the generated NavDirections subclasses now include ...
0
votes
1
answer
24
views
Anylogic - how to share resource pool?
I'm working on a simulation of the bank, and this model has two tasks: 'deposit and withdrawal' and 'consultation'. Since there are more customers in the 'deposit and withdrawal' business, I would ...
0
votes
0
answers
11
views
Empty kubernetes VPA recommendations
I have the following manifest:
apiVersion: apps/v1
kind: Deployment
metadata:
name: my-rec-deployment
spec:
replicas: 2
selector:
matchLabels:
app: my-rec-deployment
template:
...
0
votes
0
answers
6
views
Spring boot app recouse is not found when docarize
My app works fine from the IDE. But when I docarize the app, it can't find the applicaiton resoruce. How to docarize the app correctly that I can access resocur folder. Here is my code:-
Dockerfile
...
0
votes
0
answers
28
views
Icons resources dont work in small and list sizes
Have created project on c++ in Visual Studio. Have added resources.rc + .ico file, that have next positions:
32 bits: 64x64, 48x48, 40x40, 32x32,24x24, 20x20, 16x16
8 bits: 48x48, 32x32, 16x16
4 bits: ...
0
votes
0
answers
16
views
Springboot resouse not found when executed from jar file
Springboot app works fine form the IDE. Here is the code in my controller.
var resource = ResourceUtils.getURL("classpath:suitexmls/"+AppProperty.TEST_SUITE_NAME);
TestNG testng = new TestNG(...
-1
votes
1
answer
45
views
Wpf: How to get staticresource in code, correctly?
I have been using
System.Windows.Application.Current.FindResource("NAME-OF-RESOURCE")
To get my static resources in code (sorry, forgot to acronym for "main-program-code", e.g. ...
0
votes
0
answers
10
views
where i can find a source for Medical images with noise?
hi guess greetings
am looking for a source or a website, where I can find medical images affected by noise, like gaussian, speckle,salt&pepper noises, and these types of noises need to be ...
0
votes
1
answer
15
views
How to stay on the current page when change language?
I have an ASP.NET MVC web project supporting multiple languages. I used resources for the project. It is working well. But I have a problem. When I changed the language, it is always redirected to the ...
0
votes
1
answer
29
views
Why is my deployment not using the requested cpu in Kubernetes MInikube?
I have created a deployment with the following resources:
resources:
requests:
memory: "128Mi"
cpu: "0.45"
limits:
memory: "128Mi"
...
0
votes
1
answer
42
views
Win32 application not finding icon for window
I created a icon as a resource
I checked explorer and it works just fine, my exe now has that icon
Next, I used hIcon to set the icon of my window but it says that IDI_ICON1 is undefined
Code:
wc....
0
votes
0
answers
18
views
Resource usage problem with Python/Tensorflow - 2 PC comparison
I am working on a simple task. I am using python, Anaconda, Tensorflow, Cuda, and OpenCV. Reading a video frame by frame, doing 4 predictions on each frame with 4 different light models. I have 2 PC ...
0
votes
0
answers
30
views
C# - Resources in different folders still accessed by Properties.Resources.FileName
I have a very convenient way to add long strings to my C# project in Visual Studio by adding text files to the project's Resources. (Project -> Properties -> Resources)
This allows me to use the ...
0
votes
0
answers
25
views
disribution package of my app will not contain /src folder
I'm working on my localhost on spring boot app, where I use references of some files.
For example :
"src/main/resources/myZip.zip"
As I know, in production distribution package of this app ...
-2
votes
1
answer
81
views
OSX Cocoa cursor in resources
ALL,
On Windows cursors are indicated by the cur file extension. Is there something similar for OSX Cocoa application?
Is there a way in XCode to edit such files, just like in MSVC there is some basic ...
-1
votes
0
answers
10
views
JavaFX audioclip can not get the mp3 resource [duplicate]
I have already added the mp3 to the resource file and set up the method.
However, it always throw nullpointer exception
0
votes
1
answer
15
views
Resources won't load with the second url pattern in J2EE
I'm having a strange problem, i have a servlet that is mapped to /home and /home/next with the web annotation as follows:
@WebServlet(urlPatterns= {"/home", "/home/next"})
public ...
0
votes
1
answer
31
views
Relationship between number of subtasks in Flink and resource usage
I have the following workflow in flink running on a cluster of 3 machines with 4 cores each on GCP.
HDFS-Scan -> Filter -> Aggregate
I set the parallelism of these operators to 12 initially, so ...
0
votes
0
answers
26
views
Get resource usage on k8s pod in java API
I am trying to get resource usage for a container using Kubernetes API in Java (https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/).
Could someone please guide on this. ...
0
votes
0
answers
42
views
Batch file to generate the Max Frequency of the Computer
If I go to the 'Resource Monitor' on the computer, I can see the 'Maximum Frequency' value. Is there anyway I can get this value by using a batch command?
0
votes
0
answers
9
views
need explain about atop logging system
I'm not a infra/system engineer, but I need to monitor device resource history.
I heard 'atop' is a good tool to monitor resource device, so I install in it.
Document says that atop automatically ...
-1
votes
1
answer
53
views
"Property [id] does not exist on the Eloquent builder instance.", laravel 8 Api Resource
IN CONTROLLER ;
public function index()
{
$conversations = Conversation::where('user_id',auth()->user()->id)->orWhere('second_user_id',auth()->user()->id);
$count = $...
0
votes
0
answers
49
views
Optimization of resources in Excel
I'm struggling with a task of optimization of resources, and I wonder if someone knows any efficient way to find the optimal solution for it, using only Excel. I explain what I'm trying to achieve:
...
0
votes
0
answers
14
views
anaconda virtual environment has limited resource range?(ex, CPU and memory)
If i create virtual environment by anaconda,
Are there any restrictions on this environment?
For example.
My computer has 8 core CPU and 32GB memory.
and I create 2 virtual environment (names : ENV1,...
1
vote
0
answers
13
views
SpringBoot having different root context-path for mvc and static files
If I set the server.servlet.context-path=/something is there a way to avoid the static files (from the /resources/static folder) to be served on /something and only serve the @Controller on /something?...
0
votes
1
answer
50
views
Is there a way to see progress for an R function or speed it up?
So I built a function in R which is shown below
get_means <- function(x){
as.data.frame(read.table(x)) %>%
separate(col = V3, into = c("end position", "Methylation"), ...
0
votes
0
answers
23
views
Storing a file to server - java
I have searched for hours and tried many examples. None of which give me a result that remotely works. I am using eclipse scout and want to simply convert my binary resource from selecting a file to ...
0
votes
3
answers
65
views
DELETE method is not supported for this route. Supported methods: GET, HEAD, POST
I'm using laravel 9.x
my route is
Route::middleware('verified')->group(function (){
Route::get('dashboard', function () {
return view('dashboard');
})->name('dashboard');
...
0
votes
0
answers
16
views
Glob pattern to include all files in 'src/main/resources' into GraalVM binary
I have a Java project using Gradle to build. The folder structure is as below:
<project name>
|- app
|- bin/
|- build/
|- src/
| |- main/
| |- java
| | |- <package ...
0
votes
1
answer
247
views
Laravel JsonResource (resource collection) add extra data to response
I'm working with laravel (v7) resources and I have a resource that extends JsonResource and I call this resource from the controller with pagination. I would like to add additional attribute extra ...
0
votes
0
answers
15
views
Spring change file content
In my Spring Boot application, I want to fill my file with values from my POST REQUEST @RequestBody Parameters. For Example, I have file with several lines and on unknown line I have <parameters>...
0
votes
1
answer
70
views
Laravel resource class not working for view() command
I am using laravel 9. All my controllers are working. but I created a resource controller named UserController. this to my web file
use App\Http\Controllers\UserController;
I introduced it. next;
...
0
votes
0
answers
30
views
How to access ResourceBundle from jar within a jar
Right now I have a library that works and access resources like follows:
//this is in MyLib.jar
class Helper {
static{
ResourceBundle localResource = ResourceBundle.getBundle(ResourcesDef....
0
votes
0
answers
36
views
Why do I get NullPointerException when trying to access resource file?
I want to make so a file in the program is packaged in the jar file because it is needed in my program. It is the firebase credentials file. I read that I need to add it to the resource folder but now ...
0
votes
1
answer
59
views
Why wpf ResourceManager GetString (localization) returns english only
I have a localization issue.
Here,in below code (auto generated in designer file) the str always returns english values even if the application is in other locale.
.
ResourceManager rm = new System....
0
votes
0
answers
16
views
Resource allocation in Jenkins
I am trying to allocate resources in a Jenkins instance. I can create one agent a node and multiple executors under that agent, or I can create multiple agents with 1 executor each for a node. What ...
3
votes
0
answers
24
views
Is it better to increase process niceness or limit number of cores used on a shared system?
I've often worked in settings where several users have access to the same machine for computationally intensive tasks. The machines in question are standard linux machines (no docker/kubernetes or ...
0
votes
1
answer
24
views
Is it possible to get an amazing Lighthouse score while using a WordPress page builder?
I'm a front end engineer working in e-commerce and marketing, and one of my routine tasks is finding out why client's websites are so slow. Most of them are on different CMS, most Wordpress, and a ...
0
votes
1
answer
36
views
How to add machine type to Intel fortran VS2019 bat file built dll filename
Intel fortran parallel studio in VS2019 provides two cmd shortcuts, each sets the environment appropriately for either a 32bit or 64bit compiler command line build. The process window title includes ...
1
vote
1
answer
40
views
Is there a way in AnyLogic to assign resources to a population of agents in use rather than individual agents?
I have a simple example of dish washers at a restaurant to illustrate the issue I am having.
Question
How can I ensure that the correct number of dish washers are seized & released when it's ...
1
vote
1
answer
40
views
How can I read resources file from outside project directory?
Below code works fine if file location is resources folder but when file location is outside the project directory like(c:\file.json) it fails.
How can we load file from outside project directory.
...
0
votes
0
answers
11
views
How can I create a combo box that shows the embedded resourcces in an external DLL or EXE file in C#?
I am trying to create a combo box that shows a list of resources that are embedded in an external DLL or EXE file after reading it in C#, that shows resources from a specific type like text files, ...
0
votes
0
answers
20
views
Opening multiple resources (Python)
I am trying to use:
rm.open_resource('ASRL7::INSTR')
But I need to open multiple resources and need them to stay open simultaneously. For my functions that apply to these resources I am using ...