Newest Questions
24,234,689 questions
0
votes
0
answers
4
views
Is static_cast<bool> guaranteed to send a value to 0 or 1?
I am trying to investigate an issue where a database driver expect a certain uint8_t member in a struct to contain 0 or 1.
In the code, this value is assigned via static_cast<bool>(...). I ...
0
votes
0
answers
7
views
How to open component's dialog from another component in react?
I have a main component, App(). I have another component, Event(). Event has a dialog, defined in a separate file, that opens and populates from a click on a table row. In that case, the data in ...
0
votes
0
answers
4
views
Pairwise T-test for Welch's F ANOVA
I need help with pairwise comparison following Welch's F test.
For your convenience, my minimal example is drawn from the example given in the R documentation.
df <- ToothGrowth
df$dose <- as....
0
votes
0
answers
6
views
Why can't I use azure/login@v2 since I am using GitHub environments?
I'm struggling with this issue.
In my GitHub workflow, I connected to Azure using a service principal. My Azure credentials are stored in my GitHub secrets at the repository level. Initially, ...
0
votes
0
answers
12
views
Is it possible to retrieve an entire directory from a web URL at once?
I'm currently attempting to scrape a wiki for some image files. I have determined that every image I want is hosted at a URL with the following structure:
https://static.wikia.nocookie.net/<game ...
0
votes
0
answers
4
views
vue dynamic route matching with params issues are memory leak and multiple events fired
I have dynamic routes in my router where I load different content depending on the id params, the problem is that as I visit pages without refreshing the page the memory usage starts to increase with ...
0
votes
0
answers
7
views
Match a 3D submesh-template in main mesh
I am in python loading 3D models as meshes (their data consists of vertices, normals and faces). I want to find their connectable points. These connection points are modeled the same way in every of ...
0
votes
0
answers
8
views
How do I deep link to iOS Settings Page?
I'm trying to figure out how to deep link to a specific settings page within the iOS Message app settings. Here is the page.
Settings > Apps > Messages > Unknown & Spam
I can only get as ...
-1
votes
0
answers
5
views
Keywords dropped after switching to WebP — what went wrong?
I launched my website around March 30. At first, I had about 120 keywords showing in Google, even though I hadn’t indexed all pages yet.
Recently, I redesigned the site and converted images from JPEG ...
0
votes
0
answers
6
views
Is ARM Errata 838869 (“Store immediate overlapping exception return…” ) applicable to Cortex-M7?
I’m seeing contradictory information:
ARM SDEN-1068427 (Cortex-M7 errata v11.0) doesn’t list ID 838869.
STM32H7 errata sheet (ES0445 Rev 5) groups 838869 under Cortex-M4 only.
NXP MCUXpresso SDK ...
0
votes
0
answers
17
views
Console Error: Uncaught ReferenceError: functioName is not defined - Javascript [closed]
I have a js file that loads onto my page, that contains this code:
function m_ASSUREV17() {
document.getElementById("t_ASSUREV17").innerHTML = t_ASSUREV17;
document....
1
vote
0
answers
19
views
how to use pivot functions in R with no proper column names
I have a fairly unconventional list of dataframes, each of which is essentially comprised of about six smaller data frames. Here is a toy example of one of the dataframes in the list:
structure(list(....
2
votes
1
answer
15
views
How to replace string values in a strict way in Polars?
I'm working with a Polars DataFrame that contains a column with string values. I aim to replace specific values in this column using the str.replace_many() method.
My dataframe:
import polars as pl
df ...
0
votes
1
answer
10
views
Android Studio -- Need to read a CSV outside the /src/ folder
So, I'm doing a project for a class, and I need to open a CSV file for reading only. The rubric specifies as follows:
"Your application will read in data from text files placed in the assets ...
0
votes
0
answers
7
views
Running Pod- version on M1 results in class: Symbol (Psych::DisallowedClass)
I am on a Macbook Pro M1 and just upgraded to Sequoia. I can't get Cocoapods running. I am getting this error when just running pod --version: /opt/homebrew/Cellar/ruby/3.4.3/lib/ruby/3.4.0/psych/...
0
votes
0
answers
14
views
how to create clock in FPGA?
Hi I'm new in FPGA programming and I just wrote secend verilog code in my life :
module diodes (
output d_1,
output d_2,
output d_3,
input clk
);
reg [63:0] counter;
initial counter = ...
0
votes
0
answers
13
views
Visibility of a Datagrid Is Not Changing When Updated
I have a datagrid whose visibility is bound to a static property. When I update this property from the codebehind, the visibility of the datagrid does not change. Is there a better way of doing this?
...
0
votes
0
answers
3
views
The property "EncryptionAtHost" cannot be found on this object
Tried running a PowerShell script to remediate virtual machines in our Azure tenant. Our VMs need to have Encryption at Host enabled.
I wrote a script to get all VMs, check if they had encryption ...
0
votes
0
answers
9
views
Remove all variables except modules and callables?
I am using Spyer 6.0.5. The Variable Explorer has an Options pulldown menu, wherein "Exclude callables and modules" is enabled. When I click on "Remove all variables", however, ...
0
votes
0
answers
10
views
Passing an AppStorage Toggle Status to a ViewModel
I want to give users of my app the option of turning on app sound confirmations. I am having trouble passing the toggle status (soundStatus) from the view menu (contentView) to the viewModel (...
-2
votes
0
answers
21
views
How can I improve this Python function?
I’ve written a program and would love your feedback. If you find any issues, please let me know so I can fix them. Thanks!
I work in Iran, thank you for solving my problem, I am trying very hard
If ...
0
votes
0
answers
5
views
Tiptap Editor Not Rendering and Menus Not Functioning in Vue 2 + Docker Setup
I am using the Tiptap editor in my Vue 2 project, but the editor is not visible in the browser. When I highlight text, the bubble menu doesn't appear, and when I move the cursor to the next line, the ...
0
votes
0
answers
10
views
Plotting a decision boundary with 150+ columns
Trying to make a decision boundary for a large dataset with 150+ columns. There were originally around 38 features but I used One Hot Encoding. Just verifying if my decision boundary plots are right ...
-3
votes
0
answers
12
views
How can I make a printf in assembly x32 that can prints 256chars [closed]
I’m writing a tiny demo in 32-bit x86 assembly (NASM 2.16) under Linux x86 (Ubuntu 22.04, GCC 13 / binutils 2.42).
For learning purposes I want to avoid printf from libc and roll my own PRINTF macro ...
0
votes
0
answers
8
views
Remove-IISConfigCollectionElement causes NullReferenceException
I am developing a PowerShell script to modify customHeaders in my website's web.config file, specifically the Content-Security-Policy header. I'm doing this with a script for 2 reasons:
For my ...
0
votes
0
answers
7
views
Using the data of the children to order with eBean fails
I have two ebean object in Playframework 3.0.5 and ebean 3.0.0.
MessageThread, which has MessageItems:
In MessageThread:
@OrderBy("addDate ASC")
@OneToMany(mappedBy = "thread", ...
-3
votes
0
answers
18
views
Trouble with Gmail API [closed]
I'm trying to read email using gmail API. It was working for a while, then I guess it hit an email it didn't like and now all I get is An error occurred: 'parts'
try:
# Call the Gmail API
...
-3
votes
0
answers
14
views
I want to put the result of an tennisgame in google excel spreadsheets. But I don't get the results in excel [closed]
I want to put the result of tennis games in google excel spreadsheets .Can you help me to fix this problem?
importdata
importxml
=IMPORTDATA(https://www.flashscore.nl/tennis/)
=IMPORTDATA(https://www....
-1
votes
0
answers
11
views
Every possible swiss tournament [closed]
So I’m wondering if there is a way to program every possible Swiss tournament bracket of n rounds and m players?
What I’m trying to do is given a pairing algorithm (which I don’t need to worry about ...
0
votes
0
answers
12
views
jsPDF html method - autoPaging option with the 'text' mode causes issues with text styling
Good day, I wanted to ask a question related to using the html method of jsPDF to generate a PDF based on the html contents of a page. I am using Vue 3 for my frontend and Laravel 10 for my backend. ...
-1
votes
0
answers
13
views
How to fix "No active connection found!" error in VS Code for SQL?
I have been facing problems of the IDEs not getting the connections constantly for a few days. I fixed it for SQL Workbench. But somehow the error is still coming on VS Code.
Is there a way to fix it?
...
0
votes
0
answers
17
views
Very slow write speed in SDMMC 1 bit mode on ESP32 s3
I have an esp32-s3 wroom camera board. I have an Arduino program that takes a picture and save sit on the SD card. Nothing really fancy. It works well, it saves the picture in 1-2 seconds. I didn't ...
0
votes
0
answers
14
views
Haskell regular expression error "parse error on input ‘2’ [re|^[A-Z0-9a-z._%+-]+@[A-Za-z0-9.-]+\.[A-Za-z]{2,64}$|]"
I'm using the PCRE library to validate the email in haskell.
Below is my code -
import ClassyPrelude
import Domain.Validation
import Text.Regex.PCRE.Heavy
import Control.Monad.Except
type Validation ...
0
votes
0
answers
24
views
`Future#get` not responding to `Thread#interrupt()` in Java
I am seeing a weird interaction between try-with-resources and thread interruption in Java.
What is supposed to happen is that the "interrupt thread" in the code below waits and then ...
0
votes
1
answer
16
views
Why I can access httpOnly Cookies using Nuxt useCookie() composable?
In my Nuxt app, I've implemented custom authentication middleware and composables. On the backend (Spring Boot), my /login route sets a refreshToken as an HttpOnly cookie and returns an accessToken in ...
0
votes
0
answers
4
views
In Bootstrap's Carousel- How Can I Style the First Indicator Differently On Load?
I have styled the carousel indicators to have a progress animation. The transition starts when the list item becomes active, and after 5 seconds it ends, the color disappears, and the next indicator ...
0
votes
0
answers
9
views
How to Reuse a Loader Function in a Shopify Hydrogen Component Without Context
I am working on a Shopify Hydrogen Remix stack.
I have a function within my product route. The function is built for this route however I would like to use it in another component in another file. ...
0
votes
0
answers
20
views
64-bit MASM mov Instruction Yields Error A2206 "Missing Operator in Expression" [duplicate]
I am porting 32-bit VS2010 assembly to 64-bit VS2022 and running into this error:
Error A2206 missing operator in expression
The following code is already partially modified to 64-bit. I added ...
-2
votes
0
answers
27
views
'str' object has no attribute 'items' - but why
So I am perplexed, I have this function:
def generateCriticalHigh():
build_dir2 = "LEFT_TO_RIGHT"
table_attr2 = {"style" : "width:100%", "class" : "...
0
votes
0
answers
16
views
Stuck with one to many relation implementation in ASP.NET
I have an university assignment where I need to create a full-stack application with using ASP.NET with 2 databases (SQlite). In addition, connected to a Blazor UI.
My problem is that every time I try ...
0
votes
0
answers
9
views
Does assignment direction affect RTL schematic?
Sample Verilog code as below:
`timescale 1ns/1ps
module Gen_Clk_D(c,a,b);
output c;
reg d;
input a,b;
initial
begin
d=a*b;
d<=c;
end
assign c=d;
endmodule
It seemed d<=c; has same result as ...
0
votes
0
answers
14
views
How to set Foreground property of RadioButton with Content set to an image?
I'm making a grid of RadioButtons so that a user can select a button and assign some arbitrary command to it. I have a template that makes these RadioButtons look like squares with rounded corners. I'...
-2
votes
2
answers
13
views
Vue3: use a `ref` conditionally
Is this code ok?
const { label } = defineProps<{label?: string}>()
const labelTransformed = label ? computed(() => {
// transform the label
}) : 'default label'
Then, in the template:
<...
0
votes
1
answer
12
views
Actionable Messages not working on mobile
I am trying to create an informative email for users with multiple collapsible sections that would work primarily with Outlook. I figured the best way to achieve this would be to create an Actionable ...
-1
votes
1
answer
29
views
Having serious problems with passing variables / lists between functions, and then getting them to execute the program
I'm trying to get the program to open a file, send that data to a list 'words', and then have it send that list to the pickWord() function, where it will then pick a word at random inside the list, ...
0
votes
0
answers
18
views
Removing Image Overflow in CSS
I'm trying to make the header for the website for my personal project. However, the image is overflowing out of its' container and I don't know how I can fix it.
I've tried using overflow: hidden , ...
0
votes
0
answers
13
views
@Scheduled annotation unable to read values for placeholder
I recently upgraded from java 11 to 17 and Springboot 2.5.2 to 3.3.11
After upgrade, my code stopped replacing the placeholder values in all the @Scheduled annotations.
below is my code
@Configuration
...
0
votes
0
answers
10
views
Flutter app not building because of compileSdk version
I am trying to run my flutter app but I keep getting an error:
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:checkDevDebugAarMetadata'.
> A failure ...
1
vote
1
answer
27
views
How can I create a scrolling affect that changes the portion of text that overlaps a static image to white?
I am trying to change the text color from black to white only of the portion of text that overlaps my static background image as the text scrolls up. I have been able to get close with mix-blend-mode:...
0
votes
1
answer
11
views
IndexedDB await get not returning an object
Working with IndexedDB, I have this code:
async function Get() {
const dataset=await db.result.transaction('Store1','readwrite').objectStore('Store1').get(5);
console.log(dataset);
}
I am expecting ...