text string | meta dict |
|---|---|
Q: Jacoco Code Coverage report shows 0% coverage but Test report shows correct data for Android App I have been using Jacoco for code coverage report generation and was working fine. My project contains Unit test using JUnit5. I'm using "de.mannodermaus.android" plugin's for writing tests in JUnit5.
Recently i updated ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75572362",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: tsoa swagger docs for express RequestHandler endpoints Here is a controller endpoint code for which I'm trying to make use of tsoa for the generation of swagger documentation. tsoa works for endpoints' class methods with simple query/path parameters, however, this approach is pretty different.
In the controller.ts f... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75572364",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to not let django create django_migrations table After the first creation of my database I don't want to change it,I won't need to makemigrations or to migrate from my django project, and I don't want Django to create django_migrations table, How I could do that?
I've already added managed = False in all my mode... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75572365",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Extract tables from a pdf with blurred images Im trying to use Python to extract tables from pages in a pdf that has blurred images in it. It only has images on each page and there is no text in it.
For example this is a table on the second page:
I tried the following code to convert each page into a png img but it... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75572366",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Django merging or joining more then 30 models with same fields into one? so i need to build rest api with django rest framework and the problem that i have is that I've got more then 30 models from already existing postgresql db with command inspect db. All these tables have exactly the same fields. They are collect... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75572368",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Read and display data from file on an app screen using jetpack compose I am using jetpack compose and kotlin in android studio to build an app.
This app would be able to display certain songs like title and author. I came up with the idea of using a JSON file to write all my data so the app could read the data and d... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75572370",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Bootstrap Show Popover and Content on Hover I'm using Bootstrap 5.2 version, and i have popover on my html. In my code when mouse hover popover content popover hiding itself. On mouse hover content, popover shouldn't hide. If you have experince in Wikipedia i want like Wikipedia popover.
HTML:
<span data-bs-toggle="... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75572372",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: ReactJS: draggable not in same position after refreshing page I am saving the positions of my Draggables to localStorage so that they remain the same position after refreshing the page.
However, after refreshing the page, they are not in the same position as before, but somewhat rightward and downward than the origi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75572377",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: While testing a Django form, I'm getting the following error: `Select a valid choice. That choice is not one of the available choices.` Context
I have a Django form to create events (which is working well in the UI) and now I am creating the unit test. My event model has two foreign key fields: category and location... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75572378",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: ZS-X11H BLDC motor driver arduino GND connection i'm trying to connect arduino with this BLDC Motor Driver
ZS-X11H
PWM Signal is ok, i connected GND with arduino GND, soldered jumper for PWM control, works fine.
but how can i connect DIR direction and Stop pins with arduino, in picture above, it must be connected to... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75572379",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Codeigniter 4 migration file migration to database I added the following code to do configuration in my .env file
database.default.hostname = localhost
database.default.database = codeigniter-webapp-db
database.default.username = root
database.default.password =
database.default.DBDriver = MySQLi
database.default.D... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75572380",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to hide Home Page widgets from subsequent "Pagination Next" sections? I have three active widgets that are currently on the Home Page of my website. When I click the Next button, I don't want them to display on that page. How can I hide them without using a plugin?
Thanks a lot for your reply in advance.
I reall... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75572383",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Does std::string {} = "hi"; induce temporary materialization? Motivated by What does the expression std::string {} = "..." mean?;
Does the left hand side of the std::string {} = "hi"; induce temporary materialization and if it does, which of the mentioned scenarios below does it fall within?
Temporary materializati... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75572385",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Saving multiple figures on the same file dynamically using python import numpy as np
sns.distplot( np.random.normal(0,1,100), hist=True, kde=True,
bins=int(80/5), color = 'darkblue',
hist_kws={'edgecolor':'black'},
kde_kws={'linewidth': 2})
plt.title('Gaussian noise 1')
plt.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75572386",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Why does binding to Page.Title not work immediately? I'm in the process of creating an installation wizard for my WPF application. To navigate between the installation steps I'm using a frame control with an array of pages that will be displayed. This is the main view and its view model:
<Grid>
<Grid.RowDefi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75572387",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to test if changes to a library break its dependents? I'm working with 4 Spring Boot applications (each with its own GitHub repository) and a library which centralizes business logic and a services depend on.
I want to automatically compile them when a pull request is made to the central repository, so I can ver... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75572389",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: what is "&-" mean in c++ I have never seen this symbol before in c++, how does it work?
#include <iostream>
#include <vector>
using namespace std;
void print(int i){
vector <int> a;
while (i){
a.push_back(i%2);
i/=2;
}
for (int i=a.size()-1; i>=0; i--)
cout<<a[i];
}
int main(... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75572390",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: Vercel - Problem with build, Can't resolve 'react-router-dom' have you ever encountered this mistake while building on Vercel? I'm using react-router-dom to navigate. I tried to solve this problem by adding a vercel file. json to the root directory from with overwriting the source and destination directories, but it... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75572393",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: bridged network mode unable to route packet I want to send udp packets from my host to my virtual machine. My code shows no error but no packet is captured by wireshark in my virtual machine.
Below is my code
#include<stdio.h>
#include<stdlib.h>
#include<WinSock2.h>
#include<Ws2tcpip.h>
#include<iostream>
#include<t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75572394",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How can my R script check which windows window is active? I am trying to use the KeyboardSimulator package to automate something.
I would like to use the keyboard simulator package in R to hit "alt+tab" and then check if a window is open before continuing. Then it is safe for the script to hit "tab" until it hits th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75572396",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to build samsung S22u kernel? First of all, I download the source code from the Samsung open source website(SM-S908U_NA_13_Opensource.zip).
Then download the cross-compilation tool chain and extract it to the corresponding folder
However, this error occurs when I run the compilation script:
or/cam_actuator_core.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75572398",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Docusaurus , MDXComponents Scope and Stiches Global Styling I'm migrating the docs of a project to Docusaurus.
We have a bunch of components in our project that we have to document.
Docusaurus has this feature where you can import and then export the components that you need render on your .md / .mdx docs, this feat... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75572399",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Receiving images with javascript readable stream backend :
Im using streaminghttpresponse (django) that yields image for every 5 seconds
def gen():
while True:
yield(getBase64Image)
sleep(5)
# post request
def getImages(request):
return StreamingHttpResponse(gen(), content_type='multipart/x-... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75572400",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Webpack HTML minifier is removing CMS {variables} from CSS rules I need help with html-minimizer-webpack-plugin. Right now, when I write this:
<style>
.video__embed {
aspect-ratio: {video_width}/{video_height} !important;
padding-top: 0 !important;
}
</style>
minifier removes {video_width}/{video_height}!important... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75572403",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Unity | Index was outside the bounds of the array I need some random int's for copied objects in canvas. So i created arrays that will fill with random values, but don't work and code stops on first array line (CPU_Model) and when i see array in unity editor it's empty (0 elements).
Sorry for wrong exploration or so... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75572404",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Codesandbox throws error while creating a new instance I am getting error when I try creating a new sandbox on codesandbox.io by importing a github repo, with a badge saying that repo is "Official" next to it, on screen of codesanbox.
It means I am trying to use an official repo but still no luck. The repo I am tryi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75572405",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: CSS styling for Gtk Widgets not working (Python, Gtk4)? In my app I want some kind of profile picture a user can have. At first wanted to use libadwaita's Avatar widget, but it cannot load images from a file, which is a feature that I need. So I thought I would just implement a normal Gtk.Image and set its border-ra... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75572406",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Include item tags in email I need to transfer the "item tags" into the email templates.
Is there a button I haven't seen or is there some code outthere, I can use?
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75572411",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: Getting last_day of date is giving error as ORA-01861: literal does not match format string I have a date in some format and from that I want only the last_Day of that month. SO below is relative information.
V_BILLEND_DT = 2022-12-31T00:00:00+05:30
And I am trying like this.
select to_char(last_day(V_BILLEND_DT),'d... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75572412",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Find Index Of the Same Element in Array
const fruits = ["Banana", "Orange", "Apple", "Mango","Apple"];
console.log(fruits.indexOf("Apple") );
Is there a way to find the index of the same element in an array, for example, "Apple" is at the index of 2 and 4 and the output should be in an array [2,4] ? Any help wi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75572415",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Is it possible to connect a phone (Android 9) to a PC so that the computer's microphone can be used as a microphone for the phone? Is it possible to connect a phone (Android 9) to a PC so that the computer's microphone can be used as a microphone for the phone?
(because phone microphone is not working)
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75572416",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Is there a way to replace a certain part of a string after a certain character and before another character? If my string is $str = 'MATH-79,BIO-60,SOC-90' then i want to update the string like so
$str = 'MATH-79,BIO-10,SOC-90'
How do i get that done. Thanks
I tried using str_replace but nothing.
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75572420",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: PowerShell - Work with counter and renaming of files Please help with the following situation:
There are many photos need to be renamed according to the name of directory folder, where they are located + add index at the end of each new name in format PHOTO1000_NAMEA_1, PHOTO1001_NAMEA_2, PHOTO1002_NAMEB_1, PHOTO100... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75572421",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: It's possible to use SMB (server message block) in a open socket on port 445 Hello everyone and thank for the time that you will spend for me.
This the question:
It's possible to use an open socket on port 445 to query directly SMB on Windows or Linux (Samba)
Something similar to
telnet 192.168.1.100 80
and after
GE... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75572423",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to export a DataFrame to Excel with Pandas using a comma as the decimal separator How can I export a DataFrame to Excel with Pandas using a comma as the decimal separator for the output file?
I have tried:
df = pd.read_html(html_str, decimal=',', thousands=' ')
df.to_excel('test.xlsx', index=None)
However, this... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75572424",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Python OOP TypeError: int() argument must be a string, a bytes-like object or a real number, not 'NoneType' The instantiate_*from_*csv class method is supposed to read data from a CSV file named "items.csv", creates new Item objects for each row of data in the file and add the objects to the all list, then iterate ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75572426",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Splitting data from a file between lines and individual data points I'm trying to do some data analysis, and I have imported a file but I don't think I have split the data from the file properly. The file contains a lot of measurements of six different variables. I am trying to plot some of them, but here is my code... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75572427",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Invalid argument(s): No host specified in URI file:/// while fetching imageUrl in Flutter I am facing this error: Invalid argument(s): No host specified in URI file:/// and unable to solved. Need some help from experts
Here how I am fetching the image url
Future<String> getProfileData() async {
try {
await... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75572429",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Concatenate Bold Text with Binding Text in Maui Label I'm trying to concatenate text in a Maui Label and I want part of the text to be bold. The examples I've found seem mostly for wpf and not Maui.
This gives me the concatenated text:
<Label
x:Name="SecondTip"
FontSize="16"
VerticalOpti... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75572430",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: SSIS call another package in a script and set its Project Parameters There was no answer to Run SSIS package with project params from c# app can anyone help. Hoping someone might have an answer now. My case is I am just calling another package in a script task and pkg.Parameters["{Whatever}"].Value = ... works for p... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75572431",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Celery task cannot write file from docker container Files:
*
*Dockerfile
*docker-compose.yml
*connect.py
*main.py
*task.py
Dockerfile:
FROM python:3.9
WORKDIR /app
ENV PYTHONUNBUFFERED 1
RUN pip install celery
COPY . .
docker-compose.yml:
version: '3.8'
services:
ylab:
container_name: ylab
build:
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75572433",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: How to change svg color I want to change svg color
HTML
img {
width:50%;
height: 50%;
}
<link rel="stylesheet" href="css/style.css">
<img src="https://upload.wikimedia.org/wikipedia/commons/b/b9/Dollar_sign_in_circle_cleaned_%28PD_version%29.green.svg">
How I can do it in css file?
I tryed:
https://www.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75572435",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: I Want a Server.java i want a Server.java which will ask to enter the Host and Port in a GUI and then allow the user to create a Server and also stop it anytime in a GUI, and then it will open a windows which will show the users connected and disconnected.and ChatClientHandler should be implemanented in it. It shoul... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75572436",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-3"
} |
Q: Encode audio file and make sure the packet duration is consistent I have a mp4 audio file, the packet/frame duration for all the packets is < 0.024 except of one packet, the duration is > 100s. I'm trying to use ffmpeg to re-encode the file and split that long packet into smaller packets but failed. it seems the dur... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75572437",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: valueerror:Fernet key must be 32 url-safe base64-encoded bytes I an trying to write a code for qr dode for excryption and decryption,Almost completed but i am getting a error and not able to solve it.
import qrcode
import cv2
import base64
import numpy as np
from cryptography.fernet import Fernet
from cryptography.h... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75572438",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: How does preprocessor resolve the path of linux kernel' head file? I am new to C programming language, and currently trying to add new syscall to Linux kernel by re-compiling the kernel.
When I read the source code, I found it very difficult to locate the path of head file.
For example:
#include <linux/kernel.h> /... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75572439",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: What could cause an ERR_INVALID_ARG_TYPE for a PostToConnectionCommand in typescript I am writing a function that uses the PostToConnectionCommand to send a websocket message in typescript. The function looks like this
async function sendMessageToClient(connectionId: string, payload) {
try {
console.log('Sendi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75572443",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Getting chrome console output using python selenium Hello I'm very new to both selenium and chrome console. what I'm trying to do is to get the output from chrome console, after typing a line of java script, and I just need the output, not the entire log.
the script I want to run is OptanonActiveGroups
and the resul... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75572446",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: how to send an email with a link that when pressed will lead to a page for that candidate i can send email but I need to click the button in the email and show page 3 and then show that candidate's website with candidate_id as the tell who
BEGIN
UPDATE
HR_CANDIDATE SET CANDIDATE_STATUS='appointment'
WHERE CANDIDATE_... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75572451",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Error sqlalchemy.exc.ArgumentError: Column expression or FROM clause expected, got in test with pytest In my application if I run:
*
*session.query(User)
Where User is a simple dataclass:
@dataclass
class User:
name: str
email: str
...
And my session is:
DEFAULT_SESSION_FACTORY = sessionmaker(bind=c... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75572454",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Flutter: I want to center an element vertically but it won't work I have a column with different rows and elements in it, now I want to center everything vertically.
I thought this would work with mainaxisalignment but it doesn't. In fact, no matter what I put in there, it doesn't change the layout. Wrapping it with... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75572460",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-3"
} |
Q: Can't connect to VM because inbound port rule is not working I'm having trouble connecting to my Azure VM, despite trying to restart it and creating new instances. The DenyAllInbound rule was preventing me from connecting to my VMs before because the RDP rule that's supposed to override it wouldn't get added at all.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75572462",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: In Home.js I call the Custom backgroundImage.js Component but it render every time whne their is any change in the state [enter image descrHome pageiption here](https://i.stack.imgur.com/i5sd6.png)
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75572463",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: The expression doesn't evaluate to a function, so it can't be invoked FLUTTER Hi i am trying to create Row widget with 3 children 2 textbutton and text widget, 2 textbitton if shown based on a condition but the issue is when i add text widget inside that ,its showing the error, somebody please help me with this ? ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75572464",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-3"
} |
Q: how to load objfile in vue (three.js) ERROR in ./src/assets/objFile/testfile.obj 1:12
Module parse failed: Unexpected token (1:12)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file.
import as THREE from 'three'
import { OBJLoader } from "three/examp... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75572466",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Separating business logic (service) from gRPC server implementation golang I am new in gRPC. I want to separate the business logic into a separate service and use it inside the server structure. The problem is that the service in this case will return large data object that will need to be converted to proto inside ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75572470",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: How to order the result of a SQL query (using INTERSECT)? I have 2 tables users and Q.
I would like to select some specific users (having
user_level= N ) that also have Q_test = -1 AND Q_dummy !='' in a second table Q.
The following works nicely (albeit not optimal I guess).
SELECT * from `users` WHERE `user_id` In... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75572471",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Gatsby build deployment failing via azure pipe line Facing an error below while releasing the gatsby build onto azure static web app
2023-02-26T13:46:36.4134290Z /home/vsts/work/r1/a/node_modules/yoga-layout-prebuilt/yoga-layout/build/Release/nbind.js:53
2023-02-26T13:46:36.4135129Z throw ex;
2023-02-26T13:4... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75572475",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: trouble reading Japanese characters with full-width characters in PHP I have a PHP program that reads a certain FILE from an INVENTORY SCANNER.
The data is streamed in 1 line like this.
3701804901070125616シャルダン ステキプラスクルマ専用 ジャスミンマリアシャルダン ステキプラスクルマ ジ2131970080 16033001383701804902720123549森永IQサポート ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75572477",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Error: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)? I have installed MySQL on Mac OS Ventura 13.1 homebrew install mysql but when I tried mysql_secure_installation then asked me to enter password and after that I got the following error:
Error: Can't connect to local MySQL server through... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75572478",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Multinomial mixed effect model in R I want to make a multinomial model with random effects (mixed multinomial model) in R.
The model would look like this:
native_drifter ~ treatment + (1|replica) + (1|compartment/origin_colony)
With native_drifter being a factor with 5 levels, treatment a factor with 3 levels, repli... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75572479",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: I want to automatic create new fields in a table | Django I want to automatically add new fields in my table.
So that the fields can be read from a csv file.
Here is my current Code in my models.py:
from django.db import models
import django
class UserInformation(models.Model):
field_list = [
models.Cha... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75572483",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Using ._id from mongodb as key form components in React js Each entry in mongodb has a unique id, I am using this id for the Key property in my components to resolve this error:
Warning: Each child in a list should have a unique "key" prop.
Suppose we have an input field that you can enter a text to be added to the ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75572484",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: In ubuntu 18.04,How to completly delete cuda-10.0 without cuda-unintaller? I want to delete the cuda 10.0. Online information is use the ./cuda-uninstaller to do that.However , I cant find the uninstaller in the /usr/local/cuda/bin/ ?? is there other way to do that...
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75572485",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-4"
} |
Q: convert an array of hexadecimal octets to a string variable in bash Is there a "better" way to convert an array of hexadecimal to a string variable in shell other than the following?
Maybe via variable substitution?
# the following is a hex representation of the string "filename.txt"
a=(66 69 6c 65 6e 61 6d 65 2e 74... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75572486",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How to switch version of Python in VS Code Sup guyz, i've got VS Code and python 3.10.10, but i want to use pyHook in my code, and i have no idea how to switch version to python 3.7.4
I also know that in explorer i can switch versions, but they are illegible.
Sry for polish version
I've read some tutorials but they ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75572491",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: SpringBoot REST API downloaded file content getting stored as a single line I am calling REST API to download a file, writing content to ByteArrayOutputStream. The content is getting stored in a file but as a single line.
ByteArrayOutputStream out = new ByteArrayOutputStream();
httpResponse.getEntity... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75572492",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Github Actions script error in YAML syntax name: Test
on:
workflow_call:
secrets:
MY_SECRET:
required: true
jobs:
shared-setup:
uses: *****/*****/.github/workflows/shared-setup.yml@main
unique-test:
runs-on: ubuntu-latest
needs: shared-setup
env:
SUPER_SECRET: ${{ se... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75572493",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: theres something like clearsOnBeginEditing for use in SwiftUI project? I need to clear up TextField from default amount when i click to TextField
I have find solution for Storyboard project but not for SwiftUI
A: You could use @FocusState for this and clear the field in a onChange(of:) modifier.
Here is a simple ex... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75572494",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: How to check for Mobile Touch and Hold event in Godot? I want to check for touch being pressed and on "hold" state in a Godot game.
I Literally went to the #BingAI and its chat for the solution and mixing pieces together from there and some of my logics, I got:
func _input(event):
if event is InputEventScreenDrag:... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75572495",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Need a recipe for synchronizing local hive data to the cloud in flutter I am currently using hive_flutter: ^1.1.0 successfully to store user data locally for an app that runs on iOS, Android and Web. Now I would like to create a background task to synchronize these data with a restful service I will create in the c... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75572500",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How do i fix cannot modify header information I have been having a
"PHP Warning: Cannot modify header information - headers already sent by (output started at /home2/kryptbit/public_html/admin/atmos.atomui.com/light/pdo.php:12) in /home2/kryptbit/public_html/admin/atmos.atomui.com/light/login.php on line 26"
for ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75572501",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: How to extract the value of conf from a Json file? Python I use Mega Detector to detect if there is an animal in the image or not
At the end of the process I receive a Json file (as you can see in the image below)
How can I extract the value of conf and insert it into a variable that is in my code?
The goal is to kn... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75572505",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Messed up security settings for C drive on windows 11 Yesterday I was fiddling around security settings as I couldn’t paste anything in my C drive root.. so I right clicked on c drive , properties, advance setting in security section … and changed the owner from trusted installer to my user… I also checked the child... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75572506",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: How can I run foreground tasks using jenkins? I've run this command java -jar jenkins.war --enable-future-java --httpPort=8080, after downloading .war file of same jenkins version that I have.
I have tried running this command without stopping the container, then I realised to stop and ran it again, the command is s... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75572507",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Why is branchless Heapsort 1.5x faster than with branching? I know about CPU branch misprediction penalty, etc & that making code branchless will improve the code faster.
I am trying to understand why the patch in [1] which made the following change, made the code 1.5x faster? (vs. eg 1.1x faster)
[1] https://github... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75572511",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How can I find a replace a string in an .odt file in Python and output it to another .odt file? Let's say I have an .odt file called "myfile.odt" in a specific directory (that's not the current working directory) and I want to replace "astring" by "anewstring", then export the modified file into a new .odt file in t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75572513",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Ignored spaces for flask variable in template Using flask when I try to pass a string as a variable to a template
@app.route("/home")
def home():
my_file = open(r'path\path','r')
my_str = my_file.read()
my_file.close()
return render_template('html_ex.html', my_var = my_str)
and than read it like so ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75572517",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: How can I query Firebase Realtime Database by value when it is only a list of key:values? I have a few collections in a Firebase Realtime Database that are structured like this::
SomeCollectionName {
randomKey1: userId1,
randomKey2: userId2,
randomKey3: userId3,
randomKey4: userId1,
randomKey5: userId1
}
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75572520",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Eureka server is not responding even all the instance are up while running all services through docker I am trying to run microservices using docker but server ip is not responding.
these are some references to the eureka and what it responded.
And This is docker-compose.yml
version: "3.8"
services:
# Accounts... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75572525",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Draftsight API - Change color of entities, select those entities and export those entities to a dxf due to time restrictions and in my opinion not so great API documentation for draftsight.
here's my problem.
I want to change Entities from color 6 (magenta) to color 7 (white)
Also do this for Color 40 to Color 2 (ye... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75572528",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: useState won't update the state Here is my code, I add a new text to the database and it works perfectly I can see it in my database, but when I want to update the display, despite I retrieve the new data from the database and update the state of the data with the latest data, it still shows the old data when I log ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75572529",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-3"
} |
Q: How to bind DVWA to a real available ip in my network? I started messing with docker and DVWA, I've noticed that the docker DVWA's enviroment is binded to the localhost (127.0.0.1). I wanted to bind it to a real address in order to mess with it from another machine but keeps outputting the following error:
$ docker ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75572530",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How can I split a clip in Davinci Resolve? I'm trying to automate my process of editing and I want to cut the parts of a video that is silent. How can I do it in Davinci Resolve by script?
First I want to split the track as I do manually (timeline->split clip Ctrl + \) then cut.
The documentation doesn't help much b... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75572532",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Linq Where query without lambda Lambda is a useful thing but also a bit confusing for me. can someone please do the linq'WHERE' query without lambda so i can understand whats been happening.
List<Student> st = new List<Student>() {
new Student(){Id=1,Name="Nav"},
new Student(){Id=2,Name="... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75572533",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to get info of memory shared to GPU with Python (Windows) I tried with nvidia_smi but only dedicated GPU memory could be retrieved.
enter image description here
As the task manager show, there is memory shared to GPU on windows, so how can I get this information with Python?
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75572539",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to extract a substring from a string in Python with find()? I have a string in Python, and I need to extract a substring from it. The substring I need to extract is between two specific characters in the string. The string is of indeterminate length and value, so slicing at specific points does not work in this ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75572542",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: What to look out for when passing a generator into model.fit in tensorflow? I want to replace the x and y training data parameters in tf.keras.Model.fit with a generator. However, some subtlety seems to escape me, as the model accuracy doesn't improve with the generator when training.
As far as I understand the docu... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75572543",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Replace missing values based on values in another column I have the following problem
I need to replace NaN values in dataframe
df1 = pd.DataFrame([[1001, np.NaN], [1001,'C'], [1004, 'D'],[1005, 'C'],
[1005,'D'], [1010, np.NaN],[1010,np.NaN],[1010,'F']], columns=['CustomerNr','Costs'])
Custo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75572545",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to modify a value of a Nifi configuration file in manifest? I have value that I would like to change in configuration file.
The value I would like to change is nifi.content.repository.archive.enabled=true to false.
I tried the following in my manifest, adding:
apiVersion: apps/v1
kind: Deployment
metadata:
nam... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75572546",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: scopus API KEY query (affiliation and year) in R How can I make a scopus API KEY query requesting data given an affiliation and a given year, example: imagine I want all the papers Scopus has by researchers affiliated to Google on the year 2003. I have the following code in R (but it is not working):
library(rscopus... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75572547",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Communicate with Firestore from inside Vertex AI pipeline job I am trying to connect to and update some field in Firestore from inside a Vertex AI pipeline. The project is linked to Firebase. But the pipeline fails due to:
PermissionDenied: 403 Cloud Firestore API has not been used in project [some-prj-number] befo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75572552",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Cannot center outline color for UILabel I followed this and could outline my UILabel.
But I am struggling to center it. The code already says that it should be centered but nothing happens. I did center the UILabel with Attribute Inspector.
extension UILabel {
func addTextOutline(usingColor outlineColor: UIColor, ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75572554",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to calculate days per month using lost work day start and end dates distribute it by month in the graph? I am trying to calculate total lost work days and distribute it per month and filter by location. One incident may have 3 or 4 lost work days. Also, end date may be blank and days should be still be counted u... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75572556",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-3"
} |
Q: Adding a proxy using http-proxy in front of theia editor I am running theia editor on port 6080 (say), when I am opening editor at -> localhost:6080 it works perfectly
I am Running a proxy server as below, which is proxying the request from 5000 port to 6080.
So when I am accessing the editor over proxy at -> localh... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75572557",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Probability distribution of results from one, two and more draws I am learning python and I found something not intuitive from my perspective. I was trying to print Gausses curve, based on output from lottery. In that program I can set draw range, number of draws in one game and number of games. I sum results of dra... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75572563",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: assert method caller in python nested class Is there a way in python to assert the caller of a nested class method ?
To be a bit more specific I have a construct that is essentially the following:
class Y:
def __init__(self, z )
self.v = z
def _doToY(self, x):
self.v = x
class X:
def __ini... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75572565",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: 'isOnboardingFinished' is inaccessible due to 'internal' protection level I am trying to build expo react native app on ios with arch -x86_64 yarn ios
the build is working fine on android , the problem is with ios only
if there are any useful info i could add to the question , please let me know
These are my depende... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75572566",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: Spring Boot Controller not mapping (Whitelabel Error Page 404) I've tried it on IntelliJ and STS 4 but i'm getting the same whitelabel error, except when i put the @restcontroller inside the main application, so i think the problem is in the package structure. I've tried a lot of things (with and without component s... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75572568",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Matching user sequence in awk I am matching line accarding to regexp pattern beg_ere. A user can also pass
a comma separated sequence ukeys to match values in pkeys read from the matched
line in the file being processed. If any elements in ukeys match elements in
pkeys, display is set to a value of 1 (display = 1)... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75572575",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |