eigenvectors created by numpy.linalg.eig have dots instead of data

I want to calculate complex eigenvectors (Psi functions for shrodinger equation) for 20k*20k matrices, but always gets smth like this: [ 2.99009782e-09 -1.12381299e-08 -2.82346868e-08 …, 6.20967928e-34 -4.80675528e-34 -3.84848719e-35] [ 4.07337553e-08 -1.45976681e-07 -3.47961439e-07 …, 7.43558322e-34 -5.74815572e-34 -4.61317607e-35] [ 5.51921102e-07 -1.88491289e-06 -4.26000711e-06 …, 9.29535407e-34 -7.15304083e-34 -5.78846547e-35] As I understand it just replaces part of data with dots,… Read More eigenvectors created by numpy.linalg.eig have dots instead of data

How to find and calculate common letters between words in pandas

I have a dataset with some words in it and I want to compare 2 columns and count common letters between them. For e.g I have: data = {‘Col_1’ : [‘Heaven’, ‘Jako’, ‘Sm’, ‘apizza’], ‘Col_2’ : [‘Heaven’, ‘Jakob’, ‘Smart’, ‘pizza’]} df = pd.DataFrame(data) | Col_1 | Col_2 | ——————- | Heaven | Heaven | |… Read More How to find and calculate common letters between words in pandas

Adding multipart file as an attachment to an email in Spring Boot

I want to send an email from Spring Boot with a pdf attachment. I have received the pdf file as a multipart file from a POST call. Here’s my controller class so far (sendEmails method is included in emailService service): @PostMapping("/email") public ResponseEntity<?> sendEmail(@RequestParam("file") MultipartFile pdfFile, @RequestParam("email") String email) { boolean result = this.emailService.sendEmails(email, pdfFile);… Read More Adding multipart file as an attachment to an email in Spring Boot

Why didn't x86 implement direct core-to-core messaging assembly/cpu instructions?

After serious development, CPUs gained many cores, gained distributed blocks of cores on multiple chiplets, numa systems, etc but still a piece of data has to pass through not only L1 cache (if on same core SMT) but also some atomic/mutex synchronization primitive procedure that is not accelerated by hardware. I wonder why didn’t Intel… Read More Why didn't x86 implement direct core-to-core messaging assembly/cpu instructions?