text string | meta dict |
|---|---|
Q: Why is EF Core not using ON DELETE SET NULL when applying a migration? I am using Entity Framework Core 6.0 and SQL Server.
I am trying to update a relational database to reflect this diagram:
ER Diagram
where a single red line over a relationship represents ON DELETE CASCADE and a double red line represents ON DELE... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75607750",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: program is crashing due to pointer I am learning pointers in C. I understand int * p = &a will assign the address of a. Instead of this way I chose to store the address in another variable and then assigned it to the pointer variable p. I was expecting that program will execute as it usually works with the above m... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75607752",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Does combining random and current time decrease probability of collision in this case? Lets say we have 2 programs constantly generating random 53 bit numbers. First 32 bits are just system random and last 21 bits are the last bits of current timestamp. The programs probably don't have the same current timestamp, bu... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75607753",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Python : How to apply newly trained ML model and TFIDF Vectorizer to rows based on conditions In my current situation, I have trained a Multiclass Text Classification model along with TFIDF Vectorizer which I now want to apply on my dataset but not on every row but to a few based on certain conditions. My example da... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75607756",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Is there a way to concatenate non empty cells combined with the corresponding header, with different separators and with one single formula?
I have an unsolved situation like the one described in the following diagram.
Basically it's an array of cells from column A to E, some of them filled, others empty, and I wo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75607758",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to rename a field of a json response in spring? I have the following method in a @RestController class.
@PostMapping(value="/", produces = "application/json")
public ResponseEntity<EmployeeRoleResponseDTO> addEmployeeRole(@RequestBody EmployeeRoleRequestDTO employeeRoleRequestDTO){
Emplo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75607761",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: correct path for image tag Good evening,
i wanted to ask, what is the rule when you create paths for image tags or modules?
I have in VScode inside the public folder and pictures folder. I want to get the picture to my about.js file which is in the src folder. My question is what is the path. And what is the rule?
I... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75607763",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: ggraph node color and legend not matching This is my tidygraph object which I'm trying to plot
hub_plot1
# A tbl_graph: 50 nodes and 540 edges
#
# An undirected simple graph with 2 components
#
# Node Data: 50 × 4 (active)
name mod kme color
<chr> <chr> <dbl> <chr>
1 CTSZ turquoise 0.908 b... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75607765",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Parse html page groovy My end goal is to get Jenkins build logs located at the following URL:
def consoleFullLogs = "${JenkinsUrl}/job/${jobName}/${buildNumber}/consoleFull"
Since I'm using conoleFull endpoint, I'm getting logs in HTML. I need to parse it to extract the content. I'm trying to parse HTML without any... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75607767",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Generating a matlab plot from an wpf project on C# only works sometimes I'm trying to generate a plot using MLapp class in a C# project.
It works sometimes, but others it gets stuck and doesn't output anything.
I have added a reference to the COM server of the Matlab Application.
That is the code which I'm using:
p... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75607768",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Airtable and Discord Fields and records, create and update I am writing code for my Discord Bot, the following code works but I need a minor change that I cannot for the life of me figure out. When a player sends another user cash, if the user has a previous balance all is well the record updates correctly. However ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75607769",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How can I capture the output of an EC2 instance that is spun up, runs a command, and then shuts down I am using the approach outlined in How can I automatically spin up my ec2 instance, run a command and then shut it down? to run a VM on EC2 with #User data. However, I want a reliable way to capture the output of th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75607771",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Flutter error: NoSuchMethodError (NoSuchMethodError: The method 'getDouble' was called on null Upon starting my Flutter app it shows me the following error:
NoSuchMethodError (NoSuchMethodError: The method 'getDouble' was called on null.
Receiver: null
Tried calling: getDouble("lat"))
This is the section of the cod... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75607772",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Mapstruct map certain list indexes to attributes I have a use case of Mapping where in the source object there is a list and I want to map specific indexes of that list to specific attributes of the target object.
For example -
public class Source {
private InsideSource ins;
}
public class InsideSource {
privat... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75607774",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Google Apps Script: We're sorry, a server error occurred while reading from storage. Error code PERMISSION_DENIED I've a Google Sheets Addon with the following code to launch side bar on click of image in the sheet.
var ui = SpreadsheetApp.getUi();
function onOpen(e) {
addMenu();
if (e && (e.authMode == ScriptAp... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75607775",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: FactoryBoy related factory objects not available in post_generation I have a factory for a Django model (Questionnaire) where I create a set of related items in a trait (Questions that have a foreign key pointing to the Questionnaire). The Questionnaire also has a many-to-many field pointing to a Dimension model. Th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75607778",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Cant get my data from retrofit because "Expected BEGIN_ARRAY but was BEGIN_OBJECT So i have this problem where im asking for an array but im getting an object.
im getting some objects like this :
{
"2324": {
"Install_Date": "2013-11-28",
"LATITUDE": 0.51664504,
"LONGITUDE": 0.30964532,
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75607779",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Reading value of the variable only once In QML is there any way to make the variable read only once and NXT time it should give false, and when the value chaged then only it should be readable.
Before updating the value from the backend, the old state value is setting.
A: Um, below is an example of Javascript's get... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75607781",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-3"
} |
Q: Incorrect BMP Values I have been trying to copy the file data from one BMP file to another. However, the values that are copied are incorrect or doesn't align with the values that are shown on:
https://learn.microsoft.com/en-us/windows/win32/api/wingdi/ns-wingdi-bitmapinfoheader and https://learn.microsoft.com/en-us... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75607786",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Kafka: Not able to run query using where clause in MySQL connector Kafka JSON file:
{
"name": "mysql-jdbc",
"config": {
"connector.class" : "io.confluent.connect.jdbc.JdbcSourceConnector",
"connection.url" : "jdbc:mysql://mysqldb:3306/silicon",
"connection.user" : "root",
"connection.password" :... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75607788",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Why does the Instagram App say, that it has no internet connection, if I use the Squi Proxy Server? I have installed the Squid proxy server and made basic settings. Now I have the problem that the Instagram app says that it has no internet connection. However, when I tested if the website was working on the phone, e... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75607792",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to set the default value for select? I have a form that consists of several fields (select) and so far it is the user who selects the values in the fields from the list.
However, I would like a value to be automatically set in one field (the value is already on another component and would be taken from it).
How ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75607793",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Upload a file daily to an application I'm facing an issue where I have an application and in this application, I created an area where a user can upload an excel file containing data that is read through and written to the database. This is currently functioning perfectly but I just got a new requirement asking if t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75607796",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Add criteria to my workflow so it doesn't initiate on memorized transactions I have an approval workflow running on Vendor Bills, but I do not want it to run when the Bill is created from a memorized transaction. Can I add criteria to exclude those bills?
I thought I might be able to add criteria around User = -Syst... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75607800",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to split a column with tuple into two column, pandas dataframe dummy_df = pd.DataFrame([],columns=['ab'])
dummy_df['ab'] = [(1,2), (3,4), (5,6)]
def dummy_func(x):
return x[0], x[1]
dummy_df.loc[:['a','b']] = dummy_df['ab'].apply(lambda x: dummy_func(x))
I have a dataframe in which I have a column with a t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75607804",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: F# not understanding TCP cancellation I have a NET 7 application, which runs as a Windows service, and starts a HostedService which instantiates one or more instances of a TCP handling class based on end user configuration. A requirement is to be able to start a new instance of the TCP handler or stop a running ins... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75607806",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: In Python, how can I use Selenium to remove overlays from a webpage before printing to PDF? I am working on a Python script that prints a webpage to PDF. However, if a webpage has a popup such as "Sign up for our Newsletter" or "Accept All Cookies" etc. then that gets printed on top of the article or whatever I am t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75607808",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Use spark to find nearest neighbor in binary hamming distance I have a hive table X of 10m binary vectors of dimension 256, and another hive table Y of 1b binary vectors also of dimension 256. How do I write a spark/hive job to find the nearest all rows in Y that's within a Hamming distance of say 16 from for each r... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75607810",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: 2D WASD only movement isnt working correctly im trying to make a local coop top down 2D game in unity where you and another player play with WASD and the arrow keys. However, the code im using only works for two buttons, if i delete the code of one of the working buttons, then another one will work. This code is jus... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75607811",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Format AWS Glue Output I'm have a DataFrame object as a list:
[
{"test":1,"teste":2},
{"test":1,"teste":2},
{"test":1,"teste":2}
]
And i need to save in this EXACT format, but when i convert to DynamicFrame and save using "write_dynamic_frame_from_options" the output in S3 file is
{"test":1,"teste":2}
{"test"... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75607813",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Is it possible to run python38 venv on python37 or python310? My project supports Python37 and Python 310. One library (a2ba_sdk) that I will need to use only supports Python38. Is it possible to create virtual environment for this library and can run it from python37 or python310.
What I am looking for here is to w... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75607814",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to convert a json formatted data in one of the column in python dataframe to multiple separate rows I have a pandas data frame with columns as resource_name, version_id, create_time, update_time, eval_metrics and eval_values. One of the record has "confidenceMetrics" as the value for column eval_metrics. The ev... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75607815",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Handle button click for android webView I've a HTML file which I'm opening up in Android Webview. The HTML file contains a button to copy and a pre tag which have some C++ code written inside. When I Click on button I want to copy written C++ code but I'm unable to do so.
When I click on copy button I get this log i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75607816",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Setting a state variable using another state variable? I have a state variable minSearchDate which retrieves a date, populated by the getMinSearchDate function with a call to the setter.
This works fine, with minSearchDate being rendered in the view..
However, my issue is using the state variable minSearchDate to po... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75607817",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: If I'm developing Facebook an app, do I need to apply for a full review to use the page photo upload features in development mode? I'm attempting to upload a photo to the a users page using Graph API. However, I keep getting errors that are related to OAuthException.
This error to be exact : (#324) Requires upload ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75607822",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Laravel store only one row for website settings I'm working on a customizable webshop in laravel. I'm thinking about how to achieve that the admin can edit the settings of the webshop and store the changes like: phone number, email, logo, what elements can be in the navigation etc.
If I stored it in a "settings" tab... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75607826",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Cumulative average by month I have a date column:
Date
Hours
Week Status
Month average
1/may/2023
2
OK
2
2/may/2023
0
OK
1
(...)
(...)
(...)
(...)
31/dec/2023
(...)
(...)
(...)
I want a formula to:
Month average = cumulative average for the month until the last day of the month.
I just can't figure... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75607829",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Why does the Pandas rolling function produce initial NaNs with an Integer window but not with an Offset window? Using an Integer window argument for the Pandas rolling function produces NaN values for the initial number of values until it hits the size of the window, while using an equivalent Offset does not.
As an ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75607832",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to manipulate values of global variables from within a local scope in php? Two global varibales $limit and $offset are to be used as values for a mysql query upon the clicking of a button. And each time the button is clicked, the global php variables should be incrmented by 4. I wrote a code to make it happen bu... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75607834",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-3"
} |
Q: How to properly handle validation in MERN stack in express-session? Login and SignIn i think it works properly. I have a problem when I try to download data to the front from the StorageTabel.tsx component.
I know that req.session.userId in item.ts getInventory is already undefined and I don't know why?
server.ts:
i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75607837",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: ksqlDB migrations tool HTTP2 Error when trying to apply migrations via ksqldb-cli docker image I am trying to use ksqlDB migrations via a Github Actions file like so: https://github.com/jzaralim/ksqldb-migrations-action/blob/main/.github/actions/ksqldb-migrations-apply/action.yaml. When running my migrations I recei... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75607839",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Optimally assign data to subset of fixed clusters I have a dataset of N instances, a fixed set of K clusters and a N x K matrix of instance-cluster distances. I have to select a set of M <= K clusters, such that the assignment of dataset points to the M clusters is optimal in terms of distance.
How would you approac... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75607841",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: go_router child route not rendering on external link on the web I am trying to create a redirect to a specific screen of my app. I is a child route.
GoRoute(
path: '/redirect',
routes: [
GoRoute(
path: 'google',
builder: (context, state) => GoogleRedirect(s... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75607843",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: App not working despite adding NavHostFragment I am working on a Note keeper app from a plural sight course. I have two activities on the app Anytime I run my app on the emulator it shows build successful but the application does not start. I noticed from the nav graph there was no NavHostFragment in my activities x... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75607846",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How deserialized as an array but receives an object To make a save using the resource, it needs to receive a deserialized as an array I'm getting like this .:
nome=angularjs&telefone=%2B556639687898&cor=2&idoperadora=1
with $jQuery.param(item) or .:
Object { nome: "angularjs", telefone: "+556639687898", idoperador... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75607847",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Multiple Bootstrap Collapses not behaving in Vue with Bootrap Navs Having strange behavior:
I have multiple collapse items on this page and multiple navigation tabs as well.
When I expand one collapse item and toggle to second nav tab, it opens a different slider on that second tab, based on the same position on the... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75607851",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to swith Environment variable in Spring Boot Scheduler I have a set of canary tests that regularly produce and consume on a Kubernetes Cluster via a SpringBoot Scheduler. I want to add a second test that will do a similar operation on our 2nd Geo-replicated Kubernetes cluster.
However, I cannot seem to change th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75607854",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: TypeError undefined reading onDeviceChange makes the website crash if opened in testcafe My goal here is to navigate with testcafe to my website (dev.remo.co) but for some reason Im getting the following.
The code is really not relevant. I issued details in the hammerhead repo but I'm not sure if this depends on th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75607855",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Tried to code the Santa Clause question in William Stallings Operating systems textbook using semaphores in C++ but code is not running Santa Claus sleeps in his shop up at the North Pole , and can only be wakened by either all nine reindeer being back from their year long vacation on the beaches of some tropical is... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75607857",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Find and create empty files There is find to find files and echo -n>filename which creates an empty file even if filename already exists. Now I would like to find a bunch of files with name foo.txt and empty them. I tried
find . -name foo.txt -exec echo -n>{} \;
But this does not seem to work. What would be approp... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75607860",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Github actions build before tests (actions order) I have three github actions workflows - Build, Tests, Mypy. I wanna build docker image in Build and after this run Tests and Mypy in container from this image. I wanna do this on every commit
Now I do it like that:
name: Mypy
on:
workflow_run:
workflows: "Bui... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75607861",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Every number of heads that is statistically significant in 10 coin flips I have this question which I'm not sure how to answer in a problem sheet I've been given:
"An experimenter is flipping a coin, collecting an initial batch of N=10. If these results are not significant using null hypothesis testing, then she wi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75607863",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Use action button to advance to next image with Shiny I have several JPGs in a folder and I want to display an image and allow a user to click a button and a different image in that folder will be displayed. So far I have
library(shiny)
dir <- "dir/to/images/www/"
img_files <- list.files(dir)
ui <- fluidPage(
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75607864",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Jetpack Compose unable to view recomposition count I'm working on an Android project that is using Jetpack Compose for the UI side, and it would be useful to be able to check the recomposition details in the Android Studio Layout Inspector, but the "Show Recomposition Counts" option doesn't appear if the app is runn... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75607865",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Celery worker not handling streaming data properly I am running a streaming task inside a celery worker which is giving me 1 minute candle stick data and then I'm converting that 1 minute incoming data to 5 minute data but this task always starts giving some wierd output after sometime but works fine when I run it o... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75607866",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Why is this template not rendering when I have cripsy forms installed? I'm having trouble rendering a template for a signup.html page in django.
The error consists of:
TemplateDoesNotExist at /accounts/create/
Error during template rendering
In template [PATH_NAME]\cryptoProj\backend\templates\signup.html, error at ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75607870",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Regular expressions in converting wide to long dataframe in R I have a dataframe that looks like this:
d <- data.frame(
sub = c(101, 102, 103),
dmpfc_selfrefneg = c(1,2,3),
dmpfc_selfimmneg = c(1,2,3),
dmpfc_socrefneg = c(1,2,3),
dmpfc_socimmneg = c(1,2,3),
tpj_selfrefneg = c(1,2,3),
tpj_selfimmneg = c... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75607871",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Node js global scope I have nodejs lambda which call aws parameter store to get value for a key, I wanted to call once. So try to set global value and get it in function but it failed. Any one help me. How to keep global scope for a value across lambda.
Aws nodejs lambda to call parameter store only once
A: Making ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75607873",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: A concurrency exception has occurred - Api call, .net core, jsonpatch document update Getting this exception when one of end point of api gets call, on data update.
Also from client end there are two same calls are happening at a same time. Got confused how to fix it. Here is the screenshot
When multiple user perf... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75607882",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Android SpeechRecognizer with USB Microphone I have written this sample app to convert speech to text with SpeechRecognizer API from Android.
This works as expected when there's an inbuilt microphone on the device.
But it doesn't seem to detect the audio from a USB Microphone.
USB Device: Jabra Speak 510 UC (PHS002W... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75607883",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: GNOME contacts - Evolution Data Server: How to get the Object path of the Subprocess in DBus? I want to add contacts to the addressbook of gnome-contacts from a python application via DBus.
Thus I want to call the method CreateContacts(string[] vcards, uint32 opflags) of the interface org.gnome.evolution.dataserver.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75607887",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: not able to access pytest mark on module level fixture I am declaring pytest.mark on the test case, and trying to access that in pytest.fixture.
test_my_code.py
import pytest
@pytest.mark.mymark("test", "mark")
def test_the_code():
assert 1 == 1
conftest.py
import pytest
@pytest.fixture(scope="module")
def m... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75607888",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: PLSQL query that returns rows when first condition is met I have this query
SELECT *
FROM test
WHERE
(test.fee = 30003
AND test.date_from <= TRUNC(to_date('08/03/2020','dd/mm/yyyy'))
AND test.date_until >= TRUNC(to_date('08/03/2020','dd/mm/yyyy')));
That return these records
I need to modify this query to return:
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75607892",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Python logging file rotation including logs from imported module I've looked high and low and can't seem to find the right solution and struggling.
I want to have a logger on my main script which has a file rotation size policy. However I also want to be able to log to this file without having to pass the logger to ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75607895",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Xcode build settings - how to capitalize a variable Inside xcode build settings we can define some custom value. I would define a custom LaunchScreen value based on my current scheme (flavor).
I'm looking for a way to capitalize the bundle identifier value (put the first letter in upper case). I can put all the valu... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75607896",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: WIndows forms app that need to upload files with their size, type and name to a sql DB I have some copy pasted and some written by myself code but I am still really confused around the concept of working with an OpeFileDialog and getting the values from it. While debugging the code it feels like it does nothing when... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75607897",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Including All Fields in MIN/Group By Query I have created my first MySQL query to get the minimum LTP by MarketName/SelectionName. It works ok but I'm struggling to work out how to get the rest of the fields from the original table (checktable).
I just want the records containing with the minimum LTP.
Can anyone poi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75607900",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Unity FPS on Android changes 29/59 When you start the game on Android, the fps is shown at 29.59 (from a few seconds to 3-5 minutes), after which the fps evens out and becomes stable at 60 (the phone just supports 60 hertz). Also, if you minimize and reopen the game, I get 29.59 fps back (what exactly do these two n... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75607901",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to implement scroll-triggered animations in Next.js 13? I am wondering how to implement scroll-triggered animations in Next.Js 13 properly.
I have tried to use a scroll-triggered animation library like AOS, but in order for it to work, it needs to be initialized inside a useEffect hook, which requires client-sid... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75607902",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Error installing Rust wasm-pack for webassembly This in on Win 10.
I started following the instructions on Mozilla/MDN at: "https://developer.mozilla.org/en-US/docs/WebAssembly/Rust_to_wasm#rust_environment_setup" to install the wasm-pack crate for Rust-webassembly. Below is the output showing some context before I... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75607903",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: VS Code Live Server extension goes offline when opening the Chrome dev tools So I currently have a problem with my browser and my IDE (VSCode).
When I open a local host with the Live Server extension on my project and open the Chrome dev tools, the live server instantly goes offline.
If I don't open it, saving my pr... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75607904",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Set Access-Control-Allow-Origin in Wordpress I've already put the following guideline in the .htaccess of my Wordpress site:
Header set Access-Control-Allow-Origin "'self'
https://*.example.com"
So that I can could avoid Cross-origin resource sharing and not trust other resources.
In order to test if it's working,... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75607905",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: filter django filterset on gte, lte and none How do you filter a field on gte, lte or none within django's drf_filters.FilterSet. I can setup a gte, lte filter correctly, but I can't see how the same field can match on null.
class CustomFilterSet(drf_filters.FilterSet):
class Meta:
model = models.CustomM... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75607907",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: How does one-to-one mapping work in hibernate? I have taken two classes, Question, and Answer. I want to map one-to-one. i.e a question has one only answer and vice-versa. But when I tried to associate the same answer to different questions, I expected an error but didn't get any error. It worked fine. So I am now c... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75607909",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Android Gradle build failing with unknown error I've been trying to build a react native app by trying to convert an expo go app into an expo development build. It's already been converted to an apple development build, but it also needs to be converted to an android one so that we can run it. This is the first time... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75607910",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Powershell script to get the desired output
I am trying to integrate azure key vault with aks.
https://learn.microsoft.com/en-us/azure/aks/csi-secrets-store-driver.
In this method,we have to create a secretproviderclass.yaml file .I am trying to figure out a way to automate because everytime I create a new secret i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75607911",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: The trait bound `rocket_sync_db_pools::diesel::PgConnection: LoadConnection` is not satisfied I'm trying to build a rest-api using Rocket, Diesel, and a PostGreSQL database. For this I've tried to "inject" the database connection into a GET method using the rocket_sync_db_pools crate for as quoted in the Rocket guid... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75607914",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Google IMA SDK Overlay Ad for Android I'm trying to integrate overlay ad using Google IMA SDK .
I'm not able to find proper resource or anything related to it, can someone please help me out?
I've already integrated, Pre-roll ad using the same
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75607917",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How do I "link" two tables when the primary key of table_a could exist in none, one or many columns in table_b? How do I link two tables, People and Messages, when there is no single column in the Messages table that corresponds to the primary key of the People table?
I have two tables: one containing email messages... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75607918",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: functional domain driven design using typescript I recently came across an article that seems to provide a really good approach to functional domain driven design using typescript. However, there is one part of the article in particular that I need more clarity on, coding-wise. In the article they create a type Qu... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75607921",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How do I successfully use jquery in emberjs I'm attempting to change the value of an ember 'Input Helper' whenever a separate 'Input Helper' is clicked. The array of js objects is displayed in a child component as is the two Input Helpers the user interacts with. I have the actions bubble up into the template contro... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75607922",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: mysql subselect on group by I have a table of locations
CREATE TABLE `asset_location_rel` (
`a_id` int(11) NOT NULL,
`asset_id` int(11) NOT NULL,
`location_id` int(11) NOT NULL,
`deleted` int(11) NOT NULL DEFAULT 0,
`units` int(11) NOT NULL DEFAULT 1,
`unit_type` tinyint(4) NOT NULL
) ENGINE=InnoDB DEFAU... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75607926",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to display PopUp ShowMessage on Python FMX GUI App? How do I display a MessageBox or ShowMessage popup dialog on a DelphiFMX Python App?
I basically want a Form with a Button and when you press on the button, then there should be a popup like this:
I have a button click event, but I have no idea what to put in ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75607929",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: SQL max With Ties TABLE1
STUDENT SCORE CLASS
1 1 A
1 1 A
1 9 B
2 5 A
2 10 A
3 6 A
3 4 A
3 9 B
3 8 C
3 8 C
I HAVE TABLE1 above and want to take the MAX(SCORE) for all STUDENT-CLASS COMBINATION, but I only wish for ONE Row when there is duplicates, to get this OUTPUT:
STUDENT ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75607933",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: having issues with raspberry pi While tinkering with my raspberry pi 4s resolution, one of my friends applied a change in the screen configuration settings and now the screen is super zoomed in and everything is out of frame so its nearly unusable. Ive had to set the display to "for small screens" just for it to be ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75607939",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: WebAPi is not returning correct status code for Value not found When I do a HTTPGet[By ID], I want it to return an error code of Not Found if the ID is not found in the database however I am getting this code 200 and the response value of "{}".
What am I doing wrong?
[HttpGet("{SessionID}")]
[ProducesResponseTy... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75607942",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Change button appearance after async command completion or cancellation in WPF I want two states of a button that starts async command in WPF.
I use this base implementation of ICommand:
namespace DesktopClient.Base
{
public abstract class AsyncCommandBase : ICommand
{
private CancellationTokenSource... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75607943",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: cv2.error: OpenCV(4.7.0) :-1: error: (-5:Bad argument) in function 'line' I am new to Python - Opencv and I have some difficulties when I try to run the code.
It works well well when I have
imgpts, jac = cv.projectPoints(axisBoxes, rvecs, tvecs, mtx, dist)
img = drawBoxes(img,corners2,imgpts)
Once I change... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75607944",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: GET Request from Nextjs 13.2.3 gives TypeError: fetch failed at Object.fetch I have a frontend client in Next.js 13.2.3 and a backend in ASP.NET Web API (both saved locally on my pc, they are different projects). The backend API works fine because i can see requests going in/out with the help of Swagger UI. I can al... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75607946",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How do I get WordPress snippets to load properly over a CDN? I am using Amazon's cloud front CDN and have placed the following php snippet inside my functions.php file.
function your_hidden_comments(){ ?>
<script type="text/javascript" defer="defer">
var comment_div = jQuery('#comments');
if(comment_div[0]){
jQ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75607950",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Square Payment - Create order and payment with javascript I have a restaurant website from which a client can make order. After selecting articles on a cart, the client is sent to the checkout page in which he will introduce his information and his bank card. I want to make the payment process with Square API, but I... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75607952",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: [SQL]: Efficient sampling from cartesian join I have two tables. What I want is a random sample from all the possible pairings. Say size of t1 is 100, and size of t2 is 200, and I want a sample of 300 pairings. The naive way of doing this (ran on the online duckdb shell) is:
CREATE TABLE t1 as FROM 'https://shell.d... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75607953",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Count users according to custom meta_key tags In wordpress, I created a custom user field called profession by ACF. It includes names of the professions for the subscriber to choose. I now want to count the number of users who selected each of those professions and print their number on screen. The custom meta key i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75607955",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Typescript error on assignment inside Promise constructor (related to executor callback?) Here is a (hopefully minimal) example of what I first did:
let resolveIt: CallableFunction;
const dispatchPromise = new Promise((resolve, reject) => {
resolveIt = () => {resolve(true)};
});
resolveIt();
typescript ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75607956",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How to mark a product as fulfilled with new FulfillmentOrders API? I am developing a script to automatically change the status on a specific service in an order to be fulfilled on Shopify. However, with the new FulfillmentOrders API, in step 1 in the documentation here, https://shopify.dev/docs/apps/fulfillment/orde... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75607960",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Pine script = Change values in code string for alert(message = ) to trading bot I can't manage to change 123, 1 and 0 to numbers I should be able to choose in the input user interface. It is for the robot bot alert() message, which otherwise must be identical.
As it is now, it's terribly difficult because I have to ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75607964",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: R & linear regression: how is possible that R says that I have NA values? I'm running a linear regression using variables in the dataset final2
Here a sample of the dataset
nquest nord sex anasc ireg eta staciv studio tpens
173 1 1 1948 18 64 3 5 2500
375 1 2 1925 16 87 4 2... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75607966",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Installing R odbc package on Databricks In Databricks R notebook I am running the following line:
install.packages("odbc")
And I get back the following error:
Warning message:
Project requested R version '4.0.4' but '4.2.2' is currently being used
ERROR: dependencies ‘bit64’, ‘blob’, ‘DBI’, ‘hms’, ‘Rcpp’, ‘rlang’ ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75607974",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: My notebook cells are getting automatically overwrited by "Outputs are collapsed" message I use jupyternotebook inside VScode, and that is happening:
When I scroll up until the cell disappears and then scroll down again to the cell, it has the stdout mixed with the message "Outputs are collapsed" and the output from... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75607976",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Cloud Run - Python request into service's own url throws [Errno -3] Temporary failure in name resolution I have an app deployed on Cloud Run. For some purposes, I want to send a post request to my own app's endpoint.
Assume my app's url: https://test.app/api
import requests
requests.post(
url="https://test.app/a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75607977",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |