Newest Questions

0 votes
0 answers
2 views

Therapy clinic scheduling - therapists / patients / treatment rooms

The Employee Shift Scheduling model in TimeFold seems like it might be able to help us schedule therapists with patients in available treatment rooms (or at least therapists with patients), but it's ...
0 votes
0 answers
9 views

Is it possible to use `lhs2tex` for it's `\eval{}` macro, but still use `minted` for formatting?

lhs2TeX has a powerful preprocessor, including useful macros like \eval{} for evaluating Haskell expressions. I'd like to use these features without having lhs2TeX also format code blocks or apply its ...
0 votes
0 answers
4 views

t stats for event study stata

I am looking to compute the following t stats for an event study. My code is the following and works well. https://libguides.princeton.edu/eventstudy Do you have any suggestions on how to compute the ...
0 votes
0 answers
11 views

How to write a regex to match strings where every distinct character occurs the same number of times?

I have a challenge where I need to write a single regex pattern to match strings that satisfy the following property: Every distinct character in the string appears exactly the same number of times. ...
0 votes
0 answers
9 views

evaluation_strategy() not supported in transformers library

I've recently been attempting to fine-tune the pretrained neural network, "cardiffnlp/twitter-roberta-base-offensive." However, when I attempted to run a Python program I created, "...
  • 1
0 votes
0 answers
7 views

Functions are not displayed in my Azure Function app

I am trying to develop and deploy a new function in an Azure Function app. It is written for .NET 8 and of type dotnet-isolated. The function is reflected when I right-click and publish to Azure. But ...
0 votes
0 answers
5 views

Spring Boot Thymeleaf password reset flow returns 404 after clicking reset link

I've been trying to implement a password reset feature in my Spring Boot + Thymeleaf app, but it's been giving me a relatively hard time. I used to have a page where users could enter their email, and ...
0 votes
0 answers
11 views

how to resolve npm inconsistent installation

As non-root when I ask npm list -g then the result is /usr/local/lib ├── @vscode/[email protected] ├── [email protected] ├── [email protected] ├── [email protected] └── [email protected] So now i want to remove these ...
0 votes
0 answers
9 views

Read JSON file in home assistant (YAML)

I tried to read /config/heaterstatus.json file. I used python_scripts. I tried which helper, but problem is memory, max=1024 which is too low for store the detail of al. # heater_state.py path = '/...
-1 votes
0 answers
14 views

How do I make a JCheckBox draw a Graphics 2D shape?

I am a beginner creating a program that draws a pizza based on which toppings are selected. I need to add an ItemListener and a paintComponent method with 2D graphics but I am unable to get them to ...
0 votes
0 answers
6 views

Frama-C / WP Proof of Moving Average Function - Pointer validity of array slice fails

I am learning about formal verification and using frama-c and the WP plug-in, and after reading some papers and following the WP Tutorial by Allan Blanchard, I decide to try and verify a function not ...
0 votes
0 answers
16 views

Metrics that Tune Search Algorithms and Tune Trial Schedulers expects are not in the results (e.g., `episode_return_mean`)

I'm using the new Ray API stack to implement Tune Search Algorithms and Tune Trial Schedulers, but I'm getting the following error: ValueError: Trial returned a result which did not include the ...
0 votes
0 answers
11 views

How to write my own partiton function in Scala?

I'm new to Scala and was going over Scala courses, but when I tried to code my own list partition function, I failed. Can you show me how you would do it? So when I tried solving this on my own, I ...
0 votes
0 answers
15 views

How do I find which Rust versions correspond to which specific LLVM version?

I'm writing a compiler in Rust using the llvm-ir crate but it only supports up to LLVM 19. I need to compile Rust's LLVM IR output using my compiler. But running rustc --version --verbose outputs the ...
1 vote
1 answer
14 views

Updating a boost::spirit parser

In the past I made a boost::spirit parser to read a log, where only one type of line contained useful information while the rest could be discarded. The format of the line is [2025-06-06 09:33:36....
  • 621