text
string
meta
dict
Q: PowerApps + SQL: Filter won't work with more than 9 conditions I have a gallery in PowerApps that shows data from MS SQL DB. I also have 11 fields of input text that are used to filter the resulting table. Problem: When I put more than 9 conditions to the Filter function, the table returns no rows. I've tried to swi...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594842", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: What is wrong in my php code that can't login to a website using curl? I used the same program for a different website and it worked to login using curl instruction. Unfortunately, I don't why but for this url:https://www.eureg.ro/ro/clienti/login it doesn't work. $postFields = array( "login" => "horia", "pa...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594844", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: How to auto-scroll while selecting a long single line in VS Code with a mouse? Currently, it jumps to the end or beginning when reaching a screen edge In VS Code, when I am not in wrap wrap mode, often lines will go off the screen to the right. If I start selecting the line and the selection goes to the right of th...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594845", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Flutter error with VS when i try to run the programe i get this error: Could not run phased build action using connection to Gradle distribution 'https://services.gradle.org/distributions/gradle-7.5-all.zip'. org.gradle.api.ProjectConfigurationException: A problem occurred configuring root project 'android'. A probl...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594851", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: What parts of the C++ standard library (besides containers) might result in memory allocations? There are some obvious parts of the standard library that do memory allocation on the heap, e.g. std::string, std::vector, std::list and std::map. Other parts can sometimes allocate memory a bit "unexpectedly", in a not i...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594855", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "3" }
Q: Differences in sum of squares between JMP and R when nested effects in the model I'm trying to translate a JMP script into R. In my analyses, I have to perform the following linear model : Y ~ G + C + G*C + C%in%L (equivalent model writing in jmp would be G+ C + G * C + L[C]). I know JMP is giving type 3 SSQ, and I ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594861", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Background Color keeps going missing SwiftUI This one is frustrating the hell out of me but I know that it is going to be a simple one once I figure it out. I am struggling to get the background color of the whole "page" to be black. var body: some View { ZStack { Color.yellow.edgesIgnoring...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594862", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How do I use a GraphicsView within a ScrollView to show a window of text from a large file? I am trying to write a readonly text viewer. I cannot discover from the docs how I might paint with DrawString() 30 or 40 lines or whatever fits in the current window height on to a GraphicsView from the current line in the f...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594864", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Static files are requested from localhost and not localhost:8444 in PHP, Apache & Docker I have a docker container setup to serve a site over SSL 8444 and non ssl 8002. The site loads however, it's not loading any css/js/static files that are included in the html payload. Given the following html: <link href="/css/b...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594866", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to identify which rows has been updated, deleted or inserted in an excel through python/pandas? I have an excel which will be updated ( existing rows will be updated with new data, inserted or deleted) every day and I have to perform certain transformation on that excel data. Now the question is how to identify ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594867", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: No routes matched location "/posts/postId" on refresh? Hey I am refactoring my post app to implement useContext but I have encountred error I was unable to fix. I am implementing routes and context state management like this: import PostForm from "./components/PostForm"; import PostList from "./components/PostList";...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594870", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Table only sorts first character I'm new to javascript and currently stuck. When I try to sort a column in my table it will do so by looking at the first character instead of the whole value. For example: 16, 4, 12, 1, 8 will sort to: 1, 12, 16, 4, 8 instead of: 1, 4, 8, 12, 16 Also there are text valuables in there...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594873", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Stack bars on top of the others in a horizontal barplot ggplot2 Building on a previous (Obtain two barplots in the same graph ggplot2) question, I would like to add more complexity to this plot. Example dataset: df1 <- data.frame(who = rep(LETTERS[1:5], each = 5), age = 1:25) df2 <- data.frame(who = rep(LET...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594875", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to select all children except for the last child within a by using JS querySelector? My section that contains testimonials + images need to horizontal scroll by using buttons. After integrating these buttons, one of the clicks lead to no testimonial item. My guess is the querySelector needs to select all childr...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594879", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Unable to import user services in to report controller Hi I'm working on a nest Js mini project, I have two separate modules called reports and users. Both of them have their own Service, controller and repositories. reports have many to one relation with users. I wanted to add user property to the reports. I'm tryi...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594880", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Conditional Formatting Rules Applying to Different Cells this seems like something that should be relatively easy but I can't get it to work correctly. I have an excel sheet that measures both a goal and a result. I want the result to change to either green or red based on whether it is meeting the goal or not. I ha...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594882", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Python Keyword association blank results I'm trying to build a sample data set where I can find frequent word associations. I'm able to get to the point of tokenization of the words, but my word associator comes up blank. The code is attached as a reference along with the dataset being used appended at the end. Her...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594883", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Qt3D - How to modify camera movement keybinds using QAbstractCameraController? (C++) Just started using QT and I've ran into what is probably a very simple problem. I'm making a 3D scene where you're supposed to move the camera through space using WASD + mouse for rotation. The existing QFirstPersonCameraController ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594884", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: ping command is not working and I cannot login with ssh I have made the following edits to /etc/sysconfig/network-scripts/ifcfg-eth3 file and Now ping command is not working and I cannot login with ssh. My goal was to assign a static IP address that will not change what am I doing wrong? BOOTPROTO I changed from DHC...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594888", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Unable to import rememberSnapFlingBehavior I'm trying to implement this behavior in my compose application, but when I import the required function with the following import statement, I get an Unresolved reference: snapping error from Android Studio. import androidx.compose.foundation.gestures.snapping.rememberSnap...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594889", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Fixing KeyError in Index I am continually getting runfile('C:/Users/GregL/.matplotlib/test of loops.py', wdir='C:/Users/GregL/.matplotlib') c:\users\gregl\.matplotlib\test of loops.py:19: UserWarning: Pandas doesn't allow columns to be created via a new attribute name - see https://pandas.pydata.org/pandas-docs/stab...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594890", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Is it possible to create a 'class constructor with a unicode caracter' in python? By 'class constructor with a unicode caracter' I mean an analogous to the list constructor '[' or the tuple constructor '('. For exemple, can I define a class Circular_List, a '|' constructor such that when I do: List = |1,2,3,4| it's ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594892", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: ReactJS: Persistent Storage Options - Modal Dismissal Warning: I know this is really too broad for SO, but i'm not sure where else to pose this question... We have a react / redux application and need to create a modal that appears once for the user and then after dismissed, will not reappear. We cannot use cookies ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594896", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How to get a multi-file project in C programming to run in Visual Studio Code? I want to run my multi-file C project in VSC using the CodeRunner extension instead of having to use the command line to create an executable. I want to see the output directly in the VSC terminal window. When I try to do Run Code on my m...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594897", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to send output from Excecute Process Task to stdout? I've got an Execute Process Task that is failing. I'm capturing the output in StandardOutputVariable. Right now when the package fails it just says it failed at Execute Process Task with no helpful information. The StandardOutputVariable holds the exact fai...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594898", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to properly map IEnumerable to IDictionary using interface base code generation? I'm trying to replace this manual mapping: var group = new Group { Participants = family.Children.ToDictionary(child => $"{child.LastName}, {child.FirstName}", child => new Participant { Class = child...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594899", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can I draw a circle over a chrome window(or another window) using python I want to draw a circle over chrome, where I have the center(coordinates) and radius.. I tried turtle but it opens up a new window, also, a transparent layer does not work for me :')
{ "language": "en", "url": "https://stackoverflow.com/questions/75594900", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: cygwin installer claims that some boost libraries are installed but no header files found under C:\cygwin64 I have installed cygwin64 on windows 11 in folder C:\cygwin64 Then I installed some boost libraries ex libboost_program_options1.66 I can also see that in the temporary folder for installation a libboost_progr...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594908", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: PSQLException: ERROR: function pg_catalog.timezone error in JPA I am working on an API to use the below native query using the JPA repository. On executing the query by the APi, the application throws the below error : ERROR: function pg_catalog.timezone @Query(""" SELECT SUM(p.total) AS total, ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594910", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Scrapy : "Show more results" Ajax I'm trying to parse this kind of page : Link here It's all good until I need to simulate the "Show more results" button. I have to say I'm both a beginner in Python and using Scrapy. Also my web skills are really limited. (so if you have any video / tutorial in order to understand t...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594911", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: PyTorch LSTM expected hidden[0] size error I create two tensors with this code: probs = df['probs'].str.split(',', expand=True).astype(float).values targets = df['isTrue'].values.astype(int) x_train,x_test,y_train,y_test = train_test_split(probs,targets,stratify=targets) shape of train data is torch.Size([47, 44]) ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594912", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: When using WiFi, a distant machine experiences dropped messages on the ROS 2 LIDAR topic I have a 3D Velodyne LIDAR that is generating scans on a ROS 2 topic. When connected to a distant machine via an Ethernet cable, I am able to echo and visualize the data on RViz2 without any issues. However, when I switch to WiF...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594915", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: How to resend Oauth pending developer action? I got pending developer action response from Oauth setting of Google cloud. I modified actions and want to submit again to be reviewed again. It says, I need to update my email thread after all actions are completed. However I don't get any email that I use.. Where can ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594916", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can i creat a function to avoid duplicated values. (VBA Excel) The problem is: I need to insert some data in a form, this form i can save, edit and delet the data, but has a specific data that needs to be unique, so that when I insert the value i can't put the same value again. I'm tring to put this condition in...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594917", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: webscrape to excel requiring issue I'm trying to scrape some data from a website to excel. I thought i figuered it out but now my results show up as: <span class="ElementLeaf_elementTitle__xda82" data-test="pab-item-title">PLATE 1X1 ROUND</span> <span class="ElementLeaf_elementTitle__xda82" data-test="pab-item-titl...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594921", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: centering the third div inside the container div I am trying to figure out on centering this specific div block, the container has 3 div box which is the homeBox, awayBox, and newGame. the first two boxes are in the perfect position because I use the flexbox but the issue is the third div block is out of position, I...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594926", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Font not loading in TailwindCSS I'm working on a React JS app with TailwindCSS, all Tailwind properties work, but the font is not updated when I run the app. If I put font with style prop, instead of className the font is shown correctly. There is my page: <div className="flex flex-row mr-8"> <p className="text-w...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594928", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Refreshing a power query by VBA in a protected worksheet I have a protected excel worksheet with a power query that I want to refresh with VBA. My code should unprotect the sheet, refresh the query then re-protect the sheet. The basic script is very simple (I have tried it with specific named queries but I get the s...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594929", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Laravel 9 Dynamically Frontend File Change My Admin Theme Checkbox I am created a middleware Of <?php namespace App\Http\Middleware; use Closure; use Illuminate\Http\Request; use DB; class FrontendTheme { /** * Handle an incoming request. * * @param \Illuminate\Http\Request $request * @param \Closure(\Illuminate\...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594932", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How do I remove myself as an owner of a document using app scripts? I have tried this but the document still stays in my google drive. doc = DocumentApp.create('document') doc.removeEditor('myself') I know i cant remove myself but is there any way to avoid it. doc = DocumentApp.create('document') doc.remo...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594934", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: WPF - .Net 6 : Right click a ContextMenu MenuItem to get another context menu I have a WPF (.Net 6) app that uses H.NotifyIcon.Wpf to do a notify icon in the system tray. Part of that package allows you to set a context menu on the icon. My app shows a folder listing in the context menu. Now, the tough part. I w...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594937", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Problems with MGL tools installation with Ubuntu using Parellels I have an M1 Mac and have now got Parallels to do some docking. For this I want to install MGL tools. I have already tried everything possible but get the following error with every installation: Python installed, please wait for the rest of MGLTools t...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594940", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Realm with Apollo GraphQl API I am looking to build a React Native app and I'd like to use Realm so it can be used offline and then synced once the connection is restored. However, I'd like to use the same API I use for the web app built on NextJs, powered by a serverless (AWS Lambda) Apollo GraphQl API built using ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594945", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How do I trigger multiple jenkins jobs based on which test passed in the main trigger job? Let's say I have 3 test cases: Test A, Test B, and Test C. And I have 3 jenkins jobs: Job A, Job B, and Job C. I want to create a jenkins job that runs all 3 tests and based on which passed, trigger the respective jenkins job....
{ "language": "en", "url": "https://stackoverflow.com/questions/75594947", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Need to find a way to search an array of computer names vs. printer ID I'm working on a project where I need to search for any devices in certain areas that have a certain printer as their default. Printers are named BBBAAA00TL, where BBB is the Building, AAA is the Area, T is the type (Color, b/w Printer, Multifunc...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594955", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: My react component doesn't render normally in storybook I'm using Storybook for React for the first time. I'm using a React template called "CoreUI". i'm using a premade component but the thing is that when i try to render this component in storybook, it just explode and doesn"t render as it should. Here's my compon...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594960", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Spring Data Elastic using deprecated _type in update query I am using spring data elastic 4.4.2 and ElasticSearch 7.10 and I've the following simple code return reactiveElasticsearchClient.update(new UpdateRequest("index", id).doc(document, XContentType.JSON)) .doOnSuccess(r -> log.info("exit method()"))...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594962", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: npm works only with --legacy-peer-deps but I want to fix dependencies to get rid of that parameter. How? I have an angularJS project, recently it cannot be compiled without --legacy-peer-deps. I know which packages cause error, because when running npm install I see them listed here: npm ERR! ERESOLVE unable to reso...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594965", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Readfile Writefile and outputfile from textfile java I am working on a homework. I have 2 input files and must get an output file from the 2 input files (must be merged). I am getting multiple errors. I will provide the code for my Cars class and ReadWrite class file also. The question is: Read data from two (2) te...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594966", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: React Post operation on submit not working This is the code snippet I developed but onSubmit does not seems to work.Can anyone help me const initialValues={ id:"", title:"", director:"", actor:"", genre:"" } const options = [ { label: "Romance", value: "romance", }, { label: "Drama", value: "drama", }, { label: "Th...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594968", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Django Nested Serializers won't work independently- Key Error /dashboard/api/institution/editor/ 'id' I'm trying to create an app using JQuery Datatables Editor and a Django REST framework API. Whenever I try to create an entry, I am returned the above key error. I believe the problem is traced back to the to_intern...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594970", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Singularity/docker: bash script does not parse arguments I have this tool that I want to use through singularity to process sequencing data. The main script is written in bash. I successfully changed /bin/shto /bin/bash through an ENTRYPOINT but my arguments aren't parsed. Even not giving arguments is ignoring the H...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594973", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Excel VBA - BigQuery connection do you know a way to connect to a BigQuery database using a VBA module? I know how to connect to an SQL database but not how to connect to the BigQuery using just coding to retrieve any information from a table. Thanks for any help. I found ways to connect to just Excel but not with V...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594978", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to Update particular Panda's DataFrame record with pd.random.randint() using for loop? we have below df.Age.value_counts() in our pandas.DataFrame: 25-34 years old 2365 35-44 years old 1048 18-24 years old 626 45-54 years old 343 55-64 years old 98 How can we update each record...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594980", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: JavaScript reset millisecond timer once condition is met? i'm trying to build a very basic countdown timer which counts down from 1 second to 0 and then resets each time in vanilla JS (back to 1 second and counts down). I have the code to get it to run once (1 second down to 0) but am struggling to get it to reset. ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594982", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to render the contents of a .txt file on a page using html/Java Put as simply as I can, I want to be able to put some html/javascript code in a website footer. This code would call upon the contents of a hosted .txt file (or .html, whatever works) and display the contents. The plan would be to then simply change...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594983", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How to fix semaphore timeout error in my python program? Traceback (most recent call last): File "websockets\legacy\protocol.py", line 968, in transfer_data File "websockets\legacy\protocol.py", line 1038, in read_message File "websockets\legacy\protocol.py", line 1113, in read_data_frame File "websockets\le...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594984", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Excluding plugin apply for certain subprojects in gradle multi-project build How can I exclude certain subprojects in my multi-project gradle build. I want to exclude a apply plugin call by querying a property of the subproject. The build.gradle of my parent project looks like this: subprojects { if (!ext.has('e...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594985", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can super() instantiate a class inside it's own __new__ method? I recently had a use case for a singleton class and ended up using this definition: class SubClient(BaseClient): def __new__(cls): if not hasattr(cls, 'instance'): cls.instance = super(SubClient, cls).__new__(cls) re...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594987", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: NavigationView & NavigationLauncher : on progress change issue MAPBOX Good morning, I'll be grateful in your help . I have some issue with Android Navigation SDK.  I'm developing an app that has the purpose to get next maneuvers by on progress change listeners and send to bt device. If I use NavigationView and Navig...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594990", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: I want to know something related to recursion i want to print the subset sum min difference Here in the bellow code i wanted to know why the (sumTotal-sumCalculated) And sumCalculated are different.this code is returning the minimum of two subset till the base condition hits as per my my know the minimum value betwe...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594993", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Adding a new field to mongoose object works, but it's not accessible on the frontend The code (I need to put an extra field that is not included in the model): posts.forEach(async post => { posts.toObject() const likes = await Likes.findOne({ _id: post_id }) if(likes) { Object.as...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594994", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Shopify Webhook Integrity verification with Python (HMAC) I'm setting up a webhook listener with Python. It should receive post requests from Shopify. The built of it is quite simple, considering Shopify provide a code snippet that solves that situation. However, when I copy and paste this code, the verification doe...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594995", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Does T-Rex STL STLVmWrFlowVar support ICMP offsets? Does T-Rex STL STLVmWrFlowVar support ICMP offsets? I.e. is something like stl.STLVmWrFlowVar(fv_name="icmp_seq", pkt_offset= "ICMP.seq"). Support for TCP and UDP fields seems to exist as I can find examples of that, I wonder if this works or if I have to manually ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594996", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Is it possible to get data about specific game from Epic Games Store? I am trying to get data(title, publisher, release date etc.) about specific game from Epic Games Store via REST. I tried to look for answers in their Dev documentation, but I only found information about publishing your own game there. I found sim...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594997", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Is there a standard for call.end() and call.on('end')? I'm working with a bi-directional gRPC stream. I set the call up, make several calls to call.write() and finally make a call to call.end() In between the calls to call.write I have a call.on('data') event handler. My question is... when I'm done with the stream ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594998", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How do I read a compound dataset in HDF.PInvoke that contains an array (of a fixed size) using C# I have an HDF5 dataset that I am trying to read using C# and HDF.PInvoke (basically a wrapper around the C API). It contains a section holding an array of a compound data type. The datatype contains an array which has 9...
{ "language": "en", "url": "https://stackoverflow.com/questions/75595000", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Dysfunction DataTables with Bootstrap and PHP/MySQL I would like to use my table, displaying all the data from a MySQL Database, with a autocomplete search and a sort of the columns of my table. Thanks to DataTables, i found a good example of how i can use with my personal project, but it doesn't seem to work on it....
{ "language": "en", "url": "https://stackoverflow.com/questions/75595001", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: node-rdkafka not working on docker (no ready event) We are running a node service on docker (image node:lts-bullseye) We are currently using kafkajs, which is really easy to use, the problem is that sometimes after the Kafka rebalances and moves topics from one broker to another we can produce messages to the topic ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75595002", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: add randomness to huggingface pipeline I'm using an image-to-text pipeline, and I always get the same output for a given input. Is there a way to add randomness so that with a given input, the output is slightly different? sort of a seed inside pipeline(). This is the code that I have: from transformers import pipel...
{ "language": "en", "url": "https://stackoverflow.com/questions/75595005", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Can't keep the data in update forms with expressjs. Is it a converting problem (pugjs to ejs) ? Or a problem with the variables? I am following the MDN express js tutorial for a local library and I can't keep the data entered in the forms to be preserved, neither in the update nor when some field fails. I used "loca...
{ "language": "en", "url": "https://stackoverflow.com/questions/75595011", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Does Google Chrome profile collect IP in real time? enter image description here As shown in the screenshot above, if you set up a profile in the Google Chrome browser, I wonder if IP is collected in real time. Does anyone know the policy regarding this? I've been looking for a policy regarding this issue, but could...
{ "language": "en", "url": "https://stackoverflow.com/questions/75595012", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: Removing square brackets from dictionary I am working from a dataframe and one of my columns has square brackets enclosing a dictionary. I am trying to remove square brackets to map items from the dictionary. Looks like this: [{'name': 'Steve', 'type': 'Candy', 'likes': '2', 'confidence': '0', 'country': {'confidenc...
{ "language": "en", "url": "https://stackoverflow.com/questions/75595013", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Type not recognized for tag in macro definition I'm defining a macro in [insert programming/markup language here] that includes a tag called ?attr/shapeAppearanceCornerSmall. However, I'm getting an error that says "Can't determine type for tag". I've double-checked the syntax of my macro definition and everything s...
{ "language": "en", "url": "https://stackoverflow.com/questions/75595018", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How do I add a variable to a Terraform template heredoc prefixed with a literal percent: %${variable} I am trying to use a Terraform template file to create a sudoers file on a Linux server. I am passing in the name of a group that should be granted sudo permission as a variable to the template. As per the syntax of...
{ "language": "en", "url": "https://stackoverflow.com/questions/75595021", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How do you perform a numerical integration with a while loop? I know that you can take a derivative by creating a while loop and varying your "dt" value, but is there a similar method for doing an integral? Below is a sample of the derivative I'm thinking about :) EDIT: I guess I should be more specific (Sorry, I ha...
{ "language": "en", "url": "https://stackoverflow.com/questions/75595023", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: PyTorch: Dataloader creates a new dimension when creating batches I am seeing that when looping over the my Dataloader() obect using enumerate() I am getting a new dimension that is being coerced in order to create the batches of my data. I have 4 Tensors that I am slicing at a macro level (I am panel data so I slic...
{ "language": "en", "url": "https://stackoverflow.com/questions/75595027", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Custom JsonConverter for list with inherited classes I have a class structure similar to this: // Parent class public class Circle { decimal Area { get; set; } = 0.2m; } // Child classes public class GreenCircle : Circle { string Color { get; set; } = "Green"; } ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75595031", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: ng-zoro nz-calendar disable click on cells zoro ui. I have nz-calendar and want to disable clicks on cells. <nz-calendar [(ngModel)]="date" [(nzMode)]="mode" > <div *nzDateCell="let date" class="date-cell"> <ng-container *ngIf="getCellWithData(date);let cell"> {{fillCellWithData(cell)}} ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75595032", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Select all records with february 1st between valid_from and valid_to, multiple years - SQL Is there a less ugly way to select all records that have a date-range which contains (let's say) February 1st than a case-when statement? My table looks like this, with 'keep' as the desired output: valid_from valid_to kee...
{ "language": "en", "url": "https://stackoverflow.com/questions/75595033", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to add attachment to email sourceLocation = "C:\Operations\" Set dbCurr = CurrentDb() cnfId = "SELECT [Cnf].[CNF ID#], [Cnf].[Title] FROM [Cnf] WHERE ([Cnf].[CNF ID#] = " & Str(Me.txtCNF) & ")" Set rsCNF = dbCurr.OpenRecordset(cnfId) myMailAttach = Dir(sourceLocation & "CNF " & rsCNF![CNF ID#] & "*" & ".pdf") ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75595034", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to update a detached entity containing the ID with hibernate EntityManager? I am developing a REST API with Quarkus and Hibernate. I now have to create an endpoint which accepts a PUT request to update an existing entity. The request contains the entire entity, with its corresponding ID in the database. Resource...
{ "language": "en", "url": "https://stackoverflow.com/questions/75595035", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can I use search methods other than kd-Tree in PCL Registration? PCL's registration API has methods to set the search method for source and target points. However, the only supported method appears to be a kd tree. Since I have organized point clouds, I would like to employ PCL's OrganizedNeighbor search method ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75595036", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to set the CreateDate field in Word when converting a markdown document using pandoc I am working with knitr and rmarkdown, and I want to customize the resulting Word document. It works very nicely, except for one thing. I can specify the Title and Author in the YAML part of the markdown document, and I can late...
{ "language": "en", "url": "https://stackoverflow.com/questions/75595037", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Spring boot Websocket Handshake Error: read ECONNRESET in WIndows server 2008 I create a simple Ocpp server for a implementation in my work using ws connection and everything works fine when I test the server in my machine but when I deploy in a Windows server and try a Handshake using postman throw a "Error: read E...
{ "language": "en", "url": "https://stackoverflow.com/questions/75595038", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Assign value to Excel cells based on their colors I am working on a Project Management template in which I would like to have a visual overview of the status of different activities as follows: STATUSES: * *Blue = Completed *Green = In Progress *Yellow = Delayed *Red = Issue *White/No color = Not Started In e...
{ "language": "en", "url": "https://stackoverflow.com/questions/75595039", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Visualizing dynamically created nodes in UAExpert I can dynamically create a node through method node calls, but cannot see it in UAExpert without manually looking for it (Createcustomnode with same nodeId shows the node in 'data access view'). Restarting UAExpert after node creation doesn't fix this issue. How can ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75595047", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Sequential calls with reactor-netty http client seem to free ByteBuf of the first response and causes IllegalReferenceCountException I have a requirement to either make two http calls in sequence with one being dependent on another AND in another case to make two parallel calls and combine their results. For Case1: ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75595051", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to turn a git feature branch into a parallel dev branch I have a git branch management question. I have a web based project that is using "git flow" branches: main, develop, feature, etc. I currently have main and develop branches that are the result of the last "release". I have a feature branch that is re-i...
{ "language": "en", "url": "https://stackoverflow.com/questions/75595052", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Data Model Designing -DWH I am designing the Data Model for POWER BI. I have a Data Mart( Star Schema) with Few fact Tables and Dimension tables For Example * *Case Fact-Which will have all the Data related to a Particular Case Id ( Granularity Is Case : For one case id there will be only one row) *Case Event Fac...
{ "language": "en", "url": "https://stackoverflow.com/questions/75595053", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Image in FloatingActionButton has to be changed on click and back public void ImageButtonChange1(View view){ FloatingActionButton imageButton = new FloatingActionButton(getApplicationContext()); imageButton.setOnClickListener(new View.OnClickListener() { public void onClick(View view) { ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75595058", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: What is making my Figma file so large when I create a PDF? I'm trying to understand why I'm getting 5.4MB PDF files when I use the TinyImageCompressor to create a PDF of the Figma file I've created. The file has a frame that is 900 px wide and 7,200 pixels high. Inside that frame are ~30 text fields totaling 1,800 w...
{ "language": "en", "url": "https://stackoverflow.com/questions/75595059", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Pandas.DataFrame.query Series.str.startswith Tuple returns Empty In the following example, the final DataFrame returns empty -- what am I missing? df = pd.DataFrame({ 'foo':['010','020','030','040','050','060','070','080','090',None], 'bar':['aaa','bbb','ccc','ddd','eee','fff','ggg','hhh','iii','jjj'] }) df1...
{ "language": "en", "url": "https://stackoverflow.com/questions/75595060", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to prevent addRange from triggering focus event on element? I am wondering if there is a way to prevent somehow triggering 'focus' event on element in which I put new selection range. Here is an example. const el = document.querySelector('.el') const button = document.querySelector('.btn') el.addEventListener...
{ "language": "en", "url": "https://stackoverflow.com/questions/75595061", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Huggingface Trainer throws an AttributeError:'Namespace' object has no attribute 'get_process_log_level I am trying to run Trainer from Hugging face(pytorch) with arguments parser. My code looks like if __name__ == '__main__': parser = HfArgumentParser(TrainingArguments) parser.add_argument('--model_name_or_...
{ "language": "en", "url": "https://stackoverflow.com/questions/75595065", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Not getting the data from web page with Selenium (Python) I'm trying to get a table from a dynamic webpage using selenium but it's giving me issues. This is the Python code: from selenium import webdriver url = 'https://draft.shgn.com/nfc/public/dp/788/grid' driver = webdriver.Chrome('C:\chromedriver_win32\chromed...
{ "language": "en", "url": "https://stackoverflow.com/questions/75595067", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Standardising pydantic models for similar APIs I'm consuming a set of similar APIs, that all return a broadly standard structures. The code below sets up the pydantic model for Api1 I now need to do the model for Api2. The structure is the same but only the field names are different. Is it possible to create reusabl...
{ "language": "en", "url": "https://stackoverflow.com/questions/75595068", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Replacing unique values in vector with names based on a key I have vector containing several unique values: codes <- c(122, 108, 122, 202, 122, 113, 122, 108) Each of these values corresponds to the name for a specific tree species: 122 - ponderosa, 108 - lodgepole, 113 - limber, 202 - Douglas fir, I have the above...
{ "language": "en", "url": "https://stackoverflow.com/questions/75595070", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "3" }
Q: importing csv file using pandas in python I am trying to import a csv file using pandas in python but it is showing me the following error: ##code## Companies = pd.read_csv('C:\Users\salsa\Downloads\1000_Companies.csv') output: SyntaxError: (unicode error) 'unicodeescape' codec can't decode bytes in position 2-3: tr...
{ "language": "en", "url": "https://stackoverflow.com/questions/75595072", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: ModalDialog and Editing values inside shiny module In a shiny application, I try to add the possibility for the users to edit the values inside a table. Multiple users could update values inside the table, maybe at the same time and for the same columns. I use the DT package 0.23 and R 4.0.4. I try to adapt this cod...
{ "language": "en", "url": "https://stackoverflow.com/questions/75595080", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }