text
string
meta
dict
Q: Jump to start of a file while using enumerate() in a loop I'm using enumerate in a loop to get number of line in witch for example is declaration of a function in a .c file. I store names of those functions in a simple table and search for its name in file. My script works, but when there is a situation where index ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75626544", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Plot graphics in specific axes depending df column values I want to plot graphics about people access with different memberships, and differentiating the year of the access. I'm making it with countplots from seaborn like that: fig, ax = plt.subplots(len(df_accesos_membresias['Tipo'].unique()),len(df_accesos_membres...
{ "language": "en", "url": "https://stackoverflow.com/questions/75626545", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: RocksDBStateBackend supports incremental checkpoint while FsStateBackend doesn't For FsStateBackend, local checkpoint data are saved in memory, and remote persistent checkpoint data are saved in distributed file system,such as HDFS For RocksDBStateBackend,local checkpoint data are saved in local RocksDB, and remote ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75626546", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: C++ cin.ignore() fixture to avoid hitting Enter key twice in console I was playing around with exception handling in a simple sandbox that just prompts the user to input a number and then displays the number. The error I'm getting is whenever I input something invalid like '4120gdfdfg' or '7 fdjksh' (these two examp...
{ "language": "en", "url": "https://stackoverflow.com/questions/75626549", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Can I use a field on my test class as a parameter to an XUnit Theory? I like to define named test data as fields on my test class, and sometimes multiple are run against the same test using a Theory. I've used MemberData but this appears to only support IEnumerable so I have to write somewhat ugly wrapper enumerable...
{ "language": "en", "url": "https://stackoverflow.com/questions/75626550", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Azure Search Service unable to map collection of complex objects I'm using Azure Search .NET SDK to ingest data from Azure SQL Database. Besides other fields, the database View returns a list of complex objects with the following structure: [ { "AttributeId": 133, "Value": "07.02.2023", "...
{ "language": "en", "url": "https://stackoverflow.com/questions/75626551", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Progress bar for windows service code execution in asp.net I have windows service which i am using to execute some task. In this service i am fetching tasks from database and process it now i want to show Progress bar for this tasks, this tasks executes in long running process. I have something 5000 lines of code fo...
{ "language": "en", "url": "https://stackoverflow.com/questions/75626556", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Seems Terraform GitLab provider does not provide Slack/Teams webhook URL anymore Currently we are using Terraform to "check" (via terraform plan -detailed-exitcode) whether current GitLab resources comply with our specification (described in *.tf files). Since 1st of March (2023), our nightly pipeline run executing ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75626557", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to reconstruct MODIS NDVI curve for 16 days using Double logistic method in python def double_logistic_function(t,mn,mx,sos,rsp,eos,rau): uu=(mn + (mx - mn) \* (1/(1 + np.exp(-rsp \* (t - sos))) + 1/(1 + np.exp(rau \* (t - eos))))) return uu Able to reconstruct daily NDVI time series curves
{ "language": "en", "url": "https://stackoverflow.com/questions/75626558", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to improve switch case that returns true/false or throw an exception? Given the following code: private boolean isBlahTrue(final BigDecimal status) { switch (status.intValue()) { case 1: case 2: case 3: return true; case 5: ca...
{ "language": "en", "url": "https://stackoverflow.com/questions/75626559", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: I want to implement automatic timeouts if a website blocks the crawler I am working on training an AI Natural Language Model on a huge dataset of tech news articles curates from big tech websites. I've curated the links of around 800k articles from several big websites. Now, i am building an efficient crawler using ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75626560", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Dynamically set Input value from API Data Angular 8 This is my code where I want to set input value dynamically coming from my api data later when I click send it will be saved in Database. But I am not able to put data inside input Dynamically please help me what is the approach to do it. <button (click)="getnewsst...
{ "language": "en", "url": "https://stackoverflow.com/questions/75626563", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How does data bind paranthesis work in Knockout.js I have this input and I want to change its status, so it can be readonly or editable. <input type="text" data-bind="attr: {readonly: isViewMode || isNotEditableInvoice}, value: model.DateFormatted" /> The problem is when I don't use paranthesis for the variables. F...
{ "language": "en", "url": "https://stackoverflow.com/questions/75626564", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to set dynamic IP Security in Azure app service <security> <dynamicIpSecurity enableLoggingOnlyMode="false" enableProxyMode="true"> <denyByConcurrentRequests enabled="true" maxConcurrentRequests="10" /> <denyByRequestRate enabled="true" maxRequests="30" requestIntervalInMilliseconds="500" /> </dynami...
{ "language": "en", "url": "https://stackoverflow.com/questions/75626565", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Submitting a multidimensional array via PHP/AJAX with double nested inputs I have a somewhat complex HTML form that allows users to add and reorder rows (spaces) with subrows (walls). My input fields look like this: <input type="text" name="spaces[][space]"> <input type="text" name="spaces[][walls][][orientation]"> ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75626566", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Box Overflow Clipping Three JS Using three js is there any way to clip or hide object out of its parent? For example i have a box and a sphere inside of this box like on image: sphere inside box I want to clip or hide the part of sphere that is outside of the box. To put it simply, i need similar logic like css over...
{ "language": "en", "url": "https://stackoverflow.com/questions/75626570", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: i have php website and when i try to get service info using api Error 503. Service Unavailable i have website and when i try to get service info using api Error 503. Service Unavailable and when i have small amount of service it working but taking some time slowly when i have my database more then 100 service it g...
{ "language": "en", "url": "https://stackoverflow.com/questions/75626571", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to test database Laravel? I create $fake which have fake data to update.My problem is that assertDatabaseHas() return false because generate another fake data. How can I do, that fake data be the same in update form and database ? public function test_user_update() { $admin= $this->user->attachRole...
{ "language": "en", "url": "https://stackoverflow.com/questions/75626572", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Why doesn't aws function have access to elastic file system? I want to connect the AWS efs filesystem to a lambda function. The connection is done with accesspoint and a mount target. The Pulumi code that should do this is as follow: export const lamdaExecutionRole = new aws.iam.Role("lamda-execution-role", {assumeR...
{ "language": "en", "url": "https://stackoverflow.com/questions/75626574", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Redefine factor levels and order within groups This is the simple example for illustration. I want a summary of data presented in a predetermined order. I want to order col2 values depending on col1 values, and also include rows for factor levels within the col1 group that are not in the data (eg using group_by ( .....
{ "language": "en", "url": "https://stackoverflow.com/questions/75626575", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Cant access the source code for postgres in the current directory hammad@hammad:~/Desktop/age-installation/pg$ tar -xzf postgresql-14.1.tar.gz gzip: stdin: unexpected end of file tar: Unexpected EOF in archive tar: Unexpected EOF in archive tar: Error is not recoverable: exiting now I am getting this however my post...
{ "language": "en", "url": "https://stackoverflow.com/questions/75626576", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to use custom fonts in a Mac OS quicklook extension? I need to use a custom font in a QuickLook extension. In the main application where the extension is embedded, I already use this font without problems. So I tried to use the key ATSApplicationFontsPath in the Info.plist as well, but that doesn't seem to be en...
{ "language": "en", "url": "https://stackoverflow.com/questions/75626577", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Microsoft Excel: How to count number of cell (with background color and conditionally formatted) I have an excel sheet, where there is a conditionally formatted col, which changes color based on the value entered. Now I want to create a table, where it should tell the number of cells for each color. For example, if ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75626579", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: how to choose between the framework Spring boot vs .net i have a poject to develop but i hesitate between using the Spring boot and .net framework for the back end part . so if we compare this two technology how can i get the best decision ?
{ "language": "en", "url": "https://stackoverflow.com/questions/75626582", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Why is my for loop not working? (C language) I am doing CS50, and im in the first week problem set, that involves making a pyramid or stairs in c language, like in the game mario but with hashtags. So I come up with this solution. #include <cs50.h> #include <stdio.h> void createPyramid(int height); int main(void) ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75626583", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: How to use linphone-sdk with C# I download linphone-sdk from the official website (https://www.linphone.org/technical-corner/liblinphone) It is very normal for me to using in the project. But When I running, I will prompt linphone.dll not found. I did not find this dll in the downloaded linphone-sdk, only liblinphon...
{ "language": "en", "url": "https://stackoverflow.com/questions/75626584", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can I set up ELK Stack to observe a Laravel project? I am working on a Laravel project and would like to set up ELK (Elasticsearch, Logstash, Kibana) Stack to monitor my application logs. I want to be able to analyze and visualize the logs in real-time to gain insights into the performance and behavior of my app...
{ "language": "en", "url": "https://stackoverflow.com/questions/75626586", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Exception calling "Parse" when creating GUI in PowerShell Hi I'm a new to WPF and would like to get a GUI for my powershell script.. I'm using PoshGUI to create this. I'm following the tutorial from poshgui on youtube but i'm stuck at the second step adding a textbox and textblock. After copying the script to my Pow...
{ "language": "en", "url": "https://stackoverflow.com/questions/75626589", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: SSLStream Hash Strength and Key Exchange Strength of 0 I'm just putting together an app with SSL, and I've managed to get to the point of establishing a connection and sending a message between the client and server. However, I've noticed that stream.HashAlgorithm and stream.KeyExchangeAlgorithm return Sha384 and No...
{ "language": "en", "url": "https://stackoverflow.com/questions/75626592", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Mapping Typescript dynamic types into Java Object's subclasses I have a Typescript model being sent as JSON request to my back end server. I can't change the model into a more engineered format, so I have to use what the client is going to send me. The Typescript interface uses the pipe to perform polymorphism as sh...
{ "language": "en", "url": "https://stackoverflow.com/questions/75626593", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: VSCode Python Debugger Timeout due to Attribute Error I'm running Debian 10 (buster) with a native python installation version 3.7.3. Currently I'm running a simple test script like def main(): print(f'\nHello world!\n') if __name__=='__main__': main() In VSCode either Run Python File and Debug Python File...
{ "language": "en", "url": "https://stackoverflow.com/questions/75626601", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: GeoTIFF (from url) does not display on Mapbox GL JS, from a script in ReactJS I am trying to display a GeoTIFF from a url in Mapbox. Here is a simplified code for the section that displays the GeoTIFF. import React, { useRef, useEffect } from 'react'; import mapboxgl from 'mapbox-gl'; mapboxgl.accessToken = 'YOUR_M...
{ "language": "en", "url": "https://stackoverflow.com/questions/75626604", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Error while fetching refresh token from Azure AD I am trying to get refresh token from azure AD but getting this error :- data {"error":"invalid_grant","error_description":"AADSTS9002313: Invalid request. Request is malformed or invalid.\r\nTrace ID: 4bcb6e5e-35c1-4c4e-b184-d0ffddcc6301\r\nCorrelation ID: 689f7abd-1...
{ "language": "en", "url": "https://stackoverflow.com/questions/75626605", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Nodejs 18 upgrade issue- dockerfile throwing error on npm install: failed to execute command, exit status 1 I upgraded my code from NodeJS 14 to NodeJs16 and then 18 but dockerfile started throwing error on NPM INSTALL --SILENT command. Error is "failed to execute command: waiting for process to exit :exit status 1"...
{ "language": "en", "url": "https://stackoverflow.com/questions/75626606", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Python code to fetch football data from betexplorer.com Pls, I want to write a python code for web scaraping. I want to acess betexplorer.com soccer section, for the matcbes that would be played today (with option to be extend it to to other days i.e tomorrow and any other days). So the code, will go through all ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75626609", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Heroku Flask - Push failed: cannot parse Procfile I have a Flask-Dash app that I like to deploy on Heroku, however, I keep getting the error: Push failed: cannot parse Procfile. I already read the documentation https://devcenter.heroku.com/articles/procfile, so I have an idea of how the Procfile should be, but I h...
{ "language": "en", "url": "https://stackoverflow.com/questions/75626610", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: WARN Possible Unhandled Promise Rejection (id: 0): TypeError: null is not an object (evaluating '_yield$Location$getLa.coords') [enter image description here]2
{ "language": "en", "url": "https://stackoverflow.com/questions/75626611", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Error: "Bad state: No element" when using BLoC_pattern I need help. I try to show a list of people in ListView.builder. This is my code : class TripMembersList extends StatelessWidget { const TripMembersList({ Key? key, required this.tripMembers, }) : super(key: key); final List<User> tripMembers; @...
{ "language": "en", "url": "https://stackoverflow.com/questions/75626612", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: 2 Web sites / Applications - Which web config usually desktop based development but have been tasked with some web work revolving around HTML, Angular and back end c# controllers communicating with SQL. I have one web site / application which is being enhanced into a new ISS site. I will automatically redirect peopl...
{ "language": "en", "url": "https://stackoverflow.com/questions/75626614", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to extend a volume using lvextend command I am facing a problem related to the resources I have assigned on a machine. I have the following configuration with the volumes. I have reached the maximum space used on the / path as you can see here: [root@ossx234 tester]# df -h Filesystem S...
{ "language": "en", "url": "https://stackoverflow.com/questions/75626617", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to generate Cashflow dates and values automatically from a set of Data? So I am trying to create a returns tracker for my Insurance investments. I have created a master list in the first sheet and accordingly I am creating cashflow of each policy in the 2nd sheet. This process of manually entering the dates as p...
{ "language": "en", "url": "https://stackoverflow.com/questions/75626619", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to solve Warning: Undefined variable $mysqli and Fatal error:Call to a member function prepare() on null? I have a page, what after logging the user in, let's them modify their data. But I'm getting these errors. Someone said 'global $mysqli;' solves the first problem. It did, but someone else says I shouldn't u...
{ "language": "en", "url": "https://stackoverflow.com/questions/75626620", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: ionic v6 webview 99 bug zoomed in certain samsung devices So i've been stuck with the same problem for over a month now. The problem is that on all pages the scaling ratio for the height isn't correct. There is a known bug in webview 99 on some samsung devices but there still is no fix. I've got a company who all u...
{ "language": "en", "url": "https://stackoverflow.com/questions/75626622", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Can I filter charts in Qliksense without it affecting the filters of other charts in my sheet, without using alternate states? I want to have 2 combo charts, one with a filter looking at one branch's sales and one looking at another branch's sales, so I can compare performance for the next few months since there's a...
{ "language": "en", "url": "https://stackoverflow.com/questions/75626624", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Problem using pooling, database wrapper and transactions with mySql database I have previously used this DB wrapper and transaction function with success. However, since I experienced problems of being disconnected from database host, I began fiddling with pooling. It seemed to do the trick, but I don't know if I'm ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75626627", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Material-Table scroll bar does not reset on table page change When I scroll up or down in my Material-Table, and then change page, the vertical scroll bar is not reset to the top of the table. Instead the scroll bar remains where it was before changing page. This is causing confusion with people who are using my t...
{ "language": "en", "url": "https://stackoverflow.com/questions/75626628", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Why the `__get__` descriptor method has instcls in its signature I have a question on the signature of the __get__ method for descriptors. In a descriptor, __get__ has the following signature def __get__(self, inst, instcls) where self is the descriptor instance, inst is the instance of the class using this descript...
{ "language": "en", "url": "https://stackoverflow.com/questions/75626629", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: In Github actions get Shell stdout and post it in a PR Comment Im making a CI/CD pipeline and I'm trying to get the shell script output and post it in a PR comment and below is what I have so far. I can see the shell script output when the pipeline runs but I struggling to save the output and post it in a PR comment...
{ "language": "en", "url": "https://stackoverflow.com/questions/75626631", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Error in shinyApp(ui,server) and says object 'server' not found I'm new in R, downloaded the packages. Trying to do this tutorial but always gives error. https://www.youtube.com/watch?v=41jmGq7ALMY shinyApp(ui,server) Error in shinyApp(ui, server) : object 'server' not found shinyApp(ui,server) Error in shinyApp(ui...
{ "language": "en", "url": "https://stackoverflow.com/questions/75626632", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Accessing Listitems in Text control type in Pywinauto I am working with automation of one QT App. I am facing following issue This is text control, which appears when I am clicking on the left side checkbox. After clicking the checkbox I am getting a Text control with Project name and lists and list items. I am not...
{ "language": "en", "url": "https://stackoverflow.com/questions/75626633", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Parsing TLV value in Python and print results I I have a base64 string which I want to decode to its TLV origin then parse the TLV and pring data as regular strings: import tlv8 ,base64 base64QR ="ASZNYWdpYyBGbG9vcmluZyBHZW5lcmFsIENvbnRyYWN0aW5nIEVzdAIPMzAwNjk2MjA4MTAwMDAzAxQyMDIzLTAyLTIwVDExOjI3OjU2WgQGNDAwLjY4BQU...
{ "language": "en", "url": "https://stackoverflow.com/questions/75626635", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: A problem with TPopupMenu positioning in Firemonkey Delphi 10.4 My previous question on this problem was poorly formatted so I decided to delete the previous question and repropose it with a better (and smaller) example. I'm experiencing a very strange behavior of the TPopupMenu component in Firemonkey (Delphi 10.4)...
{ "language": "en", "url": "https://stackoverflow.com/questions/75626637", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: openapi-core library, validate_response method does not validare response properties I got the following open api 3.0 schema main.yaml: openapi: 3.0.1 info: title: blabla description: description termsOfService: 'TBD' contact: email: asd@email version: 1.1.9999 externalDocs: description: Find out mo...
{ "language": "en", "url": "https://stackoverflow.com/questions/75626639", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Ionic 3 Web-Intent plugin returns invalid/Incorrect responses for UPI transactions I'm using ionic 3 project to work with upi transactions . I'm getting invalid/Incorrect responses from intent for some specific cases Following are responses for different cases * *Transaction failure response when i'm using payee u...
{ "language": "en", "url": "https://stackoverflow.com/questions/75626640", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Notification Teams Bot I am trying to create a teams app notification bot using Java Spring Boot. Different organizations can add it to their Teams app and then it can send some custom notifications to a channel within their org. I have a developer account. What I have done till now is: * *Create a bot on the Deve...
{ "language": "en", "url": "https://stackoverflow.com/questions/75626642", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Can i incorporate conditions into a CNN? I'm trying to create a real time video classification model that would be able to take in other inputs to make the detection more accurate. For example, if I have a video of a ball travelling through air, is it possible to compute the object's path(with acceleration vector?) ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75626643", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Issue with gtfs_functions gtfs.cut_gtfs python Trying to use the gtfs_functions package with python, I am struggling with the cut_gtfs function. More specifically, this function returns the following error: TypeError: object of type 'GeometryCollection' has no len(). Thank you for your help! routes, stops, stop_tim...
{ "language": "en", "url": "https://stackoverflow.com/questions/75626645", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can I use function or loop to simplify my program? everyone I am doing this: # LCA data library(poLCA) data("carcinoma") f <- f <- cbind(A, B, C ,D ,E, F, G) ~ 1 #1.1 Create LCA model k=1~4 lc <-list() for(i in 1:4){ lc[[i]] <- poLCA(f, carcinoma, nclass=i) } #1.2 Separate list lca1 <- lc[[1]] lca2 <- lc[...
{ "language": "en", "url": "https://stackoverflow.com/questions/75626647", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: for live project I didnt find out login page the source code but i find it on website how can i reached there? I stuck to finding source code of login page but I find it on website how can I will get that path Hi Im using PHP, I stuck in finding source code of specific file or page how can i reached there or i can ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75626648", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: unclear pandas SettingWithCopyWarning while adding a boolean column I have a pandas DataFrame with a bunch of columns and I want to add a column that contains the answer to a boolean operation performed on a couple of other columns: df['hitMinValue'] = (df['availableItems'] == df['minItemsRequired']) & (df['filtered...
{ "language": "en", "url": "https://stackoverflow.com/questions/75626653", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Javascript Advanced Array Manipulation Given a truncated array of object const catsData = [ { emotionTags: ["moody"], isGif: false, image: "angry.jpeg", alt: "A cat looking moody", }, { emotionTags: ["moody", "insomniac"], isGif: false, image: "angr...
{ "language": "en", "url": "https://stackoverflow.com/questions/75626655", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: I have a string that contains an Arabic character, I want the character to be in the middle of the string but it keeps putting it at the end I need to put a string in my frontend that contains two numbers and an Arabic character, these numbers should have the Arabic character in the middle, i tried some different me...
{ "language": "en", "url": "https://stackoverflow.com/questions/75626656", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "3" }
Q: How to pass select/create query as parameter in snowflake store procedure I am trying to pass a parameter in S.P which is basically 'select/create statement'. I had used :param and INDENTIFIER(:param) but it is not working. Error : invalid identifier and binding error CREATE OR REPLACE PROCEDURE TEST_PROC(query varc...
{ "language": "en", "url": "https://stackoverflow.com/questions/75626657", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Weekdays 9:00 till 17:00 every 30 minutes Spring Cron job I tried this expression: 0 0/30 9-17 * * MON-FRI Which works almost as I want it to except that it runs 1 extra time at 17:30, how can I make last execution in a day at 17:00? A: I think you could use 0 0/30 9-16,17 * * MON-FRI But I'm not sure if this wor...
{ "language": "en", "url": "https://stackoverflow.com/questions/75626659", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: pandas read_table with stopping strings to delimit different dataframes to assign I have a csv file of the form : LINE 1 to SKIP LINE 2 to SKIP 2.13999987 0.139999986 -0.398405492 1 2.61999989 6.0000062E-2 0.450082362 1 2.74000001 5.99999428E-2 1.04403841 1 2.84000015 4.00000811E-2 6.17375337E-2 1 IGN IGN IGN IGN 2...
{ "language": "en", "url": "https://stackoverflow.com/questions/75626660", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Unable to display API data in Angular component: Name property not showing up in list I have an Angular component that is supposed to display a list of items retrieved from a backend API. The API returns an array of objects that each have an id and a name property. The component is able to retrieve the list of items...
{ "language": "en", "url": "https://stackoverflow.com/questions/75626661", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to connect two I2C sensors to the Heltec Wifi Kit (V3) ESP32 board? I recently buied an ESP32 for my project, which is the Heltec WiFi kit V3 with the builtin OLED. I can't understand the pinout diagram: image here Now, to what pin does the SCL and SDA corresponds? and how can I connect two SCL and SDA sensors a...
{ "language": "en", "url": "https://stackoverflow.com/questions/75626663", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: how to fix the precision for calculating napier's constant I tried to calculate the napier's constant e using the infinite array. a = 1.0:0.1:[y/10 | (x,y) <- zip a (tail a)] b = map (\n -> (1+n)**(1/n)) a The result of first dozen of the number was ok but not for smaller numbers; Prelude> b!!2 2.7048138294215285 P...
{ "language": "en", "url": "https://stackoverflow.com/questions/75626667", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: how to assert on output of for loop in selenium java? public void searchSuccessText() { String searchBarText = Hooks.driver.findElement(By.id("small-searchterms")).getText(); List<WebElement> result_text = Hooks.driver.findElements(By.className("product-title")); int numOfElements = result_text.size(); ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75626669", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Importing a file and reading on camunda BPMN I need to import a file the file may be any text file from any source or may be placed on some location. How do I import the file and display the data.
{ "language": "en", "url": "https://stackoverflow.com/questions/75626670", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: I can't install or update any extensions in Visual Studio Code.The error is [error] Untrusted: Signature I can't install or update any extensions in Visual Studio Code. The error is [error] Untrusted: Signature: Untrusted at yt.download (vscode-file://vscode-app/d:/anzhuang/Microsoft%20VS%20Code/resources/app/ou...
{ "language": "en", "url": "https://stackoverflow.com/questions/75626671", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Python: How to turn array inside array to the next line? here i have a trouble in python, on any of compilers they show me an arrays in array which are displayed on one line, but i want to make each inside array moved to next line, how do so? Here's my code, done by https://www.codewars.com/kata/56242b89689c35449b00...
{ "language": "en", "url": "https://stackoverflow.com/questions/75626674", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Is there a way to "replicate" a PowerPoint presentation via Power BI and then export it to PowerPoint? I have an Excel report which I would like to automate via Power BI. The reason behind this is due to the fact that I would like to "connect" and "refresh" my Excel values to my PowerBI report, which would later be ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75626675", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: how to generate multiple electricity bills from mysql database I am trying to iterate through this array and display them in a view Here are my codes that calculates customers electricity bills : public function facturation() { $data = array(); $this->db->select('*'); $this->db->from('cli...
{ "language": "en", "url": "https://stackoverflow.com/questions/75626676", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: The 'Install-Module' command was found in the module 'PowerShellGet', but the module could not be loaded I get such an error when running powershell commands in C#. System.Management.Automation.CommandNotFoundException: 'The 'Install-Module' command was found in the module 'PowerShellGet', but the module could not b...
{ "language": "en", "url": "https://stackoverflow.com/questions/75626677", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Custom Mesh Topology in mininet drops all pings Here I have code that creates a custom mesh topology, with a scaleable value n for the number of switches/hosts. I can see that it creates the mesh topology correctly, as it creates all the proper links, but for some reason all of my pings are unsuccessful. I am extrem...
{ "language": "en", "url": "https://stackoverflow.com/questions/75626678", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Error with my batch script when calling sql, but gives expected result in SSMS I'm trying to build (my first) Windows batch file, to call a SQL command returning a value and setting it as a variable before doing more work. I am getting the following error: An expression of non-boolean type specified in a context wh...
{ "language": "en", "url": "https://stackoverflow.com/questions/75626679", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Not getting the output as expected in a Python program that uses dynamic programming I've written this program that uses dynamic programming: def count_partitions(n, k): if n < k: return 0 elif n == k == 3: return 1 else: # Initialize table with base cases table = [[0] * (...
{ "language": "en", "url": "https://stackoverflow.com/questions/75626681", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: arm-none-eabi-gcc "is not implemented and will always fail" messages I have two stm32 projects (one with stm32f103rb and the other with stm32f103re). Both projects are built using cmake and make based on stm32-cmake template and also use cubeMX HAL libraries. For both projects I use this printf library and overall s...
{ "language": "en", "url": "https://stackoverflow.com/questions/75626690", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Session handling with pytest and sqlalchemy For every unit test I want to rollback already commited statements using pytest.fixture and scoped_session. Setup * *python 3.11 *sqlalchemy==2.0.3 *pytest==7.2.1 *factory-boy==3.2.1 *fastapi==0.91.0 Implementation conftest.py * *The engine is simply created using...
{ "language": "en", "url": "https://stackoverflow.com/questions/75626691", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: JSDisconnectedException Thrown on Page Refresh at DisposeAsync() in Blazor Framework To load an isolated JavaScript module in Blazor Server, I have an IJSObjectReference, module, that is initialized in OnAfterRenderAsync as follows: protected override async Task OnAfterRenderAsync(bool firstRender) { if (fir...
{ "language": "en", "url": "https://stackoverflow.com/questions/75626693", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: How to create a root certificate for application gateway? I have a webapp hosted in Azure app service and has a certificate associated with its domain and the certificate is stored in the keyvault. I want to create one application gateway with web application firewall(WAF v2 tier). In that application gateway, I nee...
{ "language": "en", "url": "https://stackoverflow.com/questions/75626694", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: not all arguments converted during string formatting (while passing arguments to function) I am getting error "not all arguments converted during string formatting" while running this code please explain how to fix this and what is this error def multiples(l,n): count=0 for i in l: if(i%n==0): ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75626697", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Deno convert bmp image file data into a Uint8Array I am currently trying to load a .bmp image file with Deno and then convert the data of the image into a black/white Uint8Array. I load the image using: const imageFile = await Deno.readFile('./path/to/my/image.bmp'); This returns me a Uint8Array, but this is not on...
{ "language": "en", "url": "https://stackoverflow.com/questions/75626699", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Use a return value inside a declarative PipeLine in jenkins I know that it is possible to use groovy language inside a Declarative PipeLine. The idea is that I want to get the latest revision of a svn repositry , and append it to the version number in a POM file. Here is the groovy script that I wrote for getting th...
{ "language": "en", "url": "https://stackoverflow.com/questions/75626702", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: java.lang.NoSuchMethodError: 'com.mongodb.LoggerSettings com.mongodb.MongoClientSettings.getLoggerSettings()' i am running a jar file and it is throwing error java.lang.NoSuchMethodError: 'com.mongodb.LoggerSettings com.mongodb.MongoClientSettings.getLoggerSettings()' at com.mongodb.reactivestreams.client.MongoC...
{ "language": "en", "url": "https://stackoverflow.com/questions/75626704", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: StatusCode: 405, ReasonPhrase: 'Method Not Allowed' while deleting roles or anyother thing from Skrouba in my API but Post get successful why? StatusCode: 405, ReasonPhrase: 'Method Not Allowed' while deleting roles or anyother thing from Skoruba in my API but Post get successful why? I tried to use http client Send...
{ "language": "en", "url": "https://stackoverflow.com/questions/75626705", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Change the scope, and the files gone my application had worked with the scope /auth/drive a long time, the users have uploaded files with this scope and now if I change the scope to auth/drive.file cannot listing the files uploaded. The app works perfect but the old files gone. Can I make something for this? Cha...
{ "language": "en", "url": "https://stackoverflow.com/questions/75626707", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Mysql2 Ruby: No implicit conversion Array/Hash - INSERT statement I'm trying to learn mysql2 ruby gem usage and I have encoutered this problem: no implicit conversion of Array into Hash (TypeError) When executing the INSERT query: client.query("CREATE TABLE IF NOT EXISTS test(Name TEXT, Value INT)") client.query("...
{ "language": "en", "url": "https://stackoverflow.com/questions/75626708", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Uber Cadence - Timer started I am new to Uber Cadence framework and currently working on a project workflow management project using Cadence. I am seeing strange behavior all the workflows are having a timer for ~270hrs as part of the flow and I am not sure how that number is calculated and where that timer is comin...
{ "language": "en", "url": "https://stackoverflow.com/questions/75626709", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: write a playbook to check if >python 2.7 is installed or not if less than python 2.7 is installed fail the play I tried: --- - hosts: localhost tasks: - name: check python version shell: python --version 2>&1 | awk '{print $2}' register: python_version_output ignore_errors: true - name: f...
{ "language": "en", "url": "https://stackoverflow.com/questions/75626711", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: "overflow-wrap: break-word;" not doing anything I have this code and it displays text that doesn't break to a new line when the word is too long, meaning the word continues on the next line. <div class="qodef-m-deon" style="overflow-wrap: break-word;"> <div class="qodef-m-background"></div> <div class="qodef...
{ "language": "en", "url": "https://stackoverflow.com/questions/75626712", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Jenkins pipeline creation through Salesforce CLI I am new to Salesforce. Can anyone help is it possible to create Jenkins pipeline through Salesforce CLI. Thank you.
{ "language": "en", "url": "https://stackoverflow.com/questions/75626714", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Initial plot not clearing when using dropdown menu to choose new data I am teaching myself how to use the ipywidgets package by doing analysis on the total covid deaths for each country and want to make an interactive plot with a dropdown menu for Country choice. My code works almost perfectly. The only thing is tha...
{ "language": "en", "url": "https://stackoverflow.com/questions/75626715", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Turning off an opportunity to temporarily disable/enable ESLint in specific files Right now, it's possible to temporarily disable\enable eslint in a specific file by adding a rule: /*eslint-disable */ or /*eslint-enable */ - I'd like to set an error if any of these comments are being used.
{ "language": "en", "url": "https://stackoverflow.com/questions/75626717", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Highcharts Packed Bubble Automatically Pulsate & Move I am working with the Packed bubble chart in Highcharts and have been trying to create an effect where the individual bubbles grow and shrink plus random forces are applied so that the graph is constantly moving. I have managed to create the base graph with the f...
{ "language": "en", "url": "https://stackoverflow.com/questions/75626720", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Is it possible to use passed styleClass in DynamicDialogConfig in css-selectors? I use DynamicDialogConfig let ref = this.dialogService.open(MyComponent, { header: 'My header', width: '80%', contentStyle: {"overflow": "auto"}, style: {"min-height": "80%"}, styleClass: "myClass", ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75626721", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: is there an excel formula to count rows in a table with a specific value? I am using the rows() command to count the number of rows in a table but how would I count the number of rows in a table with a specific value e.g. the number of rows where the column Fruit contained the text Apple? A: You could use the COUNT...
{ "language": "en", "url": "https://stackoverflow.com/questions/75626724", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Calc broken with more 100vh I am creating a page with a position: fixed; footer, which will need to expand on scroll, but take at least 100% of the page. I wanted to make my main wrapper take the whole space without ever being behind the footer. So created a min-height with calc(100vh - 120px). Here is the code: *...
{ "language": "en", "url": "https://stackoverflow.com/questions/75626725", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: build vba code to reflect last transactions done this table is about bank transactions i want to build vba code that return last transaction done last transaction done is the last row in the table meet the required criteria the criterias are as following input name = name in the col D input IBAN = IBAN in col I for ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75626728", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }