Latest Questions

Why does the Ethercat device stays in PREOP and does not go to OP mode, when CoE (CAN over Ethernet) is implemented on it?

I am working on a chip which is supposed to be functional as a slave for a PLC (master) through an EtherCAT connection. The chip includes an Atmega2560 and a LA

Borb reading pdf results in spaces between all letters

I am trying to use borb to extract text from pdf's. Some pdfs works well but when trying to extract text from some pdf's I get extra spaces between all letters

Fetch data from database where logged in user id exist in an column that stores ids as an array Laravel 8

I want to get the rows in a database where logged in user exists. Here is my structure Table = Meetings Column = Participants (stores an array of users eg.["1",

Highlight Partial Matches in a Single Column in Google Sheets

How can I highlight Partial matches in a single column of google sheets? some entries are the same but they have slight misspellings or some are in lowercase. H

finding the longest sequence of identical digits in an integer (Java)

I need to write a recursive method that takes an int as input and returns the longest sequence of identical numbers in it as an int (NOT as a string). counting

PrimeVue3 MenuBar Customization

I'm using the PrimeVue MenuBar component for the Header/NavBar. I wanted to show some text in b/w the menu items. I was just able to add the text, but I need to

Folder being mistaken for module Error: no module named "GAN"

I'm running this github project: https://github.com/Biomatter-Designs/ProteinGAN the second step says 2. Run the training script with python train_gan. but when

Downloading JSON file in expressjs and reading it

I have a task where I am given a URL such as https://xyz.json. This URL prompts the downloading of the JSON file into the local. I am now required to read the u

Why JpaRepository doesn't commit to database when called from @SpringBootTest?

When repository.save(t) is called from my service, which is in turn called from my controller, all works just fine, and the object is inserted into the database

how can I package resource files in a winrt app

What is the best approach to deploy "Resource" files within a WinRT app - Windows Store app? I am working on an app that will use a number of html and css templ

How to download a higher resolution image from the wiki API with Python?

I modified the code and added to it the ability to download photos from the wiki. I am downloading the url of the photo from the main wiki page. The problem is

How can I show company name with logo up, when seaching in address bar?

When I search a company in URL search bar, Some companies show their logo, company name, and description which links to their website. I really want to add this

Rust MongoDB set unique fields

How to set a unique field in the mongodb rust implementation? Are you supposed to use create_index()? async fn create_id_fields(client: Client) -> Result {

Custom substitutions for compression in the Itanium ABI

The Itanium ABI has some rules for compressing identifier for name mangling: for instance, given namespace foo { struct string { void f(); }; }; the f

Convert multidimensional NetCDF to Tif in R

I have .nc file sizing around 651 MB with a couple of datasets (daily) (rr_mrg_19810101_20181231_ENACT.nc) data. I need to convert (rr_mrg_19810101_20181231_EN

Image Processing from PDF to excel

I have a pdf file which holds a few tables containing different colors instead of RGB values. I have been tasked to fetch RGB value from each row and transition

In AWS Cognito or Amplify Auth, can I create a user from a uid, without user interaction, similar to the Firebase Auth "custom token" approach?

I'm migrating a web app from firebase to Amplify. In firebase, you can silently sign-up / sign-in a user without any user interaction or password, as long as yo

PDF from HTML with only alphabetic (Latin) using itextpdf

I believe that the answer to my question is very easy for those who have had experience with this, and I thank you in advance. Namely, I managed to export a PDF

Spring OAuth2 name always null

New to OAuth2 and Spring framework. Have followed two introduction guides to it so far (for example this one) and the OAuth2User object (org.springframework.sec

How to add ObjectId only if the ObjectID is not present in the array in mongodb using mongoose?

so I have a schema where I want to add ObjectID to an array of id's in mongoose, I tried adding it unique, but did not work. Most likely because I need to itera

How to extract a multi-volume RAR archive file with a Python script?

I want to do this on Linux with rar x filename. The RAR archive file is split into parts, for example: Filename-001.rar Filename-002.rar Filename-003.rar I wan

boto3 waiter for ECS ServicesStable

I am using boto3 to deploy my ECS services. I have added the boto3 waiter for ECS as: ecs_client = boto3.client('ecs', config=my_config) waiter = ecs_client.get

Element is not getting selected in Selenium Python Firefox Web Scrapping

I have problem with element selection checkbox with one of the list item in below code snippet. I'm able to select 1st 2nd & 4th Element in below code, howe

auto.register.schemas set to false doesn't work as intended

auto.register.schemas=false doesn't work as I expect. If I read the documentation it's suppose to counter the producer to regsiter new schemas. https://docs.c

My electron app that I packaged is not opening (I suspect it's a problem in package.json)

I can't open my electron app that I packaged , it created the folder release builds but I am not able to open the exe file it created. I suspect the problem is

Groupby id and change values for all rows for the earliest date to NaN

I have the following id, i would like to groupby id and then replace value X with NaN. My current df. ID Date X other variables.. 1 1/1/18

How do create a splitting container in flutter? What should be the right approach? CustomPainter or Chip?

Wanted to replicate some UI. Can I do this with in built flutter widgets? I have tried using Chip but was not able to. Will CustomPainter be the right thing to

"ImportError: *.so: cannot open shared object file" after pip installing extension module built with pybind11

I'm running into some peculiar behavior that I don't understand. I have a python/C++ module (call it X) built using pybind11. In my build directory I have build

Next.js Wrong Path to Fonts on Export

when I export the Nextjs files, the fonts, are wrong. In the console I get the following error: This is how my global.css file looks: @tailwind base; @tailwind

Jupyter Notebook/Firefox hangs when dealing with a bit of resource intensive script

When I use Jupyter Notebook in linux firefox on very light applications I have no problems. As I increase a bit the application resource intensivity, the browse