Latest Questions

Errors when using "npm start" (in MacOS)

I have been trying for sometime already to just run "npm start" for an old app developed with EmberJs but I get several errors. I had tried the following: Unins

Seeing ERR_BLOCKED_BY_CLIENT when trying to use Mapbox token

I've tried using a secret key, the default public key and refreshing. It had been working but now doesn't. And on occasion it will work until I refresh. I haven

Use C preprocessor macros (just the constants) as Python variables

I am writing a Python code which needs to interoperate with C code which I also wrote. In C I have a section like #define FOO 23 // whatever #define BAR 54.3

Is there a way to do a syntactic/symantic diff of C code?

NEC2 was originally written in Fortran and there have been two different ports to C from the original Fortran (xnec2c and necpp). The variable and function name

How to retrieve the value of a listener passed to a Stream?

Stream<int> get ints async* { yield 100; } Future<int> foo(int i) async { print(i); return 0; } void main() { final subscription = int

Spring Security Login Form always loads first

I am working on a web application and I want to implement spring security. I want anyone to be able to see the home page at least. I have attempted to map this

How to solve this error in flutter Could not determine the dependencies of task ':app:compileFlutterBuildDebug'. using android studio

Launching lib\main.dart on AOSP on IA Emulator in debug mode... Running Gradle task 'assembly debug'... FAILURE: Build failed with an exception. Where: Script '

How to move a view/shape along a custom path with swiftUI?

There doesn't seem to be an intuitive way of moving a view/shape along a custom path, particularly a curvy path. I've found several libraries for UIKit that all

How to concatenate the values of a dataframe along column axis and fill missing values?

I really stuck in this problem for a long time. I have a data frame, I want to group the data based on the ids and then stick the values for each id together. H

How to remove special characters from columns D and F?

I have data in column D and F which might have special characters (, . / + &() etc.). I want to remove the special characters if any and trim clean the colu

Table API's Over aggregation delays firing the trigger

Below is the code snippet: // Firstly the inputStream receives the first batch of 420 records; // Secondly the inputStream receives the second batch of

Call AppLocalizations’ method through regex

I’m trying to build an ItemList in flutter that would call the AppLocalizations.of(context) with the methods value01, value02, value03. Example of arbFile

Apache POI: default Excel cell styles

Is there are a way to use default Excel cell styles (see below) in Apache POI, similar to default data formats in BuiltinFormats?

Elasticsearch update index template and upgrade indexes to 8.0

I am trying to do 2 steps hopefully in the least amount of steps as possible: Upgrade my ES6.4 indexes to 8.0 Implement a template against the indexes so I can

What happen to this v-for directive

I wanted to make some object like below So, at first I wrote code below <div class="p-2 border-2 border-blue-300 mr-auto rounded-full space-x-1"> <

trying to set value to context provider for a cypress test spec

the challenge am having is explained below Am trying to set a draft_id value after the submit-recipients data-testid is clicked. The beforementioned value is pa

Change "view-order/order-id" url/endpoint in WooCommerce My account - orders to "orders/order-id"

Currently the URL, under the WooCommerce 'My orders' tab, for the button when you view an order in detail is equal to /my-account/view-order/ORDER-ID/ I would l

rails7 RAILS_ENV=production rails assets:precompile error Command "build" not found

Extremly odd error, asset precompilation works fine in dev mode, but as soon as i do production mode, i get error: root@53407ec15126:/app# RAILS_ENV=production

Remove Klarna Payments with cash on delivery method

I have a problem with a code. So I have five different payment methods in my site. When a customer select "Cash on delivery" as shipment method all the payment

Search matching data on list/datatable and table

I am trying to search all requests that matches certain regular expression (simple wildcards mostly), but I am not sure how to proceed. I can easily do this wit

magento order status change

In magento2 back end when I submit shipment the order status will changes from processing to complete but I can't find where the code execute this can any on

Readiness probe issues on aks with helm elasticsearch installation

i am trying to install via helm elasticsearch on an azure aks this is the helm repo command : helm repo add elastic https://helm.elastic.co this is my values.y

Student Project - Fatal Error: Uncaught Error: Call to a member function prepare() on null in php

I'm working on a student project. I'm building an e-commerce website to sell soaps, and the error message I'm getting is the following. Fatal error: Uncaught E

I want to be able to have multiple widgets in a page, it isn't working though. I want to have containers like the image below. It only allows me text?

This is the code below, please much appreciated if you can at least try. thank you | I am trying to create an app where I can have multiple widgets in one page.

<B1-Motion> binding is unresponsive in Tkinter

I've been working on learning more about the Canvas() widget in tkinter, so I decided to build a simple paint app just for practice. To achieve this, I created

reorder bar plot by fill in R

How to set this plot in ascending order? many thanks in advance. library(ggplot2) library(reshape2) iris2 <- melt(iris, id.vars="Species"); iris2 ggplot(da

How to store the image ID and image of a set of shuffling images in array

I'm a newbie and still learning how to code. So, any help is much appreciated. This is what I have in an image of what's done so far. How do I save the selected

Chrome autocomplete and transition animation in CSS

I've a semi-complicated user registration form that Google Chrome is ruining. As per design, I've moving/animated placeholder which moves out of input to 20px a

java.util.NoSuchElementException: Flow is empty

I'm trying to test this repository using a unit test with JUnit 4 class AppRepository @Inject constructor( private val networkHelper: NetworkHelper, pri

Find the nth character of an increasing sequence

Recently i saw a competitive coding question, the bruteforce approach doesn't meet the time complexity, Is there any other solution for this, Question: An expan