text
string
meta
dict
Q: Unable to import Enums from Prisma.Schema with Deno prisma.schema enum Level { Info Warn Error } enum LogType { Request Internal } My index.ts where I'm trying to import those enums to use as function parameter types. error: Uncaught SyntaxError: The requested module './generated/client/deno/edge.ts' doe...
{ "language": "en", "url": "https://stackoverflow.com/questions/75563463", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Unable to locate file in Vite manifest: resources/scss/light/assets/components/list-group.scss Solve When i run npm but after npm stop return this error . What is Solution I am Trying Npm run Build
{ "language": "en", "url": "https://stackoverflow.com/questions/75563465", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to reduce loading time for ImagePicker.launchImageLibraryAsync() on Expo Go for iOS videos? When I use ImagePicker.launchImageLibraryAsync() to select an iOS video for Expo Go, the returned promise is fulfilled after several seconds of waiting. I'm wondering if there's any way to reduce the wait time for launchI...
{ "language": "en", "url": "https://stackoverflow.com/questions/75563466", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Lamar Dependencies on RunTime I am using creating a library that enables developer to add services at runtime. I am not sure if I'm doing this right but below is my code that I made for this: Test Class public class Test : ITest { public void Run() { string testMessage = "Message!"; } } Test In...
{ "language": "en", "url": "https://stackoverflow.com/questions/75563469", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: HOW TO EXPORT DATA TO A mdf file I have a mdf database and I use it locally in a Vb.net application . I attach it to microso sql server management studio and export some data to it. when I detach and try to use it locally it asks for server login!!! what's wrong? I thought it wouldn't ask for login.
{ "language": "en", "url": "https://stackoverflow.com/questions/75563470", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to run webpack without dev-server and reload browser on every change How can I reload the browser after build changes like in webpack-dev-server but without webpack-dev-server? I understand perfectly well that the webpack-dev-server is good that it works faster, that it works in RAM, that the build folder is not...
{ "language": "en", "url": "https://stackoverflow.com/questions/75563471", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can i eliminate de '' characther in python I have a dataframe with some columns of my interest, for example, discounted_price, actual_price, discount_percentage, rating and rating_count. At this columns i have some data that i want to convert to float, for that reason i try first to clean them using the followin...
{ "language": "en", "url": "https://stackoverflow.com/questions/75563472", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: yarn.lock file is not showing up on my react app I have installed yarn [Version 1.22.9] but it does not show up the yarn.lock file and start yarn is also not working. When i tried yarn start it does not deploy.
{ "language": "en", "url": "https://stackoverflow.com/questions/75563473", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can I pass a datatable into a button_click function? I'm filling datatables using queries to a database. I'm storing all my queries in a static class, then in a different class I'm sorting/filtering these tables. I ran into an issue pulling the generated datatable into that other class where I'm doing all the so...
{ "language": "en", "url": "https://stackoverflow.com/questions/75563474", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: why getlementsbyclass not working for innerHtml in js <p class="hello"> </p> <script> //function 1 // let x = myFunction(20,30) function myFunction(a,b){ return a*b ; } document.getElementsByClassName("hello").innerHTML = myFunction(2,3); </script...
{ "language": "en", "url": "https://stackoverflow.com/questions/75563475", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Printing consecutive enums I am looking to only print out the "grouped" enums but having trouble getting the expected behaviour. So basically printing out all the enums from the specified base Values until there isn't any subsequent consecutive enum value. Each "group" of enum can be determined by ANDing with a mask...
{ "language": "en", "url": "https://stackoverflow.com/questions/75563478", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Block hostnames for outgoing network requests in a Cloud Run container I want to block thousands of hostnames (available as a standard hosts file) for outgoing network requests in a Google Cloud Run container service. Ideally, it can be easily done on a VM by replacing or modifying the /etc/hosts file, but this cann...
{ "language": "en", "url": "https://stackoverflow.com/questions/75563482", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: What is the postgres equivalent of kql reduce What is the Postgres sql equivalent of reduce in kusto query language? I have a column with lots of variable parts that I would like to summarize.
{ "language": "en", "url": "https://stackoverflow.com/questions/75563483", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: new directory made from File not added Im trying to make a custom file system im adding new directory by next code: public String CreateFolder (String path,String name, String style){ String fullPath_item=Environment.getExternalStorageDirectory().toString(); String final_path=fullPath_item+path+"...
{ "language": "en", "url": "https://stackoverflow.com/questions/75563484", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: I have a folder containing of all .json files. I want to edit all of these json by adding a new key and values like "value":{"Key": ["val1", "val2"] PYTHON: I have a folder containing of all .json files. I want to edit all of these json by adding a new key and values like "value":{"Key": ["val1", "val2"],"original_k...
{ "language": "en", "url": "https://stackoverflow.com/questions/75563486", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Is there any way to use latest nodejs version (18) with expo app? I'm trying to create react native expo project, but when I'm creating it shows some warnings including this one: WARNING: The legacy expo-cli does not support Node +17. Migrate to the versioned Expo CLI (npx expo). I'm using NodeJs 18 on my system and...
{ "language": "en", "url": "https://stackoverflow.com/questions/75563487", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to get Firefox to show broken image icon with alt text? When an image fails to load on a page, the behaviour of Firefox seems to be to show its alt text if that attribute exists, otherwise it shows the broken image icon. This isn't ideal as the alt text attribute can exist but be empty. Is there any way for a us...
{ "language": "en", "url": "https://stackoverflow.com/questions/75563489", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: I can't make an image as a background in Django I want to make an image in this /static/img/background.jpg/ directory to become a background-image, but the css is not showing the background image. I think that the problkem is in the header styles but I can't find anythging wrong in there. #index.html <style> ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75563490", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to configure API Manager for SSO I tried to configure SSO for API Manager 4.1.0 with Azure AD. I tried googling and came across with below: https://apim.docs.wso2.com/en/latest/reference/customize-product/extending-api-manager/saml2-sso/configuring-identity-server-as-idp-for-sso/ I want to configure SSO with Mic...
{ "language": "en", "url": "https://stackoverflow.com/questions/75563491", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: what kind of the error is these [Errno 111] Connection refused and how to solved it? i try to send mail using django send_mail but when i try send mail from local it can be work properly but production it say error "[Errno 111] Connection refused" A: setting.py - EMAIL_BACKEND = 'django.core.mail.backends.smtp.Em...
{ "language": "en", "url": "https://stackoverflow.com/questions/75563493", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: pynescript can't import PineScriptParser hello code gives this error ImportError: cannot import name 'PineScriptParser' from 'pynescript' Code: import tkinter as tk from pynescript import PineScriptParser def convert_pine_to_python(pine_script): parser = PineScriptParser(pine_script) #parser = parse(pine_s...
{ "language": "en", "url": "https://stackoverflow.com/questions/75563495", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Is there a way I can have my bot log every time a user sends a message and every time they join vc? Would make keeping track of active members easier We currently use spreadsheets to keep track of activity and have to go through discord and see when they sent a message and such. Would be a lot easier if a bot was ab...
{ "language": "en", "url": "https://stackoverflow.com/questions/75563496", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Is there a backwards compatible method for changing the return type of a GraphQL Mutation? I have a GraphQL project where many of the mutations return a simple boolean for success (union'ed with an error type). # An object wrapper for a un/successful mutation result type MutationResult { # whether the mutation w...
{ "language": "en", "url": "https://stackoverflow.com/questions/75563497", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Next js app loading very slow in development enviorment I am developing next js application and in development enviroment it takes lot of time to load, The page goes unresponsive in the start and then if I cancel the request it stop loading, after refreshing it loads immediately. I am using material ui and few other...
{ "language": "en", "url": "https://stackoverflow.com/questions/75563499", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Calendar application in NodeJS I am trying to find an NPM package that can simplify my application. I have spent hours trying to find it but no luck. I am looking for server-side solution. I am writing an API that should allow for 4 calendar operations: add, delete, list, checkConflict. An NPM package should impleme...
{ "language": "en", "url": "https://stackoverflow.com/questions/75563500", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How do i open folium map on mac os My code: center = [35.824241, 127.147499] m = folium.Map(location=center, zoom_start= 14) ex_map = 'map.html' m.save(ex_map) webbrowser.open(ex_map) This code is not work on mac os but this code is work on window How do i open this code on mac? * *I used save fun...
{ "language": "en", "url": "https://stackoverflow.com/questions/75563501", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Rock Paper Scissors program giving me errors.. not sure how to fix my program keeps giving me the same symbol not found erroryour text and I can't figure out what's wrong! i'm fairly new to using java, so any help would be greatly appreciated, thank you! import java.util.Random; import java.util.Scanner; public cla...
{ "language": "en", "url": "https://stackoverflow.com/questions/75563502", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: TokenError at Strategy.OAuth2Strategy.parseErrorResponse - NodeJS passport Discord Error: TokenError at Strategy.OAuth2Strategy.parseErrorResponse (/Users/anshtyagi/Documents/BACKUP/Cosmicbot/node_modules/passport-oauth2/lib/strategy.js:373:12) at Strategy.OAuth2Strategy._createOAuthError (/Users/anshtyagi/D...
{ "language": "en", "url": "https://stackoverflow.com/questions/75563506", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Docker image caching in iron.io with the same tag hence couldn't run the latest code in iron.io with the same image We are using iron.io jobs for our internal Projects. Docker Images which we use in ironworker are always overridden during our Jenkins CI build with the latest code and registering the Ironworker job w...
{ "language": "en", "url": "https://stackoverflow.com/questions/75563508", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Slow Database performance We have been experiencing slow application performance and it all started after upgrading the database (Oracle 19c) to a latest security update (January 2023). This application which is use to process insanely huge amount of data everyday was running fine until the DB was updated. However, ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75563510", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: How to append list of data to dropdown with combobox class Can't append data into dropdown using jQuery JS: var options = ''; options += '<option value="0">Select Client</option>'; $.each(result, function(i, result) { options += '<option value="' + result.branchId + '">' + result.branchName + '</option>'; }); $...
{ "language": "en", "url": "https://stackoverflow.com/questions/75563511", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to see if one Nokogiri::XML::Node contains parts of another Nokogiri::XML::Node? Using ruby Nokogiri I have a Nokogiri::XML::Node object (ConstituencyXMLNode inherits from Nokogiri::XML::Node) that is a tree object like such: #(ConstituencyXMLNode:0xc3c8 { name = "PP", children = [ #(ConstituencyXMLNode:...
{ "language": "en", "url": "https://stackoverflow.com/questions/75563512", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to insert a row which is sum of groupby column into a dataframe (pandas)? I want to group by name and sum then add at the beginning of each grouped data,like below: bold ones are sum values of grouped data.. df: name place eng_marks math_marks ---------------------------------------------- 0 prince ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75563517", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to generate random ISO date for every document in MongoDB aggregation? I am using this code in MongoDB aggregation: { date: ISODate() } It's generating current date in ISO format for every document. How can I generate random ISO date for every document? A: The mongoDB docs on Date() / ISODate() say You can ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75563522", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: regex findall overlapped does not give match if one of them is a prefix of the other import regex product_detail = "yyy target1 target2 xxx".lower() p1 = r"\btarget1\b|\btarget1 target2\b" p2 = r"\btarget2\b|\btarget1 target2\b" for pattern in [p1, p2]: matches = regex.findall(pattern, product_detail, overlappe...
{ "language": "en", "url": "https://stackoverflow.com/questions/75563523", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Is there a wat to set Chromium browsers (edge and chrome) profile name when launching browser with Selenium I am using multiple profiles and hence want to give each a unique name so I can identify them quickly. So is there any way to launch a browser with a custom Profile name? here is how I am launching the browser...
{ "language": "en", "url": "https://stackoverflow.com/questions/75563524", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Progess 4GL - Tune the query to increase the performance Below query updating more than 200k records and it takes 19 hours to finish it. How to tune it for increasing the performance? DEFINE TEMP-TABLE tdata no-undo field tptpart as character field tptsts as character field ttype as character. empty TEMP-T...
{ "language": "en", "url": "https://stackoverflow.com/questions/75563525", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Fetching data of from Firestore I'm using the Node version of Firestore (I'm used to the Angular version) and having some trouble with the syntax. I have a firebase table which stores a uniform set of objects, all complying with a typescript interface called "ArchiveRecord", stored in a collection called BKArchive....
{ "language": "en", "url": "https://stackoverflow.com/questions/75563526", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: YouTube api in Chrome extension I want my chrome extension to be able to get information about YouTube videos such as title, description and number of likes and use the YouTube api quota of the user for that. Can a chrome extension ask a user for permission to use his YouTube api? If not, can a Chrome extension ask ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75563534", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to get Latitude and Longitude without internet? I want current location (latitude and longitude) without internet.Please give me ideas if this is possible? I know, I have imported google services in the below code your text import com.google.android.gms.location.FusedLocationProviderClient; your text import co...
{ "language": "en", "url": "https://stackoverflow.com/questions/75563537", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Struggling to have Selenium select a button in a table (Python) continuing on my journey to build an bookerbot for fun. Here's the test website I'm using: https://www.barrys.com/schedule/castro/ I'm trying to book a session next Monday at 6:40 PM with the following code: driver.get("https://www.barrys.com/schedule/c...
{ "language": "en", "url": "https://stackoverflow.com/questions/75563538", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: "permission_classes = [IsAuthenticated]" causes error - 'dict' object has no attribute 'exception' Whenever I add this permission " permission_classes = [IsAuthenticated]" to my viewsets in drf (django rest framework) it throws this exception on the browser when I am not logged in 'dict' object has no attribute 'ex...
{ "language": "en", "url": "https://stackoverflow.com/questions/75563539", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: from torch.optim.lr_scheduler import _LRScheduler enter image description here The LRScheduler module is not available. python version is 1.12, How do I solve this problem I don't know why,and i want to solve this
{ "language": "en", "url": "https://stackoverflow.com/questions/75563542", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Return data from table if 2 other columns in 2 tables match I have 2 sheets, both sheet have Plan ID and Ticker in columns A and B. One sheet includes a count that we need to lookup into the first sheet, can't just format that sheet because it also has a lot of extra rows of data in it for other accounts. Trying to ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75563543", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Magento 2.4.5 : How to show/Hide custom Button on product detail page based on product attribute? Not Hide the button I have created a product attribute like, product_inquery, if it is yes then show Button on product detail page, otherwise do not show. can anyone please tell me how to write condition in xml or any o...
{ "language": "en", "url": "https://stackoverflow.com/questions/75563545", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Databricks standard edition Cluster What does this mean using the Databricks premium edition? How many workers do I have? and how many cores does each of the workers have? Update 1: A: Databricks community edition always have clusters consisting of the single driver node. Your screenshot is for "normal" Databrick...
{ "language": "en", "url": "https://stackoverflow.com/questions/75563547", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Menu not working after configure tailwindcss I'm using laravel and I installed and configured tailwind but now the bootstrap menu is not displaying. If I remove the tailwind configuration the menu works. I try differents type of configuration none of them works what's not allowing display the menu webpack.mix.js con...
{ "language": "en", "url": "https://stackoverflow.com/questions/75563549", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Unable to install btusb.ko driver Having amlogic android tv android 5.1 without bluetooth inbuilt, but having root access I'm trying to install external usb bluetooth driver btusb.ko which are compatible with android 5.1 and having same kernel version as my tv When try to insmod btusb.ko I get following dmesg | grep...
{ "language": "en", "url": "https://stackoverflow.com/questions/75563550", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to execute multiple tasks parallelly OR sequentially in Snowflake I was trying to execute multiple tasks parallelly. Task it self is calling a S.P. I had created another S.P in which I called multiple tasks. But again to schedule it I had to create another Task. Is there any simple way to do this. A: Currently,...
{ "language": "en", "url": "https://stackoverflow.com/questions/75563551", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Unable to Set default system bottomNavigationBar color in XML, Kotlin Here is my Music app. The Android system navigation is in white color here, .. . . but on the same phone other apps like Spotify, it is in black. Like . . . , How can I make it black when my application is open in Kotlin? here is the style portio...
{ "language": "en", "url": "https://stackoverflow.com/questions/75563553", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to make Javascript wait for all images to load before proceeding? I'm fairly new to Javascript and I'm currently trying to display images at various sizes and positions. This means I have to load the images first, before I can access values like width and height. Now, here's where I'm facing problems. I tried lo...
{ "language": "en", "url": "https://stackoverflow.com/questions/75563556", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: orchestrate batch requests - Document AI - GCP I have to process PDF documents through Document AI, I am trying to Batch Processing, but it only allows me to process 50 documents at request, I have run out of ideas of how to process lots of 50 files for each request if all my files are in a same folder in the bucket...
{ "language": "en", "url": "https://stackoverflow.com/questions/75563561", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Ory Kratos deployment won't start I have been trying to start an Ory Kratos deployment, but it keeps running into one issue. The pod keeps crashing and when I get the logs, this is the message. The configuration contains values or keys which are invalid: identity.schemas.0.url: ^-- one or more required properties a...
{ "language": "en", "url": "https://stackoverflow.com/questions/75563563", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Flutter - How to create a horizontal scrollable row? I want my row to be scrollable and this row has multiple columns. Each column has a container. How to implement this in a flutter. Placing the row in SingleChildSCrollView, my entire screen becomes blank. Can anyone please suggest me a good option to make my row s...
{ "language": "en", "url": "https://stackoverflow.com/questions/75563564", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: SKScene's update function appears to not work I'm a mega-noob to SpriteKit / iOS dev, so sorry if this is a stupid question. What I'm trying to do is have a small game presented in a SwiftUI View. Everything works mostly perfect, except that for some reason the update() function in my GameScene class doesnt function...
{ "language": "en", "url": "https://stackoverflow.com/questions/75563568", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: GraphQL Queries Per App in Django (Graphene) I started moving my REST API endpoints to using GraphQL with Graphene. Seems pretty straightforward so far, but one of the things that I like about the REST API (and I cannot figure out in Graphene) is the structure of "endpoints" for each app. I have a lot of apps in my ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75563569", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Wget no longer works. Gives 403 Error Forbiden Arch Linux So I have been writing some .sh scripts to downloads some files from Mediafire and I have been using wget and it was working great, but now all of the sudden it throws a 403 Error. Any help? I don't know what happened. A: I fixed it by adding --user-agent="M...
{ "language": "en", "url": "https://stackoverflow.com/questions/75563572", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: golang - facing difference in bytes and error in downloaded image I am making a call from a spring boot app to a golang service to fetch a png. On golang side, the log entries seem fine and the data is getting written to http.ResponseWriter. But on spring boot app side, what is received is a much higher number of by...
{ "language": "en", "url": "https://stackoverflow.com/questions/75563573", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can I access the widget inside the store_view? I use stories like in instagram, as a welcome screen. When viewing all stories, the user enters the registration screen. But, if the user is already registered, then he should be able to log in - for this, at the bottom of the screen where the story is, it is possib...
{ "language": "en", "url": "https://stackoverflow.com/questions/75563579", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: What does the CSS aspect-ratio property do that width declarations don't? I was following a blog post about images optimization where the author said that it's a good practice to use the CSS property aspect-ratio giving the following example: <img style="aspect-ratio: 5 / 3; width: 100%" ...> I was playing around w...
{ "language": "en", "url": "https://stackoverflow.com/questions/75563580", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Image classification with ML.net I have made an onnx model using tensorflow. I am really struggling when importing with ML.Net. I have searched all the internet, there is no easy way and I don't have to deliver the solution tomorrow morning. The model basically does binary classification. How can I import it to .net...
{ "language": "en", "url": "https://stackoverflow.com/questions/75563584", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: What better ways to keep my database secure and 100% up? I have a dedicated server that recently went 8 hours off because the provider had an infrastructure problem and that caused me a huge loss, I would even be able to put the application online again if it weren't for the database, since the database is inside th...
{ "language": "en", "url": "https://stackoverflow.com/questions/75563586", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Get images using keywords like Google search for images I want to create a website that have all the images are related to a keyword .Like Google for searching image.And I also want the images url.not like embedded google search.in javascript,React or nodejs
{ "language": "en", "url": "https://stackoverflow.com/questions/75563587", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: FileNotFoundError: [Errno 2] No such file or directory for a csv file Hi I tried to deploy my app to streamlit and it works perfecly on my local host but it can't find my csv file online. Is there a problem with the file not being avaliable since it is local? Thank you! [enter image description here](https://i.stack...
{ "language": "en", "url": "https://stackoverflow.com/questions/75563588", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: C# console project confusion I am currently learning c# for my dot net framework and I am following many tutorials in online but most of or in all videos while we create a console app it creates a file and it includes using System; namespace MyProgram { class Program { static void Main(string[] args...
{ "language": "en", "url": "https://stackoverflow.com/questions/75563591", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Unity - Input System does not work in built game but does work in editor I'm using Unity's new(ish) input system - package v1.4.4 (release) with Unity 2021.3.12f which works fine in editor mode but not at all in build mode. There are no errors or crashes - just no response to mouse, keyboard, gamepad or joystick whe...
{ "language": "en", "url": "https://stackoverflow.com/questions/75563596", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to access method valueOf of an unknown enum in Scala 3 I'm trying to create inline def to generate Json codec for any enums in Scala 3. For this I need to have access to valueOf method of the parent of the enum. Something like this: inline def gen[T](using JsonCodec[String], T <:< reflect.Enum): JsonCodec[T] = ?...
{ "language": "en", "url": "https://stackoverflow.com/questions/75563597", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Why does p5js lag a lot when I use classes? I'm trying to use classes in p5js but when I use new Object(), it just lags the website to something like 0.1 FPS. let objects = []; function setup() { createCanvas(400, 400); const object = new Object(width/2, height/2, 50); objects.push(object); } function dr...
{ "language": "en", "url": "https://stackoverflow.com/questions/75563599", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Why I get Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client? I'm trying to use node/express with mysql database. So at registration controller I have: import {db} from "../db.js" import bcrypt from "bcryptjs" import jwt from "jsonwebtoken" export const register = (req, res)=>{ ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75563605", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Zoom Web SDK shows Uncaught TypeError: Cannot read properties of null I have tried to implement the CDN Client View according to the documentation (link). <script src="https://source.zoom.us/2.1.0/lib/vendor/react.min.js"></script> <script src="https://source.zoom.us/2.1.0/lib/vendor/react-dom.min.js"></script> <scr...
{ "language": "en", "url": "https://stackoverflow.com/questions/75563606", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "4" }
Q: SSL issue (site not secure) on mobile only The website : asadarslan.me This is a WordPress based website. On desktop it shows the site is sure but when you open it on mobile it shows the site is not secure. I updated the DNS servers to cloudflare and install the SSL plugins but nothing works. Please guide how to fix...
{ "language": "en", "url": "https://stackoverflow.com/questions/75563607", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: sort data in array using parent and child I have this array there is parent and child data [ { "Id": 40, "Name": "Version 1", "ParentId": null, }, { "Id": 45, "Name": "Version 3", "ParentId": null, }, { "Id": 50, "Name": "Version ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75563608", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How with predis on laravel save data with long key? Using redis on laravel site I need to save some collections of data, based on provided filter. I use formatted string with filtered value as key. Such key : filterPublished=1;filterTitle=a;sortByField=published;sortOrdering=desc;additiveSortByField=title;additiveSo...
{ "language": "en", "url": "https://stackoverflow.com/questions/75563610", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to extract symbols from parsed LaTeX equation in Sympy? I have parsed a LaTeX equation in Sympy, but now I need to extract the variables to symbols so that I can have Sympy solve/rearrange the equation for specific variables. I know I can use equation.free_symbols to see the symbols contained in the equation, bu...
{ "language": "en", "url": "https://stackoverflow.com/questions/75563612", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can I filter a resultset by a list from a table? Let's say I have a table that contains my favorite IDs. For instance: let favoriteIds = datatable (identifier: double) [123, 234, 356, 789]; Then I have a gigantic table with a column called Id, and I want to filter to just the rows where Id matches one of the va...
{ "language": "en", "url": "https://stackoverflow.com/questions/75563615", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Gradle threw an error while downloading artifacts from the network. Retrying Gradle Build: Gradle threw an error while downloading artifacts from the network. I tried to correct it by changing its version but it can not run successfully
{ "language": "en", "url": "https://stackoverflow.com/questions/75563616", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: I am creating simple video player app in flutter but it show me execption when I debug my code it show me error import 'package:flutter/material.dart'; import 'package:video_player/video_player.dart'; void main() => runApp(MyApp()); class MyApp extends StatefulWidget { @override State<MyApp> createState() => _...
{ "language": "en", "url": "https://stackoverflow.com/questions/75563617", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: The jQuery replace with is not working on a string in a Wordpress Plugin I am trying to replace a "p" element's text with a .replaceWith() jQuery method, in a Wordpress Plugin, <p class="wfs-pricing-option-label">Choose Price Option</p>, jQuery(document).ready(function(){ jQuery("p.wfs-pricing-option-label").r...
{ "language": "en", "url": "https://stackoverflow.com/questions/75563620", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: i18next: load option not working as expected I am using i18next library for my React project and what I want to achieve is to store en when my browser's language is exactly not en (I don't want to store en-US value as default). When I look up the doc, there is an option called load and I set it currentOnly now. Howe...
{ "language": "en", "url": "https://stackoverflow.com/questions/75563621", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Xcode 14 Cannot see Custom iOS application target properties When I am creating a new project in Xcode with a target of iOS, it's not showing "Custom iOS application target properties" in the Target -> Info tab. Instead it's showing "Custom MacOS application target properties". A: fixed by changing Target -> Build ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75563622", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: I want to identify if the device is an iPad on my project and created the below hook, But is not working in safari browser on iPad Below is the react hook I created to idenfify it: import { useState, useEffect } from "react"; import { LANDSCAPE, PORTRAIT } from "../constants"; const useIPadOrientation = () => { ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75563623", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: i18n __ is not working in ejs when detecting the browser language "accept-language" header in ExpressJS. But working fine when using query parameter Option 1: (working fine) This my URL: http://ludenour:3002/?clang=ar inside my / route I have this i18n settings: res.setLocale(req.query.clang); app.locals.clang = req...
{ "language": "en", "url": "https://stackoverflow.com/questions/75563627", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Can't get shell if I remove 'command' from docker-compose Here's how I want to run my container with the following commands: docker-compose up -d --build docker compose up -d docker exec -it app_api bash From there I will have a shell where I can run ./manage.py runserver 0.0.0.0:8000 or makemigrations etc. This ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75563629", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Why is this GraphQL Contentful query too complex? I get the below error message on a GraphQL query to Contentful, but do not understand why. Error message: "Query cannot be executed. The maximum allowed complexity for a query is 11000 but it was 12100. Simplify the query e.g. by setting lower limits for collections...
{ "language": "en", "url": "https://stackoverflow.com/questions/75563633", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: GSpread function became super slow I have a basic routine of accessing data on my Google Spreadsheet via python. It has always worked well and super fast (1 sec). Out of nothing, w/o changing anything on my code, now it takes 10-15 minutes to perform this simple task. All it does is access gsoread and convert the da...
{ "language": "en", "url": "https://stackoverflow.com/questions/75563635", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Angular datatable rerendering generate duplicates in table, duplicate gone in page refresh this is my data generating function for datatable(angular), at the initial run it trigger correctly and shows data in table, and the problem happened when updating a data, on update the table rerendered with duplicate rows whe...
{ "language": "en", "url": "https://stackoverflow.com/questions/75563637", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Cannot import pandas_profiling library I wanted to practice EDA, I have installed pandas-profiling successfully in jupyter notebook but I am getting an import error while importing it. import pandas as pd import pandas_profiling I am using the latest version of python: Python 3.11.2 and pandas version is 1.5.3 The ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75563639", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Cannot read properties of undefined (reading 'getChildren') I'm Trying to implement google map in react using a library called google-map-react , I am facing an issue related to google map.There is no error in my syntax, and the error show in file google_map_markers.js:100 here is my code import React from 'react' ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75563642", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Converting version 1 pinescript to version 5 I'm stuck when trying to convert this version 1 pinescript code to version 5. I have been trying for a while but it is beyond my skill level. I would be grateful if someone would please be able to help. The code is below: //Crée par J.Dow //Double SuperTrend ATR, Le type ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75563646", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: everything is working fine in react redux but store is not updating or value is not reflexting on console I want to render login and registration link on my header when user is not logged-in and logout link when user is logged-in. I make a state for storing the status of user login status and calling dispatch functi...
{ "language": "en", "url": "https://stackoverflow.com/questions/75563647", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Python Magic Methods in JavaScript I'm a new JavaScript coder trying to figure out classes. I was wondering if there is something in JavaScript that has similar functionality to Python's __str__ or __add__, or anything of the sort, magic methods so I can run a function when two classes are, say, added together.
{ "language": "en", "url": "https://stackoverflow.com/questions/75563650", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: What formatting tool can I use to make my Tailwindcss classes align horizontally? Does anyone have any formatting tool to go from this to this? Prettier doesn't work, I've tried the prettier-tailwindcss plugin too, it doesn't work too. How can I change from this: <div className=" font-noto ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75563652", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to connect to mongoDB by tunnel through EC2 from my local My local IP Address is dynamic. I have development server on EC2 and lightsail. both of these IP's are whitelisted in mongoDB server. I want to connect to mongoDB from MongoDBCompass in my local. I can not add my ip everytime it change. I have ssh access ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75563653", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Get the tighest bounding box I think the code is self explanatory: // Set the bbox min and max of the lower node current_min_bound = lower_get_bbox_min(buf, lower_handle); current_max_bound = lower_get_bbox_max(buf, lower_handle); // Set lower node bbox if(current_min_bound.x > leaf_node->bbox_min.x) { current_...
{ "language": "en", "url": "https://stackoverflow.com/questions/75563654", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Do if else condition in python need brackets? class oldest: #to find the largest age among three def enter(self): self.a=a self.b=b self.c=c a=int(input("enter age 1")) b=int(input("enter age 2")) c=int(input("enter age 3")) if (a>b and a>c): ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75563655", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: tell me how can I upload file in python? fname=r'C:/Users/hp/Desktop/mrk' with open(fname,'r')as f: content=f.readlines() print(content) just find out how to resolve my problm while uploading text file in python
{ "language": "en", "url": "https://stackoverflow.com/questions/75563659", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Why it gives a broken image when fetching <body> <div id='heroImage'><img src='' alt=''></div> <button id='newHero'>Get New Hero</button> <script src="script.js"></script> </body> const img='' let getSuperHero=(id)=>{ const newHeroDiv=document.getElementById('newHero') const heroImageDiv=document.g...
{ "language": "en", "url": "https://stackoverflow.com/questions/75563660", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can parent widget gets information from it's children widget in Flutter? I create a parent page contains a list about custom widgets, the list is variable so I can add or decrease the number of these custom widgets immediately. The custom widgets are contained by List<FoodContainer> _foods = []; in parent pag...
{ "language": "en", "url": "https://stackoverflow.com/questions/75563662", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Using SQLMigration Assistant Tool from Access give me data import error, how I detect the failing rows? I need to convert an access file to SQL server so I can import data to a new application... I've tried different times but I got the following error after the completition Error occurred during data migration. See...
{ "language": "en", "url": "https://stackoverflow.com/questions/75563663", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to prevent multiple objects from having the same reference? We know that on using = in case of objects mean both will refer to same reference. Is there a way to prevent this from happening? Let's say we have a class ComplexNumber. I don't want to allow anyone to initialize c like this. class ComplexNumber { // x...
{ "language": "en", "url": "https://stackoverflow.com/questions/75563667", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }