Latest Questions

It looks like '' has not been IVY compiled - it has no 'ɵcmp' field

I am currently using Angular 11. When I run the unit tests, all pass except one which says: Error: It looks like 'ResultsService' has not been IVY compiled - it

unable to change timezone

I'm trying to change the timezone of my container into "Europe/paris", I saw I had to set TZ environment variable so I did this, but it doesn't change the timez

How to set rgb colored symbol on specific pos (Win terminal)?

Iam making terminal game but iam struggling with the render part, i want to set symbol on specific pos with rgb color. so first question is how to set symbol in

Get ETH Balance with Ethersjs

I'm trying to get the balance of my wallet address to render on my frontend. Here's what I have so far. const [balance, setBalance] = useState(""); const hand

Is possible create a css class name with numbers "from-to"?

I need to have 3 classes as follow: .class-4, .class-5, .class-6 { color: pink; } And it works perfectly. Let's say I need the same but for 100: .class-4,

Are there any WYSIWIG editor available for writing GitHub issues?

I am trying to import my issues from Notion to GitHub but finding the markdown system really hard to write/preview. Writing on markdown is still fine but if I w

My message got duplicated when reloading the page [duplicate]

I have a problem with my PHP and MySQL code. I was creating a private messaging system but unfortunately, each time I reload the page, the las

Rendering database data to browser in Django

I am having difficulties with showing database data in browser with Django. I have, for show my issue, just one date in my database. When I go to the Django She

MEF vs. IAsyncDisposable or iterate over all instantiated exports

I've shared MEF exports that implement IAsyncDisposable. If an export in MEF implements IDisposable it will be disposed when the composition container (or maybe

react-bootstrap-table-next onclick(row) not providing correct key/value information

I'm attempting to add an onClick() event to a cell in a row so that I can get the keyField value for that row when the cell is clicked. This functionality worke

Python-TensorFlow app FileNotFoundError: [Errno 2] No such file or directory

I am trying to test a simple Flask-TensorFlow Image Classifier app from docker container. The Docker containers were successfully deployed in an Ubuntu 22.10 EC

using webpack to import files dynamically inside react component

const LongDetail: React.FC<Props> = ({ id, section, placeholder, Fromtolocation, }) => { const { setPrimary, setSecondary, create

Truncate string with html tag in Laravel

I want to truncate in Laravel text from database with HTML Tag, for example: <p>Hi. I want to say about my story. </p> I found a method: {{ Str::li

Preserving prior form data when navigating back in Gatsbyjs

I have search page in Gatsbyjs where a filter form resides in the sidebar with multiple options. The page is generated from node.js using a template, where the

How to independently set a button click in react?

I am trying to figure out on how to set a button that can independently be disabled when using the .map function. So I created a state whenever the button is cl

Custom Acumatica report variable not working consistently

in Acumatica, the out of the box GL report" lists gl beginning balance, debits, credit and ending balance by Account / Sub-Account. MY client is requesting th

Using Recurrent Neural Networks for binary values prediction

EDIT: The problems stated have been solved, you'll first find the solution, the initial question is stated below! SOLUTION: Applying the .unsqueeze(0) to my inp

kaptGenerateStubsDebugKotlin fails on a Apple M1 Macbook (JDK 11)

I get this failure both in Android Studio and running ./gradlew assembleDebug on the command line on a new Macbook with Apple M1 Max chip. On my old Intel Mac t

Why are function pointers and data pointers incompatible in C/C++?

I have read that converting a function pointer to a data pointer and vice versa works on most platforms but is not guaranteed to work. Why is this the case? Sho

canvas not adding image from url (base 64)

i am working on project where i want to create a min preview for canvas. so when any change happen to canvas eg: user added text to canvas , the canvas will be

Firebase deploy issue

I am learning web development. At now I'm practicing some react projects with firebase authentication. But after finishing the deployment, I'm only getting this

angular workspace : I do run the application but I getting this type of error NGCC failed

Generating browser application bundles (phase: setup)...Error: ENOENT: no such file or directory, open 'D:/Harry/client/src/src/main.ts' at Object.openSync (nod

OpenLayers 6 DragZoom Control - how to change condition

in OL 6 I would like to use a button, so a user can click to activate a change for the drag zoom control so it will be available without holding down shift. In

Not able to complete a transaction with Amazon Pay in PHP

I'm struggling to complete a Amazon Pay transaction in PHP. First of all I followed this guide https://developer.amazon.com/de/docs/amazon-pay-checkout/get-set-

Mask from bitfield in C++

Here's a little puzzle I couldn't find a good answer for: Given a struct with bitfields, such as struct A { unsigned foo:13; unsigned bar:19; }; Is the

Is there a way in Acrobat (ios or android) to send an email of a completed PDF form to an address that is entered in a field on the same form?

I have some javascript in an acrobat form PDF that works fairly well on a PC, but doesn't work on an ios device. My goal is to send an email to an address that

What are the rules for collection names in SOLR?

What is the naming ruleset for collections that should be followed, or in other words what are the inacceptable characters for a collection name? (for example,

Exception based on condition on Apps Script in Google Sheet

With this script I can exclude to insert the same value column in Google Sheet for maximum 100 times. But I am trying to exclude (with if statement) some values

Can we use dataclasses as DTO in AWS python Lambda for nested JSON

I was looking out for a structure like DTO to store data from json in a AWS python Lambda. I came across dataclasses in python and tried it to create simple dto

Curl request to batch or windows command line [closed]

I would like to create a github repository using a command line/batch script or whatever on windows. This request works on https://reqbin.com/