Newest Questions
24,166,453 questions
Best practices
0
votes
0
replies
8
views
Blazor page access via password for unauthorized users
I'm trying to create a "rooms" system. I want some rooms to be protected by a password for unauthorized users. I tried to save the password check state at the "AddScoped" service, ...
Advice
0
votes
0
replies
8
views
Why do Llama 2 7B ARC-Easy results differ across evaluations?
I provided test for arc-easy results for Llama 2 7B.
I use lm evaluation harness, I get:
- acc: 75.51
- acc_norm: 73.86
In the Llama 2 technical report, arc-easy is reported as 75.2. But in some ...
Tooling
0
votes
0
replies
17
views
Internal and external profiling in live/functional tests
I have timeout issues in my live tests and I want to capture method timing in the external process under test as well as the live test without having to add more instrumentation to the external ...
Best practices
0
votes
0
replies
8
views
Generalised Linear Mixed Effects Model - choosing fixed and random effects
I am analysing a data set to investigate the effect of sex and Ethnicity on victimisation. It is a large data set with children from different schools at two different time points.
Should I include ...
0
votes
0
answers
26
views
Delve debug go app in docker container with network_mode host
I want to debug my go code which is mounted into a docker container. Delve is installed inside the container.
I am using goland by jetbrains.
Everything works fine as long as I don't use the container ...
Best practices
0
votes
2
replies
19
views
Passive-container sieve: computing prime coordinates on a mod-60 grid rather than walking segments
I've implemented a prime sieve where segments are passive containers rather than active search spaces. Instead of walking through each segment to mark multiples, a function (ricerca_ciclo) computes ...
Advice
0
votes
1
replies
24
views
Understanding read() function from unistd
CONTEXT BRIEFLY:
I'm trying to start a hangman project, and first I want to take care of how to get user letter from CLI and check if they are included in the current word, for that I initialize the ...
0
votes
0
answers
8
views
Spring Integration Persistent QueueChannel with Single Threaded Execution
Do we have support for enabling single threaded execution on a Persistent (Postgres) QueueChannel as how it is available for PublishSubscribeChannel? Usecase is to process the transactions in the ...
0
votes
0
answers
21
views
Parent-child table with linked list under parent: can the CTE be reduced?
I'm trying to use a parent-child table with a linked list under each parent to denote the order of the children. It appears that this example provides the correct results but it takes two recursive-...
Best practices
0
votes
0
replies
13
views
Microsoft Sharepoint - Forms with Dynamic Dropdown Selections
I worked at a retail company that used Sharepoint for all internal forms, learning, SOPs, etc. They had an internal form system, through what I'm assuming was MS Forms. I'm at a new company who is ...
-3
votes
0
answers
25
views
Python script returns a different RealFeel temperature than AccuWeather website [closed]
I am developing a Python program that extracts weather data from the AccuWeather website.
My goal is to retrieve the "RealFeel" temperature for a specific city in Morocco. However, the value ...
Best practices
0
votes
0
replies
8
views
Should frontend render figures with data calculated in backend , or to receive PNG from backend?
context : I want to render the efficient frontier figure on the frontend- figure that shows many portfolios risks and returns-
in my backend- FastAPI-, I have two design choices:
1- calculate all the ...
0
votes
0
answers
23
views
MFC CWinApp::InitInstance is not called
I have a Visual Studio C++ solution with 2 projects:
core.lib with a CWinApp object declared as a global variable
api.dll that imports core.lib and has no code
If I from another application link to ...
0
votes
1
answer
30
views
Powershell contional execution
I wrote this (ignore the 'LOCATION!!!' )
$zipInputFolder = LOCATION!!!
$zipOutputFolder = LOCATION!!!
$archivePath = LOCATION!!!
$zipFiles = Get-ChildItem $zipInputFolder -Filter *.zip
foreach ($...
0
votes
0
answers
10
views
Chart Series Line Dash Style Displays Incorrectly When Set Programmatically via COM/VBA
I am experiencing a bug in Excel when programmatically formatting chart series via VBA/COM automation that causes line dash styles to display incorrectly with elongated patterns.
Steps to Reproduce:
...