go to post Eduard Lebedyuk · Aug 7, 2024 There are to valid ways to solve this code golf: Create a program that contains all ASCII characters in the source code (so it does not have to print anything) Create a program which prints ASCII characters not present in a source code Both approaches are valid, sample solution uses approach 1. "Print out" is any output the program produces so if you for example add 1/0 at the end it might save you a few characters.
go to post Eduard Lebedyuk · Aug 7, 2024 Well, in that case you might as well do this (down to 41): ClassMethod ascii() [ CodeMode = objectgenerator ] { f i=0,27,0:1:94 d %code.Write($c(i+32)) }
go to post Eduard Lebedyuk · Aug 7, 2024 I am very interested how compilation flags help you with this.
go to post Eduard Lebedyuk · Jul 15, 2024 Class methods are recommended for use in all cases. While classes provide an overhead, this is usually negligible.
go to post Eduard Lebedyuk · Jun 10, 2024 Yes, query Ens.MessageHeader table, maybe joining on a body and then call AbortMessage method here.
go to post Eduard Lebedyuk · Jun 7, 2024 But how do you decide on a user? Do you have only one user to assign tasks to?
go to post Eduard Lebedyuk · Jun 7, 2024 Great! I see you are using this query: SELECT %Actions, %Message, %Priority, %Subject, TaskStatus_TimeCreated, ID FROM EnsLib_Workflow.TaskResponse WHERE TaskStatus_AssignedTo = ? AND TaskStatus_IsComplete = 0 So it returns only uncompleted tasks assigned to a current user (by the way UserName is a valid sql variable so you don't need to pass it as an argument from ObjectScript). It does not return unassigned tasks - do you autoassign tasks in production? If so, how?
go to post Eduard Lebedyuk · May 29, 2024 Create subscript level mappings for a correct database. %ALL global mapping is higher priority than namespace mapping: if %ALL has ^a global mapped to db A and your namespace has ^a mapped to db B, global ^a from db A would be used when you access it from your namespace. But, subscript mapping is higher priority than global mapping: if %ALL has ^a global mapped to db A and your namespace has ^a(1) mapped to db B, global ^a(1) from db B would be used when you access ^a(1) from your namespace.
go to post Eduard Lebedyuk · May 29, 2024 Had the same issue. Solved by removing these env vars: $env:SSLKEYLOGFILE="" $env:PYENV_ROOT="" $env:PYENV_HOME="" $env:PYENV="" Thanks @Philip Miloslavsky !
go to post Eduard Lebedyuk · May 21, 2024 Stop iris, go to iris.cpf and disable zstart calls, start iris, remove your zstart routine or comment out io writes, stop iris, reenable zstart calls in iris.cpf, start iris.
go to post Eduard Lebedyuk · May 8, 2024 Please check this series of articles, it's about git not tfs but the underlying idea is the same.