Another way to look at results -- by medal count. Border is part 1 (doesn't count), background is part 2.
.png)
- Log in to post comments
Another way to look at results -- by medal count. Border is part 1 (doesn't count), background is part 2.
.png)
I shrunk your code a bit, it's 72 characters now:
f n=1:1:n f i=1:1:n,n-1:-1:1,"" s a=$e(112345678,2,i) w !?n-i,a,i,$re(a)Shrunk your code a bit, 71 chars:
f s=1:1:s f i=1:1:s,s-1:-1:1,"" s a=i f k=a-1:-1:1{s a=k_a_k} w !?s-i,aYeah I thought N>9 is "bonus level" - it will definitely require more characters. Original answer (top one) was only working for N<=9 anyway
Yeah I think we can shred a couple of characters using this technique from your code as well - it will become 71 characters, best so far:
f i=1:1:N f j="",1:1:i,i-1:-1:1 w !?N-j f l=1:1:j{w l} f r=l-1:-1:1 w r.png)
You need to right-click and select Export
There are 2 utilities which may help you:
- PROFILE https://docs.intersystems.com/irislatest/csp/docbook/DocBook.UI.Page.cl…
- PERFMON https://docs.intersystems.com/irislatest/csp/docbook/DocBook.UI.Page.cl…
Both can be used for routines/classes in deployed mode.
You can use <img> tag and get a Google Maps image using Static GMaps API
Documentation for <img> https://docs.intersystems.com/latest/csp/docbook/Doc.View.cls?KEY=GRPT_…
Documentation for static maps API https://developers.google.com/maps/documentation/maps-static/overview
AES ECB encryption/decryption is done using AESEncode/AESDecode methods in the same package. They are deprecated so don't appear in documentation.
You'll have to do it manually
http://www.herongyang.com/Cryptography/DES-JDK-What-Is-PKCS5Padding.html
What is the error message?
Hi Ishan,
1) - There is Trak documentation but it's not publicly available, you need to get access via TRC https://trc.intersystems.com/
2) There are no settings for fonts/colours, you need to use custom CSS file to change those
Hi Adrian,
Multi factor authentication can be enabled if you use single sign on or LDAP in TrakCare and your auth provider supports it. Please contact TRC for details.
Which HealthShare version do you use? There was an enhancement in HS 2019.2 to include "H"/"L" flags in Clinical viewer: https://docs.intersystems.com/hs20211/csp/docbook/DocBook.UI.Page.cls?K…
Hi Ishan,
Write an email from your work address to support@intersystems.com and ask for an access to TRC
I believe this error happen because you are trying to execute this code in the class method, not instance method.
Can you please provide a full class definition and how you are executing the test?
Try this way
K S $ZT="^%ET"
s id="{id}"
set httprequest = ##class(%Net.HttpRequest).%New()
set httprequest.SSLConfiguration = "HTTPS"
set httprequest.Server = "anypoint.mulesoft.com" /// CHANGED
set httprequest.Https = 1
set httprequest.ContentType="json"
set sc=httprequest.SetHeader("Connection","close")
set status = httprequest.Get("/mocking/api/v1/links/03a74865-d7fb-4318-a310-7ad2b95361f6/v1/receivables/"_id") /// CHANGED
if status {
s response=httprequest.HttpResponse //IS JUST RETURNING PAGE
do response.Data.Rewind()
do {
write response.Data.Read()
} while 'response.Data.AtEnd
}
quit
Did you try to rebuild indices and purge cached queries?
Also, have a look at the execution plan in the Management portal -- it will tell you which indices it uses and how it builds a result.
You can use %IGNOREINDEX and %NOINDEX keywords, have a look here in documentation
https://docs.intersystems.com/irislatest/csp/docbook/DocBook.UI.Page.cl…
This is how I do it, instead of COPY just download from GitHub - and then you can do OBJ.Load
Hi Sai Sai,
One thing you might look into in regards to distribution and deployment is ZPM Package Manager https://github.com/intersystems-community/zpm . It's still under active development, but is already very usable at the moment, you can use it with a self-hosted open source private registry https://github.com/intersystems-community/zpm-registry/ and my consultancy is currently developing a commercial hosted version which will be announced at Virtual Summit next month.
There is an example of an Interoperability packaging at GitHub: https://github.com/intersystems-community/iris-interoperability-template
In terms of deployment, unless you have MASSIVE productions, I would recommend to deploy the whole thing at once even if not everything has changed -- it's just a lot less moving parts and options for errors this way, and you can test deployments on your test server as many times as you like.
Hope this helps!
Sergei Shutov
Managing Director, Banksia Global
https://banksiaglobal.com
Hi Muhammad,
You should look at csvgen package by @Evgeny.Shvarovhttps://github.com/evshvarov/csvgen
There are a few examples of importing data from GitHub on the home page. You can have a look at the source code to see how it's done if you need more flexibility.
This is what I do to generate JWTs.
All classes are ProcedureBlock by default, you need to manually set [Not ProcedureBlock] if you don't want to compile classes to Procedures. It's highly recommended to use ProcedureBlock though.
In your case sigalg will be RS256 instead of HS256 and you'll need to call ##class(%OAuth2.JWKS).AddX509 instead of ##class(%OAuth2.JWKS).AddOct to use your private RSA keys.
It's definitely a bit of a challenge, but should be doable!
Well in case of $classmethod you don't need to use an indirection at all to achieve the same result. I would avoid using indirection if at all possible.
If you are talking about header (first part of 3-part JWT token) ObjectToJWT should generate correct values for you with alg, typ and x5t values set correctly.
If you are talking about payload (second part), I construct it after // Define token payload line in the example above and then pass it as 2nd argument to ObjectToJWT - you can add any data you need there.
Can you please post your docker-compose.yml? Or at least part relevant to IRIS
The one I posted above with hs256 did work, I didn't try RSA ones. Can you post your code that produces a wrong signature?
Hi Evgeny, this is very much dependent on how you log in :)
If you are using "basic auth" method directly from browser (where it will prompt you for login/password once), you can change username by using "username@" in address bar, for example
http://userB@127.0.0.1/my/api/
Hope this helps!
=Sergei Shutov
Banksia Global | https://banksiaglobal.com