Latest Questions

Cloud Shell git repository not found after repo move

After creating a new organisation on GitHub and moving the repo from the old organisation to the new one I get the error message: "fatal: repository 'https://gi

Illuminate\Foundation\Auth\User returning keyType: int

I am using the following trait to generate UUID's for my user model. I have setup a listener to the following event: Illuminate\Auth\Events\Login. This works wh

I have an angular app and some elements can not find with cypress

enter image description hereI am using cypress to automate our angular app but it is not finding some elements which are under a special div it is behaving like

Hibernate produces broken query

I have an entity that is mapped to the database table by Hibernate: @Entity @NoArgsConstructor @Getter @Setter @FieldNameConstants public class Set extends Abs

BubbleDown function(min heap) not working

I have generated a minheap to this file but I think something I have missed but I can't identify what are the things I have missed. I have missed something on

in vscode, pygame wont import but it is installed and is working in the windows console ,and the python app thing

im very new to code in general so this could be a stupid beginner problem ive searched for things but i couldnt find something useful for me under Problems is t

Declare const with variable values

in other PL we can declare const Test = 'my test '+inc(someVar)+' is work'; how to simulate this in delphi? my delphi example may be like that: const Msg = 's

How to use class component without extending React.Component

I have been given in built ui kit which has class based component without extending React.Component. Now i need to use those UI components for building UserInte

Google app script Youtube service fails to insert live chat message

I wrote a function to insert a message in a youtube live chat using Youtube service in google app script. However the function throws an error GoogleJsonRespons

EACCES: permission denied, open '/Users/stefma/.config/truffle/config.json' after installing Truffle

I tried literally all there is so far and I still can't run truffle macOS 11.6. that's what I tried after of course first installing it with the command npm ins

Netlify deploy error: Deploy did not succeed: Deploy directory 'build' does not exist

I know this is a common error, but I tried a lot of solutions and no one did fix this problem. What am I doing wrong? The project is in NextJs, I have already t

Flutter - App Store Connect rejection due to needing "functional link to the Terms of Use (EULA)" in "your app's binary"

Our flutter app, with a subscription membership in-app-purchase, is repeatedly being rejected by App Store Connect for the following reason : Specifically, we

Pyarrow fs.HadoopFileSytem reports unable to load libhdfs.so

I'm trying to use the pyarrow Filesystem interface with HDFS. I receive a libhdfs.so not found error when calling the fs.HadoopFileSystem constructor even thou

FlutterError : The key [LabeledGlobalKey<FormState>] was used by multiple widgets

I'm getting an error while trying to navigate to the menu_screen widget. I'm pretty sure that the GlobalKey menuFormKey is not used inside another widget but I

Add prefix to fasta headers using partial match

I have a fasta file where the headers look like this: >scf7180000349958_18140-5p >scf7180000350303_40840-5p >scf7180000349939_17296-5p >scf718000035

Avoid UIImage fill color from bleeding into UIImageView

I want to fill a UIImage containing a transparent section, without the fill color bleeding outside the image, into the UIImageView (I.E. into the UIImageView sp

Can one implement an update system like the CoinMarketCap app in Ionic

I'm currently building an Ionic app which will be getting very frequent updates. If possible, I want to avoid sending users to the app/play store each time I pu

Can I send only patient demographic information to PACS system using objective C?

While working on the DICOM I am successful to send the images and videos. Below is the code to send Images to PACS if ([mediaType isEqualToString:@"jpeg"] )

Is it possible to persist .env values in the .whl files when installed on a Databricks cluster? I'd prefer to keep all values in library (.whl)

I have created a project in Pycharm. This project has a .py file with functions, init.py and a .env file with my secret values. I need to be able to run this in

Google Apps Script issue with headers

The SEC Edgar website requires only 1 item in the header...but I can't get it to work in Script...What am I doing wrong? Script: const options = { 'method' : 'g

Reanimated 2 compatibility with SDK 44

SDK Version: Expo 44.0.6 Platforms(Android/iOS/web/all): Android / iOS Tested versions of react-native-reanimated : 2.2.4, 2.3.1, 2.4.1, 2.5.0 I recently upgra

How do I get the background colour to change upon hover in a div dropdown

I have been trying to make the colour fill the entire dropdown relative to the text you are hovering but it is not filling the whole div element, only the space

R - Use Twitter API to get every tweet from an account

My goal is to get EVERY tweet ever for any twitter account. I picked the NYTimes for this example. The code below works, but it only pulls the last 100 tweets.

SQL Query to get the last unique value from a column

I have a SQL table with the following columns: id | created_at I want to get a dictionary of all the unique id's and the latest created_at time. My current quer

Using forloop.counter to iterate over list in django template

I have a list of objects named chargers_list and on my view I estimate when will the charging be done. List of estimates is the same size and is named eta. I it

Unexpected Xs in the result of addition of two logic signals

I have a code where two signals are added. Only top bits of the signals are X. Bottom bits are 0s. But, the result has all Xs. I would expect the bottom bits to

Converting .xls to .xlsx files with VBA doesn't seem to reduce size

So, I have a bunch of old .xls files that I want to convert to .xlsx files for the sake of disk space economy. Doing it one-by-one is out of the question. I see

React native recaptchaV3 returns on onMessage() not working

Since most of the react-native-recaptchaV3 libraries are outdated, im trying to create component to get invisible recaptchaV3. But onMessage() returns nothing t

ChannelClosedException - Upstream Address: Not Available

Our scala/thrift service is using twitter finagle 2.12-18.10.0 with java8. The Service is working fine for single request or handful of requests but when we try

How to calculate the path of a particle subject to a vortex?

I'm trying to draw a path of a particle starting at (x0,y0) subject to a vortex located at (xv,yv). This is inspired by Lorena Barba's AeroPython. As stated in