Newest Questions
24,234,690 questions
0
votes
1
answer
15
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
17
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
23
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
13
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
8
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
12
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'...
-1
votes
1
answer
11
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:
<...
-1
votes
0
answers
26
views
Compare objects by contents in Javascript [duplicate]
When you compare objects with JavaScript’s == operator, it compares by identity: it will produce true only if both objects are precisely the same value.
Comparing different objects will return false, ...
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
28
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
15
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
10
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 ...