text string | meta dict |
|---|---|
Q: Create a regular expression that parses the cli command output There is a payload from a cli command that displays message along with json string like this
Provided bot name already exists in Resource Group. Returning bot information:
{
"name": "TestBot",
"id": "2306d087-3d65-489b-8cd8-4d1524305110",
...... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75609058",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: forkJoin nor combineLatest from rxjs doesn't call api services I'm trying to pass api calls inside the forkJoin or combineLatest then pipe them and finally map the results one by one to asign them values to the class level variables.
All the api calls return an observable
operator: any;
field: any;
value: any;
cano... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75609059",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: JavaScript augment an imported namespace I would like to augment an existing namespace by mixing in my own functions. Something like:
// namespaceWithMixins.js
import * as N from "namespace"
const fun1 = (x, y) => x + y
const fun2 = (x, y) => x * y
export {...N, fun1, fun2}
So that elsewhere I can do:
import * as... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75609061",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to print a pdf file in C# WinForms using iTextSharp "Hello, I'm trying to create and print a PDF automatically using iTextSharp. I'm able to create the file successfully, but I'm having trouble printing it using a printDialog or any other method within the application."
Document document = new Docume... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75609063",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Warning: include(head.php): Failed to open stream: No such file or directory in C:\OpenServer\domains\chat\index.php on line 5
<?
$path=$_SERVER['DOCUMENT_ROOT'];
?>
<!DOCTYPE html>
<html lang="en">
<?include "$path/private/head.php"; ?>
<body>
<div class="cont">
<?include "$path/private/header.php"?>
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75609064",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-3"
} |
Q: Why is there a significant fluctuation in audio amplitude at the beginning of recording? I am using PyAudio to record my speaker output, write it to a WAV file, and then plot the sound wave from that file. Here's my code:
import pyaudio
import wave
import numpy as np
import matplotlib.pyplot as plt
FORMAT = pyaudio... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75609065",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Equal height of
* entries in display:grid table arrangement I have the following HTML and CSS:
h3 {
font-family: Tahoma;
}
p {
width: 300px;
box-shadow: 2px 2px 5px #888888;
border-radius: 12px;
background-color: rgba(255, 255, 0, 1);
}
ul {
list-style-type: none;
}
#main_table {
display: grid;
g... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75609066",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How do I align multiple columns in a LazyVStack? I am trying to make a grid which has multiple columns using a lazyvstack. I want the items to align perfectly, regardless of its length.
This is what I want:
However, with my code down below, I am getting this:
.
let events = [["1234567890", "08:00-16:45", "work"],
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75609069",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Timestamp project - Unexpected Output After Using Regular Expressions I'm completing the FreeCodeCamp TimeStamp API project and had previously validated the time entered using Moment.js, but switched to using Regex because I believe the use of Moment is causing the app to fail the criteria to pass even though it wor... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75609075",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to obtain the mean of the count across different group levels I think what I am trying to do is simple but I cannot quite crack it. I have a column "Random_ID" with a participant code. In total I have 16 different participants and they are distributed across four schools, which are represented by a School_ID num... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75609083",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Bootstrap container is going over the page view As I am not a fan of CSS decided to use Bootstrap to my little project. However, one of the container is going over page view and I cannot understand why.
<!-- STYLE -->
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha1/dist/css/bootstrap.min.css" rel="... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75609084",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Has MS Edge started blocking onClick return confirm javascript code? I have a an html form with code similar to:
<form>
<button type="submit" name="somevariablename" value="somevariablevalue" onClick="return(confirm('Are you SURE you want to do this thing?'));">click</button>
</form>
When the customer uses MS ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75609088",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: SQL Query to find value from set otherwise return a default I have the following data.
JobNum
AssemblyNum
OpCode
1
0
MF
1
0
Weld
1
1
Eng
1
1
PU
2
0
MF
2
0
Weld
2
0
Paint
2
0
PU-A
2
1
PU-B
3
0
Pack
3
0
Weld
3
0
MF
3
0
PU-C
The query output should be 1 row per JobNum/AssemblyNum wit... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75609090",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Docker download failure management I tried to pull a big docker image, but it failed cause of disk space. However, some download and extracting had already been proceed (like few gigabytes), so I was wondering where those data goes.
Any Ideas?
Futhermore, is it possible to restart the pull where it failed or I have ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75609091",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to fix "Cannot access 'exampleClass' before initialization error" javascript when importing + exporting classes Note that the following has been reduced to simplify the isssue:
I have 1 html file and 2 js files:
index.html
<head>
<script type="module" src ="./variables.js"></script>
<script type="module"... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75609094",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Why GlobalScope.async seems to be more performant than coroutineScope.async I am currently developing small application to learn Kotlin (using some Spring Boot features to speed up the work). Unfortunately, I cannot wrap my head around asynchronously ran coroutines returning some results, most likely due to bad unde... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75609096",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: I need an MDX query that operates like a Group by Statement I need an MDX query that is able to aggregate a Fiscal Year while only pulling parts of a year. Let's say the client wants to see sales for a fiscal year but the given date range is 20210601 - 20230303.
As of now if I try to ask for sales crossed with Year ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75609100",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Property [address] does not exist on the Eloquent builder instance I am working on a project where a number of buildings with certain information are uploaded and retrieved according to needs.
DB table
Property:
colums: id, image, building_type_id(foreign key to building_type table) etc
I want to run a query where t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75609102",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Using .Net Maui CommunityToolkit MediaElement to Play Short Sound Fx I'm trying to play "different sound effects", basically, using a hidden MediaElement. My current approach assumes I've already declared a named MediaElement in the xaml markup for a page (call it "FxPlayer") with PlaybackControls set to hidden, som... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75609105",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: flatMap requires result type type ApiItem = Record<string, unknown>;
type CSVItem = Record<string, unknown>;
type Model = { converter: (item: ApiItem) => CSVItem | CSVItem[] };
function convertItems(model: Model, { main }: { main: ApiItem[] }): CSVItem[] {
const { converter } = model;
return main.flatMap((... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75609106",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Conditional Joins in Microsoft Access Is there any way in Microsoft Access to change how two queries are join based on a certain condition? I've done this in other environments successfully using a Case statement but I don't think this is possible in Access.
The code below is how I have done this in the past. Is t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75609111",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Using oblique coordinates in SVG This Code Golf SE question gives coordinates in a 60 degree oblique coordinate system. While it's perfectly possible to convert those coordinates to orthonormal, I'm curious if there's a way to globally force e.g. <path> elements to calculate in oblique coords.
For example, here's my... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75609115",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Bash script not working with double quotation When I run the script below it works fine but I have to enter the PublicDNS in the script. This script has single quotes.
sh '''
ssh -o StrictHostKeyChecking=no \
-i my-key.pem \
ec2-user@ec2-xxx-xxx.amazonaws.com \
"sudo yum update ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75609120",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to destroy a context properly in react? I'm creating a React context
This context will provide a service, and this service will subscribe to some external events to stay updated. To prevent any leaks, I must therefore clean up this service by unsubscribing when the context will be destroyed.
Unlike useEffect to ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75609122",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Images are not output to angular via ng For here
I want to output a sequence of images but nothing comes out why ?
<ul>
<li *ngFor ="let read of books">
<a >
<img src='{{read}}' alt="">
</a>
</li>
</ul>
export class HomeComponent implements OnInit {
books:String[] = [];
constructor(private boo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75609129",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Why playsound module does not play sound when I set "block" attribute to False? I was trying to make a program to read mp3 files with tkinter.filedialog and playsound module. To prevent my program's interface to be locked when it is reading an audio file, I set "block" attribute to False. But when I run the program,... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75609130",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: compare data frames and get true false matrix I have 2 data frames, I want to compare/match values and get true/false matrix.
df1 <- data.frame(
V1 = c("a", "d", "e"),
V2 = c("b", "d", "e")
)
df2 <- data.frame(
V1 = c("a", "a", "e"),
V2 = c("z", "x", "e")
)
output <- data.frame(
V1 = c("T", "F", "T"),
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75609131",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How do I use dependency injection in a custom Laravel package? Question
When creating a custom Laravel package, should I have access to other classes via constructor dependency injection?
Background
I am creating a Laravel package.
I have created a local repo with my code in which is linked to in my Laravel composer... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75609137",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: sympy : compute simple expected value takes a lot of time I am trying to compute an expected value from a simple model based on random variables.
I use Normal distribution only because I don't know another way to define a random variable (without specifying the underlying distribution). Basically the '_m' symbols re... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75609138",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: get pictures of some place without google api i want to get a photo/s of some place based on the coordinates of this place(lat,lon) or place name, my google api key expired and i want to use some other free api in order to do that, is there is some api that can help me with that?
i want to make some api call, for ex... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75609139",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: How to add placeholder text to Edit in a Python FMX GUI App? I have made a Form with an Edit component using the DelphiFMX GUI Library for Python and I'm trying to add a placeholder text to the Edit component, but I'm not sure how. I've tried doing self.myEdit.Placeholder = "Enter your name...", but this just gives ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75609144",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Return the X and Y values from the on_mouse function I am trying to find a value using the location of the mouse cursors click, using pixel coordinates. The problem is that I have a function,
def on_mouse(event, x, y).
There are other things here inside the function, but the crux of the problem is that I don’t have ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75609147",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Unit test interval in jasmine-marble got error I have some error in my unit test
describe('GeneratingHeaderComponent', () => {
let component: GeneratingHeaderComponent;
let fixture: ComponentFixture<GeneratingHeaderComponent>;
let resultApiService: ResultsApiService;
let _window: Window;
let testScheduler:... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75609149",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How do I get the Elementor WordPress plugin to render page content added using the WordPress REST API? I'm attempting to update Rlementor pages using the built in WordPress REST API endpoints. Page content is changed in the database but anything I add is not rendered in the elementor page. How do I get Elementor to ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75609150",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Failed to open TCP connection when upgrading Rubygems I'm on MacOS Ventura 13.0 and I'm trying to upgrade Rubygems.
$ gem update --system
ERROR: While executing gem ... (Gem::RemoteFetcher::FetchError)
Errno::ECONNREFUSED: Failed to open TCP connection to localhost:8808 (Connection refused - connect(2) for "loc... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75609151",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Borrowed data escapes outside of joined task I have two fallible async functions I want to execute in parallel. The problem is that both functions take a reference, and the parameters to my wrapper function are also references. This gives me an error when I try to use task::spawn because the reference escapes the fu... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75609153",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Get rid of Java exceptions when I am sure the exception will not happen Please see the code below. IDE forces me to deal with the NoSuchAlgorithmException. However for my case, I am explicitly using the 'NativePRNGNonBlocking' algorithm for creating randomness, therefore guarantee the exception will not occur. Is th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75609154",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to request permission for MANAGE_EXTERNAL_STORAGE in Android 12? Before you say "Google will deny this app access to the Play Store for invoking this permission" or "This permission is dangerous" please note that this is an app for personal use and will never see the Play Store.
I am designing an app that requir... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75609155",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Curl to C# .Net WebApi POST call I need to change the following curl api call to C# / .NET
curl -X POST http://jasserver:8010/jderest/file/upload --form file="@C:\temp\test.pdf;type=application/pdf" --form moAdd="@C:\temp\upload.json;type=application/json"
I've tried using Postman, when I execute the API it works, b... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75609156",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: OpenAI speech-to-text (whisper-1) API error: "AttributeError: module 'openai' has no attribute 'Audio'" ChatGPT API is announced with Speech-to-text Whisper api and i was so excited to give it a try. Here's the link
I have tried their sample code
# Note: you need to be using OpenAI Python v0.27.0 for the code below ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75609157",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Provide consistent schema for varying JSON data in pyspark glue job I'm looking for an approach or example to handle deeply nested JSON data that will vary between glue job runs, allowing me to output consistent parquet schema's.
The current approach is as follows:
*
*Kinesis Firehose outputs JSON data into a land... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75609159",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: EventBridge Input Transformer output nested attribute I'm attempting to configure AWS EventBridge to publish part of the event body to a Cloudwatch Logs Group. I believe what I'm trying to do matches the functionality of the option "Part of the Matched Event", but this option is invalid for the Cloudwatch Log Group ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75609162",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Why can't I put string into stringstream object? I need to make a C++ program to enlist every word in sentence without repetition.
I tried putting every word int stringstream object, but it doesn't put it at all??
Here's the code:
#include <iostream>
#include <sstream>
#include <string>
using namespace std;
bool i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75609165",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How do I debug a function enqueued with rq? I am currently attempting to debug a function that's enqueued inside a rq queue in VS Code.
However rq forks the process to produce its workers, which I think is why it is impossible to intercept the breakpoint.
I use the debugpy as a debugging library and I am able to bre... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75609166",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: bot that pings new instagram posts It’s for my discord group.
The discord bot when it's active isn't popping up with the / commands that it has, the purpose is to make a discord bot that I can use a / command to set a public instagram page to have posts automatically sent to a discord channel but with the ability to... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75609168",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-3"
} |
Q: No mapping for POST /imports Please help if you have any idea why its not working. I have been trying to test it with Postman for hours but no luck.
ImportController:
package demo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.HttpStatus;
import org.springframework.h... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75609169",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: java.lang.IllegalStateException: getTransportChannel() called when needsExecutor() is true when trying to implement tracing in dataproc I am trying to register a stackdriver trace using opencencus and it throws this error.
User class threw exception: java.lang.IllegalStateException: getTransportChannel() called when... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75609177",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Is there a way to display the names of all nodes in a Highchart sankey diagram in R? I'm currently using the R package highcharter to create a simple Sankey diagram from a data set describing funding for multiple projects. The Sankey is quite simple: it has nodes for Funders, nodes for Projects, and flows weighted ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75609180",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Is there a Python module for finding a drive's capacity? I'm in the process of making a tool to generate flyers for my job in Python for use on Windows machines. The code for detecting the drive space is as follows:
import shutil
def get_storage_space():
total_storage_bytes = (shutil.disk_usage("/").total)
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75609183",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: how to limit search for cities to certain country in Javascript weather app using Openweathermap api I built a very bare-bones weather app for an assignment in a class I am taking using the OpenWeatherMap API but I find my solution to be very awkward and it doesn't meet all the criteria set by my professor.
My profe... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75609185",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: AWS Lambda with API Gateway Proxy using PHP code deployed using docker el2 runtime returns base64 instead of binary image So we have a legacy code which returns a gif image, running on-prem. Recently decided to, migrate the same aws lambda using al2 docker image. I've used the aws sample code on github and modified... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75609187",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: add to a string variable without deleting last assignment strings = None
def test(a)
strings = str(strings) + f"{a} \n"
when this function is called multiple times
test("hello")
test("world")
how do I allow strings to be equal to
"hello" \n
"world"
At the moment it just picks up the last time a was passe... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75609188",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: Android reports lifecycle is STARTED when checking in onResume In my main activity:
override fun onResume() {
super.onResume()
Log.d("onResume, lifecycle: ${lifecycle.currentState}")
}
I expect:
onResume, lifecycle: RESUMED
To my shock and dismay, Android reports:
onResume, lifecycle: STARTED
In what world ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75609190",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Create directory and write file from admin account but without applying admin security to directory and file I'd like to be able to use something like Directory.CreateDirectory() and File.WriteAllText() to create/write a file in such a way that even if the file is created/written initially by an administrator, it wi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75609191",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Electron Builder Persistent DB I have an app with a built in DB. When electron-builder does an update with the .exe it destroys the db.
What is my best option for keeping this data? Custom Pages? Some Sort Of Macro?
I was kind of hoping for a custom page that would allow the user to decide if they wanted to keep the... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75609193",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Index through a generator function Would it be possible to index through a generator function?
For example, say I have a function like this:
def foo():
x = 9
yield x
yield x+1
I understand that when calling the next() method on the generator function foo(), the output would be 9 and then 10. Would it be... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75609200",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How is my binary able to write to the stdout without a system call recorded by dtruss? I am entirely new to dtruss, but familiar with strace.
Consider the following Hello World program:
#include <stdio.h>
int main(){
printf("hello world\n");
}
When I compile and run this on Linux with strace, I get several lines... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75609203",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Stop Celery worker with subprocess.Popen I can start a celery worker using subprocess.Popen but I can't stop this worker in the same way.
To start the process, I'm using:
command = f'{self.environment_path}/celery multi start w1 -c 3 -A app.worker -Q my-custom-queue --pidfile="{self.logs_path}/%n.pid" --logfile="{se... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75609207",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Blink.jl and Vue/Vite setup I set up a barebones Vue/Vite project and pointed Blink.jl at the local Vite dev server like this:
using Blink
w = Window(async=false)
loadurl(w, "http://localhost:9100/")
opentools(w)
while true
sleep(1)
end
But the window doesn't load the main.ts file.
<!DOCTYPE html>
<html lang... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75609208",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Display image based on gender in html or angularJS I am new to angularJS and JPA. I am getting student object from my API and when I display those students, I want to assign the image based on their gender. I do not have image field in my student object.
I am trying to add avatars from bootdey and the following link... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75609209",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: You may have an infinite update loop in a component render function, caused by side effect in method I've solved my issue, but I don't understand it (or maybe I do).
I created an error handler plugin, basic example:
main.js
const bugStore = {
state: [],
addToState(bug) {
this.state.push(bug);
}
};
const E... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75609211",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Is it Possible to Connect Two Tables from Different Servers on MS SQL Server? I would like to know if is possible to connect two tables from different Servers on MS SQL Server. If so, how do I do this? If it is not possible on MS SQL Server, is there any RDBMS able to do it?
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75609213",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: 404 error on a github page but being solved when adding "page1.html" to the link
Hey guys, I've got a tiring problem which consist of not showing my website via github page link properly BUT if I add page1.html at the end of that link, everything works. Who knows how to make it showing my website without adding .ht... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75609214",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: How to click a visible button when there are hidden buttons with the same text using Robot Framework Browser library? Scenario: there are 4 buttons on the page with the same text (value). However, only one is visible, others are hidden.
A test like this:
Should display validations
Click "Save"
fails with the f... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75609215",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Needing to Check for Length Before isdigit() - C++ I'm solving LeetCode 150. Evaluate Reverse Polish Notation and after a long time of not knowing why my solution wasn't working I checked the answer only to find I was missing a single check for length before using isdigit().
My original code is as follows
int evalRP... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75609217",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How can I create a 2 row zebra table in bootstrap? I've read the bootstrap table documentation and can't find anything there on this specific issue. Is there a way to create a 2 row zebra table, including 2 rows for the header? Like the following:
And if not, then I assume I have to just set the background & font c... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75609220",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Styling the Angular Material 15 Slider? For the Angular Material Slider how do we style the track foreground, background, and width of the track and also the thumb fill color and thumb border color and width?
There is an answer here regarding styling the Angular Material Slider, however Angular Material has updated ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75609221",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How can i show user online Status in laravel and socket.io and node js I want to show user online Status in Laravel and socket.io and node js. I am creating chat app and following a YouTube video. in the below code in cmd I'm getting [Database Connected] but is_online column in users table is not updating when user... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75609225",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Copied data not showing I wrote an app script to copy data from Sheet1 to sheet2. Both sheets are on the same google workbook. Data on sheet1 was obtained from a sheet3 using the IMPORTRANGE function on google sheet. Sheet3 is on a different workbook. The script executed successfully but the data isnt showing on she... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75609226",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Why a C++ program in VS 2022 runs 6 times slower than the same program in VS 6.0? I have a working C++ program in Visual Studio 6.0 and decided to move it to VS 2022.
I have installed a VS 2022 (community plan) and compiled the program in the VS2022. To my big surprise, the program ran 6 times slower than in VS 6.0... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75609228",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-4"
} |
Q: Polars vs Pandas writing to SQL Server (SQL Alchemy) I am stuck on an issue at the moment and hoping someone may be able to enlighten me.
My department had a few pandas scripts to take data from a CSV, do minor transformations and then write it to our SQL Server database using SQL Alchemy ORM (dataframe.to_sql). The... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75609230",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to detect If this class object is duplicated or not OK so I have 2 classes that are related to each other without the use of inheritance
class1:
public class Userformat {
private String name;
private int id;
public Userformat(String name, int id){
this.name = name;
this.id = id;
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75609232",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to use the generic json updater of release please github action Release please looks like a nice github action for lots of projects. I have some projects that are not one of the official supported ones, but my requirements are very simple. Bump a version in a json file and execute a publish command.
They seem to... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75609233",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Semantic Version comparison and labelling without packages I have a dataframe that looks like this:
api_spec_id label info_version commitDate
803 2.3.0 2019-09-12
803 2.4.1 2019-10-04
803 2.4.2 2019-10-07
803 2.5.3 ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75609234",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to bind dynamic column names as Field? Using jOOQ 3.16 and SQLDialect.MYSQL, I would like to set up parameter binding for a list of dynamic column names. I am using jOOQ as a query builder only.
So far the closest I got is select(field(name(column_name))) which would escape the column name with back-ticks (becau... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75609235",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Pulp optimization model not giving reasonable result? I am trying to get an optimization model to decide on an optimal commitment rate. The general problem structure, in its simplest form, is as follows:
A known number of instances of known types is running for each hour over 10 hours. The number of each type runnin... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75609236",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: What is the regex for matching a C# string? I'm looking for a regex to match a C# string delimited by double quotes ".." that has the following rules (conforming to C# syntax)
*
*double quote, backslash and single quote are escaped as \", \\. \'
*newline, carriage return, tab, backspace and form feed may appear a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75609238",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-5"
} |
Q: Maui ContentPage Handler is null when page first loads I have a base class that I use for all of my pages that is derived from the ContentPage class. In there I have several services that will be needed on many of the different pages, which is why I decided to put them into a base class. But the issue that I am faci... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75609242",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Same date and time get converted inte different amount of days. Why? (R) I have two columns that have the exact same dates on each row from the start. When I convert them into days, one of the columns get different amount of days. To be exact, 1 day off from one another.
I tried the following:
uni[1, c("c_start_date... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75609245",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: React test for checking firebase auth/user-not-found is failing The following test that tests part of my Login.js file for form validation when entering an email address that is not in not found in firebase is failing. I am faily certain there is nothing wrong with the code being tested, so I think there might a pro... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75609248",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to differentiate between two brands with the same everything? The company I work for has two different brands that they want to route to the same customer dashboard but also want to disable certain customer tracking for one of the brands.
The problem is they share the same everything, including:
*
*URL
*Insta... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75609249",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-3"
} |
Q: Shiny error caused by slow updates to the client side from the server side? The Problem
*
*Run the shiny app
*Set type to "colors" and set data entry method to "acronyms"
*Select data to enter, click "add objects"
*Change the type to "shapes"
*Click either proceed or cancel (app crashes either way)
Expected R... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75609252",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Vue Js Components : How To Decouple Data Sharing Between Multiple Component Instances I Have a Side Project Which Require Me To Repeat Multiple Component Multiple Time In The Same Page
the functionality is used to get those multiples is, looping and importing like this to handle repeation
<component :is="componentNa... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75609254",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: SQL Server : performance issue with ROW_NUMBER OVER I have a performance issue that I'm trying to sort out and I'm looking for advice. I have a view (see below) that needs to work across hundreds of thousands of rows, and I'm trying to make it faster. I've cleaned things up to take out the context and add data types... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75609258",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: COGO toolbar not showing up in Arcmap 10.8.1 I'm trying to find the Traverse tool in Arcmap 10.8.1, but whenever I try to activate the COGO toolbar through Customize -> Toolbars -> COGO, nothing shows up.
I've restarted the program and every other toolbar shows up besides that one for some reason. I've also tried mi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75609259",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to group duplicate records and set new columns/ values based on conditions I would like to group duplicate records by the column [FIELD] and add new columns based on the given conditions.
Sample table:
CREATE TABLE [dbo].[TEST](
[TYPE] [nvarchar](255) NULL,
[SECTION] [nvarchar](255) NULL,
[FIELD] [nv... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75609260",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How many projects in the world have used, or are using Spring Webflux? Does Oracle maintain usage statistics of the various java frameworks?
I want to know usage stats of Spring Webflux.
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75609264",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-5"
} |
Q: How to best secure an API key in an iframe widget I am developing a Javascript widget which will be embedded on client sites using an Iframe.
The widget code makes an API call to my backend service using an API key. The API key for each different client will change.
At the moment, the API key is visible in the ifra... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75609265",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to set min/max dimensions of a Form in a Python FMX GUI App? I've made a Form using the DelphiFMX GUI Library for Python and it's working perfectly fine, but I want to set a minimum and maximum size for the Form to make sure the window can't resize below or above that amount.
I have code that is working. I've wr... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75609266",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Prevent VS Code from overwriting Copilot's suggestions If I type a comment in VS Code (with the Copilot extension installed) and then press control-return (Ctrl-Enter on other platforms) Copilot correctly opens a new tab with multiple suggestions.
But if I want to keep that around and open a new set of suggestions f... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75609269",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: How can I compute a spatial distance matrix based on control variables? (R) I'm interested in computing a distance matrix with a custom distance function. This function should take into account spatial data and two control variables. This distance can be Euclidean. The details are following:
I have a data of sellers... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75609273",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Trying to create a wordpress plugin that generates a blog based on a form using OpenAI API As the title says, I am trying to write a WordPress plugin that extracts info from a Contact 7 Form, sends it to the OpenAI API, and returns the generated text in a text box for the user to read. I have never created a WordPre... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75609274",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: visual studio code problem with running c++ I'm starting programming in c++ and I wanted to setup my VSC to be able to run and debug code in c++. I was following many tutorials how to do it and it still doesn't work. I'm getting this
error: non-aggregate type 'const vector<pair<int, std::string> >' (aka 'const vecto... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75609275",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: How to convert complex JSON object to pandas dataframe for machine learning I have some json like this:
{"0": {"name": "Vanilla Cream Ale", "url": "/homebrew/recipe/view/1633/vanilla-cream-ale", "method": "All Grain", "style": "Cream Ale", "batch": 21.8, "og": 1.055, "fg": 1.013, "abv": 5.48, "ibu": 19.44, "color": ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75609276",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Maui group a List and show it in a ListView I have a list with this structure:
public class Words
{
public string Word { get; set; }
public int Word_Order { get; set; }
public string Type { get; set; }
public string Mainmeaning { get; set; }
public string Language { get; set; }
public string ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75609277",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Exporting data factory pipelines I am trying to export my data factory pipelines as a backup but the problem is that i have to export each individual pipeline JSON file from the code.
Is there an easier way of exporting all at once or atleast export the whole folder with all the underlying pipelines in it along with... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75609278",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to load and reshape from wide to long format when columns have repeated names and no identifier I have an Excel spreadsheet that I would like to change from wide to long format in R. However, the original layout of the excelsheet makes this problematic.
Spreadsheet:
Date
Unit
Day
Treatment
Value
Unit
Day
Tre... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75609281",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Why is my Power BI line chart not counting my months correctly? I'm trying to figure out why my line chart is counting my months incorrectly.
As you can see in the table, I have 6 request dates in January and 4 request dates in February. For some reason the line chart is counting 2 request dates in January and 8 re... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75609282",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Comparing a week to another past week in DAX/PQ Power BI with DirectQuery I am trying to do what may seem somewhat easy but I cannot figure out in Power BI.
I have a dataset with the following columns:
*
*Inventory (Numerical Column)
*WeekEnding (date column)
*Year (Numerical column)
*WeekNumber (Numerical colu... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75609284",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Symfony messenger set prefetch_count for rabbitmq It is possible set option "prefetch_count"in symfony messenger?
I migrate from RabbitMqBundle to Symfony Messenger and not see this option.
RabbitMqBundle can configre it like below
consumers:
upload_picture:
connection: default
exchange_opt... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75609285",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |