go to post Eduard Lebedyuk · Nov 30, 2022 No, the entire menu is hardcoded as is. You can use DeepSee/BI User Portal (advantage: public items are available for everyone, disadvantage: requires navigation to a specific ns), but real SMP menu modification requires editing code you shouldn't edit. Why not favorites? You can autopopulate it on ZSTART.
go to post Eduard Lebedyuk · Nov 24, 2022 InterSystems is aware of the issue, it will be fixed soon. UPD: Should be working now.
go to post Eduard Lebedyuk · Nov 23, 2022 Great! How does: As of 2022.2 releases, ARM and Intel platform containers are published under the same name. So on an Intel machine "docker pull containers.intersystems.com/intersystems/iris:1111.2.3.456.0" will return the intel image, on an ARM machine that same pull will return the ARM image automatically, without needing to have a special .../iris-arm image. relate to docker pull containers.intersystems.com/intersystems/iris-community-arm64:2022.3.0.545.0 docker pull containers.intersystems.com/intersystems/irishealth-community-arm64:2022.3.0.545.0 ?
go to post Eduard Lebedyuk · Nov 18, 2022 2016.1 to anything System Methods! Search your codebase for ".$from" and ".$to". You'll have to change your application code if there are System Methods present present. Other than that, you might want to update to 2017.1 to take an advantage of Frozen Plans. Is it possible to test update procedures on dev/test deployment first?
go to post Eduard Lebedyuk · Nov 18, 2022 This question has been discussed with an AWS SWE and their answer is that as long as we're using a main route table for a VPC, it should survive an AZ failure and so we could update it even in the case of an AZ failure. Additionally, this scenario has been tested (as far as we're able to simulate a failure) and it does work as expected. While there is an endless variety of how things can fail, I'm reasonably sure that the approach outlined in the article is resilient to an AZ failure.
go to post Eduard Lebedyuk · Nov 14, 2022 Here's an example, but it looks like you have tried these settings. Does your Gmail mailbox allow SMTP? It must be explicitly enabled I think.
go to post Eduard Lebedyuk · Nov 12, 2022 possible word delimiters weren't specified (space, tab, etc.) Single whitespace no specification about punctuation marks (allowed or disallowed) No punctuation no specification about empty words (allowed or disallowed) and how to handle them, if allowed No empty words in input. "O2K. I'1m" --> "I'm OK.""spac4es are2 1There ma3ny" --> "There are many spaces." Not a valid input for this golf.
go to post Eduard Lebedyuk · Nov 8, 2022 Adapters cannot exist outside of BHs so you can use ##class(Ens.Director).IsItemEnabled(component) on the BH adapter belongs to.
go to post Eduard Lebedyuk · Nov 3, 2022 Something like this: #define USE_CALLIN_CHAR #define ZF_DLL /* Required only for dynamically linked libraries. */ #include <cdzf.h> #include <windows.h> #include <wand/magick_wand.h> #ifdef __linux__ #include <dlfcn.h> #endif void resize(char *file, char *fileOut) { MagickWand *m_wand = NULL; int width,height; MagickWandGenesis(); m_wand = NewMagickWand(); // Read the image - all you need to do is change "logo:" to some other // filename to have this resize and, if necessary, convert a different file MagickReadImage(m_wand, file); // Get the image's width and height width = MagickGetImageWidth(m_wand); height = MagickGetImageHeight(m_wand); // Cut them in half but make sure they don't underflow if((width /= 2) < 1)width = 1; if((height /= 2) < 1)height = 1; // Resize the image using the Lanczos filter // The blur factor is a "double", where > 1 is blurry, < 1 is sharp // I haven't figured out how you would change the blur parameter of MagickResizeImage // on the command line so I have set it to its default of one. MagickResizeImage(m_wand,width,height,LanczosFilter,1); // Set the compression quality to 95 (high quality = low compression) MagickSetImageCompressionQuality(m_wand,95); /* Write the new image */ MagickWriteImage(m_wand, fileOut); /* Clean up */ if(m_wand)m_wand = DestroyMagickWand(m_wand); MagickWandTerminus(); return ZF_SUCCESS; } ZFBEGIN ZFENTRY("resize","cc",resize) ZFEND You can now also use Embedded Python to resize images.
go to post Eduard Lebedyuk · Nov 2, 2022 Sure: set db = ##Class(SYS.Database).%OpenId(dir,,.sc) write db.Mirrored where dir is a directory with IRIS.DAT.
go to post Eduard Lebedyuk · Oct 31, 2022 Here's how: Install ghostscript system-wide (Linix: apt install ghostscript, Windows) Download fonts, for example here's some cyrillic fonts (you need another font - it's just an example): PT Courier - Cyrillic Extract TrueType font CRR35__C.TTF into any gs font folder To list gs font folders execute: gs -help, in Windows its usually %ProgramFiles%\gs\gsVERSION\fonts, in Linux /usr/share/ghostscript/fonts Add MyFont info sourcing it from CRR35__C.TTF into gs font table: /MyFont (CRR35__C.TTF) ; Font table in Windows: %ProgramFiles%\gs\gsVERSION\lib\Fontmap.GS, Linux: /usr/share/ghostscript/current/Resource/Init/Fontmap.GS Nevermind, that's only if you want to use gs directly. For FOP follow these instructions.
go to post Eduard Lebedyuk · Oct 14, 2022 I do see Database class in intersystems-binding-3.2.1. Update to 2022.1?