text string | meta dict |
|---|---|
Q: Creating a git server on ec2 serving efs I created an ec2 instance and mounted efs on it.
I have a git server running on the ec2 such that the repos are stored in efs, so that it can scale indefinitely.
I want the repos to be served through efs so when a git clone happens the repo should be picked up by the git serv... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75583750",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: how to use youtube_player_iframe package in flutter? When I use youtube_player_iframe package I am getting and error that is "A platform implementation for webview_flutter has not been set. Please ensure that an implementation of WebViewPlatform has been set to WebViewPlatform.instance before use. For unit testing, ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75583751",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Access module.exports async function in Node.js module I tried to access a single function in one of SQLite module in Node.JS but the results is always get:
My Module Code:
var sqlite3 = require('sqlite3').verbose();
const db = new sqlite3.Database('database.db');
const fs = require('fs')
module.exports = {
in... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75583752",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Dynamic routing in nextjs. How to implement fetch data in another react component? i am building a book store and i have a list of books. Here is a code:
export function Card() {
const router = useRouter();
const [books, setBooks] = useState(null)
const [selectedBook, setSelectedBook] = useState(null... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75583753",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Error creating bean with name 'org.springframework.context.annotation.CommonAnnotationBeanPostProcessor#0' I'm trying to enable support for @PostConstruct and @PreDestroy by defining a bean element in a config.xml file. But I'm getting error in console log stating WARNING: Exception encountered during context initia... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75583755",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How do you expand results of str_split in R while keeping an index in another column I have string-based data that has been inconsistently divided (by an upstream process that I have no control of). It looks something like this, with some records split into separate lines and some not.
ID <- c(1, 1, 2, 3)
strings <-... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75583757",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Cannot modify state values in Formik Field Array using Typescript and Material UI Im trying to use some data from my backend to create an array of options in formik. I can display it to the user however i cannot find a way to modify it using the <FieldArray/> component.
Ive seen the examples use this syntax object[$... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75583760",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: calibration_params = bme280.load_calibration_params(bus, address) so I'm trying to utilize a BME280 to send data to Initial State however, when using the following code:
port = 1
address = 0x76
bus = smbus2.SMBus(port)
calibration_params = bme280.load_calibration_params(bus, address)
streamer = Streamer(bucket_name... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75583761",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Crystal Reports - scheduled reports randomly running immediately after being scheduled When I schedule a report on the Crystal Reports website, it sometimes runs the report one time right after I click on the save button, and sends the report out. I have looked at the each setting parameter on the schedule window, b... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75583762",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to call the variadic template version of these callbacks Each one takes an std::function as the first parameter,
I am not being able to call the variadic template to replace them all, any help would be appreiciated.
#include <iostream>
#include <functional>
using namespace std;
template <typename ... FArgs, typ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75583764",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Tell pip package to install build dependency for its own install and all install_requires installs I am installing a package whose dependency needs to import numpy inside its setup.py. It also needs Cython to correctly build this dependency. This dependency is scikit-learn==0.21.2. Here is the setup.py of my own pac... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75583768",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Azure SQL Managed Instance database changes deployment using Azure DevOps Is there a possibility to deploy database changes using SQL Server Project or other means to Azure SQL Managed Instance as we do in Azure SQL Database using Azure DevOps?
I tried checking various resources online but was not able to find a sol... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75583771",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: using Twilio Flex insights data with Power BI Since the Power BI connector for Twilio was deprecated back in JAN 2023, I do not see a clear way to link these 2 platforms so that I can leverage my personal CRM data with flex insights.
However it does not have any interesting info about taskrouter and info we care abo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75583772",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Update data in BigQuery from my Python script I have a large dataframe (BigFile) in Google BigQuery with 16m rows that looks like this:
isbn title author portfolio course
0 1000000000123 Book 1 Author 1 Science Biology
1 1000000000124 Book 2 Aut... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75583776",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to redirect an anonymous user until he gets the captcha right How can I force the an anonymous user to stay in a page by always redirecting him back to it until he gets the captcha in there right? To handle the captcha form I can use django simple captcha, my problem is in how to know if the captcha was solved a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75583777",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How can I set the orientation for a 3D Matplotlib Figure? I am attempting to plot a 3D surface, with the following code:
fig = plt.figure()
ax = fig.add_subplot(projection = '3d')
ax.plot_surface(x, y, z)
ax.set_aspect('equal') # not relevent to the problem
plt.show()
Now, this outputs a figure, as one would expect... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75583778",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Telegram bot files upload using Telegraf I want to upload a videos to a telegram bot from API when requsted. To do so i used sendVideo method that recieve chat_id and media.source this approch is sending the file to the chat bot and then giving the file_id in the result, which can used to send the video much faster.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75583780",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Unity 2D script Created 2 scripts: 1. The garbage itself 2. The trash can. When compiling, this error appears. I can't figure out where the error is in the scripts.
error CS0246: The type or namespace name 'Garbage' could not be found (are you missing a using directive or an assembly reference?)
Name:Garbage
using U... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75583783",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to do probabilities in C I need to take different probabilities and choose one. For instance: if you choose 1 the probabilities are as follows:
Common 60%
Rare 25%
Ultra Rare 14%
Super Super Rare 1%
And each different choice by the "player" would change the probabilities t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75583785",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Windows shut down through python I'm using visual basic programs to create some files for my work, however, I'm learning python and want to use it to shut down my windows system after the visual basic program is completed execution
A: For this, you must start the process using the Python script since it can not det... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75583787",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: R: c_across() very slow - is there a faster but elegant approach? The underlying topic of the question is really about the point buy system in D&D 5E, but while working on it, I notice that c_across() slowed things down enormously.
The approach
die_value <- 8L:15L
point_value <- c(0L, 1L, 2L, 3L, 4L, 5L, 7L, 9L)
de... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75583790",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: 403 Forbidden when accessing events using Google CalDAV Stack: Python, caldav library.
I use OAuth2 for authentication and provide access token in all requests:
"Authorization": <access_token>
Scopes:
*
*https://www.googleapis.com/auth/calendar.readonly
*https://www.googleapis.com/auth/calendar.events
I get 403 ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75583792",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Spring Cloud AWS - EKS and Secret Manager I'm running a spring boot app in EKS/AWS.
How can I, using spring cloud aws, make spring app load properties from AWS secret manager in EKS?
Any sample for EKS/K8S integration?
I haven't used spring cloud aws yet. I've seen samples that does not involve EKS/K8S in pulling pr... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75583794",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Python load values from JSON file Hello I’m trying to do a python script to process and print the multiple values for instance for customerPrice and totalAvailability. I tried to make the script as: variables as shown:
import requests
import json
import csv
with open('C:/asg/ftpfiles/API/test/resultsing.json') as ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75583796",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to pass variable to next middleware from gridfs storage Below is my code where i authenticate if user is admin and then upload a file:
const storage = new GridFsStorage({
url: process.env.MONGO_URI,
file: async (req, file) => {
async function authenticate() {
const { authorization } = req.headers;
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75583797",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Among Normalised vs denormalized , which is better for reporting and is star scheme normalized? I am new to data field. I read that star scheme is denormalized . But it is split into dimension and fact tables , hence it’s normalized right?
The link I read from is https://www.databricks.com/glossary/star-schema
A: Y... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75583798",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: VS Code debugger shows incorrect value with jest test I am trying to develop/debug API tests with typescript/jest, using VS Code. I generally start with something like the following, set a break point at the console.log() statement, then use the debugger to examine the response and develop the remaining assertions.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75583800",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Scatter-gather PublishSubscribe rollback on exception I would like to create a scatter-gather that executes several handlers in separate transaction.
To do so, I assumed that the version with the PublishSubscribeChannel configured with a taskExecutor would be the most appropriate.
To managed errors, I followed the d... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75583801",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Create multiple rows in table based on multi-select dropdown (Shiny) I am building a Shiny app with 2 tabs. The first tab contains 2 multi-select dropdown menus. The 2nd tab contains a table that is filtered/impacted by the selections of the 2 dropdowns from the previous tab. The first dropdown filters the table.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75583803",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Using Python 3, my JSON file is only saving the most recent entries. How can I get it to capture all data? I've made a super simple social media tracking program, so that after every time I use Twitter I can log the amount of time I spent there (for personal accountability), and then get a sum of my total time for t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75583804",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Javascript replace console.log() with Alert () method I want to replace the console.log output with a windows alert displaying all persons data.
class person {
constructor(name, job, color, age, licExpiryDate) {
this.personsname = name;
this.jobtitle = job;
this.haircolor = color;
this.personsage... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75583807",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: NuGet Package manager for Visual Studio 2022 gives a weird error I want to install MySQL.Data for my C++ .net framework 4.8 CLR project, but when i want to install the package, it throws me this error:
Could not install package 'MySql.Data 8.0.32'. You are trying to install this package into a project that targets '... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75583811",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to fix illegal offset type error in php? I have a php code as shown in which through Line Z, I am extracting data from TU_YZ table. At Line B, I am putting the value of $row['CD_TITLE'] into $replacements[$row['AB_ID']] but I am
getting an error illegal offset type at Line B.
php code:
$yuvwr = $db_conn->execStm... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75583812",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: How to mount a share on all clients of Windows Server 2008 R2 I need help. I'm a volunteer at a church. We have an AD on Windows Server 2008 R2. (Yes, I know this is ancient and I need to migrate to a newer server. That's a whole different topic.) The person who managed that server has moved on, leaving me holding t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75583819",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: PHP start date and current date both are same but so its showing me date is Past I am comparing two dates with current date, but problem occur only when start date and current date both are same. I have logic if start date and current date both are same so output is Ongoing but it's showing me past.
following are my... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75583820",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Read and set Reactive object from another component in Vue 3 (composition API) I am new to Vue and have a component A) Notification bar which has a Reactive object containing state, message. Then I want to show a div in another component based on the status of Reactive object in component A. Also I want to be able t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75583821",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: const err = new MongooseError(message); MongooseError: Operation `fruits.insertOne()` buffering timed out after 10000ms const mongoose = require("mongoose");
mongoose.set('strictQuery', false);
mongoose.connect("mongodb://localhost:27017/fruitsDB", {useNewUrlParser: true});
const fruitSchema = new mongoose.Schema ({... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75583822",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Using Apache NiFi to extract data contained within XML TAG I relatively new to NiFi, and I working on a small project that's using some airport data. I've gotten to a point where I want to extract specific pieces of the data and I've managed to use a validate Xpath processor to extract some element values as attribu... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75583830",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Using Azure DevOps task build the .Net core application that uses external Package Source Using Azure DevOps task, I am trying to build the .net core application that uses external Package Sources like mentioned below
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<packageSources>
<clear />
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75583831",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Direct input into 3rd party terminal I am searching for solution to be able to input text into console running simple app with python or other language. I have solution in python to activate window and send keystrokes into cmd or store value in clipboard and paste it into cmd. Have also similar solution with auto-ho... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75583833",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: TCPDF running inside Wordpress, headers already sent issue and workarounds I have fully working code to create a using TCPDF to create PDF files outside of Wordpress. When it comes to running the code inside a wordpress website and using $pdf->output("filename.pdf", "I") I run into the following:-
Warning: Cannot mo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75583837",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Scrapy Parse function not yielding output I'm having a heck of a time with this script. I can't seem to get the parse function to yield the output I need to print the variables. Is there something I'm just missing?
Import requests_html
import scrapy
from requests_html import HTMLSession
session = HTMLSession()
cl... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75583838",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: ValueError: `logits` and `labels` must have the same shape, received ((None, 10) vs (None, 1)) in VGG16 I am trying to do some prediction of cifar10 dataset by using Keras.applications.VGG16 pre-trained model. And when I am trying to fit the model I'm getting this error.
---------------------------------------------... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75583839",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Creating list with repeated items based on number of elements in another list I'm having some issues creating/thinking how to resolve this.
I need to have 2 lists.
1 is the list of "users" and the other one is the list of "population" .
For each item in "population", I need to repeat each item on the "users" list.
E... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75583841",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: Pyspark iterate through dates to read in data for specific grouping of date, perform some transformations then rewrite to data lake The problem: I have some data in date structured directory in data lake.
I need to pull in this data for each date I need to pull in only the last 5 days e.g. for 1st dec 2022 I would n... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75583842",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: copying file between folders using bash script I am trying to submit several jobs in a consecutive manner.
Each job is located in a separate folder and each time that a job wants to be submitted, I need to copy some files from the previous folder into the new folder.
I wrote the below SLURM script, but it fails into... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75583843",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Commit every 1mln deleted rows I've go a table including about 128mln of records. I need to clean-up the table and delete records older that 1st Sep 2022 - it should be about 114mln of records
Query to delete records from a small table would be like
DELETE FROM LOG_ATTRS
WHERE LRID IN (SELECT LOG_MESSAGES.ID
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75583846",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: I want to generate very simple subject-object interaction prompts automatically when the object category is given. Any suggestions? For my research I am trying to generate multiple subject-object interaction prompts when the object category is given, in autonomous manner.
For example, if the object category is 'bicy... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75583849",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: regex to find everything enclosed between 00, and it may also include single 0 in between I am trying to find single line and multi line data enclosed between 00
Like
00some data 00
Or
00
This
Is multi line
Data00
Both can be selected
With regex like
/0{2}([^0]*)0{2}/gmi
However it fails if there is single 0 in b... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75583853",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Change Edit1.Text with SendMessage() WM_SETTEXT on Delphi 11 Alexandria I am using this SendMessage() call in Delphi 11 to set the text of a edit1.text:
var
wsFilePath: WideString;
...
SendMessage(Edit1.Handle, WM_SETTEXT, 0, DWORD(PWchar(wsFilePath)));
All works fine, but wondering if something has changed in De... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75583856",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: Unit test that all invocations of a method pass a serializable argument I use the Hazelcast library in my project.
It's executor service has this method:
void executeOnAllMembers(@Nonnull Runnable command);
This can fail at runtime if it is passed a command that does not implement Serializable.
I want to write a un... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75583858",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How Can I Mask My Material-UI TextField? Without react-input-mask I'm trying to do a masked textfield in material-ui, I didn't find how to do it without react-input-mask,
Is it possible? How can I do it?
I tried "MaskedInput" but it doesn't work correctly.
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75583860",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Empty recyclerview in android Fragment New to android development, hardly a month, don't judge me
This following piece of code is not working when using inside a fragment, but working when using activity
It is showing empty, while instead it should show the list of students as per the layout in the recyclerview, bas... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75583863",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Is Mongoose's findOneAndUpdate atomic? I understand that the update functionality of findOneAndUpdate is atomic.
But is the returned result (when passing new: true) guaranteed to be the result of the immediate query?
For example, if I run the following, is the return value guaranteed to be original kilometers + 1, o... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75583865",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Why is my Angular project on localhost:4200/#/ rather than just localhost:4200/? I am using an Angular premade dashboard for my project, however for all the pages, it has a /#/ in the URL.
Does anyone know why this is?
Image of URL
A: Because # is for a javascript navigation and don't reload the page with a new req... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75583866",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Is there ONE location to set the Bearer token in .NET HttpClient for every request to a third party Context:
For a third party service I have used the "authorization code flow" process to obtain a valid Bearer token.
In my frontend, I validate this token and send it with every request to my .NET API. Then, from the ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75583868",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: How to create containers running the same mysql database via docker swarm? I am trying to create a cluster with 2 nodes and 2 containers of the same database using docker swarm to practice. I first created the volume, network and started the cluster:
docker volume create $service_volume
docker network create --drive... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75583869",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Change alpha based on factor group in ggplot dftt <- data.frame(values = runif(27, min = 0, max = 1),
Position_Group = c("Detroit.1-3", "Detroit.1-3", "Detroit.1-3",
"Detroit.4-6", "Detroit.4-6", "Detroit.4-6",
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75583871",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to locate a specific image to get the src value with Selenium Python I am trying to get the src of an image, however, it does not find the element of it does not filter to the image I need.
I have tried a couple of different xpaths and css selector including:
imgsrc = driver.find_element(By.CSS_SELECTOR, 'button... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75583873",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Is it possible to rotate a div while having a transition on it in CSS?
Im trying to rotate this div, while moving it to the left with a transition, but its not working, any suggestion? or recommendation how to solve it?
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75583875",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: Bootstrap Navbar conflicting with another div I'm trying to add a simple Navbar to a (simple) Leaflet map. I'm having problems setting the Navbar and the map in each their own containers.
Here's my code:
<!DOCTYPE html>
<html>
<head>
<title>Title</title>
<meta charset="UTF-8">
<!-- Le... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75583879",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Keycloak - manually set a client secret I wonder if it'd be possible with keycloak, through the REST API or the admin dashboard, to manually set the client_secret for a given client_id.
Why would I need this ? I want to distribute Desktop apps that will have the credentials hard-coded to use implicit_flow, and I'm a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75583880",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How do I prevent or hide an output on Jupyter Notebook? I am using pandas to create a plot and I am seeing outputs from the code other than the plot.
How do I hide the output circled in red in the screenshot below?
screenshot
A: In your scenario, assuming you don't want to hide the graph you're plotting, you just n... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75583885",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: Webalizer GeoIP.dat Updates mrunix.net Offline Does anyone know where I can obtain the latest webalizer-geodb-latest.tgz file which contains the latest GeoDB.dat database used by webalizer?
It looks like I can get updated Maxmind .dat files from https://www.miyuru.lk/geoiplegacy, but I'm not sure if that format will... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75583887",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Removal of characters in AppsScript I've got a "Sheet1" where column "B2:B" (excluding the header) has strings made up of letters (uppercase and lowercase ones), spaces, numbers and symbols.
My script has to take the strings in column "B2:B" and:
*
*replace all uppercases into lowercases;
*remove numbers, symbol... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75583889",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Different results for COUNT using as window function with and without ORDER BY Say, I have this simple table:
declare @t table ([period] date, [contract] int, price int);
insert into @t values
('2022-11-01', 1, 234),
('2022-12-01', 1, 277),
('2023-01-01', 1, 489),
('2022-11-01', 2, 187),
('2022-12-01', 2, 598),
('20... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75583892",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: python webscraper, requiring a dynamic object array I have compiled the following code that extracts information from pages defined in the url object. Instead of writing down each URL. The code works in itself, however for my actual use case I have a list of 50 URLs that I would like to the script to go through. The... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75583893",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Create groups from continuous variables with increments and names for categorical variables I'm trying to create categorical groups from continuous variables with increments.
score <- sample(1:100,20,replace=TRUE)
df <- data.frame(score)
I want to create new categorical columns based on increments of 20 (exclusive)... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75583894",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: How to find the largest value among 15 values that correspond to the total sum of 15 rows in Java? I have a 15x7 matrix, in which I store the number of attendees who have seen the 15 movies in each of the 7 rooms, I need to know which is the most viewed movie and for that I add the total number of attendees for eac... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75583900",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-6"
} |
Q: Remove character between Pipe and semicolon I have an SQL Table with a column that stores keywords like this
keyword|44500903-8f09-40d8-a908-5fb3e03d145e;keyword2|441fb756-ff0a-473f-ad70-2f78d679e7d9
I need remove all characters between Pipe (including this) and semicolon, including this. The result must be:
Keywo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75583902",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: ArgoCD What should I put in the Repository URL and Path fields? I'm using the ArgoCD UI (webapp) and trying to create a new ArgoCD app.
Two of the fields I need to enter are:
*
*Repository URL
*Path
In ArgoCD, What value should I put in the Repository URL and Path fields? Where is the argo documentation at for ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75583904",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: JSON decoder issue. How I can parse these data? everyone. I am making an app for iOS. I use an API that allows to fetch city's sights as JSON.
Here is an example of the data:
{
"type":"FeatureCollection",
"features":[
{
"type":"Feature",
"id":"7281004",
"geometry":{
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75583905",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-3"
} |
Q: How do I display milliseconds in R When I load my csv files, the milliseconds of my time variable disapear,
I think that when I load my files the milliseconds are being deleted. I tried several codes to try and display them such as:
format(coordinates$timestamps, "%H:%M:%OS3")
coordinates$timestamps <- as.POSIXct(c... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75583906",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to edit woocommerce out of stock badge in span class with CSS or JS I am trying to edit my "Out of stock" badge to just be "SOLD" but I am unable to change the words despite being able to target it.
Link to my site: https://projectlfg.net/
Place that I want to edit is under best sellers as u scroll down but ever... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75583907",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: an efficient data type and format to save big number of texts I am currently scraping a lot of news articles. It is 30k+, and I will make it 300k+, so I am worried if I am working with data correctly.
I work with a list of lists:
[[article_id, date, title, link, article_type, tags, text, text_prep], [...], [...], .... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75583909",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to add a semicolon at the end of a dictionary? I want to write this dictionary to a file, but i want a semicolon at the end of each keys.
For instance:
Cricket = {
'CricketSport {': {
'Bat': "White;",
'Ball': "Red;",
'Wickets': random.choice(range(1, 3)),
}
}
The ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75583911",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Can't run Chromedriver in headless mode using Selenium running my selenium script I ran into an error that I don't know how to pass. I've googled and tried various solutions but they didn't work.
Here is my code:
from selenium import webdriver
from selenium.webdriver.chrome.options import Options
chrome_driver_bina... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75583912",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to generate typescript models without @aws-amplify/datastore definitions I want to be able to generate typescript models for my GraphQL API but I don't want it to use datastore models.
I'm generating the models for lambda backend functions where I cannot use Amplifys datastore. I don't want to have the inits fun... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75583914",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Do huge number of schema hurt my PostgreSQL performance? This is a question about how number of schema impacts the performance of a DB cluster.
Let's say I run a PostgreSQL cluster, and inside that cluster: I have 1 databases, and each database has thousands schema (I create one schema for each of my app tenant), an... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75583915",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Getting error after upgrading protobuf to version 3 while building project with sbt Getting this error while building project
java.lang.RuntimeException: protoc returned exit code: 1
at scala.sys.package$.error(package.scala:27)
at sbtprotobuf.ProtobufPlugin$.sbtprotobuf$ProtobufPlugin$$compile(ProtobufPlugin.scal... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75583917",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to sort alphanumeric columns in pandas dataframe import pandas as pd
import numpy as np
d = {'cell':['cell_D1_TX_L_90','cell_D11_TX_L_90','cell_D14_TX_L_90','cell_D4_TX_L_90','cell_D3_TX_L_90','cell1_D23_TX_L_90','cell1_D2_TX_L_90','cell1_D4_TX_L_90','cell1_D11_TX_L_90','cell1_D1P5_TX_L_90','cell_D1_TY_L_90','ce... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75583918",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: TotalPurchasers metric in Google Analytics 4 giving wrong results We have custom dimension define in Google Analytics Data API v1Beta for extracting data from Google Analytics GA4 account. I am trying to fetch purchaseRevenue and totalPurchasers metric with respect to date, sessionSource, Sessionmedium, campaignNam... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75583921",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Bootstrap 5.1.3 accordion not collapsing I am using the accordion style to show a series of info displays on a site. It is showing all the correct information, but will not collapse any of the accordion items. Please find my code below. Function and variable names may contain a typo as I changed names for some priva... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75583926",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: SequelizeDatabaseError: Undeclared variable: NaN Why is my offset NaN? Everything works fine when I comment offset out of the find options. I know there are other questions like this, but none of them solve the problem.
exports.getProducts = (req, res, next) => {
let limit = 10, //10 products per page
offset = ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75583929",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Jasmine spy inside rxjs.switchMap I have a component that allows to confirm an event and undo the confirmation through the following function:
constructor(private service: Service, private snackbarService: MatSnackBar) {}
confirm(id: number): void {
this.service.confirm(id).pipe(
switchMap(success => {
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75583930",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Created url to show posts under custom fields but i could not design the page for example https://teamsabharwalcondos.com/portfolio/union-city/
the portfolio is the URL for custom field posts and union-city is the post. I wanted to design the template for every post under the portfolio to show the same design, and I... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75583932",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Kubernetes Pod Logs stream in browser using springboot application Hi I want to stream Kubernetes pod logs to Browser UI. is it possible? any sample code can we get?.
My API is running in Spring Boot application, when someone calls my API, have to push (stream) pod logs to client via API. How to do?
A: Option 1
Wri... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75583934",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: project structure for daily updates and submissions I want to make a little site where I generate a poem daily and it gets updated, but have the generation happen automatically each day. I have the code for generation (js), just not sure how to host something like this (have mostly worked with static sites) and I wo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75583936",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: SwiftUI: Prevent Text from expanding view outside available bounds I'm encountering an issue where Text, depending on its contents, is causing the SwiftUI view to grow larger than the available space rather than wrapping a word to another line. I think it's just a bug (FB11809780) but I'm interested in finding a wor... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75583937",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Passing parameters to AppleScript function I'm trying automate a lengthy Microsoft Excel workflow
From the docs:
open workbook v : Opens a workbook.
open workbook
workbook file name text : The name of the file containing the workbook to be opened.
[update links do not update links/update external links only/... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75583939",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Python skips __next__ directive and returns a generator object I'm trying to implement an iterable class, which I have done several times before, but I'm experiencing some unexpected behavior this time around, and I can't figure out why.
My class contains the usual __iter__(self) method that returns self, and __next... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75583940",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How do I show alert dialog to other user screen when I sent some gift during chat? I want to show an alert dialog to other user screen when I sent a gift during chat. I am storing all the transaction information(gifts Sent & Received + to whom sent and from whom received) to firebasefirestore. Now I just want to not... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75583942",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: Footnotes after tbl_stack in gtsummary I'm new to gtsummary (thanks to the developers for such a great package!).
I've used tbl_stack to stack two tables from my "malawi" dataset- one with stats summarised as Medians ("baselines_eg" baselines_eg_pic), and one with stats summarised as Means ("bloods_eg" bloods_eg_pic... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75583946",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Wrapping a one time command that returns sensitive json I'm having trouble coming up with a sensible solution to my issue. I'm attempting to automate the creation of a ROSA cluster using my companies standard automation tool. There is no provider for ROSA, so I'm essentially wrapping the actions using a mixture of c... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75583948",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Refactor multiple conditions I am creating a project using angular and node, In my project i have written one function where lot of if and else if statements with multiple conditions. i want to refactor this code with short and clean code. Currently code looks very complicated and lengthy. I have used the switch st... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75583949",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to trigger or run an airflow dag from a different python file. This is like developing a test case which will run the dag and verify its results I want to test the airflow dags using python in vs code.
The task is to run/trigger the dag from python test and verify its output and display the test results.
Does so... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75583954",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: Unable to select value for multi-select field I have read the documentation and examples on this and they are not working in my instance. The html looks like:
<div class="col-md-10 text-left">
<select class="list" id="numbers" multiple="multiple" name="numbers"><option value="1">111.222.333</option>
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75583955",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Is it possible to put a variable as input in .insert in python? .insert(n,m) i wanna have a variable for to take input from user
my tried code :
empty = ['int','char','bool']
s = print(input("Enter the item to be added"))
n = print(int(input("Enter the index : ")))
empty.insert(n,s)
print(empty)
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75583956",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: Expo unable to call remote API from react native app I have a react native app on a local machine which is to call an API from another local machine on the same networ with a fetch() method. But I keep getting this error
"Possible Unhandled Promise Rejected(id:0)"
TypeError: Network request failed.
async function co... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75583957",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to host Razor partial view in Angular instead IIS There is ancient topic How to use ASP.Net MVC View .csthml as Angular View instead of .html
I need something like this, but with Angular 15 and VS Code. And I want to develop Angular component with VS Code and ASP.NET MVC site (not Web API) must working as usuall... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75583958",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |