text
string
meta
dict
Q: I have two legends and they are being cut off I am trying to plot this data however as you can see from the plot below that the legends are being cut off. I need the legends to stay outside of the plot. Any suggestions? This is inside a jupyter notebook where I am aware that the plotting functionality can change som...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557238", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Copying files from remote server to local windows machine in cmd using robocopy instead of scp: network path not found I need to copy a large folder and its contents from a remote location to my local machine (PC, Windows 10). I usually use scp but it's not suitable in this case because the network closes after a wh...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557239", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to execute a python wheel developed using Poetry? I have a poetry application and in poetry, one can set any python version in pyproject.toml. Once a wheel is built using poetry, I would like to share this to our users.Then, my users can execute this wheel similar to how they execute an exe in windows. I checked...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557241", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Android bold fragment of textview text I want to be able to bold a placeholder of my textview text that is db.getGroupTitleByExtNoteOrder(noteItemList.get(getAdapterPosition()).getNoteOrder()) Here is what I have tried: HtmlCompat.fromHtml(String.format(fragment.getString(R.string.this_is_base_note), db.getGroupTitl...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557242", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: how to skip the signin step for adb 2c custom policies I'm using the starter pack in my application and my plan is to skip the sign in step for edit/password reset custom policies when the user is signed in already, thx <UserJourney Id="ProfileEdit"> <OrchestrationSteps> <OrchestrationStep Order="1"...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557244", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Create a decision tree with a custom node logic I want to estimate a human level performance of a certain classification task. Let's say I have the following fixed logic: def classify(feature_1, feature_2): if feature_1 <= threshold_1: return 0 if feature_2 <= threshold_2: return 1 ret...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557245", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Using Offset in Firestore REST API queries I'm looking to skip the first N values to implement pagination. For example, page 1 returns results from 1-10, If I set the offset to 10, then the first 10 results will be skipped and I get 11-20 in page2. What am I trying to do? * *Set offset so that the first N values a...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557246", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: name 'user' is not defined, django forms I have an User abstract user model with some fields including mnemonic which is a CharField and an image that's an ImageField. I want to be able to use the mnemonic as a confirmation field to change the image in a form but I can't get the old mnemonic in the clean() method an...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557247", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Does Polars support predicate pushdown with Deltalate? I'm trying to load a Deltalake table in Python in a memory-bound environment (k8s Pod with memory limit) with Polars, I am getting an OOM exception when trying to do a scan_delta(...).head().collect(). I am unable to determine if predicate pushdown works and/or ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557248", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: how to convert json object to xml with every property of tag in new line I am using xmlbuilder2 to searilize JSON Object const newXml = convert(doc, { format: 'xml', headless: true, prettyPrint: true, newline: ' ', }); I want to pretty print XML with whitespace so that each tag appears ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557251", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Vue CDN doesn't seem to be working with jsdeliver or the cdn provided by the documentation Im following a guide on vue.js but the cdn doesnt seem to be working. I tried the cdn directly from the documentation instead of the one provided by the guide and it still doesnt seem to work. <!DOCTYPE html> <html lang="en"...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557252", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: (selenium+python): 'driver' is not defined. Did you mean: 'webdriver'? I'm trying to check if a gmail id is already registered as an apple ID. I did the solution using sequential programming and now trying to restructure it using class in python. I'm getting 'driver' is not defined issue although I already defined i...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557258", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: npm run dev is only works for backend but frontend is still not startng "scripts": { "test": "echo \"Error: no test specified\" && exit 1", "backend" : "nodemon backend/server.js", "frontend" : "npm start -p frontend", "dev": "concurrently \"npm run backend \"\"npm run frontend \"" } I want to run frontend ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557260", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Loop redirect on login after upgrading from Liferay Portal 6.2 to 7.4. Any suggestions? As far as I can tell Liferay 6.2 did not have a LayoutUtilityPageEntry table. When I upgraded the database, this LayoutUtilityPageEntry table was created. This is the method that is throwing the exception. And the LayoutUtilityPa...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557263", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can i fill up empty column value if all other row values are filled in polars? I have the following problem: In my dataset it happens that missing values appear in the column "ID". The values in the ID column are always the same or None. If there are no other missing values in the row, the value of the ID shoul...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557265", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to check a array includes or not in a 2d array I have a 2d array like, arr = [ [1,"kader"], [3,"nader"], [2,"sader"], [7,"abul"] ] now I want to check is [3,"nader"] is present or not in my 2d list or not, if I use includes() function, it's not working like, arr = [ [1,"kader"], [3,"nader"], [2,"sader"], [7,"a...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557271", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Why #sendemail tool in kali linux not work sudo sendemail -xu @gmail.com -xp *************** -s smtp-relay.sendinblue.com:587 -f "google@gmail.com" -t "**@gmail.com" -u "how are you" -m "ARE YOU KEY BRO" Feb 23 18:41:30 kali sendemail[16191]: ERROR => TLS setup failed: hostname verification failed What is Feb 23 18:...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557272", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: Bidirectional @ManyToMany with a link entity in Hibernate? I am new in Hibernate and after reading documentation, I get confused about the proper usage for @ManyToMany relationship. Here is the bi-directional example: @ManyToMany(cascade = {CascadeType.PERSIST, CascadeType.MERGE}) @JoinTable(name = "person_address",...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557276", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Cannot ping external IP address from within Kubernetes Pod I am trying to set up linuxserver/ddclient within mikrok8s v1.23.16 on ubuntu. I found that ddclient has issues connecting to checkip.dyndns.org. When I create a shell instance in the ddclient-pod and try to ping any IP, I get no response - so the pod seems ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557281", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Angular2: canDeactivate does not work with window.location.replace Looks like canDeactivate doesn't intercept window.location.replace. I have a service call in my component that replaces the current url: window.location.replace('path'); I have a guard that looks like this but it is not called when 'window.location...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557283", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can I ask the target Search to consider Multiple Variants in VBA code A membervbasic2008 wrote this VBA code for me on a different question, and I have one additional change I am wondering how to make. In this search, we are looking for any row in the specified range that has "2". I am wondering, how can I write...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557286", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: How to split tags in each array with starting and ending tag in PHP I have a text with HTML tags in it, probably we can say as full HTML coming from CK5 editor $string = '<p>This is Body Paragraph text</p><h2>This is Header 2</h2><h3>This is Header 3</h3><h4>This is Header 4</h4><h5>This is Header 5</h5><h6>This is ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557287", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: why does my code crashes when im not saying anything? i have an assistent code that gets input from my mic and do actions depending on what im saying. for some reason when im not saying anything but there is a background noice (sneeze, cough etc) the type of"actual_result" changes from dict to list, them if im talki...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557289", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to get the data from a MongoDb Cluster with Node.js? I'm trying to fetch some data that exists in MongoDB Atlas using mongoose but I'm not getting any results. Here is the app.js where I've done the db connection: import express from "express"; import mongoose from "mongoose"; import { router } from "./routes/h...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557291", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: fabric js - intermittent loading failure with loadFromJSON I have a fairly simple web app using fabric js to create and edit image layouts. Everything largely seems to work fine, except that sometimes the canvas sometimes doesn't render properly. I've tried to eliminate everything I can, and it seems to be the loadF...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557293", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to display parcel outlines or boundaries on the downloaded map images I have integrated Mapbox dynamic map with LandGrid Third party API to display parcel outlines or boundaries and it displays perfectly. But the problem is when I download the image parcel outlines are removed from the map image. Please advise h...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557296", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: when trying to connect sanity with next.js but is showing content not found Please check attached image vscode tried to get content from sanity.io but error was "Type Error: Cannot read properties of undefined (reading 'content')" tried every possible thing.
{ "language": "en", "url": "https://stackoverflow.com/questions/75557300", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: I'm trying to get data via axios to send a php server and save as a text file Hi everyone i want to post data through async and receive it via php this is my code but it returning empty async sendMail(email, name) { try { const data = new FormData(); data.append('email', email); data.append('name', nam...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557301", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: MapBox "Container 'map' not found." Whilst adding a map to my website I keep getting the error "Uncaught Error: Container 'map' not found." in my dev console on chrome. I've included a pastebin here When I add the JS underneath <div id="map"></div> The map seems to load but isn't contained within the parent div.
{ "language": "en", "url": "https://stackoverflow.com/questions/75557302", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: how do i send two database queries in a single nodejs route so i can immediately get the assigned userId and redirect them to an edit profile page Title explains most of it, I want to redirect a user to an edit profile page based on their userId after creating an account so they can fill out the remainder of the inf...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557303", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: c++ T::BrowserWeb is parsed as a non type, but instantiation yields a type have class next : class Capabilities{ public: enum Type{BrowserWeb, OsWeb}; virtual ~Capabilities() = default; virtual void printCapabilities()=0; static Type type; } class CapabilitiesFactory{ public:...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557304", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Does a returning a Promise from a recursive async function cause a stack/heap overflow? Given the following piece of code async function recurse() { await someAsyncStuff(); return recurse(); } await recurse(0); It would make sense that recurse(i) would resolve into recurse(i+1) and the old Promise would ge...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557305", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Getting actual row number from Excel sheet using mganss/ExcelMapper I am currently working on a project where I need to map .xlsx files into objects in C#. I am using the mganss/ExcelMapper for this and it is actually working quite well. I need the actual spreadsheet row number mapped in my C# object as well, but ca...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557310", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Grid items grow when alone in row Is there a way to have a grid item that is alone in a row take up the rest of the space, if you have more than one column. Something like flex-grow. Example <div class="controller"> <div class="item">hello</div> <div class="item">hello</div> <div class="item">hello</div>...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557313", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Run Master py File from Windows Task Scheduler I have a python file called "master" which aims to execute several functions located in a folder called "py". One of the functions that are allocated in "py" writes an output as follows: def say_hello(): #Import from datetime import datetime #Output ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557316", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Flutter responsive column I have several containers which have a different content, eg. checkbox, text... They are placed in column which is inside SingleChildScrollView (scroll if the screen becomes too tiny). I try to use extended flex and spacers to increase the size of my container to fill more space in the bigg...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557317", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: MaterialAlertDialog theme is broken on ComponentActivity I am currently working on an Android application which is mainly write with the XML framework for the views and in which one I am currently adding a screen based on Jetpack Compose. In my project, I use custom layout in order to display a custom MaterialAlertD...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557319", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Which program for Android-Apps Which program can an Android APP be programmed with HTML, CSS and JS? Does somebody has any idea? Cordova could, for example, but is no longer up to date.
{ "language": "en", "url": "https://stackoverflow.com/questions/75557327", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Consuming RESTFul API with hyperlinked relations For example, I have an Article entity, with Article.author property. And this property is a String, link to the User entity. In the client app, looks like I have to fetch this .author data separetely. Is this how a hyperlinked API should be consumed? Maybe I can embed...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557328", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: React - Class signature on mouse over First, sorry for my english: i'm french I appreciate the signature (props details required for a function component) like this: A Bootstrap component signature with VSC IDE. And i also use this possibility with my own functions. I don't know how to do for having the same result ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557329", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: how to limit collision with multiple objects I have a mechanic. There is a player and an enemy. Each of them can attract cubes when touched. So when both touch the cube, the cube flies simultaneously to the enemy and the player, and I need it to fly to the first one who touched it. This is what I have now [Serializ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557331", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Apply mask to numpy image dependent on image values adjacent to the mask area The code below results in the four images below. The leftmost image is the original. I then create a β€œborder_mask” of the image as seen in the second image. I can now set all values in the original image where border_mask > 0 to 255. See t...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557332", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to dismiss a view in SwiftUI when popover is presented? I have a problem in my application in iPad version regarding dismiss action. Basically dismiss works fine as expected, I am using "@Environment(.dismiss) var dismiss" to dismiss that view on tap but problem occurs when I tap on a popover view and then while...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557334", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Schema.org - an Organization schema that references the parent organization schema (of another website) Our agency has a website where I implemented an Organization schema in the form of JSON-LD. I want to create an Organization schema for each of the websites we own, but also to add a reference (something similar t...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557337", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: What is the full URL to invoke the AWS Eventbridge Scheduler REST API I'm trying to invoke the AWS Eventbridge Scheduler, via its REST API, to create a schedule. In the documentation it just gives the resource and action (POST /schedules/[Schedule Name]). Does anyone know what the fully qualified URL is that I wou...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557339", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to trigger change event on HTML input programmatically? I am trying to populate a HTML input programmatically inside a WKWebView and it looks like it is not triggering the normal events. For example, when I try to programmatically populate the input field inside the "google.com" page, the results popup is not pr...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557340", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Implement custom control using Control Value Accessor by reference to the NgControl I have a problem with implementing custom control by reference to the NgControl. It almost works but I have validation problem when I'm calling ngSubmit method. I tried to call form.markAllAsTouched() but with no result. Example - Cu...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557345", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to make assertjsonStructure()? I tested if display all contracts. In controller I select all contracts with amount column. In test I make assertJsonStructure(). When I run test show me error Failed asserting that an array has the key 'amount'. I dont't know why this error is. public function index() { $deal...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557347", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: IOException: Your InputStream was neither an OLE2 stream, nor an OOXML stream or you haven't provide the poi-ooxml*.jar I made a simple grocery program that would encode an item's name base price, taxes, markup etc. My program works by first collecting the values in the fields. then creating an excel output. if the ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557348", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Graph in every for loop in python I have a dataframe named df like this. df I made a for loop to have some results for specific columns. I want to have a graph for every loop under the results which are showed after every loop, but it does not work.They are showed in the end all together. How can i get these graphs ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557350", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: moving our database from Oracle to MS SQL Server on Moodle 3.11 version Our Moodle 3.11 version is running on a Windows 2012 R2 server and aging, so we are in the process of moving our database from Oracle to MS SQL Server on a new server and would like to know if anyone has used β€˜database transfer’ (https://docs.mo...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557353", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Django - how to create related models in new migrations for existing model objects I'm adding couple of new models which have foreign key one-to-one relation to an existing model (existing model has thousands of objects already in database). The new models have default values for every field other than the foreign k...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557357", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: jacoco is not picking up the report path correctly Our report generation was working fine before we made some changes. Now, I am not at all able to make it work, I have tried all solutions which I can find. This is our older code : <plugin> <artifactId>maven-surefire-plugin</artifactId> ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557358", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Charts animations not working with PrimeNG I an using PrimeNG 15.2.0 and chart.js 4.0.1 and trying to get animations for charts to work. I copied the data and the config from here (https://www.chartjs.org/docs/latest/configuration/animations.html#looping-tension-[property]) so it looks like this this.dataTest = { ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557361", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Is JSON Web Token a type of API Token? Are API Tokens and JWT Tokens the same? I'm trying to understand the difference between jwt token and api token. Are they the same of similar? I tried on google but the only difference I get is between API Key and API Token. Can some one elaborate?
{ "language": "en", "url": "https://stackoverflow.com/questions/75557363", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How to adjust the character in Chinese to have the same height as brackets and numbers? I'm using Microsoft Word on macOS, but I'm experiencing formatting issues with the "Kaiti" font. Specifically, the characters, brackets, and numbers are not aligned at the same height. However, when I use the "Songti" font, every...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557369", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to find the right xlookup formula I am stuck on the right excel formula to use for my situation.... I have a spreadsheet A with that information: IP 127.0.0.1 128.11.21.2 I have another spreadsheet B with that information: IP IP2 IP3 OS Techno Comment 127.0.0.1 127.0.0.1 212.22.23.25 Window...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557372", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to generate pdf of html view using iTextsharp in C# I am trying to generate pdf of a detailed html page by clicking on a button but I'm not able to do this. I don't know how to give the view of a page in HTMLcontent tag, below is the code for better understanding of a problem. This is my html page that should be...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557374", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: React-Navigation update a header icon from itself I am trying to update a header icon using itself. I have a heart icon in the headerRight component: const [enabled, setEnabled] = useState(false); navigation.setOptions({ headerRight: () => (<TouchableOpacity onPress={() => setEnabled(prev => !prev)}>{enabled ? <...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557375", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: The most accessible markup for a multistate toggle I'm working on a toggle that has more than just an on/off state, like this one: Multi state toggle. It has three different states, where only one is active at a time (like radio buttons). NOTE: My question is not about the best design for theme switcher, but about t...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557376", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: DataHub: issue with getting lineage between Looker and Snowflake For some reason does not build lineage between Looker and Snowflake. I use the following recipe configs. LookML: source: type: lookml config: parse_table_names_from_sql: true stateful_ingestion: enabled: true ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557378", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Use neo4j apoc.trigger.install to trigger a custom code written in Python I want to add a trigger to my neo4j so that when a new file is added, it will either execute a custom python code, or at the very least make an api call sending the information on the node created Not sure how I should do this: Something follo...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557379", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Callers visibility of changes and mutations to the arguments in the non strict evaluation strategy? All the strict evaluation strategies described here talk about if the caller would see the changes and/or mutations made to the function arguments within the scope of the called function. However, no such discussion i...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557384", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: React Tailwindcss dropdown doesn't open. Click on the dropdown button but dropdown dont open I'm tryinng to use react tailwind css navbar. Everything is all right but dropdown is not working. I clicked on the icon but never open dropdown. I can't found the problem. Please help me out to finding whats the wrong in my...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557386", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Why are pixels with zero alpha are discarded in a WebGL video? I load a video to WebGL: gl.bindTexture(gl.TEXTURE_2D, texture); gl.texImage2D(gl.TEXTURE_2D, 0, gl.RGBA, gl.RGBA, gl.UNSIGNED_BYTE, video); The video has a part with alpha = 0.0 but rgb != 0.0 (for next blending). Inside the shader I see rgb = 0.0 Wher...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557388", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: ASP.NET Core 6.0 MVC Redirect to page at Program.cs I created a "Coming Soon" page and for the time-being I want all traffic to be routed to this page until I change it. I would like this redirect to occur within the Program.cs file and not in any controller or layout page. I added the following code (see below) and...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557389", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can I write a query where I can get different name values? I have an table similar to the one below. ID Name Surname Grade 1 A K 10 2 B L 20 3 C M 30 4 A N 40 5 C O 50 How can I write a query where I can get different name values? For example, the output I want to achieve is as follows: I...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557392", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Joining Pandas Dataframes w/ multiple joins I am trying to join in the information from df_demog for each column in df. The below example only brings it in for compar1, but ideally would like to join in the 4 pieces of information from df_demog for each of the 6 columns in df. I could write 6 join clauses but would...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557393", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Validating input fields form vue **I wonder how can I run the emit in the App.vue file if all of the input fields of a multistep form are filled? I've written the logic but I can't get the final block displayed in the end when all of the fields are filled. https://codesandbox.io/s/intelligent-jasper-teh1im?file=/src...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557396", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: AWS Glue progress DB read progress I'm trying to dump about 35 Gb of data from an Oracle DB to S3 and I'm using Glue to do it (for very strong/pertinent reasons). My df looks like this: datasource = glueContext.create_dynamic_frame_from_options( 'oracle', connection_options = {...... Unfortunately, the job ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557397", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Will CPU-bound work stay on thread pool thread when using nested async-await? This might be a somewhat trivial question, but I want to make sure that I am not missing any detail here. I have the following code, where OnButtonClick ist invoked by the UI-Thread: async void OnButtonClick() { await Task.Run(DoWork);...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557398", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: c# Unwanted Extra Columns in Form Data Grid View I am populating a data table from a ListItemCollection and then a grid view from the data table. But I am getting an extra 10 columns that are not specified in my loops below. Example column names are _ModerationStatus, _Level, ScopeId, MetaInfo. I don't know what the...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557400", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Select average if day occured and does not find a date from column I have a table of exchange rates that contain a day and a value column, where the first one is the day of the exchange rate and the other has the value of that day. Then I have another table which has amount value of a KPI in euros, so I need to join...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557401", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Angular 11 - An unhandled exception occurred: NGCC failed I have just upgraded my application from Angular version 10 to 11. While the upgrade process went pretty much effortless, I can't seem to get my application running now. When I try to execute ng serve I get the following error: Error: Error on worker #1: Erro...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557405", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Xampp Appache Web Server is not running I installed Xampp on ubuntu 22.04 from here https://www.apachefriends.org/. I followed this installation guideline. But I can't run Apache Web Server but apache said it's actively running when I checked the status. I tried to change the port but it still doesn't run. There is...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557406", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How sum data on table with 4 conditions I want to display the total amount from start date and end date from tgl_trans, nasabah_id, jenis_id ?? $start = Carbon::parse($request->input('start'))->startOfDay(); $end = Carbon::parse($request->input('end'))->endOfDay(); $query = Transaksi::whereDate('tgl_trans', '>=', $s...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557410", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Microsoft's remotewipe script causing a session/CimException When I run the script below on one machine, it ran perfectly. (The outcome is a reboot that then reinstalls a fresh install of Windows with no user data or applications or system info saved.) https://learn.microsoft.com/en-us/windows/win32/dmwmibridgeprov...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557411", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Clustered standard errors using tbl_uvregression Within the gtsummary package, is there any way to add in clustered standard errors to the following example logistic regression? library(gtsummary) df <-data.frame(cluster = c(1,2,3,4,5), y=c(0,0,1,1,1), x1=c(10,20,30,40,50), ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557412", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: .Net Standard Worker Service Change Account Window Services account I have developed a Service Application with .Net Standard 6.0 While in the .Net Framework we could set the service account, but I could not set it on Worker Service project. I could not find how to change the account of windows Service on Worker Ser...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557413", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Subfigure implementation issues in Latex/Overleaf I have this latex code: \documentclass[a4paper,oneside,11pt]{report} \usepackage{subfigure} \usepackage{subcaption} \begin{document} \begin{figure} \begin{subfigure}[b]{0.3\textwidth} \centering \includegraphics[width=0.3\linewidth]{./img/matri...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557415", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Is it possible to use spring security autoconfig with all methods secured and exclude some methods with method security I was wondering is it possible use spring security autoconfig with all methods secured and exclude some methods with method security. So for example I have one Controller with some methods which ar...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557416", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can I view tail -f from python http.server? I run this command on the server: python3 -m http.server 8000 --cgi I have an executable shell script in /cgi-bin : #!/bin/bash echo '' cd /home/user timeout 30 tail -f testlog.txt The tail works successfully and I can see it in the browser AFTER the timer expires. Is...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557417", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Google App Engine Deploy has stopped working in 2023 - Cannot read property '@google-cloud/pubsub' of undefined I have an App Engine project running on Node 14. It's a Next.JS app that is built and then deployed via cloud build. When I was committing code back in December 2022, it worked perfectly fine. However, thi...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557418", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: DynamoDb list of magic entries I am using the rust API for dynamoDb and when building a TransactWriteItem we need to provide the name of the keys used. In previous work I used the keys item_key and item_value and item_partition. What is remarkable is the name of those keys do not show up in any documentation I know,...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557423", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: The problem of slicing a list with sublists I need to make a slice with the number 74 from the list using indexes (this is the condition of my assignment). But I don't understand what I need to write to get it. Please help. This is my list: L = [[[1, 2, 3, 4, 5, 6, 7, 8, 9, 10], [11, 12, 13, 14, 15, 16, 17, 18, 19, ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557424", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Creating Maxima code to find the RREF of a matrix over a field I know that Maxima allows you to bring a matrix to a row echelon form through the function echelon, and that simple code can be written to put this in RREF over the real numbers. Is there a way to adapt this, or a concise way to calculate the RREF over ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557425", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: With the Java High Level API of Elasticsearch, can I ask for a sort order through the SearchSourceBuilder query parameter, instead of its sort method? I see plenty of examples querying Elasticsearch with some search requests such as: SearchSourceBuilder searchSourceBuilder = new SearchSourceBuilder() .query(queryB...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557427", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: KerasRegressor' object has no attribute '__call__' Hello Stack Overflow community I have been banging my head against the wall trying to GridSearchCV a KerasRegressor model. I have checked some solutions in this platform but I still keep getting exactly the same result. I am training a NN with some data: X_train = [...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557428", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Wrap text around image inside box Given the code below, I am wondering how I can remove the bottom margin, when the text is shorter than the images height, but keep it for the long text. Any suggestions? .box { max-width: 300px; border: 2px solid red; overflow: hidden; } .box:after { content: ""; displa...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557429", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Connected Component analysis within Dash app gives a callback error I would like to perform Connected component analysis, but once I start, I get a Callback error. If I comment the line with ConnectedComponents the code runs ok, no problem with thresholding, although it is also performed by using Opencv. Could anybo...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557430", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How to return data from websocket in another method? I want to get data from websocket and used it in another method to save the data in database. How can i use the data from websocket in other method? This is my try, and i receive error AttributeError: aenter class Test: WEBSOCKET_URL = '' @staticmethod ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557431", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Installing dotnet-sdk-7.0 on Ubuntu 20.04 (and 22.04) breaks net6.0 projects (and net7.0 doesn't work either). Sudo needed to build after this I follow these instructions to install dotnet on Ubuntu 20.04. Install the sdk Ubuntu 20.04 These instruction is at this time: wget https://packages.microsoft.com/config/ubun...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557437", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Changing node version using WSL and NVM I am developing a web app on windows using nodejs (installed using wsl) and would like to switch to a specific node version due to other teams' compatibilities. I used the nvm use statement but it did not work. Any suggestion? I expect to be able to switch between node version...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557441", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: I am having dificulty passing value of checkbox to the controller and storing it in database I'll be sharing you my _MaintenancePMAlertstructionGetData.cshtml(Partial view) coding part (html + jquery mostly), Model part -> file named tblMoldData.cs, and actionResult of the controller. I want to send true value to th...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557442", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Unable to translate a collection subquery in a projection InvalidOperationException: Unable to translate a collection subquery in a projection since either parent or the subquery doesn't project necessary information required to uniquely identify it and correctly generate results on the client side. This can happen ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557444", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: I made a project in figma with a width of 1920px and placed 12 columns with a margin of 320px. However, when viewing the project, it is cut off enter image description here I've tried changing the column resolution, changing the frame to another device, but it's like it has no effect.
{ "language": "en", "url": "https://stackoverflow.com/questions/75557445", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Next js app directory (beta) project structure Nothing is better than a neat, scalable, easy to understand project structure I'm developing a full stack ecommerce application using the new app directory in next.js, I know its still in beta and things can change, but trying to evolve slowly using a correct mindset fr...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557446", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Flutter phone authentication with play integrity api Flutter phone authentication not working since safety net device verification is deprecated. For the new projects created after January safety net option not available we must use play integrity api. Enabled play integrity api from firebase project. Linked Firebas...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557448", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Replacing Values by ID I have a dataset that I am looking to replace values of the employees status to be just one value off their most recent row of history I am using pandas and numpy in this code. This is what I have: ID Start_Date End_Date Emp_Status 1 11/23/2021 1/12/2022 Active 1 ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557449", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How do I get the correct width of an element in all broswers in JavaScript? I am trying to get the width of an element to be able to set width of another element EXACTLY as big as the first one. The problem I am facing is that different broswers seem to give me different results, no matter the method I am using. Bas...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557452", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }