text string | meta dict |
|---|---|
Q: Adding JSON items to a Jaspersoft report by index I have a JSON array like this:
"platDist": [
{"name": "Wordpress", "total": 1360804},
{"name": "Bespoke", "total": 562864},
What I am trying to achieve is to have each name and total in separate text fields in a Jaspersoft report instead of displaying the whole thing... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75630533",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Does pandas support repeating column headers on a pivot table? Is there a way to make the column headers repeat on a pandas pivot table? The table is a multi-index and I would like their display tied to the primary index.
Currently showing:
Headers
Index 1 Index 2 Data
Index 2 Data
Index 2 Data
Index... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75630534",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Using Undo with CEdit and SetWindowText In my derived CEditEx class I use:
SetWindowText(strText);
Works fine and the control is updated.
But it does not support undo (CTRL + Z). If I manually type the change changes undo works.
Is there no way to trigger it to track undo?
Example function:
void CEditEx::Encode(con... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75630535",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Swift line break not working after loading from UserDefaults I'm loading a string from UserDefaults and set the text of a TextView to that string. When it includes a line break character, it will just display the line break character in the TextView and not an actual line break.
I save a short bio in UserDefaults an... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75630536",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Inserting a struct into an sqlite db using sqlx and rust I have a question regarding inserting a data structure into a db and I can't seem to find any documentation on.
I have a data structure
#[derive(FromRow, Getters, Default, Serialize, Deserialize, Debug)]
#[serde(crate = "rocket::serde")]
#[getset(get = "pub")]... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75630538",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: using lsqnonlin for parameter optimization but the plot it gives has wrong initial value I'm trying to use Nonlinear Data-Fitting and lsqnonlin in Matlab to find parameter (a) of my equation. The code doesn't have any error but the plot which Matlab is suggesting, starts at a different initial value than the points ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75630539",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Dynamically determine a range of cells I have created a data entry Userform, which asks the user to enter also the section where the data should be added. This is determined my either it is 001-2023 or 002-2023 or 003-2023 and so on as marked in the screenshot below.
How can I determine a Range using the input from... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75630542",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Can these pairs of regexes be simplified into one? I'm trying to fetch twitter usernames from strings. My current solution looks like this
def get_username(string):
p1 = re.compile(r'twitter\.com/([a-z0-9_\.\-]+)', re.IGNORECASE)
p2 = re.compile(r'twitter[\s\:@]+([a-z0-9_\.\-]+)', re.IGNORECASE)
match1 =... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75630544",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: match only first "not used" occurrence of a value between two tables Having two table with same structure:
CREATE TABLE Table1
(
Id INT,
Name VARCHAR(256),
Value DECIMAL(18,2),
LineId INT
);
CREATE TABLE Table2
(
Id INT,
Name VARCHAR(256),
Value DECIMAL(18,2),
LineId INT
); ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75630545",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Javascript - Need to click submit form twice to get html printed - OMDB api I am trying to make a site for practice that gets the movies from the OMDB api and displays the HTML on the page once the user searches for a term.
The problem is that the user needs to click the search button twice for the html to appear.
T... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75630548",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to add month grid on showDatePicker? I have this code:
DateTime? pickedDate = await showDatePicker(
context: context,
initialEntryMode: DatePickerEntryMode.calendarOnly,
initialDate: DateTime.now(),
firstDate: DateTime(1942),
//Date... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75630549",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: JS map method and callbacks I can't understand why this code works:
const numbers = [1, 4, 9];
const roots = numbers.map(Math.sqrt);
Although in my mind it should only work like this:
const numbers = [1, 4, 9];
const roots = numbers.map(number => Math.sqrt(number));
It turns out that the map method somehow underst... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75630550",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Get all data displayed in DOM javascript from object I have made a firebase database with products. The GET works, the data shows in console, the data displays first product with picture but the rest without. The first product dont have any buy button but the rest of the products have.
async function getProducts(){
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75630552",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: After removing a key from ec2 instance I can still access with that key I replaced the old public key in authorized_keys file on an ec2 instance with a new public key. I restarted the ssh service with sudo service sshd restart but I can still access the ec2 instance with the old key.
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75630553",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How do I configure webdrivermanger to selectively call Tor or Firefox on demand (Python)? sorry if this is a dumb question, but I'm trying to figure out how to use Selenium to control Tor browser (which i understand is modified Firefox), but I can't find any instructions on how to do it on a system that also has reg... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75630554",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Appsync signature authentication failing with signature missmatch I'm trying to do a request to appsync from a node server, using aws4 module.
My keys and iam policy in the user seem correct, but I'm getting this error
{"errors":[{"errorType":"BadRequestException","message":"The request signature we calculated does... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75630556",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to keep the Character Count Text View Blank when an Edit text is empty in Android Studio So I already figured out how to have the word count show during the user typing inside the EditText, but Now I want the character count to be blank when there is no characters in the text field.
Here's a pick of what I am ta... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75630557",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Facing issue while getting data from server API Parsing issue: not able to convert server data to swift.
Not getting data and parsing issue :
URL: https://api.themoviedb.org/3/trending/all/day?api_key=65157e77a8b926892c21c3d666dbb49e
enum NewtWorkError: Error {
case urlError
case cannotParseData
}
class Ap... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75630564",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Header value not used as object key
I'm working with node , puppeteer and cheerio, and I'd like to scrape the header and footer info of the table
I have the following :
const data = await page.content(); // get all page html
const $ = cheerio.load(data);
const head = $('#tblAcctBal > thead > tr');
const foot = $('... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75630565",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Python precision math calculation in interpreter and script without typing decimal module all the time I noticed that the math operation in python is not as precise as before, especially the one involves float numbers. I know it is due to the nature of binary number representation, and we can get through this proble... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75630567",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Is it possible to run the training of this network in google colab https://github.com/Guanyuansheng/TFGAN-PLC.git? I'm wondering if it's possible to run training of THIS neural network using only Google Colab
I tried to run the code and expected that there would be no third-party errors, like uninstalled libraries.
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75630569",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: How to avoid SSL error when using python requests in a virtual environment? So I have a python script that needs to access webpage content via 'requests'. Due to the environment this script is running in, I need to use a virtual environment. However, this results in the request failing, since it cannot find the cert... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75630570",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Keyboard Hides Bottom Sheet in Flutter App Flutter version - 3.3.10
I've tried all the various recommendations on this site, but nothing is working for me.
I have a bottom sheet that contains a TextField & I need it to be visible when the keyboard appears.
Everything I have tried has the same results, the bottom she... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75630571",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: What is the proper way to access values in nested dictionaries with Snakemake? I often want to process several entities in my analysis. I describe them the following way in my config.yml file:
entities:
fbr:
full_name: "FUBAR"
filepath: "data/junk_1.txt"
snf:
full_name: "SNAFU"
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75630572",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Anyone know how to create math facts game? Here are the screenshots
Image 1, Image 2, image 3
This is a simple game for practicing addition, subtraction, multiplication, and division. The starting page looks like this:
Note that no button clicked in this game should cause the page to reload. You should handle all b... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75630576",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: How can I plot a graph for the variables n and errorp? import math
x= float(input())
term = 1
sum = 1
n = 1
eps = 10**-7
while abs(term/sum) > eps:
term = -x/n * term
sum = sum + term
n = n + 1.
print (n)
print (sum)
error = 100 - (sum * 100 /math.exp(-x))
print(abs(error), "%")
The above code calculat... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75630577",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Why my code is giving TLE while a similar implementation passes (BFS)? I am solving this question. I am implementing BFS and my implementation is as follows:
class Solution:
def shortestPathBinaryMatrix(self, grid: List[List[int]]) -> int:
if grid[0][0] == 1:
return -1
M=len(grid)-1
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75630579",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Save auto incrementing id / counter in Mongoose Is there a way to set the id (or a counter) in the pre or post save middleware?
I'd like to have a running auto increment that stores the latest index of a document.
In my case whenever I save a new page (no update!), I need the id (or a counter) to start with 0 and in... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75630582",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Deploying a Python Flask Web Application to App Engine Flexible I have tried to Deploying a Python Flask Web Application using App Engine
It is aking to install sklearn module, but I have installed sklearn using pip install sklearn
then it is said Requirement already satisfied: sklearn in ./env/lib/python3.9/site-pa... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75630584",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Global Variable in Java I have initialize two variable one is Local and another is Global and I have put different values, For local variable a= 10; for Global variable a= 30; So I want to print both values, So how I can get this?
My code
public class Main {
static int a = 30;
public static void main(String[... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75630585",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: .NET Core 2.2 API Upgraded to .NET 6 Returning Only 404 Response We are upgrading our solution to .NET 6 and everything is going smoothly but with our API we are running into a bit of an issue. I have the API building and running, but our front end is getting a 404 response and I can't seem to figure out the issue.
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75630587",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: testing login endpoint returns error after test user is created I have this end point for logging a user in. It uses a custom model and when I run the application, it does work well but the unit test fails with error credentials wrong.
class LoginAV(APIView):
permission_classes = ()
def post(self, request):... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75630588",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Axios making double post request while loading page When I made this post request with postman it works fine but in this case my django server shows two requests are made and data is also logged twice. I am using jwt tokens if it is related somehow ...
const controller = new AbortController();
const [isLoading... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75630591",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to auto-increment a number once every month in mySQL? I have a number field where the user enters a number, for example 18. I want that number to be automatically incremented every month by +1. For Example: If the number is 18 now, then it should be automatically 19 after one month.
The number is collected throu... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75630592",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-3"
} |
Q: "Could not find method repository() for arguments" when using Gradle build I'm trying to implement the microsoft graph sdk from here for an app, but when trying to use gradle build (It is said by the readme to be the thing to use) I get that error
FAILURE: Build failed with an exception.
* Where:
Build file 'C:\User... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75630593",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Drupal Webform Module: Best practice if an options field has currenctly no options and markup should be showed instead I created a form using the Webform module for Drupal. It contains an option field with which you can register for one of the listed events. But sometimes it is the case that there is currently NO da... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75630601",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to set Date filter in soap-xml request while calling an API I am trying to call a findAPI where I want to filterout the resulkts based on the field statementDate. But for some reason the filter is being ignored and returning 0 rows. when I remove the filter and call the api it returns rows which has the value I ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75630602",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Getting the correct sex count from a View I have a view results like this:
Teacher_id
Sex
Missed_Day
45
m
19-01-2023
37
f
19-01-2023
45
m
01-02-2023
78
m
01-02-2023
I would like a SELECT count(Sex) to give me results as follows as the Teacher_id = 45 is a duplicate so it is one male not two:
Ma... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75630603",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Excel formula which returns the cell value for the intersection of rows with specific name and specific column? Is there a Microsoft Excel formula which returns a cell value for the last cell that is located in a specific column and in the same time intersects rows with a given name?
A: With Office 365, We can filt... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75630605",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: How to make geom_segment "start over" once a limit has been reached I have data on shift lengths. Right now, I am trying to visualize which shifts overlap. As an example, consider three shifts, a 12 hour shift beginning at 8am and ending at 8pm, an 8 hour shift, beginning at 8am and ending at 4pm, and a final 12 hou... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75630607",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: ng2-chart with Angular, question where the plugin goes in my code I'm trying to add space between my top legend and the chart. I've looked at the solution in https://stackoverflow.com/questions/42585861/chart-js-increase-spacing-between-legend-and-chart/42589310#:~:text=If%20anyone%20is,hacky%20solution%20/%20worka... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75630610",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Typescript type of arguments in switch statemet I have function that takes two arguments first is Event from enum second is argument based on Event
export enum AvailableEvents {
first = 'first',
second = 'second',
third = 'third',
}
type EventTypeMap = {
[AvailableEvents.first]: { a: boolean };
[Available... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75630611",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Inorder function looping infinitely I have been writing a function to inorder print a threaded binary search tree, and I have reached a roadblock as to why it works for the first few, but then it get to the fourth and fifth values, they begin to go back and forth infinitely. Is it an issue with the loops?
This is th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75630612",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Access and display a gitlab username on a private gitlab pages hosted website I built a static wiki website hosted by GitLab pages and requires that they log into their gitlab account before accessing the site. It uses Jekyll and some HTML templates to build the site pages from markdown files.
Some of the info on th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75630614",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Can I use external GraphQL IDEs with HotChocolate? I am learning GraphQL with .Net Core, Entity Framework Core and C#. So far, what I have learned is, if I use ISchema then it is very easy to integrate such IDEs. I have successfully integrated these IDEs, GraphiQL & GraphQL.Server.Ui.Playground.
Now when I started i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75630617",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to create a div that follows the mouse even on scroll I have this following code:
import React, { useState, useEffect } from "react";
const FollowMouse = () => {
const [position, setPosition] = useState({ x: 0, y: 0 });
useEffect(() => {
const handleMouseMove = (event) => {
setPosition({
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75630618",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How was the Java String object made? In this scenario:
String myString = "Hi! I'm a String!";
We could also do it like this:
String myString = new String("Hi! I am a String!");
When I look up the "String.java" class in eclipse, it goes to the definition of the constructor.
How can a constructor take non-constructo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75630620",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: I have problem in Python 3. I installed pipenv and It's not working I installed pipenv and I cannot run it because I'm stuck in some steps. Can somebody help me? I did this:
And I'm stuck in these steps:
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75630621",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Return struct from a function I wrote a strategy game that involves managing an army. I wrote a program that uses structures to store information about each army unit, such as its type, level, three hit points and three attack points,I wrote a function that takes the information and stores it in structure that I cal... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75630624",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Simple way to compare two objects with unknown stuctures Let's say I have object which describes expected result:
{
"property1" : "value1",
"property2" : "value2",
"property3" :{
"property4" : "value4"
}
}
I don't care about all the extra properties. For example,in this case, I get actual result lik... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75630626",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: Most efficient way to store history of boolean values in C++ array Trying to find percentage of 'true' values at 1 minute intervals for 24hrs, so needing to keep track of 1440 booleans. Using a single bool array would mean almost 1.5KB - as memory is extremely limited wondering what the smallest way to acheive this ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75630630",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: What does the bash option -i actually do when bash is invoked from Python? If I run following Python script on Linux Mint 21 Cinnamon edition with Python 3.11.2:
import os
T = "gnome-terminal"
os.system(f'{T} -- python -ic"import os; os.system(\'resize -s 5 32\')"')
os.system(f'{T} -- bash -ic "resize -s 5 32"')
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75630631",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Need helping adding ACF User link to code using ACF User field How do I get the users link here as well. I am using the ACF user field as an Array.
<?php
$user = get_field("medically_reviewed_by");
if( $user ): ?>
<h3>Medically Reviewed By: <?php echo $user['display_name']; ?></h3>
<?php endif; ?>
Thank you
I a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75630632",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: looking for files and make backup but keep running into error this seemed to be a good way to make a backup of my files without having to search of them manualy
I use the following command:
Get-ChildItem -Recurse -Include *.7z, *.rar, *.zip, *.db, *.sql, *.bmp, *.jpg, *.jpeg, *.odp, *.pps, *.ppt, *.pptx, *.ods, *.xl... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75630634",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Using function instead alias misunderstands argument in zsh The problem
I want to change an already existing alias into a function to specify an argument.
The original code:
# support Compose v2 as docker CLI plugin
(( ${+commands[docker-compose]} )) && dccmd='docker-compose' || dccmd='docker compose'
...
alias dcdn... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75630636",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Powershell script real-time monitoring via Windows Service I'm using a script to monitor a file. When a pattern is detected, it will send an email to notify someone.
I am creating a Windows Service via NSSM.
My question is: How can I improve the performance of my script? I have to monitor a large log file during the... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75630642",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Flutter test using Mockito - when API for register stub doesn't work I'm posting this question because this behavior seems very strange to me!
I ain't an expert on mockito, so this may be only my error.
@GenerateMocks([AuthProvider])
void main() {
test('If there is not a valid session, the data are clean', () asyn... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75630643",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Is it possible to... "retrieve" embeded python c++ handle? Here is the flow
*
*Create PYD using pybind11. A simple module called > myPydModule.
*Start a C++ commercial application that has a built-in python interpreter via boost (I think)
*Run this code in the C++ app python
import sys
sys.path.append("/path/To... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75630644",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Modify AlpineJs X-Data from Elixir Phoenix Liveview's JS Library In an elixir phoenix liveview, I have a modal that is opened like so:
<button
@click={"open_modal_#{@element.id} = !open_modal_#{@element.id}}"}></button>
and then
<div x-show={"open_modal_#{@element.id}"} x-cloak>
What I would want to do is to, afte... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75630647",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: any idea how i can fix this Failed to load /home/runner/discord-js-bot-main/src/commands/stats/xp.js Reason: Unexpected end of input enter image description here
(https://i.stack.imgur.com/Apu21.jpg)
(https://i.stack.imgur.com/BURnG.jpg)
I tried adding code but it wasnt letting me post so i added image
i tried to ad... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75630648",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: squid proxy server health check itself How can we do health check a squid server itself?
I couldn't find an endpoint such as /ping? to make sure squid server is running correctly.
or
What we can do is just check the process by ps command ? or systemctl status ?
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75630650",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to add dependency via arn in terraform? I have terraform code , to create few aws resources. for example . i create a s3 bucket and create another resource based on or which depends on this s3 resource. I know terraform will figure out that this new object resource is dependent on the first s3 bucket resource, a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75630651",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: how to make active element center in react js using css traslateX? or any other way? I need one help! i am not a master in css. so i did something for my case. but this does not help full. here i try to explain my problem.
any one can help?
Live Code Demo
import "./styles.css";
import React, { useRef, useState, useE... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75630652",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to transfer data from one component to another Vue I'm new in Vue and it's rather difficult to me. So, when I input something in one component there's an emit event, which messaging to main component that something
has been written in input. Then I use props to send this message from another child component. How... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75630653",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Function Cooldown I want to make it so someone can only run a function via a custom menu every 1 minute, when they run the function it will run a function and then make them wait 1 minute before letting them run it again. Here is my entire code:
function onOpen(){
var cooldown = 0;
DevDisableCD();
var menu = S... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75630654",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: how to dynamically position a "pop up" chart in react / tailwind Hi I am working on a project in my spare time which is a basic financial analysis app for personal use.
I am using react / tailwind and have the following code to generate my charts
{isShown && selectedRowIndex !== null && selectedRow && (
selectedRowI... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75630655",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Adding System.Web.WebPages dll to the reference (bin) gives error "Object is not set to an instance of an object" Adding System.Web.WebPages dll to the project reference for using System.Web.Helpers namesapce to validate Antiforgery token(AntiForgery.Validate())(bin) gives error "Object is not set to an instance of ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75630657",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Enabling a "Remember Me" or Non-Logout for Chrome Extensions I am building a chrome extension for the first time. One issue I keep coming across is every 24 hours it logs me out. I have to re-login and I have no idea if there is a "remember me" or a keep me logged in for more than 24 hours settings? I can't seem to ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75630659",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Yolo outputting exact same bounding boxes for each input I was trying to train a Yolo model on Pascal VOC and after around 120 epochs, when I tried testing it, I realized it was outputting the exact same bounding boxes for every single image and even just random noise.
Here is the model:
class ConvLayer(nn.Module):
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75630660",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Having more than 2B docs in an Elasticsearch index I have an elasticsearch cluster with one index. At some point I started getting the following error when inserting new documents:
number of documents in the index cannot exceed 2147483519
After searching online I saw that splitting the index into several primary s... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75630662",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Execution failed for task ':flutter_inapp_purchase:parseDebugLocalResources' Im pretty new at mobile app development. I have an application source control when I try to run it I get the following error. The project is developed in flutter and Im using visual studio code.
FAILURE: Build failed with an exception.
*
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75630663",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Typescript: How to wrap interface properties? Suppose I have the following definitions:
interface ISomeInterface {
propertyA: string,
propertyB: number,
propertyC: boolean,
propertyD: ISomeOtherInterface // bonus points for this one!
}
class MyGeneric<T> {}
class MyGenericContainer<T> {}
now I want to "wra... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75630665",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Passing column name to python function I have created a function that does something like this that accepts a pandas dataframe and a column name.
def summaryTable(df, cutoff, column):
if cutoff == 1:
df[column] = df.column.astype(str)
When I do this I get an AttributeError, DataFrame object has no attri... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75630666",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How can I stop Nuxt fetching AJAX data when building for SSR? I have a Nuxt 2 project with the following config:
target: 'static',
ssr: true,
fetchOnServer: false,
In some of my components I have a fetch() hook which fetches API data. I want this data to be fetched only and ever on the client, not by the server whe... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75630670",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Assign Python Version to Auto Py to EXE I have 2 versions of Python on my computer, 3.6.8 & 3.11.1. For reasons beyond the scope of this question I need to use the different versions to create the Windows exe programs from the Python source.
When I use Auto Py to Exe to make a Windows executable file, it always use... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75630676",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: TypeError: Updater.__init__() got an unexpected keyword argument 'token' I'm trying to start a telegram bot, but it gives the following error:
bars@MacBook-Pro-Lisa desktop % python3 telegram_bot.py
Traceback (most recent call last):
File "/Users/bars/Desktop/telegram_bot.py", line 30, in <module>
updater = Up... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75630679",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Getting issue unable to find valid certification path to requested target when using root certificate containing immediate certificate I have java program which contains the RestAPI calls. I got root certificate from server side which contains one immediate certificate. I need to import this root certificate at clie... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75630682",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Gh-pages not updating after deployment Hi got an email yesterday when I ran npm run deploy that it ran into an error. The site is still up and working but none of the changes I commited are implemented. How do I go about syncing the ghpages and recent commits?
Tried rerunning npm run deploy on other laptop
Tried cle... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75630683",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: regex to use negative look far behind along with positive look behind? I need it to select only value which has :this in line but not include which are under comment section (/* */)
I have tried this one which works and give 3 results but it is incorrect as it select the last one which is in comment
const str = `... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75630685",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to clear Map entry after certain time of inactivity I'm working on a chatbot powered by OpenAI. I'm using the new gpt-3.5-turbo model with ChatCompletion requests. I've already come up with a way for the bot to remember conversations for each individual user using a HashMap and it all works. The bot is able to r... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75630689",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Understanding Data Binding in RecyclerView I have a question the case I have
I have a list of products linked in the recycleview
Using DataBinding
assigned in layout like this app:items="@{vm.items}"
This Items object has the parameters notifyPropertyChanged(BR.amount)
And almost everything works fine, if I add more... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75630693",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: I'm having trouble with this function call or expression error When I tried to run the program, I received an error saying this 'Line 5:5: Expected an assignment or function call and instead saw an expression no-unused-expressions' on 'width: 80%'. Can someone help me fix this?
import {Box, Table, TableBody, Table... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75630694",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: When creating a windows form app I get the following error could not find dll under refint I have tried changing the framework but that doesn't solve my problem.
Seems to randomly occur.
Error Code below:
Severity Code Description Project File Line Suppression State
Error FileNotFoundException: Cou... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75630696",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: undefined is not an object (evaluating 'aws_amplify__WEBPACK_IMPORTED_MODULE_6__["default"].configure')
undefined is not an object (evaluating
'aws_amplify__WEBPACK_IMPORTED_MODULE_6__["default"].configure')
Getting this error while build a auth private page in my note web app
using this project to learn more abou... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75630697",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: PyCharm to use system's Python (cannot make use of "Turtle") although there are several questions, that cover the same problem, none of these questions/answers solved my problem. I'm using PyCharm 2022.3.2 Community to learn Python. I'm trying to get Turtle to run:
from turtle import Turtle, Screen
timmy = Turtle()... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75630699",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: VS Code doesn't launch debugger the first time after opening I created my first TypeScript project in VS Code following the tutorials on the VSCode website. I can transpile my .ts file in a .js file just fine, get autocomplete etc., but if I started the debugger (F5, Node.js installed and selected as a debugger) rig... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75630702",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Stratified random sampling on multiple variables in R I'm using tidymodels in R and need to perform stratified sampling on two variables for splitting into training and testing data. Reproducible code below uses a single column 'cyl'. How can I sample using both 'cyl' and 'gear'?
library(tidymodels)
library(tidyver... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75630703",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to auto import 'svelte/transition' with 'sveltekit-autoimport'? I'm trying to use sveltekit-autoimport to auto import svelte/transition module.
Inside vite.config.js
import { defineConfig } from 'vite'
import { svelte } from '@sveltejs/vite-plugin-svelte'
import autoImport from 'sveltekit-autoimport'
export def... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75630705",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to make Apps Script embedded IDE suggest a list of keys of an object with its intellisense? I'm a newbie in this technology and in the programming itself, I would really like some help on this issue. I can't make the IDE embedded in the google spreadsheet suggest me a list of the keys of an object as I put a dot... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75630706",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Verifying AWS S3 vs Minio Checksum Why AWS S3 when uploading multipart with checksum, the CompleteMultipart returns something with -2 suffix (or probably because I only upload with 2 parts?)
something like Rrdr4Q==-2
while in minio it only Rrdr4Q==
and I'm sure that later is the valid one.
other checksum of uploadin... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75630708",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How do you extend VS Code's built-in text editor? I'd like to create a VS Code extension which extends VS Code's built-in text editor.
Basically, I want to be able to add something similar to badges like you'd see in Markdown right in the built-in text editor. That is, interactive buttons inline with the rest of the... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75630710",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Perform Code Coverage Analysis on Katalon Studio using ReSharper Cover Application I would like to perform Code Coverage Analysis on Katalon Studio using ReSharper Cover Application in Visual Studio.
In the coverage configuration, I have added the path (Katalon exe), Arguments (Project .prj path) and ran the tests i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75630712",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Use or operator in jq I'm using jq to parse JSON. The JSON has an array called "players[]" which contains a key "name" with the following sample values:
ZZZ-104TH-082-ADV-004
ZZZ-149TH-435-ADV-WL-006
GDS-123-CIC-007_temp-blocked
LRMR-121-CIC-002_temp-removed
NOS-343-CIC-003_Failed
E180TH-426-CIC-008
LBRTY-185-CIC-00... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75630714",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: SQL what the difference between UPDATE my_table SET status = 'inactive'; and UPDATE my_table SET status = 'inactive' WHERE TRUE; know the difference between using WHERE TRUE and not in UPDATE commmand
I would like to know the difference
A: If your rdbms supports it (oracle, notably, does not) there's effectively no... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75630716",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: How can I make a smooth transition between animations in Unity's animator? I have a humanoid character in Unity's animator, and I have several animations for the character to transition from idle to walking in different directions (45, 90, 135 and 180 degrees). However, I do not have the required transition animatio... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75630717",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Communication between pods allocated in different nodes failling I have the following infrastructure created in Openstack:
all my VM's are Ubuntu 22.04
My PRIVATE-0 Network is 10.0.0.0/24 and the ips for each of my Workers are:
*
*Worker-1 - 10.0.0.139
*Worker-2 - 10.0.0.97
*Worker-3 - 10.0.0.91
For the most p... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75630718",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Adding Buttons referenced to a database table column in oracle apex I am building a Application for a Resturent using Oracle APEX. I need to build a Interface like the image shown below
the interface is something like this
I need to link those buttons to the items table in my database, when user click on the button ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75630719",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: How do I use Vue Slots with Tabulator I'm using Tabulator with Vue and trying to figure out how to use Vue Slots to render content for particular columns or empty data.
Is this possible?
I did something similar with vue-good-table but as that's no longer supported in Vue 3 I'm trying to find similar functionality.
T... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75630720",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: IICS no viable alternative at input '\n/* partner: Informatica -v 2.0 * SELECT
concat('-', column_1) as column_1,
column_2 as column_2,
concat('-', column_3) as column_3,
'hard_code_string' as column_4,
column_5 as column_5,
column_6 as column_6,
column_7,
column_8 as column_8,
c... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75630721",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Github desktop application - Nothing added to commit but untrack files present This question has been asked a lot, but I am specifically looking for a way to solve this with the Github Desktop application. I don't know how to use it, in fact this is my very first time publishing anything to Github, and my friend rec... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75630724",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |