text
string
meta
dict
Q: JSON deserialization doesn't work on Controller action, but works if done explicitly? I'm hoping someone can shed some light on this for me. Normally with all my controller actions, deserialization from JSON to C# objects works just fine, but currently I'm facing an issue where it isn't. Instead of giving the desire...
{ "language": "en", "url": "https://stackoverflow.com/questions/75596159", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How can I make and develop an analysis of a prediction system for crude oil prices I don't now which software to use for the prediction. To be able to predict crude oil prices accurately.
{ "language": "en", "url": "https://stackoverflow.com/questions/75596161", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: Nextjs app renders server side data twice every refresh I'm building a quiz app in typescript and nextjs. The page uses serverside rendering to fetch all of the questions in the database and then runs a function in the page to create an array with all of the questions picked at random. However for some reason the ap...
{ "language": "en", "url": "https://stackoverflow.com/questions/75596165", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: EAI_AGAIN failing to build expo inside of docker container Long time lurker, first time poster so please forgive me if there's some incorrect etiquette in my post. Here is where everything is currently, I would appreciate some assistance in getting past this failure to build with expo. Dockerfile at the root of the ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75596166", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: C#, ASP.NET Core Blazor, TouchEventArgs has no OffsetX In C#, ASP.NET Core, Blazor I am using SKGLView and can click on in with a mouse event listener, it works great. Now, I want to touch on it with a touch event listener, it works, but the touch coordinate is not working well, and that because touch event do not h...
{ "language": "en", "url": "https://stackoverflow.com/questions/75596169", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: create new column based on values of another column in python I have a dataset like these: df State cancer lifexp health NSW 0.003 81 95 VIC 0.005 85 95 QLD 0.003 81 93 WA 0.005 84 95 SA 0.004 83 92 TAS 0.002 80 91 ACT 0.005 82 89 NT 0.006 79 93 Now I would like to create a new column for t...
{ "language": "en", "url": "https://stackoverflow.com/questions/75596170", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Mocking a request object in bottle for unit testing I am writing some test for my webapp built using bottle framework. I am using boddle to mock a request object. In the documentation of boddle, both the test function(testWoot()) and actual method(woot()) are in the same file. However, when I separate the two functi...
{ "language": "en", "url": "https://stackoverflow.com/questions/75596172", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Error when changing a list to a data frame I am trying to save the results of the caret package function varImp() (it is called caretVarImp) as a data frame. I get the following error when writing saving to excel: Error in write_xlsx(caretVarImp, "C:/Users/xx/Desktop/xxx/data/caretVarImp.xlsx") : Argument x must be ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75596175", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to take int input like 1+(5/3)? I am making a calculator program and I want to type a fraction. but it doesn't accept it. Can someone help me with taking float/int cin input as for example: 2*(3/5)? Because its annoying to have to go on calculator and type whole number.
{ "language": "en", "url": "https://stackoverflow.com/questions/75596179", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-4" }
Q: g5.48xlarge on-demand instance creation failure I try to launch a g5.48xlarge instance on AWS. But it says the configuration is not supported. My configuration is: * *Region: US-WEST-2 *AMI: Amazon certified image, explicitly saying it support the G5 instance. The name is "Deep Learning AMI GPU CUDA 11.1.1 (Ubunt...
{ "language": "en", "url": "https://stackoverflow.com/questions/75596181", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: As a new developer what is the best practice when making a file with all the API requests for a specific component? So im building a new app and was wondering what is the best practice for file/folder structuring. Should i aggregate all the functions that deal with API requests as the following code: import { useSta...
{ "language": "en", "url": "https://stackoverflow.com/questions/75596184", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to solve noVNC serververification event fired? I'm try to implement the noVNC APIs to create a custom element to handle the noVNC frames on canvas. When i'm calling new RBF() Object to start the noVNC connection // javascript this.rbf = new RFB(screen, this.url.href) // fired when the server identity must b...
{ "language": "en", "url": "https://stackoverflow.com/questions/75596186", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Delete through CMD causing slow Windows startup I open 13 instances of Google Chrome every 30 minutes. After 30 minutes they are getting closed by killing the Chromedriver task through .bat file: taskkill /F /IM chromedriver.exe /T And after that I open them again. Lately, on Chrome version 110 they changed the cac...
{ "language": "en", "url": "https://stackoverflow.com/questions/75596191", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Check if liquid-c gem is being used We are currently adding liquid-c to a rails project. We require 'liquid' on a initializer, and in the same place require 'liquid/c' as the docs says. But how can I verify that actually my app is using liquid-c gem?.
{ "language": "en", "url": "https://stackoverflow.com/questions/75596194", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: I cannot make a unit test for controller in C# .NET using employmently_be.Data.Models; using employmently_be.DbContexts; using employmently_be.Entities; using Microsoft.AspNetCore.Identity; using Microsoft.AspNetCore.Identity.EntityFrameworkCore; using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.Loggin...
{ "language": "en", "url": "https://stackoverflow.com/questions/75596195", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: getstream activity feed: How to check if activity {x} has a reaction of kind "like" by user {y} I want to build out so that I can like a "post" activity as well as for reactions (and child-reactions), which are "comments". To add a Like to any of above is a straightforward process. However, after trying to read thro...
{ "language": "en", "url": "https://stackoverflow.com/questions/75596196", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Problem With Running App on my Android Device Im trying to make A 2d Platformer and i Exported it to my Device and I get this error Exception java.lang.NoClassDefFoundError: Failed resolution of: Landroid/support/v4/app/FragmentActivity; at android.arch.lifecycle.LifecycleDispatcher$DispatcherActivityCallback.onAc...
{ "language": "en", "url": "https://stackoverflow.com/questions/75596197", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to use MongoDB cli database tools in railway? in a current MERN stack project (github repo) I am trying to implement a mechanism that resets two documents in my mongo db to default data once a day at midnight to reset changes made by others to the live website of the project. For this I use the mongodb cli datab...
{ "language": "en", "url": "https://stackoverflow.com/questions/75596201", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Reverse engineer CRC/checksum algorithm in CAN messages I have a device that is exchanging messages on a CAN bus. I am trying to reverse engineer the protocol being used. I can decode the protocol (or most of it), but I am struggling to reverse engineer the checksum/CRC being used (without it, the device does not ac...
{ "language": "en", "url": "https://stackoverflow.com/questions/75596203", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Inconsistent dependencies in LLVM I'm writing an IR pass for LLVM which uses dependency analysis, and I'm a little unclear on the meaning of certain things behind the theory of the analysis. In particular, there's a method isConsistent() which, according to the docs: Returns true if this dependence is consistent (oc...
{ "language": "en", "url": "https://stackoverflow.com/questions/75596204", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Is it possible to set channel specific priorities for Poco logger? In my application I am setting up a logger from a config file similar to how Poco Get Logger Channel from SplitterChannel is setting the logger up however I want to modify my configuration so that the logging priority is set on a per channel basis, i...
{ "language": "en", "url": "https://stackoverflow.com/questions/75596205", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: C++: First function creates object, then second function takes that object as a parameter - How? Ok, I know my title is very unclear but I think part of the problem is that I don't know how to explain it clearly enough for Google to be useful. Basically I have two functions: SentenceData parseSingleSentence(std:...
{ "language": "en", "url": "https://stackoverflow.com/questions/75596207", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Print role name of the caller role in Ansible How to print caller role name from within another role? Playbook: - name: print calling role name hosts: all tasks: - import_role: name: role2 tasks_from: update role2/tasks/update.yml: - name: role 2 import_role: name: role1 tasks_from...
{ "language": "en", "url": "https://stackoverflow.com/questions/75596210", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Serverless framwork error on deploy - Property 'functions[].entrypoint' already have a definition I'm having a problem when deploying a application with aws serverless framework. The error message: "Property 'functions[].entrypoint' already have a definition - this property might have already been defined by the Ser...
{ "language": "en", "url": "https://stackoverflow.com/questions/75596213", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: how to keep trigering a pygame event as long as a key is pressed i am creating a clone of chrome dino game and when i press the space button the player jumps but when it comes down and touches the ground i does not jumps automatically even if the key is still pressed i want it to jump automatically if the key still ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75596214", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Can't test Post request with FastAPI & Pytest I'm trying to test my /login API with FastAPI's Testclient. But when I pass data to the post api. It shows, 422 error with content username and password fields are required. API: @router.post('/token', response_model=schemas.Token) async def login(user_credentials: OAu...
{ "language": "en", "url": "https://stackoverflow.com/questions/75596215", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Loading GPU trained RPPO on CPU (sb3contrib) When attempting to load my gpu trained RecurrentPPO I get the following error. (Note: I only want to use the model's predictions I don't necessarily want to resume training.) I used sb3contrib bleeding-edge-version which I installed using "pip install git+https://github.c...
{ "language": "en", "url": "https://stackoverflow.com/questions/75596216", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: SwiftUI, Sheets, and getting called multiple times EDIT: Got by this by moving out the time consuming logic out so it's only run once. Thanks for the help. Leaving the question up in case it helps anyone else. I'm working on a SwiftUI Multiplatform app. I have a button that, when pressed, opens a sheet. One variable...
{ "language": "en", "url": "https://stackoverflow.com/questions/75596218", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Clean up changes after aborting gulp watch task I have a npm script for development that includes a gulp watch task: package.json: ... "scripts": { "dev": "gulp setupStyles && gulp watch && <other-task>", }, ... This works pretty well for my use case. However, the script starts with gulp setupStyles which c...
{ "language": "en", "url": "https://stackoverflow.com/questions/75596220", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Named types produce less useful information in my IDE I am working on a library and I'm hoping to provide contextual help to my users directly in their IDE thanks to Typescript. However, it seems I get less useful information when I name my types as opposed to describing them fully every time. Here is a contrived ex...
{ "language": "en", "url": "https://stackoverflow.com/questions/75596222", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Extract list names from dataframe that appear in the whole state, or county in R I have a dataframe that houses info about names of businesses and the county, zipcode, and countyZip (combination of both) that they operate in. I'm interested in creating a list of businesses that operate in the whole state (California...
{ "language": "en", "url": "https://stackoverflow.com/questions/75596226", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How to map Java Module Directives and Gradle configurations to declare dependencies? I partially know the answer to this question. But there are parts in my head that are not clear! In the Gradle documentation, they partially answered this question by exemplifying 4 directives. But what exactly are the equivalents o...
{ "language": "en", "url": "https://stackoverflow.com/questions/75596227", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How sort decimal numbers in MySQL saved as VARCHAR Unfortunately, I've run into a problem and I honestly don't know how to solve it. I have numbers (unordered) stored as VARCHAR in my MySQL database: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15.1 15.2 15.3 15.4 15.5 15.6 15.7 15.8 15.9 15.10 15.11 15 16 17 18 Could anyone ad...
{ "language": "en", "url": "https://stackoverflow.com/questions/75596228", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Test code using ActiveMQ BrokerService breaks after upgrading Spring Boot from 2.7.x to 3.0.3 My project currently has test code that connects to an ActiveMQ broker configured as follows: import lombok.extern.slf4j.Slf4j; import org.apache.activemq.broker.BrokerService; @Slf4j public class MqTestConfiguration { ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75596230", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to save image to binary format in python? I am trying to convert image to binary using python, but something is not working properly. Here is my code: def binarize_image(filename): filename = MEDIA_ROOT + "\\" + filename img = cv2.imread(filename) greyscale_img = cv2.cvtColor(img, cv2.COLOR_BGR2GRAY)...
{ "language": "en", "url": "https://stackoverflow.com/questions/75596233", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How do generic interfaces in TypeScript using generic, extended interfaces with "default values" work? I am trying to really understand "generics" in TypeScript. While working with Redux, I found an example that I could not fully understand, and I did not find any explanation on "typescriptlang.org". interface Actio...
{ "language": "en", "url": "https://stackoverflow.com/questions/75596234", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Exception "Impossible mOptimIntersection count (3)" with OSMDroid when drawing a grid with polylines I am trying to lay a grid over an OSMDroid mapView (like a quad paper). I am doing that with equidistant polylines that get drawn vertically and horizontally in a certain area. There are maybe 200 lines for each orie...
{ "language": "en", "url": "https://stackoverflow.com/questions/75596235", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Join consecutive number values from start to end reduced with the resembling start characters I thought this would be possible by the use of lambda formulas (REDUCE, SCAN, MAP, OFFSET), but I'm lost where to start even. How can I generate the result in cell C2 with lambda formulas? A B C 1 result 2 2300...
{ "language": "en", "url": "https://stackoverflow.com/questions/75596238", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: White arrow on GitHub folder I have a folder inside a repository that has a white arrow on it. Through google searches, I found that a solution to this was deleting the .git folder inside the subfolder that has a white arrow on it. I did this, ran git add, git commit, and git push, but the subfolder still has a whit...
{ "language": "en", "url": "https://stackoverflow.com/questions/75596239", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: QML Text sometimes skips rendering some characters I have an application where I display the time on the screen. It works well except very rarely it sometimes does not render the time fully and skips rendering a number. For example if time is "11:07", it would render "11:0 " or "1 :07". I know it's a rendering probl...
{ "language": "en", "url": "https://stackoverflow.com/questions/75596243", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Java - Error in While Calling StandardCharsets.UTF-8 I getting an error line under StandardCharsets. I have imported it, so I am not sure why I am getting the StandardCharsets cannot be resolved to a variable error. import java.util.*; import java.nio.charset.Charset; import java.nio.file.Path; public class Trainin...
{ "language": "en", "url": "https://stackoverflow.com/questions/75596248", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Where to find list of AWS Region IDs I am looking at these two comment replies: * *Terraform ELB access_log S3 access Permissions Issue *Assign ELB Account to S3 Bucket Policy Which include the following list: Region, ELB Account Principal ID us-east-1, 127311923021 us-east-2, 033677994240 us-west-1, 027434742980...
{ "language": "en", "url": "https://stackoverflow.com/questions/75596257", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to move the value from a colomn to another colomn. (Pyhton csv file) I need to the FIDE ID and the ID Number on the same colomn. Any hints. I have some diffciults because I do not have the csv file on my laptop, and the concatenation was all done in Jupyter without creating the file on my laptop. Thank you for y...
{ "language": "en", "url": "https://stackoverflow.com/questions/75596262", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: how can fixed the Expected expression Pylance in python def total(self): self.total_coldDrink_price=float( (self.maza.get()*80)+ (self.cock.get()*180)+ (self.frooti.get()*200)+ (self.thumbsup.get()*240)+ (self.limca.get()*60)+ ) self.coldDrink_price.set("Rs. ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75596264", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: How to add lazyload effect in complete div like Facebook using javascript or jquery? I use jquery lazyload plugin for my website. But It just lazyloads images. I want to make something like that, complete div will be lazyloaded effect. And all contents will show altogether, not just image. This features we can see o...
{ "language": "en", "url": "https://stackoverflow.com/questions/75596265", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: NX throwing error in Azure Pipeline but not locally When running NX in my Azure pipeline I get the following error NX Expected ":" or blank space but "\n" found. Everything is fine locally, no problems Seems to occur when I do any of the following build, lint, format:check Full output: Starting: NX checks ======...
{ "language": "en", "url": "https://stackoverflow.com/questions/75596267", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to get string from chain of types? I have server APIs divided on groups. I try to build struct to have an ability get api in string form. For example i tried something like these struct ServerApi { enum Auth { case login case logout var string: String { "/\(Self.s...
{ "language": "en", "url": "https://stackoverflow.com/questions/75596268", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Smallest dtype that will fit all values in an array How can I find the smallest dtype that will hold all values of an array? For a scalar, I can use np.min_scalar_type to get the smallest dtype that will fit: In [32]: min_scalar_type(0) Out[32]: dtype('uint8') In [33]: min_scalar_type(0.1) Out[33]: dtype('float16')...
{ "language": "en", "url": "https://stackoverflow.com/questions/75596269", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Using Pandas, Matplotlib, or Seaborn, how can I create a stacked and categorized Bar Chart? I have done extensive searching, and while other questions/answers get me part of the way there, none of them directly address my problem of creating a categorized and stacked barplot. What gets me part of the way there: g = ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75596271", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Getting CheckBox checked state in a Python FMX GUI app I've created a small app in the DelphiFMX GUI library for Python that has a Checkbox, Button, and Label on it: When I click on the button, then I simply want to check the checked state of the checkbox and then write into the label whether it is checked or not. ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75596273", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Can I use cross-correlation to find a flat portion of a signal? I am using numpy cross correlation (np.correlate) to search for subregions of a signal that match a particular kernel shape, say a peak or a valley. I use various scales of the kernel to search for different sized versions of the shape. I am comparing ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75596277", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can I detect any variable that is passed to a function that is not explicitly whitelisted by naming the variable in a custom attribute in c# I have a fun one. I would like to write a function (which will become a test) that will return false (the test will fail) whenever any Action Method passes any variable to ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75596282", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-5" }
Q: How to substract a range within a cell? I have cells with a '-' and numbers within the same cell. I want to apply a formulae =A1-10 and apply it to the enter column. What do I do to subtract 10 across all the cells in the column 3955 - 3948 ---- o/p 3945 - 3938 3936 ---- o/p 3926 3920 3900 - 3890 3860...
{ "language": "en", "url": "https://stackoverflow.com/questions/75596284", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: SQL count all where condition ist not Fullfilled I have a problem for which I have no solution. I have a table with 30,000 entries and a column of zip codes. I now wanted to calculate the total for each individual ZIP code SELECT zipcode, count(zipcode) FROM testtable Group by zipcode Then ill get a result like thi...
{ "language": "en", "url": "https://stackoverflow.com/questions/75596287", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Search by actiondate range using Infusionsoft XML-RPC (single field multiple conditions) I'm trying to improve an old Infusionsoft service that is getting too slow. I noticed that is doing too many requests in order to find events (ContactAction) in a date range. I tried to research before, but as it is a bit old, t...
{ "language": "en", "url": "https://stackoverflow.com/questions/75596290", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: HTTP Status 500: Invalid property [Set] of bean class [DTO]: Illegal attempt to get property threw exception I am working with React and Axios and trying to pass data through the PutMapping Spring function below: @PutMapping("/{id}") public ResponseEntity<?> update( @PathVariable("id") final String i...
{ "language": "en", "url": "https://stackoverflow.com/questions/75596296", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Java: detect does user have app installed I have Java REST server. Now when the request comes in and I detect user is using iOS or Android device, is there a way to check if they have app installed. I am trying to redirect them to app in case they do and app/play store if they don’t
{ "language": "en", "url": "https://stackoverflow.com/questions/75596298", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: BuildFire - custom plugin stopped working (high priority) I was advised by BuildFire live chat support to create a ticket on StackOverflow to reach out to the devs to look into this issue we are having with the app. For context, I am not the developer working on this, I am just the middleman between the client and t...
{ "language": "en", "url": "https://stackoverflow.com/questions/75596300", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: The value of hashing to a prime sized container, bad values to insert This has been percolating for a few years (few meaning less than 15 years). The wisdom has always been that a hash table, std::unordered_set for instance, does better when the bucket count/size is a prime. I have even made such posts in the past ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75596302", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to get data in XML with extractvalue between NS tags I'm working on the below xml. I need this data --> "12574017" <ns0:AvlABC xmlns="http://xmlns.zzz.com/xxx/aaa/ZOZSE/POwn" xmlns:ns7="http://xmlns.zzz.com/xxx/aaa/ZOZ/POwn" xmlns:ns1="http://xmlns.zzz.com/xxx/aaa/ZOZSE/COwn" xmlns:ns0="http://xmlns.zzz.com/x...
{ "language": "en", "url": "https://stackoverflow.com/questions/75596309", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Count the consecutive status in mysql as a group I have a table proxy_monitor_logs which have status with proxy_id I want to group lets say my status was 1 1 1 0 1 1 it should return 3 1 2 when I run SELECT * FROM proxy_monitor_logs WHERE proxy_id = 82 ORDER BY proxy_monitor_logs.id DESC SELECT proxy_id, status, CO...
{ "language": "en", "url": "https://stackoverflow.com/questions/75596311", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Worker pool CSV writing Out Of Bounds error with dynamic or buffered channel i am getting an panic: runtime error: slice bounds out of range [:4097] with capacity 4096 i have tried both dynamic and buffered channels and the error is the same. Not sure what I'm missing here. This is a large file, 55k+ rows with 8 col...
{ "language": "en", "url": "https://stackoverflow.com/questions/75596315", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to change height/Size mat-form-field Angular 15? I tried changing the height of a mat-form-field input, and the answers were encapsule the mat-form-field in a font-size. But for Angular Material 15 isn't work.
{ "language": "en", "url": "https://stackoverflow.com/questions/75596318", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: _mkdir invalid argument C I'm trying to make a directory using _mkdir() but it keeps giving me an "invalid parameter" error. It does work if I hard-code the path. I'm receiving the name of a desktop through a socket. This is my code: char getinfo[CMP_SIZE] = "getinfo"; for (unsigned int i = 0; i < master.fd_count; i...
{ "language": "en", "url": "https://stackoverflow.com/questions/75596319", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to change the style of TokenizingTextBox from Windows Community Toolkit? I'm using the TokenizingTextBox control from the Windows Community Toolkit in my UWP app, but I can't seem to find a way to change its default style. I've searched the documentation and the internet, but I haven't found any clear instructio...
{ "language": "en", "url": "https://stackoverflow.com/questions/75596320", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Clean up DNS Server Listing in Powershell Script Good afternoon, all. I am, trying to clean up one line of code I use for creating a system report. I would like to be able to put a "/" between each of the IP Addresses and Subnet Masks, as well as DNS servers listed. If there is only one of each, then it will just li...
{ "language": "en", "url": "https://stackoverflow.com/questions/75596322", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Get burned calories from Google Fit REST API I just want to pass the user workoout type/activity type, duration of exercise, user height, user weight and just want to get teh calories burned. How can I achieve this ? I have tried the Google API but I cannot be sussess.
{ "language": "en", "url": "https://stackoverflow.com/questions/75596326", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Reading asleep time from last night with HealthKit? I'm a beginner at Swift, what would be the most efficient way to do this? I cannot get HKCategoryValueSleepAnalysis.allAsleepValues to give me any useful data. Either Xcode yells at me for it not being a String when I try to print it or put it in a Text. I have see...
{ "language": "en", "url": "https://stackoverflow.com/questions/75596327", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to setup nginx to host nodejs app with redirect to static page I have added this config , but not sure how to fix it. I have node js app that running on this host go.test.org . I want to setup landing page test.org on softr to redirect to their IP. How to do it // domain name test.org server { listen 80; lis...
{ "language": "en", "url": "https://stackoverflow.com/questions/75596329", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Syntax for Google Cloud Gcloud command to setup organization sink filter I'm hoping that someone can guide me as to what the proper syntax for this command would be. Currently, when I run this command with the filter, I get the error: "ERROR: (gcloud.logging.sinks.create) unrecognized arguments: resource.type= proje...
{ "language": "en", "url": "https://stackoverflow.com/questions/75596331", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: how can i compare,sort and finally print these four dictionaries with order of "points" value? there are four dictionaries below and i want print their items with order of points key, wins and goal difference values for example with below values of "points" key , team 2 and team 4 are same and also their "wins" are ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75596332", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Using scale_color_manual in ggplot for a custom legend--colors are not matching the code I am mapping two independent shapefiles and trying to build a custom legend with the necessary colors. The colors in the legend are not matching what is in the scale_color_manual command. Here is the script: plot <- ggplot() +...
{ "language": "en", "url": "https://stackoverflow.com/questions/75596333", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Unable to query parquet data which has array datatype When using awswrangler and writing to S3 in parquet format, the data files are not queryable using S3 select (for csv) or Athena. For e.g. events = [{"c1": "12", "c2": [1, 2, 3, 6], "c3": 1234}] df = pd.DataFrame.from_dict(events) wr.s3.to_parquet( ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75596334", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How do I make Scrapy crawl the next page on this site? Here is the code I have so far. I want to loop through all the remaining pages on this site and scrape each one, then put all the output into a .csv file. import scrapy # No unneeded imports class BillingsorgSpider(scrapy.Spider): name = "billingsorg" ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75596336", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Change return type for Spring findBy*() I have an interface that extends CrudRepository, and I'd like to change the return type of my findByAge() from Employee to the employee's name (String). How would I do this? Would I have to write a wrapper class that calls EmployeeRepository.findByAge() that pulls out the name...
{ "language": "en", "url": "https://stackoverflow.com/questions/75596339", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Is there a way to *toggle* squiggly lines in visual studio with a hotkey / keyboard shortcut? Is it possible to toggle the squiggly lines on or off in visual studio (not code)? I can disable them in the options but it would be nice if it was possible to enable and disable them with a hotkey. I searched and cannot fi...
{ "language": "en", "url": "https://stackoverflow.com/questions/75596341", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Invalid Corpora Currently, I have on-prem vb.net application which connects to on-prem database with Oracle 11g. I need my on-prem vb.net application to connect to AWS database with Oracle 19c. I have updated my connection strings in app.config, but getting error message - **ORA-20016:Invalid Corpora when I call sto...
{ "language": "en", "url": "https://stackoverflow.com/questions/75596342", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Telegram aiogram bot send photos to group chats Is there any way to make python aiogram telegram bot send some photos to a group chat, instead of only private messages to certain users? Methods message.answer(), message.reply() don't work for me, because it gives back following eror: aiogram.utils.exceptions.BadRequ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75596345", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: react-select how to set transparent color to options? I have such a style for the select: export const style = { control: (base: any, state: { isFocused: any; }) => ({ ...base, background: "#fff0", // match with the menu borderRadius: 0, // Overwrittes the different states of border borderC...
{ "language": "en", "url": "https://stackoverflow.com/questions/75596346", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Kafka Consumer not retrying a message that has been failed to process I am writing a kafka consumer.I have set the Acknowledged property to manual. So whenever consumer failed to process the message I don't do ack. Now I want the consumer to process this failed message immediately, but it doesn't. This is my consume...
{ "language": "en", "url": "https://stackoverflow.com/questions/75596347", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to share a Lightroom catalog Is it possible to have your Lightroom catalogs on a shared device?. SharePoint maybe?d As I Understand Adobe only allows you a local catalog
{ "language": "en", "url": "https://stackoverflow.com/questions/75596350", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Angular application hosted on Hostinger cannot perform HTTP request, and also returns error 404 when accessing routes I have an Angular application hosted on the Hostinger platform. I can access the home screen on my computer and navigate to other routes using the routing service. However, if I type the route in the...
{ "language": "en", "url": "https://stackoverflow.com/questions/75596352", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Groovy If condition vs Java's if condition When I run this code in Groovy, it runs successfully. It even compiles successfully using groovyc. if (2<3 || a_variable_not_defined_anywhere) { println "This is still working" } This prints out the output same as print statement. I understand that when first condition i...
{ "language": "en", "url": "https://stackoverflow.com/questions/75596353", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Complicated Unique Domain setup needed DNS/htaccess 301 Redirect I have a unique challenge hopefully someone smart here can help with! Situation Old established Domain acquired and 301 Redirected to new Domain Survival-warehouse.com > SurvivalWarehouse.co At the old domain existed an old magento install, with well g...
{ "language": "en", "url": "https://stackoverflow.com/questions/75596355", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: how to avoid high memory consumption of numpy where method I have a python script which does some calculation on data. data has ~50 million rows. when the execution comes to line which have numpy where method, memory is gone wild. I tried to split dataframe but it doesn't help. code snippet: ##Percentage Range data_...
{ "language": "en", "url": "https://stackoverflow.com/questions/75596360", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: I was trying to make a music discord bot and he's not responding The error that im facing is: 2023-02-28 19:02:09 ERROR discord.ext.commands.bot Ignoring exception in command None discord.ext.commands.errors.CommandNotFound: Command "play" is not found Here's the code: import discord from discord.ext import comm...
{ "language": "en", "url": "https://stackoverflow.com/questions/75596361", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Not able to find variable count when using ggplot I'm trying to create a geom bar, and order it in descending order. I'm not assigning any Y value to aesthetics, just X. Y value automatically takes the number of times that appear in the rows, as the variable count (showin in the geom bar). Where I can find the value...
{ "language": "en", "url": "https://stackoverflow.com/questions/75596363", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Preview customer tax rate I use metered usage prices in a monthly subscription, and tax rates are automatically calculated by Stripe Tax. Prices are set to be exclusive of tax, but I need to display the price including tax to the customer before the subscription is created. How do I fetch the tax rate for a customer...
{ "language": "en", "url": "https://stackoverflow.com/questions/75596364", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Handlebars email template is not working for express properly const nodemailer = require('nodemailer'); const sesTransport = require('nodemailer-ses-transport'); const express = require('express'); const exphbs = require('express-handlebars'); const app = express(); app.use(express.json()); app.engine('.hbs', exphb...
{ "language": "en", "url": "https://stackoverflow.com/questions/75596365", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Design-view empty in Android Studio I have some sample-app containing an activity with the following layout: <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent" android:ori...
{ "language": "en", "url": "https://stackoverflow.com/questions/75596366", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Adding a folder to a project in Visual Studio I added a folder called "MySamples" the the Examples project. However when I try and use the folder it says its not recognized. Ive tried cleaning/rebuiling the solution. I tried restarting VSstudio and reven restarting PC. How can I get Program.cs to recognize and use ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75596370", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Horizontal parallax won't stop after I reach the edge of the background picture I would really appreciate your help. Currently experimenting with PIXI.js and building a simple parallax horizontal scrolling. I want the user to move left and right when pushing the arrow keys, but I also want the horizontal scrolling t...
{ "language": "en", "url": "https://stackoverflow.com/questions/75596372", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to find highest of 3 columns using DAX calculated column? I'm writing a calculated column to return maximum of 3 columns: HighestOf3Cols = return if(and(Sale[col1]>=Sale[col2], Sale[col1]>=Sale[col3]), Sale[col1], if(Sale[col2]>Sale[col3], Sale[col2], Sale[col3] ) ) * *Is the correct way to write simple D...
{ "language": "en", "url": "https://stackoverflow.com/questions/75596373", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: nodejs/pm2 keeps saying cannot read certificate Basically, I have a letsencrypt certificate. It is owned by root, as it should. However, I first created a ssl-group, added www-data to it and then chgroup -R all the /etc/letsencrypt directory. My app is in /var/www/app, which is owned by www-data. If I create a simpl...
{ "language": "en", "url": "https://stackoverflow.com/questions/75596374", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Error: argument "time_intervals" is missing, with no default I am trying to calculate the audpc value from disease data over time. But the function wil not run because argument is missing but if I print the argument values are there. ' '# separate the date row and the header row into two separate data fram...
{ "language": "en", "url": "https://stackoverflow.com/questions/75596379", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Why does setting property in didSet of published property cause infinite loop? I'm attempting to use SwiftUI Toggle to control the state of a boolean stored on the server. On the didSet of the @Published property, I'm making a network call to persist the state. Successful network calls work great. On failure, I am a...
{ "language": "en", "url": "https://stackoverflow.com/questions/75596383", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Render Icons using Font-Awesome-Kit into Streamlit Application I'm attempting to add icons using font-awesome-kit into a streamlit application and have tried several different approaches with no success. Attempt 1 Tried importing a JS tag for the component st.write('<script src="https://kit.fontawesome.com/xyz.js" c...
{ "language": "en", "url": "https://stackoverflow.com/questions/75596387", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: can't insert a row into my table with pymysql when i try to run this python code i get error ((1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''music' ('Number', 'Song', 'Band', 'Link', 'Sad depressing', 'Dreamy', 'Anxious ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75596388", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How to Cancel user identification request in firefox While running my automation code i have asked to choose this certificate i want to deny this certificate and procced further
{ "language": "en", "url": "https://stackoverflow.com/questions/75596391", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Wordpress "Convert To Blocks" not working: always return HTML block I have a peculiar problem with Wordpress (latest version), using the Dox (child) theme. I never had this problem before. I don't have the Classic plugin installed, as I am very happy using blocks. When I do a new Block Group, like a normal layout of...
{ "language": "en", "url": "https://stackoverflow.com/questions/75596392", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }