text
string
meta
dict
Q: Open Outlook Mail Window from a blazor webassembly application I have a blazor Web assembly and I need to pop open a outlook compose mail window from an account on the client machine who is already logged in to outlook email. I am trying to use the Microsoft office outlook interop COM reference and it is not working...
{ "language": "en", "url": "https://stackoverflow.com/questions/75585878", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Using MediaPlayer in eclipse using JavaFX 19 I am attempting to learn JavaFX and are doing some tinkering with mediaplayer. My program has a simple idea; A button, that when it is clicked, plays a sound effect. While programming such things, i get a huge error. Sample code: import javafx.application.Application; imp...
{ "language": "en", "url": "https://stackoverflow.com/questions/75585883", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: List azure aks containers that haven't been restarted in 31 days or more and are at least 31 days or more old with python sdk? I'm trying to get a list of azure aks containers that haven't been restarted in 31 days or more, are running, and are created at least 31 days ago. from azure.mgmt.containerservice import Co...
{ "language": "en", "url": "https://stackoverflow.com/questions/75585887", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Grafana count of unique values by field Using Grafana with the Loki source, I would like to know how to group rows by ctx_username and have a ctx_username_count It would transform my data from | ctx_username | ... | | -------------|-----| | username_1 | ... | | username_1 | ... | | username_2 | ... | | usernam...
{ "language": "en", "url": "https://stackoverflow.com/questions/75585888", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: React Table component with multiple groups Im trying to find a React Table tree component with drag & drop like this structre--> http://sc.com.ly/show/454d8cfc-6fe2-455e-a91c-4c15aefb1868 Im using MUI Material UI for my adminpanel but unfortunately the don´t offer it. I will be thanksful if anyone can help with this...
{ "language": "en", "url": "https://stackoverflow.com/questions/75585892", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Kubernetes Ingress - Refuse connection if no match or IP (i.e. disable defaultBackend and don't respond at all) How? For PCI we need to make sure that absolutely no response comes out that isn't in TLS with a valid certificate. That means that even responding with a certificate that doesn't match the domain is not a...
{ "language": "en", "url": "https://stackoverflow.com/questions/75585893", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to disable floating word from main page in JS? Good evening! For the third day I can't figure out the code that is very interesting to me. I don't understand which variable is responsible for the floating three letters on the main page. INDEX <script> // Parse location const url ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75585895", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: wtforms enum TypeError: object of type 'enumVar' has no len() Using Flask, SQLAlchemy, WTForms against an MySQL DB. Imports from flask import Flask, render_template, request, url_for, flash, redirect from waitress import serve from flask_sqlalchemy import SQLAlchemy from flask_wtf import FlaskForm from wtforms_alche...
{ "language": "en", "url": "https://stackoverflow.com/questions/75585897", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Problem getting an apk of my application in flutter, with the command "flutter build apk" When I execute the command, everything goes well and it even gives me the application file, which I can install, but when finished I get these errors: w: Runtime JAR files in the classpath should have the same version. These fi...
{ "language": "en", "url": "https://stackoverflow.com/questions/75585899", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: fontawesome icons only works after /public folder I have this problem with FontAwesome icons, where they only show and work after I access the laravel project after I put /public at the end of url (eg. www.example.com/public) If I point my server to public folder and access the project as (www.example.com) then Font...
{ "language": "en", "url": "https://stackoverflow.com/questions/75585901", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can I create a readonly Observable that depends on an Angular @Input() value? I often have the case where I need to define an Observable field that depends on the value from an Angular component @Input(), such as @Input() id: string. I would like to write something like the following: export class DataViewerComp...
{ "language": "en", "url": "https://stackoverflow.com/questions/75585902", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Enable rear camera with HTML5 for all devices and all web browsers (not native app) There is an older exchange related to "Enable rear camera with HTML5" but it's very old. Does anyone have any updated information in 2023 on how to achieve Enable rear camera with HTML5? Specifically on Apple devices, but also on n...
{ "language": "en", "url": "https://stackoverflow.com/questions/75585905", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: XML Parser with Java Script to Serialize and Deserialize i'm looking for open source XML Parser for java script. Im programming automations with hardware called Plc. I'm able to import code in so called "global modules" (PLC framework). For me the best way to import 3rd party js code to my PLC code (im js beginner, ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75585910", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How to display array of objects with flatlist react-native I have a react native app. And I have a parent child relationship with two components. And a user can navigate from one component to a another component. But the problem is that if the user navigates to the other component the data from the backend is not di...
{ "language": "en", "url": "https://stackoverflow.com/questions/75585914", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Java : get all properties of an object recursively This is pure Java core. I have a class Message like this : class Message { private int id; private String status; private List<Message> children; //getters, setters, methods } Each Message object has a list of children of same type Message. And each ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75585919", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Flutter http get unauthorized error problem Future testGet() async { const String postUrl = 'https://api.collectapi.com/time/timezone?data.city=paris'; Response res = await get( Uri.parse(postUrl), headers: { 'content-type': 'application/json', 'Authorization': 'apikey 2BL...
{ "language": "en", "url": "https://stackoverflow.com/questions/75585920", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Is there a way to preserve secondary address information in HERE maps geocoding response? I'm implementing the HERE Geocoder API v6 (https://developer.here.com/documentation/geocoder/dev_guide/topics/resource-geocode.html) to normalize a bunch of addresses. However, the response that the API returns drops the second...
{ "language": "en", "url": "https://stackoverflow.com/questions/75585922", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to maintain aspect ratio of div grid element, to always have correct margins on top/bottom or sides? I have a page that is split into main content and a footer, the two of which are grid elements in a parent container. The footer should be a fixed height, and the main content should be the rest of the screen hei...
{ "language": "en", "url": "https://stackoverflow.com/questions/75585923", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Listing div's if dropdown value = x, what might be the problem? I'm listing businesses, and I want to filter them by brand. I have a function to do it, but unfortunately i don't know why doesn't it work. It makes the list elements disappear, and reapper if 'ALL' is chosen, but not showing anything if something speci...
{ "language": "en", "url": "https://stackoverflow.com/questions/75585925", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: R printing an data.table like tibble with corrections dt <- data.table(a = c(1, 2, 3), b = c(1, 2, 3)) class(dt) <- c('tbl', class(dt)) # # A data frame: 3 × 2 # a b # <dbl> <dbl> # 1 1 1 # 2 2 2 # 3 3 3 But it is not a data.frame, it is a data.table. Please give me some tips on ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75585928", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Avalonia OpenFolderDialog causes "Call from Invalid Thread" when used in ReactiveCommand When using a ReactiveUI ReactiveCommand to launch an OpenFolderDialog, it throws an InvalidOperationException "Call from invalid thread". It launches fine if the button command binds straight to the method itself, but I was wond...
{ "language": "en", "url": "https://stackoverflow.com/questions/75585930", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to compare information from a file in python So I have a file and I want to compare it with my user's input so that the file's information may equal what the user has inputted. In the reg_login.txt it holds information. Username = Emmanuel, Password = emman Username = Emmanuel, Password = em I want the code t...
{ "language": "en", "url": "https://stackoverflow.com/questions/75585931", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-4" }
Q: (SOLVED) How to create a pdf download button? [SOLUTION]I needed to make the {{ product.pdf }} to {{ product.pdf.url }} I am trying to create a button to download PDFs as a begginer. This is the code: index.html: <a href="{{ product.pdf }}" download> <button class="text-bg-success rounded mx-auto border-0 shadow ro...
{ "language": "en", "url": "https://stackoverflow.com/questions/75585932", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Unable to export Jupyter notebook to Python Script in Azure ML Studio I am stuck on step 5 in this Azure tutorial: Whenever I try to export to Python, I get a little message that says "Python export started, please wait..." that shows up for about 2 milliseconds, then disappears, with no popup or error message on m...
{ "language": "en", "url": "https://stackoverflow.com/questions/75585933", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: GROUP BY, then WHERE, then COUNT in SQL given a database If we are given a database that looks like this: Say table name: 'tbl' row # course_id eval_type eval_date Passed? 1 000 test1 2020-09-01 Y 2 001 test2 2020-10-01 N 3 000 test1 2020-09-02 Y 4 000 test1 2020-10-11 Y 5 000 test2 2020-09-01 Y 6 ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75585934", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Sub Dropdown menu Disappearance I've been creating a navbar, and made some drop downs. For some reason, my submenu/sub or nested navbar doesn't seem to actually stay when I try to hover upon it. Is there something I should do to actually enable it? I've tried using jQuery (as shown below), using the + operator in CS...
{ "language": "en", "url": "https://stackoverflow.com/questions/75585935", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to solve 'Error in grid.call.Graphics' when saving a flextable I have a function in a container that takes data and generates a line plot, and saves the result as a png. There are about 50 companies and saves 10 images for each, so it loops through each one and generates 500 pngs. Without fail, on the 11th compa...
{ "language": "en", "url": "https://stackoverflow.com/questions/75585937", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Input elements within popup window do not respond to user input I have a pop up window with two input elements that do not respond to user input. In the past, I've had input elements with a very similar setup that respond to user input just fine. I'm not sure if this is caused by there being a delay with the asynchr...
{ "language": "en", "url": "https://stackoverflow.com/questions/75585941", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Dynamically pass patched function to unit test I have a router function which takes a CLI command and executes the corresponding function: def router(value) actions = { "in": in_action, "out": out_action, } actions[value]() I'm looking to write a test that checks that a given input value...
{ "language": "en", "url": "https://stackoverflow.com/questions/75585943", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Super Linter Exclude not working on MD files on github actions workflow I am trying to exclude .md files from my super linter because it gets caught every time but can't seem to figure it out can someone help? jobs: super-linter: name: Lint code and merge runs-on: ubuntu-latest steps: - name: Ch...
{ "language": "en", "url": "https://stackoverflow.com/questions/75585947", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Angular Prerender Problem Jumbotron preloaded image small parts of image on left side The problem: when the web page first loads, the jumbotron image first shows up in small parts on the left side and the text is duplicated, then after a fraction of a second everything is normal. Image before fully loaded. This is a...
{ "language": "en", "url": "https://stackoverflow.com/questions/75585949", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to redraw table with data coming from an html string? I'm using the plugin Datatables in my ASP.NET Core 6.0 project. I have an view component where I'm rendering a loop of rows that compose my table. I added some filter in main view. The problem is, when I redraw the table with the data already filtered, some e...
{ "language": "en", "url": "https://stackoverflow.com/questions/75585951", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How do I patch SharePoint using PowerShell remote (WinRM)? Thera are a lot of material about patching Windows using PowerShell. And some about patching remotely. When optimizing/stabilizing patches for SharePoint they should be applied in separate batches. * *OS Patches *SQL Patches *SharePoint Patches To great...
{ "language": "en", "url": "https://stackoverflow.com/questions/75585955", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to store information about type to use in a procedural macros? I have: trait XrlpType<T> { pub fn type_code() -> u16; } That is each XrplType<T> type has a type code that is a small integer (determined by the type T). In a procedural macro that derives from a struct, I tried to sort based on field types: le...
{ "language": "en", "url": "https://stackoverflow.com/questions/75585958", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: "FastCGI process exited unexpectedly" intermittently occurring on PDO connect with identical files NOTE: This is a significant rewrite (and retitle) based on the last couple of days of poking at the problem since posting the original question. I have a PHP script that used to work but over the last several months i...
{ "language": "en", "url": "https://stackoverflow.com/questions/75585959", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Manually validate using javax.validation I have a stupidly complex object that may (or may not) contain an email address (or phone number, or any number of other Json encoded stuff). My issue is that i want to use javax.validation to validate it. My understanding is that i need to do Bean validation and create my ow...
{ "language": "en", "url": "https://stackoverflow.com/questions/75585960", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Split collapsed value in dataset into separate rows based on specific separate sign I have dataset like this: structure(list(variable = c("avenir census and treatment data clinepi round 2::form.childpresent | avenir census and treatment data clinepi round 1::form.childpresent | avenir census and treatment data cline...
{ "language": "en", "url": "https://stackoverflow.com/questions/75585967", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Is it possible to configure Log Analytics to capture information from Azure SQL Server automatic backups? I need to extract information like (Date, time, if it was successful or not) from the automatic PITR backups of Azure SQL Server, does anyone have any experience about? I tried ingesting through log analytics, b...
{ "language": "en", "url": "https://stackoverflow.com/questions/75585969", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can I remove time range in scatter plot? I’ve added a time range to a Scatter Plot in Quiver, however I can’t seem to delete it. How does it work ? And how am I supposed to remove components from one another ? A: From your problem, I take it that you are not able to delete a widget you’ve added that’s linked to...
{ "language": "en", "url": "https://stackoverflow.com/questions/75585971", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to determine X, Y, Z position in a numpy 1d array? I need the x-, y- and z-positions of finger and thumb in order to calculate the grip aperture from a data file. I have a NumPy array - so confused. Is there a code to do this or will I need to provide the data set file which is a txt file.
{ "language": "en", "url": "https://stackoverflow.com/questions/75585973", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Setting the cookie domain for AWS ALB OIDC We've got a number of webapp testing environments that we've preivously gated with IP whitelists, but maintaining those is tedious and error-prone. For the new revision of the environment I've added an OIDC authentication rule to the ALB which has been working just fine. Ho...
{ "language": "en", "url": "https://stackoverflow.com/questions/75585974", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: I have used alienForm foerver. Recent my host (ionos) requires SMTP authentication to use it now. What do I need to get it to authrorize? $smtp_server = 'smtp.ionos.com'; The perl script I used is AlienForm by jon hedley. Now that ionos requires SMTP Authorization, i have stumped as to how to include it. I am ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75585976", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Using Python to solve matrix equations to return corresponding arrays We want to write the above equations in matrix form as F = Kx - b. Write a function that takes the ki and Li values as inputs in 1-D arrays and returns the arrays corresponding to K and b. This is my code so far: import numpy as np import random f...
{ "language": "en", "url": "https://stackoverflow.com/questions/75585977", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to validate if the event originated from a click on the "Remove Items" button or the "change of option" in a Choices JS component In a Choices JS component, whenever an item is removed from the list or an item is selected, the 'changes' event is fired. The problem is that if I remove an item I need to run a spec...
{ "language": "en", "url": "https://stackoverflow.com/questions/75585979", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Prevent being able to drag webpage to the side - ipad safari How can I prevent my webpage from being able to be dragged off to the side on an ipad? Images attached because I'm not sure how to describe it. This when I place my finger on the screen and drag to one side. When I try to drag other web pages off the scree...
{ "language": "en", "url": "https://stackoverflow.com/questions/75585982", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Passing a struct field as function parameter gives segmenttation fault? new to C, I want to write a function taking 2 arguments, a file name and string. It should say if the string is in the file. The function is as follows: ` void find_string(char *filename, char *s) { FILE *in = fopen(filename, "r"); int i...
{ "language": "en", "url": "https://stackoverflow.com/questions/75585987", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Django filter for not null I have a filter defined as such: class MessageFilterSet(filters.FilterSet): seen = filters.BooleanFilter(field_name="seen_at", lookup_expr="isnull") And it sort of works. But it's the wrong way around, passing seen=True will return all the unseen messages. I don't want to have to chan...
{ "language": "en", "url": "https://stackoverflow.com/questions/75585988", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Why am I getting a Failed to load module script error when connecting reactjs with firebase? I'm new to reactjs and I'm trying to connect my react application with Google Firebase Database. I am running into this "Failed to load module script: Expected a JavaScript module script but the server responded with a MIME ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75585990", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Console was stuck on a runApp message or " Loading required package: shiny" I have built a Shiny flexdashaboard at local, but my shinyapp only works occassionally. Sometimes the console pops up the message loading required packages: shiny, lisiting on [url], and the shiny stucks. I have looked for the different solu...
{ "language": "en", "url": "https://stackoverflow.com/questions/75585993", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: open cv cv2.imread a grayscale image pixel values I am attempting to load a grayscale image using cv2.imread for further blob extraction. To start I have an image (as seen below) for which black pixels have values (typically between 0 and 1) and white pixels have value of 0. I would like to resample this image to b...
{ "language": "en", "url": "https://stackoverflow.com/questions/75585994", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: JavaScript fetch returns TypeError: NetworkError I made a small weather app. It uses the following JS code to get the weather data from weatherapi.com. This worked perfectly fine. I was changing some values in my CSS when it suddenly stopped working. I tried undoing the changes to the CSS, but it didn't fix the prob...
{ "language": "en", "url": "https://stackoverflow.com/questions/75585995", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Error: Unable to copy file ob\debug\filename.exe to bin\debug\filename.exe when creating winform VB I am creating my first winform VB and I am trying to add the ability to click on gridview row to edit it. When I write the following as a test I get no errors: Private Sub DataGridView1_CellClick(sender As Object, e ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75585997", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Robot Framework - How to use Run Keyword with a named argument I am using Robot Framework to test the functionality of a webpage and, long story short, I'm creating a keyword to wrap executing a webpage check with Run Keyword and Return Status and giving it the keyword via arguments (which are accepted in the same w...
{ "language": "en", "url": "https://stackoverflow.com/questions/75585999", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Trying to use c language but i cant run the programm I have downloaded gcc,g++,gdb and the extensions for vs code(coderunner and c/c++) but the programm doesnt run Also i changed the string off C at the json file from coderunner i did not find anything to solve my question
{ "language": "en", "url": "https://stackoverflow.com/questions/75586003", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-5" }
Q: PSYCOPG2 INSTALLATION AND ERRORS I just installed psycopg2 and psycopg2 binary on windows 10.am actually watching a course on udemy After installing psycopg2 and binary I went to settings.py and did some changes'default': { 'ENGINE':'django.db.backends.postgresql', 'NAME':'modebayo', 'USER':'postgres', 'PASSWORD':'...
{ "language": "en", "url": "https://stackoverflow.com/questions/75586007", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Kafka AKHQ error preventing app from running I've downloaded the Kafka AKHQ app from https://github.com/tchiotludo/akhq I'm getting the following error after running the file: "C:\Program Files\nodejs\npm.cmd" run start Compiled with warnings. Failed to parse source map from 'data:application/json;base64,': SyntaxE...
{ "language": "en", "url": "https://stackoverflow.com/questions/75586008", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: GitLab CI can't find composer.json in container I am having a problem with my GitLab CI pipeline. For my Laravel project, I have an install stage, which should install my composer packages. Here is the pipeline code for composer: include: - project: 'gitlab-ci/templates' ref: v1.0.0 file: 'pipeline-templat...
{ "language": "en", "url": "https://stackoverflow.com/questions/75586009", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Pandas keep latest row update Suppose I have a dataframe that looks like: Contact Amount Last updated 0 011000111 2 2023-01-01 1 011000111 2 2023-01-02 2 011000112 2 2023-01-03 3 011000112 2 2023-01-04 4 011000112 2 2023-01-06 5 011000111 2 2023-01-07 6 01...
{ "language": "en", "url": "https://stackoverflow.com/questions/75586013", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: I want to do np.searchsorted but with an extra column as criteria I have an array with these vectors inside as follows: A = [3,4,3,4,5,6] B = [x,x,x,y,y,f,f] C = [2,3,7,8,9,10] I want to use np.searchsorted to find the indices of C that are closest to but smaller than A for each name in B. For instance,...
{ "language": "en", "url": "https://stackoverflow.com/questions/75586015", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: I need to display the score and top five winning scores from an external file however I am not sure how to do so on python I need to sort from an external file and sort them from the biggest number such as 50 , Andrew being the person with the biggest score and then 0 , Andrew however I have been unable to do so. I ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75586018", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Pine Script: How to display a line starting at a specified Hour:Minute if it falls timewise in the middle of the candles? I want to draw line e.g. @09:48 New York time, but i want it to draw it even if the resolution is 5m or 15m etc. In order to do so, i have to get the Minute part from the session "8" and round it...
{ "language": "en", "url": "https://stackoverflow.com/questions/75586019", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Swipe hand icon animation with CSS html { background: #4F4F4F; } .path { content: ""; width: 20px; height: 20px; position: absolute; background: rgba(149, 147, 241, 0.5); border-radius: 40px; top: 28px; left: 78px; } .hand-icon { position: relative; background-image: url('h...
{ "language": "en", "url": "https://stackoverflow.com/questions/75586021", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Missing ) after arguement list error while working on chrome extension The javascript code for my chrome extension keeps returning "uncaughtSyntaxError: Missing ) after arguement list... Lines 11 & 15" The description on the chrome website for the remove() function don't have a () anywhere in the arguement list. C...
{ "language": "en", "url": "https://stackoverflow.com/questions/75586022", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-4" }
Q: how to extracting Strings from List, before storing in Firebase? Flutter I've a parent screen 'EditProfieScreen" and a child screen. After picked some items from the child screen, they are reflected in the parent screen using the 'callback' function as a list. The original list was structured with 'id', 'name', 'isS...
{ "language": "en", "url": "https://stackoverflow.com/questions/75586029", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Running docker image locally I am working for company i want to test docker images locally. i built image but now i am not able run it. It's returning an error. And i also want to check security issues on Jfrog artifactory. docker run node:18-alpine3.17 Unable to find image 'node:18-alpine3.17' locally docker: Error...
{ "language": "en", "url": "https://stackoverflow.com/questions/75586030", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: A simple problem with buttons in HTML and CSS I have this website with six buttons (the white squares), three per row, and some text above the blue gradient. I want all of them to be always at the center, even when I resize the window. enter image description here the website full windowed enter image description he...
{ "language": "en", "url": "https://stackoverflow.com/questions/75586031", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: transparent div background without effects other elements in that div how to make a transparent div background without effects other elements in that div ? Itried the opacity but the all elements were effected A: If it is just a matter of background, you could use something like color: rgba(0,0,0,0) to get a transp...
{ "language": "en", "url": "https://stackoverflow.com/questions/75586033", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Allow Azure registered app to update it's own credentials I want to run the following commands az login --service-principal -u 00000000-0000-0000-0000-000000000000 -p secret --tenant 00000000-0000-0000-0000-000000000000 az ad app credential reset --id 00000000-0000-0000-0000-000000000000 --cert "@./azureappcert.pem...
{ "language": "en", "url": "https://stackoverflow.com/questions/75586034", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to infer type of interface property by passing its property as argument? here is my example: export const getField = <T extends Record<string, any>, K extends keyof T = keyof T>(fieldName: K) => { const record = injectRecord<T>(); // sideEffect return { field: record[fieldName] }; }; // in real life here w...
{ "language": "en", "url": "https://stackoverflow.com/questions/75586038", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Unable to get static assets in a rails app: ActionController::RoutingError (No route matches [GET] "/assets/application.css") I'm not able to get the different assets served in a dockerized rails production environment (RAILS_ENV=production) on my local computer. These files actually do exists in the public/assets/ ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75586041", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Audio bytes receive and play Python I'm trying to get bytes of my .wav file and receive that on my client side to play. I'm writing code on Python Kivy, gets audio from mic, gets bytes like \x00 on client/server side, but how I can decode this on client side to play? Or can I get numpy array from bytes like '\x00'? ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75586043", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Why cant I find the sin of a function with arange in python (jupyter notebook) Hey! I'm trying to solve an integration question but I keep on getting a long error. from numpy import * from sympy import * from scipy.integrate import simps a = 0 #bottom bound b = pi/2 #upper bound n = 200 #interval dx = (b-a)/n #given...
{ "language": "en", "url": "https://stackoverflow.com/questions/75586048", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to parse a string map from JSON to a JavaScript object? I have a response formatted like the below coming from a backend API. { record_type: type_1 "record_text": "AAA000000010000000101020220903600666 XXXXX001 0000000002023020309011920230203160120AF9E4E032XXXXXXX/XXXX/XXXXXXXX/XXXX_XXXXX...
{ "language": "en", "url": "https://stackoverflow.com/questions/75586049", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: Joining worker nodes to kubernetes cluster hangs forever I've created my Kubernetes cluster with command sudo kubeadm init --pod-network-cidr 192.168.0.0/16 I installed the Calico network add-on on my control plane node kubectl apply -f https://raw.githubusercontent.com/projectcalico/calico/v3.25.0/manifests/calico...
{ "language": "en", "url": "https://stackoverflow.com/questions/75586051", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How add acf fields relationship ACF in the JSON wordpress api? I try to use wordpress API to build my back-office more easy. For this I must make relation between CPT UI post. I use the ACF and ACF recursive plugin for help me in this. But in the json 'http://localhost:10018/wp-json/wp/v2/plays' for example, i don't...
{ "language": "en", "url": "https://stackoverflow.com/questions/75586053", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Segmentation Fault (Core Dumped) Pointers, strings and arrays I have these three files main.h, 4-main.c and 4-print_rev.c and all three are required to print a string in reverse. I am not permitted to use standard libs, hence the reason for not using strlen() or printf() and I have to use _putchar() which performs s...
{ "language": "en", "url": "https://stackoverflow.com/questions/75586055", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Why are my string variables from my file getting printed over? When I do my getline from the file and go to print that line it will get printed over if I try to print something on the same line as the variable. The last line of output is the only one that works correctly. #include <iostream> #include <string> #inclu...
{ "language": "en", "url": "https://stackoverflow.com/questions/75586058", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: holoviews, panel, hvplot - linked selection doesn't reset when using dropdown I have a dropdown, a chart and a table interlinked. All works fine, except when I make a new selection from the dropdown, the brush selection doesn't reset itself and I have to click refresh on the chart to see new values corresponding to ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75586061", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Can the use of child processes be problematic in Docker containers running in Kubernetes pods? As an IT contractor, I was tasked with fixing an issue in a client's software which made simple use of a third-party library to encrypt or decrypt byte strings. For reasons relating to AWS temporary access tokens, the libr...
{ "language": "en", "url": "https://stackoverflow.com/questions/75586063", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: getting "authorization failed" when deploying a cluster on magnum openstack resources.kube-master:Authorization failed although all the rest of my openstack servicrs work perfectly , everytime i try to launch a k8s cluster using Magnum it always gives me this error default-master Resource CREATE failed: Authorizatio...
{ "language": "en", "url": "https://stackoverflow.com/questions/75586065", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: R: Improving efficiency of getting sum of differences in R Purpose: past vector is the set of o3.cpts found in the past period. current vector is the set of o3.cpts found in the current period. Each o3.cpt has a set of numbers that are associated with the code (PCs in numbers data frame). I am trying to get the sum ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75586067", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: K means self-developped vs K means on skikit learn So I am trying to learn the K-means clustering algorithm, and my way of learning is trying to rebuild Kmeans on my own. Here is the data: https://www.kaggle.com/code/agajorte/people-body-mass-index-clustering And this is the imaginary problem: "Given the data of hei...
{ "language": "en", "url": "https://stackoverflow.com/questions/75586069", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Issue with saving value of nested Rows in HandsOnTable I'm creating a Table Editor with the handsOnTable library and am having some issue saving the value dynamically, the rows that are parent i.e. __children = null, i.e. parent row has a set of values which get saved on edit, but when I try to change nested row val...
{ "language": "en", "url": "https://stackoverflow.com/questions/75586072", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: JMX Not visible in jvm option in application registered in spring boot admin dashboard After migrating spring-boot-admin-starter-client version to 2.7.8, the jmx option is not visible in jvm option of my application registered on spring boot admin dashboard.I added the below dependency. implementation group: 'de.cod...
{ "language": "en", "url": "https://stackoverflow.com/questions/75586074", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Unable to get background jobs to work with Shiny.Jobs on iOS I am trying to get background jobs to work on iOS using the Shiny.Jobs library. I get the following error: Shiny.Jobs.Infrastructure.JobsStartup: Warning: Permissions to run jobs insufficient: NotSupported If I try and run the job manually it runs. If I us...
{ "language": "en", "url": "https://stackoverflow.com/questions/75586076", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: how to containerize a laravel application with one dockerfile? I have a laravel application which i would like to run into a docker container in one dockerfile (in fact i use kubernetes as orchestrator so docker-compose as i saw in many tutorial is not adequate in this case). here is my dockerfile : FROM alpine:3.11...
{ "language": "en", "url": "https://stackoverflow.com/questions/75586077", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Mount external and partitioned delta table in Databricks I have an external delta table partitioned by year in my storage, so when I try to "mount" the delta in Databricks table using this code: CREATE TABLE if not exists profitek.products USING DELTA LOCATION '...
{ "language": "en", "url": "https://stackoverflow.com/questions/75586081", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Ignoring None as one of the values I need to plot two sets of data on the same chart with error bars. But I don't have one of the measurements. days = [0.43, 1.72, 3.97, 4.81, 9.54, 10.9] magB = [None, 3.36, 3.9, 4.27, 5.47, 5.59] magV = [10.8, 2.88, 3.59, 3.89, 5.57, 5.82] fix, ax = plt.subplots() plt.xlabel("days...
{ "language": "en", "url": "https://stackoverflow.com/questions/75586082", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to create a seed for future use when using Python import random module? I'm very new to coding, so hopefully this makes sense! I had some help writing a Python code that would randomly sample from a very large collection of documents and package this sample into ZIP files. From my understanding, this uses the im...
{ "language": "en", "url": "https://stackoverflow.com/questions/75586083", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: Is there a way to adjust scrollbar-thumb to represent element width (Image Gallery) I am trying make an image gallery with a slider bar. Mostly with CSS and I'm choosing to use a simple scrollbar as the slider. On mobile I am displaying one image at a time, therefore I have no problems with the scrollbar. However he...
{ "language": "en", "url": "https://stackoverflow.com/questions/75586084", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can I merge two Git repositories with different histories and file structures? Recently, I was writing an API for a project at work using Sinatra, connected to a remote on Github. Following a change target functionality from my boss, the API shifted entirely to use Rails instead, so naturally, the file structure...
{ "language": "en", "url": "https://stackoverflow.com/questions/75586085", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: JasperException JBWEB004062 Unable to compile class for JSP I'm currently migrating my app from JBoss 7.3 to 7.4.1, and Java 8 to 17. The app starts apparently ok, but in some jsp file are throwing a JasperException : System cannot be resolved. This is what the log shows when the error occurs: [# 2023-02-27 13:57:48...
{ "language": "en", "url": "https://stackoverflow.com/questions/75586087", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How should I approach OOP coming from a functional background? I primarily code in a functional style, because I found it easier to pick up and understand. But OOP is an industry standard, and is good programming style in many languages, so I wanted to learn it. Trying to understand OOP is difficult, and seems to co...
{ "language": "en", "url": "https://stackoverflow.com/questions/75586088", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Can we add (program/script) custom warnings in JetBrains or Eclipse IDE I want to look for ways to add warnings in the Eclipse or JetBrains IDE. Since we program embedded systems, so if it notices that an integer is used and can have a value between 0 and 256 then it should issue a warning to remind the programmer t...
{ "language": "en", "url": "https://stackoverflow.com/questions/75586092", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Temporary value lifetime in async rust I am always wondering whether I need to bind variables into let or whether I can pass them directly into function calls. Is the following code safe? fn name() -> String { "John Doe" } async fn work() { some_async_fn(&name()).await; } Or should I instead: async fn work...
{ "language": "en", "url": "https://stackoverflow.com/questions/75586097", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: C++14: Usage of condition variable in signal handler if only one signal is handled at any given time (exclusion using atomic bool) I am aware that by default condition variable usage in a signal handler is not safe (c++11 use condition variable in signal handler). However, as per https://man7.org/linux/man-pages/man...
{ "language": "en", "url": "https://stackoverflow.com/questions/75586101", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Escaping special character bash Im writing a bash file to automate some of the setup for creating a webpage. The following piece of code is used as part of creating a node server. echo const server = http.createServer((req, res) => { >> index.js The arrow part of the code messes up the output since the > character ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75586103", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Azure WebApi Authentication switch between AzureAD and Cognito I have a WebApi that needs to be secured. First idea was to use AzureAD and it is done by using: builder.Services.AddMicrosoftIdentityWebApi(Configuration.GetSection("AzureAd")) Everything else is also configured like Swagger and AppRegistration for Swa...
{ "language": "en", "url": "https://stackoverflow.com/questions/75586108", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: What does "Internal Serialization Error" mean and how to fix in ClickHouse? Attempting to write a dataframe of all strings to a table Here is what pandas says the data types are when i execute df.dtypes Column Name dtype id object location object major_class object client=clickhouse_connect.create_cl...
{ "language": "en", "url": "https://stackoverflow.com/questions/75586110", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Why won't DI create an instance of my generic service in my console app? I have the following classes: public class ServiceBase<T> where T : class, IClientEntity, new() { public ServiceBase(AppSettings appSettings, IUnitOfWork unitOfWork, ILogger<ServiceBase<T>> logger) } public class UnitOfWork : IUnitOfWor...
{ "language": "en", "url": "https://stackoverflow.com/questions/75586111", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }