text string | meta dict |
|---|---|
Q: How to get duplicate values in an array of objects I have an object array and I want to get the objects which has the same title to an array and object with same _id cannot get repeated. How can I get those are there any methods to get it?
products=[{_id:1234,title:'carrot',price:90},{_id:345,title:'Beans',price:100... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75583125",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: libGDX cannot successfully generate project for java project * What went wrong:
Could not open settings generic class cache for settings file '/Users / richard / Desktop/Eclipse_WorkSpace/settings.
gradle' (/Users / richard / gradle/ caches / 7.5.1/scripts /dn611r5pg3bcsc902xue6326v).
> BUG! exception in phase 'sema... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75583128",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Screen Locking Patterns Everything works fine exept when I need to handle case when moving from G to C (like on photo) is allowed (https://i.stack.imgur.com/ujfuu.png). I tried to use updated dict to handle it and then return it to its starting state but something works wrong.
Keys = {
'A': 'BEDFH',
'B': 'CF... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75583130",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: JPA with PostgreSQL 14 - Querying on LocalDateTime with atTime(LocalTime.MAX) overflows to next day I am using spring boot 2.7 with spring data JPA / Hibernate 5.6.14 and PostgreSQL 14.
I have a mapping like this:
@Column(name = "column", nullable = false)
private LocalDateTime column;
column is a timestamp on the... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75583131",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: how to make apple script filepath generic to handle any location I am new to applescript and am stuck with a issue
I have a below apple script that works fine for saving into volume with a filename
tell application "TextEdit"
activate
make new document with properties {text:" Apple S... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75583132",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Unable to build Flutter iOS app using fastlane: deployment target out of supported range I'm trying to follow this guide.
I'm unable to run the following lane:
desc "Push a new beta build using Firebase App Distribution"
lane :beta do
build_app(workspace: "Runner.xcworkspace", scheme: "Runner")
rele... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75583133",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: mod_ewrite + regex to append 0 to query string parameters I have urls like this one...
https://localhost/index.php?com=liste-cat-lieux&t=41&l=6088
that i need to rewrite like this :
https://localhost/index.php?com=liste-cat-lieux&t=41&l=06088
I tried to append a leading 0
RewriteCond %{QUERY_STRING} ^(com=liste-ca... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75583135",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Sending 2D JavaScript array to PHP via AJAX I want to send a 2D array to PHP via AJAX and then access the content in PHP. I have the following setup for creating the 2D array:
var data = [];
data['items1'] = ["item1_1", "item1_2"];
data['items2'] = ["item2_1", "item2_2"];
I then send this info to PHP via Ajax like ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75583137",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: What services should I use to scale containers 1 to 1 with users? I have docker image/docker-compose which I need to scale by request from the user. I have an public API, that will serve two purposes:
*
*Controlling the state of a dedicated container. Each new user of this public API can do:
*
*Start his own in... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75583138",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Want to transform JSON data I have below object
var obj_old = {'team':'arsenal', 'league':'premier','position': '3'}
var obj_new = {'team':'arsenal_1', 'league':'premier_1','position': '32'}
Want output [
{ 'key' : 'team', 'old' : 'arsenal', 'new' : 'arsenal_1' },
{ 'key' : 'league', 'old' : 'pr... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75583140",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Conda-build fails on test with missing dependency For a reason I can not build a conda package. My package is posted on PyPi and accessible by
pip install molcomplib
To build a conda package I do:
*
*I run grayskull grayskull pypi molcomplib
*I run conda build -c conda-forge molcomplib
It looks like rdkit is ins... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75583141",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to force Vivaldi browser stay maximized after it lose focus in i3 tiling window manager? If vivaldi maximized in container and i switch to another workspace, vivaldi's tab bar (or title bar) change height. Even if i call top-down terminal, vivaldi unmaximize. I.e. if vivaldi window lose focus, it change tab bar ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75583142",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: How to get an html e-mail signature suitable for different viewports (PC / laptop screen versus smartphone); table padding problem? I want to make an e-mail readable for different devices. I come a long way with copying and planning from w3schools. But as soon as I solve one problem, a new one arises. I managed to r... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75583143",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Get child data by child id through the aggregate root in DDD and EF Core For asking my question let me explain a bit about this part of the project:
Very simple blog system with these entities:
Posts - PostsCategories - Categories
Post and Category have Many-to-Many relationships.
// Post
public Id { get; private se... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75583144",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Using custom blueprint cannot reach internal registry with internal CA I have not seen this discussed yet.
I'm developing a new blueprint. However, during execution of jhipster --blueprints my-blueprint it fails on the prompt
Would you like to install other generators from the JHipster Marketplace? [y/N] y
WARNING!... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75583145",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: .Net Core 7 with Postgres Can't cast database type timestamp with time zone to LocalDateTime I've read some very similar posts to this one but I have yet to find an answer.
What I'm trying to do is get a timestamp back from the database, convert it into the users timezone, then convert that to a string - preferably ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75583146",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Valgrind for RISCV64 I want to cross compile valgrind tool for riscv64.
I am using the github repository valgrind-riscv64 and I ran the following commands:
$ git clone https://github.com/petrpavlu/valgrind-riscv64
$ ./autogenerate.sh
$ export CROSS_COMPILE=/opt/riscv/bin/riscv64-unknown-linux-gnu-
$ ./configure --ta... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75583147",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Is it possible to send an image to a printer through wifi? I'm new to Delphi FMX and I'm trying to develop an android app that lets the user send an image to his printer through wifi, but I only found solutions with cloud print and bluetooth.
Is there any solution for this case?
I only found solutions through wifi u... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75583148",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Reading a table in cqlsh returns "unconfigured table" error even when the table exists I'm trying to learn a bit about cassandra, and for this I placed a 3 node cassandra datacenter on a kubernetes we have. I've created everything from ground up, and I was doing some tests that I already did on my local environment.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75583150",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Storybook Type 'ElementsTableProps' is not assignable to type 'Partial>' There are such interfaces
export interface TabData {}
export interface TabItem extends TabData {
item_id: string;
item_name: string;
}
export interface TabGroup extends TabData {
store_id: string;
store_name: string;
type fieldToShow<T... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75583151",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to find a maximum length of consecutive increasing elements in time series data in pandas I have a time series data with three columns (tilted as tool name, value, date)as below:
Tool Name
Value
Date
A
52.14
1/1
A
51.5
1/7
A
52
1/10
A
52.9
2/1
B
53.1
1/5
B
51.7
1/10
B
51.9
1/21
B
52.4
1/22
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75583152",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Redefine labels to animation slider in plot_ly I'm trying to set the labels for the animation slider using plot_ly() in R. Here's a minimal example:
library(dplyr)
library(plotly)
dat <- tibble(x = rep(seq(1,5), 2), f = rep(c(1, 2), each = 5))
dat <- dat %>% mutate(y = x^f)
steps <- list(
list(label = "a", meth... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75583156",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Limiting values of column to +100% in Python I have columns in df whose values should be limited to +100%
Current output:
var1 var2 var3 var4
140% 475% 895% 16249%
337% -100% -100% -100%
173% -95% 5165% 454%
458% 18% 354% -100%
483% -73% 6962% -100%
147% 18% -100% -100%
Desire... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75583157",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-3"
} |
Q: How can I make it selectable with string instead of sending props in React or React Native? This is how packages are used for React. For example;
<Ionicons name="md-checkmark-circle" size={32} color="green" />
Here I am wondering how the name parameter works in the back. Instead of sending the svg icon to the compon... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75583167",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Module not found even though it is installed I have a poetry project and I have a venv setup. This is my pyproject.toml:
[tool.poetry]
name = "..."
version = "0.1.0"
description = ""
authors = ["..."]
readme = "README.md"
[tool.poetry.dependencies]
python = "^3.8"
boto3 = "^1.26.78"
requests = "^2.28.2"
black = "^2... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75583172",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: The GET method is not supported for route user/templates/process. Supported methods: POST Failed to load resource: the server responded with a status of 500
enter image description here
enter image description here
Trying to generate result using OpenAi Api
enter image description here
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75583174",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-3"
} |
Q: Select list of entries with Group BY in EF Core C3 var response = await _db.Transaction
.Where(expression)
.OrderBy(x => x.AmountSqft)
.GroupBy(x => new { CityName = x.City.Name, CityNameAr = x.City.NameAr })
.Select(x =>... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75583176",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: CString::Find returns wrong value I have the following sample code in a Visual C++ MFC application. CString::Find is returning the wrong value and I cannot see what the problem is:
int nPos;
CString s, s1;
TCHAR c1, c2;
s = _T("D)1234");
if (nPos = s.Find(_T("D)")) >= 0)
{
c1 = s.GetAt(0);
c2 = s.GetA... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75583178",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Error: cuDNN isn't found FWD algo for convolution I try to training Yolo v3 with the following cfg
[net]
# Testing
#batch=1
#subdivisions=1
# Training
batch=64
subdivisions=16
width=608
height=608
channels=3
momentum=0.9
decay=0.0005
angle=0
saturation = 1.5
exposure = 1.5
hue=.1
learning_rate=0.001
burn_in=1000
ma... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75583179",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: how to get the lowest value first when have multiple rows I have 2 tables.
Booking, cars and payment_process.
in payment_process I have rows like this:
[
{
id: 8,
price: '255',
paid: '0',
created_at: 2023-02-26T22:24:19.075Z,
updated_at: null,
payment_method: 'BAR',
process_id: 6,
b... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75583182",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: QSplitterHandle grabeMouse won't move handle in Qt6 For my current project I am creating a Blender-like window management.
For testing, I'm trying to drag the splitter after clicking on a label.
To do this, when a mousePressEvent occurs on my label, I call grabMouse() on my splitter handle. Unfortunately it does not... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75583183",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Oracle Apex PLSQL procedure to match pattern in column I have a table with following values:
In oracle Apex I have a form that takes name as manual text field. For each Name a specific format is given.
Ex: For seq 1, name should start with A , for 2 it should start with B. It can be any format for each name.
When i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75583184",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Pull Values From 2 Columns Into 1, While Pulling 3rd Column I have a table, TableA, that contains 3 columns - Fruits, Vegetables and Rating.
I would like to ultimately put the values of Fruits And Vegetables in 1 column in another table/view , while bringing in the rating column for each respective value.
Here is a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75583185",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Axis values as a product with 10 including multiplication symbol in ggplot I have a chart were I compare 2 values of large numbers with error bars between each other. It is required to use a specific scientific notation, presenting values like 53000000 as 5.3 × 10^7. For this task, I previously used successfully th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75583186",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to duplicate rows in SQL by partition? I'm having a bit of trouble creating a query to duplicate some rows
I have a table that looks like this:
country
code
EU
A
AR
B
AR
D
MX
A
I need to duplicate each row by defining a "partition" column, let's say country, it'd take each distinct value of tha... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75583187",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to fix "Type '{ key: number; }' is missing the following properties" when sending props with spread operator in Next.js App directory? I'm trying to upgrade a Next.js v.13 /pages directory project to /app directory. Both projects are using the latest packages and I'm doing exactly what I've done in the other pro... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75583190",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Add every element in array to template literal I have a function called calculateElementHeight that can take in an array of offsets. I basically want to grab every element in the array of offsets and use it to return a template literal string from the function.
const calculateElementHeight = (offsets: string[]) => {... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75583194",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Why the variable becomes undefined outside the conn.query in Node js When I want to use the value of one conn.query in another conn.query it becomes undefined and gives error ,why?
function updateTotalStudents(){
// Fetch Students
var techs = ["Computer Information Technology","Electrical Technology","Mechan... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75583197",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Creating a dictionary in an existed dictionary by keeping keys python I have this dictionary:
Dialogues = {
"dialogue_id": "000001",
"dialogue_turns": [
{ "turn_number": 0,
"interlocutor_id": "0001",
"turn_text": "Hi, how are you?" },
{ "turn_number": 1,
"interlocutor_id": ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75583198",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to disable scroll back in SwiftUI TabView style page I created a SwiftUI view that contains a TabView with a style page and needs to disable the ability to go back to the previous page once.
The final result should be like TikTok or Instagram reels but without the possibility of returning to see what I had seen ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75583199",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to go back to function when calling another function without it starting over in python I have two functions that I need them to continue where they left off instead of starting over.
It starts off at the getData() function and at the last if statement it calls the compareDates(sv, totalFrames) function to go to... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75583200",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: what is the C++ equivalent for this assembly code I'm trying to figure out how to read this assembly code in C++.
This is the code:
unsigned __int64 high_perf_time;
unsigned __int64 *dest = &high_perf_time;
__asm
{
_emit 0xf // these two bytes form the 'rdtsc' asm instruction,
_emit 0x31 // av... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75583201",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: I want to change the url without redrawing the screen in react I want to scroll to the next video, like a YouTube short video or a TikTok video.
When scrolling, I want to change the URL to the id of the currently displayed video like "https://example.com/{id}".
I was able to achieve it with the following code, but t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75583202",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: PromSQL list database same host label I need to create a graph on metric "oracledb_database_cpu_usages" with database label variable and obtain same host label.
METRIC:
oracledb_database_cpu_usages{database="DB1", host="host01", instance="127.0.0.1:9161", job="oracle"}
oracledb_database_cpu_usages{database="DB2", ho... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75583203",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Swiper slider slowdown after load new loop i have a little problem.
I made a slider that plays photos with the coverflow effect in a loop.
The problem is that when loading a new loop, the first time after all 8 slides, then after every 4, there is a slowdown.
How to eliminate or remove it?
var mySwiper = new Swiper(... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75583205",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Desktop Path macOS In ubuntu, I can change the location of my desktop folder by editing the following file ~/.config/user-dirs.dirs .
I would just need to modify the line regarding the desktop folder to my desired location. So , I can go there and say that my desktop folder points to /users/user/google_drive/target.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75583206",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Is it possible to retrieve the output file defined via #SBATCH --output=slurm.out after deletion? I accidentally deleted the output file of an sbatch job that is still running while deleting that of completed jobs.
I checked for .local/share/Trash and this folder does not even exist. Any chance I could retrieve this... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75583207",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Firebaseui buttons in React are too big I want to show some firebaseui Login button on the screen with this React code:
import 'firebase/compat/auth'
import * as firebaseui from 'firebaseui'
import { useEffect, useState } from 'react'
import firebase from 'firebase/compat/app'
// Environment variables
const firebas... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75583210",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to Transpose Repeating Columns in certain range to Rows Pandas I have a database like this:
Month
power art
unit
energy_1 (2018)
energy_2 (2018)
energy_3 (2018)
energy_4 (2018)
energy_1 (2019)
energy_2 (2019)
energy_3 (2019)
energy_4 (2019)
Jan
Number of power feeding systems
Number
100
100
100
100
102
1... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75583212",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Is my Neural Network Underfitted or Overfitted? I'm trying to learn more about neural networks, and implemented a model in Python to train it with a dataset. I wanted to output the loss and accuracy percentage, and got this:
Results
I haven't seen any similar graphs where the training accuracy line is flat and that ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75583213",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-3"
} |
Q: Testing command line arguments Parsing - Common Lisp Using the fiveam testing package, I would like to test the parsing of CLI arguments which is handled by the main.lisp script. However the main function which is parsing the arguments does not take any arguments. I am therefore wondering the following,
What is the ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75583215",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How can I get the path to ALL processes on Windows? I've run into an issue where my application needs to be able to find all active processes that are from a specific file path. The problem is that my application does NOT run as admin, and the process that I'm searching for DOES run as admin. So when I use the usual... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75583218",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Shallow copy seems to update as if deep copy I am confused as to how shallow copies work. I thought that when you make a shallow copy and update the original, the shallow copy does not update. However, this doesn't seem to be working. Here's my code:
words = {
"nouns" : {
}
}
immutableWords = dict(word... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75583219",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: Insert new object into array if match name is not present I am trying to insert a new object to the array, if the name is not exists in the any array of object record. Also to remove the object from array if not present in input data
Here is the Mongo document looks like
{
"_id": "63fc92f882fd1c39e7374634",
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75583220",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Create object of sets in javascript arr1 = ['d1','d2','d3'];
using above data, i want to see the output like below.
[{n1 : 'd1', n2:'d1', n3 : 'd1'},
{n1 : 'd2', n2:'d2', n3 : 'd2'}
{n1 : 'd3', n2:'d3', n3 : 'd3'}
]
I tried following but the output is not as expected.
arr1 = ['d1', 'd2', 'd3'];
mapV =
arr1.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75583222",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: C++/Ogre3D - Unable to Hide Window This is my class:
class OgreTest {
public:
OgreTest(OgreTest const &) = delete;
OgreTest(OgreTest &&) = delete;
OgreTest& operator= (OgreTest const&) = delete;
OgreTest& operator= (OgreTest&&) = delete;
static OgreTest* instance(){
static OgreTest insta... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75583224",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Unavailable to Export Data with Current Layout - Power BI Report Server it is not yet available to export table with current layout from powerbi report server, because I had seen that it was supposed to be there in the release of Jannuary 2023 however it seems to me that it is not available yet.
Is there any possibi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75583225",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Using RegEx, How to replace multiple occurrences of the same word with grouping and other pattern criteria I'm trying to replace some specific word in comments in some VB.NET code using a find/replace GREP tool, which itself is using VB.NET regex matching rules.
For the sake of this example, lets say I have this (no... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75583226",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Using automated build with Github Actions and Dockerfile I have long been struggling already with the automatic build of my Dockerfile (located in a subdirectory) using Github Actions.
My directory structure is as follows:
app
├── .github
│ ├── workflows
│ │ └── build.yml
├── encoding
│ ├── encoder.py
│ └─... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75583227",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Prevent creation of ALB with TLS lower then 1.2 using SCP or any other way organization wide Is there a way to prevent/deny creation of ALB with TLS lower then 1.2?
I've tried a few policies in SCP but I can't seem to find the right condition for a deny.
When I'm looking at a specific event in the cloudtrail I can s... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75583230",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Trying to run a macro when a cell is edited to yes I am trying to make a macro run when when cell B1 (it has a dropdown selection) = yes. Or when the cell is edited it should trigger because the normal status is "No" What am I doing wrong?
function GenerateNewNumber() {
var spreadsheet = SpreadsheetApp.getActive()... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75583231",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: I got these errors with webcraping tool scrapy Building wheel for twisted-iocpsupport (pyproject.toml) ... error
error: subprocess-exited-with-error
× Building wheel for twisted-iocpsupport (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [5 lines of output]
running bdist_wheel
runn... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75583235",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Numba parallel is slower than sequential. How to improve the speed? I am trying to speed up my code using numba parallel=True, but I find that it is slower when the iterations are very fast. Here is a simplified example of my code:
spec = [
('value', nb.float64),
]
@nb.experimental.jitclass(spec)
class Counter(... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75583236",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: why does qt designer not start? At some point, qt designer stopped opening. Everything used to work fine. Reinstalling didn't help. I found a solution for "deleting files" on the Internet, but there are no such files in the system.
An attempt to reinstall via pycharm did not work, as did an attempt to install qt des... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75583237",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Problem understanding the use of properties of a task and plugin extension in Gradle I have a problem, understanding the differences of using a plugin (with an extension) and
tasks. I have a task which takes some Input and Output properties like in the example below.
The plugin:
class DemoPlugin implements Plugin<Pr... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75583239",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: LateInitializationError in flutter To gove some background, I am trying to make a Settings page in my app, so I need to save the settings that the user chose. I am using Sliders, and I tried putting the updateSettings there, and even created a separated button where I inserted the same function...still doesn't work.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75583243",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to change the characters of a word when hovering over it with the cursor? Example: https://www.dragonfly.xyz
When you hover the cursor over the "MEDIUM" button in the left corner of the screen, an unusual effect runs through the letters.
I don't really understand how to describe this question to Google, I hope y... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75583244",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Text Overflow appear for A fraction of second i have a HomeScreen with Listview.builder, when i click on any item inside the Listview item clicked would send me to another screen with details about that item, I'm using Hero Animation while opening another screen or widget.
Now when the other screen opens it shows ye... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75583252",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Building Autocomplete using Typescript but getting errors I am trying to build an Autocomplete drop down that shows a persons pronouns. But I am currently getting a few type errors and unsure how to fix them.
Here is the code:
import React from "react";
import { useState, useEffect, useRef } from "react";
const Aut... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75583255",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Using SoundPool Android How to play Multiple audio Streams in android studio java once the stream played the next will start for all Streams in SoundPool
using Mediaplayer or SoundPool in android Java
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75583256",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to upload a file using an iOS shortcut and receive it using a Deno web server? I have an http server written in deno like this
import { serve } from "https://deno.land/std@0.178.0/http/server.ts";
serve((_: Request) => {
// do something with request
// ...
return new Response("hello", {
status: 200,
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75583257",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to call contract function of web3 in flutter? I have an application to get data and send data to a contract. In flutter web, I used flutter_web3 package to connect to metamask. I send data like this in with that:
List<String> abi = [
'function deposit(string,uint256)',
];
String contractAddress = "0x...";
Contr... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75583259",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Setting priority between MUI System Props and Styled Components When using Styled Components with MUI System Props I found that the styled component styling takes precedence, for example in the snippet below the box would render with justify content set as space-around:
const CustomBox = styled(Box)(() => ({
displ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75583261",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: MWAA Redshift Connection Timeout I am trying to setup Airflow on Managed Apache Airflow. Everything seems to be working fine except for my AWS Redshift connection.
I am using the Connections tab on UI and editing redshift_default with my values. It's working fine locally however when I trigger DAG via online I get f... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75583262",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Azure web app on docker container produces error but when run locally docker produces no error I have a docker container that runs a streamlit app that creates a ppt presentation based on what we have in our data system.
when I create a docker image and run it on a local host, it produces the expected output.
when I... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75583263",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Update a specific array element if it fulfils at least one of several conditions I am trying to understand (and fix) a code that is not mine, which uses PyMongo.
We want to look for the document with _id==_id that has, inside its list comments, a comment with id==comment_id or id==PyObjectId(comment_id).
To that com... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75583269",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: EAP-TLS with Android 11 and Freeradius 3 Failing I've been dealing with this issue for around a month now and wanted to see if anyone has any ideas about this. I am trying to enable EAP-TLS authentication on our Android 11 devices using a Freeradius server that is stood up for testing only. I've managed to get it pa... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75583270",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Why is it not possible to delete an EPerson in DSpace? I have looked through previous questions. They mention the way to get around this is to use cascade in sql to delete any relations this user may have on the database. I do not want to use cascade as I want to retain the items a user has uploaded to the repositor... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75583272",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: AWS(boto3) Rekognition: how to process all images in bucket and return in each JSON file? Below is a example of AWS Rekognition script to run object detection.
Was wondering if I can get some help on modifyin it.
import json
import boto3
def lambda_handler(event, context):
client = boto3.client("rekognition")
#passi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75583273",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Appium WDA is not running on iOS real device? I am also seeing the same issue. Appium inspector (running via command line by just 'appium') cannot connect to iOS real device?
Caps are normal, but inspector sends err 65. Made everything as in guide.
WebDriverAgent can be built with Xcode, but not with terminal. Err:... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75583277",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Add i18next to a ReactJS project with dvajs I have a ReactJS project which uses dva (https://github.com/dvajs/dva, https://dvajs.com/API.html). I'm trying to add i18next to the project by following this youtube video.
But it seems that i18next fails to be plugged into the project. As a consequence, loading the page ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75583279",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Why do Sabre dc-core/pnr always return 404 on GET request? I'm trying to test with a real life PNR code but it always return me 404 not found error.
Can I not test against real life PNR code? If I can't, where can I fetch a PNR code to test with the sabre restful API?
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75583280",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to convert FutureBuilder into StreamBuilder I made a widget that should automatically update if there are changes to the Hive database value. I have just learned that Futures only get the value once, so I need a Stream to constantly monitor changes. Now, how can I use StreamBuilder with my Hive database?
Here is... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75583284",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: mbstring will not add to my php on windows 10 I need mbstring for something I'm doing. I've followed all the php.ini change directions to enable it and still when I do "php -m" the module is not there.
*
*The php_mbstring.dll file is in the ext folder
*I have two php.ini files, one for dev and prod
*in both I'v... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75583285",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Page unable to get the type This is the page that I am using to display the images, I thought there is something else is wrong with my code. I removed a lot of things and I just realized that props is empty when I print using console.log.
import React from 'react';
import { Typography } from '@material-ui/core';
ty... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75583287",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Webhook Ms Graph to listen group conversation I am trying to create a subscription to listen to the conversations of a group
https://graph.microsoft.com/v1.0/subscriptions
{
"changeType": "created",
"notificationUrl": "https://xxxx-xxx-xx-xx-96.sa.ngrok.io/api/GraphNotificationHook",
"resource": "groups('dd... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75583289",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: NaN vs floating point exception? I came across a weird behavior in C++.
Running the following line results in a floating point exception:
long double res = 0 / 0 * 100;
However, running the following lines results with the variable res being printed out as a -nan:
long double res = static_cast<long double>(0) / 0 *... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75583291",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Problem in Kusto Query Language with length of text I'm working in Kusto Query Language and I would like to display not everything from the selected string.
My string is 'Execution fail against sql server. Please contact SQL Server team if you need further support. Sql error number: 50000. Error Message: Invalid len... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75583292",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Remove "\r" from a remote RHEL 9 output When I run a command on a remote RHEL 9 machine, the output string starts with "\r", which is odd because the output of the same command on several remote RHEL 8 machines doesn't starts with "\r".
For example, when I run the command "echo 'hey'", the output on my remote RHEL 9... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75583293",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: ggplot for confidence intervals by groups in correct order I have this dataset and I am struggling with 2 issues.
A snapshot of the dataset is this:
Score<-c(-2, 3, 4, -1, 3, 4, 5, -1, 3, 5, -3, 3, 5, 1, -4, 5, -2,
1, 3, 4, -4, 2, -1, 3, 4, -2, 3, 4, -1, 3, 4, 5, -1, 3, 5, -3, 3, 5, 1, -4, 5, -2,
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75583294",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: operation reordering and signedness in C I found several questions discussing compiler optimizations for signed vs unsigned.
The general conclusion is that signed allows for more optimizations due to the undefined behavior of overflow.
However, I didn't find any discussion on how signedness plays with operation reor... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75583296",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Convert Shapefile to H3 - R I have a gpkg file which contains some buildings and am looking to convert this to H3 size 11.
BUILDINGS <- st_read(GPKG, layer = "buildings")
Basically anywhere one of these buildings is located gets a hexagon, and where there aren't any buildings there is no hexagon.
I tried using some... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75583297",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to start the Publisher on a specific queue in Swift Combine I know how to subscribe on a specific queue using .subscribe(on: ...), but what if the publisher itself needs to work on a specific queue. Here's a simple example to demonstrate:
class ViewModel {
@Published var count: Int = 0
func doSomet... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75583298",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: looking for a plugin disease solution on wordpress ReferenceError: jQuery is not defined at /collect:1:0(i.clarity.ms)
Failed to load resource: net::ERR_TIMED_OUT
/collect:1:0(i.clarity.ms)
Failed to load resource: net::ERR_TIMED_OUT
…script/jquery.actual.min.js?ver=6.1.1:8:933(----)
ReferenceError: jQuery is not de... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75583299",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: DLL Injection questions about relationship between target process and attacker process I know that dll injection has these core parts:
*
*Place the dll's full path into the target process's memory (using VirtualAllocEx and WriteProcessMemory)
*Force the target process to load the dll (using LoadLibraryA/W and Cre... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75583300",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: on raw reaction add throws an error: discord.py I was working on an "self-reaction" script for my discord bot, so I was using on_reaction_add() and it worked fine, but I realized that as I restarted my bot, he couldn't register the reactions on that first message, so I did some research and I figured out that I had ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75583303",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Why HikariCP connection works after idle timeout I am trying to test idle connections behavior. I am expecting my code to run into an exception here, but it doesn't:
static public void testConnectionDS() throws SQLException {
HikariDataSource ds = new HikariDataSource();
ds.setJdbcUrl(Jdbc_URL);
ds.setUs... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75583305",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: VBA convert .doc to .docx Runtime error "-2146959355 (80080005)" on MacOS 12.6 I am trying to batch convert a number of Microsoft Word .doc files to .docx files using Microsoft Visual Basic for Applications 7.1 on a Mac running macOS 12.6 (21G115).
I'm using this code
Sub TranslateDocIntoDocx()
Dim objWordApplicat... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75583307",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to parse a .tfrecord in go without any knowledge of what's inside? I've been using TFX to build pipelines and in TFX the Evaluator component is saving metrics about the model in the .tfrecord file.
However, I have no idea what's inside of it and I would like to convert it to something more manageable like a JSON... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75583308",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Leaflet event on Shiny works only once I'm developping a Shiny app including a leaflet map. On the Shiny app, I've one panel, that displays a button. If this button is clicked, this panel is reorganized and the map is replaced by other plots. (It might not be the cleanest thing to do but I need to reorganize the pan... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75583312",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |