text string | meta dict |
|---|---|
Q: Spring Security Test case Issue with @WithMockUser I have Service class as shown below with 1 method
This method will only be accessed if user has WRITE role but my test case with READ role is able to access but it should not be able to access. I don't know what's wrong I am doing here.
@Service
@AllArgsConstructor
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75615499",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: c# TCPServer seems not to respond to client dissconnection This TCP Server Works, but does not process the Client disconnection
I tried the TCP Client c# and Xamarin for the Android Phone\Tablet
Both Connect and Send Data correctly, But the Server seems not to
respond the client dis-connection
The Purpose is to get ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75615500",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: VS Code launch chrome no longer works All of a sudden I can no longer start a chrome launch
MacOS Ventura 13.2.1
{
"name": "ui",
"type": "chrome",
"request": "launch",
"preLaunchTask": "pre-ui",
"url": "http://localhost:4581",
"webRoot": "${workspaceFolder}/ui/projects/app",
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75615501",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: laravel 10 problems in vendor directory I've just started laravel 10 and got fresh project.
i'm using vs code and i have some extensions for PHP and laravel.
i have a strange problem in my vendor dir and this if the full path of the problem "vendor/phpUnit/phpUnit/src/textUI/Output/Default"
my problem is that the fi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75615502",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How can I pick two values from the same array from json response of an API without hardcoding them using JMeter I have the sample JSON response of a GET API that resembles as below
{
"result" : "OK",
"List":[{
"zid":"1"
{
"aid":123,
"bid":435,
"Type":"Samsung"
},
"yid":... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75615506",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Searching for words in list I am trying to make this script find words from the list to_remove in my docs file and if found color them.
Everything works fine but it found only one word from list. It seems like the loop does not work after finding this one word. Is there any mistakes in my script? Thanks.
import doc... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75615509",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Disable Keyboard suggestions when "secureTextEntry" is false in Android I want to disable suggestions in my app for a security reason, i.g for any TextInput in app keyboard suggestion should not show, but for following case it is still showing the keyboard suggestions,
Case: if "secureTextEntry" set to false, it sho... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75615511",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Time overflow over 2 days, determining if time is now part of day 1 or 2 I have the following scenario from data in a database:
Current logic
Monday 08:00 - 17:00
Tuesday 08:00 - 15:00
Tuesday 17:00 - 23:00
Wednesday 08:00 - 03:00 (overflow next day)
Thursday 08:00 - 03:00 (overflow next day)
Friday 09:00... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75615512",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: i am running my flutter in vs code and i have an error while trying to use the dropdownfield package import 'package:dropdownfield/dropdownfield.dart';
the error:
Error: Cannot run with sound null safety, because the following dependencies
don't support null safety:
*
*package:dropdownfield
: Context: Found this ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75615513",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: How to include $sum field for each existing field in a document with aggregate? I have this document.
{
"_id": "1",
"name": "KP",
"points": 20
},
{
"_id": "2",
"name": "Josh",
"points: 30
},
{
"_id": "3",
"name": "Angelo",
"points": 50
}
How do I get the sum of all fields (should be 100) and then add them on each ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75615514",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Springboot - dynamically binding from DTO to various config types TL;DR: I get config in json format, and wish to bind it dynamically to objects without explicitly doing this in code, similar to how spring .properties binds with configuration beans. How can I do this?
I am restricted to storing external configuratio... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75615515",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Aiohtpp RuntimeError: Event loop is closed I'm a beginer. This is the telegram bot code I am making for AWS Lambda. I get this error every time I wrap getting dp from my config in a function. And I tried both a regular function and an asynchronous one, it gives the same error. But the error disappears when I directl... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75615521",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: SAS: Sum across variables based on dates between two date variables Start_date | End_date |monthly_pay_202001 | monthly_pay_202002 | monthly_pay_202003
12/02/2020 | 01/07/2020 | 200 | 0 | 10
12/05/2021 | 01/05/2022 | 300 | 20 ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75615524",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: ONNX sklearn model interface for android only returns class label as output I am trying to get probability/confidence score from the model on my android application.
While creating the ONNX model in python, i am able to see the confidence/probability score for a given input. However, when i give the same input on An... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75615525",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: React production build error (events.js:183 throw er; // Unhandled 'error' event) I am trying to run development build file (server.bdb01029.js) for my project in react. But, I am facing the following error on mac. Please help me resolve this issue. (Using node v8.11.1 and npm v5.6.0)
events.js:183 throw er; // Unha... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75615530",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: run the tcl script with its inputs on one line i have one script for this script manual input i am giving.
step 1: tclsh /india/ksantosh/innovus/scripts/def_file.tcl
step 2: it will ask "def_file.def"
step3: it will ask offset_x value "20"
step 4: it will ask for offset_y value "20"
step 5: it will execute... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75615534",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Slurm parameters to run a python script on multiple nodes I am trying to run a python script in parallel on a cluster but I find slurm quite confusing.
I have access to a HPC cluster which do not allow me to run my script on a single node and I have to reserve at least four (full) nodes. Each node has 128 CPUs and m... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75615539",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Not able to upgrade hive metastore In postgres I am upgrading Hive from 2.3.2 to 3.1.3
And during startup of hive metastore service I got version related error. That metastore is in 2.3.2 version and it requires 3.1.3
So I try to upgrade it using schemaTool but it failed with the error that table already present. As... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75615540",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Call the PowerBI report on page load without waiting to be clicked on Accordion in react I have a react functional component that has a PowerBIEmbed component which displays a PowerBI report inside an Accordion. But As a user, when I click the Accordion, the report starts loading.
As a developer, I want to create an... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75615541",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Unique value in django model field I have the following code:
from django.db import models
from django.contrib.auth import get_user_model
User = get_user_model()
class Employee(models.Model):
employee = models.OneToOneField(User, on_delete=models.CASCADE)
executive_head = models.BooleanField(
defa... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75615542",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to get the name of running pod instead of a terminating pod? Hi I am having a shell script.
i am trying the following command to get a pod name
K6_POD=$(kubectl get pod -l 'app.kubernetes.io/component=k6' -n k6 -o jsonpath="{.items[0].metadata.name}")
however with the above command, it returns the name of a te... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75615544",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: "System.NotSupportedException" [ProducesResponseType(typeof(PhysicalFileResult), StatusCodes.Status200OK)] I try 2 days resolve my problem, and I dont know. Meyby you are know how to fix this.
[HttpGet("public/ordinance/ordinance-annual-package")]
[ProducesResponseType(typeof(PhysicalFileResult), StatusCodes.Status2... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75615546",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Docker container is giving error for GPU but works for sudo command I have a GPU-enabled host machine (laptop) and when I run the following code, I am getting the error.
docker run -it --gpus all nvidia/cuda:11.4.0-base-ubuntu20.04 nvidia-smi
Error:
docker: Error response from daemon: failed to create shim task: O... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75615549",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Run the script on the entire column I'm new to javascript
I'm writing a code in Apps Script for Google Sheets that checks for a value in cell L3 and writes me the date and time in M3.
Now I would like to extend the script over the whole column, making a code for each row seems very expensive to me.
function now() {
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75615551",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: after upgrading to spring boot 3, all my mockMvc tests return 403 i have ~50 mvc tests that were green with spring boot 2.7.7 but became red with 3.0.3
everything was and is still allowed:
requestMatchers(applicationProperties.getBasePath() + "internal/api/**").permitAll()
the simplest test i have is this:
mockMvc.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75615553",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Pygal python library - data grouping over x-axis i.e quaters grouped against years I want to group data of quarters to years over x-axis using pygal library like the image attached
enter image description here
I have tried altering the method but it didn't worked, May be I was doing it the wrong way
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75615559",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Make tree structure for chessGames I want to make a Tree structure that shows my data from a number of chessGames. I dont want to use any libraries
The Node class is who has the turn and which move number it is. So there will be one node that is 1 White, and one that is 1 Black.
The Branch class is the children of t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75615561",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Set variable looses data outside of for loop For my solution using jinja template, I want to loop through a dictionary inside a list and filter out only the required data to be used in another for loop.
Initially I used set variable but the data got lost once outside the for loop. On reading more about it, I found a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75615562",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: To create subscription for a customer using Stripe php api for a bulk no of years with single payment I've been working on a project on a while which used stripe for user subscription. The frontend used is Reactjs and backend is Laravel.
As of now the product or the subscription is of type recurring per year which i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75615565",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: @section's Content is Not Showing in @yield I just learnt Laravel for a few days and have this problem.
The contents I write in welcome file is not showing.
layouts/main.blade.php
<div class="1">
@yield('trial')
</div>
welcome.blade.php
@extends('layouts.main')
@section('trial')
<h2>test</h2>
@endsection
web.ph... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75615568",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to install python packages from different indexes using conda and pip? I have two indexes. One is not very reliable, the connection is often slow, it contains a copy of PyPI plus some packages that I need. The other one is actually default PyPI. I would like to create some environment.yml to setup my conda envir... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75615570",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: VBA Refine Range My code works and have it looping every 10 minutes to refresh some images. However the code I have made takes a minute to refresh each time. I think this maybe due to how I have written the range it's taking each cell and and placing the image line by line. Is there a way of grouping the selective r... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75615571",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Sonarqube plugin 2.9 will support jenkins version 1.642.4? Going to upgrade sonarqube plugin version from 2.4.5 to 2.9. Our jenkins server version is 1.642.4
If we are update the plugin it will work properly.
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75615573",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-4"
} |
Q: Difference between the 2 similar postgres statement In my product install script, I see 2 similar postgres statement
grant select on all tables in schema rejected_events to REM_USER_READONLY
alter default privileges in schema rejected_events grant select on tables to REM_USER_READONLY
Since the 2 statements are ex... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75615574",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to add an existing Android dependency in capacitor project so as to expose the methods I wanted to include an Android dependency in a capacitor project, so I included it in the build. gradle and then run this command, npx cap sync, but still I can't access the Android library in the capacitor project. Please tel... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75615577",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: GTest linking issue M1 Mac I have a linking issue when building a CMake C++ project on my Apple Silicon laptop using homebrew GCC12 and Google Test 1.13.
Using the CMakeLists.txt file
cmake_minimum_required(VERSION 3.15)
set(CMAKE_C_COMPILER gcc-12)
set(CMAKE_CXX_COMPILER g++-12)
project(gtest_issue)
# Locate GTe... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75615578",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: How to Apply a Formula to Every Nth Column in Google Sheets? I'm working on a Google Sheets file which tracks employee work hours for an entire year. The sheet has columns for employee names, start and end times, and a blank column for total work hours.
My goal is to calculate the total work hours for each set of s... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75615579",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How to set transferMode to streamed in a Windows Form App? I keep getting "The maximum message size quota for incoming messages (65536) has been exceeded." error.
My program references a service from a WSO2. Basically, the program sends 3 input parameters and receives the results from a sql query.
At this point i ju... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75615584",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How do you automate period change in excel by changing number within cell?
I am currently working on an excel assignment for Master Planning Schedules and struggling to automate the change in period.
In order to calculate the planned receipts in cell E11 I am required to take the sum of all cells for the given peri... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75615585",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Why are closed connections in an actor not returned to the connection pool? I am quite new to Rust and Database handling in general and so i have clearly bitten off more than I can chew with my current async project.
I am using actix actors, actix_web, diesel and r2d2 for my connection pool.
In essence, the user sen... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75615586",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: R tibble group_by slice. Can't repeat SAS result I have got SAS script working correctly:
data dt;
input usubjid trt $ dt;
datalines;
1 P 1
1 P 2
1 P 3
1 P 4
1 O 5
1 O 6
1 O 7
1 P 8
1 P 9
1 P 10
2 P 21
2 P 22
2 P 23
2 P 24
2 O 25
2 O 26
2 O 27
2 P 28
2 P 29
2 P 30
;
proc sort data=dt;by usubjid dt trt;run;
data ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75615587",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to add a line connection to a pyramid structure using CSS, html and vuejs3? See source code: https://stackblitz.com/edit/vue3-script-setup-with-vite-rcyuta?file=src/App.vue
Basically I have created a recursively dynamic pyramid structure in Vue3.
Template:
<template>
<div class="pyramid">
<div class=... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75615588",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Factory many-to-many pivot table attributes I have a listings table, a products table and a listing_product pivot table. The relationships are set up in my Listing and Product models. My listing_product table contains a position column.
Is it possible, using factories, to set the pivot table's position according to ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75615589",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: c++ function outputs differently when run from a arm device vs a x64 machine I am trying to a c++ python so that converts a image into CbCrA, but the same function outputs two different outputs when run from a raspberry pi and a ubuntu laptop. I know that there are variables that have a different size on arm but im ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75615590",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Why is this code showing the error (ValueError: invalid literal for int() with base 10: 'name') while I run it? I don't know what this is or how this occured. When I ran this same code in ChatGPT, it said that there were no errors, so I felt this was the place to ask.
I tried writing a code in Python for creating a ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75615591",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: ArgumentOutOfRangeException in Master Detail - ASP.NET Core MVC I have Master Detail models Stock and Article with StockId as foreign key in Article. I displayed Stock in a table and i want to create a partial view to add Article to every row of the table. This is what i have tried:
StockController:
public IActionRe... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75615593",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: The url name is coming with static file request in node js; I have a simple node server With some static file serving But when i try to Serve a file with HTML it redirects the request to /home for some reason For ex
:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compa... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75615597",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Django filter for ManyToMany items which exist only in a specified list I have the following:
class Category():
category_group = models.ManyToManyField("CategoryGroup", blank=True, related_name="category_group")
class CategoryGroup():
label = models.TextField(null=True, blank=True)
categories = Category.o... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75615599",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Adding Jackson-databind 2.14.2 to pom creating error at Pom.xml This is the jackson databind artifact i tried to add
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
<version>2.14.1</version>
</dependency>
Adding Jackson databind a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75615602",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Delete alignment style props of translation from google translate API After translating text from LTR to RTL, I'm getting extra style properties regarding text direction.
How can I avoid that or remove with JS code?
This is the resulting code:
\u003ch2 style=\";text-align:right;direction:rtl\"\u003e טקסט לדוגמה (דבר... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75615604",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: ThemeProvider does not inject theme I created a them using createTheme from @mui/material/styles, and then I tried to inject the theme using ThemeProvider from @mui/material/styles.
This is my theme:
export const darkTheme = createTheme({
palette: {
mode: "dark",
primary: {
main: "#12284c",
},
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75615605",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Azure .NET API and File Uploads I am hosting a simple API developed in .NET 7 and one of the features of the API is to allow a user file to be uploaded.
This works without issues locally, however it fails to upload the file when hosted as a Azure Web App service.
I have created the corresponding folder in wwwroot th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75615606",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Vue.js2 , vuex, firebase , commit doesn't work enter code hereI ran into a problem with the getters field passing null, here is the code.
import firebase from "firebase";
import 'firebase/storage'
import "firebase/firestore"
export default{
state:{
users: null
},
mutations:{
setUsers(sta... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75615609",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to find out if the given two strings are anagrams or not? I had this question about the code in a game/script, how do you find out if the given two strings are anagrams or not?
I tried looking on youtube but could not find anything, if you could help me out that would be amazing!
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75615610",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Unable to access the ngrx withLastestFrom in angular karma Jasmine unit test In here I tried to dispatch the action via service, when its come to effect withLastestFrom return null.
effect.ts
recoverPassword$ = createEffect(() => this.actions$.pipe(
ofType(passwordValidation),
map(action => action.password... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75615611",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Search airtable across multiple fields I'm trying to do a search on multiple fields using the AirTable API I've tried the following (as well as SEARCH)
How do I do it?
async function search(term) {
try {
console.log(term)
return await base('Reviews')
.select({filterByFormula: `FIND("${term}", {Name},"${... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75615613",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: window.print() printing the wrong page on phone Hello i'm trying to print a page by sending by ajax to print.php but its printing another page on mobile phone..
the code below:
function printPage(divName){
var printContents = document.getElementById(divName).innerHTML;
// console.log(printContents);
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75615615",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: problem installing sql-server on windows10 Service “MSSQLServerOLAPService”Starting request failed.
Here is my processing method——starting these services:DCOM Server Process Launcher、Remote Access Auto Connection Manager 和 Remote Access Connection Manager,and I have reinstalled it again many times,but the same probl... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75615617",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Redshift SQL identify first_value ordered by sum over partitioned dimensions I got the following dataset in AWS Redshift and need to identify per each row per dim the bucket with the highest sum of value
dim
add_dim
bucket
value
2
6
3
33
2
5
3
32
2
4
3
31
1
1
1
45
1
3
2
42
1
2
2
41
Result shoul... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75615618",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: VBA VLOOKUP gives an Object Required error Below VBA Code is working fine if FindVal is a Text value.
1. Working For String Value
Private Sub FDACNo_Change()
Dim myRange As Range
Set myRange = Worksheets("FD Accounts").Range("FDAccountData")
On Error Resume Next
FindVal = FDACNo
Names.Value = Application.WorksheetFu... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75615619",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Web page with links. How to extract data from links with regex and xpath? I have a web page with 100 people profiles. A profile is a picture with name under. Clicking on name take you to the profile page with more information including year of birth. How could I extract the year of birth and name from each of these ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75615620",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: `UIImage.RenderingMode.automatic` - how does it choose the actual mode? As per Apple docs, the rendering mode of .automatic for a UIImage leads to a behavior where the image is drawn "using the context’s default rendering mode".
What is this "context's rendering mode"? What is this "context"? How do I change its ren... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75615621",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: SQL Trigger columns don't match {`CREATE TRIGGER [dbo].[Transport_Trigger]
ON [dbo].[Transporter$]
FOR INSERT
AS
BEGIN
INSERT INTO [dbo].[Transporter]
(
[Transporter],
[Company],
[id]
)
SELECT
[Transporter],
[Company],
[id], 'I', 'I'
FROM INSERTED Where [dbo].[Transporter... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75615623",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Angular Micro Front End with Module Federation throws CORS error when deployed I have a host and two micro front ends (All are angular 14). This works fine in local development. Finally I containerized them and ran in docker. My host container trying to get the remoteEntry.js from the two micro front end containers,... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75615624",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: select with icons with click binding ion icon opens a modal I am using ng-select for showing select list and hovering on each options shows tooltip with a description of that option instead of this i want ? icon on the end of each option and when i click the ? icon the select shouldnot close and a modal has to be op... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75615625",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: module not found error (whl installed package) I installed the 'xsel' package via a downloaded .whl file. (I am not connected to the internal network that the package is from). I can see the package when I list all the packages (working from virtual environment). When I try to run a script that imports the xsel pack... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75615626",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to deal with private keys in a messaging app without handing them to users? I am trying to write a web application with chat system which stores chat messages in a mongoDB database on server side. I want my messages to be stored encrypted and sent across the web encrypted. Let's say I have decided to use the asy... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75615627",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: PySpark returns "optional binary AdvanceOrderCondition (UTF8) is not a group" We are currently working on a pyspark project with several different .parquet files.
This is the schema:
root
|-- OrganizationId: string (nullable = true)
|-- Calls: array (nullable = true)
| |-- element: struct (containsNull = true)
| ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75615628",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to exclude dash from React input type="number" I am using input type="number" in the react.
I only want numbers to be allowed when I write text and I don't want dash to go in.
However, running my code will allow me to write dash with numbers.
How do I make all special characters, including dash, possible only nu... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75615629",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to extract an "enum" from an OpenAPI 3.0.0 schema into its own class instead of creating it inside another class when generating code I'm using the open-api-generator-maven-plugin with the spring generator to generate code from an OpenAPI 3.0.0 yaml schema file.
Inside the file there are several defined properti... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75615630",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to send the file in send mail task in azure pipeline How to send the file in send mail task in azure pipeline. I have a folder that contains the multiple .HTML files with time stamp. Now I want to sent the latest HTML report with the latest timestamp. But I'm facing issue
List of generated report files in the ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75615631",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to fix dependency injection issue after migrating to .NET 6 from core 3? I recently changed the project .NET framework to .NET 6 and did the recommended changes as shown on online guides but I have been facing the same exception in different parts of the project and it is the following:
System.ArgumentException:... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75615635",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Can someone give me a script to great shaded error plots instead of error bars with ggplot? I have the following script for plotting how increasing epochlength effects the AEC, PLI and PLT (measures of functional connectivity in the brain). Instead of error bars I want shaded areas around the lines, but I cannot wor... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75615638",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How can I get the deleted file name using Microsoft graph's delta query I am running a delta query against SharePoint site drive root. For the removed files I am just getting "deleted" property and DriveItem Id and the name property is always null. Whenever doing a separate DriveItem request with the corresponding D... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75615639",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Nginx reverse proxy requires internal port to work when redirecting traffic to Docker host machine I've been using a Linux host machine with several docker containers running with one of those as Nginx Proxy Manager (from now on: NPM), which is just Nginx with a friendly UI.
NPM exposes ports 80 and 443 and redirect... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75615640",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How do I change the div id="__next" to own name in Next.js? I am making a website with Next.js and I needs to change root div id to own name. I heard that next doesn't currently allow to change the name, but it can be done by writing your own content rendering function, which I read in this article. I also found a ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75615642",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Typescript does not see my type-graphql useMiddleware function I have a resolver for creating posts and adding the authorId as a foreign key from my session.
@Mutation(() => PostType)
@UseMiddleware(isAuth)
async createPost(
@Arg('title') title: string,
@Arg('text') text: string,
@Ctx() { prisma... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75615643",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Handling race condition in Firebase messaging service I'm using the following code to display chat notifications in my android app.
//copy old notification (if any)
Notification oldNotification = getActiveNotification(notificationId);
NotificationCompat.MessagingStyle ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75615646",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: I can't choose a date automatically for my cypress tests on a vue2 datepicker I have to test with Cypress, a form created with vue2 and choose a specific date (1 fev 2024):
I can't choose a date automatically for my cypress tests
Regarding the date I have to put .click(); to get to the desired date (I can't write th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75615648",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: AWS DynamoDB JS sdk get all Items by using only partition key I'm trying to query my dynamoDB which has a partition and a sort key, the partition key is an id and the sort key is a generated timestamp.
The problem is that it won't work when giving only partition key as parameter which is what I need to do, here is t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75615649",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Strip out Special Char Sequence from XML Element I am having a soap request which contains the one element <NickName>\nickname</NickName> and in my java end i am trying to strip out the special char \n (new line) from it so my nickname property will hold ickname.
At java end i am calling the below code
nickName.rep... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75615650",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: will anybody please explain this javascript code
document.addEventListener('DOMContentLoaded', (event) => {
console.log('DOM Loaded') updateBingoSerie() document.getElementById('generate').addEventListener('click', e => updateBingoSerie()) document.getElementById('start').addEventListener('click', e => startBing... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75615652",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-4"
} |
Q: Azure Cosmos DB sorting issue :Expected string, but got NoValue. Cannot execute cross partition order-by queries on mixed types How to handle thi exception while sorting data in Cosmos db ?
Expected string, but got NoValue. Cannot execute cross partition order-by queries on mixed types. Consider filtering your query... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75615654",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: Flutter: Riverpod - Illegal use of Ref within a provider I am currently creating an app using Flutter and Riverpod. I ran into a problem where I had to call another StateNotifier provider in a StateNotifier provider (I don't know if that's already a bad style). While searching for a solution I came across the follow... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75615658",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Solving this problem using libsvm to find the dual variblae $\alpha$ I'm elementary in python and I want to optimize the following constrained optimization problem: \begin{align*}&\min_{\pi}J(\pi)\cr &s.t. \sum_{m=1}^{300}\pi_m =1, \quad 0\leq \pi_m \leq \frac{1}{5}, ; \forall 1\leq m\leq 100\end{align*} using Newt... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75615659",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: @Binding Fault - Missing argument for parameter 'var' in call I want to pick a String Name from the Picker in one sheet and pass it to a Text in another sheet.
struct qrhTabBar: View {
@Binding var registrationnumber: String
var body: some View {
Text("Your \(registrationnumber)")
}
}
struct qrhTa... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75615660",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: duplicate component in vue3 webpage? In my app I intend to present two minigames on a single page. For starters I copied Memory-game component to a new component NamesByPictures.
I try to present them both but I see only one game on my webbpage ( while html shows the duplicate code)
Does anyone see what I am missing... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75615661",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to show treeView in c# from list of objects? I have a list of objects. Every object has 2 or 3 parameters, for example:
class Object
{
string a;
string b;
string c;
}
List<Object> = new List<Object>
{
new Object("a1","b1","c1");
new Object("a1","b2","c2");
new Object("a1","b2","c3");
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75615662",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Graph API: ediscovery/cases/ endpoint is failing I am trying to use Graph API (Beta) to get the Legal Hold information from compliance.microsoft.com for my tenant. For this purpose I am using "https://graph.microsoft.com/beta/compliance/ediscovery/cases" endpoint.
But when I try it from Graph Explorer I get "Unautho... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75615664",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Generate separate datasets using for loop in r I currently have the following dataset in r
geoid <- c(100, 200, 300, 400, 100, 200, 300, 400)
variable <- c("total_pop", "white", "black", "aian", "total_pop", "white", "black", "aian")
estimate <- c(100, 200, 300, 400, 200, 300, 400, 500)
df <- data.frame(geoid, varia... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75615665",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Color Mapping using LUT for BlackAndWhite pic, how to map the mono(maybe luminace) to mono or color value? the input param for LUT should be the luminance?
if so, for colorPic: luminance = 0.2126 * r + 0.7152 * g + 0.0722 * b, right?
but for monoPic(blackAndWhite): should it be luminance = r/g/b?(as r==g==b in black... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75615666",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Branches names no longer appearing in VS Code I've updated VSCode to the latest version - Feb 2023 and the branches' names no longer appear above the commits, as shown in the image below.
How can I make the branches appear again?
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75615667",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How would I go about using a capability guard to make a function on module1 only callable by module2? I want certain functions on module 1 to only be callable within the scope of module 2.
Is there a viable way to do that?
A: On the module you want the restricted functions to exist:
(defcap GOV() true)
(defsch... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75615668",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Google Calendar: Event update triggers cancellation email I have a Rails API that sends my clients Google Calendar invites when an appointment is booked. I've noticed a strange bug when the appointment is rescheduled.
Occassionally, I receive the "Updated Invitation" email notification as expected but other times I... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75615670",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Subtracting non-zero elements of a list in Python I have a list n12. I want to subtract only non-zero elements of n12 from 1. I present the current and expected output.
n12=[0,
0.097055623870192,
0,
0.09668483656158318,
0.09983696710324882,
0.09905078620023211,
0.09857192019636203]
n22=[1-i for i in n12]
prin... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75615672",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to rename a column using data from a different data frame I am doing differential expression analysis on RNA-Seq data. I have generated a counts table and would like to change the column names based on data in my "samples" dataframe to make it easier to read.
This is a portion of my "counts" dataframe generated:... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75615674",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Automation testing is getting failed due to a prime ng class p-element is getting attached to html automatically in angular after deployment on server Automation testing is getting failed due to a prime ng class p-element is getting attached to html element automatically in angular after deployment on server.
enter ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75615678",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Displaying inheritance on ER Diagrams? In my Spring Boot app, I have an entity relationship diagram as shown below and looking for a proper way for displaying inheritance on it. I have a look at dozens of pages, but could not find any example (most of them use different kind of diagrams).
Normally I use the annotat... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75615680",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: why is my three.js canvas not showing my objects i am using three js with react to render an obj on my site as a decoration. The obj loades out fine and printes "loaded materials inside the console" but i still see the defult black screen only i have added a point light but no effect. i have seen a lot of questions ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75615683",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to cross join the the left side table to the right table I need to cross join the data with one column with distinct name with all other rows data , as in the image:
Left side with main table Value Right side is the result i need.
already tried with cross join but in this case it is not working properly, we hav... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75615685",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |