text string | meta dict |
|---|---|
Q: Cannot insert Model using FactoryBoy factory in SQLAlchemy I'm creating a test database and I'm getting some troubles trying to persist a model to database.
The model itself contains several foreign keys as follows:
class Issue(db.Model, TimestampMixin):
__tablename__ = 'issue'
id = db.Column(UUIDType(binar... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75626729",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: React Native:How to use Turbo Native Modules and Swift I need to use UIViewPicker and I try to implement it with Turbo Native Modules.
I write native module at first time and I'm not sure in my code. Please, help me
My swift file RTNPickerView.swift
import Foundation
import TurboModule
import UIKit
@objc(RTNPickerV... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75626731",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Excel Import Bug after deleting some rows Added 10 rows in an excel, import that file and tried to check the worksheet.Rows.Count() and it returns 10. Which is absolutely correct.
But I deleted last 4 rows and again tried to import and still worksheet.Rows.Count() returns 10. What should I do, so that it will return... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75626732",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Wordpress: choose which sizes will be generated while uploading the image I am using custom image sizes crop during uploading to WordPress. As you can see below, there are two categories (A and B are reflected in the names below). They are different in ratio. Some images will be used only within category A, and othe... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75626735",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: What is the best way to plot point data over shapefile in R? I am trying to combine several different files and plot them all together in R. I created and exported a shapefile in QGIS with several different polygons. If I read and plot this file using this code:
#Reading in shapefile
shp <- readOGR( dsn =".", layer ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75626736",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Pybind interconnection cpp and python I am coding for scientific reasons. I started from a code yet done. It Is a simulation that use python and cpp. I dont understand very well the syntax of pybind.
I Need to have 2 variable like Vector cpp and numpyarray python
that must be sycronized ( 2 Vector like 1 vector)
I d... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75626740",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Error: Cannot have two HTML5 backends at the same time. When I use "SortableTree" I got error "Error: Cannot have two HTML5 backends at the same time." when I'm trying use SortableTree from link in NextJS
This Error
and This is my code.
import { UniType } from "@/types/unitType";
import React, { useState, useEffec... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75626747",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to extract adjacent strings from txt file with multiple conditions using awk? I have this txt file
[23/10/10 14:37:44:527 EST] DEBUG
<?xml version="1.1" encoding="UTF-8" ?>
<Request session="lkjh" id=12321>
<type>Old</type>
</Request>
[23/10/10 15:37:44:527 EST] DEBUG
<?xml version="1.1" encoding="UTF-8" ?>
<R... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75626750",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Can I create a war file with Quarkus to be deployed to a tomcat server? If not, why not? Can I create a war file with Quarkus to be deployed to a tomcat server? If not, why not?
Can I create a war file with Quarkus to be deployed to a tomcat server? If not, why not?
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75626753",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: can be spring-jcl libreary excluded? Here my current dependency tree:
[INFO] +- org.springframework:spring-core:jar:6.0.5:compile
[INFO] | \- org.springframework:spring-jcl:jar:6.0.5:compile
[INFO] +- org.springframework:spring-context:jar:6.0.5:compile
[INFO] | +- org.springframework:spring-aop:jar:6.0.5:compile
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75626754",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to setup basic Authentication for my local Apache Kafka in Windows I have installed Kafka on my windows machine, and now I want to secure it by basic authentication how can I achieve this
A: Configure Server Properties: In the Kafka directory, navigate to the "config" folder and open the "server.properties" fil... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75626755",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-4"
} |
Q: Resolve Python linting errors for dynamically loaded modules Consider following project structure that uses nested modules:
$ tree
.
├── a
│ ├── b
│ │ ├── c
│ │ │ └── __init__.py
│ │ └── __init__.py
│ └── __init__.py
└── test.py
3 directories, 4 files
Content of test.py file:
from a.b.c import fo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75626762",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: CMD batch - execute statements inside for loop I am working on a script to automatically pull code changes in a series of Git repositories, which are stored in a folder structure which mirrors the repo they are stored in. The goal is to iterate through the folders, then for each one I will run some git CLI commands.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75626766",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Import a json file in typescript without building it I have a json config file for validating a form. It's generated from a base file. It's sent to the frontend for client side validation and imported in the backend for server side validation so that the validation matches.
My ideal file structure/files would be
|
|... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75626767",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: I want to flip the players x direction only once I am trying to make my player character's direction change when you press the right key. However this doesn't work if you hold it.
I have tried setting up multiple variables and other types of input in order to make this work but whenever the user holds the a or d ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75626770",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: Datetime format automatically changed by Create Item sharepoint block in Logic Apps How to store the datetime in ISO format as a string in SharePoint list using logic apps. Eg: If my date is "2023-03-01T10:20:30Z" or "2023-03-01T10:20:30+01:00", the create item block in logic app is converting the datetime string to... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75626771",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: laravel 10 CI/CD test fails with SQLSTATE[HY000] [2002] No such file or directory I want to make an automation for the test check when I push into main branches
I've created this github workflow
name: Run tests
on:
push:
branches:
- master
- develop
jobs:
tests:
name: Run tests
runs-on:... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75626773",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Elasticsearch Multi-term aggregations to retrieve duplicates In my Elasticsearch index I have duplicates docs where some "unique" fields have the same values.
In order to fix them, I have to find them, so I'm using an aggregation query with min_doc_count=2. The problem is that I manage to run it only with one key an... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75626774",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How does an Azure web app handle static variables? I have an API-application which logs information to sharepoint. In order to connect to sharepoint i use a token. The token expires after 12 to 24 Hours. So i need to update the token when needed.
I tried to store the token in a static variable in my Sharepoint Class... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75626776",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Azure AD B2C Custom policy : How to store client id and client secret securely and use in REST api I want to call below endpoint using custom policy REST API call technical profile
https://.b2clogin.com/.onmicrosoft.com/B2C_1A_SIGNUP_SIGNIN/oauth2/v2.0/token
This api requires client id and client secret to be passed... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75626778",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Add +1 to values from sql table and check if new value is also in sql table I'm new in coding.
I have some ip_v4 addresses in a sql table and I want to add +1 to every address that is already in my table. Every available address should be added to an array.
The purpose is that I want to autocomplete the users input ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75626779",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: MVC ASP.NET not showing any results from database using join I have created an MVC application that is supposed to join two tables from a Database using LINQ; when the application is run there are no results showing. Additionally, I have viewed the inspect element in my browser, and no tables from my foreach loop ar... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75626780",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: What is the "_8" postfix that is appended when linking openmp library fortran calls? I'm compiling and trying to link together a couple of libraries, one issue that seems to arise is that a call to openmp in Fortran, like for example.
!$ CALL omp_set_num_threads(foo)
ends up looking for a symbol
> nm dmumpsmex.m... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75626781",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: KeyguardManager, BiometricManager from Android API in ChromeOS We're developing the app for Android, but we expect it to work in ChromeOS too. And it does work, except one of our latest features brings false negatives.
All KeyguardManager methods return false. For example https://developer.android.com/reference/andr... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75626785",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Create secret only if not exists or else use the existing one - Helm I am trying to create a secret which needs to get created only if it is not existing, or else assign the existing ones when i do helm upgrade . I tried the below code
apiVersion: v1
kind: Secret
metadata:
name: "{{.Release.Namespace}}-mongodb-sec... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75626786",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Why we use ";" after if expression? Once upon time I saw this kind code:
if(condition){
some code
};
Why in the end of code stay ";"?
How it impact?
Why it not a some error syntax?
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75626788",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-4"
} |
Q: Livewire Dom Diffing: Input loses focus. How to fix this? Consider the following Livewire view's blade template code where $tags is an array of strings:
<div class="box-wrapper">
<ul>
@foreach($tags as $tag)
<li wire:key="tag-{{ $loop->index }}">
{{ $tag }}
</li>
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75626790",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Redirect Sub domain from www to non-www url I want redirect subdomain www.abc.example.com to abc.example.com
I tried by adding rules in ".htaccess" file but it is not working.
RewriteCond %{HTTP_HOST} ^www\.([^.]+\.mydomain\.com)$ [NC]
RewriteRule ^ http://%1%{REQUEST_URI} [R=301,L]
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75626793",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: How can cond from Racket be written using only logcal operators? For my homework, I need to write a recursive function without any conditional statements, only logical operators and I don't have any idea how to write cond using only logical operators. Can someone help?
For reference I wrote this code for my function... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75626795",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to define a release environment to execute an automated Azure DevOps TestPlan from C#? I am trying to execute an automated Azure DevOps TestPlan from C# but I do not find all the documentation to do this.
This is an example of my code:
string organizationName = "...";
string projectName = "...";
int planId... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75626796",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Count the TEXT and Numeric Values form specific Range with Line Break I have been using below formula which calulcates the Leaves status from the specific range of dates these dates are comes with TEXT or Numeric values and my formula is calculating the results wrong.
I have tried with different formulas like LEN(SU... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75626798",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Healenium Implementation for Javascript WDIO We are currently using webdriverIO version 7 for our automation. We use cucumber framework with Javascript and use npm.
We use node docker image to run the scripts via Jenkins.
We were thinking of exploring Healenium but there is limited information currently available fo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75626799",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: At present, in visual SLAM, which target detection algorithm is better for removing dynamic object feature points In visual SLAM, we want to use a target detection algorithm based on depth learning to eliminate the feature points on dynamic objects, so as to make the SLAM system more robust.
Based on what you know, ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75626801",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: How to create a GString from a String? I am using Rust with GLib and need to create a GString. How do I do that?
fn example() -> GString {
let hello = "Hello";
// How do I return hello as a GString?
}
A: Use the documented function glib::GString::from_string_unchecked:
GString::from_string_unchecked("Hello... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75626802",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-4"
} |
Q: Disabled div content using css <div class="children"> Sachin </div>
<div class="children"> Moron</div>
<div class="children"> Peter </div>
is it possible to apply color to div with specfic content like below
If div content is sachin then i need to disabled it, other wise it will enable
.children sachin {
cursor... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75626803",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Laravel checking common column through lots of nested relationships in query I'm working on a Laravel 10 project. I have a query that has at least 4 or 5 relationships that I need to join. Some of these contain a boolean called is_enabled. What's the best way to cascade check each relationship?
For exxample, in this... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75626804",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Targeting S+ (version 31 and above) requires that one of FLAG_IMMUTABLE or FLAG_MUTABLE. App crashes due to this Crash log -
--------- beginning of crash
2023-03-03 15:33:10.259 11639-12705/AndroidRuntime: FATAL EXCEPTION: AsyncTask #1
Process: PID: 11639
java.lang.RuntimeException: An error occurred wh... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75626806",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Lua reading global variable from external file I want to run two lua file separately, and at the same time make it possible for one of them to read the global variable of the other. Is it possible ?
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75626807",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: Spring Data JPA retrieving data using Native query and convert to Map I have a Transaction entity and I want to aggregate the data by hour, Month, and Year.
all data I return should be in Map type Map<LocalDatetime, Integer>
I have a Transaction Entity with several properties, and I tried to make another object that... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75626808",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Jenkins copyArtifacts from all branches I'd like to copy an artifact in my pipeline for a project, regardless of the branch. As long as the last job is successful, I'd like to get that artifact from the last branch that had a successful job.
Is it even possible?
Currently it works well using projectName: env.JOB_NAM... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75626809",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Error training using Flux.train! in Julia Problem
I have the below code trying to train a neural network in Julia but I am getting an error whenever I try using Flux.train!
using Flux, CSV, DataFrames, Random, Statistics, Plots
# Load the data
data = CSV.read("daily_stock_returns.csv")
# Split the data into traini... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75626811",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: php - ajax Update record onchange wihout reload page I need create a table, in the column the size and in the row the quantity for every product, I create a query where put in array the different result to have column and row and after I create a table.. I need to update every time there anybody do a change
while($x... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75626816",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: getting "ValueError: Axis limits cannot be NaN or Inf" error when plotting PCs I am doing PC analysis and trying to plot the ranking of PCs using a python package called scanpy (for my data I have to use this package) and this line of code:
>>> sc.pl.pca_variance_ratio(adata, log=True, n_pcs = 50)
but getting the f... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75626818",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: CQL - exclude column(s) based on value In my cassandra DB, I have a table with many columns, majority of them having NULL value. Is there projection to return only the columns that contain non-null value? Example:
name | birth_date | decease_date |
-----+------------+--------------+
Joe | 1.1.1920 | 1.2.2005 ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75626820",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to run all tests in multi-module project with gradle? I have multimodule android app. Each module has it's own tests. I want to create task that runs tests from all modules when called, like
./gradlew test
for single module.
I tried to create task in my root module for it.
val listOfAllProjectsNames = mutableLi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75626822",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Python find value in text string I am building a network automation script in python, and I got into a problem that I don't know how to resolve. I have the following output
CPE-MGT {
instance-type virtual-router;
interface ge-0/0/0.0;
routing-options {
static {
route 192.168.253.115/3... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75626824",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: ScheduledExecutorService vs TimerTask to handle MyDatabaseHelper I am building a Calendar app, in my event class I put some reminders and I want them to show up and cancel dynamically when the user is in this activity. When the user want to update an event then I have to show the existed reminders and dynamically so... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75626825",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: 'swiper/css/freemode'; can't be found when trying to import Swiper I'm trying to use Swiper in my React app and have seen that this is a common issue that Swiper won't work right due to a version upgrade or something. This is my current code:
import { Swiper, SwiperSlide } from 'swiper/react';
import { FreeMode } fr... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75626826",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: What is the benefit of adding YearWeek when year and week exist as separate columns? I'm looking at data model and there is column for date, year, week, yearweek.
Yearweek is concatenation of year and week.
What is the benefit of having the YearWeek column when year and week are available?
A: It can be used for var... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75626828",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Error Could not find a version that satisfies the requirement when Installing disvoice package on mac m1 chip Am using Disvoice python framework for voice analysis. On windows python environment, I can install disvoice from the requirements.txt file (disvoice==0.1.8).
Am trying to set up the same environment on Mac ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75626830",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: In java, can I compare child-of-child elements that share a class if their parent elements don't share a class or superclass? I'm trying to map a response object from a rest call in our sprint java application. As this is on my work computer I'll simplify and rename the issue:
I get back a rest object containing ple... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75626831",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Git move non-feature-related commits to another branch Working on feature branch and doing some non-feature-related work in commit D. Now I want to move (not just cherrypick) that commit to another refactor branch.
C - D (HEAD w. uncommitted changes) [feature branch]
/
A-B [main branch]
\
D [refactor b... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75626834",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to Calculate the remaining time battery will last in android with Java I am working on a project to get the remaining time of the battery,I need to calculate the remaining time of the battery
I tried with some codes found online also tried to calculate it with the current used now and remaining mAh with some for... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75626836",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: BottomSheetBehavior - BottomSheet layout is hiding/destroying itself after initialization I have custom Bottomsheet layout with BottomSheetBehavior attached to it. But immediately after initialization I see Bottomsheet rolling up as I set state to EXPANDED, but right after its content disappear. I'm not sure what is... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75626837",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How do i send an alert from prometheus to discord? Despite examining all possible sources, I could not send an alert to the discord channel I wanted. The token and configuration are completely correct, can anyone share about it?
I have configured Alertmanager according to the resources I found, but I am not getting ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75626839",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Xamarin.Forms: Application.Current.MainPage.DisplayAlert() throws System.NullReferenceException I'm using Application.Current.MainPage.DisplayAlert from a separate class and I'm getting this error:
System.NullReferenceException: 'Object reference not set to an instance of an object.'
App.xaml.cs
public partial cla... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75626843",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Add client side validation to dynamic form I have a form (in a .Net Core 6 web application) where the input fields are created in code based on the content of an array of items. Each item defines what type of field / data it is and whether it is a mandatory field. I have code working that generates the form but I ne... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75626846",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: My variable "is not null here" using entity framework 7 I am trying to set up a LINQ controller on my db. I am almost sure that I am really close, but this in the end baffles me:
[Route("tables/skillsresults/GetSoftSkillsAndSubCatsFromUser/{userId}")]
public List<JoinedResultsWithCategories> GetSoftSkillsAndSubCatsF... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75626850",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: I don't know how to handle invalid credentials I'm new to spring security and I'm sure my problem is related to my ignorance, when I enter the correct credentials everything works fine, but when the wrong ones are entered, Spring Security remains on the /process_login page with an error, I want to be transferred bac... | {
"language": "ru",
"url": "https://stackoverflow.com/questions/75626851",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Flutter pdf not downloading when button is pressed I copied the example off of the pdf pub dev but when I press the button nothing happens. Here is the code:
onPressed: () async {
final pdf = pw.Document();
pdf.addPage(pw.Page(
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75626853",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Android studio stopped giving me hints I don't know when it started but at some point android studio stopped giving me hints for some of my widgets. Like in the picture, before he suggested writing "android: id"enter image description here
I tried to write a few things on my old projects and everything works there, ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75626854",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: @ViewChild is undefined in afterViewInit using FormControl I have an nbInput with FormControl:
https://akveo.github.io/nebular/docs/components/input/overview#nbinputdirective
I want to access this in controller using @ViewChild but it returns undefined. Following is my code:
<section>
<nb-form-field>
<nb-icon n... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75626856",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Getting the quantile result right in a summary function I have this data
dput(per_stack[1:4,])
which gives this output:
structure(list(articles_ponderats2_migpunts = c(20.2083333333333,
20.6666666666667, 23.8333333333333, 15.1666666666667), Tramspoblacio = structure(c(5L,
4L, 4L, 4L), .Label = c("1 - 999", "1000 ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75626858",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Remove escape characters from string using JOLT I'm trying to use replace function to remove the special characters, but the escape characters are not being removed.
Input:
[
{
"MiddleName": "Gisela\"mn"
},
{
"MiddleName": "Gisela12---"
}
]
Spec:
[
{
"operation": "modify-overwrite-beta",
"... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75626869",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Export Azure AD Group Member I am trying to export members of Azure IAM groups but getting an error of empty string. Below is my code
Set-AzContext -Subscription XXXX-XXXX-XXXX-XXXX
$IAMGroups = Get-AzRoleAssignment | Where-Object -FilterScript {$_.ObjectType-eq "Group"} | Select-Object DisplayName
$IAMGroups
$R... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75626871",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to make WPF Window behave like a "Native Window" I want to add native window functionality to my WPF Window which has NoResize ResizeMode and None WindowStyle
For example when a window is dragged to the top of the screen, it should show the Windows expand animation and then expand if it is dropped there, or when... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75626873",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Dashboard specify devices In the customer dashboard I would like to specify the devices of the customer, but currently I can only do this via entity list, type "device" and then I have to select each device. Errors can happen quickly here. How can I directly select all devices of a group? Which selection criteria do... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75626874",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Is there a way to make chatsocket.send send the data to all of the instances at the same time? In a typical consumers class, we would have the following:
class SomeConsumer(AsyncWebsocketConsumer):
async def connect(self):
...
async def disconnect(self, close_code):
...
async def receive(... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75626878",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: how to make list with corresponding elements python i was wondering if it were possible to have a list where one item corresponds with another in python, so like you could have id's corresponding usernames. so I could input an id and it would spit out the corresponding username without a bunch of if statements. is ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75626880",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: I'm writing a code in panda 3d. Is it possible to load a 3d animation over a 2d image?
Adding a background image
tex = imagepath
self.cm = CardMaker("background")
sel.cm.setFrameFullscreenQuad()
self.card = self.render2dp.attachNewNode(self.cm.generate())
self.bg_tex = self.loader.loadTexture(tex)
self.card.setText... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75626882",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: How to add annotations on specific positions of the screen by considering screen resize I have a ReactJS app and implemented a VideoJS player I want to add description as a comment on specific positions and frames of the playing video.
I implemented the player, and I could add the comment on the playing screen on an... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75626884",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: C# UNITY - loop of instantiating objects, some childs are referenced other not I should warn you that code is made by a newbie, I am learning the ropes and there is surely better way to make this in UNITY.
So i make a nested loop using x and y as variables, i instantiate some tiles and inside the tiles i created a c... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75626885",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: prevent html2pdf from considering head style I am using below code to generate pdf using html2pdf
<head>
<script src="https://cdnjs.cloudflare.com/ajax/libs/html2pdf.js/0.9.2/html2pdf.bundle.js"></script>
<style>
#content {
color: red;
}
</style>
</head>
<body>
<div id="content">
<h1>Hello, world!</h1>
<p>This i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75626886",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to mutate a new column in dataframe ifelse date is between 2 dates in another column? So I have a dataframe with some dates, and I have another dataframe with some dates of weather events.
I want to mutate a column onto original dataframe, if any of the dates are between the weather event dates in the second dat... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75626889",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to string into value For example the input string from console "3+4". After strings.Split(text, "") i need to assign sliced string to variables like 3 to number1, + to operator, 4 to number2
package main
import (
"bufio"
"errors"
"fmt"
"os"
"strconv"
"strings"
)
func main() {
var n... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75626893",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-7"
} |
Q: is the GROUP BY GROUPING SETS query working in MySQL WORKBENCH version 8.0? i keep getting error code 1064 while trying every query steps that includes GROUP BY GROUPING SETS on a table that has the following columns: employee_id, name, department, salary
name of table: employees
SELECT department, name, COUNT(*)
FR... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75626896",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: Reading txt file in vb.net level:
OL0-18-11-540
OL0-18-11-540
0L0-18-11-540
level for him:
ULL
NULL
NULL
number:
MZYS7CE09241
serial num:
MZYS7CE09241
FA
from OLDCAR
?xm] vers ion-""1. 0" encoding-"uTF-8"?> <fa xmins="http://bmw.com/2005/ps dz. data.fa"
BMW CAR
/fa
FA from NEW:
NULL
I have a text file that I would ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75626899",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: how to make c-accordion id as dynamic in angular? <c-accordion [alwaysOpen]="false" [flush]="true" >
<c-accordion-item #item0="cAccordionItem" *ngFor="let attempt of this.attemptResult,let i=index" [visible]="i==0 ?'true':'false'" >
<ng-template cTemplateId="accordionHeaderTemplate">
<button #id (click)=... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75626900",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Overlayed stacked bar chart in excel with some NIL categories I want to create a stacked bar graph for the example data below
This is an example of what i would like the end output to look like in excel
When i create the chart in excel and show the data labels, since there is no value for some categories (disagree... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75626905",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Angular Compilation Error: Deprecation warning I have started getting this deprecation warning ever since upgraded to Angular 13.
TypeError: message.trim is not a function
at Function.Rule.FAILURE_STRING (/home/app/node_modules/tslint/lib/rules/deprecationRule.js:30:81)
at cb (/home/app/node_modules/tslint/lib/rule... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75626906",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: The choice of a specific element in for VUE <div
v-for="(item, i) in Array"
:key="i"
:value="item"
>
<div
@click.stop="clickItem"
>
<input
type="checkbox"
:id="i"
:value="item"
v-model="checkedLength"
>
<label :for="i">{{ item }} inc... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75626907",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How can I handle bottom sheet and bottom bar logic into viewmodel in kotlin compose? I am making a scaffold and ModalBottomSheetLayout. ModalBottomSheetLayout contains scaffold and scaffold contains bottom bar and top bar but The codes are not very pleasing to the eye and I will have to copy them again during use on... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75626909",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How can we cast the column that contains array and struct both and cast the values of multiple types to single data type using glue dynamic DF python How can we cast the column that contains array and struct both and cast the values of multiple types to single data type. I am using resolveChoice method but still it ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75626915",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: billing address 2 files is not being displayed in Woocommerce checkout page I am trying to understand why this field is not shown on my check out page, insepec the element
and this is what i see : it is like the fiesl is there but shirked
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75626916",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: how to resolve a route overlap issue I have the following challenge and would like your help on where I can find literature about the solution (articles, paper, github, some a.i etc...).
I need to merge multiple routes into a map and check which parts of which routes overlap to generate a new, unified route.
My firs... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75626918",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Is there a way to have cytoscape automatically recognize list columns when importing tsv data I want to import a tsv table containing node data for an already existing network via the File/Import/Table From File option. The tsv table has the following format
id accessions
1 ABCDE.1|CDEFG.1
2 EFGH.1
I can... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75626919",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Laravel login - After the login is successful, it does not remain and returns to the login page I tried several ways to login, the one that works is Auth::login($user);, but he doesn't stay logged in, he goes back to the login page.
Login Controller:
public function validateCode(Request $request)
{
$emai... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75626921",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Storage Type ( File, Object ) for Distributed Real Time Software My application is an real time analysis tool run on premise. It is checking existence of a file, if it is there, a number of parallel analysis is started in microservice architecture. Each analysis produce a number of files to be stored in a storage sy... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75626924",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Intellij showing cannot resolve MVC view even though spring boot application is running fine After intializing the spring application with Spring Web.
I created Login Controller class as below and create static html files in resources/static folder
import org.springframework.stereotype.Controller;
import org.springf... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75626925",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: blank react app after deploying on GitHub pages My project was all good until I deployed it on GitHub pages ;( ... it's now showing a blank page and I tried looking into the same issue on StackOverflow, but they're not facing exactly as my issue, so I looked it up on youtube and tried some tutorials but no results s... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75626928",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: Disabling drag functionality in slider beyond certain value I'm creating a slider that ranges its value from 0 to 100, but users should only be able to drag between 2 to 100, the space between 0 and 2 should still be visible on the UI. How can I stop the dragging functionality once the value reaches 2?
<Slide... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75626929",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: What is the reason behind the submit button of my form sending new parameters and being unable to retain the old ones? I am currently endeavoring to develop the popular game "Guess the Random Number" utilizing JSP/Servlet. However, I am experiencing an issue with the form parameters submission process, as it seems t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75626938",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Localization in B2C Custom Policy - Missing required elements I have to localize a sign-up, and a password reset custom policy in German, and I have a few questions regarding that:
*
*There seem to be no default translation for the "Missing required element: {0}" error, which shows when I for example enter a white... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75626939",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Detect Left or Right Swipe and Call Function Every Valid Swipe In PageView Using Flutter I want to call a function on every valid page swipe.
*
*At first i am shown 'A'.
enter image description here
*Then If i drag the page in horizontal of small amount then it shows some part of next page like above picture...... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75626945",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: how can I delete Entity's @ManyToMany I have 3 classes in my spring boot application.
model
Author
@Entity
@Setter
@Getter
@AllArgsConstructor
@NoArgsConstructor
@Table(schema = "bookshop", name = "author")
public class Author {
@Id
@GeneratedValue(strategy = GenerationType.SEQUENCE)
private Long id;
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75626947",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Laravel Homestead : local code folder not showing in homestead when I navigate to the "home/vagrant" folder inside the homestead environment, The "Code" folder is not showing there.
Here's my Homestead.yaml configuration
---
ip: "192.168.10.10"
memory: 2048
cpus: 2
provider: virtualbox
authorize: ~/.ssh/homestead_... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75626948",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Multiple if statements inside ViewBuilder fails building I am getting the error "The compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions" when trying the following code.
I found out that breaking up the syntaxes into smaller bits would hel... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75626950",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Using nanoframework on the NUCLEO-F746ZG I would like to experiment with the .net nanoframework. An initial test on an ESP32 was successful, but that's not really the platform I'm interested in. Meanwhile, I have a NUCLEO-F746ZG on my desk for further testing.
https://os.mbed.com/platforms/ST-Nucleo-F746ZG/
This boa... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75626952",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How do I retrieve the count of posts when a post contains the meta key "original_author" with a list of Users? Parameters:
*
*CPT - sfwd-courses
*meta_key - original_author (EXIST)
*Post Status - publish, private
I'm looking for an MYSQL query with the parameters shown above.
An MYSQL query that returns the fol... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75626954",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: currentIndex show the same value when moving the mouse up and down in Tumbler QML I am using Tumbler QML for a component. When I move the mouse up, the value of currentIndex shows one unit less, while I move the mouse down, this value is correct.Is there a way to make the value of currentIndex show the same value wh... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75626956",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |