Latest Questions

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

Facing "Problem of parsing the package" while installing a wrapped APK file with Microsoft Intune in android phone

I have an APK file which is installing and working fine on android phone, but when I am wrapping this APK file with Microsoft Intune it is giving an error when

Text blur on print laravel invoice package which is based on DOMPDF

Hi I have created a pdf with Laravel invoice package now the pdf showing in the display is fine but when printing that document fonts get blurred anyone please

Why can't I create an "In-App Purchase Content" target in XCode?

I am adding an in-app purchase to my iOS application that unlocks a feature to render images at a higher resolution. To achieve this, I would like to leverage A

What is a NullPointerException, and how do I fix it?

What are Null Pointer Exceptions (java.lang.NullPointerException) and what causes them? What methods/tools can be used to determine the cause

Extracting contours bounding boxes for ROI's from image using opencv [duplicate]

I am trying to extract bounding boxes from this form image. The Bounding Boxes in my case are all the boxes in the image. My approach was to F

Updating create-react-app to latest version breaks async tests

I have an issue, I have recently upgraded my version of react to use react-script version 5.0.1 from version 4.0.3. Doing the instructions as per https://github

Module not found: Can't resolve 'regenerator-runtime' in next js 12.1.5 with react 18 with node 16

My package.json is like "scripts": { "dev": "next dev" }, "dependencies": { "next": "^12.1.5", "react": "^18.0.0", "react-dom": "^18.0.0"

Memory leak when using Http facade with Laravel Octane

Does anyone have idea why is memory going up for every request when I'm using Http facade with Laravel Octane ? Route::get('test', function () { Http::get('http

How to return the response from an asynchronous call

I have a function foo which makes an asynchronous request. How can I return the response/result from foo? I am trying to return the value from the callback, as

Need to remove a particular file of size 0 from a directory

Need to remove a particular file of size 0 from directory, can anyone help me on that? The code i have tried is for f in source_images: file_path = os.pat