text
string
meta
dict
Q: NullPointerException does not occur when app is loaded independently but when imported as library I get the error I download a few game apps from git to add on to my application. Individually the games run fine but when the games have been imported as libraries the games do not work. This is the code I used to call ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75559651", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Can object destructuring with ...rest in Javascript have dynamic non-rest keys? Given an object: const obj = { key1: "value1", key2: "value2", key3: "value3", key4: "value4" }; I would like to filter its keys to produce a smaller object. Understand I can do this: const { key1, key2, ...rest } = obj; And the rest v...
{ "language": "en", "url": "https://stackoverflow.com/questions/75559652", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Other security settings (other than Certificate) we can apply to our Active Directory App to make sure it will only be called from our Azure Function We have created an Azure Active Directory App to be called from an Azure function>> and we define a certificate under it, to secure it >> as follow:- this Azure AD Ap...
{ "language": "en", "url": "https://stackoverflow.com/questions/75559655", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Flutter package is not recognizing assets I was developing a Flutter package and everything is ok, but I'm unable to find a way to properly load assets into the library. I've been looking for a solution and I found that one way to include the assets is creating an "assets" folder inside "lib" folder, then in pubspec...
{ "language": "en", "url": "https://stackoverflow.com/questions/75559656", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Creating a single ID for any combination of matches between three different identifiers I have customer data coming from several different systems, with three potential unique identifiers. We need to create a single new ID that can be used to link ANY match between the three identifiers. The data is in the following...
{ "language": "en", "url": "https://stackoverflow.com/questions/75559657", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Return a single grandchild entity after filtering both parent & child (EF Core) I've found lots of answers today that answer a portion of this requirement, but piecing them together isn't working for me. I appreciate that it might not be possible, but my studies would indicate that it should be. I need to return a ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75559660", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: jacoco agent is started with excludes=* by gradle only on some modules I work on Android project with multiple submodules. I'm trying to generate coverage report using jacoco but for some modules test coverage appears to be empty. I tracked down the execution to gradle test tasks and noticed that for missing modules...
{ "language": "en", "url": "https://stackoverflow.com/questions/75559661", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to customise the severity of the google_checks.xml file modules I wanted to change the severity of the modules and i don't want to go to every rule and add the property severity to error or something else, is their any way to treat some rule as a warning and some rule as a error in seperate files and if possible...
{ "language": "en", "url": "https://stackoverflow.com/questions/75559664", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Fatal error: Uncaught Error: Call to a member function fetch_assoc() on bool in W I want to generated report from multiple tables and hereby to know the number of trainees from different organizations as Total and again I want to know Grand total. For example if I have a trainee from private bank, then based on this...
{ "language": "en", "url": "https://stackoverflow.com/questions/75559665", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: How to implement claim-based multi-tenancy with OpenIddict? This a peculiar problem, I suppose. I'm writing my own authorization server both as a way to learn, and as a way to POC our potential future SSO solution for all our in-house apps at the company where I work. Using the fantastic OpenIddict. I'm set on a mul...
{ "language": "en", "url": "https://stackoverflow.com/questions/75559666", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to add data to an element in a ForEach I'm learning swift and for an assignment I need to Create an app to track habits. The view I created so far looks like this: With the '+' symbol in the top right you can add a habit you want to track. The habits are show using a ForEach looping over an Array of Habit eleme...
{ "language": "en", "url": "https://stackoverflow.com/questions/75559669", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: No index signature with a parameter of type when using Record I have a map called buttonColors defined as the following: const buttonColors: Record<FilterStatusType, string> = { ACCEPTED: 'green', UNACCEPTED: 'red', OFF: 'grey', }; I'm trying to map over this object to create JSX But...
{ "language": "en", "url": "https://stackoverflow.com/questions/75559671", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Which file formats can be used to fine-tune OpenAI GPT-3 models? As we are getting in to turbulent times of AI. I am as well spilling mine drop in to ocean. As I am pythonian, all attempts are done in python/anaconda. Does anybody have already some experience in "data formats" passable to GPT family of AIs? In docum...
{ "language": "en", "url": "https://stackoverflow.com/questions/75559672", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: StoreModule.forFeature() in SubModule and StoreModule.forRoot in AppModule results in extra level in state tree I have project where I've created an AuthModule that I import into my AppModule. I'm configuring NGRX Store in this module: @NgModule({ imports: [ CommonModule, RouterModule.forRoot(ROUTES), ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75559673", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: pytz and ZoneInfo return different times for same functions. What's wrong with my implementation? I am trying to add a timezone to a time without timezone. However, using 2 libraries gives 2 different results: from datetime import datetime import pytz from zoneinfo import ZoneInfo cur = datetime.now(tz=None) print(...
{ "language": "en", "url": "https://stackoverflow.com/questions/75559676", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Reduce spacing between links I know this question has been asked a lot of time but, since I am new to HTML, I still need some guidance. Based on the code below, how can I reduce the spacing in between the links in each column? Code: a { color: white; } .footer-background { padding-top: 20px; padding-bottom:...
{ "language": "en", "url": "https://stackoverflow.com/questions/75559677", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Why are 6to4 IPv6 addresses 112-Bits in length? I was reading about 6to4 and I'm pretty confused about how the addresing works. If you are converting an IPv4 to IPv6 using 6to4 first group will be 2002 The next groups are determined by the IPv4 address, for example 192.168.200.1 255.255.0.0 So would the next 2 gro...
{ "language": "en", "url": "https://stackoverflow.com/questions/75559682", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Set theme for the whole android app on button click App consists of activity_main and activity_settings. I would like to change my app theme by clicking the button in settings activity. After some research i can change the theme only for the activity in which there is that button: SettingsActivity.this.setTheme(R.st...
{ "language": "en", "url": "https://stackoverflow.com/questions/75559684", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Using Altair and 'mark_point' to highlight area in a faceted graph I'm trying to use 'mark_point' to highlight an area in a faceted graph, using Altair. Because the graph is faceted, I need to use the same dataset for plotting the points and the highlighted area. However, I have a different number of points for each...
{ "language": "en", "url": "https://stackoverflow.com/questions/75559685", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Is it a good idea to separate database for multiple accounts in Room? Assume that: * *You run an external service where user logs in *We store local copy of remote resources in Room database *User may have multiple accounts (or more people may use the same device) In this case should we create single database f...
{ "language": "en", "url": "https://stackoverflow.com/questions/75559686", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Send an email when a pipeline fails in Data fusion I need when a pipeline fails the data merge to create a table inside bigquery that says it failed or send me a mail. How could I achieve it? I know I can use a condition, but I need to capture the failure event. Does anyone have an idea how to do it? The following p...
{ "language": "en", "url": "https://stackoverflow.com/questions/75559687", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: how to align image in the center without using margin or padding All tags are in the center except the img I want to make is in the center with out using margin or padding header { display: flex; flex-direction: column; align-items: center; } .logo { border-radius: 50%; width: 100px; height: 100px; ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75559690", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Symfony FileType form field returns NULL I have a form where you upload an image, but whenever I submit the file variable in the controller is said to be NULL. I don't get any errors. /** @var UploadedFile $businessCardFile */ $businessCardFile = $report_form->get('businesscardimg')->getData(); entity: /** * @...
{ "language": "en", "url": "https://stackoverflow.com/questions/75559692", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Database Design - What is the Terminology for these Two methods of storing data and what are the Pros Cons of each There are many ways to link data when storing them in tables within a database and I am not sure how to refer to these two different methods. I am also curious to know what pros or cons are associated w...
{ "language": "en", "url": "https://stackoverflow.com/questions/75559695", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to make an object's clones follow the same function I have an object, let's call it 'ant', and I made it move, and every 10 second I make a clone of it, but the clone doesn't follow the same function that the ant had. Is there a way to make the clones follow the same function? There will be about 10 or 20 more c...
{ "language": "en", "url": "https://stackoverflow.com/questions/75559698", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Currency pair strength list based on dataframe row values Based on the following currency strength rankings dataframe: EUR USD GBP JPY AUD CHF CAD NZD 2023-02-24 12:00:00 5.0 8.0 4.0 3.0 2.0 7.0 6.0 1.0 2023-02-24 13:00:00 6.0 8.0 4.0 3.0 2.0 7.0 5.0 1.0 2023-02-24 14:00:00 7.0 8.0 4.0 3.0 2.0 6....
{ "language": "en", "url": "https://stackoverflow.com/questions/75559699", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: ImportError: cannot import name 'app' from 'site' I am trying to import app.py from site folder. My app.py file has run function. This function is starting Flask. But I cant import. Please help. I tried to import site and access run function with site.app.run(). It not worked. There is no error in console, its just ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75559702", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Is bilinear resampling to a coarser resolution is similar to weighted spatial averaging? I am using the xESMF python package to resample NDVI (greeness) data from 500 * 500 m to 1 * 1 degree.To clarify, I'm increasing the scale of the data. The package offers several techniques, including bilinear and conservative. ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75559703", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to export as PDF into Sharepoint location? I would like to export a tab on my Excel file to PDF, save it to our company's Sharepoint (that I have access to), and then ultimately send it via email. My code trips up on the export to PDF part. I have a feeling it's a file path issue. I tried just copying the exact ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75559704", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Add an extra legend to facet in ggplot I want to add few individual data points to selected facet and have a legend for them. library(ggplot2) ggplot(data=mpg, aes(displ, hwy)) + geom_bin2d()+ facet_wrap(~class) + geom_point(data = data.frame(displ = c(5,3,6,4), hwy = c(25,30,35,27), type="XX", class = "pick...
{ "language": "en", "url": "https://stackoverflow.com/questions/75559707", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Can a subdomain be set up to force a client side browser to refresh their cache? Situation: I have a generic subdomain tickets.nsuf.org that I want to use every year to direct customers to the correct page on a 3rd party website to buy tickets for the current year. (The ticket service we use changes their URL for ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75559708", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Flutter PathNotFoundException: Creation failed, path All error text on vs code: ccccccccccccccccc PathNotFoundException: Cannot copy file to '/data/user/0/com.example.habit_tracker/app_flutter/habit_tracker.db', path = '/data/user/0/com.example.habit_tracker/cache/databases/habit_tracker.db' (OS Error: No such file ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75559709", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Why does my css-grid not scale when increasing the size of the window, the grid extends ff the screen College assignment, Create a 2 page website using css grid, use media queries to make the webpages responsive to different screen widths enter image description here This is he code for the tablet view enter image d...
{ "language": "en", "url": "https://stackoverflow.com/questions/75559712", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Preventing authorized users from accessing other pages in the same route? I have an Angular 10 application I am writing, with a main component at path { path: 'main/:value's, component: MainPage} Where :value is a uid to the component they are trying to access. Currently I am setting a bearer token in session stora...
{ "language": "en", "url": "https://stackoverflow.com/questions/75559715", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can I add hotkeys to a Python script, which suppresses them in the rest of the system? I want to make a hotkey to launch specific part of the def Python script and which those hotkeys wont do anything else in the other apps. Till this day I was using "keyboard" module to add them using keyboard.add_hotkey() comm...
{ "language": "en", "url": "https://stackoverflow.com/questions/75559716", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Header() redirect shows up in network activities but redirect isn't occuring I am building a process where if I user lands on the home page, I check whether there is a valid cookie with a particular name. If the cookie doesn't exist, the user is redirected to login.php. I do a POST request to a third party API to au...
{ "language": "en", "url": "https://stackoverflow.com/questions/75559717", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How can I empty the items array when i search for something else and display those results instead of the previous ones I am working on a project with the YouTube Data API, where I have a search bar and whatever i entered is being passed as the parameter to the youtube url which searches for specific videos related ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75559720", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Android room UPSERT not working as expected I followed the documentation of android room UPSERT to implement a simple block of code to upsert my entities. Unfortunately it is not working as expected (for me). The documentation example: click here Please read the example part So I added a Playlist entity, a Dao, the ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75559721", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Android Studio exclude File from signing I noticed that inside .apk there is a file named *.MF where all other files hash is stored. I have a webserver (intranet) which I serve this .apk file as HTTP Response. Inside .apk I have a .ini file to store dynamically data from the server (just a binary manipulation) the p...
{ "language": "en", "url": "https://stackoverflow.com/questions/75559722", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Testing Objects for Properties * *checkObj({gift: "pony", pet: "kitten", bed: "sleigh"}, "gift") should return the string pony. * *: checkObj({gift: "pony", pet: "kitten", bed: "sleigh"}, "pet") should return the string kitten. * *: checkObj({gift: "pony", pet: "kitten", bed: "sleigh"}, "house") should retur...
{ "language": "en", "url": "https://stackoverflow.com/questions/75559723", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: RuntimeError: numel: integer multiplication overflow I am trying to build a generative recurrent GAN architecture for a multi-variate time-series data. Here is the discriminator of my model: from torchgan.models import Generator, Discriminator import torch import torch.nn as nn class RGANDiscriminator(Discriminator...
{ "language": "en", "url": "https://stackoverflow.com/questions/75559726", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: C++ creating an excel Document I'm trying to create an excel file from C++. When I try this I get CLSID_Application undefined: #include <iostream> #include <cstring> #include <windows.h> #include <ole2.h> #include <OCIdl.h> #include <OleCtl.h> #include <atlbase.h> #include <atlcom.h> #include <Windows.h> using nam...
{ "language": "en", "url": "https://stackoverflow.com/questions/75559728", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: About the URL.createObjectURL I am a beginner in django with python, there is a problem i confronting now is that I have a image URL e.g. "http://127.0.0.1:8000/media/images/user_1/XXXX.jpg" and I am trying to use URL.createObjectURL to do a preview, but it is not work. There is the error message: companymanage:1278...
{ "language": "en", "url": "https://stackoverflow.com/questions/75559734", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Order elementor loops by custom date field? I have a custom post type called "Dates" for events. In that custom post type, I have an ACF date picker custom field called "date-event" which allows to put a date (formated "l j F", example: Monday 01 March) for an event. I have included the elementor loop carousel and I...
{ "language": "en", "url": "https://stackoverflow.com/questions/75559735", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Reactjs export page as HTML I'm trying to export a page from a reactjs application to html format using the following function. const downloadHtml = () => { const element = document.createElement("a"); const file = new Blob([document.documentElement.innerHTML], { type: "text/html" }); element.href = URL....
{ "language": "en", "url": "https://stackoverflow.com/questions/75559737", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Getting exception System.InvalidCastException: 'Unable to cast object of type 'System.String' to type 'MyListBoxItem'.' how to handle it? The full exception message: System.InvalidCastException HResult=0x80004002 Message=Unable to cast object of type 'System.String' to type 'MyListBoxItem'. Source=Image Crop ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75559741", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to set Java environmental variables through python in a AWS Glue job I am trying to set the JAVA environmental variables through python code in an AWS Glue job. I have tried multiple ways but no luck. After trying several different ways I found this helpful but this event didn't work for me. What can I try next...
{ "language": "en", "url": "https://stackoverflow.com/questions/75559746", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Google Speech recognize stream, first response has a big delay I am using Google's cloud speech API to translate sentences in real time. It works well, however the first 5-6 seconds after creating a streammingRecognize and feeding it audio input it doesn't send any response. After that initial delay, I get bombarded...
{ "language": "en", "url": "https://stackoverflow.com/questions/75559747", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to get the Development data of a(n) issue/Pull Request from GitHub API everyone! I wanna know how can I get the Development data of an issue or a Pull Request from GitHub API or Event? the Development data(within the red box) I have tried "API: get an issue", "API: get a pull request", "Event: Issues" and "Event...
{ "language": "en", "url": "https://stackoverflow.com/questions/75559759", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Change Query Timeout on Snowflake Warehouse I'm using Snowflake to run a rather long query, but my queries are timing out after 15 minutes. I'm pretty sure the warehouse is set to a short timeout length. How do I modify the query timeout amount? The error I get is SQL execution canceled. I have run the same query mu...
{ "language": "en", "url": "https://stackoverflow.com/questions/75559761", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: jQuery checkbox uncheckable: I have a checkbox in a table: <td> <input name="feature1" type="checkbox" value="1"/> </td> I want this checkbox uncheckable what's better way to do this? Since I do not want to use prop.("disabled"), cause it will turn checkbox to the gray. Then I try to use : $('input[type="checkb...
{ "language": "en", "url": "https://stackoverflow.com/questions/75559772", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Testing Rails Elasticsearch implementation, waiting for refresh_index to finish before searching I am having a great deal of issues with "race conditions" in my specs for Elasticsearch testing. Sometimes my tests pass, sometimes they don't, sometimes they find X number of results and sometimes they find a different ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75559774", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to wait on multiple multiprocess.Process to finish execution when they exec()? I need to wait for multiple processes to finish execution. I am using multiprocess.Process, because I want to adjust oom score of the subprocesses before executing them. After research, I wanted to use multiprocessing.connection.wait ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75559776", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Calculate new values from certain rows/columns of dataframe So given an example dataframe like this: df = pd.DataFrame({ 'Team': ['Team 1', 'Team 2', 'Team 3', 'Team 4',], 'Data 1': [10, 20, 15, 25,], 'Data 2': [12, 15, 23, 14,], )} I need to calculate a value and add it into a new column, 'Data 3'. The...
{ "language": "en", "url": "https://stackoverflow.com/questions/75559778", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to express 1D data in linear combination of Spherical harmonics? I am new to python and wish to calculate a wavefunction by fitting 1D data to a linear combination of spherical harmonics. I am thinking of expressing wavefcntion as follows wavefcuntion = aY0+bY1+c*Y2......Yn and then fit cofficient using curve fi...
{ "language": "en", "url": "https://stackoverflow.com/questions/75559779", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Implementing Google SSO causes 403 Forbidden Error When trying to implement google sso I am getting the 403 forbidden error. I have been following tutorial exactly as shown here and have even pulled the repo. https://medium.com/c-sharp-progarmming/asp-net-core-google-authentication-4c0aa8feebbc I've added my client...
{ "language": "en", "url": "https://stackoverflow.com/questions/75559782", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: I want to create angular Chrome Extension Multi Page So I want to create such type of extension but the problem after ng build is I can't open new page from the popup, because I have only 1 html file index.html. But I need to have another angular html file and open it from the popup in the new tab. maybe someone kno...
{ "language": "en", "url": "https://stackoverflow.com/questions/75559783", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Linux bash problem. Change a string in a file by a variable is not running with command sed I have this variable $rango_ips, if I do root@Debian:~# echo "$rango_ips 192.168.10.206-192.168.10.215 root@Debian:~# sed -i "s/192.168.42.10-192.168.42.250/$rango_ips/g" /etc/xl2tpd/xl2tpd.conf and then the string "192.168...
{ "language": "en", "url": "https://stackoverflow.com/questions/75559784", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: How to embed social media post with flutter I have been trying to embed videos and post from facebook,twitter and instagram into my flutter application but i was not able to do so. * *I have tried this social_embed_webview but it does not work fine especially the facebook embed it always throws an error saying th...
{ "language": "en", "url": "https://stackoverflow.com/questions/75559788", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: In R, I want to prevent long labels from ruining the image by using '\n' I am currently using library(fgsea) to create a bar plot in ggplot2 based on the results. However, the long pathway labels are causing issues with the image. I tried to use stringr::str_wrap() and strwrap() to address this, but the labels are n...
{ "language": "en", "url": "https://stackoverflow.com/questions/75559790", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Navbar Missing from Razor Pages Application after Publishing to Azure App Service I have a razor pages application, I'm using mostly default things, but I am in fact using Blazorise components as well. When I launch the app from Visual Studio everything operates perfect. However, when I publish the application to Az...
{ "language": "en", "url": "https://stackoverflow.com/questions/75559792", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Create-React-App deployment (github and vercel) and errors I'm beginer in full stack engineering and working currently on My portfolio made by create-react-app. I got to production stage now i'm trying to deploy. Unfortunately the page on github shows blank link to the page. Tne next step was Vercel, which does not ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75559793", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: R icd package - how to get ICD code explanation for large dataset with repeats I have a dataset with ~ 4000 patients and a primary diagnosis given by ICD10 codes. Many of the diagnoses are repeated across patients. I found the "icd" R package. I'd like it to add a column describing (in words) what the diagnosis is...
{ "language": "en", "url": "https://stackoverflow.com/questions/75559795", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How does post data work with Common Lisp? I have a post route: (defroute admin-post ("/admin" :method :post) (&post clientName dbName email) (let ((c (write-to-string clientName)) (d (write-to-string dbName)) (res (by-email email))) (render-template* *admin.html* nil :title "Admin Are...
{ "language": "en", "url": "https://stackoverflow.com/questions/75559797", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Calculate the total size of List Hi I have a list of List<String[]> csvRows, String[] csvHeaderRow My goal is to calculate the totalsize of the final CSV file I would write out of these rows, so I should add the total size of all commas, csvRows, csvHeaderRow. Note that, a lot of columns in csvRows could be null of ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75559799", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Is the exact position of the content important while training a Keras model? My current position currently requires resolving captcha and I've been developing a model to recognize the each letter in the captcha. The captchas are always in the same font and style but with random background/text colors. Also they have...
{ "language": "en", "url": "https://stackoverflow.com/questions/75559808", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Delete duplicated data text that is not exactly the same but is similar I have a data frame and I need to detelete duplicated data. My main problem is that some data is duplicated but the text is not excactly the same. ID NAME 234 ALEJANDRA AZYADtETH ONTIVEROS CABALLERO 235 ALEJANDRA CABALLERO 236 ALEJAN...
{ "language": "en", "url": "https://stackoverflow.com/questions/75559811", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: FLASK SQLALCHEM: Failing to create ORMs for MYSQL tables I have a mysql database in which i created relationships in separate tables, this is more appropriate for my use case. I am failing to create ORMs for tables that represent relationships, and these are in a very specific format, as the one below: CREATE TABLE ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75559813", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How to repeat the if condition? How to repeat counter to 0 to rigger if statement again? private void timer1_Tick(object sender, EventArgs e) { Random generator = new Random(); int newNumber = generator.Next(1, 21); label1.Text = newNumber.ToString(); sql = "SELECT * FROM `new_table` WHERE `tic...
{ "language": "en", "url": "https://stackoverflow.com/questions/75559815", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Google Cloud alert policy not triggering through Firebase's SDK invocations I've set up an alert policy in my GCP Project to fire an alert every time an object is inserted in an specific bucket. I did this using the request_count metric with the WriteObject label. This alert policy works fine when I add files to the...
{ "language": "en", "url": "https://stackoverflow.com/questions/75559816", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Is it possible to summarize repetitive code in python? I have been trying to make an application in python in which you can choose fonts for a text, for this I have an excel in which I have 347 cells with a font name in each one. The problem is that I have to extract the information of each one of those cells and st...
{ "language": "en", "url": "https://stackoverflow.com/questions/75559817", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: to minimise the cost of scheduling delivery service for different unit of items to be shipped in n weeks Suppose that an equipment manufacturing company manufactures si units in the i-th week. Each week’s production has to be shipped by the end of that week. Every week, one of the three shipping agents A, B and C ar...
{ "language": "en", "url": "https://stackoverflow.com/questions/75559819", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Docker/Ruby - creating Docker service results in "rails new APP_PATH [options]" and services exiting with code 0 I'm new to Ruby and a little new to Docker. I looked on here for an answer to this beforehand but did not see my issue. Here is my Dockerfile FROM ruby:3.2.1-alpine # Create app directory WORKDIR /rails ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75559822", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to add sub project of mutli module gradle project to another sub project of another multi module gradle project? I've already tried below answers. The problem is also same. But none of these are working. So I'm just re-iterating the problem. * *How to add a dependency to another project properly using gradle? ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75559824", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Invalid right parameter but only on bigger database I have a procedure on the azure sql server. There is an error invalid lenght parameter passed to the RIGHT function I know the cause but it's working really strange. It blocks the execution of procedure when I have DTUs=100 and Data max size = 250 GB but it doesn...
{ "language": "en", "url": "https://stackoverflow.com/questions/75559826", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Setting environment variables for a packaged electron app How do I set environment variables that will be accessible when the electron app is built and ran from the installer, not the cli? Using electron-builder V23.6 (latest) Here's my build script in package.json: "build:electron": "set MYVAR=true && electron-buil...
{ "language": "en", "url": "https://stackoverflow.com/questions/75559827", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Sequelize eager loading if an array contains an ID I'm using Sequelize with a postgresql database, which natively supports arrays. So I am trying to load a single artifact by pk, and all artists where the artistID is contained within the artist model at artist.artifactID, which is an array of integers. If I don't t...
{ "language": "en", "url": "https://stackoverflow.com/questions/75559828", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Maths/Python: Sum equation I have the following problem: -I have an arbitrary (s,s)-matrix R. It s a stricly lower triangular matrix. However the last row is unknown. Since R is a strictly lower triangular matrix however, the element r_{s,s} is 0. Which means that r_{s, 1}, …, r_{s, s-1} are unknown. -I have a colum...
{ "language": "en", "url": "https://stackoverflow.com/questions/75559829", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Converting list elements to sublists in Python I have a list G3. I am performing permutation of all list elements and creating another list A. But I want each element of ``A``` to be a sublist as shown in the expected output below. import itertools G3=[[0, 4, 5]] A=list(itertools.permutations(G3[0], 2)) print(A) Th...
{ "language": "en", "url": "https://stackoverflow.com/questions/75559831", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Disk for fetch is not provided (clickhouse-server.log) I am testing replication performance using ReplicatedMergeTree. And I see these messages under in clickhouse-server.log from the being replicated server. It seems that if I configured “Disk for fetch” those message won’t show up. Is there a way that I can config...
{ "language": "en", "url": "https://stackoverflow.com/questions/75559832", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Why does github change author of commits after mirroring the repo? I've been working on a project for the past months, and periodically pushing the code to my Github Enterprise account for backups. It is now the end of the project and I wanted to mirror the repo to my personal Github account to use it as part of my ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75559833", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: NaN and NA produced when using describe_across function I am trying to get some descriptive stats from my data, however, I keep on getting Nan and NA when I run the code. this is my code describe_across(mediation_df_total, variables = c(friendship, engagement, satisfaction), functions = list(avg = mean, stdev = sd),...
{ "language": "en", "url": "https://stackoverflow.com/questions/75559839", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Look for specific row based on conditional formatting rules I want to look for a row that contains 6 conditional formatting rules in the column set. I set one rule for each column, each of these rules have a specific color or use the same color, and I need to find on the sheet when all the 6 colors from the 6 column...
{ "language": "en", "url": "https://stackoverflow.com/questions/75559840", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How do I test access to a specified database VIEW in SQL Server? What's a simple SQL query that will just verify I have access to a specified VIEW? It can be just to pull all the available fields/columns, or just pull the first 10 records of everything; if someone can provide an example with say a VIEW named "LOCATI...
{ "language": "en", "url": "https://stackoverflow.com/questions/75559845", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: when I am using daisyui theme generator i got this error.Whats the problem here? Compiled with problems:X ERROR in ./src/index.css (./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[1].oneOf[5].use[1]!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].oneOf[5].use[2]!./node_modules/source-map-loade...
{ "language": "en", "url": "https://stackoverflow.com/questions/75559846", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Getting RGB colors of selected area in an image I have prepared a code that can give the average color of an image properly. But now I want users to select some area in that image and get average RGB values of that specific area. For this purpose, I tried using the jCrop library and it also gave me the image x, y, w...
{ "language": "en", "url": "https://stackoverflow.com/questions/75559848", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: "Badzipfile: file is not a zip file" using os and openpyxl I have a folder with a bunch of excel spreadsheets (directory called "path" here) and I need to extract a cell from each of the files (same location) and paste it in a new spreadsheet (calling it "output" in the code). I've used the openpyxl module because I...
{ "language": "en", "url": "https://stackoverflow.com/questions/75559853", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Font "Tahoma" is not available to the JVM with Docker Explain: I am using docker to build image and Java Eclipse-temurin:17. I need docker workable command where i can install Font into JVM. Docker container os is ubuntu.
{ "language": "en", "url": "https://stackoverflow.com/questions/75559859", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Call a function inside an array I have a function, which through an api, I bring the data and place it in an array. self.PrestamosXUsuario = function () { fetch(environment.apiPoint + '/prestamos?empresa=' + empresa + '&anexo=' + anexo, { method: 'GET', headers: { 'Content-Type': 'app...
{ "language": "en", "url": "https://stackoverflow.com/questions/75559861", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Group the datetime based on another array of the datetime in pandas - Python Assume I have two pandas dataframe with two columns of datetime as follow: Col_1 Col_2 2023-01-02 2023-01-02 9:00 2023-01-03 2023-01-02 20:00 2023-01-04 2023-01-03 1:00 2023-01-05 2023-01-04 9:00 2023-01-08 2023-01-05 16:00 ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75559862", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Not able to fetch the data from mySQL using reactjs I am working in a Reactjs project and i am trying to fetch my employee data on button click. in first i am trying to console.log() in chrome. Everything is working fine but data is not showing in chrome. Instead of it shows [] length : 0 [[Prototype]] : Array(0) ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75559865", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Execute animation while scroll down (Flutter web) I am creating a simple flutter web app where is created a top bar with some buttons on top bar. When i click on any button the scroll animation works and the page scroll to that specific portion of the web.I also added slide animation to be play when scrolled to the ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75559867", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Does github actions support vnc enable? Our company want to have test automation run by Github actions. As a part of it, we need to open vnc viewer to a client machine, Are there any possible ways to do it at the moment? If not, are there any library or software that can create virtual display on github action
{ "language": "en", "url": "https://stackoverflow.com/questions/75559868", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: What's the best way to change yyyy-MM-dd HH:mm:ss to yyyyMMddHHmmss in Java? I know that I can using java replace funcion or use regex to get the result, and also I can use DateTimeFormatter to get the result.How to use regex to extract the string?What's the best way to change yyyy-MM-dd HH:mm:ss to yyyyMMddHHmmss i...
{ "language": "en", "url": "https://stackoverflow.com/questions/75559869", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-4" }
Q: istio-proxy not respecting app container restart and sending traffic during app terminating state We have a pod with an app container and istio-proxy container running. Due to the failure of liveliness and readiness probes on the app container, a SIGTERM signal was sent to the app container, and the app container we...
{ "language": "en", "url": "https://stackoverflow.com/questions/75559874", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Windows Application .exe into AWS I use a 3D rendering program, the program is licensed and comes in an .exe file format where I need to install both a server and a client on premise to run the software. At the moment, the setup requires a server PC + multiple client PCs. So currently it looks like this: 3D renderin...
{ "language": "en", "url": "https://stackoverflow.com/questions/75559877", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to get line count/view model line count after text in editor is wrapped? I have a use case where I need to know the actual number of lines in the editor when the text is word wrapped. In previous versions of monaco-editor, there used to be editor.getViewModel().getLineCount() or editor.getViewLineCount() functio...
{ "language": "en", "url": "https://stackoverflow.com/questions/75559878", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Error in UseMethod("mutate") : no applicable method for 'mutate' applied to an object of class "function" I am trying to create a data frame on a case study. I'm trying to use this code to create a new table and I don't know why its not working, any help would be appreciated. daily_activity_final <- daily_activity_r...
{ "language": "en", "url": "https://stackoverflow.com/questions/75559882", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Finding mean of character value (grouping by another variable) I'm having some issues of finding the mean of a character variable (grouping by another variable). In the example data below, how would I find the mean of Apple, grouped by Class? > dput(df) structure(list(Class = c(1L, 0L, 1L, 0L, 1L, 0L, 1L, 1L, 0L), ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75559883", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How can I fix this serious git clone error? I tried the following: E:\Workspace\Blockchain>git clone https://github.com/substrate-developer-hub/substrate-node-template.git Cloning into 'substrate-node-template'... remote: Enumerating objects: 2185, done. remote: Counting objects: 100% (91/91), done. remote: Compress...
{ "language": "en", "url": "https://stackoverflow.com/questions/75559886", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }