text string | meta dict |
|---|---|
Q: WPF - MeasureOverride - TextBox does not autosize anymore I have encountered a rather interesting problem. One of my user controls contains a label, a StackPanel which will contain further controls and a TextBox for a comment. The controls in the StackPanel may vary so I've set the Window to AutoSize. Works like a c... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75584788",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Allow null/empty content, or JSON, to be consumed by the same RESTful web service I have a RESTful web service that I would like to handle both cases, where someone does a POST with an empty body, or does a POST with a JSON payload, and react accordingly.
If my resource class looks like this, where "filter" is a POJ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75584789",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Grouping table columns having duplicates in mysql Am trying to group the information from a table called 'fruit_tb' below where the columns, 'cat_item' and 'ng_value' fall under their respective column 'ng_fy'; Below is the extracted table from MySQL.
cat_item
ng_fy
ng_value
Apples
2019/20
5
Mangoes
2019/2... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75584790",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Docker compose : Nginx reverse proxy with multiple containers I need to use conteinerized nginx as a reverse proxy to pass all requests/api/* to one service and rest of them to another.
So I have two services in docker containers, accessible by localhost:3000 and localhost:3001.
Also I have a Docker container for pr... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75584792",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Blazor - Best approach to building an installation/upgrade wizard into the web app? We are building a Blazor app. Due to the nature of customer environments we may not have physical access to the database server but will be given appropriate create permissions. We want to build a feature into our app that will do ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75584793",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Spring Batch Job not launching `I have just started with spring batch . I have done all of my configurations for spring batch . But the jobs are not getting launched . Instead tomcat server is getting up.Here is my configuration
@Bean
public FlatFileItemReader<CustomerDetailsDTO> customerCsvFileReader(){
return ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75584794",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: script and php ? document.getelementbyid? <?php
if(isset($_POST[`submit`])){
$password=$_POST[`password`];
$c_password=$_POST[`c_password`];
if($password != $c_password){
echo "document.getElementById(`text`).style.display = `block`";
}
?>
<form method="post" action="">
<l... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75584795",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-4"
} |
Q: Flutter, url_launcher Please help with url_launcher. Added everything to pubspec.yaml. I'm still just learning and everything is much clearer with an example. What is wrong with me here? I need to put a link to the button on the button.
Container(
padding: EdgeInsets.all(10),
child: ElevatedButton(
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75584797",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Not adding palette in Unreal Engine 5 I migrated to Unreal Engine 5 due to some issues.
And I no longer have the ability to create any palette or library.
I searched on the internet but did not find the answer to my question.
What should I do to solve this problem?
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75584801",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Call batch files in subdirectories without specifying parent directories Okay i'm trying to run batch files in subdirectories, but the master batch file that calls them is also a few directories deep, and the filepath will change on every PC I use this on. So i'd like to call the files from .\Path1\Run1.bat and .\Pa... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75584804",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: React Native: getting hprof file too big error even when file isn't present When I try to run git push origin master in my React Native app, I get File android/java_pid60072.hprof is 564.94 MB; this exceeds GitHub's file size limit of 100.00 MB even though android/java_pid60072.hprof doesn't exist in my project. I t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75584805",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: git COMMIT_EDITMSG not updated after pre-commit hook failed I am trying to set up a python pre-commit hook that enforces referencing a JIRA id in the commit message. If this JIRA id is not present the commit is rejected/the hook fails. I have a .pre-commit-config.yaml
set up and a dedicted commit-msg.py that returns... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75584806",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Ubuntu 18 Desktop remote login Ok using PUTTY, cannot login locally Using PUTTY I can login, but after moving the computer on my desk the system says "sorry, try again".
Username/password are definitely correct.
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75584807",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Group by (by name) and Sum (balance) using Linq in ASP.NET MVC I have a function that returns a query. I would like to group the information by name and do a sum by balance.
I leave an example and my code I would like to know what I can add to make this filter in my code.
That's how is showing now the data.
Name ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75584810",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: my "a" tag have one super "li" tag and two sub tag "i" and "span" the text of link is under spin tag i want to access link by selenium python
Solicitud
*
Buscar Solicitud
Nueva Solicitud
Cliente Empresa
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75584811",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: What does the sequence #' mean in Python source code In os.py there is a strange marker #' under the docstring and just before the imports
>>> import os
>>> os??
File: /usr/local/lib/python3.11/os.py
Source:
r"""OS routines for NT or Posix depending on what system we're on.
This exports:
- all functio... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75584813",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Extract part of string with bash script I am working on a bash script to automatically pull substrings and format the output. The input of the script is coming from other commands that are being piped to this script.
Example input:
Session ID #112233: TicketID://111222333444
Name: John Smith
TimeStamp: xx:xx:xx:x... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75584814",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Is there a way to display labels on pie chart sections using nchart? I was using the information from this post to make a pie chart for a Microsoft Teams bot, but could not figure out how to display the percentages for each section on the chart. Is there a way to do so?
I tried adding a 'label' property onto each se... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75584817",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: DatePicker background field Picker i have project and this project contain many interfaces, and among these interfaces, there is interface to display date
I have datePicker, and i want to put color for the background of field, but no color appear,
the question is, how can i put backgroundColor for the field of DateP... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75584818",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to fix "transaction hash: null" in my java code? after running the code appears - transaction hash: null
RawTransactionManager manager = new RawTransactionManager(web3, credentials);
BigInteger sum = BigInteger.valueOf(100000);
String data = encodeTransferData(toAddress, sum);
BigInteger gasPrice = w... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75584819",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Simple Vault with assembly design proteus Please help me - how to change "masterkey"
change to lcd
add alarm (wrong entry) ----(if it was possible)----
The project is at this link
https://github.com/osemrt/8086-Microprocessor/tree/master/03_Simple_Vault#readme
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75584822",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: Integrating with python's quad function over multiple values using vectors (instead of for loops) with changing bounds I have a problem which in principle can be illustrated with the following example:
a,b and c are constants. f(x) generates my integrand.
def f(x,a,b,c):
return (ax**2+bx+c)
I want to compute th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75584823",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Pass a variable from class in another class in python How can I pass a variable from class in another class in python?
I'm a beginner, I just started learning python and tkinter.
Example:
File main.py:
if __name__ == "__main__":
root = Tk()
window = Articles(root)
root.mainloop()
when run this code, art... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75584827",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: What's the most efficient way to edit text in a terminal when building a text editor? I'm trying to build a text editor in C using virtual terminal sequences AKA escape codes. The way I was going to edit the contents of a file was by using an alternate screen buffer, similar to what vim does. Then if someone is tryi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75584830",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Hamburger menu not showing on mobile phone I just finished my homepage, but when it comes to testing I'm a bit confused the navbar is completely fine on my Desktop browser for all sizes, but when i test it on my android phone in any browser the button does not take any effect...
anyone help me please... I've done ev... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75584831",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Binding Custom ListView Control Xamarin Fomrs I have a list view control imbedded in my homepage. I have a home page view model that is binded to the home page. I have a list view in home page view model I just want to pass that list to my list view control.
Here is my home page.
<?xml version="1.0" encoding="utf-8"... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75584836",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Pass returned value from a previous Python operator task to another in airflow I am a new user to Apache Airflow. I am building a DAG like the following to schedule tasks:
def add():
return 1 + 1
def multiply(a):
return a * 999
dag_args = {
'owner': 'me',
'depends_on_past': False,
'start_date': ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75584837",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: VBA Change Body Font and Color in Meeting Invite in Outlook I need some help here. I am trying to create a meeting invite in Outlook using Excel VBA but I want part of the body text to be a different color than the rest. I've been able to find code on VBA sending emails but nothing on Meeting Invites. Please help :)... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75584839",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Python Lambda Function returning KeyError Currently trying to create a (simple) Lambda function in AWS using Python 3.8:
import json
import urllib3
def lambda_handler(event, context):
status_code = 200
array_of_rows_to_return = [ ]
http = urllib3.PoolManager()
try:
event_body = event["body"... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75584842",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: symfony project development server in WSL1 logs error message every second -> how to control PHP-FPM and WebServer logs When starting the development server of my symfony project in WSL1, PHP-FPM logs every second
*
*failed to retrieve TCP_INFO for socket: Protocol not available (92)
WSL1 is necessary, because my... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75584843",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Postman crashes when running collection with large response, but only when request has a TEST I have a small (2 request) collection that crashes Postman under certain specific, confusing conditions. The collection is as follows:
*
*A GET request obtains a set of integer identifiers from one service and, in its te... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75584847",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Compare Excel Data in the Same Column and Store Corresponding Rows Value in UIPATH I want to compare and figure out data in a single excel column(id)
It will iterate till finding next new number , if new number found then it will check if downwards and figure out how many are there and will consider all of the corre... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75584848",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Solidity error :creation of buildTree errored: Error encoding arguments: Error: incorrect data length I am trying to implement basic structure of Merkle tree , below is the code :
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
contract buildTree{
bytes32[] private leaves;
bytes32 private root;
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75584849",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Oracle database won't connect day after connection worked. I can connect in SQL Plus but not in Oracle SQL Developer The other day I made an Oracle database and connected to it via Oracle SQL Developer. Now when I go back to SQL Developer and put in my password this error appears. "The Network Adapter could not esta... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75584850",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Javascript Uncaught SyntaxError: Invalid or unexpected token clicking on edit button on the comments doesnt always work. in the console it gives me Uncaught SyntaxError: Invalid or unexpected token (at view.php?photo_id=13:154:31) and i cant figure out where is the problem.
When i click on edit button, it should ope... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75584853",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: Removing space with margin and padding not working How do I remove the space between the bottom of this codepen and the footer div. I have tried the suggestion on this SO post but that doesn't seem to work. Thank you.
* {
margin: 0;
padding: 0;
}
body {
background-color: grey;
bottom: 0;
margin: 0;
}
.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75584854",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Python kivy doesn't work when I convert my code to exe As a code, it works without any problems but when I convert it to exe, I get Unable to get window, abort error I tried all the solutions I found in the forums Can a person who can convert this code to exe for me tell me how he did it?
from kivymd.app import MDAp... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75584855",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Message getting consumed multiple times from Kafka I am facing a weird issue while using Kafka. We have a Kafka server setup and are using the Kafka-node client on the backend to consume or produce messages to Kafka topics. The issue is happening when the message is consumed from topics. Sometimes a particular messa... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75584856",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Adding Multiple Layers to my Deck.GL Library For some reason, only one of my deck.gl layers is showing up on the map. The geojson layer works but the polygon and scatterplot layers do not. The API is fetching but nothing is populating on the map.
I am expecting the scatterplot and polygon layers to show up on the ma... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75584857",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: I can't customize summary reports Is it possible to add a column with the response Body present in the Results tree view to the summary report?
I would like to generate a simple report with Jmeter that contains Average, Label, Error taken from the summary report and in case of error it must insert the complete excep... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75584861",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: java error (java.lang.UnsatisfiedLinkError) I have this error when I run the main FXML class:
java.lang.UnsatisfiedLinkError: C:\Program Files\Java\jdk1.8.0_301\jre\bin\prism_common.dll: Can't load this .dll (machine code=0x0) on a AMD 64-bit platform
This is my Java version
java version "1.8.0_301"
Java(TM) SE Run... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75584865",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: read docx() in R appears to be checking the boxes "Different First Page" and "Different Odd & Even Pages" in Word once the document is printed Pretty simple question here, but I can't find any resources as to why this is happening.
I am using the officer package in R to automate the replacement of some text at bookm... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75584869",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Is there a Twilio Bulk SMS Api other than Notify? I have a system that needs to send > 50k SMS customized SMS messages. I would like to do this with the fewest API calls possible due to some other constraints.
Most of the answers here will point me to Twilio Notify, which has reached the end of its life this year.
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75584877",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: PowerPoint: Clicking on a shape and having its text appear on the random slide it takes me to I want to be able to click on a shape, with text in it, and have it take me to a random slide. On that random slide, I want the text from the shape I clicked on to be displayed.
Here is the code I'm currently on. I can get ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75584878",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to export files from Ionic-App to a specific device folder (Downloads folder)? What is the problem?
I can´t find the "Downloads" folder inside the "Directory" class
What do i need?
I need to know if it is possible to export any type of file from an Ionic-Angular Mobile-App to the device folder i want (in this ca... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75584879",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How do I solve the grasping thumb problem in Expo React Native?
My users have very small hands (they are young children), and they tend to grasp the phone like the image with their thumb touching the screen.
I have a button at the bottom for taking pictures, but it's not triggering because of the grasping thumb. I'... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75584881",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: scraping on dynamic page I'm trying to collect the price from a page, but the product parameters are not present in the URL, the values are dynamically generated according to the selected options. Is it possible to scrape this value even though it is dynamic? How do I do this process?
https://www.imprimapormenos.c... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75584882",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-3"
} |
Q: Gradle property of parent project not found in sub-project I'm trying to define global properties in the build.gradle of a parent project, so that they are accessible in the child-projects.
I have a simple project structure like this :
parent-project
|
|_ subproject
| |_ build.gradle
|
|_ settings.gradle ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75584884",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Hibernate: update many to many with extra columns relationship I have trouble with Hibernate and manyToMany relationship with extra-columns, below my code:
@AllArgsConstructor
@NoArgsConstructor
@Data
@EqualsAndHashCode(callSuper = true)
@Entity
@Table(schema = "XXX", name = "YYY")
@Audited
public class TransactionE... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75584886",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Paypal Button manager api throwing 404 not found error on Live site We have integrated Paypal "Button Manager api" for our clients in 2015,till last wednesday it was working fine but since then it has stopped working and throwing the error "404 not found".
I have already checked the token,Api username, and Password.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75584887",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: i can't use interpolation in my Angular app this is the code, i'm trying to use interpolation on my input, but it just don't work, tried setting the value of the input the same as the User username, but none of these worked
<ion-header>
<ion-toolbar>
<ion-buttons slot="start">
<ion-menu-button></ion-menu... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75584893",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How can I stop a loop when I stop pressing a key with pygame So, I've done a loop while a key is pressed but if I try stop it when a key is released
pressed_d = False
while True:
if terrenox < -1920: terrenox = 0
for event in pygame.event.get():
if event.type == pygame.KEYDOWN and event.key == pygame... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75584905",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: RuntimeError: The size of tensor a (10000) must match the size of tensor b (2) at non-singleton dimension 0 I am trying to implement a neural network for solving PDEs with PyTorch. In the loss function, I want to define a boundary loss function. But I am stuck there and keep receiving this error:
RuntimeError: The ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75584908",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Azure Virtual Gateway IP I have an existing virtual network gateway assigned to a VNet/SubNet. Now I need to update the IP range so we will need to create new subnet and assign to gateway.
Is there a script to move the gateway to the new subnet? Also, we are using express route, so do we need to recreate the circui... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75584910",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: webpack 5.73.0 compiled successfully infinite loop i am trying to run a react webpack application however when i run the react app via npm run dev however the webpack build goes into an infinite loop. when i run npm run dev this is the output:
> frontend@1.0.0 dev
> webpack --mode development --watch
asset main.js ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75584911",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Connecting to an MongoDb from webpage anonymously — finding the DSN I am trying to connect to MongDB via Atlas Realm from a web-page. The instructions, of course, make it look easy, saying you should do this:
const mongo = app.currentUser.mongoClient(DATA_SOURCE_NAME);
They just don’t tell you want your Datasource... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75584912",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Repeating all rows of specific dates where dates missing using Python pandas import pandas as pd
data = {'Date': ['1-Dec-23', '1-Dec-23', '1-Dec-23', '5-Dec-23', '5-Dec-23', '5-Dec-23'],
'Balance': [10, 20, 1000, 50, 100, 200],
'ID': [1, 2, 3, 1, 2, 3]}
df = pd.DataFrame(data)
# **Output**
index ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75584913",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-3"
} |
Q: Testing a func to read a specific JSON config file I am new to testing in Go and am trying to test a func that reads a JSON config file (for Snowflake).
I've read several questions that suggest using an io.Reader interface but I can't totally put it altogether on why it makes sense to do so as well as how to do so s... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75584922",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Are there tools to translate crystal reports? I am looking for tools to localize crystal reports. Especially things like date, time and paper size, much less with strings. A search do not turn-up much results. We used to use a Crystal Translator from Softlang, but it looks like it is not getting modernized/updated a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75584923",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: HttpWebRequest post arabic data like squares I am trying to send a HttpWebRequest data in Arabic to my e-shop using c#. The problem is that in e-shop the Arabic chars. looks like special characters
like this
My c# code is in bellow. If some knows how can fix this please help.
HttpWebRequest request = (HttpWebReque... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75584924",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Get ticker prices for all symbols via websockets for Binance Futures I would like to subscribe to Binance's Futures websocket price feed to receive the current ticker prices for all symbols with the Binance GO api. The documentation states that the WsAllBookTickerServe returns all ticker prices. However, event is a ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75584926",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to add an XML element to an existing text in a XML file with python I have a problem with some values not being declared as XML elements in my XML files. But for further processing, I need them to be an element.
Example:
<A>
<B id="254">
<C>Lore</C>
<D>9</D>
12.34
</B>
<B id... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75584928",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Raspberry pi solenoid unable to fire. Code or circuit? I have a clapper solenoid that can't seem to fully clap. If I disconnect my wires from the relay and just click them together it claps fully no problem so I assume the circuit is fine. My code was/is relatively simple and worked with a different clapper solenoid... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75584929",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: could "anti-private, anti-public, or anti-protected" be useful in OOP? I was browsing esolang.org and noticed an OOP called KickMe and it's classes can never access their own members. Their methods and variables are set to be one of three protection states
*
*anti-private restricts access to only other classes, bl... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75584934",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Don't halt the program to wait for input with sys.stdin.read(1) in Python I want my program to read input from the user without waiting for enter to be pressed. I had this working solution for Windows:
import mscvrt
if mscvrt.kbhit():
user_input = mscvrt.getch()
The kbhit call checks whether user input is read... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75584935",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: how to parse jsonObject and valid the key/value with kotlin efficiently Need to get string out from JsonObject and put in map. But for a special key, expect it has value of json string, and if not then put in empty string, or if the key does not exit in the jsonObject then put in empty string as well.
e.g. key == "c... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75584942",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Java version for Chronicle product Chronicle product support Java 8 (openjdk8) or 11 (openjdk11)?
I see this https://stackoverflow.com/tags/chronicle/info mentions Java 8, but this was updated long back.
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75584943",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: insert two lists to dict with different length I have two lists as following
users_member = ['User1', 'User2', 'User3', 'User4', 'User5', 'User6']
date = ['2023-02-27 09:50:55+00:00']
as far as I know ,I need to create dict from 2 lists so I will be able to save it as JSON file format in this way, I will have a refe... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75584944",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: How to render the fireball on the canvas? I recently develop a web game application named warlock using Django. However, I can not render the fireball skill on the web page. This "Fireball" skill says that every time I press the Q and click left mouse button, the player fires an orange fireball. But now I can only r... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75584946",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: login authentification in c i need to find a way to create an authentication app in c
but it can't display the result it only shows a *
it also stores the password in the file so that it can also access it after complete execution
i have'nt tried much code to do it
#include <stdio.h>
void main()
{
char password[1... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75584947",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: VBA - Insert images in corresponding cell Based On Cell Value and return nothing, if cell is empty or if image is missing The below code seems off as it doesn't seem to pull images consistently.
*
*For empty cells it displays "The linked image cannot be displayed"
*For some of the non-empty cells, the macro doesn... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75584950",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Assign value to a column if column name contains matches value from another column I have a dataframe like below and I want to assign value=1 to columns (batch_typea_2021, batch_typea_2022, batch_typea_2023...., batch_typeb_2021, batch_typeb_2022, batch_typeb_2023...) based on year in columns typea_date, typeb_da... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75584951",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How do I write a emacs hook to prompt before killing a dired buffer? I have a buffer of a directory using the dired command. I have some marked files in that buffer and I want emacs to prompt me before I kill the buffer. I understand I have to write a hook but don't know Lisp nor the emacs functions to use. How do I... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75584953",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Access Laravel Environment variable in React Component I have a Laravel Application where I am using React Components in some of my views. I am using "axios" in a component to make an HTTP request. I need to access an API KEY in component which is stored in Laravel's '.env' file. Currently I have a component 'http.j... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75584954",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Unable to login into Dockerized Rails 4 application only on uat server The docker image works fine when used locally on my mac as well as on production (CentOS). However the login just doesn't work on UAT (CentOS). This happened quite recently and have just not been able to figure out why?
The login detects invalid ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75584955",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Why is jQuery duplicating network requests for images? I am working on a WordPress site that uses jQuery Waypoints. The script is loaded via wp_enqueue_script in the functions.php file of a custom theme.
On my homepage, I have 3 SVG images that are loaded via the Media Library. I use SVG Support plugin to allow SVG ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75584957",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: DefaultAntiforgery error after new webfarm servers added I'm running .NET 6 webfarm on 4 web servers that were configured to use a DFS replicated share between the DCs for the File System storage of the Data Protection keystore. Two new web servers were added but the server admins forgot to configure the access to t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75584959",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Error loading admin portal in Orocommerce CE 5.0: No such file or directory for oro.css and app.js I am new to Oro and I recently installed Orocommerce CE 5.2. While most of the pages seem to be working as expected, I am experiencing some issues with the admin portal. Specifically, when I try to access the portal, t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75584962",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to show normal date format in the table headers in grafana? I have a following table generated with SQL query in Grafana.
I need to group data by date and that's why using a transformation called Grouping to matrix. But unfortunately it's converting my date into a unix timestamp.
Question: How to show human re... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75584967",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Use SwiftBond (ReactiveKit) with Codable Struct? I'm trying to make my Codable model work with ReactiveKit/Bond. I believe I need to conform to the PropertyProtocol and set my properties as Property types, but decoding fails. If I set var x: String decoding doesn't fail.
What I've tried:
import Foundation
import Rea... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75584968",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: 301 error response when trying to connect to socket using Flask-SocketIO, Nginx and Gunicorn i've been stuck since a few days with a problem while deploying my socket using a VPS with nginx and gunicorn, I need to point that I'm running an API and the socket in the same flask app instance ( I read that this shouldn'... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75584969",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Android studio not showing textSize attribute for TextView I've just began a tutorial to learn Kotlin Development but I realised that, when I select a TextView component, I don't have access to the textSize attribute, nor the common attribute section as we can see on the picture.
I've seen this response already but... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75584972",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: What to pass in as type handler for Bluetooth class for data transfer? I am working on an Android app to communicate wirelessly with an Arduino over Bluetooth with an HC-05. I have been following the Transfer Bluetooth data documentation from Android. The following code is what I am using to send and receive data.
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75584974",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Generating combinations in order of their sum Itertools combinations seem to come out in lexicographic order:
>>> for c in combinations([9,8,7,2,2,1], 2):
... print(c, sum(c))
...
(9, 8) 17
(9, 7) 16
(9, 2) 11
(9, 2) 11
(9, 1) 10
(8, 7) 15
(8, 2) 10
(8, 2) 10
(8, 1) 9
(7, 2) 9
(7, 2) 9
(7, 1) 8
(2, 2) 4
(2, 1) ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75584975",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How do I determine if a char is emoji? I have a really long string containing emojis, i want to "normalise" it. I make it lowercase, replace all non alphabetic letters with their alphabetic analogue. etc the code is below
std::string normalise(std::string to_normalise)
{
std::unordered_map<char, char> char_map =... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75584978",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Issues with metaprop a function of meta in R I am working through the solved example linked here. Everything works except for the "Weight" column which displays the data from the w.random variable in the metaprop output as you will see in the code.
Using meta, metaprop, and forest to create forest plot graphics in R... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75584979",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Why am I getting an ERROR 1064 when executing this select with subselect? My task given
The given SQL creates a Song table and inserts some
songs. The first SELECT statement selects songs released after 1992.
The second SELECT statement selects the release year for song with ID
800.
Create a third query that combin... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75584982",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Bad Request Did not attempt to load JSON data because the request Content-Type was not 'application/json'. Using Python, sqlite, flask, API Bad Request
Did not attempt to load JSON data because the request Content-Type was not 'application/json'. is returned when trying to POST and PUT data into database using flast... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75584984",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: freeradius-mysql packet not available apt -y install freeradius freeradius-mysql freeradius-utils
I have the error:
the freeradius-mysql is not available.
root@server:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 20.04.5 LTS
Release: 20.04
Codename: focal
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75584987",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Dynamic Lookup Activity and split function ADF I am trying to run a select * query for table having where clause as tablename.
The table name is coming from pipelinename, so want to use split function.
A: Based on the above picture, you are giving the query in SQL. Your expression is correct but give the query in ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75584988",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to hide the header of the section in collectionView and change the spacing I have a collection view and it looks like this enter image description here
(pls don't pay attention to the colors, they're just for testing)
and I need to hide the title of the section when it matches to the title in the navigation bar
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75584989",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: How to make Highcharts work inside an Electron App? HTML document: <script src="code/highcharts.js"></script>
In a renderer js file: Highcharts.chart('graph', {...});
The main.js looks like this:
win = new electron.BrowserWindow({
width: config.width,
height: config.height,
backgroundColor: "#000000",
resiza... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75584991",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Unable to find javax.persistence.NamedStoredProcedureQuery after Spring-Boot 3 Upgrade I upgraded Spring Boot Starter Parent from 2.7 to 3.0.2.
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>3.0.2</version>
</parent>
The code uses some S... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75584992",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Turns skipped in Turtle blackjack game So I am trying to build a game of blackjack in Python and I recently found trutle library. Game is all done and works very well on terminal but on turtle, loops doesnt work for me and it downright just skips some moves. Here is my code:
#Blackjack
import random
import pandas as... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75584993",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Update material-ui global styles in Next.js I have added the following code to my theme.js file, however, the max width and green background are not appearing. Have tried to modify several material ui components, but changes aren't appearing. I am using material ui core 4.12.3. I have checked and the rendered class ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75584994",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Don't deserialize not passed values Question regarding PHP serializer: https://jmsyst.com/libs/serializer
I have request DTO which used for PATCH requests.
<?php
class RequestDTO
{
/**
* @JMS\Type("string")
*/
private ?string $publicId = null;
/**
* @JMS\Type("string")
*/
privat... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75584997",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: dfdl schema to conditionally require/skip an element ref I have broken my schema into parts to make it more manageable, each part is inside a separate file, and I am using element ref
<xs:include schemaLocation="HDR.xsd" />
<xs:include schemaLocation="OPT.xsd" />
<xs:element name="TOP">
<xs:complexType>
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75585000",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Azure Consumption API Parameters This is a segment of Azure consumption API result for my azure account. I am stuck in the understanding of "usageQuantity": 0.000000100582838 parameter(whether it's a CPU ultilization or something else). Is there a brief explanation of this parameter ? how can I verify its value from... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75585004",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to create an own programming language using javascript I'm trying to make my own programming language, but its not going that well. Some commands work, but other ones don't, and I don't understand why.
This is the script I use to create the programming language:
var result;
convert("popup:['hi']; get:['#hello... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75585007",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: registerForRemoteNotifications() blocks mainthread when called from testflight I have a weird bug in my iOS-app. First of all: the bug only appears using Testflight, not when compiling the app through xCode and running it on a device.
I have a simple onboarding TabView with three tabs. The first one has a button whe... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75585008",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |