text
string
meta
dict
Q: Cloud SQL connect from Appengine I want to coonnect to cloud sql mysql instance in gcp from my java appengine project. I am not able to under stand what this is INSTANCE_UNIX_SOCKET in the configuration section. I want to connect to this instance from my java appengine project. I have mysqlsocketfactoryconnector jar...
{ "language": "en", "url": "https://stackoverflow.com/questions/75626162", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Not able to mock out service in spring boot GraphQL I'm using spring-boot-graphql and trying to mock out a service I have. @Slf4j @Service public class UserData extends BaseData { ... public Mono<UserPage> getUsers(UserContext context, NameFilter filter, Pageable pageable) { var userTuple = filterB...
{ "language": "en", "url": "https://stackoverflow.com/questions/75626164", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to handle POST net::ERR_CONNECTION_REFUSED error in Axios Vue.js django I am using Axios to send the data for the backend but it keeps breaking, what should I do? in .then(response => { this.$router.push('/Log-in') return response }), I returned the "response" because the console is saying "error 'response' is ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75626166", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How do I create my own framework in javascript? I will be building fullstackwebsite for my diploma and would like to have my own framework in it for better understanding how they work I feel like some stuff could be optimized
{ "language": "en", "url": "https://stackoverflow.com/questions/75626168", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: Remove the unnecessary Boolean literal(s) issue in SonarQube - C# SonarQube is throwing an error for the following 2 ternary expressions in my C#(v10) controller class citing Remove the unnecessary Boolean literal(s).: IsSuccess = response == null ? false : true; ResponseMessage = resp == true ? "Success" : "Failure...
{ "language": "en", "url": "https://stackoverflow.com/questions/75626170", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Wordpress Related Products have to match at least 3 tags I have a Wordpress website that has a related produts slider when inside a product, the related products slider has a filter to only relate produts by tags instead tags and categories. I want to know if is possible to only have related produts that only match ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75626172", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Casting int problem inside a nested FROM clause subquery I have a table with the primary key param "code" typed as string. The key could be numeric or alphanumeric. The idea is to write a query that gives the max value among the numeric values of the keys inside a range. Consider a table called FooTable with these v...
{ "language": "en", "url": "https://stackoverflow.com/questions/75626173", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to send data from other Django app to other server How to send data from other Django app to other server using HTML file (client side), with cors I’ve tried disabling cors
{ "language": "en", "url": "https://stackoverflow.com/questions/75626174", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Playwright python connect to open browser This is in the context of robot framework's playwright library, but I haven't had any responses from them. Hopefully some playwright experts can help me out. I'm trying to connect to an existing and already opened browser with playwright. Following this tutorial, I got it to...
{ "language": "en", "url": "https://stackoverflow.com/questions/75626176", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Why does a Groovy script hang indefinitely after throwing an exception using the assert statement? I have a verify.groovy script that executes multiple Groovy scripts using the evaluate() function. One of the scripts, first-check.groovy, intentionally throws an exception using the assert statement. However, instead ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75626178", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Error: Could not find or load main class - Intellij I have a gradle project with multiple modules. In one of the modules I have a standalone java class and the src directory structure is like, Class/Student/java/com/test/Sample.java package com.test; public class Sample { public static void main(String args[]){ ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75626180", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: ALP program to display characters r in between two horizontal line of 50 pixels long in different color in the middle of PAGE-2 of a graphics display QUESTION Develop an ALP to display your Registration number in between two horizontal line of 50 pixels long in different color in the middle of PAGE-2 of a graphics d...
{ "language": "en", "url": "https://stackoverflow.com/questions/75626181", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Css selector "not:nth child" not working in the template using vailla css styles Need to margnin-top all labels except the first one in the row, using not:nth child. Having issue with the selector probably** // template: <div class="form-group"> <label class="label"> </div> <div class="form-group"> <label clas...
{ "language": "en", "url": "https://stackoverflow.com/questions/75626184", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to evaluate this expression in python 2L ** 4 I'm getting an error when I try to evaluate 2L**4 in python, it says L is not 'defined'. I am only supposed to print the result, not add value to the L.
{ "language": "en", "url": "https://stackoverflow.com/questions/75626185", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Linux Ubuntu - Remove docker and docker-compose automatically or manually doesn't work When I wanted to do a docker-compose up for a project in NextJs, I got this error: docker-entrypoint.sh: Permission denied According to this comment in github. I had to uninstall docker and docker compose but I never managed to do...
{ "language": "en", "url": "https://stackoverflow.com/questions/75626187", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: google translate API bottleneck I'm currently working on an ETL pipeline and it takes too long to run after checking which part of the code takes the longest I found this: I'm using the Google Cloud Translate API to translate keywords that don't have translations in my db, but I'm running into a bottleneck when I tr...
{ "language": "en", "url": "https://stackoverflow.com/questions/75626189", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: how to use multiple files/folders for python coding? i am a new to coding and i used google colab to learn python . i started to use other services since i use a low power chromebook like repl.it etc these have the ability to add multiple files i find this extremely common in github. how do i do that? and can someon...
{ "language": "en", "url": "https://stackoverflow.com/questions/75626190", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Scheduling Spring Batch application as a cron job I want to schedule my Spring Batch application every one hour .The application runs in a docker container. I do not want to use any of the spring or spring batch related annotations like @EnableScheduling. I want docker to launch the job. Is it possible to schedule t...
{ "language": "en", "url": "https://stackoverflow.com/questions/75626196", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: MySqlException: Field 'Discriminator' doesn't have a default value i got this error: MySqlException: Field 'Discriminator' doesn't have a default value. I use .net core6 and mysql. i used Identity of .net core and i extended identityuser to Applicationuser. i added new prop to Applicationuser . I migrated and update...
{ "language": "en", "url": "https://stackoverflow.com/questions/75626199", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Incorrect Adding 450 child controls to FlowLayoutPanel Good afternoon Has a user control Imports System.ComponentModel Public Class CustomList Private _icon As Image Private _head As String <Category("Custom Props")> Public Property Head() As String Get Return _head End...
{ "language": "en", "url": "https://stackoverflow.com/questions/75626201", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: What Am I doing wrong in the has many through association In Rails 6? So, I have 3 models(account, user_category, category) every model is inside different folders. I've defined a has_many through association to associate Account to Category through middle table User Category so that a user can have many categories ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75626203", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Azure cannot get UUID from role in terraform I am getting a role definition in terraform from azure with the following command: data "azurerm_role_definition" "test_role" { name = "Test Role" scope = data.azurerm_subscription.test-subscription.id } With the id of the role I am trying to create a role assignment...
{ "language": "en", "url": "https://stackoverflow.com/questions/75626206", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: I got an error on my react and Node.js application When i'm trying to delete data from my react.js it shows this error and data is not deleted from database. Uncaught (in promise) SyntaxError: Unexpected token '<', "<!DOCTYPE "... is not valid JSON if (agree) { fetch(`http://localhost:5000/users/${user...
{ "language": "en", "url": "https://stackoverflow.com/questions/75626207", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Why do I get a non-integral value error when using Cplex in python? I have hit a wall for many months now trying to use Cplex for a large linear program. I am using the populatingbynonzero method to create the coefficient matrix but when invoking linear_constraints.set_coefficients, the same error is always raised: ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75626208", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Fisher and McNemar tests aren't calculated in Bluesky statistics I have a small database with 24 respondents and when analyzing the qualitative data, the result in Bluesky Statistics software is calculated only for the Pearson chi-square test, but the result is NA for the McNemar and Fisher tests, where could the pr...
{ "language": "en", "url": "https://stackoverflow.com/questions/75626210", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: How to filter List data using LINQ C# I have one list IList which contains these objects : Name,TOs,Date. The list has 30 data count and I want to filter only those data which have these following TOs values: List<string> filterTOs = new List<string>(){'VB','FR'}; Need to filter those items which contains only VB/...
{ "language": "en", "url": "https://stackoverflow.com/questions/75626214", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: calling graphql query but getting Undefined my query const ExamOverviewQuery = gql` query ($itemId: Int) { Exam(filter: { Exam_ID: { _eq: $itemId }}) { Exam_ID, Exam_Name, Exam_State { Exam_State_Name }, Exam_Status { Exam_Status_Name }, ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75626216", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Cookies from .net are not remembered by the browser I try send cookie from .net to my react app. I get response with cookie but my browser dont remember cookie. In swagger is ok, browser get cookie. I changed settings of cookies, i tried samesite options, added "Access-Control-Allow-Origin" etc. Someone know what go...
{ "language": "en", "url": "https://stackoverflow.com/questions/75626218", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Why this regex is not matching the text string? I have a python code as follows: import re string=" S/O: fathersName,other details,some other details."` fathersName=re.match(r":.*?,",string).group(0) The regex match is supposed to match the fatherName part of the string, but I get a attributr error saying no math...
{ "language": "en", "url": "https://stackoverflow.com/questions/75626220", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Windows authentication with user and password in URL Edge/IE mode with Selenium and Java I need to open a URL while putting the login and password in the URL like this: http://login:password@myurl.com As you know, IE is no longer around. This requires IE so we are using the new Edge with IE compatibility (where it ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75626221", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Logic for How to handle only if user has password then he can access the page content in laravel? I have an application which feature allows users to share their albums with password then have created, for this case I have used session like if password is true then if in blade will show the main content section else...
{ "language": "en", "url": "https://stackoverflow.com/questions/75626222", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Rust and Glsl identical functions throw different results I'm making a multiplayer game with procedurally generated terrain. On the client side, the terrain is generated with shaders, then the height map is stored and used to offset a mesh. On the server, we only have the function that have been used to create the t...
{ "language": "en", "url": "https://stackoverflow.com/questions/75626223", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: avoid #NV values with excel vba I have written this piece of code: thisworkbook.Sheets("test_destination").Range("J2:K" & lastrow_orgid).Value = Application.WorksheetFunction.Unique(diesesworkbook.Sheets("test_source").Range("J2:K" & lastrow_orgid).Value) It does what it is supposed to do but it creates these #NV v...
{ "language": "en", "url": "https://stackoverflow.com/questions/75626225", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to select the previous data point in looker studio Hi! I'm getting into Google Looker and I have some issue in understanding how foremulas work. I have a set of data points for different months and i wanna calculate data field that can tell me how a the data changed in respect to the previous month, any idea how...
{ "language": "en", "url": "https://stackoverflow.com/questions/75626226", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How to ssh into a VM within if else block using shell script? How to ssh into a VM within if else block using shell script? docker build -t qtech/security-categories-microservice:latest . docker run -d --name sec-cat-ms qtech/security-categories-microservice:latest sleep 10 status=$(docker ps | grep sec-cat-ms | awk...
{ "language": "en", "url": "https://stackoverflow.com/questions/75626227", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: webview_flutter does not show video thumbnail When I use the webview_flutter and load a page with an HTML5 Video, there is no autogenerated thumbnail, similar to "real" browsers. On Android I get an ugly grey background instead and on iOS no thumbnail at all. Is there any possibility to fix this? I would expect some...
{ "language": "en", "url": "https://stackoverflow.com/questions/75626229", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: I am trying to connect appium inspector with my android emulator and I am filling all the required capabilities but I am getting an error Failed to create session. An unknown server-side error occurred while processing the command. Original error: Cannot start the 'net.one97.paytm' application. Visit https://github....
{ "language": "en", "url": "https://stackoverflow.com/questions/75626234", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to decode whatsapp websocket binary data I am triying to read whatsapp websocket data. How can i decode this data when a user is typing on whatsapp i received this data 000024b86ed9ab37938e4fb6ed89aab53476bb77c004a363e7cba5cc120ea62d4fad2f1f53d195 when he stopped this typing then his status changed from typing--...
{ "language": "en", "url": "https://stackoverflow.com/questions/75626235", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Is there a look-ahead bias in the following code? Hi first of all im new on stack overflow and this is my first question i want to know where in the following code is look-ahead bias is happening i rewrote the code as shown below but still wont get any entry trades is there any way to to just look at the past trend ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75626236", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Parsing nested JSON errors I have a JSON file I am trying to extract data from and I keep getting errors that I cannot resolve for some reason, any advice? Here is how I am running it in playgrounds import UIKit struct GETprojects: Codable { var projectGetResult: Bool var projectGetProjects: ProjectGetProje...
{ "language": "en", "url": "https://stackoverflow.com/questions/75626239", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Compiled with problems SASS i got some compilation problem when i start my App : Compiled with problems: ERROR in ./src/styles/pages/_Home.scss (./node_modules/css-loader/dist/cjs.js??ruleSet1.rules1.oneOf[7].use1!./node_modules/postcss-loader/dist/cjs.js??ruleSet1.rules1.oneOf[7].use[2]!./node_modules/resolve-url...
{ "language": "en", "url": "https://stackoverflow.com/questions/75626240", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How can I update only the logged in user data I'm making an attendance system my problems is when someone click the "time-out" button its updating the last record of the other user who time in last. This is my store code and update code (Controllers) A: Update only the logged-in user data in Laravel you use the A...
{ "language": "en", "url": "https://stackoverflow.com/questions/75626242", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Cannot access offset of type string on string while trying to import JSON to database I'm working with PHP and wanted to import my JSON to a DB. I got my code from a tutorial on Youtube. My problem is I got this error: Fatal error: Uncaught TypeError: Cannot access offset of type string on string in C:\xampp\htdocs...
{ "language": "en", "url": "https://stackoverflow.com/questions/75626243", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Lockbehaviour of subselect I discovered that lockhints have a massive difference in how they work depending if you use a subselect or not. This SQL select * from foo WITH(UPDLOCK) where bar = 1 compared to this: select * from foo WITH(UPDLOCK) where id in (SELECT id from foo where bar = 1) sub Yields the same rec...
{ "language": "en", "url": "https://stackoverflow.com/questions/75626244", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How to find unique couples in mongo I'm inserting these documents: db.users.insert({user1: 'a',user2: 'b'}); db.users.insert({user1: 'b',user2: 'a'}); db.users.insert({user1: 'c',user2: 'd'}); db.users.insert({user1: 'd',user2: 'c'}); Please note that user1 and user2 are actually ObjectId, but I'm writing them as s...
{ "language": "en", "url": "https://stackoverflow.com/questions/75626245", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Sorting all div using drag functionality I have some data which is presented in form of div. The data is divided in form of Floor and it's components. I want to order these all using drag functionality. Components will be sorted in it's Floor and Floor can be sorted anyhow as it is the main section. The application ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75626248", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Is using react-bootstrap and styled-component a good choice for clean code and best practice principles? I am using React-bootstrap with styled-component to build React apps. so when I need to make some css modifications, I immediately create a new component and style it with styled-component. I feel confused... sh...
{ "language": "en", "url": "https://stackoverflow.com/questions/75626250", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Fastify authentication with Keycloak using passport and openid-client I am trying to protect REST API in Fastify. Firstly, I used fastify-keycloak-adapter, which I got successful with. But later I discovered, that Keycloak deprecated all their adapters and suggested using the OpenId solution. I tried to use @fastify...
{ "language": "en", "url": "https://stackoverflow.com/questions/75626256", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Migrate jquery 1.7.1 to 2.2.4 and $(document).foundation(); I got this in the console in the Chrome browser. Snapshot of the console i Chrome I'm trying to upgrade jquery 1.7.1 to 2.2.4 in my mvc site and I use Foundation 5. I have already got some tip about change ...attr("checked") to ...prop("checked") and that w...
{ "language": "en", "url": "https://stackoverflow.com/questions/75626259", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Query 'last transaction datetime' via NFC for EMV card For a proof of concept we would like to understand if we can present an EMV card via tap to an NFC reader and confirm whether that card has been recently used. Ideally something like getting 'time since last transaction' metric. I experimented with EMV reader ap...
{ "language": "en", "url": "https://stackoverflow.com/questions/75626261", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Looking MS Graph constants to replace magic strings I am using MS Graph SDK to fetch some data for my Blazor Server app. Because I am using more advanced requests, I am using some settings represented by magic strings, like: var queryOptions = new List<QueryOption>() { new QueryOption("$count", "true"), ne...
{ "language": "en", "url": "https://stackoverflow.com/questions/75626264", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Clear the particular data I can't able to remove the particular data. In Other device working this code. Also can't able to remove all the data on a single click. If clear the data then all the data clear on some way. I can't able to find where is the error js file import React, { useState } from 'react' const UseS...
{ "language": "en", "url": "https://stackoverflow.com/questions/75626265", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: DatabaseSessionHandler doesnt delete old sessions when I try to get logged on Laravel 9 jetstream DatabaseSessionHandler doesn't delete old sessions when I try to get logged on Laravel 9 jetstream. For some reason that work when I do a registration but none with the login. This is the method what is failing; pub...
{ "language": "en", "url": "https://stackoverflow.com/questions/75626266", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Django generating a subquery in the group-by clause of SQL query I have models like this: class Task(models.Model): project = models.ForeignKey(Project, on_delete=models.CASCADE) author = models.ForeignKey(User, on_delete=models.CASCADE) class Project(models.Model): name = models.CharField(max_length=12...
{ "language": "en", "url": "https://stackoverflow.com/questions/75626267", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Which Databse is better for social app which can handle over 1 million users Right now we are using firebase for social app but as app is growing we are facing issue in searching, fetching data and many other thing, So we decided to change your database what is the best database to switch which can handle over 1 mil...
{ "language": "en", "url": "https://stackoverflow.com/questions/75626269", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Why am I getting table heading while scraping tr tags? New to web scraping, extracting data from the Wikipedia s&p 500 page, used .find_all('tr') to find the table entries, still the first instance found was the table heading, I thought that table heading would be found by searching for <th> My workaround for that ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75626270", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to diaplay the exact amount inside a histogram bin I am trying to place the number of observations inside the bin like this [Excel histogram example][1]: https://i.stack.imgur.com/kYJt7.png. But now i run into the problem that i need to reproduce this in Rstudio. I'm able to plot all the histograms i need but ca...
{ "language": "en", "url": "https://stackoverflow.com/questions/75626271", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Mapping and choosing from an array of arrays(which is just a pair of elements). Ruby I have this array: [["A", 0], ["B", 0], ["b", 0], ["F", 1], ["G", 2], ["g", 3], ["C", 0]] and I want to choose from the pair if it's 0 or not and create a new array that results into this ["A","B","b",1,2,3,"C"] I tried using arr.ea...
{ "language": "en", "url": "https://stackoverflow.com/questions/75626274", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Oracle: Get the indexes created explicitely with CREATE [UNIQUE] INDEX Using Oracle (19.3 and 21.3), we would like to find the indexes created with a real CREATE [UNIQUE] INDEX instruction, and exclude those that are automatically created by constraints like PRIMARY KEY and UNIQUE. Seems not to be so easy with exist...
{ "language": "en", "url": "https://stackoverflow.com/questions/75626276", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Sttp, Circe, Json - how to deserialize Json to custom object? I have a simple case class which models Http response: case class Other(name: String, age: Int) case class MyResponse(id: String, name: String, others: List[Other]) I created decoders for them: implicit val decoderOther: Decoder[Other] = deriveDecoder[Ot...
{ "language": "en", "url": "https://stackoverflow.com/questions/75626278", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Dynamic tabs with multiple tab content I'm trying to create navigation using Bootstrap 5, so that I have 3 columns of content. The first column contains a nav-list. The second column contains an additional nav-list, and in the third column items are shown to correspond with the active item of the second column list....
{ "language": "en", "url": "https://stackoverflow.com/questions/75626279", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: pytest - assert that function was called with required parameters I am using pytest to mock functions and in my tests I use the assert_called_with to assert that the function was called with the correct methods. But I noticed I made a misstake where I had omitted on of the required parameters to the function in the ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75626283", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to guess the encoding algorithm by the decoding code There is a unknown encoding algorithm(which is used to encode some text), I want to to guess what it is. Here I already know the decoding code, it is in Kotlin. I guess it is a DES or RC4 alike encoding algorithm, but not sure. ` class Decoder(private val defa...
{ "language": "en", "url": "https://stackoverflow.com/questions/75626285", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Couldn't find 'window' in scope, Scene delegate So this problem is mostly common in the AppDelegate.swift because of the newly added Scene delegate, but for some reason I get couldn't find window in scope in the scene delegate? here is my code: func scene(_ scene: UIScene, willConnectTo session: UISceneSession, opt...
{ "language": "en", "url": "https://stackoverflow.com/questions/75626286", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Text wrap or multi line on a Jtable Trying to create a system where n is input to table. However, n is long and won't fit on the table. the 5 columns I'm trying to wrap, used TableCellRenderer for 1 column Tried using TableCellRenderer but it only text wraps one cell, and I'm trying to text wrap 5 cells. here is whe...
{ "language": "en", "url": "https://stackoverflow.com/questions/75626287", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Create shortcut for R# quick action "Check parameter for null" Using ReSharper I can generate null-checking routines by pressing Alt+Enter, waiting for the menu to appear (1-2 annoying seconds), then choose "Check parameter for null". How can I create a shortcut for that action? There are a zillion of actions availa...
{ "language": "en", "url": "https://stackoverflow.com/questions/75626288", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: upload a file to aws s3 with CLI by giving an url instead of a local file we use AWS S3 and CLI (aws command line interface) to move pictures from our server into a bucket. Now, we use another system which delivers those files (pictures) as urls. Instead of downloading this files and then uploading them to aws s3 wi...
{ "language": "en", "url": "https://stackoverflow.com/questions/75626290", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: SQL - How to parse out data with multiply values in single column with separated pipe delimiter I need a way to parse out data that contains multiply values in the same column. The values are separated by pipe delimiters. Any help on how to achieve this in SQL would be great. Current Table: ''' Expected outcome nee...
{ "language": "en", "url": "https://stackoverflow.com/questions/75626296", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Is there a way to limit which files liquid render can render / include I want to build a ruby on rails app where I allow end users to upload their own liquid themes, similar to shopify. I want to store the files in themes in their own folder and allow the use of render and include to pull in other files/components. ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75626297", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: AttributeError: 'Drawing' object has no attribute 'asDataUri' I tried to encode svg data as asDataUri() in the drawsvg2 and it generated an atrribute error. I installed the latest drawsvg 2 and started having errors from encoding svg data as "asDataUri(). It was working until I changed from drawsvg 1 to the latest ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75626299", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can I add `id` attribute in data objects ? (MongoDB, mongoose) I am still a beginner in mongo db. So I want to add id attribute to my data objects. Right now, when I ran my code below, it says 'document must have an _id before saving'. I tried to add _id in the Schema along with name and number properties like t...
{ "language": "en", "url": "https://stackoverflow.com/questions/75626303", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Error: java.lang.RuntimeException: PipeMapRed.waitOutputThreads(): subprocess failed with code 2 I am fairly new to using hadoop and I've been get these exceptions when I run a file on hadoop.Please help.enter image description here[enter image description here](https://i.stack.imgur.com/b6rHI.png) I expected that a...
{ "language": "en", "url": "https://stackoverflow.com/questions/75626306", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Is there a way to monitor response codes and response bodies in Log Explorer in GTM Server-Side project in Google Cloud? I need to setup some sort of alert system when something in my GTM Server-Side implementation goes wrong (namely, if some of the requests are malformed and the endpoints comes back with an error c...
{ "language": "en", "url": "https://stackoverflow.com/questions/75626308", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Can we find the depth of any object in image using monocular depth estimator and get the number which gives the depth of object? we want to find how much far a particular thing is far from the camera in an given image. we are not able to find any way so is there any thing which can help.
{ "language": "en", "url": "https://stackoverflow.com/questions/75626310", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: In HTML (without react), How to use activityMiddleware to add custom classname to incoming message I'm now working on a simple webchat where Im utilizing botframework-webchat cdn (not react) and exploring all Web Chat APIs. For Activity middleware and Activity renderer, there seems to be no examples using plain java...
{ "language": "en", "url": "https://stackoverflow.com/questions/75626312", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: HTML button has padding I am trying to add the below button to a website but when I do it puts this padding around it (it should just be the orange box). How do I get rid of this? Sorry my html knowledge is limited. I am using the code below: <form action="https://google.com"> <button type="submit"><img src="Link t...
{ "language": "en", "url": "https://stackoverflow.com/questions/75626314", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: Can anyone explain to me how the namedParameterJdbcTemplate works? I'm grew up in PHP and for some time now I've been approaching big and huge problems with the Java language using the Spring Boot framework. I had the opportunity to read and copy the code of someone who used the NamedParameterJdbcDaoSupport to make ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75626315", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Spring batch 5 does not start job automatically I'm upgrading a job from spring boot 2 to spring boot 3, which also bumps spring batch to spring batch 5. I'm having an issue where the job no longer starts automatically. This is not a scheduled or asynchronous job, it's simply run as a jar. Preferably I'd run it some...
{ "language": "en", "url": "https://stackoverflow.com/questions/75626317", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: how to change target folder of tomcat that war file gets picked from webapps-javaee folder instead of webapps in IntelliJ I am working on a requirement where tomcat is getting upgraded. Now, I want that tomcat war file gets picked from webapps-javaee folder instead of webapps. I want to do that setting in IntelliJ, ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75626319", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to delete files with directory in python I have a path tmp/2023 inside this path there are various folder wity date and months like tmp/2023/02/24/model.parquet. Now u have to delete whole directory except tmp. My expected output should be tmp only how can i do that.
{ "language": "en", "url": "https://stackoverflow.com/questions/75626320", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can I get an element with getElementById found in innerHTML I want to do something like this: <div id="parent"> <iframe id="myFrame" title="HEY!" srcdoc="<div id='inner'>Hello World!</div>"></iframe> </div> var parent = document.getElementById("parent").innerHTML; var title = parent.getElementById("myFrame").t...
{ "language": "en", "url": "https://stackoverflow.com/questions/75626322", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How do I add elements from one map to another if it doesn't exist already or the value is blank? In my Spring Boot application I have two Maps: Map<String, String> defaultValuesMap = Map.of( "BMW", "Something", "Audi", "Something else", "Nissan", "Something else" ); Map<String, String> myMap = Map.of( ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75626324", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Fetching a variable from a group I am working with Ansible and I am trying to fetch a variable defined in a group like this in the inventory: server1: host: www.server1.com my_group: hosts: server1: server2: vars: var1: 100.100.1.1 var2: abc I tried fetching it like this in the playbook: - hosts: ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75626325", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Organisational Chart with independent nodes I would like to visualize my company´s organizational chart in an HTML Widget to replace the currently used drawn PDF. In principle this seems feasible using the highchart or googleVis package. Unfortunately, the current org chart has some independent nodes that are placed...
{ "language": "en", "url": "https://stackoverflow.com/questions/75626326", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to shrink at runtime a struct matrix (using realloc() for example) How to shrink at runtime a struct matrix (using reallocate() for example) I have a struct matrix which I use to set a vector of size 3 with entries (1,2,3). How is it possible to shrink the size of the vector to retain the 2 first elements and re...
{ "language": "en", "url": "https://stackoverflow.com/questions/75626327", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: jQuery/Javascript: Setting value of input is reset after focus change I'm using an embedded Chromium version (Microsoft WebView2) in my Flutter-Desktop-App (Windows). My goal is to use a virtual keyboard that is used "outside" of the embedded webview. After a keystroke on my virtual keyboard, the corresponding input...
{ "language": "en", "url": "https://stackoverflow.com/questions/75626329", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Sun shadow from buildings on Mapbox GL 3D I want to project sun-shadows from buildings using Mapbox GL 3D. I found this plugin example https://shademap.app/@48.2326,16.41778,15.7269z,1677841444048t,-112.65731b,33.5p,0m but it's working with a server response and I want to resolve it just in local.
{ "language": "en", "url": "https://stackoverflow.com/questions/75626335", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Implementation of Rabin-Karp string matching (Rolling hash) I am trying to implement Rabin-Karp string matching algorithm to find String needle in String haystack (Return index of String haystack where a match for String needle was found). I am getting error in trying to find needle c in haystack abc. Here is how my...
{ "language": "en", "url": "https://stackoverflow.com/questions/75626337", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to create a loop to write json files with two arguments from difrent lists in python I need help to creating something like a loop to shorting my code. At the moment I have: code that writes data from json dictionaries to appropriate files: file_01 = f'{root_path}/{output}/{file_name_01}.{json_ext}' file_02 = f'...
{ "language": "en", "url": "https://stackoverflow.com/questions/75626338", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Criteria API Migration Issue I have following code that use Hibernate Criteria API , but after the Depreciation in Hibernate 6, I am not sure how to migrate this code/ implement using new libraries import javax.persistence.criteria.CriteriaBuilder; import javax.persistence.criteria.Selection; import java.io.Serializ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75626339", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Why SOL (Native Cryptocurrency of Solana Blockchain) is not a coin but a token? Before I was taught that any cryptocurrency having its own Blockchain is coin, not a token. While a token is a Cryptocurrency that does not has its own Blockchain. But recently I read that SOL is a token not coin even though it has its o...
{ "language": "en", "url": "https://stackoverflow.com/questions/75626341", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: How Can I Write Things Side By Side In The Box? Hello guys i wanna write 1 and new referral side by side but i couldnt figure it out how. new referral will not have green background but they will be side by side any help appreciated. I shared my codes on code snippet. I wrote it by using html and css. I tried to sea...
{ "language": "en", "url": "https://stackoverflow.com/questions/75626342", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Julia: create empty DataFrame and then fill part of it with Float64 values I need to create empty DataFrame and later fill only some cells with Float64 values. If I indicate with "missing" values while creating df, then I get error when I want to insert values. I receive no error if I insert float values right away,...
{ "language": "en", "url": "https://stackoverflow.com/questions/75626344", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: MSIX packaging a dot net Core 3.1 app that references to windows.winmd assembly? I have an winform app that targets dot net core 3.1. I have to use windows.winmd for AppserviceConnection or other necessary tasks. While packaging the app with windows application packaging project (MSIX), running the WAP project gives...
{ "language": "en", "url": "https://stackoverflow.com/questions/75626345", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to wrap std::shared_ptr and std::vector from C++ in Cython? I am trying to wrap a C++ library into a python API with Cython. The class I want to wrap has the following template: template<typename Value> class ClassToWrap { public: typedef std::shared_ptr<std::vector<Value> > TypeToWrap; ClassToWrap(Typ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75626349", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Transforming Linear Gradients Individually For Each Element Just wanted to double check whether I understand this correctly: * *If I want to use linear gradients on SVG elements, like <rect>, I need to first put the <linearGradient> inside the <defs> and then reference it either in fill or in style. *If I want to...
{ "language": "en", "url": "https://stackoverflow.com/questions/75626350", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: WebSocketException - Connection was not upgraded to websocket I am using the package web_socket_channel: ^2.3.0 for connecting the socket. Below is my connection code. final channel = IOWebSocketChannel.connect(('wss://app-link')); // channel.stream.listen((event) { channel.sink.add('moniter'); c...
{ "language": "en", "url": "https://stackoverflow.com/questions/75626352", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Fetching the email body by the send grid message Id Is there any way we can fetch the email body by the send grid message Id( which is looks like this QpnPqIzvS-u9ZdGIyNrFOw.filterdrecv-59cb65cf6d-kpcxt-1-63FDCB99-11.0). Please let me know. How to implement in the NodeJS using @sendgrid/mail package I am not aware. ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75626354", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: NSwag, csharp client generation SingleClientFromOperationId in c# I'm trying to use NSwag in C# to generate a CSharp based httpClient from an OpenAPI spec. The generated HttpClient has some issues which I know why are caused but I cannot seem to find anything in the settings to specify on how to generate it. It shou...
{ "language": "en", "url": "https://stackoverflow.com/questions/75626355", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Header not staying on top when scrolling As I am devoting my time and energy towards the completion of a particular project, I have come to realize that in order to achieve the desired aesthetic and functionality of my webpage, it is of utmost importance that the header remains static and fixed in position, even in ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75626361", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }