`ng-apexcharts` breaks unit tests

I’m trying to use apexcharts and ng-apexcharts on my home component. It was easy to get it working, but it’s breaking my unit tests. I tried to look it up, but couldn’t find anything that worked for me. The error happens on cleanup. HomeComponent: @Component({ selector: ‘hu-home’, templateUrl: ‘./home.component.html’, styleUrls: [‘./home.component.scss’], standalone: true, imports: [ … Read more

Moving .eml Files in Powershell

I have a text file with a list of .eml files I generated and want to move them to another location. Because of the way the file was generated there are some duplicates. The script looks like it should work. All the Variables are at least showing correct. $filepath=”G:\APPS\temp\Eric\Chris2.txt” $new = ‘G:\APPS\temp\Eric\Rel-emails’ $old = ‘C:\a\b’ … Read more

How are discrepancies with integer division handled in production contracts?

In my Escrow contract I have an item worth 0.1 ether and 1 wei = 100,000,000,000,000,001 wei. I need to divide this amount in half, and send it to two people. 100,000,000,000,000,001 / 2 Each person would be receiving 50,000,000,000,000,000 and ignoring the 1 wei because of the floor division in Solidity. payable(user_one).transfer(50000000000000000); payable(user_two).transfer(50000000000000000); How … Read more

How to accept HMR on option API vue 3 + Pinia

I had some trouble with use pinia and vue 3(opt). In my case i can’t understand how to accept hmr on pinia storages. import { defineStore } from ‘pinia’ export default defineStore(‘user’, { state: () => ({ authState: false, })) defining store view like this, it not a function that i can void later in … Read more

Ant Design – Sunburst Plot Legend Position

Does anyone know whether it is possible to re-position the legend within a sunburst plot? Mine is currently at the bottom of the plot and I would like to move it to the top right, with stacked fields. My current plots looks like: The code I have tried: const config3 = { data: infographics.randomData, innerRadius: … Read more

How to trim dependencies in a .NET MAUI Android app?

I have an .NET MAUI Android app in .Net 7 which uses PdfSharpCore and MigraDocCore to generate reports as PDF files. Everything works fine when I build and deploy the app on Debug configuration. However, if I build and deploy it on Release, no matter what is changed, clicking the button to render a PDF … Read more

Performance reduce in Android release mode

I develop an mobile application with Ionic and i use PDF.js to show all PDF files for my users. It’s completely work without problem BUT i don’t now why, in release mode (after sign and build my adb files and deploy to Google play console), my PDF is so slow to render. I don’t have … Read more