text
string
meta
dict
Q: Type deduction for std::array literals Wont compile. The type of the elements cant be infrefered. auto rng = std::array{{1,2}, {3,4}, {5,6},...}; CTAD for each argument results in lots of retyping: auto rng = std::array{std::array{1,2}, std::array{3,4}, std::array{5,6},...}; If you specify the type of the elements...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622283", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: openai.createChatCompletion is not a function, axios error while running openai chat completion I have this in my MERN stack code file, and it works well. exports.chatbot = async (req, res) => { console.log("OpenAI Chatbot Post"); const { textInput } = req.body; try { const response = await openai.creat...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622285", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Ideas GPT and OpenAI "ChatGPT urgently needs more space to avoid temporary space, it needs to interact with the user so that it becomes closer to their personality, in order to understand their daily routine and entire process."**** "I'm hoping for feedback from third parties and maybe even to meet some programmers ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622286", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: Can't replicate a scroll reveal animation on Squarespace, but works fine on codepen and local server codepen // reveal point from bottom and top of the window var revealerpoint = window.innerHeight / 2; window.addEventListener('scroll', reveal); reveal(); function reveal() { var revealers = document.querySelect...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622287", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Yo, does anyone know how to hack a bank? So, I was wondering if anyone knew how I could hack a bank. Obviously, I am doing this ONLY for EDUCATIONAL PURPOSES. I watched some YouTube vids on hacking banks, but they didn't really explain much.
{ "language": "en", "url": "https://stackoverflow.com/questions/75622290", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: Data Programming Using Excel I have an data set in an spreadsheet that I would like to have applied to a series of several hundred separate data sets to create a new version of that dataset. [Data 1] x [Data Series] = [New Data] I am wondering if I should make a batch file, python script or use google script. Any ad...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622292", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: Why does Pillow's ImageChop.multiply() not do the same thing as Photoshop's multiply? Alternatively, how can I simulate this Photoshop affect programmatically? In Photoshop, I have two layers: A simple "Magenta" fill, with blend mode Multiply, and Opacity 100% And a simple "Cyan" fill, with blend mode Multiply, and...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622293", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Issue with NavigationView causing font size to change on some items when clicked I am experiencing an issue with the NavigationView where the font size of some items changes when clicked. There have been no modifications made to the font in the application code. I have tested this in a new application and did not en...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622296", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Netcat to send/receive to/from DPDK is not receiving forwarded packets I'm running the DPDK Skeleton example, which forwards received packets: https://doc.dpdk.org/guides/sample_app_ug/skeleton.html sudo ./dpdk-skeleton -l 1 -n 4 EAL: Detected CPU lcores: 4 EAL: Detected NUMA nodes: 1 EAL: Detected static linkage of...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622297", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Can Not Process URL If Special Character Is In Path Using Chilkat Library i am trying to get data from a link using chilkat http library using following method/function: sHTML = oHTTP.QuickGetStr(URL); it's works find with all type of url except if the url has special char in it's path example: Note: it has ; (semi...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622300", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: database insert/update fails with context I have the follwoing Model class: public partial class EmployeeInfo { public int EmployeeInfoId { get; set; } public int PolicyYear { get; set; }= DateTime.Now.Year; public DateTime DateFormFilled { get; set; } = DateTime.Now; public string EmployeeNumber { ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622302", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: What does PARI mean by "showing all possibilites"? I am running this code, unfortunately I have no idea that why it is asking me a yes or no question. Normu(D) = my(k = bnfinit(y^2-D, 1), u = bnfunits(k)[1][1]); nfeltnorm(k, u); { L = List(); forprime (q = 5, 100, if (q%8==5, N2 = Normu(q)...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622304", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Update values matching two column values of data frames R I have two data frames of different size and I would like to replace the values of one of its columns by matching the values of two other columns. For example, if I have this data frames: > df1 A B C D 1 1 4 a red 2 2 5 b blue 3 3 6 c green 4 4 7 d w...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622305", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Relationship between Spark Partition and Parallelism I don't understand what you mean by more partitions in Spark, the higher the degree of parallelization. One core(task) processes one partition, which means that it is parallelized by the number of cores. Then, parallelism is related to the number of cores, but isn...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622306", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: After npx create-react-app, modifying webpack.config.js inside /node_modules/react-scripts... does not work My goal is to change svgo module's config the way that it does not remove id tags from svg file while importing it. I have App.js: import React from 'react'; import logo from './logo.svg'; import './App.css';...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622308", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: When and WITH WHAT JUSTIFICATION, did the $ become an element of context in regular expressions ? (is that documented somewhere ?) Regular expressions were invented in the fifties, as a mathematical concept on the work of Stephen Cole Kleene. In the old time programs as sed, considered begin and end of line (represe...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622309", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: No file/Directory error with wkhtmltopdf? my htmlt to pdf conversion was working just fine until all of a sudden I started getting the following error Traceback (most recent call last): File "/home/ubuntu/miniconda/lib/python3.10/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 565, in _run_scrip...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622310", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Autocomplete address with google api I have programmed a simple page where the user can input their address into a search area. Based on the input the address is autocompleted via Google Maps API. Once the user selects one of the addresses then the fields are filled. Everything works, except for the Province/State. ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622311", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: How can I prevent automatic close at [ok] button on "mdc-dialog" material web component? At first, I created my web application (html, javascript & webpack bundle), combined using Material Design Components. In my html page has use mdc-dialog component (Dialog). Below is mdc-dialog in my html. It is input data dialo...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622312", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: .txt file as a super creating weird syntax error with java I have a .txt file as a super and I'm getting a syntax error saying, "0(21) : error C0000: syntax error, unexpected '=', expecting "::" at token "=" " I'm following a ViewMatrix tutorial and this .txt file is helping with the shading, but I just cant figure ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622314", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-4" }
Q: Are there any definite indentation settings for vi editor or linux terminal to maintain indentation same as the .yaml file? I have to update a directory with new .yaml file. So, I created a .yaml file using vs code in the local system. Then, I tried to copy and paste the code to a new .yaml file using vi editor in t...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622316", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Avoid an unintentional data type conversion when using inner join? I am joining two tables into a third with different inner joins columns. When I run the query, the value for invMarketgroups.marketGroupName is mentioned in the error as Msg 245, Level 16, State 1, Line 1 Conversion failed when converting the varcha...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622317", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Why Dialog popup Alert doesn't dismiss as they claim by using PyPpeteer class? After developers of PyPpeteer claims how to handle Dialog and Alert box after them this should be the code which close and dismiss if you want cancel the Dialog.page.on('dialog', lambda dialog: asyncio.ensure_future(close_dialog(dialog))...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622322", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Heat Map in R Language I'm running this code and I get the point map, that's OK. But I need the Heat Map. Where I got a concentration of point needs to get the red color and the area in blank needs to be blue. library(tidyverse) library(rnaturalearth) library(rnaturalearthhires) BRA <- ne_states( country = 'Brazil'...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622324", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Simple math question about derivative of summation Can i know about derivative of summation? original equation is the below equation. S_p = Summation of p_i (start i = 1 to n) Thanks.
{ "language": "en", "url": "https://stackoverflow.com/questions/75622325", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: I want to use Google oauth to authorize other applications, and there is a problem getting code There was a problem when I got the code in the first step the get url is below https://accounts.google.com/o/oauth2/auth?response_type=code&redirect_uri=http://localhost:5655&scope=https://www.googleapis.com/auth/userinfo...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622326", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Why properties defined are not used in pom.xml? At work, I often see some properties defined in pom.xml but not used while searching. So is it used to override the properties inherited from other pom.xml/dependencies? A: Some of the properties are applied implicitly, e.g. when you specify <properties> <java.versi...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622327", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Java/Spring - How to have a background thread hit an API for health check and change a flag if server is down? Background I'm running a Java spring application that passes some data to an external API, grabs the return, uses it manipulate data, and then continue on its merry way. public void process(Item item) { O...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622330", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: AttributeError: 'NoneType' object has no attribute 'rsplit' I'm getting AttributeError: 'NoneType' object has no attribute 'rsplit' error when trying to run this code self.client.get("/"). Test running in Docker on Windows 10 machine. Other simple model tests are running good, just like the application itself. Also ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622333", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Use this code to upload a file from Google Forms to a specific folder in Google Drive, but it will create multiple identical folders The following is the code I use. It is true that a folder is created in the specified google cloud drive, but multiple folders will be created sequentially. Where should the correction...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622334", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: How to display greyscaled Image properly using Pilow? I'm trying to open an Image using PIL in python. The code I'm running works fine with other images (and greyscale images I produced myself). But this one Image file doesnt display properly. It makes the Image pixels either true White or true Black instead of a re...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622338", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: the attributes of OAuth2Authorization is serializered to object and deserializer to map enter image description here enter image description here this is a bug enter image description here the function of mapRow in JdbcOAuth2AuthorizationService deserializer to the attributes and the function of authenticate in OAu...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622341", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: 3D quiver arrow look I´m trying to plot an arrow inside a sphere and have the following code u, v = np.mgrid[0:2*np.pi:20j, 0:np.pi:10j] x = np.cos(u)*np.sin(v) y = np.sin(u)*np.sin(v) z = np.cos(v) fig = pl.figure(figsize=(20,15)) ax = fig.gca(projection='3d') ax.quiver(0, 0, 0,blocx[0], blocy[0], blocz[0],color="b...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622344", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: lxml - ValueError: Namespace ... of name ... is not declared in scope When calling lxml.etree.canonicalize(node) a ValueError exception is raised: Namespace "{<uri>}" of name "<name>" is not declared in scope. In this particular case the message is ValueError: Namespace "http://schemas.xmlsoap.org/soap/envelope/" of...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622347", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Old component got undefined after set other component to list in Nextjs I got a bug that i struggle 1 week for this. I have a react table with each row is each product in list When i change number or price, the last column will change price and set this price to list for send to back end function CountTotalPrice({ ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622348", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: What callback to use before starting the typed.js typing animation? I'm creating a script where I add a class on the first and second spans within the parent div. But I can't seem to make the onBegin callback in typed.js work. Am I missing something? function addClassSpan() { // Get all the spans in the typed el...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622350", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: What is wrong with my CS50 cash week 1 problem? This is Cs50 problem set1 cash. i don't get it, if you get the largest coins then for 73 shouldn't it be ( 2 qualters, 2dimes and 3 pennies) and for 28 shouldn't it be (1 qualter, and 3 pennies). can anyone help me with the logic behigh why 7 dimes for 73 and 5 nikkels...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622351", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Debugging Chrome Extension in VS Code throws 'Cannot connect to the target' error I am trying to debug a Chrome Extension in VS Code using 'Attach to Chrome' configuration. However, when I run the debugger, it throws an error: "Cannot connect to the target at localhost:9222: Could not connect to debug target at http...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622352", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: React native : How to get city state and country using pincode number? I have register page, in this there is one field which is pincode, what to do I have get country ,city and state using pincode number how to do this. I not found satisfied answer. Is there is third party library available? In react native. A: yo...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622353", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Adding widget to list doesn't update on the screen Helllo, can someone explain it to me, why when I press the buttons to add/remove a new task (elevated buttons at the end of the first code) the screen is not updated? I need to hit hot reload to see the new task, when I print the taskList I see the new task Helllo, ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622354", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Swift Changing Alpha of an NSAttibutedString can someone explain what an NSAttributedString? Why would we use this instead of just string? Also Is there a way to change the Alpha of an NSAttributedString?
{ "language": "en", "url": "https://stackoverflow.com/questions/75622356", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: How to create a `new` constructor for a `type` Is there a way to create a constructor for a type that aliases a native object? I currently have a defined type which should be constructed with a default value. It will be created in many places so I want to ensure it is created consistently. export enum Category { a='...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622357", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Django: Remove db rows not present in JSON As part of the Django project, I would like to mirror API data to local database. I have managed to update data on unique key, however I am struggling how to remove data from the database NOT anymore present in the API file. To illustrate this, let's have current API data l...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622358", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: pivot_longer: create multiple columns of different types from multiple columns I want to create pivot_long my data frame by creating 3 additional columns; mean_stat, med_stat & sample filled with their corresponding values. Here's my strategy * *mean_stat from mean_stat.x, mean_stat.y, mean_stat *med_stat from me...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622360", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Misunderstanding about pointer in C struct Employee { char name[50]; double hourlyWage; double workHours; }; int main(int argc, char **argv) { int maxEmployee = 10; int numEmployee = 0; struct Employee *pe = (struct Employee *)malloc(maxEmployee * sizeof(struct Employee)); struct Employe...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622361", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-5" }
Q: Pyplot formatting changes when run in a for loop I'm trying to use a for loop to generate multiple plots in pyplotlib, just with differing data. However, after the first loop, the formatting changes and I'm not sure why. I've tried using plt.clf() and plt.cla(), but that didn't seem to do anything. Here's the for lo...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622364", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: In my web page i have used owl carousel for my testimonial section in which the rating icons design is varying is different mobile devices In my web page i have used owl carousel for my testimonial section in which the rating icons design is varying is different mobile devices. here is the link to my code "navbar.un...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622366", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: Can anyone confirm if http://169.254.169.254/latest/meta-data/attributes/terraform is a real ec2 meta-data endpoint? I was recently testing ChatGPT on terraform scripts and came across something that I can't tell if it's a GPT "cannon fodder" or if this is an undocumented feature. On a trained ChatGPT session I inpu...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622369", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: How do I run the Angular 14 SPA in Xcode I have an angular web application using version 14, I use visual studio code to run the application, but I wanted to run that in Xcode. I tried using existing project by cloning from the repo, but I don’t see any of my typescripts files., Can someone help me how can I use the...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622373", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can i make my react native application cache only 32 MB of data? I have a react native app where I render a flatlist of video items. The more I scroll into the list, the larger my memory consumption gets. I am currently using the Video component from react-native-video package and convertToProxyURL function from...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622374", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Converting Torchvision object detection models to CoreML Is there a demo/example on how to convert Torchvision object detection models to CoreML? It's strange that CoreML documentation has tutorials for Torchvision classification and segmentation, but not for object detection. Is it because it's not possible? I'm un...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622379", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How do you attach necessary files to GitHub repo? If I have a python library I use in my GitHub project, will someone without that python package still be able to run my code after cloning my project? If not, can a python library be attached to a repo? Also, if I have a bash file, will it still be able to run with p...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622383", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Azure devops background task using bash I am trying to run a background task so I can run other HybridAKS commands. Since I need to use bash, this doesn't work and give me error. Sample Pipeline : trigger: none pool: somepool container: image: someacr.azurecr.io/somecontainer:1.0 endpoint: some-dockersvccon s...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622385", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: A probability (math) question: biased coin flip with sampled observation Let's say a coin flip has probability H to come out as heads, and 1-H to come out as tails. Let's say we flip many times but for each flip we randomly decide if we will look at the result, by a probability of L, or 1-B ("B" means blind, i.e. no...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622387", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: React hook form useFormContext generating "argument of type 'string | undefined'" error I am new to react and I am using react-hook-form useFormContextand it is generating the following error, Argument of type 'string | undefined' is not assignable to parameter of type 'string'. Type 'undefined' is not assignable to...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622388", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: C# Stuttering when using ObjectListView When using ObjectListView, when there are many subnodes, there is a problem even if you use Doublebuffered. I'm wondering if there is a solution. It is not smooth and lags when scrolling down. DoubleBuffered = true; It doesn't work.
{ "language": "en", "url": "https://stackoverflow.com/questions/75622391", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Set y-axis labels to boxes with facet_wrap and ggarrange Hi there I'm quite new to R and manage to get a plot using both ggplot and ggarrange; however, I would like to have it more aesthetically pleasing adding the labels for the y-axis (here HG002, HG005 and peru60) within boxes, similarly to what I have for classe...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622394", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: No output after peakcalling of mtDNA with MACS2 I am new to the CHIP-seq analysis. I am basically trying to call peaks using MACS 2 with the proccessed data of mitochondrial DNA only in bedgraph format given in the accession number GSE48176 under the link https://www.ncbi.nlm.nih.gov/geo/query/acc.cgi?acc=GSE48176. ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622396", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Using qualify inside window function in bigquery I have a dataset where I have tasks, each task corresponds to an user and have an unique id, an amount, and a creation date. Also in each task the amount could be updated and the event will be a new row in the dataset with a last update date corresponding data. So in ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622400", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Suggestions to analyze over speeding dataset better I have a dataset (over a million records) with the following columns - VehicleID, Speed, SpeedLimit, Latitude, Longitude, Speedforwardvehicle, distanceforwardvehicle, speedoverlimit, severity, datetime. They are all event based records of vehicles that recorded a s...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622402", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Different results in Databricks using SARIMAX In Databricks, using 11.3 ML runtime give different results when using general purpose vs memory-optimized workers. I used SARIMAX and to forecast the results but I’m getting different results when I change the driver and worker types to this options. Does anyone know wh...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622403", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Expo Vector Icons not appearing on Android - only iOS production build I have icons from import { Ionicons,FontAwesome5,FontAwesome,AntDesign ,MaterialCommunityIcons} from '@expo/vector-icons'; and on expo go on iOS they work fine, additionally in TestFlight they work fine. However, on an iOS development build they...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622410", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Possibility of simulating a 2D flood for different 2D plan projections for one mesh I am working on a flood simulation should have x,y direction (2D), then I should work on x,z direction (2D). My mesh is the same for both areas (one mesh), where I should connect the flood from an upper area to a lower one. Is it pos...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622413", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Get currentUser data from firestore using react I've created a simple signup / authentication system and I would like to retrieve the logged in user's details (name, bio, email, imgURL) from my firestore collection, however I've had no luck outside of "undefined" and "null" for the values listed above. The actual co...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622414", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Visual Studio 2022 once run as ADMIN never goes back to normal It is amazing that no one in the world can solve this problem. See for instance, Run Visual Studio 2022 without admin rights on Windows 11 I have created an another account in Windows 10 and run Visual Studio. Just in first use, Visual Studio somehow inh...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622415", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Cmd + Click to Go To Definition in VSCode Using Ctrl + Click to go to definition in VS Code is a really important accessibility feature for me when coding. I recently switched from Ubuntu to a mac running Ventura, VS Code info: Version: 1.75.1 Commit: 441438abd1ac652551dbe4d408dfcec8a499b8bf Date: 2023-02-08T21:34:5...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622416", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Python Web sacraping xlsx doesnt seems to work import requests from bs4 import BeautifulSoup import pandas as pd url = 'https://www.directliquidation.com/' response = requests.get(url) soup = BeautifulSoup(response.text, 'html.parser') links = soup.find_all('a') excel_links = [] for link in links: if link[...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622420", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: String Formatting for NSC - SQL or Python I work for a nonprofit and we submit batch queries to the National Student Clearinghouse (NSC) AKA we provide them with data from our database to match in their database. Part of this process means I need to modify the following fields: "First Name", "Middle Name", "Last Nam...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622421", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: making multiple dependent api calls with react query I have an api where each api call requires a token which is generated from previous api call. This token has to be used only once and for every api call a new token will be generated. Login generates token0 -> call1(token0) generates token1 -> call2(token1) genera...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622426", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to reshape dataframe to create stacked bar chart? I have this dataframe: date product quantity 0 2021-03-01 A 55 1 2021-03-01 B 43 2 2021-04-01 A 55 2 2021-04-01 B 46 2 2021-05-01 C 10... I want to crate the following shape: date product quantit...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622427", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Vertex AI pricing model training and prediction (endpoints) I want to ask about the pricing calculation details, I am still confused when reading the documentation. I will do a training model such as XGBoost or Scikit-Learn to forecast the data, I need to train the model in region asia-southeast2 (Jakarta) using the...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622428", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Collapsible div on button click How can I create a collapsible/expandable div based on a button click? I'm trying to recreate something like the example plot in the AG Grid docs. Here's my codepen and current problems: * *There is a transition when I collapse the div, but not when I expand it. There should be a tr...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622429", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to properly use and understand ch units for width in CSS I've recently in the last week come across a new CSS unit "ch" I haven't seen it before in any of the tutorials I've taken or websites I've inspected and have tried to look up information regarding it but honestly, there seems to be such little info on it ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622431", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Starting to learn Javascript, Simple Question about arrays So recently i've been doing some web development with only HTML and CSS for a few months now. And recently i;ve started to learn Javascript and wanted to ask if I should really learn arrays. I've been reading up on arrays and their use and from the looks of ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622434", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How to bind values when using FluentSelect I'm struggling binding values when using a FluentSelect. Can someone see what is wrong with the following? <EditForm Model="..." OnValidSubmit="HandleValidSubmit"> ... <FluentSelect @bind-Value=@intValue TOption="int"> <FluentOption Value=1> Option 1 </Fluen...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622438", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: NextJS passing id of record to a function with a modal I have the following NextJS component which renders a list of people .. I also have a delete button which opens a modal and asks if you want to delete said person, but i cant figure out how to pass the id to the function through the modal so its not working at a...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622439", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Google App Scripts shows my code ran but nothing happens I have an on edit code that is supposed to take the inputted state in column 5 and update the time zone. It also is supposed to take the DPD column and change the number to a negative if it's edited. The execution log shows the script completed but nothing cha...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622440", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: pandoc not available when knitting .rmd in vscode So I'm new to R, and I've been trying to knit my .rmd files in VSCode. I've installed the pandoc and rmarkdown and knitr packages. The knitting works fine in RStudio but I prefer VSCode as a text editor, I can't seem to find any MacOS specific fixes for this either. ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622449", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: how to webscrape a dynamic website without the ID of the buttom by python? I'm trying to websrcape some information the following website: https://entertainment.cathaypacific.com/catalog?template=movie&parent=%E9%9B%BB%E5%BD%B1 Here is my code: import asyncio from pyppeteer import launch from bs4 import BeautifulSou...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622452", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: weather data wind direction collection Here I have wind direction data for combine per day and per hour as show on image. my code in below: I am not programmer. Just for working needed . and first time study for object dictionary. I hope some one can help me. thank you in advance. enter image description here Sub te...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622456", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to use an AWS Comprehend Custom Classifier Model with REST API? Can someone let me know what's the easiest way to use the an AWS Comprehend Custom Classifier Model for real-time analysis through a single API call? I've built a model myself and I'd like to use it through a simple API call instead of using SDK. I'...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622457", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Upgraded mongodb 2.6 -> 3.6 and seeing errors: "Sessions collection is not set up..." I had a replica set running on MongoDB version 2.6 and upgraded to 3.6 (2.6 -> 3.0 -> 3.2 -> 3.4 -> 3.6). The cluster is working fine for my normal operations. rs.result() ... "ok" : 1 I'm trying to connect a tool that's using Mon...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622459", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: React Native KeyboardAvoidingView not working with ImageBackground I have this code and for some reason KeyboardAvoidingView stopped working once I added ImageBackground. I am a little lost, does anyone have any good input? return ( <View style={[styles().container, {zIndex:10000}]}> <ImageB...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622462", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: how to use a loop variable in a regex I am trying to iterate over a list of dicts(keys:labelname and id) and want to get the string after the label value using regex text = "Company Name: ABC \n Address: 123St, LA \n Post Code: 12345 \n" const itemList = [ { id: 'companyName', label: 'Case or Reference Id' }, {...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622464", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: "Calculate" button on decimal to/from binary calculator doesn't respond This is my first term in programming, just got to GUIs. Context: I built a JFrame with North, Center, and South border layout. In the North are radio buttons for decimal -> binary and binary -> decimal; that part works fine. In the Center panel ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622466", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: how to sort a ruby collection based on data in another table? I have a filtered list of companies: #<ActiveRecord::Relation [#<Company id: 483, name: "Apple", description: "Apple Inc. is an American multinational technology...", social_website: "https://www.apple.com/">, #<Company id: 482, name: "Ceres Technology", ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622468", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Entity Framework Core: how to specify the same set of primary keys for all entities? I have a number of entities and for each of them I need to specify a composite primary key: modelBuilder.Entity<MyEntity>HasKey(vf => new { vf.col1, vf.col2, ... vf.col8 }); Is there a way to do the same for all entiti...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622471", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: TzdbZoneRulesProvider not working in java.time I'm migrating an old code base away from the threeten backport library to use java.time instead. There is a test method that no longer works, but I don't know how to fix it. Here is the class before the changes. This compiles correctly: import androidx.arch.core.executo...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622472", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How do i access the value of a table cell value rendered from python backend (HTMLcalender) in javascript front end #django_project i want to get the value of a table cell from a Calendar rendered from python backend into html frontend, i want JavaScript to highlight the date as of today, by getting the value of the...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622474", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Force footer to the bottom when content not filling the page I am having an issue keeping the footer to the bottom of the page if there is not enough content to fill the page. If i switch the position to fixed it keeps the footer at the bottom however if stays at the bottom of the page visually at all times despite ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622475", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Making a winforms picturebox animation that moves at a different speed, within a different animation I'm trying to make the image rotate if it falls in the first if statement. This works, but it rotates extremely fast (due to the animation being 60fps, so it rotates 60 times/s). How can I separate it so that it move...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622478", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to make a button click full screen in php without redirecting the result? I have made a button clicked in php that will display the result on the button without going to the second page. It worked well. But I want it to take over the entire page after the button is clicked, and I have only a certain part of it...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622483", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: DolphinDB equivalent for SQL ORDER BY with NULLS LAST I want NULL values to be returned after non-NULL values when sorting in ascending order in SQL query, like NULLS LAST supported in Oracle.
{ "language": "en", "url": "https://stackoverflow.com/questions/75622484", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can I add OR conditions in Django filters but with conditions So let's say I have a interface that has a filters section (not django filters but just normal filters that we see on product listings etc). Now what I want is that: If Individual is checked, then only show Individual which is very easy. But things g...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622485", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Create a new table in snowflake from pandas df in python I am trying to create a new table in snowflake from a pandas df in python, but it gives me an error : “No Active warehouse selected in the current session. Select an active warehouse with the ‘use warehouse’ command” but I do not see where I can add that comma...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622488", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to see tag key of json with go struct? I am learning https://www.digitalocean.com/community/tutorials/how-to-use-json-in-go#using-a-struct-to-generate-json (old version of Go). I use go 1.20.1 , Windows 11 x64, GoLand 2022.3.2 . package sample3 import ( foo "encoding/json" "fmt" "time" ) type myJSO...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622490", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Excel: Toggle text color between two cells based on each cells value I want to toggle text color between two cells based on each cell's value: When the value in Cell 2 = 0, I want the font color in cell 1 to be black and the font color in Cell 2 to be gray. When the value in Cell 2 > 0, I want the font color in cell...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622491", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: how can I adjust this div to not stretch the entire browser from left to right I am trying to build a box around this login form but I can't figure out how to lose the stretch from left to right. Any pointers? I will include the code and screenshot below. display : flex; justify-content : center; align-i...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622492", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: When using Swiperjs in a Card component in React, images in swiper get distorted if I use grid-template-columns: repeat(2, 1fr) When using Swiperjs in a Card component in React, images in swiper get distorted if I use grid-template-columns: repeat(2, 1fr). You can see live working in this code sandbox link, to see t...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622494", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Rotating an Image Along with a Custom Turtle Shape in Python's Turtle Module I'm currently working with Python's turtle module and I have created a custom turtle shape using the "turtle.register_shape()" method. Specifically, I have loaded a rocket image from a "rocket.gif" file and set it as my turtle shape using t...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622497", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }