Latest Questions

Ignite C++. Can the following APIs be used?

I was wondering if the following APIs are available in Ignite C++. And if they are not available, what would be a reasonable alternative to implementing the sam

Ignite C++. Can the following APIs be used?

I was wondering if the following APIs are available in Ignite C++. And if they are not available, what would be a reasonable alternative to implementing the sam

Dplyr summarize "sum" function works correctly only for subset not the larger dataset in R

I have a dataset where I sampled abundance of 4 species across 12 months, 6 sites (5 replicates within a site). I am trying to calculate various summary stats (

Incorrect schema for yaml file using Serverless Framework Configuration - expected a string

I am using serverless framework configuration and aws for the serverless.yml file and also the yaml plugin on VSCode and it says that is incorrect type and is e

Global php variable is always null

I have a bug in my application which I do not understand at all. I made a minimal example which reproduces the issue: <?php class MyClass { const ITEMS_PE

Head (next/head) throwing error in NextJS

I am trying to add head to a page in NextJS. As per the documentation I have used next/head to add <head>. However, the code block for using next/head is

knex migration - 'ER_INVALID_DEFAULT: Invalid default value for 'timestamp'

I have a knex chema migration to create a table, with the line - exports.up = async function(knex) { return knex.schema.createTable("newTable", table => { ta

knex migration - 'ER_INVALID_DEFAULT: Invalid default value for 'timestamp'

I have a knex chema migration to create a table, with the line - exports.up = async function(knex) { return knex.schema.createTable("newTable", table => { ta

Android TextInputEditText default context menu, dismiss programmatically

I would like to as if there is a way to programmatically dismiss the context menu of android . The menu shows whenever I long press the TextInputEditText. "Cut"

continuous center of user with Mapkit

Good afternoon, I am having trouble displaying a map where it only centers around the user and will stay on the user with movement. My error is in my view file

Upgrading laravel into 8 I got illuminate/support support?

I try to upgrade my laravel 8 as I read here https://laravel.com/docs/9.x/upgrade But after I applyid some changes in composer.json I got error : $ composer up

continuous center of user with Mapkit

Good afternoon, I am having trouble displaying a map where it only centers around the user and will stay on the user with movement. My error is in my view file

Head (next/head) throwing error in NextJS

I am trying to add head to a page in NextJS. As per the documentation I have used next/head to add <head>. However, the code block for using next/head is

Create rectangle from given words by some rules

i got this task to make, but i am completely lost. I don't know how to make this... Could you please give me some ideas? I started making it and only thing i ma

Getting out of a loop, but it needs to remain running?

I've made a circle move around (in a circle), but now my application won't move on to the other tasks as I got myself caught in a loop. How do I get out of this

Getting out of a loop, but it needs to remain running?

I've made a circle move around (in a circle), but now my application won't move on to the other tasks as I got myself caught in a loop. How do I get out of this

Android TextInputEditText default context menu, dismiss programmatically

I would like to as if there is a way to programmatically dismiss the context menu of android . The menu shows whenever I long press the TextInputEditText. "Cut"

I am trying to get data from my sql database to my react page, but my api returns an empty array

http://chucklets.no/getOnlineTime When I click this I can see the JSON and it looks fine. But when using fetch it API Node.js code: app.get('/getOnlineTime', (r

How can I plot a model, which is trained with a scaled dataset?

I have a major problem with XAI, Shap, Lime you name it in general. Here is a basic example for shap. My problem is that when I use a real tuned model, which is

How can I plot a model, which is trained with a scaled dataset?

I have a major problem with XAI, Shap, Lime you name it in general. Here is a basic example for shap. My problem is that when I use a real tuned model, which is

In javascript, why doesn't await return an error when a promise catches?

I like async/await but I don't understand why we have to wrap our await in a try/catch block to catch errors. Why not make it so await returns some type of sta

Ajax Post request body returns undefined

I am trying to send some data to backend using ajax post request. Like this $.ajax({ url: "/aa", dataType: 'text', type: 'post', contentType

Ajax Post request body returns undefined

I am trying to send some data to backend using ajax post request. Like this $.ajax({ url: "/aa", dataType: 'text', type: 'post', contentType

flask_sqlalchemy keeps trying to connect to localhost database instead of the remote one

I'm trying to use the flask_sqlalchemy library in order to connect to a PostgreSQL server on my remote Ubuntu machine, but my app keeps trying to connect to the

Force-Directed Graph, nodes are not moving and stuck in the center of the map

I have a force graph where my nodes are actually a "g" element with an appended circle and an appended text element. I am having trouble with my nodes as they d

flask_sqlalchemy keeps trying to connect to localhost database instead of the remote one

I'm trying to use the flask_sqlalchemy library in order to connect to a PostgreSQL server on my remote Ubuntu machine, but my app keeps trying to connect to the

VSCode C/C++ IntelliSense automatic opening brackets

I'm coding in VSCode and while it isn't really necessary, sometimes i would find it useful if auto completion would add an opening bracket when for example auto

VSCode C/C++ IntelliSense automatic opening brackets

I'm coding in VSCode and while it isn't really necessary, sometimes i would find it useful if auto completion would add an opening bracket when for example auto

What is the default scheduler in Project Reactor?

Is there a "default" scheduler in the Project Reactor? Which one is it? By "default" I mean the one used when no subscribeOn() nor publishOn() are called for th

What is the default scheduler in Project Reactor?

Is there a "default" scheduler in the Project Reactor? Which one is it? By "default" I mean the one used when no subscribeOn() nor publishOn() are called for th