text
string
meta
dict
Q: In a Plugin registered to the "Merge" Message - how do I know what will be provided in the Target etc? Supposed I register a Plugin Step to "Merge" of "account". Pic below. How do I know what the Plugin context/target will provide me? Is there any documentation about what the Plugin context will provide for the diff...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622041", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: copy.deepcopy(): Class with dictionary copied improperly Good evening! I faced a problem with copy.deepcopy(). I wanted to copy a class which had dict self variable and got this result: >>> import copy >>> class A: ... a = {'a': 1} ... >>> a = A() >>> a.a {'a': 1} >>> b = copy.deepcopy(a) >>> b.a {'a': 1} >>> b...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622043", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Keras AI model giving errors about shape i was experimenting with keras and made a simple ai model that should write some simple code, right now it has only been trained on the print function as stated above, when i try to run the code it gives me something about errors in shapes that are incompatible Here is my cod...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622045", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Android: How to pass EditText's text property to DataBinding expression of another view I have an EditText (@+id/quantityNumber) and a Button (@+id/addToCartButton) view next to each other in my layout. The EditText is a quantity field and the Button takes the value entered in the quantity field and executes a metho...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622049", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: gitlab dependent jobs using needs I have a hopefully a simple query. Say I have 3 jobs : * *job1 *job2 *job3 which runs first in all branches, next I have a job (hidden job say .job4). This job4 is extended by all my further jobs in pipeline (say job5, job6, job7, job8.....) Back to my question: Job4 needs to b...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622052", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: FindOne and sort in array with Mongoose How can i get sorted data in array by "name" in categories where '_id = 63fe948a22009cbbba53b905'? My sample data: { "_id": "63fe948a22009cbbba53b905", "options": { "sort": "manual" }, "categories": [ { "priority": 0, "op...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622053", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to test two coefficients are simultaneously zero in GEE model in R We have a dataset in which there were 3 arms (message 1, message 2, controls) and . I am using the "geepack" package in R to construct geeglm models that look like this: outcome = Beta1x + Beta2x + other variables #(where Beta1 = message 1 ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622054", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Issue during spring batch upgrade I am trying to upgrade spring batch version 5.X with spring boot 3.0.2 and java 17 from spring boot version 2.7.3 I have a default batch config class and a custom job config class(ActivateTestJob). DefaultBatchJobConfig.java @Configuration @EnableBatchProcessing public class Default...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622056", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: cant use a variable set by a power automate flow in an if statement HI all I have a power app that runs a flow to return some data. Set( DocNumber, GetMaxNum.Run( "", Label_DocNumberPrefix.Text ).max_number ); nothing special this will just return a number and it works fine. However if I...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622058", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: .NET JwtBearer Authentication - Use Access Token to get ID Token I have a .NET 6 API that uses AddJwtBearer to accept a JWT Access Token from the caller. The API is able to successfully accept/parse the access token, however I need to get additional user info from the OpenID Connect Authorization server. Is there no...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622060", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Gnuplot bars and line in a single plot, where bars are equidistant I am trying to plot bars and line in a single plot from the following data: amount cost profit 64 22.915949 48.15697753 128 15.424979 56.41929322 256 9.473054 49.80545598 512 6.685107 96.8453052 1024 4.897494 56.82355225 So far ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622064", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: How to listener brightness value after setting brightness auto mode in Android? I want current brightness level after setting brightness auto mode. I changed screen brightness, but did not receive the changed brightness level value. I use Async callable for receive changed brightness level in completed block, but no...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622066", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How do I fix uncaught exception 'FIRInvalidArgumentException'? I figured out that the error is being caused, because the user tries to access documents without being properly authenticated the user isn't being presented with a login screen even though I set up this: .onAppear { guard model.auth.c...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622067", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: MS Project VBA 'Predecessor' or Dependency.Path Fields Update Not Working I am trying to overwrite the tsk.Predecessors and/or dep.Path field value of a Task. Using the Predecessor for an example, my update field code is as follows: * *tsk.Predecessors = "Replacement string" *tsk.SetField pjTaskPredecessors, Valu...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622068", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Read a bz2 file in Cloud Storage through a Cloud function I am trying to read a bz2 file that resides in a GCS bucket. Locally, I was using the following code to read the compressed file: with bz2.open("file_path") as f: # Decompress and split lines = f.read().decode('utf-8').split("\n") The problem is that rig...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622071", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Why is my linked list only printing one value? I created a linked list but it's only printing the first value "1" and not the rest. I have an insert function to insert new nodes and then a show function to print out the node values but it's only printing the first value. struct Node { int n; Node *next; }; ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622074", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: how to use like function in collection i have trouble where i need to use where like orwhere like function in collection but it didn't work here's my query $data = Unit::with([ // mendapatkan relasi skpd 'program.kegiatan.subKegiatan.rekening' => fn ($query) => $query->where('level', 9), ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622075", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: How to scrape and download pdfs from a list of URLs and name them based on other categorical variables? I have a list of URLs that opens pdf file reports online. I could already download these pdfs and save them in my dropbox. However, instead of a general name, I would like to save them considering variables such a...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622077", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Python searching through a dataframe or list is too slow - what can I do to speed it up? Any other languages that would perform better? I have two files, trades and depth. Trades is an OHLCV in one second increments, and depth is a file showing the number of orders at each price level. Depth is in milliseconds, and ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622080", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: What is the size limit of a 3d model for converting it into arrAsset? I am currently trying to use Azure's remote rendering tools. And my model is about 580MB (it's an FBX file). I attempted to convert it into arrAsset but it say: "the conversion process exceeded system resources. It's possible the asset is too larg...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622083", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Matplotlib not depicting values on y-axis I'm using Matplotlib in a Jupyter notebook to create some plot data for semiconductor devices I'm measuring. However, when I run inline commands, the generated plot doesn't have any markers with values on the Y axis (i.e. there are no values for Ig on the y axis, as shown in...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622090", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Passing c-style string to a template function I can't understand the following behavior of my program. As far as I know, template argument deduction allows only 1) array- or function-to-pointer conversions or 2) const conversions. The program below should result in a compilation error. However, if I pass two c-style...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622093", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Wordpress saves files as apache user instead of nginx Uploading content to wordpress would fail, claiming it does not have write permissions for the folder 'uploads' I set perms to 777 for the uploads folder. It successfully uploads the file. Checking with ls -al shows the file is owned by apache with group apache. ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622095", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How to take data that is user inputted into html file and send it to a different component.ts file? My project is setup in the image like so: https://i.stack.imgur.com/0aXBX.png I'm primarily concerned with files found in "buyback" and "login" For login, I have a login.component.html file. The code allows the user t...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622096", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Unit Test a function inside @Configuration - SpringBoot I have added an x-correlation-id in request header inside the restTemplate function shown below. I want to write a unit test to verify if x-correlation-id is attached to the request header. I am not a Java developer and this is a one off task. Please help me un...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622097", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Deployment issue with npm start (React frontend) I have a react frontend I have to deploy for a project I am building. I am having an issue where it does not deploy at all and it gives me an exit code of 9. I looked into exit code 9 and I know what it said, but I am not sure how to fix the issue. I am not sure if it...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622099", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: CSV with double quotes and separated by comma and space I have a .csv file with all values in double quotes, all values separated by a comma and space, and column headers are in the first row: "Exam date", "Last name", "First name", "DOB", "MRN" "01/15/2019", "JOHN", "DOE", "01/15/2000", "0000000000" "01/15/2020", "...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622107", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Woocommerce. My coupon's work in the Cart page, but will not apply on checkout page I'm using WooCommerce. When I try to apply a coupon on the "view cart" page, is works just fine, but if I try to apply the same coupon on the checkout page, it does not apply the discount. The ajax refresh seems to happen, but the pr...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622108", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: SQL Query with case issue I have below query where when count of rows on everyday <10 the job errors out because of divide by zero CREATE TEMP TABLE aa AS ( SELECT 1 / (CASE WHEN ( SELECT Count( 1 ) FROM validation ) > (10000000)::INT4 or ( SELECT Count( 1 ) FROM validation ) < (10)::INT4 THEN 1 ELSE 0 END )) ; I...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622112", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Python Beautiful Soup Sometimes saves images without file extension and a file size of 0 bytes I'm trying to scrape some image off a website, and most of them save correctly. However I've got one image that is being saved without a file extension and the file properties say it's size is 0 bytes and size on disk is 2...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622113", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: shopify-app-bridge AuthenticatedFetch not returning response headers for reauthorization I am building an embedded app in Shopify using the shopify-app-react template. In there is an authenticatedFetch hook that looks like below (logging added by me) export function useAuthenticatedFetch() { const app = useAppBrid...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622118", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Processing before user authentication in RSpec I am making an application with rails. and I am writing tests with rspec.I got an error. I'll show you the error first. Failure/Error: expect(response).to redirect_to user_path(user) Expected response to be a redirect to <http://www.example.com/users/1> but...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622119", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: java.util.ServiceConfigurationError: io.grpc.NameResolverProvider: Provider io.grpc.netty.shaded.io.grpc.netty.UdsNameResolverProvider not a subtype While submitting the flink job on the data proc cluster getting java.util.ServiceConfigurationError: io.grpc.NameResolverProvider: Provider io.grpc.netty.shaded.io.grpc...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622122", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to delete specific print statments in Jupyter Interactive Terminal I am trying to run parallel processes where at the start of each process, it would print start, and then print done when that process finishes. For example def process(i): print('starting process number %s' %i) ... do something ... p...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622123", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Need to make a authoring assistant program The program I have made it having difficulties on last part of my work from zybooks I just someone to look at more issue and help me fix it. here is a my code. def print_menu(inputStr): print('MENU\nc - Number of non-whitespace characters\nw - Number of words\nf - Fix ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622124", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-4" }
Q: How do I calculate ints from 1 file and print them in another? I have a task where I have a txt file containing this: 4-1 9-3 I need to open that txt file, calculate the result and write the answer in another file and it should look like this. 4-1=3 9-3=6 This was my code but it keeps saying x(1) str not callable ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622128", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Flutter: Why is the import for table_calendar not importing the event class? I have a task widget that I want to convert to a Event widget to place on a TableCalender. However when I try to create a toEvent function I am unable due to the package not importing the Event class. Why is Event not imported? import 'pack...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622130", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Laravel 8: In Controller - how to get values array from model object This should be simple, but I can't seem to find an answer. Finally got it routing right, but now I can't get the row data from the table as an array. How do I do that? Route: Route::get('/view/{ability}', [AbilityController::class, 'show'])->n...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622133", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: reset email adress by using updateEmail(auth.currentUser, "user@example.com"); reactJS/firebase Im new at react and firebase, I set a const triggerResetEmail for the reset button. After my verification, the trigger is indeed awakened, but the command updateEmail(auth.currentUser, "user@example.com") has no effect at...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622134", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Error fetching PostGIS Geometry data from table using @Query in spring boot I have a table with column named "coordinates" of type Geometry, I am trying to get only the data from that column using @Query. But I am getting the following error I guess the Geomtry data type is not mapped by hibernate. How do I get the ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622135", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: error of accessing bigQuery tables from jupyter notebook on google cloud I would like to access BigQuery datasets and tables from Jupyter notebooks on google cloud in order to search the tables with a specified column name. I am using the code at BigQuery select __TABLES__ from all tables within project?, but no tab...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622138", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: url is resetting during scenario outline run Given the following js where I set the url... function fn() { var root = 'https://google.com'; karate.log('root value is: ', root); additionalconfig = { root: root } return additionalconfig; } and the following feature file... Feature: Backg...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622139", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Issues with Power Query in Excel, "we cannot apply operator & to types Text and Number" I know this question has been posted here before and I've gone through them but none of those solutions seem to resolve my problem. TestID has been defined at the top and is strictly a numeric value, it's basically the primary ke...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622141", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Why is my Windows app not finding FTD2XX.DLL I have a Windows app that uses FTD2XX from FTDI. Some while ago I had to rebuild the laptop SSD; I got the app to build on the new laptop but when it is run it exits right away. I ran "Dependencies" and it shows that FTD2XX.DLL cannot be found. After downloading and insta...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622146", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Next JS 13: Missing script: "dev" on fresh Next JS 13 App I've just started learning React with Next JS 13. When I tried to run npm run dev on clean Next app created by using npx create-next-app@latest --experimental-app I get an error: npm ERR! Missing script: "dev" npm ERR! npm ERR! To see a list of scripts, run: ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622148", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can i find route link in laravel Hi, i am beginner in laravel i got a project where users can do bitcoin trading, When i am hitting mydomain/admin it's working fine but when user is registering his account and getting redirected to user dashboard 500 internal server error is throwing. after alot of research i f...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622151", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Issue with logo asset not being referenced in website using Next.js and theme-ui I am having trouble referencing the logo asset in my Next.js website using the theme-ui library. The logo component is defined as follows: import { jsx, Image } from 'theme-ui'; import { Link } from '@/components/link'; export default ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622152", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: UnauthorizedAccessException: Access to the path 'D:\inetpub\wwwroot\ denied I have an application that writes the data in a pdf file. The pdf file exists in wwwRoot directory inside the application. This is how I am accessing the pdf file: string blankPDF = Path.Combine(_environment.WebRootPath, "BlankPDFFiles"); ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622155", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Display list of items in just two row In Blazor WASM I want to display list of items in just two row, lets say the list contain 15 item, I want each row show 5 items and with next/previous button you can access to the other 5 items A: You can create a blazor component ItemList: @using System.Linq <div class="row"...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622156", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Problems with my definition and syntax error class SHM(): "Class for simple harmonic motion" # special method to initialise attributes def __init__(self, k, m): self.k = k self.m = m # special method to display it def __repr__(self): return "{} + {}i".for...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622157", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: firebase function call fails sometimes with jsondecode error i have a firebase function that is set up like this: exports.funcName = functions.https.onCall(async (data, context) => { //some logic here return {'test':'blah'} }) i call this function from as api in some cases. and here is how i call it from python : u...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622158", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: I am trying to implement a while loop into a game of rock, paper scissors, but the while loop is not working #This program plays rock, paper, scissors between 2 players print("Let's play Rock, Paper, Scissors.") print(" ") player1 = input("Player 1, Enter your choice: ") player2 = input("Player 2, Enter your choic...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622163", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Error found in console for indexedDB. Assistance needed I'm getting an error for the indexedDB I'm trying to make. "Uncaught DOMException: Failed to execute 'index' on 'IDBObjectStore': The specified index was not found." It says it's not found but I believe I correctly created the index a couple lines before. p.s. ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622166", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: PRESTO SQL conversion into Databricks SQL I am converting PRESTO sql to databricks sql. Would you please help me converting the following Subquery. PSF_PIVOT AS (SELECT A.PATIENT_ID, A.REPORT_ID, A.VISIT_DATE, A.DISEASE_GROUP, MAP_AGG(A.NAME, A.VALUE) AS KV FROM PSF_BEST A GROUP BY A.PATIENT_ID,...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622167", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Kafka group id offset wasn't maintain after rebalancing My application has a kafka topic with a single partition (kafka 2.4.0). There is a single group id with multiple subscribers (multiple AWS EC2 instances) that read from it. There was a recent effort that imported about three million records into our system, res...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622169", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: React JS on first render fails to fetch data and does not returns response ok (200-299) Recently I am facing issue on my portfolio URL such that on the first reload (maybe after webservices are idle) all my fetch data calls are unsucessful. It starts working when I hit refresh after the error has occured. I assume b...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622170", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: CAST STRING as INT64 I have a column that has a number saved as string. How can I convert this into int64 or any other number format? I have tried CAST but it gives me an error "Bad int64 value: 1.99" Its because of decimal point I am getting an error. How can I get around this. A: You just need to do these steps ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622172", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Why doesn't my '<>' bind change the PhotoImage being displayed in the Tkinter Window when it is called? I can display an image to the Label Widget without difficulty, however when I try to change the label widget image by using the '<>' bind to get a different image path string (which is then attached to a new Photo...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622173", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Select dataframe columns that starts with certain string and additional columns I have a dataframe with columns: 'Id', 'Category', 'Shop', ....., 'Brandtxsu1', 'Brandxyw2', ... I want to select columns: ID, Category, and start with Brand. I can select the columns that start with Brand using the following code, but h...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622174", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: I am looking for advise on why my database is showing errors when uploaded to PhPmyadmin I have just decided to migrate my websites from cloud to VPS. I backed up my files and uploaded them to the VPS account which was successful. Then I backed up my database and uploaded that through to Manage>Operating System>Cont...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622176", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: How to access getServerSideProps on context? I'm facing a structure issue on my project. A brief of what I'm doing: On every page of my project, I do have a getServerSideProps function running that fetches the user and send it as a prop. I do also have a UserContext file that fetches the user as well, to be accessed...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622177", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Pod-level Visibility into Inter-AZ (Cross Availability Zone) Traffic I'm trying to gain more visibility into k8s network traffic to eventually optimize the traffic in a Multi-AZ Kubernetes cluster (AWS). We could use topology-aware-hints in K8s v1.23, which tries to route the traffic from a pod to another pod in the...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622179", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: xampp MySQL startup error (not duplicate) Every month or so for the last several months, xampp MySQL fails to startup. As most solutions I've found recommend, I've been replacing my xampp/mysql/data folder with xampp/mysql/backup. This works as expected and xampp starts normally, but the backup folder does not have ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622181", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to get a date in past or future in reference to current date using the date function in Liquid Template? I am running a CucumberJs test and is trying to pass a file in liquid template as input, and is trying to figure out how to get a date either in past or future from the current system date (when the test runs...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622182", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: update sequelize boolean Value how can I change a boolean value? I do this: await Model.update({[reply.match[1]: reply.match[2] == 'off'}); reply.match[2] - off But it stopped working for me. This is ridiculous. What can I do? error not because true = false and vice versa. But it stopped working regular: /^status:(...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622183", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can I call the Revit API function NewPointOnEdge when it wants Self as an argument? I am using the Revit Python Shell to call a function shown in the Revit API docs as NewPointOnEdge. This function per the API docs takes two arguments: a Reference object, and a PointLocationOnCurve object. However, in the Revit ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622185", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Dropping nan values from an xarray dataset not working, possibly due to smoothing with a rolling mean A lot of text, but mostly it is self contained examples. Any help is appreciated. I have an xarray dataset with Range and time coordinates, and for each time I want to find the Range where the backscatter gradient i...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622188", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can I force a partition filter to be added to a Great Expectations dataset? I have two (web) event tables in BigQuery which are partitioned by a DATE column named _date. One of the tables does not require the partition filter (tableA), the other does (tableB). When I configure my Great Expectations datasource co...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622192", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: nodemon: the term 'nodemon' is not recognized as a name of a cmdlet, function, script file, or executable program. check the spelling of the name, I couldn't install nodemon globally and including the path on environment variables didn't work either Noting happend because it kept on installing nodemon wrong A: npm ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622195", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-4" }
Q: How to refer to array which is inside another array? Let's imagine I have a 2d array (which basically is array of arrays). I want to have a reference to internal arrays to sort them directly or use them as arguments to some function. type[,] array = new type[n,n] I cannot refer to inner array with array[index] becau...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622198", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Can't see the value of variables in debug mode with VS Code I'm trying to use the C++ debugger in VS Code. I have created the launch.json file with the configuration but I have the problem that I cannot see the value of the string type variables, nor of the collections. Numeric variables are displayed correctly. I h...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622199", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Discord py buttons time out and when re-initialised it still times out after a couple iterations I have a python discord bot that does buttons on embeds. The program loops every hour to re-initialise the buttons back onto the embed because I found just doing it once still times-out. import numpy as np import discor...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622203", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Glob pattern for different file types in different directories I want to configure my IDE (PhpStorm) to run Prettier on save, for different file types in different directories, but it only accepts one glob pattern. I want one pattern that will do the work of both of these patterns: * *assets/**/*.{js,ts,json,css,s...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622204", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Mutating a zipped iterator in Rust How do I zip up an iterator to some type that implements IntoIterator and mutate that type inside of a loop like this (playground link): #[derive(Default, Debug)] struct Data { pub values: [bool; 4], } fn main() { let mut d = Data::default(); println!("{:?}", d); ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622206", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can I remove a warning from to make a executable file of nodejs+express app? experts, I got below warning from when I tried to make a executable file with nodejs+express app. The resulted exe file in windows has an error also. Please review and give your advice to resolve this. Warning message in making an exe...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622207", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Hide Header and Footer in PDF once a specific Table is Displayed (Netsuite) Long time reader, first time questioner. I'm a dev in training at a NetSuite company, and I got my first Adv PDF scripting job. The client wants the header and footer displayed to be displayed on a purchase order that has the item table. But...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622211", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Find and replace substring of a string in SQLite database I have an SQLite model called Player. Inside of this there is a column called photo that contains a string. For example: 84450.jpg I would like to be able to find all the values that contain .jpg (which is actually every cell and always will be), and replace ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622222", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: LateError (LateInitializationError: Field 'prefs' has not been initialized.) I've build an android app, and I want when I open the application again it come to last value and state that I did before. This error is coming after I run the application. Can someone please provide an example code of what's needed to solv...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622224", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: How does one access all of the paginated data in grid.js? I am using grid.js along with its selection plugin to have the user select specific rows in the table. An example of the script is shown below with a function that gets called when a button on the website is pushed. const grid = new gridjs.Grid({ columns:...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622226", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: React testing library: My mocked redux store is empty I cannot figure out why on render my mock redux store is empty. The component will render, but it has a conditional useEffect on a selected value from the redux store that I need to test, but the selected value is always empty despite the fact I send it in. Here ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622227", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Mark a task as a success on callback on intentional failure In Airflow 2.3.4, I have a task I am intentionally failing and when it fails I want to mark it as a success in the callback but the below does not work., def intentional_failure(): raise AirflowException("this is a dummy failure") def handle_failure(c...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622228", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Index out of Range in Self - BERT Model Tuning Pytorch I am working on training the BERT Model for Pytorch. I'm quite new to Pytorch as well. My code as replicated from: https://towardsdatascience.com/text-classification-with-bert-in-pytorch-887965e5820f keeps returning an error: "Index out of Range in Self". The tr...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622232", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Android app will not compile and dosent give any specific error Hi so recently I had some issues with really stupid and simple code for a testing out an android app the code is below if somebody can tell me where I make a mistake? That is what's in the manifest file: <manifest xmlns:android="http://schemas.android.c...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622234", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to Append values in certain format in C Taking the input from user like below. E.g. 1001 1002 1003 1004 . . . n Appending values like below format. "1001","1002","1003","1004",.....n How to implement this in C.
{ "language": "en", "url": "https://stackoverflow.com/questions/75622238", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How do I apply np.random.multivariate_normal on list of vectors and covariance matrices? I have N M-dimensional vectors. i.e. I have a (N, M) dimensional numpy array, let's call it "mean". I also have N M-by-M dimensional covariance matrices. i.e. I have a (N, M, M) dimensional numpy array, let's call it "covs". Her...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622241", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to upload file to SharePoint Online using REST API and CURL I've been combing through Microsoft's documentation on the REST API to manipulate files in our SharePoint Online document tree. I'm ALMOST to my solution but having an issue. I'm running CURL commands on a Linux server. And in the /tmp directory on Linu...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622242", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Select class based on condition I want to implement this concept, where based on my input condition I will get output. Not so strong on java ..saw many post but yet to solve this .. There issue I am getting is "myValue1 or myValue20 cannot be resolved or is not a field". public class myClass extends XXX{ Object...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622245", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Cannot read properties of undefined (reading 'schemeCategory10') Looks like the C3.js no longer gets supported? I'm having issue on the plugin and not sure what causing it (before it works not sure if there's update that cause me the issue?). I also posted an issue on Git https://github.com/c3js/c3/issues/2877 * *...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622247", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to implement a QuerySet filter on Cartesian product/List of lists? I want to implement queryset filtering in Django depending on values of nested list, e.g. titles = [ ['nike', '38', 'blue'], ['nike', '38', 'grey'], ['adidas', '38', 'blue'], ['adidas', '38', 'grey'], ['s...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622249", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: My Java code isn't executing print statements when the user inputs an option they want to choose. Why is it not working and how do I fix it? I'm creating a game, and the code that I want Java to run isn't running even when the user inputs a valid answer and I'm not sure how to fix the problem. I tried creating a key...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622259", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Converting nested JSON to CSV - specifically an object containing necessary values for each record and an array of values I want to parse out a set of CSV records from JSON. The JSON looks like this: { "orderbookSnapshotItem":{ "exchange":"WhirlyGig", "contract":"OptimalSpring", "bidPrice":[ ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622260", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to access ref of child component with wrappers in React I'm trying to learn how forwardRef works in React and playing around with it based on official docs. I understand how it works with this basic example: import { forwardRef, useRef, useImperativeHandle } from "react" const ChildComp = forwardRef((props, ref...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622261", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Index out of Range error keeps hapening when I use Pool.starmap When I try to use pool.starmap with multiple args, It results in an error. ... def snake_process(x, snakes, snake, nets, max_score, ge): print("start process no" + str(x)) while True: state_old, dis_old = agent.get_state(snake) ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622266", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: comparing two tensors in pytorch I've already tried the solutions described in this question: How to check if two Torch tensors or matrices are equal? and I'm not having any luck for some reason. I'm just trying to test reproducibility of my random number seed as an example: import numpy as np import os import rando...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622268", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Can't get rid of mypy error about wrong type numpy.bool_ and bool I have a classe containing several np.array : class VECMParams(ModelParams): def __init__( self, ecm_gamma: np.ndarray, ecm_mu: Optional[np.ndarray], ecm_lambda: np.ndarray, ecm_beta: np.ndarray, int...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622270", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Typescript error: jwt.decode is not a function I wrote the following Typescript code to check out how jsonwebtoken works. import * as jwt from "jsonwebtoken"; import * as fs from "fs"; const privateKey = fs.readFileSync("key.pem"); const token = jwt.sign({ foo: "bar" }, privateKey, { algorithm: "RS256" }); const de...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622271", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Why is my code not calculating Celsius correctly? I created a temperature class along with this to use within the code but I can not seem to get it to calculate correctly.I added the temperature class at the bottom. The top part is what I have so far its within initializeTemperatures and displayCelsiusTemperatures t...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622272", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: How to modify an element when another element has an .active class with CSS? How to select the .field-wrapper element when the .list-nav element has the .active class? The objective is that .field-wrapper z-index = -1 only with CSS. <nav class="nav"> <a href=""></a> <ul class="nav-list"></ul> <img src=""...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622275", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to instantiate template methods in a "cycle"? I have a class with several template methods, i.e.: class MessageEndpoint { public: using SupportedMessages = boost::mp11::mp_list<messaging::MessageType1, messaging::MessageType2, messaging::MessageTypeN>; public: virtual ~MessageEndpoint(); public: te...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622276", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: What's a good way to implement authorization in a graphql project? My teammate and I have a GraphQL project that is up and working but we want to implement authorization so that unauthenticated users are basically denied access to everything but authenticated users can be authorized with access to specific resources...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622282", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }