Latest Questions

why does next auth say that client_id is required, even though in discord providers, there clearly is a client_id

When I try to use next auth to create a discord oauth client and I click sign in, I get this error: https://next-auth.js.org/errors#get_authorization_url_error

Using the wikipedia module I can get the url of the first image from a wiki page, but I'm not sure how I would show the image, I'm new to progamming

I'm pretty blind to this kind of stuff as I've only taken 2 semesters of basic python. I am able to get the URL from image fairly easily as you can see in my im

minCompileSDK specified in dependency AAR metadata (androidx.window:window:1.0.0-beta04)

I'm currently using Android studio attempting to run an old Flutter project I made about a year and a half ago. When I attempt to run it I get the error: The mi

General question about nearest neighbor data structures

I want to improve the speed of my feature matching algorithm. The matching is based on comparing feature A with circularly shifted feature B. The shifting is pe

How can I use Gaussian Mixture to fit 2 gaussians in my data?

I'm trying to fit 2 gaussians in my red/blue population data. But it does not fit. What am I doing wrong? The code is: mag1 = 'z' mag2 = 'y' mask_rich = (wazp_m

Opaque NavBar Overlapping H1 and content

Ok so figured out the first problem.... now my navbar brand isn't expanding. It seems to be stuck at one size and its added a scroll bar to accommodate. How to

Phaser 3 interactive hitarea of a container

I have a container containing an image and some text; We are facing an issue with the interactive hitarea of the container this.image = this.add.image(0, 0, 'Gr

I have this error which says that there is no "wrapper" in the module curses

import curses import os from curses import wrapper # import Wrapper as Wp def design(stdscr): try: curses.init_pair(1, curses.COLOR_RED, curses.CO

Firebird query returns Buffer

This is my first time connecting to a Firebird database from Node JS. I'm using the "node-firebird" package. Everything seems to work fine. But I get these <

I created a file and stored some value there. When i opened the file in read mode and printed read(33) and printed tell() its showing as in below:

[enter image description here][1] I created a file poem.txt a stored a poem: There is freedom waiting for you, On the breezes of the sky, And you ask,"What if i

Add toolbar and drawer menu to Android Google Maps Activity

I have created a standard Google Maps Activity in my app in Android Studio and the map works as expected. My Activity is called 'NativeMap' and then the activit

Flutter Notification not showing pop up

Notifications I send with Firebase when the app is open, in the background, and closed work fine. But I want to pop up, like this: My codes; local_notificatio

Newbie Glade user confounded by radio buttons

I have a Glade GTK Gui which is meant to be a Front End for a CLI program I wrote a couple of years ago. There are a number of fields for the user to fill in. T

Android API 28 getBitmap throwing "no such column" error

On Android API 28, I'm trying to get the album art for a particular album using the albumID. The code throws the following error on getBitmap android.database.s

How to get a block with the exact number of bitcoin?

Bitcoin blocks are stored as *.dat files and downloaded not in real order because of parallel downloading. That means that blk_0123.dat on one node can differ f

How to mock bean with @PostConstruct method

I need to mock some class that contains @PostConstruct method, but I get NullPointerException inside @PostConstruct method. My code looks like the following: @S

Use tcp for packets to send packets of data

I want to use tcp for packets of data, not streams, but will it work with simultaneous sending? Will i get new independent socket with independent buffer? I mea

Github Action: No signing certificate "iOS Development" found

The related issue is here: https://github.com/yukiarrr/ios-build-action/issues/74 UPDATE: there is no "iOS Development" inside any of the code in my project. An

Dart/Flutter: Http request raises XMLHttpRequest error

I am trying to make an RSS reader with flutter but the program raises the XMLHttpRequest error. In my test I used web (Chrome) as my target platform. I already

How to get the Config.json file for Alexa voice service (AVS) SDK (Download button missing ?)

I am trying to build AVS built-in device for Android platform I followed the steps given in this doc https://developer.amazon.com/en-GB/docs/alexa/avs-device-sd

has webapp2 been deprecated in app engine?

I've been trying to find a question like this for ages, couldn't find this so I'll ask it. I have tried pip installing and PYTHONPATH but it hasn't worked impor

How to write to a file without overwriting current contents? [duplicate]

with open("games.txt", "w") as text_file: print(driver.current_url) text_file.write(driver.current_url + "\n") I'm using this code r

how can I Install php script on subdomain

I have a website abc .com,it already using php script. And I need to install another php script on subdomain like web.abc .com. I have allready created subdomai

Grouping of array items by locale - JSON transformation in Node JS using JSONata

I am stuck in transformation of JSON in JSONata. Any help on this is appreciated. Is there any library which makes this possible in Node JS apart from JSONata.

How to transform a list to an array in kotlin

I have a list val rewardList: List<Reward> class Reward( val nameBefore: String
 val amountBefore: Long ) I want to have val rewardArra

seaborn joint plot not working with logarithmic axes

I'm trying to plot via: g = sns.jointplot(x = etas, y = vs, marginal_kws=dict(bins=100), space = 0) g.ax_joint.set_xscale('log') g.ax_joint.set_ys

AppleScript: Toggle Between Safari Windows?

If I have two safari windows open, just one tab in each, how do I get applescript to switch to either of the windows at will? Or in other words, toggle between

How can I store data from JS into a MySQL database

First things first, I'm new to the forum, anything I write that isn't concise or just flatt out adjective let me know! I'm developing an app that can retrieve d

Distribution function of the linear combination of standardized student-t quantiles [duplicate]

Assume to observe 2 quantiles, x and y, associated with the z% probability. These quantiles are generated by 2 non-independent standardized st

Saving Icon to Hive DB in Flutter

Can anyone help me. How to Save Icon in hive database in flutter. And to read it. When I'm saving Icons it is giving error unhandled exception: hiveerror: canno