text
string
meta
dict
Q: Intellij: identify Maven dependencies based on variables in pom I have a Maven project with multiple dependencies in my pom.xml like so: <dependency> <groupId>com.company.dept.team</groupId> <artifactId>package1</artifactId> <version>1.6.6-${releaseType}</version> ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75562342", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Dynamic Robots.txt - Backed by Active Record in Rails 7? I've read a few posts about turning Robots.txt into an erb and making it always return as a text file, but I'm wondering if there's a way to do this with ActiveRecord db support. The links I've found are rather old and are kind of limited in scope. If I create...
{ "language": "en", "url": "https://stackoverflow.com/questions/75562348", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Flutter animate container depending on keyboard with expanded version I am trying to get this behavior inside my app: 1. Button tapped: 2. Textfield appears focused and with animation from bottom. 3. Black button is tapped and view expands while keyboard is [][1 I tried couple of different things with MediaQuery.o...
{ "language": "en", "url": "https://stackoverflow.com/questions/75562350", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Cutting out a part of Bitmap How can I cut out a part of the bitmap, leaving its remnants in the original bitmap so I can lately use it for RenderEffect without rendering part I cut earlier? I tried to use canvas.clipRect() and canvas.clipOutRect() either after or before drawing rootView to Canvas. Unfortunaately it...
{ "language": "en", "url": "https://stackoverflow.com/questions/75562352", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to move shapes along a path in SFML with C++ I am currently working on a personal project creating an orbit simulator in Visual Studio w/ C++ using the SFML library. This is my very first time working with SFML so there is a bit of a learning curve currently. The "planets" are static at the moment and I'm wonder...
{ "language": "en", "url": "https://stackoverflow.com/questions/75562358", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Why intelij says me that the javafy runtime components are missing? My big problem is when I create a new Project in IOntelij and select javafx I can just import javarfx and use it. However, if I take another project where I did not select javafx from the beginning when creating the project. But if I go into the pom...
{ "language": "en", "url": "https://stackoverflow.com/questions/75562360", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Changing the element by index 2D array in JavaScript I am going to change the element of 2D array by its indices When I was solving CodeWars problems. I tried to change the element which located 4th row 2nd column, the compiler changed all the elements located in the 2nd column function score( dice ) { // Fill me ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75562362", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How do I set-up PC and smartphone to bypass throttling? I have Linux Mint 20 on my desktop PC and an Asus Zenfone 5 smartphone. What sudo command(s) and smartphone settings are needed to bypass throttling? I USB tether my smartphone to my desktop PC. It's just a 1-to-1 connection. No other devices. My mobile plan pr...
{ "language": "en", "url": "https://stackoverflow.com/questions/75562364", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-4" }
Q: Flutter GoogleMap Widget creates lingering artifacts when I change screen I've got a GoogleMap widget sandwiched amongst other Widgets on a screen. If I Navigate away, Flutter doesn't dispose of the Map before the new page loads. This is doubly annoying because I have animated a profile picture with a Hero Widget, t...
{ "language": "en", "url": "https://stackoverflow.com/questions/75562365", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Performance issue with Rust vs Python After reading an article about "Memorable Unique Identifiers" and seeing the author mention that they want to try to rewrite the example Python code to C to achieve better performance, I tried rewriting it to Rust and I was very surprised by the Rust version being considerably s...
{ "language": "en", "url": "https://stackoverflow.com/questions/75562368", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: `use std::error::Error` declaration breaks compilation I wrote a small function to log whole stack traces which looks like this: fn report_error(error: &Box<dyn std::error::Error>, message: &str) { let mut error_msg = Vec::<String>::new(); error_msg.push(message.to_string()); if let Some(source) = error....
{ "language": "en", "url": "https://stackoverflow.com/questions/75562372", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "5" }
Q: Max allowed length (65535) of varchar column in Redshift I have a table from which I need to pull information, and there is a column that for some records is causing Redshift to give me the below error. Query 1 ERROR: ERROR: Value of VARCHAR type is too long. DETAIL: --------------------------------------------...
{ "language": "en", "url": "https://stackoverflow.com/questions/75562377", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Is it possible to navigate from app.js with React Navigation? I am switching over from react-native-router-flux to react-navigation v6. I have my navigation wired up again for the most part, I am now struggling to navigate from app.js. I navigate from here only to handle notification navigation. It seems like you ca...
{ "language": "en", "url": "https://stackoverflow.com/questions/75562378", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can I dynamically add properties to an object with TypeScript? I want to write a function in TypeScript that adds dynamic properties to an object. In JavaScript I could do it like this: function addProperty(object, name, fn) { return { ...object, [name]: fn, } } How can I write the addPr...
{ "language": "en", "url": "https://stackoverflow.com/questions/75562382", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How do multiple recursive calls work in Python Below is a recursion function to decode a string. Can somebody explain to me step by step how multiple recursive calls work? Does the func finish the first recursive call and move on to the next recursive call? or does it do a recursive call within a recursive call? def...
{ "language": "en", "url": "https://stackoverflow.com/questions/75562384", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Why the subtraction of two dates is different than the result from using DATEDIFF()? How does the two functions differ? Both columns are of date type. The query I used is SELECT period_start, period_end, period_end - period_start AS subtract, DATEDIFF(period_start,period_end) AS datediff FROM so...
{ "language": "en", "url": "https://stackoverflow.com/questions/75562389", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Terraform for_each with condition and key removal I need to find a way to specify a for_each resource creation where dynamically I use a specific map AND at the same time, remove an item/key or skip an item in that map. I currently us the following for_each to specify which map to use for iteration: for_each = (var....
{ "language": "en", "url": "https://stackoverflow.com/questions/75562393", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Azure CDN Multi-Origin endpoint with terraform azapi provider I'm trying to create an Azure CDN endpoint with one (or more) origin group(s) where each origin group has one or more origins. I have the following code which - indeed - does not work because I'm referencing the endpoint from the origin group through the ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75562394", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Using Rust to convert PCL stream to tiff image Rust newbie here. I hope someone can advise me and provide a "fix". I am making a virtual print "server" that listens for PCL print streams from a legacy system and then should convert the PCL into tiff images. The PCL streams should basically result in a tiff with a...
{ "language": "en", "url": "https://stackoverflow.com/questions/75562399", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Running REST API and gRPC simultanously using ASP.NET Core I am trying to run a gRPC server and client using ASP.NET Core 6 side-by-side REST API on a specific port like 5000. I mean, I want to use localhost:5000, but after checking the dotnet's gRPC template I found that the Http2 protocol should be set for Kestrel...
{ "language": "en", "url": "https://stackoverflow.com/questions/75562400", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Tensorflow: How to train for a length of time instead of epochs? Prior research: Most relevant tensorflow article How can I calculate the time spent for overall training a model in Tensorflow (for all epochs)? Show Estimated remaining time to train a model Tensorflow with large epochs Code: y = to_categorical(sel...
{ "language": "en", "url": "https://stackoverflow.com/questions/75562404", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Ckeditor don´t work when use it port diferent to 80 Currently I have a problem with ckeditor, it don´t allow to save and it generate error "[CKEDITOR] Error code: cloudservices-no-token-url." However, we removed the plugins but still don't work. Also, we tested in our QA environment and although there we use 2 por...
{ "language": "en", "url": "https://stackoverflow.com/questions/75562405", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Extracting value from nested list The JSON I want to parse looks like this: { "results": [ [ { "field": "@logStream", "value": "i-0d41c4f2b294fae88-messages" }, { "field": "@ptr", "value": "CmEKJgoiMTI1NzEwNTIwMzE3OkRhdGFJbmdlc3QtZW50ZXJwcmlzZRAHEjUaGAIGPjW1igA...
{ "language": "en", "url": "https://stackoverflow.com/questions/75562408", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "3" }
Q: My Curl app works in php 7.4 but not in 8.0 So I built a nice app thankfully in PHP 7.4 that uses curl to log into a remote site and do some stuff. I changed my PHP version to 8 and the app doesn't work. I can literally change the versions back and forth, 7.4 works, while 8.0 stops right after logging in and gives a...
{ "language": "en", "url": "https://stackoverflow.com/questions/75562411", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Is it possible to make a scheduled task based on a job batch in Laravel? I have a system that reads large files on FTP server, store them on database, and send them to an API that does some processing with that data. I have to do chunking of the data because it may be hundreds of thousands of registers and the proce...
{ "language": "en", "url": "https://stackoverflow.com/questions/75562412", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: BottomNav using React-Native-Paper I am learning react native, and using react-native-paper I borrowed this dashboard screen from this example: https://github.com/venits/react-native-login-template. import React from 'react' import Background from '../components/Background' import Logo from '../components/Logo' impo...
{ "language": "en", "url": "https://stackoverflow.com/questions/75562415", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Use of service-enty in Istio for MESH_INTERNAL communication I have one question regarding ServiceEntry in Istio. As I can see in the guides it says that we can use workloadSelector to select one or more Kubernetes pods of the MESH_INTERNAL to direct traffic into them. That means that we can route traffic directly t...
{ "language": "en", "url": "https://stackoverflow.com/questions/75562425", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Why can't I get out of this one object in Blender I'm doing the donut tutorial and I must have pressed a button and now I can't get out of this x-ray sort of mode on this one object. I select other things but it only changes this one object - haven't been able to figure out what I did. I restarted, I went to layout...
{ "language": "en", "url": "https://stackoverflow.com/questions/75562429", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Delimiter for Splitting each character of a string? I am currently trying to split two-character strings into two separate columns for each character in a pandas data.frame, but I've been struggling to find a way to perform the operation on the column without having to iterate through each row. My starting data.fram...
{ "language": "en", "url": "https://stackoverflow.com/questions/75562434", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: How to program a 4:1 multiplexer I have to write a program for a 4:1 multiplexer with 2 selectors, I am just completely lost on how to start, can someone give me a hint? I have to get the truth table back I believe, following this multiplexer, I think I would be able to do it but I'm not undersanding what a multiple...
{ "language": "en", "url": "https://stackoverflow.com/questions/75562439", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-7" }
Q: Is there a way to make an image reactive in Shiny? I am working on a Shiny app that is set up like a form: users input data, and the output is saved. I know that images can be added to Shiny apps as part of the UI, or even as output, but I'm wondering if there is some way to make images reactive. Specifically, I wou...
{ "language": "en", "url": "https://stackoverflow.com/questions/75562442", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Using Oracle PL SQL to insert lookup into results I am trying to join a status code with a description from a lookup in a final result. So, the results something like this: select thing.NUM, lookup.ID, lookup.DESCRIPTION from SOMESCHEMA.TABLE1 thing, OTHERSCHEMA.TABLE2 lookup join bug on thing.STATUS = lookup.I...
{ "language": "en", "url": "https://stackoverflow.com/questions/75562444", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: How to use second prisma client in NestJs? I am trying to use a second Prisma client in my project: Here is the Client.ts for Prisma: @Injectable() export class PrismaService extends PrismaClient implements OnModuleInit { async onModuleInit() { await this.$connect(); } async enableShutdownHooks(app: INes...
{ "language": "en", "url": "https://stackoverflow.com/questions/75562446", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to prune a transformer? I am trying to reduce memory and speed up my own fine-tuned transformer. I came across the tutorial for pruning on the huggingface site. I am referring to the following snippet. The trainer.train() is missing, so I added it. It ran without error, however, there is no reduction in memory (...
{ "language": "en", "url": "https://stackoverflow.com/questions/75562447", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Python Dictionary Bracket Not Closing I'm creating a dictionary of countries and states to import into Salesforce. However, once my dictionary goes over a certain number of lines, I'm unable to add a closing bracket at the end. I've tested it out when my dictionary is only 6-7 lines and it closes just fine, anything...
{ "language": "fr", "url": "https://stackoverflow.com/questions/75562450", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: Detecting noise in speech transcription from only text Is there a way method to detect words that were poorly transcribed in a text transcription? The situation is as follows, I want to do some NLP tasks on the transcription of a phone call, but the phone call transcription is noisy, words like airpod or airport are...
{ "language": "en", "url": "https://stackoverflow.com/questions/75562452", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Outputting a JSON API call response from Golang to a nextjs frontend The Error I am getting is Error: Error serializing `.username` returned from `getServerSideProps` in "/". Reason: `undefined` cannot be serialized as JSON. Please use `null` or omit this value. My backend go is working fine I can check it on postm...
{ "language": "en", "url": "https://stackoverflow.com/questions/75562457", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Github Rest API only giving the word Error on catch I have a React app I am making. I am trying to use various parts of Githubs Rest API. I am unsure what else to say other then the below code only gives me the word "Error" in the console. I don't get a specific error or anything, and I am unsure how to get a more d...
{ "language": "en", "url": "https://stackoverflow.com/questions/75562458", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Pip install alpaca trade api running into unknown error Im trying to install the alpaca trade api but it doesn't seem to be working and I dont know why. I amon windows 11 using jupyter and have tried to install it using 'pip install alpaca-trade-api' although believe it is not downloading prperly and do not know why...
{ "language": "en", "url": "https://stackoverflow.com/questions/75562461", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How to connect to snowflake using R in VScode? I'm writing an R file that needs to call on multiple SQL queries I have in folder. Currently, I have the snowflake extension in vs code. Because I have the extension, should I automatically be able to call and run those SQL queries to load my data to perform EDA? Thinki...
{ "language": "en", "url": "https://stackoverflow.com/questions/75562462", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Packet loss causes loss in quality of video (webrtc). What can be done to minimize packet loss? I have been working on developing a webrtc application using mediasoup as SFU. Udp is used for streaming instead of tcp. But there is still freezing of video even when streaming at low resolution and fps (320x180, 5fps). ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75562473", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Writing over current data pulling data from two source worksheets I am building off my previous question to write a program that takes data from columns in two worksheets and transfers them to a destination worksheet. The second workbook's data (I plan to add more workbooks) is writing over the first. Does anyone kn...
{ "language": "en", "url": "https://stackoverflow.com/questions/75562474", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Internal data stream error when using the Gstreamer Api I'm trying to write an app in c using the gstreamer api to read from a camera and save to file to replicate the command line with gst-launch: gst-launch-1.0 -e rtspsrc location=rtsp://username:pass@192.168.1.91/stream1 ! rtph264depay ! h264parse ! mp4mux ! file...
{ "language": "en", "url": "https://stackoverflow.com/questions/75562480", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to adjust the range of the regression line in SAS proc sgplot The SAS code for the data and plot is below. The regression line will be determined by the 10 data point I have, but I want to control the start and the end of the regression line. For example, I want to keep my current plot, the only change is that I...
{ "language": "en", "url": "https://stackoverflow.com/questions/75562483", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: NoSuchMethodError: scala.tools.nsc.Settings.usejavacp()Lscala/tools/nsc/settings/AbsSettings$AbsSetting; My code compiles against scala 2.12.10 but has to run on scala 2.12.15. My code: import import scala.tools.nsc.Settings val settings = new Settings settings.usejavacp.value = false usejavacp is throwing java.la...
{ "language": "en", "url": "https://stackoverflow.com/questions/75562485", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to know if a world point is inside a box given by position (Vector3), scale (Vector3) and rotation (Quaternion)? I have an object whose Transform's position, rotation and scale represents the position, rotation and scale of a box/cube. I want to know if a world point given by a Vector3 is inside this box represe...
{ "language": "en", "url": "https://stackoverflow.com/questions/75562486", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: @wordpress/scripts continuously compiling without changes to files When using @wordpress/scripts, running npm run start, code compiles, but then infinitely compiles without changes to files. I've tried reinstalling node_modules, changing node versions, using various versions of packages, and extending the webpack t...
{ "language": "en", "url": "https://stackoverflow.com/questions/75562487", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: SQL error 'Error converting data type varchar to real' I am trying to join multiple coloumns of 2 tables using inner join query and getting this error. Please see below my query. select a.NCVMatrix, a.InjectorSerialNumber, s.Load1, s.Load2 FROM [AFSDB].[dbo].[tblDualSpringNCV] as a inner j...
{ "language": "en", "url": "https://stackoverflow.com/questions/75562493", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Printing Nodes from a Linked List I am having an issue printing elements from a Linked List. I have tried creating a toString function in my Node class, I have used the str() constructor, __str__(), plain ole <object>.data, and lastly __repr__ (at the moment this is not printing at all it's stuck in an infinite loop...
{ "language": "en", "url": "https://stackoverflow.com/questions/75562494", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How can I use unittest.mock to mock a class constructor call within a class constructor in Python? I want to create an instance of my MyClass without actually calling the packageA.A_Class constructor. The reason for this is that I'd like to create unit tests that do not rely on packageA. I want to test the code arou...
{ "language": "en", "url": "https://stackoverflow.com/questions/75562497", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Fork function and memory leaks in c I have a problem which is , whenever I use fork function and I checked the leaks in the child process I found that there is a 4 leaks memory For example if I run this program I will find a memory leak . int main(int argc, char *argv[]) { if (fork() == 0) Sleep(10); ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75562498", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: sticker creator with whatsapp-web.js I'm trying to create a sticker creator but it doesn't generate gifs or video stickers, I made a simple code and it works very well with images but not with gifs and videos, I tried to indicate chrome pro puppeteer but it returns an error, is there something I can do in this code ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75562499", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Converting Complicated Legal Forms in PDF format Into a Report Writer with Database Merge How do I use a PDF that has a complicated Legal Form and import it into a Report Writer then add more fields for Merging. I thought about a PDF to Postscript conversion but I'm not sure report writers accept Postscript as input...
{ "language": "en", "url": "https://stackoverflow.com/questions/75562504", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Angular: Jest: ts-jest: SyntaxError: Cannot use import statement outside a module I'm using Angular 7.x. I'm trying to add test cases with jest 24.x & typescript 2.7. So I added jest & ts-jest. While running the simple test cases I'm getting below error. My tsconfig is configured to use es2015 module and target as e...
{ "language": "en", "url": "https://stackoverflow.com/questions/75562507", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Missing method in Jwst class Im trying to set up authentification for my application, to extract claims I need a method called parserBuilder from Jwts class, however on my project I can't find that method. Here is the code: package com.example.test.Security; import io.jsonwebtoken.Claims; import io.jsonwebtoken.Jwt...
{ "language": "en", "url": "https://stackoverflow.com/questions/75562508", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to build a tree using LazyColumn with LazyListScope.items in jetpack Compose? I'm trying to build nested comment system. I have data class like this data class Comment( val id: String = UUID.randomUUID().toString(), val text: String, val replies: List<Comment> = emptyList() ) This is the implementat...
{ "language": "en", "url": "https://stackoverflow.com/questions/75562509", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to split string and only assign needed fields I want to split a string like this. I can do the following. f1, f2, f3, f4, f5 = 'field1_field2_field3_field4_field5'.split('_') However, I only need let's say f1 and f4. I do not want to assign other fields (I do not want to keep the others in the memory). I guess ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75562510", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: What is the most common splitting criteria for a Decision Tree Regression? Hey I`m writing my thesis about forecasting and a short subtopic is how Decision Tree Regression works (not too much into detail, I think the formula for the splitting criteria is enough). I made some research and found out that variation red...
{ "language": "en", "url": "https://stackoverflow.com/questions/75562511", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Facing this issue in storybook Cannot read properties of undefined (reading 'displayName') importing external library I want to created a custom component in my own UI Library (with storybook) using the react-native-fast-image library, but when i execute storybook, it display the error: "Cannot read properties of un...
{ "language": "en", "url": "https://stackoverflow.com/questions/75562512", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to add two different native animation events on the same scrollView onScroll I have this animated ScrollView and I want to to pass two differnet animated refs to it on with nativeDriver set to true and another that is set to false. But this is throwing an error. Is it legal to use two different event animations ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75562513", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: OAuth1.0a authorization with expo react-native I've been trying to come up with a solution to this problem for the last couple of days, but now I'm out of ideas. Basically, I need to authenticate users of my mobile app (it uses expo) via legacy university API that uses OAuth1.0a instead of OAuth2. The workflow looks...
{ "language": "en", "url": "https://stackoverflow.com/questions/75562514", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Android Studio. It seems that your device does not support camera(or it is locked) I am following this tutorial to add opencv and camera support to a new app in Android Studio in Java using Android 11 and Pixel 4 as emulator I followed some comments and added mOpenCvCameraView.setCameraPermissionGranted(); Now I get...
{ "language": "en", "url": "https://stackoverflow.com/questions/75562516", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: ShapeRenderer Filled only outlines the shape I am trying to draw a filled triangle with an outline, but I am only getting the outline. I have this inside an Actor's draw method: shape.projectionMatrix = batch?.projectionMatrix shape.transformMatrix = batch?.transformMatrix shape.begin(ShapeRenderer.ShapeType.Filled...
{ "language": "en", "url": "https://stackoverflow.com/questions/75562517", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Context menu does not open in first right click after tray notification is clicked in C# WPF? I am working on a .NET WPF project using Visual Studio 2022 and I added tray icon functionality to my app. I also show toast notification whenever my app is minimized to windows tray. I also added a context menu to show up ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75562518", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Problem when using mask.updateValue(), from Imask What I'm doing is that when I click on the input its value is reset but imask me to do that here "Element value has changed outside the mask. Sync the mask using mask.updateValue() for it to work correctly. Of all the ways I've tried to use this mask.updateValue(); ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75562519", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Align a main in the center of the screen () everytime I start a challenge on Frontend Mentor, one of the first things I want to do is center my main(element) on the screen. I have tried every possible way, but in the end only the horiozontal center works. I can not align my element verticaly. Following code must wor...
{ "language": "en", "url": "https://stackoverflow.com/questions/75562527", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Add SELECT period on last recording each day I have a program that selects the last recording of each day for a given date. This part of my code works good. But now I would like to add a new feature, namely select a given period. Unfortunately I can't do it. Does anyone have any idea how to do it? Code to select the...
{ "language": "en", "url": "https://stackoverflow.com/questions/75562532", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: The command puppet cert list is giving an error When I type the command puppert cert list it gives me the following error: Error: Unknown Puppet subcommand 'cert' See 'puppet help' for help on available puppet subcommands I'm using puppet version 7.23.0 on centos stream 8puppet cert list output
{ "language": "en", "url": "https://stackoverflow.com/questions/75562534", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Is there limit to max number of thread in a thread pool I was doing a POC for a multi threading for caching with Async thread. For this I wanted to see first that I could distribute all the thread evenly over multiple cores in a M2 Air. I ran into the problem of Max number that could be created irrespective of JVM m...
{ "language": "en", "url": "https://stackoverflow.com/questions/75562535", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Python click module: is the repetition of 'name' in 'from module import name as name' necessary? In the newly installed Pythons module click source code I have encountered many lines with import statements like: from .types import BOOL as BOOL from .types import Choice as Choice from .types import DateTime as DateTi...
{ "language": "en", "url": "https://stackoverflow.com/questions/75562538", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Unstable behavior in forecast::nnetar when p = 0 Using the forecast package version 8.15, running the following lines of code: set.seed(42) fit <- nnetar(nottem,p = 0,P = 2) fcast <- forecast(fit,h = 24) (after calling library(forecast) of course) generates very oddly inconsistent results for me. I realize that p...
{ "language": "en", "url": "https://stackoverflow.com/questions/75562543", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Getting info from previous jenkins builds I have a pipeline which runs over several steps based on commits to several git repos. However the jenkins run is triggered by user occasionally. If a stage is passed for a certain git commit for any of the previous jenkins build, I don't want to run that stage in the new pi...
{ "language": "en", "url": "https://stackoverflow.com/questions/75562545", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: express and puppeteer error~(document undefined) So i have this functions and some others inside my scraper.js file, when i run the code it goes well and as expected. The problem is when i try to export and use this functions inside my index.js file which contains my express endpoints, i get an error like this: `Ref...
{ "language": "en", "url": "https://stackoverflow.com/questions/75562546", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How to return queryselector and queryselectorall in one function? I am using functions get() and getall() to shorten query selector and query selector all. const get = (target) => {document.querySelector(target)} const getAll = (target) => {document.querySelectorAll(target)}; I wanted to fix this code as a function...
{ "language": "en", "url": "https://stackoverflow.com/questions/75562549", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "3" }
Q: How to call function from SwiftUI component when generic property changes I'm currently working on a SwiftUI component whose state needs to be reset when one of its properties changes. However, to keep the component as generic as possible I want that property to be generic, i.e., let someProperty: any Equatable. My ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75562553", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Kotlin is not recognizing the variables as arguments 0 I'm doing a simple problem rock, scissors, paper, lizard and spock from this page https://retosdeprogramacion.com/semanales2023 I create a function call whoWins() that basicly returns the next string "P1" if the player 1 wins, "P2" if the player 2 wins or "Tie"....
{ "language": "en", "url": "https://stackoverflow.com/questions/75562556", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: appending data from dictionaries to dataframe I'm attempting to create a dataframe from dictionaries. The dictionaries can have many key, value pairs. The number of key, value pairs depends on the list of names. Let's say I have a list of the following names: names = [["name_0", "name_1"], ["name_2", "name_3"], ["na...
{ "language": "en", "url": "https://stackoverflow.com/questions/75562558", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: React State for an interval I have a chart that has a time range component attached to it. The time range works but I want the currently selected interval to be blue. I tried doing this with a ternary operator but it just makes them all blue. here is the code for the time range. import React from 'react' import styl...
{ "language": "en", "url": "https://stackoverflow.com/questions/75562559", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: ​ Could not connect to db, MongoDB im getting this error while connecting to the data base here is my connection URL: mongodb+srv://shashankreddybanda:@cluster0.u59k3hy.mongodb.net/?retryWrites=true&w=majority i have opened the access to all IP addresses A: First, check that your IP address has been added to the I...
{ "language": "en", "url": "https://stackoverflow.com/questions/75562560", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Why is Mysql returning an incomplete table when using where clause? I was trying to apply a filter in the WHERE clause when making a query. I was sure there were data in the column but for some reason, the table Mysql retrieved was incomplete. I export the results to a csv file to see if data was there, and it was i...
{ "language": "en", "url": "https://stackoverflow.com/questions/75562561", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to create one .so per .cpp file using QMake I have a directory full of files (eg: dog.cpp, dog.h, cat.cpp, cat.h). I want to compile each of these into its own .so file (eg: dog.so, cat.so). My .pro file below compiles fine, but it puts all of the animal files into a single lib called libMYPROJ.so.1.0.0 How ca...
{ "language": "en", "url": "https://stackoverflow.com/questions/75562563", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can i use angular npm in a React ts project my question is because where I work they asked me to carry out a project in react with TS and they ask me to integrate a library in npm built in angular, is it possible to do the integration or would I have to create my own library in react A: Nope, it is not possible...
{ "language": "en", "url": "https://stackoverflow.com/questions/75562564", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to ignore a comma in a data field in case statement where IN is used I need to deliver a report to a vendor that lists job title and type of job. (Type of job can be office, field, customer service, etc) But my company has job titles that have commas in them and I am getting an error - I think because of the com...
{ "language": "en", "url": "https://stackoverflow.com/questions/75562565", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Teensy 4.1 Not Working with OnePinCapSense Library When verifying my sketch in Arduino, I get the following error: d:\Documents\Arduino\libraries\OnePinCapSense-master\OnePinCapSense.cpp: In member function 'int OnePinCapSense::readCapacitivePin(int)': d:\Documents\Arduino\libraries\OnePinCapSense-master\OnePinCapSe...
{ "language": "en", "url": "https://stackoverflow.com/questions/75562566", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Dynamically load Blazor pages We have created a large number of Blazor applications (35+ tools). Each tool has it's own installer, service, database, and UI. Customers install, from our suite of tools, only those tools they need. Unfortunately, maintaining all of these tools as separate applications creates a hug...
{ "language": "en", "url": "https://stackoverflow.com/questions/75562567", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Not able to post data to mysql server using php I have written a code that uploads values to mysql server , i'm testing from Postman and it does send data and connects successfully but no data is pushed into my database , i appreciate any help , * *Php code <?php include_once('db.php'); // init db ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75562571", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: wifi card does not see access points in kali linux 2022.4 .(Wifi Model Panda pauo5) enter code hereenter image description here when scan aps with airdump-ng doesnt work wifi card : Panda Wireless ® PAU05 300Mbps Wireless-N USB Adapter dmesg output : rt2x00usb_vendor_request: Error - Vendor Request 0x07 failed for o...
{ "language": "en", "url": "https://stackoverflow.com/questions/75562572", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Node.js app on Dedicated Server - Getting image from url - Hostname/IP does not match certificate's altnames I've rented a dedicated server, set up a website (somedomainblah.com), and on the subdomain (app.somedomainblah.com), I have a node.js app that requests an image from the website (my website is on that server...
{ "language": "en", "url": "https://stackoverflow.com/questions/75562575", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Does Confirmatory Factor Analysis only work with likert scale-like questions? Does Confirmatory Factor Analysis only work with likert scale-like questions?
{ "language": "en", "url": "https://stackoverflow.com/questions/75562576", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: emacs info documentation different color for nodes/headers when I launch info documentation for general Emacs or the specific one for Org-mode, there are some nodes which show up with white color stars (asterisks) and others with red stars. What does this mean? What is the difference? A: Simplest way to learn about...
{ "language": "en", "url": "https://stackoverflow.com/questions/75562577", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: How to get value for second dynamic drop down list? My program is ment to update the second drop down menu according to the selection made in the first drop down menu, and then update a third drop down menu according to the selection made in the second. it seems like ive gotten everything down so far. HTML: <html> <...
{ "language": "en", "url": "https://stackoverflow.com/questions/75562578", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Contains or equal to condition React What would be a react condition for equal to or contains Sess-123 React.createElement( If, { condition: session.sku == 'Sess-123' }, A: You can use the String.includes function to return if a string has a particular value within it, and it will also return true if it is the en...
{ "language": "en", "url": "https://stackoverflow.com/questions/75562580", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Jmeter: The server selected protocol version TLS10 is not accepted by client preferences [TLS12] I am using JMeter 5.4.2 and using Jdk8 but I am getting avax.net.ssl.SSLHandshakeException when I try to hit a soap service. I dont have control over the remote server and I am wondering if I can change anything in the c...
{ "language": "en", "url": "https://stackoverflow.com/questions/75562584", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: how i can do filename = picturebox if ((rs == DialogResult.OK && ofd.FileNames.Length < 6 && fileinfo.Length < 5000000) || pictureBox1.Image != null) { FileNames = ofd.FileNames; btn_selectfiles.Text = "تم اختيار الملفات , انقر لتغييرها"; } // wha...
{ "language": "ar", "url": "https://stackoverflow.com/questions/75562585", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Talk to Docker containers using Django App So I have an python application with multiple files and some data. I am creating a website in which I want to use that application, the way I have to use it is using Docker containers. So basically I will create a docker image of the application, now I want to send data and...
{ "language": "en", "url": "https://stackoverflow.com/questions/75562586", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: How can I send interactive messages in WhatsApp Bot using DialogFlow or NodeJS Hello I'm trying to send new message through whatsapp bot developed by dialogflow, 360dialog for the API and NodeJS This is the payload that I'm trying to use: { "type": "list", "header": { "type": "text", "text": "your-heade...
{ "language": "en", "url": "https://stackoverflow.com/questions/75562587", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Turtle not responding on Pycharm I am struggling to get the Turtle module to respond (change shape, color etc.) whilst using PyCharm. I am following a Udemy course and I believe I am using the correct code to change the attributes but to no avail. Any advice would be greatly appreciated. I have attached a screenshot...
{ "language": "en", "url": "https://stackoverflow.com/questions/75562588", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Look up array value based on a string in bash I searched for array and map structures on bash scripting. It seems a bit hard to locate the value of a key without looping through it. One of the topics I had a look was How to define hash tables in Bash?. It didn't help much to me though. In simple words, I just want t...
{ "language": "en", "url": "https://stackoverflow.com/questions/75562589", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Order by in Oracle Pivot Statement not working In oracle, I'm using this pivot statement to get all Clauses attached with every PO_ITEM_ID. select * from( SELECT po_item_id, case when note_nbr LIKE '%C505%' then 'C505' when note_nbr LIKE '%C506%' then 'C506' when note_nbr LIKE '%C507%' then 'C507' when note_nbr ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75562591", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Elements on a Canvas Page visible in editor (rich text editor), but not when viewing page? I'm wondering if there is a combination of CSS and/or Javascript that can be used to make elements on a Page visible when in the editor, but then possible invisible when the page is actually viewed. In short, here's what I'd l...
{ "language": "en", "url": "https://stackoverflow.com/questions/75562593", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }