9,332 questions
-7
votes
0
answers
42
views
Hospital Rooms as a Resource allocated based on Sex [closed]
I am trying to find a more elegant solution for my problem:
In a hospital station there are three rooms 301-303 with two beds each.
In allocating patients to beds, female patients can only be assigned ...
Best practices
0
votes
2
replies
98
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 ...
0
votes
0
answers
42
views
Db2 for i SQL0904 (CPD4365 Reason Code 3): “More than 65535 bytes in an internal buffer” when selecting many columns [migrated]
We have an SQL SELECT statement that retrieves over 400 fields from more than 120 joined tables. The query executes successfully on other database systems (Oracle 19c and Microsoft SQL Server 2019). ...
0
votes
0
answers
29
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
52
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
215
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
63
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
224
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
97
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
80
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
151
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
51
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
29
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
162
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 ...