Newest Questions
24,210,349 questions
0
votes
0
answers
7
views
Getting around X-Frame-Options DENY in a Chrome extension? (2)
I have an iframe loading inside an extension page but unfortunately the document inside the iframe embeds its own iframes whose Content-Security-Policy I still can't circumvent with ...
0
votes
0
answers
5
views
Spring Boot Test
Here is my service class, but why does it always return a Bad Request error when i test it instead of Unauthorized ? Please help, Thank you
This is the class service to handle login
@Service
public ...
0
votes
1
answer
11
views
PEP-8 guideline for default parameter
AFAIK, the default parameters should not have space around the = sign.
def foo(bar: str="baz")
What is the convention when there are union types
def foo(bar: str | None=None)
def foo(bar: ...
0
votes
1
answer
6
views
Keras loading the model: TypeError: too many positional arguments
When loading the model I am getting:
TypeError: too many positional arguments
model = load_model(model_path)
^^^^^^^^^^^^^^^^^^^^^^
File "/Users/moo/code/xxx/....
0
votes
0
answers
11
views
After depolyment of my php project on Infinity free it shows the "Dangerous site" not open my website my url
I deployed my PHP project on InfinityFree
But browsers show a “Deceptive site ahead” warning and block access.
Details:
Tech Stack: PHP, MySQL, Tailwind CSS
Emails: Sent via my own Python Flask API (...
0
votes
1
answer
26
views
Is there a standard way to do bounds checking when using `take` in q/kdb+
What is the best way to implement a non-circular take (#) i.e. take[5; 1 2 3] returning 1 2 3 rather than 1 2 3 1 2?
Would {(x&count y)#y} be the general best? Are there any types of y for which I ...
0
votes
1
answer
17
views
Visual Studio Code Python Language Server crashes with JavaScript out of memory
I have a large Python project I'd like to edit in Visual Studio Code.
However, the Python Language server keeps crashing with JavaScript out of memory errors, like one below.
How can I increase the ...
0
votes
1
answer
14
views
Type gymnastics of heterogeneously-typed lists in Rust
I'm designing a pass system inspired by frunk.
Background
This is a little introduction of the Selector in frunk. If you are familiar with it, just skip this section.
Roughly speaking, frunk uses a ...
-3
votes
0
answers
15
views
Serach for particular word in web search results by command line [closed]
I want to find out a particular word in web search results page.Just like ctrl+f from keyboard. interested in a linux command to do this. I have used https://www.google.com/search?q=KEYWORD&start=...
0
votes
0
answers
11
views
TStream.read fails if file is located on a cloude-mapped drive
A simple TFileStream.read or TFileStream.write repeatedly fails if the file is located on a cloud-mapped drive. Do I need to repeat each read and write operation for a while to make sure it works?
-2
votes
0
answers
10
views
Unable to get check box to show on sample data table in Angular [closed]
I am trying to combine the 'Table With Expandable Rows' with the 'Table with Selection' because I want to use the mat-checkbox with the expandable row from the angular material site (https://material....
0
votes
0
answers
12
views
how to wrap some part of a LazyColumn insider a container with background and border and etc in Jetpack compose
I have a lazycolumn with some items inside it. one of items(that i want background and border for that) is a big list of items that i need to add one by one to lazycolumn so this individual items ...
0
votes
1
answer
29
views
How do I properly use scanf and what are its limits?
I'm currently trying to make a simple little program (BMI index calculator), since I've just started learning C. Currently using Eclipse.
Here's my code:
`
#include <stdio.h>
int weight, height;...
0
votes
0
answers
9
views
Share limited Outlook calendar details and access through VBA
Is there a way to share limited calendar details in outlook 2019 with other users on the same exchange server, so that they can use vba to see start, end and title without granting reviewer ...
1
vote
0
answers
18
views
Regex match positive and negative numbers except for certain number formatting
We're trying to write a regular expression to match floats. Inputs always have 9 decimal places, never begin with a 0 (unless it's actually 0), and can either be positive or negative as long as the ...