go to post Eduard Lebedyuk · Jun 9, 2022 When I developed this query I was concerned with large globals, certainly if there's an interest in small globals' size this might come useful.
go to post Eduard Lebedyuk · Jun 6, 2022 object="991@%Library.DynamicObject" Somewhere the object was written into a global and read from it.
go to post Eduard Lebedyuk · Jun 3, 2022 Picks up a message maybe (not sure what are you talking about in regards of jobs)? Check Reply Code Actions.
go to post Eduard Lebedyuk · Jun 3, 2022 Mad respect for nailing that VSCode look without using VSCode code.
go to post Eduard Lebedyuk · May 29, 2022 You can also call it like this: set rs = ##class(GMECC.DocmanConnect.Tables.vwNewGPs).GetRowsFunc() while rs.%Next() { do rs.%Print() } More info about implicit methods.
go to post Eduard Lebedyuk · May 26, 2022 Modifying initial request is debatable .Rather I'd recommend setting a status variable to callrequest.Stream.CopyFrom(request.Stream).This way request remains immutable.
go to post Eduard Lebedyuk · May 25, 2022 Windows error codes are here. ERROR_SHARING_VIOLATION 32 (0x20) The process cannot access the file because it is being used by another process.
go to post Eduard Lebedyuk · May 11, 2022 I think we can safely consider this contest closed. Honestly, it's more of a discussion than a contest.
go to post Eduard Lebedyuk · May 8, 2022 Please post SQL plans for slow queries and class def. WRC handles SQL performance issues.
go to post Eduard Lebedyuk · May 6, 2022 Try: Set production = ##class(Ens.Config.Production).%OpenId(productionId) Set item = ##class(Ens.Config.Item).%OpenId(itemId) Do production.RemoveItem(item) Set sc = production.%Save()
go to post Eduard Lebedyuk · May 6, 2022 Nice use of routines. I think it's a first time we're seen routines in classmethods for code golf.
go to post Eduard Lebedyuk · May 2, 2022 Call ForceSessionId to populate SessionId property at the beginning.
go to post Eduard Lebedyuk · Apr 16, 2022 Great for demos! I did something similar (based on @Dmitry Maslennikov code) but put VSCode in a separate container - this way I can use one VSCode image with any number of dockerized apps.
go to post Eduard Lebedyuk · Apr 9, 2022 Using cap-add might allow for a more fine-grained control: --cap-add SETUID --cap-add DAC_OVERRIDE --cap-add FOWNER --cap-add SETGID --cap-add KILL Or in docker compose: version: '2' services: iris: cap_add: - SETUID - DAC_OVERRIDE - FOWNER - SETGID - KILL
go to post Eduard Lebedyuk · Apr 7, 2022 Is it OK to use this partially rebuilt index Sure, as long as you're OK with getting partially consistent results.