LEGISLATION BONANZA The final two sitting weeks of the year are upon us and thereโs a bit to get through. The AAP and Guardian Australia are among those that have had a stab at detailing the dozens of pieces of legislation set to be considered over the next fortnight. As outlined at the end of […]
I am developing a C application in Visual Studio 2022, using winapi. I have some issues regarding logging (for debug purposes) from callbacks when using winapi thread pools. Below is a minimal example (without error handling, for shorter code): VOID CALLBACK WorkCallback(PTP_CALLBACK_INSTANCE instance, PVOID parameter, PTP_WORK work) { UNREFERENCED_PARAMETER(instance); UNREFERENCED_PARAMETER(parameter); UNREFERENCED_PARAMETER(work); printf(“Hello from WorkCallback\n\r”); } […]
Prezi has quite a sophisticated engineering culture where solutions are built that do the job. Some solutions that have been built in the past stood out and aged well. In other areas, some solutions have lost traction compared to industry standards. In the second half of 2023, we modernized one of those areas that was […]
Appleโs developer tools provide a rich variety of debugging aids. Sometimes though, itโs useful to do things the old fashioned way. With debugging, this often means just printing out data while your code runs, and then looking through the results to see whatโs going on. Some scenarios where printing debug data helps include: When you […]