text
string
meta
dict
Q: How can i solve this pub deprecated pub pub get failed command: "C:\src\flutter\bin\cache\dart-sdk\bin\dart __deprecated_pub --directory . get --example" pub env: {enter image description here "FLUTTER_ROOT": "C:\src\flutter", "PUB_ENVIRONMENT": "vscode.dart-code:flutter_cli:get", "PUB_CACHE": "C:\Uenter image descr...
{ "language": "en", "url": "https://stackoverflow.com/questions/75574935", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to get last promise result ONLY? I do a live search: as you enter text into the search bar, results from the database are displayed. Problem: not only results for the final word get into the output, but sometimes along with them - the results of a partially entered word (for example, when you enter the word "scr...
{ "language": "en", "url": "https://stackoverflow.com/questions/75574936", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Antd - is there any way to change Content background color with ConfigProvider? i'm trying to make Content background color change to white with ConfigProvider, so i don't have to change background color in every component. I found solution for Header and Sider, but Content is giving me a little problems. Is there a...
{ "language": "en", "url": "https://stackoverflow.com/questions/75574937", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Problem when trying to update the object of a React state I am making a Todo app. I am trying to give the completed button the ability to change the value of "state" in the object located in the React state from false to true whenever it is clicked. i am not sure how to go about with the handleChange function. impor...
{ "language": "en", "url": "https://stackoverflow.com/questions/75574941", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to update a formula object containing a pipe ("|") Some packages such as fixest use the pipe to separate explanatory variables from fixed effects in formulas. How can I use update() to modify each of those parts? In the example below, I would like to remove z from the right-hand side but keep the fixed effects f...
{ "language": "en", "url": "https://stackoverflow.com/questions/75574944", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "3" }
Q: Job queue with dependencies with python multiprocessing I have a function and a list of jobs: jobs = [[(2, 'dog'), None], [(-1, 'cat'), (0,)], [(-1, 'Bob'), (1,)], [(7, 'Alice'), None], [(0, 'spam'), (2,3)]] I would like to apply the function to the arguments (first tuple) in parall...
{ "language": "en", "url": "https://stackoverflow.com/questions/75574947", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Azure AD B2C ChangePassword custom policy "Invalid username or password." there is a problem with Azure AD B2C custom policy for the password change. I'm combining User Flows and Custom Policies for the Azure AD B2C. Everything works fine: signup, login, reset password, impersonate user. The custom policy for changi...
{ "language": "en", "url": "https://stackoverflow.com/questions/75574951", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Looking for Scala Play openapi(swagger) generator integrated to sbt build I want to configure openAPI(swagger) spec as golden source for Scala Play Server. Akka play + sbt supports out of the box "conf/routes" file. Sbt generates code base on "routes" file on build stage. Functionality of "routes" file is not enough...
{ "language": "en", "url": "https://stackoverflow.com/questions/75574952", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: This of class instance/ object always become undefined after executing experimental class method decorator I am building a web API using Node JS (Express + TypeScript). In my application, I am creating a Typescript experimental decorator for validation logic which can be applied to my controller's action method/ rou...
{ "language": "en", "url": "https://stackoverflow.com/questions/75574953", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Read/Write syscall in FUSE In context of a FUSE filesystem I'm wondering whether the buffer of a read/write syscall (see buf at https://man7.org/linux/man-pages/man2/read.2.html & https://man7.org/linux/man-pages/man2/write.2.html) is allocated in the user space or the kernel space when calling the FUSE. Because of ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75574954", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Make Package Manager download Nuget packages to a specific folder I wanted the Nuget Package Manager in Visual Studio to download packages to a specific folder inside the solution, instead of putting them in the user's subfolder. I found this piece of code that I put in Shared.msbuild: <PropertyGroup> <PackageDire...
{ "language": "en", "url": "https://stackoverflow.com/questions/75574956", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Imap XOAUTH2 not working : NO AUTHENTICATE failed I am trying to connect office 365 mailbox through IMAP with help of this I have also followed the instructions on Official Microsoft Website I am able to get access_token somehow but not able to authenticate with that token. I am always getting : NO AUTHENTICATE fail...
{ "language": "en", "url": "https://stackoverflow.com/questions/75574959", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Echarts-for-react using a navbar for sunburst charts I am using a sunburst chart to display data, however I want to be able to navigate to the children of the root via a navbar. My problem is that I don't understand how to pass the "navigation" command into the sunburst chart. How do I write a function that lets me ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75574962", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: bootstrap 5 grid Grid with half fluid / half container I have a problem with my html code and bootstrap 5. I want to add pictures in a row with the description. Now it looks: and I want to have this: Can you help me with my code? I can't find the answer.
{ "language": "en", "url": "https://stackoverflow.com/questions/75574964", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Add source note in make_subplots that remains at the bottom left fig = make_subplots(rows=2, cols=1) I have the following code. Now what i try to do is to add annotations = [ dict( xref="paper", yref="paper", x=0.0, y=-.075, xanchor="left", yanchor="bottom", ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75574968", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Pine script Barcolor, How to keep the first occurance of the conditions instead of coloring all the bars? i'm trying to use the following code. but the problem is it plots a lot .. how do i just plot the first occurance of each condition i'm trying the following code //@version=5 indicator("My script"overlay = true)...
{ "language": "en", "url": "https://stackoverflow.com/questions/75574969", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Internal server error while passing parameters in API endpoint URL in Python 3.7 I would like to perform a GET operation to an API endpoint. Following is the base URL. #GET /v{version}/lists/{list-id}/terms/{term-id}/preferred-name url = "https://abcd.eu/v{version}/lists/{list-id}/terms/{term-id}/preferred-name" he...
{ "language": "en", "url": "https://stackoverflow.com/questions/75574972", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can I either delete the current sheets and replace them with my new web scrapped data, or just simply replace the data in the sheets existing? Okay I am working on a side project for a Fantasy Football salary league. It uses Sleepers Api and web scraped salary info from Spotrac to automatically update rosters an...
{ "language": "en", "url": "https://stackoverflow.com/questions/75574981", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to append to a file at certain times, and overwrite it at others? In my program, I have a file which stores a list of names. I also have a way of deleting those names - writing the file contents to an vector, then erasing the name from the vector, then writing the contents of the vector back to the file. When a ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75574982", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Does GCC statically estimate code execution time during optimizations? I'm trying the -fopt-info option of gcc to print the optimizations applied. For the following example code (src.c) #include <stdio.h> int op(int x) { if (x >= 0) { return (x + 1) * (x + 2) / 2; } else { return -x; } }...
{ "language": "en", "url": "https://stackoverflow.com/questions/75574983", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Copying a subarray from an array of substrings in c I'm working on a function which is supposed to take an array of elements defined by a struct. typedef struct word{ char word[100]; double weight; } word; The function takes in a pointer, word *words and creates a subarray which includes only the word eleme...
{ "language": "en", "url": "https://stackoverflow.com/questions/75574984", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: jQuery not setting textContent I have a HTML file where I created my buttons and labels with for loop. (Django project) Then, I tried to add some functionality using JS but my buttons don't work. My failed part is +, - and update buttons with their functionality. I don't know whether it is correct approach or not bu...
{ "language": "en", "url": "https://stackoverflow.com/questions/75574988", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Is there any way to install apk from a server from app Is there any way to install apk from a server from app without this permission, <uses-permission android:name="android.permission.REQUEST_INSTALL_PACKAGES"/> I tried this: File file = new File(Environment.getExternalStorageDirectory() + "/download/" + "Deals...
{ "language": "en", "url": "https://stackoverflow.com/questions/75574990", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Django debug toolbar giving error about static file location For the entire time I've been working on this project, I have had no problems with django debug toolbar, but suddenly, when I have it enabled, it gives me the error: The joined path (/images/user/blank-avatar.png) is located outside of the base path compo...
{ "language": "en", "url": "https://stackoverflow.com/questions/75574991", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can I modify an Excel worksheet so that it shows only 10 lines including the bottom tabs? I would like to modify an Excel worksheet so that it reflects only 10 lines, as I want to transfer this 'shortened' worksheet to a document. It does however have to include the bottom tab, which is "Week 1". An attempt o...
{ "language": "en", "url": "https://stackoverflow.com/questions/75574992", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Inconsistent behaviour when using mix-blend-mode with overflow and I'm experiencing a strange result in Safari where it seems the CSS attribute mix-blend-mode seems to stop overlow:hidden of the parent (.numWrap) div from working. The example below is a snippet of the overall project, which is a flip-style timer ap...
{ "language": "en", "url": "https://stackoverflow.com/questions/75574994", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Azure Container Registry Publish Unit Test Results * *I have to execute unit test cases in Azure container Registry (Not using docker hub) and should publish/show test case results in azure devops. *Found options by using docker hub connection. But in my case docker hub not available. *Can able to build & pus...
{ "language": "en", "url": "https://stackoverflow.com/questions/75574995", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Only show first 4 results from query I only want to show the first 4 results from the SQL query. I have tried working with 'break;' but without success. I know I have to place a number variable somewhere (I think) like $x == 4; and $x++; but I'm not sure where. Should it be an outside loop? Any help would be greatly...
{ "language": "en", "url": "https://stackoverflow.com/questions/75574998", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: How to connect to websocket FastAPI Socketio ws.py from loguru import logger import socketio from typing import List def handle_connect(sid, environ): logger.info(f"Socket connected with sid {sid}") class SocketManager: def __init__(self, origins: List[str]): self.server = socketio.AsyncServer( ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75575003", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: how to set DOCTRINE MAKE:ENTITY to use ANNOTATIONS in SYMFONY 5.4? I am new to symfony, and I am trying to make MySQL entities using the command : symfony console make:entity But it generates automatically using the ATTRIBUTES, how can I switch that to using ANNOTATIONS ? I tried using the following command, but it...
{ "language": "en", "url": "https://stackoverflow.com/questions/75575006", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How can I access the model's data in QtQuick (for icons in a ComboBox) I am trying to extend the QtQuick's ComboBox with icons, and I struggle to access the model's data for the currently selected item. I need to have a textRole, a valueRole and my new iconSourceRole (which defines a qrc: url to a .png file). Using ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75575007", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Entity Framework Core 7 DbContext Change Not Published I'm trying to add a trigger to one of my tables and the DbContext change does not seem to publish with the solution. I've added the trigger to the table in question, updated the table in question in my DbContext and when I run locally, it works perfectly. .ToTab...
{ "language": "en", "url": "https://stackoverflow.com/questions/75575009", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to make the script check all "item__sizes" for the number of child elements and replace parameters I need the script to find all "item__sizes" elements and count the number of child elements. If there are 2, then the width of "item__checker" = 50%. If 1, then the width of "item__checker" = 100%. HTML (PHP) <?php...
{ "language": "en", "url": "https://stackoverflow.com/questions/75575010", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: zero f1-score,precision and recall in one of the classe I am working on a 5-class classification problem and the result of the benchmark by classes for the test data is as follows: As you can see, zero value has been obtained for the third class. The question is, is there anything wrong with this result? Is there a...
{ "language": "en", "url": "https://stackoverflow.com/questions/75575011", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: discord.py multiple select menu interactions get mixed up I've been setting up a report interaction for my sim-racing discord community. This interaction exists of two parts: The first part is a view with 4 select menus. Every time one of these gets selected, it puts a check value to 1. Once all four of these check ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75575015", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to add a pytorch model as a resource file to android app in Android Studio I am using the DNN classifier and it requires a Mobilenet onnx file. This is the source code for the project https://github.com/spmallick/learnopencv/blob/master/DNN-OpenCV-Classification-with-Java/DnnOpenCV.java I downloaded the model fi...
{ "language": "en", "url": "https://stackoverflow.com/questions/75575020", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Wizzair blocks traffic from EC2 and OVH VPS even if I use a proxy I wanted to test my webscraping app on cloud environment. At first I have tried EC2 machine, but I realised that wizzair blocks outbound traffic from all AWS's IP address range. Next I have tried OVH VPS and there was the same issue. Next I have added...
{ "language": "en", "url": "https://stackoverflow.com/questions/75575021", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Trying to plot the excess returns and stock prices of the lowest beta companies in a dataframe I'm trying to plot the excess returns and prices of companies of a dataframe with the 5 lowest betas (among others). Currently I come up with a blank plot with betas while my other plots seem to work and I'm stuck on tryin...
{ "language": "en", "url": "https://stackoverflow.com/questions/75575022", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Unable to register component globally in Laravel 9 + Inertia + Vue3 I am very new to Vue3 and Inertia (I have worked with Vue 2). I have been trying to register components globally for ages. Artisan created the following code: createInertiaApp({ title: (title) => `${title} - ${appName}`, resolve: (name) => r...
{ "language": "en", "url": "https://stackoverflow.com/questions/75575027", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Let the user enter words until it stops Display the words longer than 4 characters in UPPERCASE and the shorter words in LOWERCASE i need to do dis but how: Let the user enter words until it stops Display the words longer than 4 characters in UPPERCASE and the shorter words in LOWERCASE i dont understand
{ "language": "en", "url": "https://stackoverflow.com/questions/75575029", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Call to Lambda.invoke with @aws-sdk/client-lambda returns an empty response The below (Angular) component calls a Lambda function using @aws-sdk/lambda-client (v. 3.222.0). Testing the Lambda in the AWS console using the same payload as input is successful. Also, when called from the Angular app - cloudWatch logs pr...
{ "language": "en", "url": "https://stackoverflow.com/questions/75575031", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Laravel Job isn't affected by DB data change.. really? I have Laravel application that retrievies data from external services via API using queued jobs. Jobs can be started both by user or by schedule. I use standart queue:work supervised by supervisor for this. Queue driver is database. I store API settings in DB a...
{ "language": "en", "url": "https://stackoverflow.com/questions/75575033", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Error when compiling LaTeX document in VSCode I'm trying to compile a LaTeX document on VSCode and I'm getting the following error: Cannot view file PDF file. File not found: file:///home/antonioriba/Downloads/.pdf What should I do? I have the LaTeX Workshop extension installed, so I don't really know what could be ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75575035", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Search company name on yahoo finance and get back ticker in python i would like to automate the task of getting the ticker of a certain company by looking it up on yahoo finance. For example: Search for "bmw" on yahoo finance return "bmw.de" is this possible? Many thanks
{ "language": "en", "url": "https://stackoverflow.com/questions/75575038", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: How do i extract the digits from a decimal number in c++? I am a beginner when it comes to c++, and i need some help. At school I learned how to extract digits from a whole number (int). For an example if there is a number with three digits, to get the digits I would write this code: int a,digit1,digit2,digit3; cout...
{ "language": "en", "url": "https://stackoverflow.com/questions/75575045", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-4" }
Q: AttributeError: 'NoneType' object has no attribute 'write' i try to my code python to exe but i got a error "AttributeError: 'NoneType' object has no attribute 'write'". But when i try to run this script in terminal it was fine. But when i convert my python script in exe and try to execute it show the error. This is...
{ "language": "en", "url": "https://stackoverflow.com/questions/75575046", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Stop child overflowing parent I have a page with a sidebar. The sidebar content overflows the page, so I've added overflow-y: hidden and max-height: 100vh to main and overflow-y: auto to the list group to make it scroll but that does not work. The overflowing content is cut off but the scroll bar is not there. mai...
{ "language": "en", "url": "https://stackoverflow.com/questions/75575048", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Count string occurrences in string I've been tasked with trying to get the occurrences of a string from a string. This is in the form of school reports given as a comma separated string. There's three different strings, Green, Amber, Red. I have to count these and output them as a report (of type string) like: Green...
{ "language": "en", "url": "https://stackoverflow.com/questions/75575049", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Is it possible to make a temporary Java JLabel variable? I want to make a temporary name for my JLabel so that I can just change the value when I call the method of the formula but its not working because it treats the name of the temporary variable as a String (I declared it as a String cus idk what else to declare...
{ "language": "en", "url": "https://stackoverflow.com/questions/75575050", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Image Segmentation using MAML algorithm (same objects exist in all tasks) I have an n-takes k-shots medical image segmentation problem. -Tasks: Different human organs ex: liver, spleen, kindness etc... -Shots: 10 CT scans NIFTI images, where all tasks(human organs) exist in all shots, but one of them is labelled to ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75575051", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Portrait workbench in landscape mode Hope someone can tell me in which file and location i can set this; android:name=".MainActivity" android:exported="false" android:configChanges="orientation|screenSize|keyboard|locale|keyboardHidden|uiModel" android:screenOrientation="locked" I'm not familiar with android, but i...
{ "language": "en", "url": "https://stackoverflow.com/questions/75575053", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: 500 Internal Server Error when manually reloading main page in Next.js app deployed on Vercel I have deployed a Next.js app on Vercel and am experiencing a 500 Internal Server Error when manually reloading the main page. The error occurs only on main page and when I reload the page manually, not when I navigate to i...
{ "language": "en", "url": "https://stackoverflow.com/questions/75575055", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Which is the safest between PI OS and Ubuntu Server when hosting your own website? I've been thinking of getting a Raspberry pi and using it to host my website. I know to some extent it's not a good idea, but I still feel like I should do it. So my question is, which is the safest OS I can install to safely host my ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75575057", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: JS, WebGL: how to apply a blur filter on a video frame multiple times I want to apply a blur filter on a video frame using WebGL shader and render result on HTML canvas. The blur filter should be applied multiple times. The result of the first application should be the source for the next and so on. I'm not familiar...
{ "language": "en", "url": "https://stackoverflow.com/questions/75575063", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Playwright opens cmd When I run a playwright code in C#, it opens up many cmd windows: This is the code I use: using (var playwright = await Playwright.CreateAsync()) { var browser = await playwright.Chromium.LaunchAsync(new BrowserTypeLaunchOptions() { Headless = true }).ConfigureAwait(...
{ "language": "en", "url": "https://stackoverflow.com/questions/75575064", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: laravel error in shared host Uncaught Error: Call to undefined function json_encode HtmlDumper.php:157 I uploaded Laravel project on Shared Host "namecheap" and it worked fine, but then this problem appeared. Uncaught Error: Call to undefined function Symfony\Component\VarDumper\Dumper\json_encode() in /home/candu...
{ "language": "en", "url": "https://stackoverflow.com/questions/75575066", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: open liberty won't start app after initial startup I'm using the liberty-maven-plugin v3.7.1 to start an app in liberty (mvn liberty:dev). My pom setting is listed below. When I run this the first time, with no server in the liberty wlp directory, it works. When I stop the server & run a second time, it fails with...
{ "language": "en", "url": "https://stackoverflow.com/questions/75575068", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Laravel: Eloquent collection search is not returning results In my laravel app I'm transforming a JSON file into a laravel collection then I'm performing. I'm executing the method as a laravel command, I'm echoing the variables so I know for certain it's not missing anything. I'm getting error: Illuminate\Support\It...
{ "language": "en", "url": "https://stackoverflow.com/questions/75575075", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to get correct id's on postbacks? I'm generating some dynamic html based on database content, and inserting it as a LiteralControl in one of my webforms pages. it all looks fine, and works, with the exception of a couple of buttons that I add per row of relevant data. I generate the ID's of the buttons to be...
{ "language": "en", "url": "https://stackoverflow.com/questions/75575077", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Adding tooltips to a d3 bar graph This is my first post here I have searched the forum but still cant seem to get the tootips to work correctly on my bargraph. For some reason the variables that i input into the .html are showing up undefined in the tooltip text. also here is link to my codepen: https://codepen.io/...
{ "language": "en", "url": "https://stackoverflow.com/questions/75575083", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Transform a pandas MultiIndex to a single Index using indention I have a pandas.DataFrame with a pandas.MultiIndex like this: Vals Fruits Apples a Banana b Vegetables Tomato c Onion d Potato e Foobar LoreIpsum f I want t...
{ "language": "en", "url": "https://stackoverflow.com/questions/75575084", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Counting All Rows in table except selected current period Power BI CountPrior Hi all, I have a hard time writing a formula that calculates all rows in the table except the selected month. I need to count all the rows (Oct 2022 - January 2023) excluding the selected month (Feb 2023) and of course I need to make it dy...
{ "language": "en", "url": "https://stackoverflow.com/questions/75575085", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: mysql max date condition on joins I wonder if you all can help. I have this query that gets max dated rows from the joined table. However, the join condition removes some entries from the output. Can this be solved so that results that have not been joined still show in the results as NULL or empty? Currently rem...
{ "language": "en", "url": "https://stackoverflow.com/questions/75575086", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to create gradient border for Container in Flutter Figma design I am having difficulty creating a border for a Container in which the color is a gradient. The design is based on a Figma design that I have to code. My idea of wrapping an outer container and padding it inside is not effective. What should I do? cl...
{ "language": "en", "url": "https://stackoverflow.com/questions/75575087", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Whats wrong with how i set up my Kali Linux I'm new to all this and I've downloaded kali Linux and I was trying to see who's connected to my WIFI by running the command 'netdiscover -r ...' it freezes and says 'finished!' I don't think I installed it properly. And I try to follow tutorials on Youtube but everything ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75575089", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: Powershell closing automatic when running .ps1 file When i'm trying to create this .ps1 file: see the full .ps1 markup # Definieer het pad waar de bestanden worden gekopieerd $sourcePath = "C:\Users\Mr.Fox\AppData\Local\Hogwarts Legacy\Saved" # Definieer het pad waar de bestanden naartoe worden gekopieerd $destinat...
{ "language": "en", "url": "https://stackoverflow.com/questions/75575091", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Java preferences file in gibberish directory I designated my prefs in a large java application (in Intellij) as private final Preferences root = Preferences.userRoot(); private final Preferences prefs = root.node("/org/gs_users/gs_mv"); The designation corresponds to the java package name. After I ran the applicati...
{ "language": "en", "url": "https://stackoverflow.com/questions/75575093", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Wordpress Site on AWS Not Available Anymore I have rebooted, and then stopped and started an instance on AWS. Additionally, in Wordpress I've clicked on "Performance -> Purge All Cache". My AWS instance is running again, but I can't reach the site. Even if I click on and open "public IPv4 address" shown in the insta...
{ "language": "en", "url": "https://stackoverflow.com/questions/75575095", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: .NET Maui - controlling sequence after permissions I am new to Maui, so not familiar with the sequencing. How do I reference a tab after instantiation? Should it be through AppShell? I have a Splash Page that gets permissions: public partial class SplashPage : ContentPage { PermissionStatus LocationPermission; ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75575096", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: To bring the selected records from the table to the controller Get method I am trying to bring all the column values like 'RegNo','Customer', 'FleetDate' from the selected rows of the table from the Javascript function EditbreakDown. Currently selected values is passed only if the controller method is HttpPost metho...
{ "language": "en", "url": "https://stackoverflow.com/questions/75575097", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Not really understanding the self keyword in the declaration of the global variable in the below code snippet for leetcode problem 297 This below is the part I am confused about: class Codec: def deserialize(self, data): vals = data.split(",") self.i = 0 def dfs(): if vals[s...
{ "language": "en", "url": "https://stackoverflow.com/questions/75575104", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How can I access my App running on Kubernetes installed in my vagrant machine externally I am trying to access my app externally from my vagrant machine. To run the app on my vagrant machine without Kubernetes I run this command docker run -p 80:80 achebeh/my-react-portfolio I have already dockerized the app and i...
{ "language": "en", "url": "https://stackoverflow.com/questions/75575107", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: ionic capacitor notification when app is close the custom ringtown should repeat until user perform some action like tap or click So I am build a app where my user should get notified like a alarm until the click/tap on notification sound / ringtone for the notification should not stop. Is there any way I can achie...
{ "language": "en", "url": "https://stackoverflow.com/questions/75575109", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Insane throughput slowdown kafka streams using join (kstream & ktable) using jmh and TopologyTestDriver Am trying to measure relative throughput of my kafka streams app using jmh and TopologyTestDriver. This is on an M1 Mac but all numbers are relative anyway so eh. Anyway when piping directly from my input topic t...
{ "language": "en", "url": "https://stackoverflow.com/questions/75575111", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: If the callback of a useEffect contains a state variable not listed in its trigger array, could this create an inconsistency? const [first, set_first] = useState(false); const [is_mobile, set_is_mobile] = useState(false); useEffect(() => { if (!first) { window.scrollBy({ top: is_mobile ? -180 : -195 ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75575112", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: GDB moving my breakpoint from start of a function I've recently installed newest version of Ubuntu on my PC and i wanted to play a bit with stack smashing in VS Code, so i installed it. GDB version: GNU gdb (Ubuntu 12.1-0ubuntu1~22.04) 12.1 I've created my task.json : { "version": "2.0.0", "tasks": [ ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75575113", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to use Retrofit in an android app to communicate with a laravel web page I have developed a web page using laravel. Now I’m making an android app but I need to get data from that web page. I have done some research and found retrofit to achieve that but I’m not sure about how it would be. I’d appreciate any resp...
{ "language": "en", "url": "https://stackoverflow.com/questions/75575118", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How do I replace parts of a formatted date with another value in Libreoffice Calc? I am using Libreoffiec 7.5 (currently the newest version) on Ubuntu 22.04. I have a lot of cells with date values formatted with the German locale (if this matters), like 1.4.2023 4.4.2023 etc. I want to replace the month, or the yea...
{ "language": "en", "url": "https://stackoverflow.com/questions/75575119", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: node js , msvs version invalid option i am trying to use my current version of visual studio with node js but i am encountering an error Please help me I launch this command npm config set msvs_version 2015 It should have link node js to msvs 2015 result: ``msvs_version is not a valid npm option
{ "language": "en", "url": "https://stackoverflow.com/questions/75575120", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Missing Div Card in HTML When using Handlebars I am writing code for a website in js and handlebars and can't figure out how to get the website to show the element when using the {{#each}} tag for every item in my SQL database. The Handlebars Code: <section class="pb-4 pt-4"> <div class="d-flex mb-...
{ "language": "en", "url": "https://stackoverflow.com/questions/75575121", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Many mqtt ClientBuilder in Php I would like to have several ClientBuilders in php and have them all run at the same time. At the moment I can create one but when I add a new one, the part : $mqtt->loop(true) blocks the execution of the new ClientBuilder. At the moment I use the ClientBuilder and I proceed in the fo...
{ "language": "en", "url": "https://stackoverflow.com/questions/75575122", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Placing an element within scaled + transformed div based on outside cursor position After four hours of head-scratching, I think I need some help. Will try to explain it as well as possible. I'm trying to place a pin on a map that can be zoomed in and moved around. The scaling happens with the use of PanZoom script ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75575125", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How do I load form data based on variable? I am trying to load a form when a button is clicked. The form should show a label based on which button is clicked. When I run the code below everything works correctly EXCEPT after I go thru the buttons the variable from the last button is the only one that displays no m...
{ "language": "en", "url": "https://stackoverflow.com/questions/75575126", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Why is not this switch to the point (context) where it was called? I'm implementing in locker in this thread-like library. However, it's suppose to run the statement in the main thread, check if the locker was released, back and forth, until it's the mutex released. So let's say I have this piece of code inside a fu...
{ "language": "en", "url": "https://stackoverflow.com/questions/75575131", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Status Code: 419 Referrer Policy: strict-origin-when-cross-origin on laravel vue inertiajs I'm trying to develop web app using laravel, vue and inertiajs. My web app is running on local with no error. But on server throwing 419 PAGE EXPIRED and Referrer Policy: strict-origin-when-cross-origin when I'm trying to logi...
{ "language": "en", "url": "https://stackoverflow.com/questions/75575133", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Returning an intersection of two interfaces I am running into a bit of a head scratcher. I have an interface that describes an object which represents some state. export enum Status { Pending = 'pending', Complete = 'complete', } export interface State { status: Status } I also have an interface which basica...
{ "language": "en", "url": "https://stackoverflow.com/questions/75575138", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Keep always getting "maximum recursive updates exceeded" in my component, with no recursive call I'm bulding a shopping list generator app with Vue3, I do call some functions on life cycle hooks such as updated() or mounted(), but not as much as I think I would need to get the "maximum recursive updates exceeded" me...
{ "language": "en", "url": "https://stackoverflow.com/questions/75575139", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Fixing HTML Page Structure on CMS I was tasked at work to fix some accessibility issues on one of our websites and would like some help. Our websites were built on AEM (Adobe experience manager) and we are not able to change the markup, other than adding/removing classes. The structure of the markup generated by AEM...
{ "language": "en", "url": "https://stackoverflow.com/questions/75575144", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to replace special characters in attributes of XML while retaining XML structure in Java Below is a sample of XML i receive, i need to replace few special characters in the attributes and send it over ( xmlString.replaceAll("\[^A-Za-z0-9#&',-.\]", "")), please refer to the last attribute for example Is there a w...
{ "language": "en", "url": "https://stackoverflow.com/questions/75575146", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Liquid theme product field item to cart I have been trying to add a custom field to my product and it's showing in product page but not in the cart. I have been going through the steps from : https://community.shopify.com/c/shopify-design/product-pages-get-customization-information-for-produ... I have added an examp...
{ "language": "en", "url": "https://stackoverflow.com/questions/75575148", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Does not recognize the error and crashes the bot When a person writes an incorrect link, the bot sends a message that he started looking for a song and just turns off. In this case, the catch method does not work. Is it possible to somehow check if the link is correct and if it is incorrect to issue an error? Code: ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75575151", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can I get the intersection point of two crossing ecdfs in R? I have two ecdf plots using below code: ecdf1 <- ecdf(data1) ecdf2 <- ecdf(data2) These plots are crossing each other. I need to take the crossing point (intersection point) coordinates. How should I do this in R? A: Lets' create a reproducible examp...
{ "language": "en", "url": "https://stackoverflow.com/questions/75575152", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Iterating through custom map && handling several streams I'm new to C++ and not 100% sure how I can iterate over maps. For the project, I need to have a map that stores key: [name of file / stream] and value: [logger::severity]. Among the filenames there might be an object of ostream cout. I came up to pretty much ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75575153", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: npm package: Sourcemap for *path* points to missing source files I've created a private npm package which is built using tsc. The package works as expected, but when I install it into other projects, Vite is giving multiple warnings that Sourcemap for *path* points to missing source files. The generated sourcemap fi...
{ "language": "en", "url": "https://stackoverflow.com/questions/75575155", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to contact strings with spaces? var sentence1 = 'to be'; var sentence2 = 'or not'; var sentence= 'to be or not'; console.log('to'+ ' ' + 'be' + ' ' + 'or' + ' '+ 'not'); Code is incorrect. The first string should be 'to be'
{ "language": "en", "url": "https://stackoverflow.com/questions/75575159", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: React modularity - import builded app to host (like in Module Federation) I have developed an application in react using module federation but I am thinking about one application "Host" deployed in AWS S3. I am thinking about other modules (separated react application) builds copied to a specific folder like 'Module...
{ "language": "en", "url": "https://stackoverflow.com/questions/75575169", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Deleting the last line of a file in Haskell I am a beginner to Haskell and am trying to rewrite one of my shell scripts in Haskell as a test. One of the things I am trying to accomplish is removing the last line of a file and reading its value. I tried to use readFile and then writeFile, but I can't because it is la...
{ "language": "en", "url": "https://stackoverflow.com/questions/75575171", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Best way to dynamically define a type to a function that returns an utility object based on the properties of object passed as parameter I am trying to create a function that normalizes an input representing a series of potential filters to be applied to a query. A filter is an object that can contain some attribute...
{ "language": "en", "url": "https://stackoverflow.com/questions/75575172", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: websocket endpoint fails in Tomcat 10 but not 9 I have moved up to Tomcat 10 and websocket endpoint no longer works/registers. It worked as expected in Tomcat 9, but fails in 10. Per Websocket Server Endpoints not working on tomcat, I changed the imports to use Tomcat 10's jakarta packages/api's, but had no effect....
{ "language": "en", "url": "https://stackoverflow.com/questions/75575173", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Inheritance from a User class. How can I access child's class methods? My teammates and I were introduced to object oriented programming more than a year ago in college. It wasn't difficult to understand, and we have designed and implemented different apps and situations. But there is a recurrent problem that we hav...
{ "language": "en", "url": "https://stackoverflow.com/questions/75575174", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }