text string | meta dict |
|---|---|
Q: how is high and low not changing with user input doing project from this youtube vedio and it does not seem to be working.
https://youtu.be/8ext9G7xspg
the finish coode is at 19:49
my problem is when I run it low says at 1 and high says at 100.
any help would be welcome.
def computer_guess(x):
low=1
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591086",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Look at last 14 months and include in Table I have a page where I select the month and it display the Revenue for that Financial Month. Now the client want the following to determine commercially dead customers .
"If 14 consecutive months prior to Selected Month and including the selected month, there is 0 revenue e... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591090",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to get all metrics data of a particular resource in GCP Is there a way to get all the metric data for a specific resource?
I was trying with ListTimeSeries() method using the following request body
req := &monitoringpb.ListTimeSeriesRequest{
Name: "projects/" + projectID,
Filter: `resource.type... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591095",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to 3D visualize sfc_Multipolygon in R? I am trying to visualize buildings in R program according to their categories (1 and 2) and their population. While my aim is to color the buildings according to their categories, I want to give height according to their population. My dataset is in sf format and geometry c... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591096",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Why am I getting scientific number notations inserted into my SQL table from a spark data frame? I am inserting data from a spark data frame into a SQL table. However, some very small numbers are being inserted in as scientific notation - for example:
Steps I am following:
*
*Define schema for spark data frame
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591100",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: AWS_How to use API Gateway to pass the content of a file in external website to S3? https://www.jnto.go.jp/jpn/statistics/since2003_visitor_arrivals.xlsx
I would like to use AWS API Gateway to get the content of the file in the above link to create a new file in S3. I try to combine API Gateway and S3 using AWS Stat... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591104",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: model doesn't display title Django In the admin the content of my model doesn't show a title, now I now that I can make a field called title but then I need it to be an incrementing int, but if I do that Django tells me that that can't happen because it will get rid of the ID, is there anyway I can fix this?
model:
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591105",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Some Queries on HLS Independent Segments and AAC codec? According to Apple HLS spec, #EXT-X-INDEPENDENT-SEGMENTS tag indicates that the segments are independent and can be decoded indepedently of each other. This tag can be specified either in master playlist or rendition playlist or both.
I assume that this applies... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591108",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: SAS date symput function query As part of a migration project I have come across the following function:
call symput('setdate',put("&sysdate"d -(0) - weekday(date()),date9.))
What is this function doing?
As the date today is 28/02/2023
The result is 25/02/2023
I know "weekday(Date())" is geting the day number of th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591109",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Idiomatic Scala way to traverse Iterator-like data structure Given a class from a legacy library that behaves like an Iterator such that you can traverse it's content with hasNext and next but it does not implement the Iterator interface:
class LegacyIterator[T](iterable: Iterable[T]) {
val iterator: Iterator[T] =... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591110",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Application properties for a struts2 java web application I am new to Struts2 framework and I am trying to add some configuration properties like applicationId, timeout etc which will be used for calling some 3rd party APIs. In a Springboot project, we usually keep the application.properties/application.yml file and... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591111",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: List mapping in Webflux: map() + stream() vs. flatMapMany() + map() + collectList() When working with Lists in Webflux, there are multiple ways how to iterate over nested lists.
Let's say we have a class Customer:
public class Customer {
public String name;
public List<Order> orders;
}
and now want to do so... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591112",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Why javascript function is not getting called inside jquery ready function in edge browser only? myfunction() javascript function is not called inside jquery ready function while using edge browser alone
Can anyone tell me the reason?
It's working fine when we employ setTimeout() for myfunction
$(document).ready(fun... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591113",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-7"
} |
Q: How to work with .mdf extension files using python? I have a file with an extension .mdf in a path as below.
C:\A\B\sql\MP_000001.mdf;
I have installed pyodbc drivers as
To connect to the said database i have created a connection string as.
conn_str = (
r'DRIVER={SQL Server};'
r'SERVER=(local)\SQLEXPRESS;'... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591115",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Problem creating variable outside function : UnboundLocalError: local variable 'Player4' referenced before assignment I'm facing an issue that seems easy to resolve but I can't find a simple solution to it:
I want to create a few empty lists that will later copy each other inside my main function, but when I when I ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591116",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Could not load file or assembly 'Microsoft.Extensions.Options, Version=7.0.0.0, The system cannot find the file specified I am getting below issue in my function app while debugging in local. Please let me know the issue here ! I think there is a bug from the packacges that i have used.
Could not load file or assemb... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591117",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: How to remove the string and special characters before XML tag Receiving the string like:
acb-bdbd.. special characters<?XML version="1.0" encoding="UTF-8"?><name>hello</name>
We are expecting:
<?XML version="1.0" encoding="UTF-8"?><name>hello</name>
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75591119",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: How should I give a id to the button which displays each button in a for loop I'm creating a quiz application in Python Django where in the template I'm iterating through a list of questions and then iteration through a list of answers for the current question and displaying those. I have a button for each answer. W... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591120",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Updating label for specific version of a model in Model registry in Vertex AI I have a model with several different versions in model registry in Vertex AI:
I want to change labels only for specific version programatically, using the python SDK, specifically the python-aiplatform https://github.com/googleapis/pytho... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591121",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to set the port of Spring Cloud Config server in the properties of Client? According to the documentation, the Client can be configured to request the configuration from the server at a specified port. However, in my case it keeps requesting the configuration at the default port 8888. The Spring Cloud Config ser... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591122",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Getting "out of gas" error when requesting random numbers using Chainlink VRFv2DirectFundingConsumer in a Solidity contract deployed on Sepolia I am trying to use Chainlink VRF to generate random numbers in a Solidity contract deployed on the Sepolia testnet. I copied the code from the Chainlink documentation, speci... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591125",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to Combine two series to single line in line graph in excel how to make a single line graph from different data series in excel. here i have cx data and cy data. I want to make cx and cy in a single line graph. I've done that using python, but I don't know how to do it in excell.
my excell data:
I have tried bu... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591128",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: how to set the template & args in template literals at runtime in JavaScript I'm fetching template from the db table & the value is returned as
Hello ${customerName}: Welcome! to our site. This is dummy.Please reach us at ${websiteLink}
The values of these are in the req payload
This is how I tried to use the templ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591131",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Making single column boxes into two columns on mobile We purchased a theme from Envato, but we did not receive a response from the producer. We have a small problem and they didn't notice it either.
As you can see below, after making the box widths 50%, when the heights are not equal, it starts in an unequal order o... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591133",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Octave crash while opening GUI I was working on Octave GUI for a while now on my Windows 11 PC. The last time I did run it, I just docked out the command window from the GUI main frame, and after my work I closed the app. After that whenever I tried to open the Octave GUI app, it somewhat launched with two windows (... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591134",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Why pytest (pytest-django) doesn't have access to .env variables through decouple which regular django files access as normal? I have a django project and I'm setting up my testing environment with pytest and pytest-django.
Previously, I have set up my environment variables like DB_HOST using decouple module. These ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591136",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Store terraform output to key value store I'm thinking about a "design":
I want to store the output of terraform, e.g. instance name, ip adress, os distro and region to something like a middleware where I can query the KV pairs I need. Let's say I want to generate a Icinga2 hosts.conf file - I need all servers with ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591137",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: How to calculate possible minDepth of item can be placed I have build a tree view component that have free D&D without being allowed to use 3rd party libraries.
I'm working on a idea of using arrays with index and depth as data structures for it.
My goals:
*
*Except ROOT(depth = 0), items and their children can be... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591139",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: How to make progam to run by the schedule, if it is closed or not .NET 7.0 MAUI Maybe this type of task is not often used, because no matter how much I search, I can't find anything useful.
However, i need to do something like alarm. Imagine, your phone is turned off or only program is off or program can be turned o... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591140",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Trying to print a modified PDF document adding text with PDF-lib using printJS Im trying to retrieve a pdf from a URL, insert some text on it with the help of PDF-lib, and then print the document directly, using printJS. The code looks as follows:
const fillPDF = async () => {
try {
const response = await ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591143",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Navigating nodes for select in XML (Crossapply,XMLnamespaces) SQL I have a query that will bring me back correct nodes from XML.
However when I try to change the criteria I get no results
I know Im probably just referencing the wrong nodes but this is a one off and I have no real experience in XML/nodes and got the ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591145",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Performing a list operation in Python I am removing J1 from J. Corresponding to the removed indices, I want to alter Ci[1] and append to Ci as shown below but I am getting an error. I also present the expected output.
J=[2, 6, 9, 10]
J1=[6,10]
l=[]
l.append(J)
l.append([x for x in J if x not in J1])
Ci = [[0, 0, 0,... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591146",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: I18N tranlsations for field values in a Table in a MySQL database I have implemented I18N translations for error messages, which is being processed at the webfilterchain and the resulting translated message is output as JSON response. I would like to do the same for a few feilds in the database. My application is in... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591147",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Float and double value not getting updated in vespa I am trying to update a field created_at with a timestamp value. This created_at field, I have stored it as a float datatype. But it is not storing the value correctly. Even after a difference of 10-15 sec, it is still storing the same timestamp value.
When I am tr... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591148",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: DOMDocument works in individual php file but not in Yii2 controller I am facing a strange issue. I am trying to instantiate DOMDocument class. it works when i do it in independent .php file, but when i try to use it in Yii2, in one of the controller function i get error.
Class 'app\controllers\DOMDocument' not found... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591150",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Am I understanding correctly the flow for function-to-function authentication using Managed identities? I'm building 2 Azure Function Apps that will communicate with each other using HTTPS. I've read some articles and so far it should be configured as the following:
*
*Function App A should have a System Assigned ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591152",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: I am unable to write/edit anything in the ".zshrc" file that I created for using flutter I am following the steps given in this video, which is about installing and running flutter, in one of the steps, I need to update my path variable permanently by creating a .zshrc file. But I am unable to edit the "export PATH=... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591154",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Convert sqlite statement to SQLalchemy i try to find the right SQLalchemy statement for
select word from buzzwords group by word order by count(word) desc limit 3;
Buzzwords:
one
two
one
three
one
one
two
two
two
three
four
five
six
seven
I tried so far
db.session.query(Buzzwords.word).group_by(Buzzwords.word).ord... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591155",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Why can't I return a concrete type in a function that has a polymorphic return type? For example, why isn't it possible to define a function like -
fun::a
fun = 1
-- OR
someInt::Int
someInt = 3
fun::Num a => a
fun = someInt
It seems like this is possible in Java -
class App {
public static void main(String[]... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591157",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to create a squircle shape and fill it with an image using UWP? In an UWP app I need to display some icons with squircle shape and filled with an image.
Applying corner radius to a square doesn't create a squircle, see.
The only way that I found to create squircle shape is using CanvasGeometry like described in ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591158",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Download Releas From Private Github Responsitory with python I dont know how do download the latest releas of my projekt from my private Github responsitory with a API token. Im only know how to download the responsitory.
Download resposintory :
import requests
headers = {
"Authorization": 'token ghp_.....',
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591160",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: FullCalendar event title shown on every day, not just first day Using Fullcalendar.io an event that spans over multiple days shows the title on just the FIRST day and also on the far left of the next row if the event spans across multiple rows.
I would like the title to appear on EVERY day.
Demo showing title across... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591161",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: ansible multiple blockinfile tasks in a single file with when I have found that using multiple blockinfile tasks in the single file with when condition not working , seems to the last blockinfile task will have priority over other block , even fist block met the correct condition output result does not generating
wh... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591162",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: How to console.log short links in Visual Studio Code? In Visual Studio Code, when I console.log(something), in the Console on the right side, I get a link to the file and line on the right side. If I hover over this link I get the full path. When I CTRL-click this link I will be taken to the corresponding location i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591164",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How can I allow user interaction outside a BottomSheetDialog in Android Studio? Inside a Fragment I want to dispaly a regular BottomSheetDialog with some text and buttons to interact with it. There's a "close", accept and reject buttons, when the close one is pressed what should happen is that it should be still vis... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591165",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Initial value from UseState hook not updating for the constant - React I am trying to update some time constants from a date picker and it causing some trouble with the state
Below part of my code explains how it is structured and how its working now
console.info(`Before ${clientObj.requestedGoLiveTime}`);
client... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591166",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Elastic Search Query or Watcher since im new to Kibana/Elastic i need help on kibana search query/watcher with below parameters.
((condition11 and condition 12 and condition 13) and (condition21 and condition22))
i.e.,((AppName and errorMesg1 and log_level) and (app2 and logMessage))
((App1 AND 'Not_Found 404' AND ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591173",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Expanded widgets inside column shrink when keyboard gets popped out I'm working on a simple design for a login screen that has some content to display. The design looks perfect, as per the requirements.
But the issue is that when the keyboard is popped out, every widget's internal vertical spacing shrinks, and the w... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591178",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Depending on Webpack version (4 or 5), exclude some code from bundling I have a code where WebWorker is created and depending on Webpack version, you have to do it in different way:
For v4.x, utilize worker-loader
For v5.x, just use URL constructor
I'd like my library to work with either of Webpack version so I'd li... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591180",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Python Dictionary to Array I have the following code in Python converting a dictionary D into a sorted array res
res=[]
res =sorted(D.items(),key=lambda x:(-x[1],x[0]))
What does x:(-x[1],x[0]) mean?
A: (Btw, initiating with res=[] isn't necessary here.)
Setting key=lambda x:(-x[1],x[0]) [same as key=lambda k,v: (... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591182",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-3"
} |
Q: How to execute multiple queries through BigQuery Operators in Apache Airflow DAG through Google Composer? I need to execute multiple queries through single BigQuery operator inside my DAG which is implemented through Google Composer. I will have many Operators in the DAG and each Operator needs to execute multiple q... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591183",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: OpenAPI / swagger how to replace text? There are lengthy code examples inside the swagger doc we have.
Is there a way to put them outside or separate and just reference them via alias or something?
I need to use them inside a description e.g. for the lack of a better place:
my-swagger.yaml
/myapi-endpoint:
ge... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591184",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to call react-redux slice method inside same slice's another method? I'm using react-redux in my react app. I need a reducer function to set search query and another reducer function to fetch data according to that query. Here is my slice.
export const movieSlice = createSlice({
name: 'movieSlice',
initialSt... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591188",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Error during updating List of entity. EntityFrameworkCore I have projects, which contains 2 aggregate entities (Person and WorkExperience) in Domain layer. For dbContext I created 2 entities with almost same properties and map them with automapper. Person contains List of WorkExperiences. So, when I'm using automap... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591189",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Strange behavior of condition_variable in C++ I have experimented to modify C++ example code of condition_variable so that the variable is notified before waiting is initiated. I end up with the code, where I do not notify at all but all the threads are awake.
#include <iostream>
#include <condition_variable>
#inclu... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591190",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to do a proper diff in a Makefile that removes first line of a file? I'm currently having trouble doing a command in a Makefile. Particular command that I'm trying to translate into bash is:
diff <(head -n 1 file1.out) < file2.out > file.diff
My current code just compares two files without ignoring the first li... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591192",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: MQTT issue: using adafruitIO, some of my data is not being sent Don't really post, only read. but im having a strange issue with my python code for publishing data i collect from bluetooth devices.
Background
I have adapted python code that runs on a raspberry pi from a collegue to publish data to an mqtt sever, in... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591193",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Correct way to inherit an S4 object in another S4 Object in R I want to create an S4 class with one slot as another S4 class. Following is the simplified version of the code,
Definition of Class 1
setClass(
"class1",
representation(
class1_vector = "character",
class1_vector2 = "numeric"
)
)
Defin... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591194",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: odbc_fetch_row doesn't work when it is used multiple times while(odbc_fetch_row($viewTablo)){
echo "<td>".odbc_result($viewTablo,$inta)."</td>";
echo "</tr>";
}
This code works and returns values I expected. But when I use odbc_fetch_row multiple times, just the first one works. What i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591197",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to access @propertyWrapper argument in Swift Let's examing following code:
@propertyWrapper
struct Argument {
var wrappedValue: Int?
var argument: String
}
struct Model {
@Argument var property: Int?
@Argument(argument: "bar") var foo: Int? = nil
}
extension Model {
init(property: Int, argu... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591198",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Creating a SQL database geo-replica via SDK I have run into some issues when trying to create a new SQL database in another region as a secondary geo-replica of our primary databases where I haven't been able to spawn the instances. Essentially, what I want in the end is to automatically set up a replicated instance... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591199",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to pass variable content from a Pipeline to a dataset path inside of a Data Flow I have a pipeline that sets variable for the purpose of building dynamic data path that gets passed into a dataset within a pipeline, that works fine thanks to help on this site, but there is another issue when I tried to pass that ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591201",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to draw a horizontal line based on the values of "secondary Y axis" to intercept with the curve and then automatically draws a vertical line I am trying to draw a plot in R. The resultant chart should be something like this:
So far, I have written some codes and the main components of the chart has been created... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591205",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Win32 cannot get the window to be repainted and updated In a Win32 application, I am trying to set the background color after the window has been created. It doesn't matter that it will change it for all instances of the window.
HBRUSH brush = CreateSolidBrush(RGB(0, 0, 255));
SetClassLongPtr(handle, GCLP_HBRBACKGRO... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591206",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: PrismaCloud CVE-2022-36437 Prisma Cloud reports Vulnerability in hazelcast CVE-2022-36437
The thing is that the project does not use hazelcast. It uses payara-micro 6.2023.1
What is the connection between hazlecast and payara-micro?
How to solve this vulnerability?
A: Payara micro is using Hazelcast for clustering ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591207",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: PHP exec function goes in infinite process. What I am doing wrong? I accept parameters from form and after submitting that form I call python file using exec function and pass previous parameters as command-line. But when exec function execute, it goes in infinite process and didn't redirect back to form page. I hav... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591209",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Symfony template override doesn't work on production I am working on an app written with Symfony 4.4.
It uses the EWZRecaptchaBundle to handle captchas.
However, this bundle doesn't deal well when there are two captchas on the same page.
To address this issue, I had to override its template by creating templates/Bun... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591211",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: why scanner.close() gives runtime error in java? Here is the simple code question that I was trying to solve in Hackkerrank portal i.e Java Output formatting. The code snippet is as below:
import java. util.Scanner;
public class Solution {
public static void main(String[] args) {
Scanner sc=new Sca... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591212",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: how to add unlimited array or vector without using List? on c# I want to create an add method to add movies without any limitation however I don't want to use List
and what i have used in this code is that i have used array and vector but it is limited i don't want it to be limited
I expect it to be added every time... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591213",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How do I make a PWA app think it's been opened from the "homescreen" on Chrome desktop? I want to test a PWA using my desktop Chrome browser. I have enabled device emulation using the Developer Tools. But the app keeps asking me to add it to the homescreen and open it from there. How do I make it think it's been ope... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591214",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Extent Reports are not generated as Bamboo artifacts.Logs are created When I run my code Java Selenium Maven project locally It generates Extent reports.But when the same is run through Bamboo it is not publishing Extent reports.Only logs are published.
I tried different copy patterns.Still it doesnt work.
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75591216",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: flutter shows null in list view but when printed it shows the data I am using cubit and clean architecture for my flutter project and I am trying to integrate get method and display the data in the screen, problem is after I integrate my get method which is successful btw, it even shows 200 status code but when I tr... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591217",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Does conditional rendering/having a loading page mess up next.js prerendering? I'm using next.js and react in a project. What i want is it conditionally render my promo pages and show an expired or promo page depending on the status.
If i add a loading component while it check whether the page is expired or not, wil... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591220",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: problem with my visual basic weighting scale reader i have written a program i visual basic which is supposed to read weight from a weighting scale into a label through serial(rs-232) connection, but for some reason it just doesnt read the weight?
someone please help me out
here's what i've done:
Public Class Form1
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591221",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to test a decorator which makes a decorated function being called forever in fixed time intervals I have developed a decorator with which a decorated function is being called forever every x seconds.
@run_periodically(cycle_time=1) # in seconds
def action(exec_time):
print(f"exec_time: {exec_time}")
Calling... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591223",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Dask delayed data mismatch I wish to combine many dataframes into 1 dataframe with dask. However when I try to read those dataframes with dd.from_delayed(parts, meta=types) I get the error Metadata mismatch found in 'from_delayed'.
The full error:
Metadata mismatch found in `from_delayed`.
Partition type: `pandas.c... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591225",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Convert array to tree array in javascript I have a Tree array of objects and I want to convert it to use it into my primeReact component
This is my input data :
[
{
name: "My name",
Myid: "1",
children: [],
type: "type1",
label: "Mylabel",
function: "myfunction",
},
{
name: "Name2... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591226",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Why do my Radio buttons state not updating? I've tried :
*
*using two Obx, one for each RadioListTile
*use TextEditingController() as the variable and get the value from gender.text
But the RadioButtons still selecting the initial value/
Minimal code reproduction:
import 'package:flutter/material.dart';
import '... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591227",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Sign in using biometrics with AWS Cognito and react-native-biometrics I got a React Native project already configured and in the finishing steps. Now I need to add the option to sign in using biometrics.
I already have the user pool in Amazon Cognito and the auth in AWS Amplify. react-native-biometrics provides a pu... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591228",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Using native iOS and Android SDKs in a .NET MAUI app Iβm working on a .NET MAUI app that needs to accept credit card payments through Stripe.
If we want to create our own checkout UI and flow, as opposed to using a Stripe hosted checkout page, it looks like we need to use Stripe mobile SDKs to process and send sensi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591229",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Started a new RDS instance, and fees went ballistic (well, nearly) for some reason? Created a new RDS MySQL t3.micro server to use for development purposes and testing. Total cost is supposed to be $0.026 per hour for a Standard, Single-AZ instance of this type in my selected region which means around $18.72 per mon... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591230",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to salve this error SMTPAuthenticationError at /auth/users/ I am trying to send email from backend to other but I face to this error
(534, b'5.7.9 Application-specific password required. Learn more at\n5.7.9 https://support.google.com/mail/?p=InvalidSecondFactor f25-20020a05651c03d900b00295a5aa9d05sm1136834ljp.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591232",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Getting passwords error on Helm upgrade for Airflow I am getting the following error on installing a custom docker image as a revision. I am not able to figure out the reason. So far I have tried adding secrets with the password and it didn't work
helm upgrade --install airflow apache-airflow/airflow -n airflow -f v... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591233",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Does word mean different in memory and OS? I learned subject digital circuit in college.
in this class, When memory is 1024 * 16 memory,the number of address is 1024, and word size is 16 bits.
so I substituted this formula for 32bit-OS memory size.
32bit-OS memory size is 2^32 * 8 bits = 4GB.
According to the formul... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591234",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-3"
} |
Q: 'ReportServiceConfiguration' does not contain a definition for 'ReportingEngineConfiguration' error in Telerik Web Report Designer (dotNetCore) api I have built a Telerik Web Report Designer web api using the dotNetCore and it has an issue of 'ReportServiceConfiguration' does not contain a definition for 'ReportingE... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591235",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to escape [ ] in powershell Let's say I have a folder with name "Folder [MyGitHub]" and it has one subfolder with name "1"
When I try the following powershell,
$sourcePath = "D:\Folder [MyGitHub]"
[array]$buildDirectories = Get-ChildItem $sourcePath | Sort-Object Name
Write-Output $BuildDirectories[0]
The excep... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591240",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: PHP printf function catch the string as string spicifier I use the following code to print the pagination links in wordpress:
printf('<a class="page-link" href="' . get_pagenum_link(1) . '">1</a>' . "\n", $class, esc_url(get_pagenum_link(1)), '1');
It is ok and it works for English search query. But when i search w... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591244",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: AppDatabase instantiation always null even after initialization I am implementing an android app which retrieves my device location and store it in a table . I first instantiate AppDataBase Class and then initialize it in the onCreate() method . But when it comes to call a Dao method , i always get the error :
Attem... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591245",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Flutter Midtrans Payment Gateway im trying to use this package called midtrans_sdk. It's basically a package that allowed me to use the "midtrans" payment gateway.
In the void main function of the code there's "await DotEnv.load();".
Which i can't use because it throws load function is not defined. I tried to search... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591248",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to build an LLVM/CLANG aarch64 cross-compiler for use on x86? There are two different kind of compilers:
*
*(I) host compiler (may be used, for example, on x86, arm, aarch64 PC to compile binaries for the same platform)
*(II) cross-compiler (may be used, for example, on x86 PC to generate aarch64 binary)
I f... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591249",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: node_modules/preact/src/jsx.d.ts:2145:22 - error TS2304: Cannot find name 'SVGSetElement' I am experiencing this build error since last two days (Angular App).
Error: node_modules/preact/src/jsx.d.ts:2138:24 - error TS2304: Cannot find name 'SVGMPathElement'. 2138 mpath: SVGAttributes<SVGMPathElement>;
node_modul... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591250",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: I can't connect my back-end (an EC2 instance to a cloudfront distribution) with my front-end (s3 bucket a cloudfront distribution) with HTTPS Hi everyone and thx for your time.
Right now im starting to learn how to use AWS, so i've been asked to add HTTPS to a project.
I can't connect my back-end (an EC2 instance to... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591252",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Issue in Converting SQL Join Query to Linq/Lambda Query in C# I am facing an issue of converting the below sql query to linq query in C#
SELECT *
FROM [KSP].[Module] AS m
LEFT JOIN [KSP].ModuleRoleMapping] AS mrm
ON M.id = mrm.moduleid AND mrm.RoleId=1
"mrm.RoleId=1" --> 1 will be considering as a parameter wh... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591254",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Google Business Page merge / duplication problem I have 2 business (Company A & Company B) in my google local business account both at the same address but they are different companies. It was working like that for many years, but suddenly google sent us an email that they found Company A found "repetitive". So it d... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591256",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: Two tasks Sharing the same State Machine I have two tasks doing the same job (two spi gateway) in the system but i have one state machine for both task
so if one task can't communicate (ex: failed state) i want the other also to stop communication even every thing is okay from it's side. so how to syn state machines... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591257",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: There was a failure executing the receive pipeline I'm using Microsoft BizTalk Server 2020 with Office365 Outlook Email adapter in a Receive Port.
Adopting a custom pipeline (with custom component) receiving a mail, when a pipeline error occurs, the message doesn't suspend, and I've these errors in the application e... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591258",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Windows:RabbitMQ: Error trying to connect to localhost in background service I'm trying to start a service in the background, but it crashes when I try to connect to RabbitMq
Trace:
System.IO.FileLoadException
in RabbitMQ.Client.Impl.SocketFrameHandler..ctor(RabbitMQ.Client.AmqpTcpEndpoint, System.Func`2<System.N... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591259",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: StorageQuotaExceeded: The user's Drive storage quota has been exceeded.) for service account - how do I increase it? I have a google drive API integration setup using a service account. The service account name ends in: iam.gserviceaccount.com.
Now it is correct that this account has quite some files created in our ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591260",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Calling module in a folder in docker I have the following project structure
.
βββ app
βΒ Β βββ main.py
βΒ Β βββ foo.py
βΒ Β βββ bar.py
βββ Dockerfile
βββ input
βΒ Β βββ data
βββ output
βββ README.md
βββ requirements.txt
βββ rest_api.py
And my Dockerfile
FROM python:3.9-slim
# install require OS packages
# we use apt-g... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591264",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to remove items from a Mongodb collection based on the lack of a specific key? As the title says, I'm trying to remove items from a collection based on the lack of a specific key.
Is there a nice way to do this?
For example, in the set below, I want to delete all records that DO NOT have an "updated" key, such a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591265",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |