Latest Questions

my flutter app wont start and stuck on loading screen on the phones

I have made a weather app (trained by Angela Yu) I start it on emulator or while my phone is plugged to pc without problem but when I make APK file and install

Can I get encrypt data from this expression?

While studying RSA, I saw this decryption form. M = Cd mod N If i know M,d,N, How Can I get C data from this expression? Is there any solution?

Variadic curried sum function

I need a js sum function to work like this: sum(1)(2) = 3 sum(1)(2)(3) = 6 sum(1)(2)(3)(4) = 10 etc. I heard it can't be done. But heard that if adding + in

Why does my JavaCard Applet work on my JAVACOS card but not my NXP J3H145 or ACOSJ card?

I have written and successfully installed an apple tonto a JAVACOS smart card. I can install this applet onto my NXP J3H145 and ACOSJ card, but when I try to in

Python find indices of subarrays which are continuous and increasing with difference of 1

The input is always strictly increasing. I could write this with a for loop and lots of if-else conditions, but is there some simple way? Here is an example: in

How to find kernal time of real device using flutter?

Please, I want to find the kernel time of my application and I want to test it on a real device. Is there any way to find it by using flutter?  Also, I use

Init CodeCommit repository with seed-code stored in S3 using CDK

I'm trying to convert the MLOps template for model building, training, and deployment CloudFormation template into a CDK project so I can easily update the defi

Apple Passkit: use NFC to open an URL

I successfully created a pass with PassKit. But I want to add NFC capability to this pass to, when other smartphone (NFC reader) read the card, an URL will be o

How to wait for translated text to appear in DeepL.com

After entering original text in DeepL, it takes 1-2 sec for translated text to appear. I'm unable to get translated text with TimeoutException. I've tried to Sy

How to return multimap type with 3 tables (Android Room Databases)

I am trying to do a 3 way JOIN in my query for my Android Room Database. My tables relationships are: Table1 has a 1 to 1 relationship with Table2 Table2 has a

Issue with docker and postgres, cannot run containers

Hi guys I have issue with docker-compose and postgres image. I am trying to use docker-compose(I am new to docker) for my API and postgres database. Her is how

Get page's blocks in EPiServer Content delivery API

I have a page in Episerver / Optimizely, with a page that has some blocks, but I want to access the blocks through https://localhost:5000/api/episerver/v3.0/con

Combining Two Flows and add them to temporary list of StateFlow(Hot Flows)

I m getting data from two End points using flows and assigning those two list to temporary list in ViewModel. For this purpose, I'm using combine function and r

Can someone explain me why "operator precedence" applies to logical operators like "||", "&&" in javaScript

Can someone explain me why operator precedence applies to logical operators like || and && in JavaScript? What does that mean in an operation like: tru

check if text is bold

I am testing the output of a search and I want to be sure that I will get the text and that it would be bold. For example I want the name to include "ar". As an

How Can I Hash By A Raw Pointer?

I want to create a function that provides a two step write and commit, like so: // Omitting locking for brevity struct States { commited_state: u64, //

How to send scheduled email with Crontab in Django

I like to send scheduled emails in Django with Crontab. I made a very simple app to test how can I send an email in every minutes (just for testing purposes). I

crr output list- remove df$ from coefficients?

I am using the cmprsk package to create a series of regressions. In the real models I used, I specified my models in the same way that is shown in the example t

Tweepy is throwing an error when I try to upload an image. (AttributeError: 'dict' object has no attribute 'media_id_string')

import tweepy import os from PIL import Image consumer_key = "hidden" consumer_secret = "hidden" access_token = "hidden" access_token_secret = "hidden" auth =

How can I rename files in a swift package in Xcode?

I don't want to rename a swift package. I want to rename files in the swift package. When I click on a file and wait until Xcode decides to bless me by highlig

High Throughput but Slow Consumer (Event Grid or Servicebus)

My producer is producing high volume data in a short span of time for a couple hours of a day; then does nothing for the rest of the day. My consumer is slow du

Reduce the react native ios/android size folder

Need help to reduce the react-native file size, my repo is getting heavy. cd ios xcodebuild clean cd android ./gradlew clean ./gradlew cleanBuildCache I tried

Download AWS RDS Data using Python After a certain Timestamp

I have an RDS database where there is a single sql table and new timeseries data shows up in it every 3 hours. I am trying to make a python script that pulls me

ApolloNetworkException sometime on Apollo Mutation on Android

I am using ApolloClient for Android. Sometime one mutation api failed with ApolloNetworkException. Problem is i can't generate in debugging. This exception occu

Creating New Columns in Pandas based on subtracting two variables based on value from different indexes

I have a DateFrame df which contains Open High Low Close Volume and Date data for every minute for the past ten days. **open** high low **close** volume

GITLAB - Fatal: Could not read from remote repository

First of all, thank you so much for your attention on this important issue that I'm dealing right now... See the image below then keep reading the text: So, I b

ValueError: [E143] Labels for component 'tagger' not initialized

I've been following this tutorial to create a custom NER. However, I keep getting this error: ValueError: [E143] Labels for component 'tagger' not initialized.

Game object can't detect others when using collision.gameObject.tag in unity

I have designed a scenario as below: I created an object spawner to collide with things tagged as "ob", using a boolean to manage the timing to spawn new obstac

Dockerfile RUN command multiple inputs

I have a Dockerfile using which I am trying to build an image. I wish to have multiple inputs fetched from the user from STDIN, when the build runs. To get star

AttributeError: 'str' object has no attribute 'tk' when click button [duplicate]

Here is my code: window = tk.Tk() version = tk.Label(text="hi", fg="orange", bg="black",