text string | meta dict |
|---|---|
Q: PyQt6: DB connection established but SQL query not executed I am trying to connect to a SQLITE3 database and the connection is getting established however, the query is not getting executed.
dbcon.py
from PyQt6 import QtSql
from PyQt6.QtSql import QSqlDatabase
class dbCon:
def createConnection1(con1):
c... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571531",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Visual Studio Code WSL2 Linux Directory Include Path: how to set up .vscode\c_cpp_properties.json? Is there a way to use my Linux /usr/include directory as the include path in Visual Studio Code which is run from Windows?
Note: There is a similar question on Stack Overflow: How to set include paths within Windows Su... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571534",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: When I want to upgrade laravel 9 to 10 I get dependancy errors. How can I solved that? In my composer.json file
previously the dependency are:
"require": {
"php": "^8.0.2",
"darkaonline/l5-swagger": "^8.4",
"ejarnutowski/laravel-api-key": "^1.0",
"guzzlehttp/guzzle": "^7.2",
"... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571535",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Mariabackup ignoring --tables option Somehow I can't get mariabackup to backup a single table using the --tables option.
--tables-exclude works fine, but --tables doesn't actually limit the backup to the indicated --tables only.
syntax used:
mariabackup --backup --user=root --password='pwd' --databases=db --tables=t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571537",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to change classes' property for each component in Vue.js? I've added to my website a reusable component "LightBox" that provides a picture with bigger resolution. This LightBox is based on the fact that each element has thumbnail. What is my issue? I have several elements where I want to change properties of cla... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571539",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Set datetime field now in MapStruct? I have an Instant field in my POJO class and want to set its value now() while creating record. As far as I see, MapStruct let this kind of feature, but I could not set it properly:
mapper:
@Mapper(componentModel = "spring", imports = {Instant.class})
public interface CreatePostR... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571542",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Postman is keep on sending the request. Without giving an error. Though it has created a user at first but now its not While sending the request using the end points, It's keep sending the response and not providing the response.
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75571545",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-3"
} |
Q: FFmpeg plus the - c:v copy parameter - force_ key_ Frames won't work? I understand that the -force_key_frames parameter is to insert key frames into the video
Because the generated ts fragment is very different from the specified -hls_time parameter, the -force_key_frame parameter is added. I have 20T video resource... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571546",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: No response upon clicking button (javascript) I am building an online calculator, and am having a lot of trouble getting results to display on the same page.
What am I doing wrong that the results are not displaying?
The ideal scenario is the user inputs the 4 pieces of info, then the logic is performed, and the ans... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571548",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Laravel 9 split records based on 1 parameter Controller creates records in 3 or 2 tables depending if the user is logged or not. Everything works fine, but I don't know how to upgrade it. My goal is to save "Order" into N rows with unique ID, splitted by 1 parameter (vendor). Then those IDs must be reflected in "ord... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571549",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: calculation alpha, and display 2 plots : why log error? how to control it? library(CASdatasets)
data("danishuni")
danish.claim=danishuni[,2]
years=as.numeric(substr(danishuni[,1],1,4))
danish.max=aggregate(danish.claim, by=list(years),max,
na.rm=TRUE)[,2]
u=10
danish.exc=danishuni[danishuni[,2]>u,2]
danish.exc
n.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571551",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to optimize drawImage source and destination coordinates to visible region of the canvas In some exotic HTML5 Canvas implementations rendering an image with drawImage() to a small canvas but using a large scale factor cause massive memory consumption, crashes or rendering errors because the image is physically s... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571552",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to Resend/Forward email as it was comming from the mailbox that resend´s it - Outlook/Exchange Online I have 2 scenarios of rules that I need to work similar, but only needs one of them to work:
1: Resend an email that arrives in the mailbox of firstreceiver@domain.com from i.e. sender@domain.com, but where when... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571554",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Comments not registering into database when submitting form When I try add a comment via my form, the page is redirected correctly but no comment is rendered/added.
I am getting the following error in terminal when trying to add comment:
Broken pipe from ('127.0.0.1', 55445)
views
def post_comment(request, slug):
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571558",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: How to set relationship between entites in clean architecture? Sample architecture
Recently I started to learn Clean Architecture implementation. Now I'm stuck on the way to create my entities and create the between them. It's suggested in uncle Bob to have entities in each Domain. I can agree with that.
But conside... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571559",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to convert bytes string to bytes I have a string from a database request as follows:
result = "b'\x00\x00\x00\x00\x07\x80\x00\x03'"
type(result) -> <class 'str'>
How do I convert it to bytes? It should be like this:
a = b'\x00\x00\x00\x00\x07\x80\x00\x03'
type(a) -> <class 'bytes'>
A: You shouldn't use eval(... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571560",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Javascript reduce multiple objects and combine them with the same key id So I have a problem here that I have a list of objects with an ID and time. So what I did here was trying to loop out each of these results and push a number based on the time that I set. It would also push 0 if the time does not equal of the h... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571561",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-3"
} |
Q: Question about OptionalHeader->SizeOfImage in PE format Good afternoon!
PE file image size in virtual memory = 0x26000 bytes:
x64dbg->MemoryCard
OptionalHeader->SizeOfImage = 0x20000 bytes:
PE-bear
Question: Why is the size of the PE image in memory different from the size in SizeOfImage(0x26000 != 0x20000)?
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75571562",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: FCM: Android notification does not have image, vibration or sound const message = {
token: token,
notification: {
title: username,
body: messagePreview,
image: imageURL || "",
},
android: {
priority: "HIGH",
notification: {
sound: "default",
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571563",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to group by consecutive start time with end time in R? I'm trying to solve below problem to group together for consecutive starting and ending time to calculate the total travel cost for each day in total duration. Here below is an example data and require output.
Remove all the memory from workspace
rm(list =ls... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571564",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to filter results by html? I'm trying to filter results by some criteria having a big html. I don't know if what I am trying to ask is achievable, but it costs nothing to ask.
I'm playing a browser game which as a big map 100x100 and for each pixel it has an island. Each island has a different cave ( of differen... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571565",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: How to use LLVM test-suite to test my custom pass? I am a Master's student working on an optimization pass on LLVM IR to validate some of my ideas. I currently use a simple script I wrote to test my pass. However, I think it is better to use an existing testing infrastructure. After searching, I find the LLVM test-s... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571574",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Is there any direct function Please help me
I want a solution like if user enters any value in entry widget how to enable a create button if it’s disable
Plz help me with the solution
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75571575",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-4"
} |
Q: Run Openshift Local On Windows under minimimum requirements Hi is there any way to install openshift local under minimum requirements.I want to install but it needs at least 9gb memory but I dont have ,is there any way to skip this process
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75571576",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Regex to find double-quoted strings, excluding double quotes within single quotes I'm trying to write a PCRE regular expression to search PHP code to find strings in double-quotes, handling escaped double-quotes, and to exclude situations where double-quoted and single-quoted strings overlap, e.g. when building some... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571580",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How can I clear the memory of an import file in python with a while loop I have a while loop, and inside of if various import .py
As it is now, when it loops a second time, those import .py files, don't get imported again.
the .py file, creates a df, and makes a csv ... but when it loops, it doesnt import again that... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571581",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: in python, i am using pandas to read a csv file when its working fine tho with other functions but facing an error while using a line i imported panda as pd
dataset = pd.read_csv('C:\\Users\\Adminis....')
dataset.plot(x='tempmin', y='tempmax', style='o')
pit.show()
pit.figure(figsize=(15,10)) #these... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571582",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: When deploying function app to azure portal using maven command, how to use existing storage & set/create private end point? I'm using maven to create httpTrigger based azure function app., However in a plain context - on use of mvn azure-functions:deploy everything deploys properly - However my use case is now diff... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571586",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Recursion with Lua in Redis I read the documentation on scripting in lua for redis and I didnot find any line or recommendation on what i am proposing next being evil or if I am crossing any implied line. So asking this on S.O to confirm..
I have redis script, pseudo like follows
EVAL "return redis.call('EVALSHA',A... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571587",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to get a count of all the files in a folder that are modified today using the batch script? I am new to batch scripting and I am looking for a solution where I need the count of files in a folder that are modified today using the batch script.
I would like to make an entry into the log file as below:
Total Numb... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571593",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: How to use latest gradle-ospackage-plugin from GitHub I have recently upgraded to Gradle 8 finding out that the nebula.ospackage plugin distributed in Gradle plugin Portal is not compatible.
In gradle-ospackage-plugin GitHub repo, there's the 11 version which claim to resolve the incompatibility with Gradle 8.
This ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571594",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Subsetting in R using multiple conditions (problems with NA values) Good morning everyone
I have a dataframe that has 4 columns.
I am trying to substract all observations that have a value X in column 1, and have NA values in the other 3 columns.
Here is the code that I tried so far :
df <-
df[!(
df$col1 == "X" &
i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571596",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: why does my number comparing alway become true? Whenever I run the script, even when the time is under 12:03 it always runs as if the time was over 12:03, And I don't understand why. I wanted to compare the time of day to a set time for an automatic shutdown, but it always returns the time as over my set clock, even... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571597",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Is there a non-recursive method to obtain a list of directories within a specific folder in groovy? I need to obtain a list of directories within a specific folder, without including subdirectories.
For example, consider the following directory structure:
A/B/C
A/D/E
A/F
A/regular-file.txt
If I want to obtain a lis... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571601",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Trying to plot two variable function, calculating function loop gives wrong shape I have some function f, which is some compliciated integral taking two parameters x and y . I want to make contour plot in this parameter space (i.e. over some arrays X and Y), so I use loops over those two paremeters.
My code looks li... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571602",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: If using Jwt token, there is a need of Spring Security? I was trying to create a Spring Microservice Project which makes use of the Jwt Bearer token. I have found this interesting resource: https://springframework.guru/jwt-authentication-in-spring-microservices-jwt-token/.
The issue here is that I do not see it impl... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571606",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Mocking repository method returns null instead expected value public interface IUnitOfWork
{
ICarRepository CarRepository { get; }
...
}
ICarRepository has (besides other methods) GetById(int id) method.
That call I want to mock inside IUnitOfWork mock.
[Test]
public async Task Test()
{
var unitOfWorkMo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571607",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Worker: Warm shutdown (MainProcess). Why celery's error in Django? I try to run Celery's task on Django project. Task is a machine learning script with multiprocesses. So I run celery with command
celery -A DjangoML -l info -P threads
In logs I see run process, but error " almost immediately
worker: Warm shutdown ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571608",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: I know that there is a shortcut for "System.out.println();" in intelliJ which is 'sout+tab". But is there any shortcut for "System.out.print();"? I use the line System.out.print(); several times in my code and it's cumbersome to use the shortcut 'sout+tab' and then press the left button and then backspace 'ln' from ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571610",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: MSSQL, MYSQL Test Connection Failed, Scuba by Imperva I'm trying to connect Scuba(Database Vulnerability Scanner by Imperva) to my database but the connection fails everytime.
screenshot of error and details
I tried connecting it to the MSSQL and MySQL but same problem with both.
I'm not sure if the problem is with ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571611",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-3"
} |
Q: Routing in Blazor does not work, parameter passed is always null I have a simple razor component looking like this
@page "/einsatz"
@page "/einsatz/{ScaledTable}"
@code {
[Parameter]
public string ScaledTable { get; set; }
private string Test { get; set; }
protected override async Task OnInitial... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571612",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: knitting in rmarkdown yields error from xfun package I am getting the following error whilst using R Markdown.
I have not used RStudio for a while, so I updated to the latest version and I have updated all packages.
I have tried removing xfun and reinstalling it. I always get this error when trying to knit just the ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571613",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Quiz in Javascript I'm quite new to programming and I have to recreate a quiz. Though something is not working properly, the biggest issue is: when selecting an answer I should get the message about whether the answer is correct or wrong(answers should be hidden, and the next button displayed) and after clicking the... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571616",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Tkinter interface enter key bind I've been trying to see the solution to show calculation on every single row completion in the bottom frame's entry boxes.This only takes qty and rate and on enter shows calculation in a label initially assigned with zero.
But on setting every calculation remains inside its function... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571618",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: add CD limits in the Friedman-Nemenyi test I'm a new user of the Python. I've already compared different machine learning regressions based on jupyter notebook, and I run the Friedman-Nemenyi test. I would be very appreciative if somebody looks at my code and advise me on how can I add CD limits in the Friedman-Neme... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571625",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Chrome failed to start on Linux virtual machine I'm trying to run selenium project in cloud virtual machine using Jenkins.
For the webdriver i'm using webDriverManager. After installing maven package. And starting the project an error appear: Could not start a new session. Response code 500. Message: unknown error: ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571626",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-6"
} |
Q: install hpack or HTF with ansible I use ansible to set up ghcup and the necessary hpack tool. The code in a role file to install ghcup as an unprivileged is
- name: Execute the ghcup installer script
block:
- shell:
chdir: /home/frank/Workspace11
cmd: curl --proto '=https' --tlsv1.2 -sS... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571628",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: how to convert vertices degree For a project I am doing I need to simplify a mesh, so all the vertices are going to be either of 2 or 4 degrees (which means that on every vertex only 2 or 4 edges are meeting, but not any other amount)
I was wondering if there is a possability to do so with MeshLab.
I found a paper w... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571631",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Using external JS files within Firebase CDN Script/Module Tags Id like to use A external JavaScript script within the firebase module that I need to import....
For example:
<script type="module">
// Import the functions you need from the SDKs you need
import { initializeApp } from "https://www.gstatic.com... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571632",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Why is react-router not working in vercal when i refresh the page I am new to vercel, I built a small web application in react. And I deploy my application in vercel. It was successfully deployed and works fine. in my scenario, I'm using React-router and it works fine while I'm clicking on link buttons, but when I r... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571634",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: I am getting these errors :"player.play is not a function " and "Unable to retrieve Spotify player state" <script>
window.onSpotifyWebPlaybackSDKReady = () => {
const token = 'access token value';
const player = new Spotify.Player({
name: 'Echo',
g... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571636",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to create a regex rule in (xxx-number) format? I have strings like this:
(jack-9) - london
(neil-11) - india
I would like to write a rule that gives the number, how can I do that?
expected output:
9
11
A: You can use \w+\-(\d+):
>>> import re
>>> s = """(jack-9) - london
... (neil-11) - india"""
>>> re.findal... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571643",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-3"
} |
Q: How to establish a connection with MongoDB Atlas I am trying to connect with the MongoDB atlas using mongoose, but I am unable to make it. And I tried many times to find out the error but didn't find it. I am a beginner in the MERN stack. I think there is a error in the Promise statement.
app.js
const mongoose = req... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571644",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: Media query and page width in Bootstrap based Moodle theme I'm using the LMS Moodle 4 and the bootstrap based theme boost (github)
By default the page is very narrow on all screens and I'd like to use the bootstrap approach for different screen sizes (.container)
This is what I tried to use in the raw scss field and... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571645",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Can't export arabic using CSV library in codeignator I used the CSV library to export data from the database. The problem is that the Arabic charters appear as ط¯ظˆظƒظˆ ط§ط³ظˆط¯ .
I must change the Unicode to utf-8.
I tried the following line but it did not work.
header('Content-Type: text/csv; charset=utf-8');
The... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571647",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Using remark and rehype plugins with nextjs-13 I wanted to try out nextjs-13 so made a very simple blog.
Folder structure (skip to 'The Problem' section for actual issue):
app/
page.jsx
layout.jsx
test.mdx
public/
...
styles/
...
mdx-components.jsx
next.config.mjs
package.json
So this is a pure nextjs-13 ap... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571651",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: tensorflow how to find indices of elements fulfill condition I need help to generate a tensor fulfill following condition:
*
*Find indices of elements that greater than 0
*Index number + 1 and if any row are empty then add a 0 as default
I tried tf.boolean_mask, but seems won't help as it won't keep dimension.
i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571653",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Asking user for home address using Regex I want to make a prompt asking a user for a valid home address using regex.
I have tested the regex im using on regex101.com but the code still doesnt work no matter what I write...
Example of address that should pass: 26 John Street, City Road
What have I done wrong?
functio... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571654",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Program crashes sporadically at Controls.Add(Control c) method I have built a nested user control (framework 4.8) that can hold many child user controls. All squares are part of one user control, that is placed on the "Bord" which is a FlowLayouPanel:
The program is crashing (sporadically) when the control is popul... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571656",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Why does this error "ImportError: cannot import name 'float8_e4m3fn' from 'tensorflow.python.framework.dtypes'? When i try to import tensorflow the error appears.
ImportError: cannot import name 'float8_e4m3fn' from 'tensorflow.python.framework.dtypes' (C:\RealTimeObjectDetection\TFODmodel\tfod\lib\site-packages\ten... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571658",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Can some one explain why Gaussian filtered produced larger size of image than real image, can some body explain? Can some one explain why Gaussian filtered produced larger size of image than real image, can some body explain?
I've tried Gaussian filter then the result was image size larger than before filtered
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75571662",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Cannot use testEnvironment config to JSDOM enter image description here
I want to use window global with testEnvironment config, but it is not working when I run test.
Show me this error on the image, I install "jest-environment-jsdom": "^29.4.3" but it also not work.
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75571663",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Updating TextField with data class as state throws ComposeNotIdleException in UI tests When calling AndroidComposeTestRule.performTextInput on a TextField with initial state, ComposeNotIdleException is thrown. Code to replicate the issue:
Production code:
class MainActivity : ComponentActivity() {
override fun o... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571664",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Using purrr to recode across multiple columns with multiple mappings I have a dataframe with questionnaire response labels. I always like to make a tibble with item-answer definitions and then use dplyr::recode() to replace all item labels with their corresponding definitions. For ease of use the definitions tibble ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571667",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: clang format space before parens in function call except for short names like gettext helpers? An example of a common style pattern is:
return g_strdup (_("24-hour"));
label = g_strdup_printf (C_("timezone desc", "%s (%s)"), ...
I.e. space between function name and opening parenthesis, but not when the function is... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571668",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to use retrofit in flutter? I have to use retrofit to consume an api from the server. In my case I have a function that's created on java. I have to recreate it in flutter.
this is the function:
@PostMapping("/save")
public Timestamp saveUser(@RequestBody User user) throws InterruptedException, Execution... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571669",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Creating a row with joined data in one query, sequelize I have two tables: Item and User.
export const Item = sequelize.define('item', {
id: {type: DataTypes.INTEGER, primaryKey: true, autoIncrement: true},
name: {type: DataTypes.STRING, allowNull: false, unique: true}
})
export const User = sequelize.defin... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571677",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: In Hibernate 6.0, hbm.xml multiple column has been disallowed, how to migrate them then? Reading the migration path from Hibernate version 6.0, they disallowed the multiple column possibility, as stated in https://github.com/hibernate/hibernate-orm/blob/6.0/migration-guide.adoc#hbm-xml-multiple-column-now-disallowed... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571680",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Setting up eBay api notifications on ItemSold New to API programming and am trying to setup eBay to call my website php script when a item is sold.
I would think this is a well document procedure but after reading up on the eBay dev site I'm even more confused. Seems to be a black art in setting this up.
I have setu... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571683",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Is it impossible to apply view in authentication method? I am trying to refresh jwt token during authentication method.
(Because I want to handle tokens in server-side)
I'm using Django, DRF.
This is my authentication.py, which is included in 'DEFAULT_AUTHENTICATION_CLASSES'
class CustomAuthentication(JWTAuthenticat... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571684",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to make a plot showing mean, SD, min and % based on a normal distribution in R language? Based on a normal distribution with the following parameters:
mean_value_VO2 <- 250.57
min_value_VO2 <- 128.16
sd_value_VO2 <- 351.74
Proportion (%) under the curve=63.6%
I wish to make a plot as Figure 6 in the paper at "h... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571685",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Empty borders on the sides of the image on Scrollbox ( Delphi, Android ) I can't solve the problem, please help.
I take a photo through TakePhotoFromCameraAction and upload the photo to TImage:
procedure TForm1.TakePhotoFromCameraAction1DidFinishTaking(Image: TBitmap);
begin
ViewForm.Image1.Bitmap.Assign(Image);
V... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571686",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Running Jenkins jobs using Kubernetes plugin run by DEFAULT on JNLP container instead of my container as documented here, by default, commands in Jenkins agents will run in the jnlp container.
And yes, when I run my jenkins pipeline using this code, it will run on my main container -
node('node-agent'){
container(... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571687",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to set a unique way to read and write in binary for C++? I am creating an application that handles vectors.
As my vector only uses limited types of characters, I wanted to minimize the data amount of my output as much as possible.
For example, can I create a unique way of encoding and decoding binary so that
A i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571689",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Google-OR: determine how many items are in each backpack I'm solving a problem about several backpacks and I need the average value of all items placed in the backpack to be equal to some constant. So, the problem is that I don’t know where and how I can write down the items placed in each backpack, so that I can th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571693",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Raspberry pi access-point routing not working I have setup an access point on my raspberry pi 4 following this guide:
https://www.raspberrypi.com/documentation/computers/configuration.html#before-you-begin
I can connect to the wireless network, ping the ip address on the raspberry pi wlan interface, and dns seems to... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571698",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to produce correct answer in softmax classification ( Raw derivate) Although,
I can use autograd engine in pytorch and Neural Network,
I want to directly calculate the gradient of W and b in the softmax classification.
for better mathmatical understanding in machine-learning
I use the linear model : Wx + b
and I... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571700",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: implement a block with a slider I can't figure out how to implement this block using swiper.js . Most of all, the moment is unclear how not to make a bounding container on the left and do it on the right?
enter image description here
I tried to restrict the swipers container, but it didn't work out very well
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75571702",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to find nested patterns within a string, and merge them into one using a regex reordering of the string? import re
#example input string:
input_text = "here ((PERS)the ((PERS)Andys) ) ((PERS)assása asas) ((VERB)asas (asas)) ((PERS)saasas ((PERS)Asasas ((PERS)bbbg gg)))"
def remove_nested_pers(match):
# mat... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571703",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: display a html file as text in another Angular template I'm creating a component library using a monorepo. The monorepo has a library containing all the components and a showroom app that shows how the component looks when used in a template.
On the display page of a component in te showroom app I want a button that... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571705",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Passing dynamic text value to shared button component in Vuejs I'm trying to pass dynamic text value to my shared component named "Button component" whose text should appear in Spanish or English based on the language chosen.
For translation, I already have translation.service.js doing the conversions.
I'm not sure ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571706",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How Parameterize Truncating a table in Azure SQL DB within an Azure Data Factory Copy Activity I following an SO question on how to truncate a table in Azure SQL DB with ADF
how to replace data in azure sql database using azure data factory?
I am trying to emulate the sample in the question using my Copy Activity as... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571709",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Why can't I crawling on bs4? Obviously, there are tr elements in the tbody.
However, some elements (items with real-name authentication marks) are not crawled.
enter image description here
If you look at the picture above, it's definitely in the HTML element. The path is no different from other elements.
However, ev... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571710",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: NestJS socket gateway with mongoose watch repository method -> close event is being called immediately with no error and no changes are being observed I created a NotificationGateway in Nestjs and injected the notificationRepository.
afterInit method is being called and the changeStream.on('close') event is being th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571711",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: I want to Enter 100000 Records in Resource.Resx File and Access it Form Window Form in C# Although I have Accesed it.. but only upto 60000 Records can Access. whenever I Enterd 70000 Record ,it is Displaying Exception in Loading Page..
below-
System.TypeLoadException: 'Type 'WindowsFormsApp1.Properties.Resources' fr... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571712",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-3"
} |
Q: ESP32-CAM: Accelerate and Decelerate DC motors I completed with success my current project to recreate a functional Rainbow Six: Siege recon drone, but I'm having issues with flipping over the drone due to digitalWrite HIGH/LOW values for sending the signal.
I would like to implement the acceleration and deceleratio... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571715",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Error when runing factories and seeders laravel I've created my first api in Laravel, and I'm having trouble generating the database from the migations. Every time I run php artisan migrate even after using composer dump-autoload and generating again the database it doesn't work. It gives me the error Cannot declare... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571717",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Header keeps ticking out of a div I am in the process of creating a website. The website should have a bar at the top that is constantly visible. So far I have placed some buttons, an image and a headline inside the bar at the top. The bar at the top is made as a div and therefore I can't understand how my headline ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571719",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Flink - Expose new custom REST API In Apache Flink REST API documentation, in Developing section, is written:
To add new requests, one needs to
*
*add a new MessageHeaders class which serves as an interface for the new request,
*add a new AbstractRestHandler class which handles the request according to the added... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571722",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: VirtualTreeView is not scrolling with mouse wheel Using: Delphi 10.2.3 Tokyo, VCL Forms application, Windows 10 Pro, latest TVirtualStringTree
I have a TVirtualStringTree populated with many nodes, and the vertical scroll bar is visible. However, nothing happens when trying to scroll with the mouse wheel. Is there a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571725",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Cluster different sized/shaped markers on react-native-maps [Apple maps] How do i cluster different sized markers on react native maps? The markers could also be of different shapes (images) like circles/rectangles (or) weird shaped polygons and stuff. If not, is there a way to atleast identify overlaps between 2 di... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571726",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Controlling SAM function log-group creation When using CloudFormation with SAM, and creating a SAM function - a log group for that lambda may or may not be created.
The existence of the log group when the SAM function resources have entered the CREATE_COMPLETE state depends on the configuration of the lambda (e.g. i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571731",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: how to reuse response the db rows and values when using tornado-sqlalchemy According to the tornado_sqlalchemy docs i'm suppose to use the session like so:
from tornado_sqlalchemy import SessionMixin
class MyPage(SessionMixin, tornado.web.RequestHandler):
async def get(self):
active = await self.get_ac... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571733",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Django Test Error: "1824, Failed to open the referenced table" This is the flow of how my database is created:
*
*I already have a legacy MySql database with some tables.
*I create the django project and connect it to the legacy database.
*I run migrate, in order to create the django tables for sessions and au... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571734",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: My extension is not appearing under "installed extensions" when running in debug mode (F5) in VSCode Although the VSCode extension I'm developing works as expected so far when running with F5, it does not appear when clicking on "Extensions" in the Primary Sidebar:
If the answer is that it will come later when I le... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571736",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Vue 3 Option API with TypeScript: How extends 'this'? I need to wrap an existing Javascript component.I need to wrap an existing Javascript component. The code will be (simplifying) as below:
import myComponent from './myComponent');
import { defineComponent } from 'vue';
export default defineComponent({
props: {... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571737",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to transform nested if form in logback-spring.xml Transform nested if from
As per the sample given in logback.qos.ch/codes.html#nested_if_element
I can see only for nested if inside root tag..
Can I get an example for appender tag as well
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75571738",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: When someone requests a new Refresh Token, should I update the new Refresh Token's expiry date? When the client requests a new Refresh Token, should the Api update the new Refresh Token's expiry date or should I only send back a new Access Token and Refresh token, without updating the expiry date of Refresh Token?
I... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571739",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to create keyclock clientSecret via API I’m using keycloak version 20.0.2, and I want to know if it possible to create clientSecret through a post request (/admin/realms/:realm/clients/:id/client-secret).
I want to send body to post request with my own generated client secret value
https://{host}/admin/realms/{r... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571740",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Add x-rate-limit response headers to the load balancer I configured a Cloud Armor rate limiting rule and i would like to attach the following custom response headers to my global external HTTP(S) load balancer backend.
x-ratelimit-limit: The maximum number of requests available in the current time frame.
x-ratelimit... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571745",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |