text
string
meta
dict
Q: What could be the reason for the "transform not found" AttributeError in scikit-learn's CountVectorizer? Libraries used: import random import numpy as np import nltk import re from sklearn.feature_extraction.text import CountVectorizer from sklearn.metrics.pairwise import cosine_similarity from nltk.stem import Word...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594448", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: debug crash of tesseract lib in C# application I build an dotNet Core 3.1 application running as windows service. I integrated the tesseract C lib for OCR. The service should run 24/7 an it is doing ocr nearly nonstop. works fine on my machine :-). on customer site it crashes ~1 a day. I know it crashes somewhere in...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594449", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Updating object in global state array typescript react I have been trying some days to figure out how to update my global state array in a gis-project. I use Mapbox-gl with ts and react. I use the useContext hook to keep track of a list of "GeoJSONItems", which includes a geoJSON object and some metadata. However, s...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594454", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: hide text before animaiton get triggered I use react-intersection-observer and enter code here. I have multiple titles on my page and when I scroll, I want the animation to launch when the title is in the view. This part ok, I get to trigger animation when visible. Problem: I trigger animation after a delay of 300ms...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594455", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: how to implement a method add which needs a Circle object as its only parameter The question is to implement a method called add that uses Circle as the only parameter. The question looks like this public class Circle { double radius; public Circle(double radius) { this.radius = radius; } p...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594456", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can I password protect one or more webpages using PHP? I'd like to password protect a particular webpage on my site using PHP. Similarly can I protect a group of pages, say in a subdirectory using PHP password protection? I don't need extreme security: i.e. no credit card data. Thus I don't need to store the ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594458", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Vlookup between different workbooks im getting en 424 error when im trying to run this code in vba : Sub Procurar() ThisWorkbook.Activate Sheets("Sheet").Select Range("A1").Select Range(Selection, Selection.End(xlDown)).Select Call OpenWorkbook For i = 1 To Selection.Rows.Count ID = Cells(i, 1).Value Cells(...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594459", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Smart URL refresh in Azure Language Studio doesn't work (adds duplicate QnA Pairs) I am refreshing an URL to one of my sources in Langauge Studio using the "Refresh URL"-button. According to the documentation https://learn.microsoft.com/en-us/azure/cognitive-services/language-service/question-answering/how-to/smart-...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594464", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: cimulative key and value using forEach I want to merge each key and value each time I treverse elements, but whenever I pass for loop, the overwrite the newest new instead of merge the new elments = old elements + new elements here is my forEach: let ff = {}; let tmp_ff = {}; this.choosen_pr...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594466", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: using gif as a hover effect to an area object I'm trying to add gif by using hover effect for area map object but something is wrong here... could you please help me to solve this. here is HTML code: <div class="image-container"> <img src="main_image.png" usemap="#image-map"> <map name="image-map"> <...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594468", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: I want to make mongodb aggregate lookup to join programs array module_id with module_attempts key from below users collection this is current collection // collection: users { "_id" : ObjectId("63ab0d0ed5e1b9566e0a2632"), "created_at" : ISODate("2022-12-27T20:49:42.350+05:30"), "programs" : [ { ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594469", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Cannot import JavaScript in HTML because of MIME type error I'm getting this error when i attempt to import my JavaScript file: Not sure if this link works but I've tried linking to Replit: https://replit.com/@Freyseee/PostNord-simulator?s=app#app.js Relevant file locations: * *simple.js *public/html/videofeed.h...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594470", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Moving from Spring Boot 2/Zipkin/Sleuth to Spring Boot 3/Micrometer - equivalent of DefaultMessageSpanCustomizer I'm migrating a Spring Boot 2 + Sleuth/Zipkin app to Spring Boot 3 + Micrometer/Zipkin with Spring Cloud 2022.0.1. I used to be able to add custom tags (sourced from message headers) to a span associated ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594471", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: CMake file RENAME and create directories if not existing What I want to do is file(RENAME from/a/dir/some_code a/new/dir/some_code) while the directories a, a/new, and a/new/dir are not existing. The file RENAME API says nothing about this and testing it shows it can't create new directories while renaming. file WRI...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594473", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Get the data of the dragged item on drop in CDK drag drop Angular I have this data which i'm dragging <tbody cdkDropList [cdkDropListData]="ListData"> <tr *ngFor="let list of ListData" cdkDrag> ... </tr> </tbody> i want ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594476", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Windows curl upload SFTP "permission denied" I'm creating a script which upload files from a Windows server to a SFTP server. Everything is working fine when I try with Filezilla. When I try to copy files with curl I've a permission error I tried to create another user (and I've same problem) and change the password...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594481", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: CS50 Luhn's Algorithm Problem Mistaks Invalids card with Visa The programm identifies this invalid cards as Visa (4111111111111113, 4222222222223). I really don't know how to solve this problem. The program pass all other checks expet these two and I don't know where it goes wrong. I think the problem in the loop bu...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594482", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Cannot find the path specified I'm having a problem with a flutter, when I run the code I get an error messag in debug console :\Users\aboud\Desktop\Dart' is not recognized as an internal or external command, operable program or batch file. The system cannot find the path specified. The system cannot find the path s...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594485", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: how to get all playlist urls in my youtube library (https://www.youtube.com/feed/library) using pytube? I'm trying to get all the playlist urls (not the video urls inside the playlist). for example let's say I created two playlists on youtube (playlist 1 and playlist 2) I'm trying to do something like this url = 'ht...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594486", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Optimised solution for function that takes a list of integers and returns the smallest positive integer that is not present in the list I'm trying to implement a function that takes a list of integers and returns the smallest positive integer that is not present in the list. For example, given the list [1, 3, 6, 4, ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594487", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: TypeORM Column default to Postgres lastval() How to set the default of a column using a Postgres function? "lastval()" is a Postgres function that takes the latest database id. I need to add to it for my column's default value, which is derived off the database id. I've tried different syntax's but am unsure how to ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594490", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: GET all stopped/started services, difference between microsoft and non microsoft services and then to save microsoft/non microsoft, started/stopped like in the title, I would like to do in POWERSHELL the following: GET all stopped/started services, difference between microsoft and non microsoft services and then to ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594491", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: I it possible to programmatically connect messenger to a subaccount with Twilio API? I'm creating an app who allow our customers to connect to their messenger account throw our interface. We want to use Twilio as an engine platform to powered conversations. What we want is to handle the FB Messenger authentication p...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594496", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: jmeter resolve variables in csv at runtime I have a jmeter script that takes in input a Load CSV Test Data having this content: The "generateToken" first API retrieves a token and store it in the "token" JSON Extractor variable. The "myApiName" second API sends in the body request the value of "token" via ${token} ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594500", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: onenote 2016 - Change pen color using numberpad I found a couple scripts online that change to one color and tried to add multiple numbers to allow them to change the color. I want to eb able to use an external keypad to change to a specific color in onenote. Code below #Requires AutoHotkey v2.0 SetTitleMatchMode ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594501", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: My c language code doesn't run in VS code enter image description here I done everything that requires downloaded wingw gcc compiler and set the path in environment variable section but still doesn't run. Help pls I tried again to download vs code and it still doesn't work. A: You can see it runs the command gcc c ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594503", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-4" }
Q: Since using just printf we can receive more than one variable in C language how would I do in just one printf to receive two variables for example: type your age and name and already receive the variable name and variable age, would that be it? #include <stdio.h> #include <stdlib.h> main(void){ char age, name; ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594504", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Is it possible to add a class from another package to an existing jar file using ant? I have an existing jar file that has three classes (Car,Home,Agency) that are in same package and same jar file. Now I have created another class Car in another package (contains extra code) and I need to update my jar by adding th...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594506", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: What is the best way to write a response from a HttpURLConnection inputStream in Javalin? i'm writing a simple API that read a file from a remote server and return it to the caller using Javalin. This is my simple code: class FileReader{ public []byte getFileBytes(String fileURL){ ... HttpURLConnec...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594507", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: evalf in sympy returns expression instead of value in single variable expression I'm trying to use sympy to compute Taylor series, but something seems to be wrong. I have an expression that looks like this (the first two terms of e^sin(x)): e**sin(x)*x*log(e)*cos(x) + 1.0 but when I run evalf on it it returns the ex...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594510", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to add custom fields (attributes) in keycloak I wonder how can I add custom attributes in Keycloak so the user can fill additional fields upon registration rather than using the default ones, also I might have some additional fields that I would need to fill later from my backend service
{ "language": "en", "url": "https://stackoverflow.com/questions/75594511", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: return a list of free time slots in an employee's schedule I have: * *int array with minutes of start a break (e.g., startBreakTimesInMinutes[0]=600), *int array with minutes of stop of break (e.g., stopBreakTimesInMinutes[0]=690), *int variable with start of Working for manager (e.g., 480 – 08:00), *int vari...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594513", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: Node production build is failing because of missing devDependecies I have a node app that has devDependecies. Some of the devDependecies are needed for the actual build process, but not the application itself. This means when I install for production, those packages are not installed so the build will fail. My curre...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594516", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to include navigation properties of a collection? In my base repository I have a method which takes includes as expression public T MyFunction(my parameters..., params List<Expression<Func<T, object>>>[] includes) foreach(var setOfIncludes in includes) { foreach(var include in setOfIncludes) { qu...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594517", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Using Mongodb Aggregation or My Own Function for the Showing of Data in Chart.js? I'm new in this development world, I'm working with next.js. The question I have is that I have the following information in mongodb, and I need to change it(group, add, sort) to be able to show it in chart.js. * *Initial Data { ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594521", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: pytest monkeypatching dataclass attribute error I have a configuration dataclass that I hydrate with toml files. from dataclasses import dataclass from pathlib import Path @dataclass class PathConfiguration: home: Path other: Path @dataclass class Configuration: path: PathConfiguration In my applicati...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594525", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: I'm having trouble with a height and color animation (CSS only) staying at the last keyframe I have a battery animation that is working fine and all, but I can't seem to get the animation to stay at the last keyframe. The animation is a battery filling and at the last keyframe I have the height at 40% when it's full...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594528", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Jest unit test automapper nestjs jest.mock<CreateProductCommandHandler>( './commands/create.product.command.handler', ); jest.mock<ProductRepository>('./infrastructure/product.repository'); describe('ProductController', () => { let productController: ProductController; let createProductCommandHandler: Creat...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594531", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Vs Code will not autocomplete from a python file or library after appending the path Suppose I have two python files, funcs.py and current.py and that both of these files are inside the same directory. If I add from funcs import * inside current.py then VS Code will recognize all of the functions that I have in func...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594532", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Google Cloud Build Enabling docker experimental The image created in cloud build are very large. I have tried docker build --squash but it returns squash allowed on experimental. cloudbuild is pretty standard steps: - name: 'gcr.io/cloud-builders/docker' entrypoint: 'bash' args: ['-c', 'docker build --squa...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594533", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Spring cloud Stream Kafka DLQ throw RecordTooLargeException for Batch mode I am using Spring cloud Stream kafka Binder in my project. We have enabled the batch-mode true and batch size is 500 messages. We are using DeadLetterPublishingRecoverer to send the message to DLQ. If any message failed then we throw BatchLis...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594534", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: C++ A vector of values from any kind of map I have a method in C++ that receives any kind of map (unordered_multimap, multimap, map, etc.) and returns a vector of its values. Currently, the implementation is in the header file as follows: template <typename Map> static inline auto* Values(Map* map) { auto* value...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594537", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: How to update ZLIB version in MacOS CommandLine Tools from version "1.2.11" to "1.2.13" to use CMake? I am attempting to run a Geant4 simulation installed via Conda. To do so, it requires compiling "cmake". Though all of the packages required my Geant4 are up-to-date, a set library files required by "cmake" (located...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594538", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: CHECKOUT in shop Hi there i have problem with e commerce. If i put 1 or more products in cart.php web page must proceed to the final buying part or checkout.php clicking on checkout button in cart. If there is no any product in cart.php it must proceed to main page called index.php My problem is all is good when pro...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594543", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: Start/Stop Wait Cursor on map in JS Google API I have some more data to download in a single page aspplication using googlemaps-api-v3. When the task begun I sucessfully set a waitcursor with mapGoogle.setOptions({ draggableCursor: 'wait' }); and when the task is finished I set it back with mapGoogle.setOptions({ dr...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594546", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Include functions for other projects in C I am having difficulties with something that should be pretty basic but it just won't work. I have two projects, let's say A and B. I am trying to include a function from B in A. Project B: I have a header file (my_file.h): #ifndef my_file_H_ #define my_file_H_ int my_func(...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594547", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to scale GameObjects to Camera in Unity? I've searched all over for this problem and mostly found answers relating to U.I. scaling, which I am already aware of. I am creating a game and want every scene to fit on one screen. I am running into problems where the screen size messes with the game scene. Just as an ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594548", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to add over effects on mapdeck similar to leaflet's highlightOptions I would like to customize some reactions of maps created with mapdeck in R. I saw that it is not possible to add popups, but is it possible to customize some reactions like: change of style when the mouse hovers over the feature or the display ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594549", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Programmatically extend a session's timeout in Laravel Background I have a laravel app which has a cart function. I store a random 64 byte string in a session (redis) and have a cart table in the database that has a column masked_id. So essentially I save the products in the sql database and save a unique id in the ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594551", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How do I add a three dot vertial ellipsis menu with external links to my app in android studio? I am trying to add a 3 dot vertical menu to my app and all the buttons will lead to external websites, how do I make this happen in android studio? Does anyone know where I should look on how to do this and to have only e...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594552", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Trying to deepdiff throws an error on datetime I am trying to compare two very similar data structures using deepdiff. The data is loaded from two msgpack files and consists of dicts and lists containing floats, integers, strings, datetime.datetime and datetime.date instances (I have some special routines to pack/un...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594556", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Allow to run queries on BQ and explore data on Data Studio but remove CSV export I would like to have an IaM role/custom role that allows user to run queries, explore the data through Data Studio but prevent them from exporting the data to CSV. Is there a way to achieve this ? I have tried removing the bigquery.tabl...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594557", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Json Exercise to dictionary using python I'm doing a course and I'm a little complicated with this exercise I have 2 json that I have to join in a dictionary, but this must meet certain rules. department = [ {"ID": 1, "Name": "John", "Role": "Manager", "employees" :[ {"ID": 4, "Name": "Mike", "Role": "Engineer"}]}...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594559", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Uploading Files/Attachments via the API v7 (Self-Hosted) I contacted ActiveCollab support, who instructed me to create a post here. We are running version 7.3.306 and need to upload a file/attachment via the API. I have been referencing the API Documentation, which instructs me to do a POST to /upload-files, then us...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594560", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: PHP Fatal error: Uncaught Error: Class not found - Opencart & QuickBooks Connector Purchased an extension for OpenCart that enables connecting the store to a QuickBooks Desktop account. It basically sets up a SOAP server to talk with the physical desktop device and communicate orders from the web server. The only p...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594561", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Is there a way to remove line breaks when using json.dumps in python I am writing a json data to a file. Using jsonData = json.dumps(data,indent = 2) with open(location,'w') as f: f.write(jsonData) creates the following. { "one": [ 1, 2, ... ], "two": [ 2, 3, ... ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594567", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How to find Telegram groups by word in their posts? I want to find all Telegram groups where a special word has been used. For example, I want to get all posts from ALL Telegram groups where word "Spider-Man" has been printed yesterday. Can I achieve this with telethon library? And if I can, can you please provide a...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594568", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: RStudio version 4.2.1 freezing after projecting it in a tv screen I am having a problem with RStudio when I connect it to a TV screen. I tried changing the rendering settings, but it didn't work. I even uninstalled and reinstalled RStudio, but the issue persisted. After stopping the projection, my RStudio session ap...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594569", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Google sheet script to export several ranges to pdf In google sheet I need a script to export several ranges to pdf. Each range should go to a new page of the pdf. I know how to do it for one range, but then I don't know how to add the others. My code is as follows: function ExportPDF() { var spreadsheet = Spread...
{ "language": "es", "url": "https://stackoverflow.com/questions/75594572", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: using ngrok with python How can I start ngrok with python and copy the public link just executing python script ? I tried with subprocess but it only launched the 'ngrok http 80' command , I want to copy the public link. A: Use the pyngrok library, which you can install with pip install pyngrok or put in your requi...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594574", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to redirect the request from specific IP address to another site with htaccess? I am going to redirect some requests from specific IP addresses to another site. For example if the request come from xxx.xxx.xxx.xxx or xxx.xxx.xxx.xxy, I am going to redirect to https://example.com and for others, I am going to sho...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594576", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: What Bayesian priors are diffuse on the log scale? I am trying to come up with priors for the intercept and coefficients of a Bayesian regression model on the log scale, but I can't get the resulting distribution of the prior to be diffuse once I log transform it. The model attempts to estimate the abundance of seve...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594578", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: In vmware esxi why storgage showing 0 free space and 0 used? In Vmware esxi storage showing 0 free space and 0 used space as HDD of server is working ok and showing in bios as well also memory is showing but storage is 0. I have created raid 10. I need storge showing capacity in vmware esxi as it is required how can...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594580", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: SQL: Alternative Option for Using "INTERVAL '1' YEAR" Function Hi anyone know an alternative way to pull last year's date? I used to utilize INTERVAL '1' YEAR, but it doesn't work anymore for some reason. For example, SELECT id, data_load_dt from school_inventory WHERE date_parse(data_load_dt, '%Y-%m-%d') IN (CURRE...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594585", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: nuxti18n dynamicRouteParams I'm creating a blog. I created a dynamic page [blog] .vue. At this point for each page I fetch the data with useAsyncData. So far everything is ok. However, I need that each article be associated with its corresponding language (with translated url). Here is the problem. At this point on ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594587", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to limit the maximum history length of a git repo? To my knowledge there is no such thing in git as a built-in setting for 'max-history-length', i.e. a maximum number of commits after which the oldest ones will start to be 'dropped' into oblivion and the depth would be automatically adjusted in some sort of 'los...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594588", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: preventing automatically saving model in simpletransformers.classification.ClassificationModel I used "simpletransformers.classification.ClassificationModel " class to create my model. unfortunately in the function 'train_model' they obligated me to save the model by the parameter 'output_dir'. One can see their fun...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594589", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Passing property to custom header component In a tab navigator I am defining I have access to the current active tab via props.children if I pass props to my CustomHeader like so: headerTitle: (props) => <CustomHeader {...props} /> ... However, the issue is that in this scenario the navigation object is not part of...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594590", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Difficulty routing between Next.js Multi Zones StackOverflow: NextJS - Issue routing between Multi Zones There was a response on StackOverflow that covered how unfortunately you can't use next router to jump between multi zones. I want to confirm if this is still the case or improvements have been made this year. Th...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594591", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How do I use nested integral functions to find a double integral in fortran? I am trying to find the volume under a shape defined by h(x,y) I have the following function which uses the Simpson Rule to integrate a one-dimensional function !---------------------------------------------------------------------------- d...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594592", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Saving feature attributes to a CSV file using Python I am using the pyfeats library to extract radiomic features using the images and their respective ROI masks. I am extracting the shape features and GLRLM features. The shape features are extracted using shape_parameters function, which provides SHAPE_XcoordMax, SH...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594594", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to store and download big video files(20gb) with nodejs I am developing an adobe extension that downloads a file stored somewhere in cloud and then imports the file to the adobe software. I have no problems with extension UI and adobe scripting API but I am pretty new to backend development and cannot really und...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594595", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: select a date 15 days before today in datepicker using robot framework Iam using robot framework to test my web application. I need to select a date that is 15 days before current date. The application uses ng-model datepicker implement. so far I have tried to get the current date and prvious date and also tried t...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594596", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Nested #equals in SendGrid Handlebars I'm trying to make this work: <table border="0" width="100%"> <tr> <td style="text-align: center" align="center"> {{#equals this.rollupRegion 'South'}} <img src="http://cdn.mcauto-images-production.sendgrid.net/.../0945bd18-ff2e-4ce1-8f3f-72cf...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594597", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Vite not as fast as people say? Im posting this because I am wondering if I have not implemented Vite correctly. I could get into implementation details but would rather focus on whether or not this is normal. What is Happening: * *After running the Vite Dev server Vite will show that is has finished in around 500...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594598", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can i provide roleassignment at subscription level using ARMtemplate? I am new to arm template. I have created the following armtemplate to assign the role at subscription level using managed identities. { "$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", "cont...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594601", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Interval to Duration coversion issue in Spring Boot While using Reactive Relational Database Connectivity (R2DBC), I have written a method to convert Interval to Duration in Java, below is the implementation import io.r2dbc.postgresql.codec.Interval; import java.time.Duration; Duration fromInterval(Interval data){ ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594604", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Getting error while upgrading from MySQL 8.0.12 to 8.0.32 Background: first, we have upgraded from MySQL 5.6 to MySQL 8.0.12 (5.6 --> 5.7 --> 8.0.12) and it was working fine . Now, we are trying to in-place upgrade from 8.0.12 to 8.0.32 and passed all preliminary checks mentioned in this link ( Prerequisites ). Upg...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594607", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Use custom directory for python/regionmask I use the python module regionmask on a machine that have no http access. regionmask is then unable to download the IPCC AR6 regions. I have installed the required files in ~/.cache/regionmask and regionmask finds them. I wish to move them in a directory shared with colleag...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594608", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Not able to add credit card on heroku platform (India Region) While adding my indian issued credit card on heroku, it showing error that the card has been declined. While researching on that issue i got to know that RBi has made some restriction. I want to know is there any other ways to add my credit card on heroku...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594611", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How can I have getopt() support bundle of arguments and single character arguments I want to be able to support commands such as: * *./myProgram -f required_arg1 -v required_arg2 and * *./myProgram -fv required_arg1 required_arg2 Where required_arg1 belongs to -f and required_arg2 belongs to -v in both cases. Wh...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594612", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Chrome extensions w/ Jquery. Wait for element/entire dom load My chrome extension basically select some buttons (size of clothes) and then press the checkout button of a shopping website. It's all fine until the checkout page. This page is slow to load so i need to wait it to be loaded before executing the rest of t...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594613", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Error: Batch entry error in Kafka target database (Null value in the primary key conflict) Error: Batch entry 0 INSERT INTO "person" ("ID","NAME") VALUES (NULL,'Alex') ON CONFLICT ("ID") DO UPDATE SET "NAME"=EXCLUDED."NAME" was aborted. Call getNextException to see the cause. Source : Oracle Database Target: Postg...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594614", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Removing elements from list using for loop I have a list of binary numbers` [0,1,0,1,0,1,0,1,1,1] I tried removing the numbers using the remove method in for loop: a = list(map(int,input())) b = [0,2,6] for i in range(b[0],b[-1]): a.remove(a[i]) print(a) But it is giving an error showing Traceback (most recent...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594617", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: Jenkins Pipeline: How may I define a variable inside a 'withGroovy' step? I want to write a Jenkins pipeline that uses "System Groovy Script". I have validated that the "Pipeline: Groovy" plugin has been installed. When I try something simple like using 'println()', I have success. pipeline { agent { label 'rem...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594619", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Is it possible to achieve Cognito SSO without buying Amplify using SAML 2.0 with no redirect I am currently working on a Angular 14+ UI As the angular use SPA cognito does not recognize screen navigation Therefore I used ngNoForm and did POST so that the entire screen is refreshed Obviously this goes against the Sig...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594620", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: C# mTLS authentication with gRPC I am trying to configure mTLS authentication for my gRPC application. The application is written in .net 6 and deployed on Azure app service (linux). App service configuration: Application Settings: * *HTTP20_ONLY_PORT - here is port for gRPC General Settings: * *Http Version = ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594621", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to raise error when pd.read_sql fails silently? I have a query which returns this error in my desktop client (heidi) in postgres: enter image description here But when executing that same query with a psycopg2 connection and pd.read_sql(), python will shut down without raising an exception or printing anything. ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594624", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: get_the_terms array - checking id of terms if has certain value In wordpress I am wanting to check the category id's that are associated with the post. So I have used the code below to run an array and then, I want to check in the array if a certain value is there and if so do something. When I print the array out i...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594625", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Python Dash Callback Assistance Good morning, I am trying to create a callback in Python Dash to connect a dropdown menu (of athletes) and a graph (scatter plot). My goal is to choose an athlete from the dropdown menu and have their jump height populate into the scatter plot dynamically. The issue I am running into ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594627", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: iotedge not starting after fresh deployment I'm trying to start iotedge on Ubuntu 18.04.6 LTS (GNU/Linux 4.15.0-158-generic x86_64) The OS runs on kubevirt on a kubernetes cluster. 45 kubelets hosting iotedge 1.4.2 are humming along nicely. I'm trying to deploy additional edgedevices via helm chart the same way as a...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594628", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How convert a sdk Android / IOS in capacitor plugin or npm package I have an Ionic 5 app with capacitor/angular, deployed on android or ios. I need to embed a feature that requires calling functions from an android/ios proprietary sdk. This SDK is a black box for me. I don’t see how I can use it in the IONIC app, wh...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594631", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Matrix dimensions must agree matlab warning in a for cycle i'm trying to use the find function but i keep receiving an error. i have few variables lat_rho3; 181x1 matrix lon_rho2; 385x1 matrix Clat; 579x1 matrix Clon; 579x1 matrix the next for cycle is to obtain the positions in lat_rho2 and lon_rho2 between the val...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594632", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Why doesn't the processes run until the queue is empty? I have a JSON file (consisting of approx. 5000000 objects) which I'm trying to parse with Python . The reading and parsing of the file is straight forward as it's done by one process. While the data is read each object (a dict at this point) is inserted to a mu...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594636", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Running pygame on VScode doesn't bring up graphical display I've been working on creating simple games using pygame in VS code and the graphical display was working just fine, moved on to matplotlib,installed it and wrote a simple plot that I expected to show when I ran plt.show() but the code just ran showing no er...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594637", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How can I convert a Date Column in Python to a Day of the Week and a number? I have two similar date columns named EventDate and Type of Day in the following format: 1/27/2023. How do I change the second column into a day of the week. (E.g. Monday, Tuesday) Thanks in advance. I have tried several routes without avai...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594639", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Alternative of inet_aton in Aurora DB in MySQL, I am able to use order by INET_ATON() to order by ips, but Aurora DB doesn't support it. Is there some alternative in Aurora DB to achieve this
{ "language": "en", "url": "https://stackoverflow.com/questions/75594640", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to split a string using re.split() method without removing the symbols used as separators? import re input_text = "los gorriones , asdjjhsadjhsad ; hhjasdhjsda . djfjdfjhdf , hdhgsdhg \n hjdsfjhjdf" separators = r"(?:\.\n|\n|\.|;|,|$)" separators_pattern = f"({separators})" result_list = re.split(separators_p...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594641", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Closing Slack Modal from AWS Lambda after data submission I'm having trouble closing a Slack Modal from an AWS Lambda in NodeJs(14.x), getting a "We had some trouble connecting. Try again?" message. I have read several alternatives about returning an empty 200 ok message, but nothing seems to work. Currently, my AWS...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594643", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Linking error while porting VS-2012 project in VS-2019 I am trying to build VS-2012(msvc-110) solution in VS-2019(msvc-142). It also used Boost library v1.51. I simply started by opening solution file in VS-2019 where it asked to change Windows SDK and Platform toolchain version (I choose WinSDK-10.177 and Platform ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594645", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }