Latest Questions

copy and paste any file in Xcode Workspace

I have opened a workspace in Xcode, now how are you suppose to copy paste a file.. Using keyboard Command+c/v does not work?

Create.js/Easel.js - createjs.Bitmap() - Getting SVG to load at original size?

I am using createjs.Bitmap to add an SVG to the stage. This is in Adobe Animate HTML5 Canvas which uses the Create.js/Easel.js frameworks. The project is usin

Redis slave is not able to connect to the Master in AWS EC2 Kubernetes Cluster

When I allow particular port in AWS security Groups, Slaves are not connecting to the master but when I allow all traffic in security groups it's connecting and

no non-missing arguments to max

I am trying to create a word cloud with the image text below wordcloud(words = wcdata_table$Dispensed_State, freq = wcdata_table$Date,scale=c( ,0.25), max

Gatsby changes/removes components className after build

I tried to add floating bar to the website. And i have a Layout component that used on every page. The Layout component has some navigation logic, graphQL query

Textblock following mousepointer

I want a piece of text to follow the mousepointer, but only when the mouse is hovering over an image. Until now it works partly: when the mouse accesses the ima

How can I set an NSDate object to midnight?

I have an NSDate object and I want to set it to an arbitrary time (say, midnight) so that I can use the timeIntervalSince1970 function to retrieve data consiste

Seamless Loop Problem with Media Foundation

I am trying to make seamless looping video in a game engine, and I have two questions. Even though I used the Sequencer Source, I still found that the playback

How do I print a certain sentence from a file?

I'm trying to print a certain sentence from an external file in python. The file is a .log file. This is how the file written: [Mon Dec 05 14:01:48 2005] [notic

How to transform a list of dictionary into a table

How to transform a list of dictionary into a table. Here is the table: [{'wow': 1, 'item': 1, 'money': 1}, {'best': 1, 'sock': 1, 'saved': 1, 'found'

How can I fix this specific instance of a TypeError in python

# importing necessary libraries & my own library of functions called dependancies: from tkinter import N import Dependancies import pandas as pd import time

All row data is not getting reflected in Power BI from Marklogic

I have a csv file with 3 rows of data which is stored in Marklogic and available in collections. I am trying to access the content of the csv file from Power BI

Flutter Could not get unknown property 'plugin' for project ':app' of type org.gradle.api.Project. Error

I am getting this error when running my Flutter app: Launching lib\main.dart on Android SDK built for x86 in debug mode... FAILURE: Build failed with an except

Windows 10 error: linking with `x86_64-w64-mingw32-gcc` failed: exit code: 1

I am struggling to fix error: linking with 'x86_64-w64-mingw32-gcc; failed: exit code: 1, I have installed TDM-GCC-64 and Cygwin and added the

Does NavOptionsBuilder.launchSingleTop work with nested navigation graphs in Jetpack Compose?

I'm using BottomNavigation in Jetpack Compose with navigation-compose:2.5.0-alpha04 and I want to encapsulate each tab's flow with nested navigation. To achieve

How to derive public key from private key using WebCryptoApi?

The private key is generated using Elliptic Curve. None of the methods from the SubtleCrypto interface of the Web Crypto API seem to be able to derive a public

Extracting data from the 2nd table by looking at the condition in a table with php

In my table named Follow, there is the information of those who are followed. For example, let's say my user id is 1: tableID | followerID | followedID ________

Programmatically laying out vertical SeekBar objects

The purpose of the following function (in an Android app) is to programmatically lay out three vertical SeekBar objects one beside the other. The setting for th

How to redirect ssh requests in Nginx?

I'm using the gitea versioning system in a docker environment. The gitea used is a rootless type image. The http port mapping is “8084:3000” and the

How to select distinct on "name" using Sequelize?

I need to translate the postgresql query below select distinct on (name) * from users To seqelize query / condition . Currently I am just selecting all users f

Modeling a 4x4 Grid for Simple Game Using Looped ArrayLists in Java

I am meant to create a game in Java that specifically uses looping Arraylists to create a 4x4 grid. I have a Grid class, made up of an ArrayList of 4 Rows, a Ro

get max value of each column group by student ID

I have a table with columns like this Std_id Class Section 14 8 2 14 8 1 14 9 1 15 8 3 15 8 2 15

Azure App Service Memory Working Set steady at 0 bytes

We have an S3 app service running in Azure and deploy updates every other Wednesday night. After last night's update (no change in any framework or nuget packag

Get data in specific time in Grafana

I'm new in Grafana, I'm using Grafana with Prometheus database and I have some problem with it. I want to get value at 2300 - value at 0000. But I can't find th

Message: Trying to access array offset on value of type int

How to resolve this issues: Trying to access array offset on value of type int? PHP8 public function processPayment(Request $request) { $orders

tensorflow 2 use keras.sequence as data generator for training machine learning model with multiprocessing error

I would like to do a test about training a machine learning model on EC2 instance with only CPUs from jupyter notebook. The code is tensorflow 2.8. Based on the

Iterating through integers not found in a list of ranges in Python

So, I have a function which outputs a list of ranges, e.g. [range(1,5),range(8,13)]. I need to iterate through those integers which are not in a range in this l

Getting the derivative of two functions g(f(x)) and h(f(x)) in one backward pass usin Pytorch

So I am passing an input x through a pretty large model f to get f(x). Then I use the output and pass it through one model g (including a loss function) to get

How to convert KML to GeoJSON using GeoTools in Java (GeoServer don't accept the result of my conversion)

I have a KML File and I need convert to GeoJSON. I am using Geotools in Java for convert KML because GeoServer has problems to import KML. I can convert the fil