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.
go to post Eduard Lebedyuk · Mar 30, 2022 I've seen solutions with files, and one way to do it would be to write the routines to files, and compare those, but I'd like to avoid that if possible. I would highly recommend you use a file approach, i.e. git. Write routines to files and compare them using git diff tools.
go to post Eduard Lebedyuk · Mar 29, 2022 That is a very good question related to an extremely broad topic I usually term as "Advanced Production Management". Should write a book on that. Maybe some day. Anyway, production management tools are good, but they are generic - they work for any production. The problems start to arise when you need to perform some application specific management. In that case I recommend writing an SQL query. While interoperability contains a lot of utility tables, you can start with Ens.MessageHeader and its' properties. It's a table containing message headers for all messages - specifically where they come from and where they go to. Join this table to your actual message using MessageBodyClassName and MessageBodyId values. After that you'll need to filter by all the common criteria - business host, timestamp (id!), some structured message body or header properties. The goal here is to minimize the dataset we'll perform a full text search on. Finally, after you got your dataset, expose FindAt as an SQL procedure and add it to the query conditions.