Latest Questions

Using RestSharp to request a file fails with memory issue

I have to API's talking to each other on Kubernetes. The first API asks the second API for a small file using RestSharp (in ASP.NET). The file is 8Kb so basical

Django static loaded but not used

Nginx web server serves static. Browser downloads static files but they don’t work. Why would that be? Loaded static files docker-compose volumes: dja

How to correctly define a dispatching function in C++?

I have the following problem: I receive commands through an AF_UNIX socket (no problems about network byte ordering). the first word in packet is the command, t

C++ loop using queue- error: ‘begin’ was not declared in this scope

I am not very familiar with C++ pointer and address. I think I have an error related to the pointers. The program consists of different objects of objects, I

Express graphql mutation giving empty result after creating user

server: const { ApolloServer, gql } = require("apollo-server-express"); const express = require("express"); const mongoose = require("mongoose"); const { userRe

AWS changes automatically desired capacity

I am creating an ECS system where I want to have an autoscaling group managed by a capacity provider in a cluster. Right now I have created the autoscaling grou

How to create a new column based on the value of another column while retaining the Date format

The data that I have is as: dt_1 cond1 2009-05-04 1 2009-07-04 0 I want to add a variable that has date from a existing variable, if cond1 is 1

yarn start FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory

Receiving this error with yarn start I tried many solutions with this error through stakeoverflow using this link FATAL ERROR: Ineffective mark-compacts near h

How to access an object inside another object in a map in react

react.js is complicated sometimes, I'm trying to access an information of a state, I have an array which has one object inside, and in this object, there is ano

Laravel Excel Queue consume too much RAM

I have set up Laravel queue to read excel files using your Laravel excel and it works great for small files. But for large files (100+mb) and 400k+ records, it

How do I globally load Rmetric Financial calendars into `golem` at the startup?

Question: What are the best practices to go about setting a "global" financial calendar using load_rmetrics_calenders(), ie a singular run of a function in gole

Generate RSA key with large public exponent

Step 1. I generated RSA key pairs for Alice and Bob, respectively, and encrypted a message for Alice using Alice's public key. Step 2. I multiplied the public

.htaccess do not preload files on Ajax calls

I have some website running with PHP. In my .htaccess I have added the following directives: <FilesMatch "index.php"> Header add Link "</css/bo

shell script : container vs host

For Loop to start from 2nd argument behaving differently on container and host #!/bin/bash for i in "${@:2}" do echo $i done Call: script.sh 129 5

Await component doesn't send OK

I would like to do a await message and list for my setWelcome but it does not send me Ok when I select in the Select menu and I do not know if it is good for th

String together several operations in javascript calculator

I need help with my calculator. I don't know how to string together several operations. Can someone help me out with this or give some tips how to work forward.

I'm having an issue with reading JSON from a file

I was interested in making a discord bot an im following a tutorial (https://www.youtube.com/watch?v=-WlLazqQO3I) I've barely learnt python so i only understand

cytosape setup for off-line use?

Is there a preferred way to setup cytoscape for off-line use? My little network of lab equipment isn't connected to the Internet. I have version 3.9.1 (linux)

Add a new column for color code from red to green based on the increasing value of Opportunity in data frame

I have a data frame and I wanted to generate a new column for colour codes which stars from red for the least value of Opportunity and moves toward green for hi

Problems when using Autodesk Viewer on iOS 15 device

I'm integrating the Autodesk Viewer in an iOS application. For that I am using an WKWebView to load the local HTML and javascript to load files from Forge and d

Data showing undefined in table

I am trying to get my data into an HTML table. The JavaScript is properly detecting the data and is showing two rows in the table, which is correct. The issue i

Is there a way to concatenate multiindex Pandas Dataframes with different column levels?

I am reading data from some csv files and a typical dataframe looks like this: Type Animal Animal Animal Color Black Black Red Value 0 0 0

Unexpected output when printing to 0xb8000 - osdev

I'm developing a kernel and when I try to print to video memory(0xb8000) I get weird characters when I run it. What I have tried: I have tried to find some answ

Infinite loading after secure checkout in react-native stripe application

I am using react-native and stripe in my application. Everything works fine till payment and I am getting success message in stripe and funds are transferred pr

Make Vue-ECharts chart fit in vuetify v-card

I am desperately trying to make vue-echart work within a v-card component of vuetify. Somehow, I am not able to adjust the size of the canvas the chart is drawn

WordPress Elementor hiding sections when having a shortcode

as soon as I add a shortcode to my WordPress site some sections disappear on the actual Site if I save it in the preview Elementor I see everything but if I ope

Unable to access state - React.js working with Websocket

This is my first post here, so nice to meet you all. I have recently started my adventure with React, so my question probably will not be very challenging (it c

c++ find similar string in map/vector

Is there a c ++ function that finds all string occurrences above the map / vector that differ by max in 1 (generally n) character? Possibly some procedure that

How do I configure JSF Project in vscode?

I am trying to setup things for JSF Project in VSCode but I dont know how to do it, 'coz wherever I check there are Maven(something) specific configurations and

R Shiny server dropbox connection works for sometime and then says "cannot connect to server" - error in drop_upload: Unauthorized (HTTP401)

I have used this code for a long time but I recently changed the dropbox account I wanted the .csv files to be sent to and now the app works, meaning you can op