Mozzarella
Mozzarella
CC#
Created by Mozzarella on 11/14/2024 in #help
Dev express label printing problem in Debian how can I fix it?
18:42:41.811 | ERROR | API=0.0.0.0|Paper size (Width:15000hmm Lenght:10000hmm) not found
System.ArgumentException: Paper size (Width:15000hmm Lenght:10000hmm) not found
at DevExpress.Pdf.Drawing.Printing.UnixPdfDocumentPrintHelper.AssignMediaInfoSettings(IUnixPdfDocumentPrinter printer, LibCupsInterop libCupsInterop, CupsPrinterInfo printerInfo)
at DevExpress.Pdf.Drawing.Printing.UnixPdfDocumentPrintHelper.Print(IUnixPdfDocumentPrinter printer, String printerName)
at DevExpress.XtraPrinting.Native.UnixPrintingSystemExtenderPrint.Print(String printerName)
18:42:41.811 | ERROR | API=0.0.0.0|Paper size (Width:15000hmm Lenght:10000hmm) not found
System.ArgumentException: Paper size (Width:15000hmm Lenght:10000hmm) not found
at DevExpress.Pdf.Drawing.Printing.UnixPdfDocumentPrintHelper.AssignMediaInfoSettings(IUnixPdfDocumentPrinter printer, LibCupsInterop libCupsInterop, CupsPrinterInfo printerInfo)
at DevExpress.Pdf.Drawing.Printing.UnixPdfDocumentPrintHelper.Print(IUnixPdfDocumentPrinter printer, String printerName)
at DevExpress.XtraPrinting.Native.UnixPrintingSystemExtenderPrint.Print(String printerName)
5 replies
CC#
Created by Mozzarella on 9/10/2024 in #help
✅ Strange colleague
Hello, there's a colleague in my company who behaves oddly. I enjoy simplifying processes and finding better solutions for repetitive code. I implemented some patterns that reduced the workload and cleaned up messy code. And after that he starts play envy because seniors speaks high about me. But I found out this days he often reworks my solutions in regular code part in very vague solution. Instead of discussing his changes, he just pushes them without explanation, and his modifications often make the code more bug-prone. We don't have much competition in the company since we work in a niche area. His programming skills are questionable, but he understands the overall process better than I do. Despite my efforts to collaborate and be a team player, he constantly tries to assert dominance, making me feel inferior. I raised the issue with our senior, who apologized for not noticing it earlier, and we've now been instructed to stick to our own tasks. However, in the regular parts of the code that he touches, he tends to introduce more bugs, and when I offer help, he rudely rejects it. I feel uneasy because our strained relationship may hinder our ability to collaborate until the project is complete. How should I handle this situation? Did I do something wrong to speak up my senior?
6 replies
CC#
Created by Mozzarella on 8/12/2024 in #help
RunSynchronously may not be called on a task not bound to a delegate
I have a sync kafka method that interfaces message on kafka, whenever I use it on method I got error called 'RunSynchronously may not be called on a task not bound to a delegate, such as the task returned from an asynchronous method.' is there anyway to use and make a sure sendKafka Method completes when it is called without changing the implementation of SendKafka method itself?:
public void InterfaceUserInformation(IDbContext dbContext, Materiallot materiallot, MessageData messageData)
{
MessageBuilderMD messageBuilderMD = new MessageBuilderMD();
messageBuilderMD
.WithMessageData(messageData)
.WithNameOfRequest("To try")
.Build();
kafkaContext.SendKafka(messageBuilderMD.GetMessageData(), dbContext);

}
public void InterfaceUserInformation(IDbContext dbContext, Materiallot materiallot, MessageData messageData)
{
MessageBuilderMD messageBuilderMD = new MessageBuilderMD();
messageBuilderMD
.WithMessageData(messageData)
.WithNameOfRequest("To try")
.Build();
kafkaContext.SendKafka(messageBuilderMD.GetMessageData(), dbContext);

}
36 replies
CC#
Created by Mozzarella on 6/30/2024 in #help
✅ git merge vs git rebase
What would be a better way create merge request to the main remote? Merge from main to the branch I work on,or git rebase? Basically I need to send merge request from specific branch in remote with my name to the main remote Example 1.Main(remote)->Main(local) pull ->MyName(local) merge with Main->push MyName(remote) -> merge request to main 2.with rebase
78 replies
CC#
Created by Mozzarella on 6/7/2024 in #help
Visual studio 2022 community Jquery ,Js, html hot reload
Guys I have jquery javascript html css with asp.net core project ,that is bind together.. I need to relaunch Visual studio if I want the changes applied for frontend or need to go and put manually js html files in the Debug folder..is there anyway just apply changes without rebuilding and launching entire app?
27 replies
CC#
Created by Mozzarella on 1/21/2024 in #help
Android app and Web clients having one backend
i want to have flutter android and typescript react clients to talk with backend, should I use only one , because it means I need to allow all headers for CORS and turn of CSRF for android app, what would be advise?
7 replies
CC#
Created by Mozzarella on 10/28/2023 in #help
❔ What is the identity open-source platform such as Keycloack for asp.net core backend ?
title
2 replies