text
string
meta
dict
Q: I wrote a code to load a csv file directly from the web source into r markdown but I am running into some issues The problems come back as unused arguments but I also get notified that no such file or directory found when I try to run it. I am sure the problem is in my code but I just cannot figure out where since I...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597436", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Groovy API pagination I'm trying to configure a groovy script on Jira to get data from another system through it's API. The script is working and I'm getting a payload back from the API call. But the problem is that the API on the other system is using pagination and I'm only getting the first 100 objects. The paylo...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597439", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Using DAX in PowerBI, how can I build a dynamic table that lists the values selected in a two slicers? Problem: I have two slicers, SlicerA and SlicerB. These are multi-select slicers. I am trying to create a dynamic table that shows the values selected in the two slicers. * *For ROW 1, it displays the FIRST sele...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597440", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Extend/Omit interface in typescript I have list of props under interface type. And want to extend interface type with modification as below, * *Change of Prop types *addition of new fields interface Request { Id: NullProp<number>, Name: NullProp<string>, Code: NullProp<string>, Type: NullProp<string...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597443", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: ModuleNotFoundError: No module named 'google' import google.auth i am trying to make it access google sheets but it cant find a module named google in python import google.auth ive tried a lot of pip commands and general tutorials and help videos on youtube however still cant get it to work im using vsc, with google...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597445", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: SQL limit join to the first dataset I have lots of datasets of genomic ranges. I am trying to associate overlapping genomic ranges from each dataset. I have a master list of genomic ranges that includes everything in the dataset. I want to associate each dataset back to that master list, however if there is more tha...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597446", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Query the DB from a MonetDB C-UDF How can I query data from another table from the body of a JIT-ed C-UDF in MonetDB? Is it possible to execute an arbitrary SQL query from within an UDF? E.g.: CREATE FUNCTION handle_exp(exp STRING, id INT) RETURNS BOOLEAN LANGUAGE C { result->initialize(result, input.count); ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597450", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How I can retrieve messages from messages_en.properties file in java on Keycloak to customize an authentication form everyone. I am customizing the messages that the login form displays to the user. I want to bind the value of the variables in the messages_en.properties file in my Java code. Currently I have the mes...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597452", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-4" }
Q: Highlight the currently selected TextInput in React Native I'd like to highlight the currently selected TextInput by changing the borderColor. I'm aware of the onFocus and onBlur properties, however, I can't figure out how to actually change the borderColor. const MainScreen = () => { const [pelletWeight, setPell...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597453", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: replace text with javascript on amp page I want to replace some text using javascript on AMP pages I tried many ways all of them didn't work I also tried amp-script and it was not able to accept custom javascript I usually use innerHTML and the browser tells me it's not supported in amp-script document.body.innerHTM...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597455", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How Do I Aggregate Recorded Daily Incidents Into Monthly Counts I have a large pandas dataframe of daily crime incidents. One of my columns ('date') is datatype datetime64[ns]. Take, for example, the dataframe below: ID Date Crime 987AL4 1991-08-15 Robbery 987AL4 1991-08-16 Asasult 124576IL 1991-09-21 Br...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597457", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: ffmpeg, histeq, palettegen and paletteuse behaviour Using ffmpeg, passing a video though histeq then palettegen and paletteuse generates strange output. Example 1 wget https://test-videos.co.uk/vids/bigbuckbunny/mp4/h264/1080/Big_Buck_Bunny_1080_10s_2MB.mp4 ffmpeg -ss 00:00:09.126 -t 0:0:01.0 -i Big_Buck_Bunny_10...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597458", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: DataWeave not reading XML correctly I'm trying to read an XML file and run some formatting to convert it to a plain text file but DataWeave fails to read the XML file correctly and errors out. Here is my input file: <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ds:tfmDataService xmlns:nxcm="urn:us:gov:dot...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597459", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to make TypeScript understand type checking? I have a function dynamically obtaining a value of an object's property in TypeScript. The property can be of type number or Color. If the property is of type number the function returns the property's value, else it returns the array created from the property (in thi...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597463", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Is there a way to find Swift properties wrapped in property wrappers using reflection? I've been trying to get an @ObservedObject-like property wrapper (let's call it @Observed) working that would listen to Combine events published by @Published properties of a class adhering to the ObservableObject protocol. I want...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597470", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to create a dataset of rows that don't match between 2 datasets in r I am trying to merge 2 different datasets by row and they look like this: X y a 1 b 4 c 7 d 8 and my second dataset is A B a 9 j 4 c 6 f 8 I can merge them by rows, but what I am looking for is to create a se...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597478", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: How to load a matrix as a pointer to pointer to struct Vector I have a struct that I called Vector which contains an array and its size. I populated it in the code as follows: vec1 row1 1 row1 2 row1 4 row1 5 What I want to do is to have an array of Vectors (a matrix, which is probably a poi...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597482", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Why doesn't the background color bleed through on images with transparency? If you have an image with an alpha channel (imagine the image is of a gradient that fades into the background), why doesn't the image's background color bleed through after you add the alpha channel? Is it always assumed to be white, or blac...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597483", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: How to find user with exact username with kcadm? I am using keycloak v19.0.1. I have a problem with using kcadm.sh to find an user with exact username. E.g. I have 3 users: user1, user11, user12 > kcadm get users -r myrealm -q username=user1 The command returns all three users. I would like the command to return on...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597485", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Running PM2 on Digital Ocean App Platform I'm trying to run PM2 for my Node application that is hosted on the Digital Ocean App Platform. I have no issues running my app with node index.js but when I try to run pm2 start index.js I end up with a failed deployment. I haven't seen anywhere saying otherwise, but is it ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597486", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Im Trying To Make A Function But I Keep Getting "TypeError: can only concatenate str (not "int") to str" im making a text rpg game and this line of code def choose(): afterbattlechoice = int(input("Stats: Level:" + lvl + "Xp:" + xp + "HP" + hp + "What Do You Want To Do? | 1. Open Shop | 2. Adventure On :")) ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597487", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Can we not set Retrofit base url? Because now I have two different base URL I don't wanna ser base URL in retrofit. @GET("https://starlabs.starlingmedical.com/resources/assets.json") fun fetchAll(): Call<MyGetData> @Headers("Content-Type: application/json") @GET("https://app.starlingmedical.com/api/v1/p...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597489", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Flutter Google SignIn. Wrong recipient, payload audience != requiredAudience I have a Google Sign in on my flutter app. The app is for iOS and Android. I also get the tokens without any problems. However, when I try to send the id_token to the backend, this function does not work: const ticket = await this.oAuth2Cli...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597491", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Apply an attached property to Xamarin Entry and Editor to force CAPITALIZATION and set its Style in Application.Resources I have been searching around trying to find a way to create an Attached Property almost exactly like this one Is It possible to set a Keyboard to "Sentence Capitalisation" in XAML for an Entry? H...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597492", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Capture error message with status 400 Bad Request VB.Net When the response is a 400 Bad Request status, I don't know how to capture the message that generates the error. In postman you can see the error message in the following image: My code in vb.net is the following: Dim resp As HttpWebResponse Dim request As Ht...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597494", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: ValueError: invalid literal for int() with base 10: 'Z' res = 'XY#6Z1#4023' for i, let in enumerate(res): if let == '#': res = res.replace(str(res[i:i+3]), str(int(res[i+1]) * res[i+2])) ValueError Traceback (most recent call last) <ipython-input-32-9ec125dbc686> in <module> ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597496", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: Trying to run Kubedoom on Cloud Run as a service I am trying to deploy a service on Cloud Run with the image of this git: https://github.com/storax/kubedoom/blob/master/README.md I was able to run with no issues on GKE and helm but I am having trouble deploying on Cloud Run. Here is my YAML apiVersion: serving.knati...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597499", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Need help understanding templated constructors in templated classes I'm a template newb. This code (you can run it on here on cpp.sh) has a template constructor in a template class. I pulled it from code that wants a pointer to the memory array of a vector to send/receive data in a radio, and the vector can be insta...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597502", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: PostgreSQL filter by date in current query Initial data: base There is a database query: SELECT accounts.number acc, counters.service serv, meter_pok.date, counters.tarif, meter_pok.value FROM stack.accounts LEFT JOIN stack.counters ON counters.acc_id = accounts.row_id LEFT JOIN stack.meter_pok ON meter_...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597506", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Run tensorflow with GPU RTX3060 I'm trying to run tensorflow on the GPU of my computer but I'm having a lot of problems. My pc has a Rtx3060 and I have installed cuda 11.1 and cudnn 8.1. I'm using Windows 11. At this moment my pc don't let me install tensorflow-gpu. I had tried with different versions of cuda and cu...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597508", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-4" }
Q: How to view page after running "nom run build"? I have downloaded https://github.com/primefaces/sakai-vue. I want to build the project with npm run build just out of the box after a clean download and follow the documentation. I have modified vite.config.js as follows: /** * Some tips on: * -- https://vitejs.dev/...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597509", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: The Container i am using is taking the full width of screen i have a container in a list view builder, but for some reason no matter what i set the width as, it takes the full width of the screen. i really do not know what is wrong right now. here is the code Widget build(BuildContext context) { return StreamBu...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597510", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to create a folder in python Please, what is wrong in my code. I did the same thing elsewhere and it worked. import matplotlib.pyplot as plt import pandas as pd import numpy as np from glob import glob import os, re from IPython import get_ipython import shutil get_ipython().magic('reset -sf') os.system('cls||cl...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597513", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: Is there a way to make the newest version of WP GraphQL plugin compatible with gatsby-source-wordpress 3.1.*? I have a Gatsby app with the following dependencies: "gatsby": "^2.15.14", "gatsby-awesome-pagination": "^0.3.3", "gatsby-plugin-google-analytics": "^2.1.31", "gatsby-plugin-intl": "^0.3.2", "gatsby-plugin-l...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597515", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Message from nvm every time I start a new shell? I have just setup fedora in WSL. I installed nvm and I get this message every time I run a new shell Reverting to default Node version Now using node v18.12.0 (npm v8.19.2) I'm using the fish shell with Oh My Fish. I installed nvm per the instructions on the nvm git...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597517", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Subtracting a constant value from one column when condition on another column holds I have a Pandas data frame that has the following columns: foo and bar. foo values are integers and bar values are strings. For each row, if the value of bar is some particular value, say, 'ABC', then I want to set the value of the...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597519", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Looping until specific result in SQL I'm looking to select all the rows at and after a specific entry. Ex: For each custid, I want to loop the indicator until there is a "Yes" and then everything after that result IF THERE IS A RESULT AFTER. Cust_ID Indicator Order 1 No 1 1 Yes 2 1 Yes 3 2 Yes 1 3 No...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597521", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Unknown regex command in bash I've got strings "s=c=g++", where s, c ... (can be multiple values) mean extensions and g++ or any other value means a compiler. I've written 2 regex to parse compiler and extensions in given string: compiler_pattern=".+(\w.+)$" extensions_pattern="(\w+)?(?=\=)" they work fine in pyth...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597523", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Regex: Replace any string other than a known fixed string? (delimited by quotes) I'm trying to match and replace strings of the form mystring = "string-text" with mystring = "XYZ string-text" if and only if string-text is not equal to red. For example original-text replacement ------------- -...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597524", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Outer Joins of dataframe Need to join one main dataframe in such a way that for a given primary data is not present in all others data frames then row from main frame should not be returned . Example is shown in excel. In example you will find org code 876 is removed A: You could do an inner join of main_df with ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597527", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Active MQ Artemis and C#/.NET Core I am using Artemis with .NET Core and NMS in 2 different projects. One as a consumer and one as a listener and I am following the code example provided in the docs. When I follow the documentation, I can get both async and sync versions to work. However, the listener only works whe...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597529", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Select_and_Order Field not saving empty value I have a field in my CRUD create/update view that is a select_and_order field: CRUD::addField([ 'name' => 'menu_items', 'label' => "Your Custom Navigation Menu", 'type' => 'select_and_order', 'options' => [ ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597530", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to delete the unused files in past commits I have git repository. I wrongly git the unnecesary big files a few times,so file size is quite big. $du -sh .git/objects 1.3G .git/objects I want to delete the past unnecesary files. So, I checked the unused big files with this script $sh git_find_big.sh All sizes ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597533", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: For an algebra of programming, is it better to use function-level programming or functional programming and why? For his "Algebra of Programming" John Backus used the function-level style, which avoided lambda variables. Functional programming, on the other hand, uses Lambda variables. Does it matter whether you use...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597535", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Create reduced set of combinations with nextflow tuple channel I have a question regarding nextflow and how to process the following channel of tuples and two single elements: tuple_ch = Channel.of([['a','a','a','a'], ['B','B','B','B'], ['m','m','m','m'], ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597537", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Is there a way to determine if cells are out of order in a jupyter notebook? (e.g., using a variable in one cell that is only declared in a later one) I am hoping to find for example a nbextension that can determine whether jupyter cells would crash if run. I understand this can't be achieved in the general case (ha...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597538", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Point my domain to subdomain on different host I bought a domain through domain.com and i have a website that is hosted on pythonanywherw, And they provided me a URL subdomain for my site eg. site.pythonanywhere.com Now how to point my new domain so when anyone visits my domain they get my website on pythonanywherw ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597540", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can I make a control invisible with code in a Python FMX GUI App? I made the following GUI in DelphiFMX for Python that contains two buttons and a rectangle. I simply want to hide and show the rectangle with the button clicks: What I've tried doing so far is: def ShowButton_OnClick(self, sender): self.myRec...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597545", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: ASP.NET session state redis cache with keyvault May I know How to use keyvault to retrieve the access key <sessionState mode="Custom" customProvider="MySessionStateStore"> <providers> <add name="MySessionStateStore" type="Microsoft.Web.Redis.RedisSessionStateProvider" host="" accessKey="I wan...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597550", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Python NetworkX: Confining force-directed layout within circular boundary Python NetworkX has a method spring_layout that simulates a force-directed representation of a NetworkX instance; however, this leads to an adjusted network with nodes that are not confined within a particular boundary shape (e.g., a circle). ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597554", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: python pyproject.toml settings for use with hatchling to target command line app I have a python command line app I want to package for pypi. I have followed this: https://packaging.python.org/en/latest/tutorials/packaging-projects/. The key point being that the package files are located @ <package>\src\<package>....
{ "language": "en", "url": "https://stackoverflow.com/questions/75597558", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Run-time dynamic linking one class within another I have two classes, one called Caller and another called Responder. The Caller assembly needs to run-time dynamic link Responder and use one of its methods. I also need to be able to unload the Responder assembly when this is done. For some reason I can't explain, I ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597560", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Assigning a type to a react hook object in ts on invocation I am calling this hook: const count = useDocsCount({ collectionRef: 'notifications', filter: { filterKey: 'seen', operator: '==', filterValue: false } }) Where filter object has 3 fields. I am trying to make sure that the...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597561", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to allow for dereferencing literals with a datatype in RDF? The resource description framework (RDF) allows specifying a distributed system of resources. For example, I could specify that I am friends with Bill using the triple <http:example.com/me> <http:example.com/friendsWith> <http:otherExample.com/Bill>. An...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597565", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: understanding prescaler logic in cmuClock_GPIO EFR32EFG14 Inside the function by the call CMU_ClockEnable(cmuClock_GPIO, true) we have the following code where I have added comments regarding what are the exact value. I am trying to read the reference manual, as shown below. In the prescaler line they do 0<<4, but o...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597566", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How do I get cume_dist (or percentile) of a value from one column in another? I'm using postgresql in DBT, so either a postgresql or a DBT solution is viable. I have a table with fundamentally 4 columns, target, question, value, current I can get the percentile (cume_dist) of the value with: (cume_dist() over (parti...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597569", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: ExoPlayer's TimelineQueueNavigator.getMediaDescription method giving wrong index that results in crash due to IndexOutOfBoundsException When play a first song in the list it work well put when try play another song it crash. The problem in windowIndex can't be size: 3 and because I tried replace it with number 2 and...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597572", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How Do I Remove Divider Lines from ion-select I need to know how to remove the divider lines from ion-select in Ionic 5. I have seen the trick where we do lines="none" for ion-item as specified here: Remove ion item divider But I cannot find something similar for ion-select. In the console, when inspecting the html,...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597573", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Trying to get duration of a audio but will return empty My code is to update the value of currentTime and FullTimeSong after loading from listening an event should update but each time I do it in my test only, it will give me an empty string because of the constructor (always the constructor value) even with loadedM...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597578", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Parse through a list and capture all values from one occurance to another I have been working on a project for a bit now, and looking it over I think I am over complicating the issue for myself, so I'm looking for feedback on what the best method for accomplishing this problem might be. The problem I am dealing with...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597580", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Regex in Java vs Scala discrepancy. Same code/logic, different output I was converting existing Scala code that uses regex to check if an input has any target words/phrases/strings in it. I know there exists helper functions like contains or substring but a regex solution is needed. Here is the scala code: val NonCh...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597582", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Handling 'joinGroup' and 'sendToGroup' events in Azure PubSub with Azure Functions I have an Azure PubSub service with an event handler configured using Azure Functions. With a basic web socket connection from a React app I can connect, send messages, and trigger events in Azure Functions. Client side JS: const ws ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597583", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Struggling to get to my WP Admin/Login Page Here's the message I get (address: www.fisherscovervpark.com/wp-admin) Warning: require(/home/tc3mr7gt21el/public_html/wp-includes/class-wp-dependencies.php): Failed to open stream: No such file or directory in /home/tc3mr7gt21el/public_html/wp-includes/script-loader.php o...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597584", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to design an efficient view model for SwiftUI? I have the following view model: class ViewModel: ObservableObject { @Published var brightnessValue: Double = 0.0 @Published var saturationValue: Double = 0.0 @Published var contrastValue: Double = 0.0 } In the UI layer I then have 3 sliders, implemen...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597585", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to define macro for browser-only code? I want to run a specific region of code only if the compile-time target platform looks to be a browser. I know I can use #[cfg(...)], but since wasm is unclear to be a browser, I want a declarative macro to hide that wasm identifier. I tried diverse forms of macros, includi...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597586", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Adding sum of value back to Dictionary I have a dictionary, and I'm trying to add 100 to the values. I'm able to do so, but I can't seem to figure out how to insert the new values to show up in the dictionary. for value in artist_dict.values(): value += 100 print(artist_dict) I tried .append(value) and receive...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597589", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Can a 2-DC Cassandra cluster survive a DC outage? I am building 6 node Cassandra on 2 different data center 3 node each All 6 nodes will talks to Application layer If I create a keyspace with replication factor of 3 in case of DC failure ( 3 node down ) can the other 3 node have the full data consistency to serv th...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597590", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Combining the same text in Word VBA could someone help me with my code please? I have some code that looks for duplicate lines of text in a word document, and then paste the number of duplicates at the top of the page. E.g, If there are 3 of the same line, it will copy the same line to the top with a "3 x " in front...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597593", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: What does this mean in Node '!.' new Set(workload.tags!.filter(tag => supportedTags.has(tag))) I know workload?.tags is to not throw an error and return undefined instead but I don't know what !. means.
{ "language": "en", "url": "https://stackoverflow.com/questions/75597594", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Add and remove a basename suffix to all files in Windows directory structure I have a directory with subdirectories, containing around two hundred data files. Example | +---FOLDER | | FILEA.DAT | | FILEB.DAT | | | +---SUBFOLDER | | FILEA.DAT | | FILEB.DAT | | I need a batch file to ren...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597595", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: JustPy instead of wxPython? I have a PostgreSQL database for meetings and conferences with around 20 tables and plenty of relations between the tables (people, events, rooms, etc.). So far I have made a GUI with wxPython. Now I want to switch to a WEB GUI. Can I do this with JustPy? I have already found normal widge...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597597", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to efficiently remove duplicates from list of lists (nested) containing dictionaries and integers? I have a list of lists, where each list contains a dictionary and integer. Sometimes duplicate lists occur, and I wish to remove these from the parent list directly. Currently, I am creating a new list and iteratin...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597598", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "3" }
Q: React Native Tech Test Ideas just a quick question. I have been given a technical test for a new intermediate Role that uses React for a web based platform and React Native for the app. They use a mixture of class & functional components with Hooks. I have been asked to complete some code (which we will review in a ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597599", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to embed HTML code into WordPress mail I am having issues with embedding a html body into my WordPress mail. As of now I have tried multiple code snippets and none seem to work. What I am seeing right now is, that the email is being sent correctly, but the html code is typed in as text and not being displayed as...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597602", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can i write to console with using delegates image I wanna write to console the result of adding and the result of subtract. namespace ConsoleApp19 { delegate void islem(int i1, int i2); internal class Program { static void Main(string[] args) { islem i1 = new islem(Add)...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597603", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Is it possible to Install-Module from public GitHub Packages location? I have been able to successfully publish a PowerShell module of my own creation to the repo's GitHub Packages location. I have utilized several resources to get that accomplished. The problem comes in after that. I cannot seem to be able to run F...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597606", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Flutter How do I add my GPL License to the LicensePage shown in the about dialog I want to license my Flutter application under GPLv3. So I put the GPLv3 license text in the root of my project and named the file LICENSE. I read in the docs for the LicenseRegistry class that The flutter tool will automatically colle...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597608", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Input element value reverts when setting empty string and changing type When setting an input element's type to hidden, and it's value to an empty string, it seems to revert to a previous non-empty value. Can someone please explain why the input value reverts in console log instances 2 and 6 below? var el = docu...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597612", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "4" }
Q: JsonException: A possible object cycle was detected. With ASP.NET Core MVC And Blazor Component I added Blazor components in my ASP.NET Core MVC application, when I am passing a model to the component, I got this error: JsonException: A possible object cycle was detected. This can either be due to a cycle or if the...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597617", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: how to solve "RuntimeError: Tensors must have same number of dimensions: got 2 and 1"? I'm trying to train a Conditional Generative Adversarial Networks (CGANs) on MNIST dataset. To make the code easier to debug I used a function for a training loop. Everything seems just write to me. However, once calling the train...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597618", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Recurring routine I have a large number of queries where the majority of the conditions in the WHERE clause are identical. It can happen that this is adjusted from time to time, is it somehow possible to define the where clause or Conditions of it as a global variable. So if a change is necessary, I only change this...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597625", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: How to set CMake Options using Visual Studio 2022? I have a root CMakeLists.txt that contains several options, such as option(BUILD_GUI "Build GUI Applications" OFF). If I manually change the default to ON in this file, everything behaves as I would expect. Additionally, if I manually set the variable on the comman...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597626", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to avoid a large number of commits to the database when working with rest I have an application that receives data from rest and writes it to the database. In fact, the application makes one commit to the database for one request. With a heavy load, too many commits go into the database and this affects performa...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597627", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Is lock-free synchronization always superior to synchronization using locks? In C++, there is one atomic type std::atomic<T>. This atomic type may be lock-free or maybe not depending on the type T and on the current platform. If a lock-free implementation for a type is available in a platform for a type T, then most...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597629", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "29" }
Q: Juniper + golang: I need to save interface configuration and I apply it again I'm using github.com/Juniper/go-netconf/netconf library. Here is my RPC to get interface config: rpcGetInterfaceConfig = "<get-configuration><configuration><interfaces><interface><name>%s</name></interface></interfaces></configuration></g...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597631", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: SQS triggering AWS Lambda function using CloudFormation I have a requirement to trigger an AWS Lambda function when there some process pushes the message to Amazon SQS. I have following CloudFormation configuration. The other process is able to push the message to SQS but it is not triggering the Lambda function. Te...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597632", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Asp.Net "You must set this property to a non-null value of type 'System.Byte[]'." I'm getting the error I couldn't find a solution can you help me asp.net "The 'user_name' property on 'db_members' could not be set to a 'System.String' value. You must set this property to a non-null value of type 'System.Byte[]'" how...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597633", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Can I execl/system launchctl from my launch daemon to start a launch agent? I have a launch daemon and a launch agent. I want to run my launch agent as soon as the launch daemon starts up (without the need to restart macOS.) I was thinking to do it with a call to (from my launch daemon running as root): //501 in th...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597635", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: What is the simplest way for generating all possible connected and non-connected undirected graphs containing N edges using NetworkX? What is the simplest way for generating all possible connected and non-connected undirected graphs containing N edges using NetworkX? I need to generate all possible connected and non...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597639", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to implement Barcode scanner in react js I would like to create a barcode scanner in React ; however, there are no libraries or anything that I can use. i tried with React Qr Barcode Scanne but did not work with barcode i scan only QR Code
{ "language": "en", "url": "https://stackoverflow.com/questions/75597640", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: I have problem in replit in program launge node.js I have a problem on replit in node.js The point is that the program blocks stopping the program, which stops after some time. I rewrote the program and i would like it to work on two urls. i copied function uptime() and url="" program(without this change): const exp...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597643", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How to add a new protocol in INET 4.4.1 framework? I want to know how to add and register new protocol in INET framework 4.4.1
{ "language": "en", "url": "https://stackoverflow.com/questions/75597646", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: What does it mean when a Typescript object has key, but no value? I have seen typescript objects defined like this: const MyObj = { myVar1, name1: myVar2 } What is this object being defined here? I understand that there is a key value pair here where name1 is the key, and myVar2 ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597648", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Turn front torch on and off while front facing camera is connected to texture view I'm trying to turn the torch for the front facing camera on and off while the camera is recording. However when I try and turn it on, I get a "Torch for camera "0" is not available due to an existing camera user" error. How would I be...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597654", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Flutter: How do I avoid an indexOutOfBounds Exception when building with a conditional expression? When I build my page I want my dayTile widgets to be in a row of 2. I don't know how many the user will desire so I need to use a listView.Builder. The problem I am facing is that the way I am building only works when ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597655", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: GitHub workflows build failing due to not found files I'm using the MSBuild template and all other jobs expect for Build are succeeding. I get multiple errors most saying along the lines of: "File was not found". Here is one such output: 1>D:\a\program\program\program.sln.metaproj : error MSB3202: The project file...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597658", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Unity FacepunchSteamworks SteamInput GetDigitalActionGlyph returns a null string so this code should return the icon right? Nothing is returned. The controller id gets shown in the console. the localGlyphPath returns null for some reason. Please help I have no idea why this is happening. Also, the digitalActionHandl...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597659", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How i do this Animation Good afternoon everyone, I made a gift box that opens when you click on the top, what I want to do is that when it opens, a Div appears that has several spans and those spans represent small circles that make everything more beautiful, and followed by that, a gif appears in the middle of the ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597661", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: index.html is not being displayed/loaded using app.js I am trying to build a todo list with quite an old guide, the app.js works, but it doesn't send my html to display in local host, it just shows a blank page. This is the code of app.js: const express = require('express'); const app = express(); app.use(express.u...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597663", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Can too many Events in Google Tag Manager slow down your site? I want to track everything as best and as detailed as possible, so for that I am creating different events to see if form fills come from social media, ppc, etc... can too many G4 Events in GTM slow down the site? A: Yes. Definitely. But unless you do c...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597664", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }