text
string
meta
dict
Q: How to check if albumArt is null in Kotlin? I am working on music player app in kotlin with exoplayer and I am trying to load album images from memory, but some of them are blank. How can I find if albumArt is empty and than assign my own image? Here is my code for loading albumArt.. val albumIdColumn = cursor.get...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628422", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Multiple Authentication Provider for Blazor WASM I want to provide the users multiple login providers, as Azure AD, Google and another OAuth2, to my blazor wasm app. The app is using .NET 7. How I can pass the provider which should used to RemoteAuthenticationView for authentication? I tried to pass the details with...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628423", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to deal with giant mesh (.obj) SceneKit, Swift? I try to show a really big .obj file using SceneKit. .obj file is 380MB + textures (images) 150 MB. It takes 2.5 GB of memory: 2.5 GB - it's 100% crash on iPhones. How to load mesh (or textures) part by part? Or load only closest to cameraNode textures? Or reduce ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628424", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: CSS variables are undefined when using with ::-webkit-scrollbar Please check out this codepen example body { width: 110000px; height: 110000px; background-color: black; } :root { --scrollBarWidth: 5px; --scrollBarHeight: 5px; --scrollBarWidthWide: 8px; --scrollBarHeightWide: 8px; --scrollBarThumbCo...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628425", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Using cypress to test crx file instead of unpacked Is it possible to automate the testing of crx files for a browser extension using cypress? We are currently testing on the unpacked extension but have had some bugs appear after deployment as a crx file so would like to automate the testing of the crx file aswell. -...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628427", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: haproxy randomly rejects connections i have problems with my haproxy server. load is about ~50 connections and generally its working fine. but it (seems randomly) rejecting new incoming tcp connections. i am testing with the hercules utility. it seems like i can provoke a rejection by connecting and disconnecting m...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628431", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Nest.js bypass class @Guard() for a single resolver I specify guards for JWT and SSO in my Nest.js api, but now that the project gets larger some specific resolvers need to be accesable by both auth strategies. I've created a ChainGuard which loops through the guards: @Injectable() export class ChainGuard extends Au...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628432", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: translating text from English into Hindi return translatex000 I have a problem when i am using googletrans as a library with my data frame. its not showing a translated course-title in Hindi and im trying to translate from English to Hindi and currently its not doing what to expected, need some help its just return ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628437", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Converting object dtype to int, type error continues to show after casting also bow_df['runs'].astype(int) bow_df['runs'] > 25 Error: TypeError: '>' not supported between instances of 'str' and 'int' Even after converting the dtype im getting the same type error want to perform few aggregate functions on runs colu...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628441", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Unity + SignalR - HttpRequestException results in frame drop I have a server (asp.core-web-api-project) and a client (Unity/HoloLens). The connection works fine under normal circumstances. However, I wanted to see what happens in case of a disconnect and what I can do to reconnect. The workflow: I start the server, ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628442", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Unable to import xgboost on ubuntu 20.04 I have installed xgboost 1.7.4 on ubuntu linux vm.It is showing successfully installed. But when i am importing this in my jenkins pipeline by building a step,it is throwing me an error * *import xgboost *File "/var/lib/jenkins/.local/lib/python3.8/site-packages/xgboost/in...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628443", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Parameterized query, parameter not passed Error, only on Win 11 asp.net Web Api The web Api works 100% on windows 10 but as soon as I run it on a windows 11 machine it doesn't work. The error I get. System.Data.SqlClient.SqlException (0x80131904): The parameterized query '(@UserName nvarchar(4000))SELECT * FROM User...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628444", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to read kml files in R without any error? I am trying to read the .kml which I downloaded from the link below: https://data.opencity.in/dataset/delhi-metro-map/resource/delhi-metro-lines-map However, I keep getting an error. Here is a snippet of my code and the error: library(geojsonio) library(sp) library(sf) ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628445", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to target target's parents child using intersection observer? I need to hide the slick "NEXT/RIGHT" button when it reaches the last slide. There is a bug in slick carousel when variableWidth is used and leaves blank space at the end of slider. I am restricting user to slide by hiding the control(right arrow). If...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628447", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Soundpool in foreground service I'm doing a simple timer app. After setting minutes and seconds in the UI, I start a foreground Service that runs a scheduled Timer each second. I use AIDL to update the UI when it is available. The foreground Service runs perfectly, the timer runs perfectly, but the problem is I want...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628448", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Why are the position values of the GPS information in the image metadata stored as "Composite" by exiftool Why are the position values of the GPS information in the image metadata stored as "Composite" by ExifTool 12.57? E.g.: image=/path/to/photo.jpg exiftool -G0 '-gps.*' "${image}" [EXIF] GPS Latitude R...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628449", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Is it possible that the tombstone be alive after gc_grace_seconds even after compaction in cassandra? According to the documentation, In Cassandra, tombstones are removed during compaction. And it seems that there are some conditions to be removed well. * *after gc_grace_seconds *Compaction include a sstable whic...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628450", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to get the weights of the layer just before the last layer in pretrained inception model I am new to inception. I am using it for getting 5 prediction for the image.predictions. I want to extract the weights for the layer which is just before the last one. I was able to get weight for the all layers using code b...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628451", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Automapper : AutoMapper.AutoMapperMappingException: 'Missing type map configuration or unsupported mapping IAsyncEnumerable I am implementating stream using IAsyncEnumerable in .net 6 web api and trying to map IAysncEnumerable<T> using automapper in my GetQuery class and i am getting below exception. AutoMapper.Aut...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628452", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Sprite doesn't change (and destroying) I wanted a bubble to explode, when it's clicked but it doesnt work somehow using UnityEngine; public class BCE : MonoBehaviour { public Sprite poppedSprite; public float destroyDelay = 1f; private bool isPopped = false; private void OnMouseDown() { ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628457", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Not able get access token from developers.google.com using googleapis Iam try to get oauth2 access token from https://developers.google.com/oauthplayground but get this error GaxiosError: invalid_grant at Gaxios._request (/home/epit/Desktop/app/server/node_modules/gaxios/build/src/gaxios.js:129:23) at process.proces...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628464", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Searching multiple values in Angular I have a problem: Let's say I have a table with songs. The table includes "Back in Black" by AC/DC in it, and I have the chords too, which would be "E, D, A, B, G". I want to be able to search things like "Back AC/DC" or "Back in Black G" or "AC/DC E A" or things like that. I mea...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628465", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Inventory precedences I am working with Ansible variables. I have this all.yml --- port: 9001 inventory.yml --- group1: hosts: server1: ansible_host: www.server1.com server2: ansible_host: www.server2.com vars: port: 9002 group2: hosts: server5: ansible_host: www.server5...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628469", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Spring-Boot with KafkaStreams: how to turn off ChangeLog restoration when application starts? We have a Spring Boot application with Kafka-Streams (Spring-Boot v. 3.0). It uses state stores and index stores (RocksDB-based catalogues as an integral, built-in part of Kafka-Streams). When starting, the application trig...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628472", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Unable to search packages in the helm repo after removing and adding the repo I was having a repo node50. helm repo ls node50 https://abccom/mjuyt I was able to search the repo, before removal of the repo but now i am getting below message: helm search repo node40 mongo No results found Please help. Is this a rep...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628477", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to make responsive imagemap WITH highlight on mouseover? I need to make responsive imagemap with highlight when the mouse is over the specific part of the image. Can it be done (and how) using ONLY JavaScript, html and CSS ? I found some threads here but only for the part with the responsive imagemap and they us...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628479", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Office 365 email custom domain DKIM verification I have 1 email address linked to a custom domain via Microsoft 365 Business subscription. I'm able to send and receive mail from within my outlook client just fine. I followed the "Enabling DKIM" guide from learn.microsoft on the following link: https://learn.microsof...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628481", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: " ModuleNotFoundError: No module named 'jose' " ; but it's already installed Process SpawnProcess-9: Traceback (most recent call last): File "C:\Users\gveda\AppData\Local\Programs\Python\Python310\lib\multiprocessing\process.py", line 314, in _bootstrap self.run() File "C:\Users\gveda\AppData\Local\Programs\...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628483", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How do I create a clickable custom control? My custom control: <?xml version="1.0" encoding="utf-8" ?> <ContentView xmlns="http://schemas.microsoft.com/dotnet/2021/maui" xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" x:Class="OneCampus.Components.TimeEntryCard" x:Name="...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628485", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to test wrong AWS credentials with moto I try to write tests for my AWS libraries and I use moto for it. For example, for s3 service I use @mock_s3() decarator above the test and it works. My libraries require AWS profile name as an argument in init method. So in tests Whenever I provide a real profile name that...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628486", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Microchip Harmony I2C library writeread I'm using MPLAB Harmony to program a PIC32. We have a accelerometer connected via I2C. Both lines are pulled up and the open drain is enabled. The Pins are set correct. Now, I'm trying to use Harmony to read out the "who am i" register from the accelerometer. But... I can't se...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628488", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Convert datetime.date object into string For each symbol, I have a dictionary as value. They are themselves dictionaries. Each keys of those dictionaries are datetime.date objects. I have to dump that dictionary into json file, but it has to be converted into "%Y-%d-%m" format before. I am quite new in python. This ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628489", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Pokemon lets go pickachu decrypted interior location Hey they buddies I have decrypted pokemon let's go pikachu but don't know in which folder we have interiors of the game. I searched in directory/bin/archive but got outeriors models but haven't got interior can anyone tell me where may I get interiors models from ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628490", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Abstract class and abastract Unitest I use Django Rest Framework and I wrote something like this: class Vehicule(ABC): wheel = None roof = None def drive(): use wheel and roof, blabla... class Car(Vehicule): wheel = 4 roof = True class Bike(Vehicule): wheel = 2 roof = False It...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628491", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Query Transactions between date ranges with Infura I need to query ERC20 and ETH transactions by a date range and not simply get a paginated batch at a time. How can I do this? I tried using ethers.js and got back everything but a timestamp.
{ "language": "en", "url": "https://stackoverflow.com/questions/75628494", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: How to groupby numpy ndarray and return first row from each group. Now sort before I have ndarray: [[1 1] [0 2] [0 3] [1 4] [1 5] [0 6] [1 7]] I expect reduced result like that: [[1 1] [0 2] [1 4] [0 6] [1 7]] Result ndarray should contain first row from each group. I build a groups on values from co...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628495", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: can't add a ticket to Apple Wallet to use with Apple Pay after the user completes the booking payment, he should see the booking as a card inside the apple wallet, how to add a booking card to the apple wallet programmatically. the user can pay with visa or apple pay is that possible? how?
{ "language": "en", "url": "https://stackoverflow.com/questions/75628497", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: TypeError : premieroctet_next_crud web pack imported module is not a function I developing a nextjs application and I have decided to use the next-crud library for the API endpoints and Prisma as an ORM. However when i try to navigate to any API endpoint - i get the following error message. TypeError: premieroctet_n...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628500", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Microsoft Partner Center HLKX driver submission: SHA2 error with SHA384 certificate We've been submitting drivers to Partner Center for validation and signature by Microsoft for a long time. Recently our Authenticode certificate expired, so we purchased a new one. When we submit driver packages signed by the new cer...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628503", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Why I can't use C++ to create a heap bigger than 8GiB on Windows 11 I use CLion to build this code on Windows 11. My system is 64bit and has 32GiB memory. #include <iostream> #include <chrono> #include <thread> int main() { int len = 0; std::cin >> len; auto arg = std::make_unique<int32_t[]>(len); s...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628506", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Mac camera access not authorized on automatic App reboot I have a strange bug with the Mac Camera Privacy Settings. If the user has given permission to access the camera, my app should show one view and if not the other. I use the following code for this: var body: some View { if AVCaptureDevice.authorizationSta...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628507", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to wait for a request just to be sent, not until it's completed in cypress? I want to wait only until a request is sent. I don't want to wait until the request receives a response. As of now cy.intercept() and cy.wait() wait until the request receives a response. Is there any way to wait just until the request i...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628514", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: How do l manually download and add android dependencies into my project without gradle I have written my own android project build script on terminal but the problem is l don't know where to manually download libraries such as androidx, or appcompactbility, and how to add them into my project without cradle Just wan...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628515", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Use .replacingOccurrences with dynamic replacement value I want to add the line numbers to a String. For example: let content = "hello\n\nworld" should result in content = "1:hello\n2:\n3:world" .replacingOccurrences does not allow replacing \n with a dynamic value, in my case an incremental number. E.g., var counte...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628516", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Listing the Combinations in an Interaction Matrix I would like to automate the process of generating a list of combinations determined by the result of an interaction matrix: I have an interaction matrix. "x" denotes an interaction between two parts: I have started the process of listing the combinations and have b...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628521", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: SpringBoot annotation @Validated Validation is not called for ItemDTO fields. How do I make the check work for ItemDTO fields? If I completely remove the ItemDTO section from the request, then NotNull validation will work, but validation is not called for internal ItemDTO fields. SpringBoot 2.1.9.RELEASE @RestCo...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628523", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to set project wide variables Is there a way to define project wide environment variables? I'm aware of the function specific variables that you can access like let url = process.env.DB_URL let user = process.env.DB_USER let password = process.env.DB_PASSWORD but I can't find any way or documentatio...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628530", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Passing arrays/variables into sendgrid api with php I have an array of email addresses that I need to iterate through and send an email to using the sendgrid api in php and I'm not sure how to go about it as sendgrid doesn't seem to like variables. The code I've tried is: $no_contacts = count($contacts); for ($i=0; ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628532", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Run Liquibase migration only once for all @DataJpaTest classes I'm testing my JPA repositories using @DataJpaTest with Liquibase (@DataJpaTest + H2 + Liquibase) and I've noticed that Spring runs Liquibase migration scripts for each @DataJpaTest class which is time consuming. Is there a way to run migration scripts o...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628535", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Spark ETL Large data transfer - how to parallelize I am looking to move a large amount of data from one db to another and I have seen that Spark is a good tool for doing this. I am trying to understand the process and the ideology behind Spark's big data ETL's. Would also appreciate if someone could explain how Spar...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628536", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Delete data using date column with sqlite3 python I am trying to delete all the data from database which is more than two days old all of the data I save have a datetime column , and the code I am using below is throwing near ")": syntax error c.execute("DELETE FROM orders WHERE date=?)", ((saved_dates.iloc[0]),)) ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628539", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: access logger object from decorator with type hints python I have created a log decorator. I have put the decorator on required functions. I also want to access the log object inside the decorated functions. The code works correctly when I run the program, Later I added type hints to the code. On running mypy I am g...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628544", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Selenium is not able to find any element on specific webpage using XPATH, CSS_SELECTOR, not in an iframe and has been loaded I am fairly new to Python and Selenium, but I have been able to navigate through many webpages via Selenium just fine. But a site recently changed their html code and now Selenium is not able ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628545", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Modifying text using Word VBA I have the following working script which extract the text from a Word file: Sub GetTextFromWord() Dim fso As FileSystemObject Dim oWd As Object, oDoc As Object Const wdFormatText as Long = 2, wdCRLF as Long = 0 Set fso = New FileSystemObject Set oWd = CreateObject(...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628546", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Is there any way to use EF Core Power Tools from command line, or package manager window? Context I am using EF Core Power Tools in my ASP.NET 7 WebAPI project. I can use it via the GUI, set the options then generate the classes. Question Is there any way to use EF Core Power Tools from command line, or package mana...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628547", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Why doesnt res.json() and next() return a Promise> Im currently learning asynchronous function in javascript and im confused as to why Hello im quite new to javascript and i have a question on how Promises and then work to my understanding the then returns a promise so fetch(someApi) .then((res)=>res.json...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628549", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Does Optuna makes use of Catboost Logging information? I am training a Catboost model while keeping the logging information as silent, which means that it won't save any information regarding model metric. I want to make sure that does Optuna uses this logging information for tuning or does Optuna keeps results in m...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628552", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Google Artifact Registry (GAR) summary of space used by images I'd like to be able to identify how much space is used by all images with a certain tag. The idea for this, is to be able to tell which dev team is consuming "too much" space. Each dev team, will use a particular container TAG that will help identify the...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628553", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: React Native View react like panResponder https://youtube.com/shorts/Z4Ef8GTnH-Q?feature=share How can create this with React Native. I think is a View with ScrollView that react like panResponder. I create this but I don’t know how can make this view react like panResponder and when drag down close.
{ "language": "en", "url": "https://stackoverflow.com/questions/75628555", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Run Angular in a certain path Is it possible to run Angular in for example http://localhost:4200/abcde instead instead of http://localhost:4200/? I haven't found an option to change pathname. A: Yes, you can. Very simple with base-href. Angular Docs tells us it's important that you have the starting and closing / s...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628556", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Web components with SSR getting disappeared (StencilJS + SvelteKit) * *We have created a simple boilerplate stenciljs component. a. Published it as npm package: https://www.npmjs.com/package/stencil-ssr-poc *Created a boilerplate Sveltkit application. a. Github Repo: https://github.com/nimit-nagarro/ssr-poc/t...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628557", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: What is optimized by using 8,23 bits for exponent,fraction of 32-bit float? I think IEEE754 is an engineering miracle, I rely on it daily, and I don't have a question about floating point representation, computation, or using it in a programming language. My question is about the design choices behind how bits are a...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628558", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Selenium, the problem of not being able to obtain all price and date information of a product The code that follows the price of the cheapest price product searched on the site at a certain time at a certain time interval for the same seller: import pandas as pd import undetected_chromedriver as uc from selenium.web...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628559", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: TPL DataFlow not executing I have the following code: using System; using System.Net; using System.Threading.Tasks.Dataflow; using System.Collections.Generic; public class Program { public static void Main() { var fetchImageFlag = new TransformBlock<string, (string, byte[])>( ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628562", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: React state not seeming to update I'm in the process of creating a React Native application for the first time. I have made a JourneyScreen component, which will be used to display directions to a destination. I am making a call to my API which will return the directions, but as i am currently test driving this comp...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628563", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Removing rows based on the values in multiple columns in R In my data, I need to remove the rows if the values in three columns (V1, V2, V3) are either a combination of 12 and NAs (like row 2) or all three of them equal 12 (like row 5). Please note that if all values equal NA (like row 3) it should remain in the dat...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628564", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Object Detection with SageMaker problem: Getting data from PIPE but no valid image-label pairs found, ignore images without annotations I am new to AWS SageMaker, and I am trying to train a model to do Object Detection from UAV images (bounding boxes around the buildings). I have the already labeled images (done in ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628565", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: NgBootstrap automatically adding unwanted th elements in a table I'm trying to build a table using ngBootstrap but Angular adds unwanted th elements in my table head: the unwanted th elements i'm trying to iterate over an array of objects using the ngFor, here's the html for the componenet where that happens: <div c...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628572", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can I define the 100-period exponential moving average (EMA) equal to its previous value in pine script V5? define the 100-period exponential moving average (EMA) equal to its previous value in pine script? I tried this C8 = nz(ema100[1],ema100) but nothing happened I want to eliminate some entry errors from an ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628573", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Tkinter chlid / parrent window management I have trouble making tkinter behaviour to meet the all of the conditions below when creating child window from action on the parent window: * *focus on child window *disable interaction with parent window content *enable user to close parent window with default exit but...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628576", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Cannot access 'AutocompleteDirectionsHandler' before initialization for Google Api I am trying to access the Google Maps and Autocomplete API. Here is the error I am getting at the Uncaught (in promise) ReferenceError: Cannot access 'AutocompleteDirectionsHandler' before initialization at window.initMap (traffic...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628583", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to iterate a few elements with loops in JavaScript? I'm making an FAQ section. The goal is pretty simple: click the question to open the answer and then click the question again to close the answer. At the meantime, the "+" and "-" toggles. I made it work for the first question, but I don't knonw how to iterate ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628585", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: having problem with converting in bash with Iconv iconv: illegal input sequence at position 0 If I have a string written in Hebrew language but in English keyboard layout, I want the script to return the same string but in Hebrew keyboard layout. I'm a new bash user, so it might be a silly problem but I really can't...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628586", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to restrict joint combinations of parameter values in PyMC I am building a PyMC model in which I have a multidimensional Normal distributed parameter, as follows: motor_betas = pm.Normal("motor_beta", mu=0, sigma=1/2, size=9) These betas are later used in a linear regression model. I want to restrict the joint ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628590", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: My my Postgres-operator Pods dont transfer to new node if one node is failed? I have a k8s cluster with one master and 3 worker nodes. I have set up crunchy operator high availability with 2 replica sets. This is my deployment file. apiVersion: postgres-operator.crunchydata.com/v1beta1 kind: PostgresCluster metadata...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628592", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Python program to load only a certain mega bytes of an excel file into the dataframe and convert it to string I am pretty new to Python and I was going through some of the uses of the pandas library. However, I could not find a way to load only a partial excel file into the memory and play with it. For example, if I...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628594", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: I'm trying to install this component npm install ngx-treeview --save, but I'm not getting I'm trying to install this component: npm install ngx-treeview --save, and I'm having this error: npm ERR! code ERESOLVE npm ERR! ERESOLVE unable to resolve dependency tree npm ERR! npm ERR! While resolving: angular-ngx-treevie...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628595", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Find when value changes one row based on another I have a dataframe where I want to find the next row in one column where the value changes, based on a check on another column df[(df['Col1'] == 49.8) & (df['Col2'] != 0) & (df['Col2'].abs() > 0.02)] The code above produces results, which is ok, but the value in Col3...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628596", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Error: Tarefas.belongsTo called with something that's not a subclass of Sequelize.Model I'm trying to make a one-to-many association between a "Tasks" and another "Employees" model. This error persists. The code is separated into two models. Model "Funcionarios": const { Sequelize, DataTypes, Model } = require('sequ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628597", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to run delete query on Memsql/singlestore using pyspark I am able to connect to singlestore and load the data into a dataframe using spark.read.format("memsql") and also write to singlestore using dataframe.write.format("memsql") But i need to run a delete query for ex: Delete from tableA where id=1; to delete a...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628604", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Count Records Equal to Max in Data.Table within group I want to count how many rows are equal to the max value within a group (in data.table). I know from Select the row with the maximum value in each group how to find the max value in data.table. set.seed(5) z <- data.table( data.frame( group=( sample( letters...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628606", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Requests outgoing not logging in logbook zalando Why requests outgoing not logging with logbook ? I have a unit test: @Test public void logRequestBodyTest() { Logbook logbook = Logbook.builder() .sink(new DefaultSink( new DefaultHttpLogFormatter(), new Default...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628609", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Input param in bash if condition not being set I am writing a push-triggered workflow and am running into an issue where the boolean input parameter is coming through as null despite being default: false. name: CI Build on Merge on: # Currently only master/main/develop are listed as branches where push # will ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628610", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: In OMNET++, trying to implement a very simple ned file, I get syntax error, unexpected ':', expecting NAME after gates: This is my simple ned file: simple Txc1 { gates: (***) input: in; output: out; } network Tictoc1 { submodules: tic: Txc1; toc: Txc1; connections: tic.out --> { dela...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628613", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: KnowAge report designer publishing report on KnowAge server using KnowAge report designer I have implemented a report. Following the guide (of which the link https://knowage-suite.readthedocs.io/en/8.1/functionalities-guide/birt-reporting/index.html ) I need to publish the report from the client to the KnowAge serve...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628614", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Postman : is not a function When I'm trying to update an article in Postman, he responds to me: "message": "Article.update is not a function". This is my code: updateArticle: (req, res) =>{ const articleId = req.params.articleId Article.update({_id: articleId}, req.body).then(() => { res.status(200)...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628619", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Drag & Drop - create a new timeslot I am seriously exhausted how to solve this problem. The aim is to create a new timeslot. I have tried triggers to move with mouse (mousedown, mouse up...). Honestly, the biggest issue was to specify START and END position. Cypress version 12.7 I've used function to specify element...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628620", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Using OpenVPN for securing PostgreSQL server I am quite new for networking and I would like to know if it is a good idea to use OpenVPN (or generally VPN) to restrict PostgreSQL server access. If yes, is it possible to setup OpenVPN and Postgres on the same server and allow DB access only for those clients who are u...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628621", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: DeleteIfExistsAsync does not work on azure storage I am investigating why a blob does not get removed from blob storage. Cannot find yet why. Here is my code public virtual void DeleteBlob(string containerName, string fileName) { var source = GetContainer(activeBlobContainers, activeBlobServiceClient, ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628623", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to set the name field when creating AWS EC2 instance through Terraform? Shown below is a piece of code for creating an EC2 instance, but in the AWS EC2 portal, the name is coming as empty. What parameter should I add for populating the NAME field? resource "aws_instance" "terraform_Demo_EC2_Instance"{ ami = "$...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628625", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Error in cloning repository with Git from R I am new to Git and version control, so apologies if this is an obvious mistake. I have not found anything online that helped me solve this issue. I have just done the following steps: * *Installed Git *Connected Git and R with a SSH key *Checked and confirmed that thi...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628626", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Remove Duplicate Nested Arrays From Multidimenssional Array By Nested Array Key I am trying to create an array where I need to filter with a certain key (fileid) so that it returns only unique keys for parent array. Here is what I have.. Array ( [ABCD] => Array ( [0] => Array ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628629", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Init 3D Java array without exact size in Python I want to init a 3D array in python without knowing the last dimension size. This is what i have in Java: lastUnionNeg = new int[numberOfVariables+1][3][]; I want to do the same in Python if it is possible. I search a lot but i did not find any useful. Can anybody hel...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628631", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: Delegate not working, data isn't being passed to view controller from selecting cell I have a movie app that fetches an API and I'm trying to get set the movie image on the other view controller when I click on the cell. But the delegate is coming back as nil and nothing is happening. If anyone knows how to fix this...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628632", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to resolve the segmentation fault issue while working with pointers in c? #include<stdio.h> void main(){ float p1,p2; float *x,*y; printf("Enter the co-ordinates (x,y) : "); scanf("%f%f",p1,p2); x = &p1; y = &p2; printf("The co-ordinates(%f,%f) lies in quadrant ",*(x),*(y)); if(*x...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628633", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: Checkout multple repo with specific branch in Bamboo CI plan I want to checkout 2 repositories with specific branch in a single plan. I am able checkout for the plan branch but not other branches.Can anyone please help me with this. Thanks in advance.
{ "language": "en", "url": "https://stackoverflow.com/questions/75628634", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: What should be password field length in dB when using Spring Security? I want to create my User table and set a proper size for password field used for signup request. @Entity @EqualsAndHashCode(callSuper = true) public class User extends Person { @Column(length = 50, nullable = false, unique = true) privat...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628635", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: I am trying to deploy my Nest JS app to a digitalocean droplet using Github Actions. The job I run keeps failing at the "git pull" command My GitbHub action job keeps failing at the "git pull" script with the following error: err: fatal: could not read Username for 'https://github.com': No such device or address. He...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628640", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Dart : how to prevent concurrent calls to async function In Flutter, I have an async function that should not be called twice at the same time. Here's a minimal example class DatabaseHelper { Future<void> add100elements() async { // this functions queries a database and adds 100 elements from the db to a l...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628641", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: AuthenticationFailed message when using MERGE with Azure Storage Table API I'm getting an AuthenticationFailed message when attempting to use the MERGE verb for an API call into Azure Storage API (specifically Tables). The documentation indicates that the signature hashing and body content should be the same for bot...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628645", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }