This.
Or even better post your code.
Is speed/memory footprint important?
- Log in to post comments
This.
Or even better post your code.
Is speed/memory footprint important?
Interesting.
Is it available for InterSystems IRIS?
Invoke is the way to go.
ClassMethod CreateWebApp(pVars, pLogLevel, tInstaller) As %Status
{
Set Namespace=tInstaller.Evaluate("${Namespace}")
Do tInstaller.PushNS("%SYS")
Do ##class(Security.System).GetInstallationSecuritySetting(.security)
If (security="None") {
Set cspProperties("AutheEnabled") = $$$AutheUnauthenticated
} Else {
Set cspProperties("AutheEnabled") = $$$AutheCache // Password
}
Set cspProperties("NameSpace") = Namespace
Set cspProperties("IsNameSpaceDefault") = $$$YES
Set cspProperties("DispatchClass") = "MDX2JSON.REST"
Set cspProperties("UseCookies") = $$$YES
Set tSC = ##class(Security.Applications).Create("/"_Namespace, .cspProperties)
Do tInstaller.PopNS()
If $$$ISERR(tSC) Throw ##class(%Installer.Exception).CreateFromStatus(tSC)
Quit $$$OK
}And invoke with
<RunInstall Class="MDX2JSON.Installer" Method="CreateWebApp"/>Thank you, Marc!
With Kitty there's even a Put Window on Foreground option:

I've tested with
h 10 w $c(7) and it works!
Is there anything similar for cterm/iristerm?
IRISList is a wrapper over InterSystems IRIS $lb structure, and it supports these value types: Int16, Int32, Int64, bool, Single, Double, string, byte[], IRISList.
To be more specific the following datatypes are available.
In C# Decimal can be constructed from {Int32, Int32, Int32, Boolean, Byte} and you can use GetBits method to retrieve these parts from Decimal (docs).
Depends on the project I guess.
Trivial fixes can be sent via pulls directly.
Bigger fixes usually require time to fix so some discussion can help.
That said, opening empty pull and talking there also works.
In most cases just process special variable should be enough:
Set SourceConfigName = process.%PrimaryRequestHeader.SourceConfigName Here's how you can contact the WRC.
Post your script?
Are linefeeds correct for os?
Thank you!
That's exactly what I need.
6252 can be used for both DCPM and DRAM configuration.
Great article, Mark!
I have a few notes and questions:
1. Here's a brief comparison of different storage categories:
While I certainly see the appeal of DC Persistent Memory if we need more memory than RAM can provide, is it useful on smaller scale? Say I have a few hundred gigabytes of indices I need to keep in global buffer and be able to read-access fast. Would plain DDR4 RAM be better? Costs seem comparable and read throughput of 25 Gb/s seems considerably better.
2. What RAM was used in a Server #1 configuration?
3. Why are there different CPUs between servers?
4. Workload link does not work.
Why do you want to do that?
Load the code and open main csp page. That's enough for the project to work.
I'd recommend:
Use byte[] to pass streams. So:
byte[] bytes = Encoding.Default.GetBytes(txt);
...
var parameter = new object[]
{
bytes,
qspec,
errorlog,
loadedItems
};Property DoctorInfos As list Of PKGNotification.InDoctorInfo;?
Working with collection properties documentation.
If you want to hold a list of objects at runtume, use %ListOfObjects.
If you want to store a list of objects use collection properties (as you use ListOfPatient).
Where's the printer relative to the Ensemble server?
That's a fairly recent version of Python. Not sure if old Python Binding works with it. I can recommend you to:
As to Supported Server Platforms, it might be even Ubuntu 18.04 LTS for x86-64 rather than 16.04.
Question was about Ensemble initially which supports 16.04. InterSystems IRIS Supports 18.04.
And what about RHEL 8? Which IRIS version will be supported under this OS?
Asking @Andreas Dieckow to comment.
Yes, looks like no exception is thrown.
Try this query:
sql = "SELECT 1" Any exceptions on stack?
import sys, traceback
traceback.format_exception(sys.last_type, sys.last_value, sys.last_traceback)Can you run SELECT 1 query?
To answer that, before query is compiled all arguments are parametrized:
like 'text%'becomes
like ?so we can't really replace LIKE with %STARTSWITH on code generation step (there's a brackets argument specification I suppose).
Properties inherited from % classes and properties starting with %% are skipped in DTL.
Multidimensional properties are skipped in DTL.
Found official (but experimental - use at your own risk) way.
Your class should extend Ens.GenericObject and implement %EnumerateProperties method.
Share a code sample please?
One other thing: both methods should be either methods or classmethods.
%GetComponentById and GetComponentById are different methods.
Do you want to call %GetComponentByID of a parent class?
You can do it like this:
set result = ##super(args...)
Sure, you can access it as:
process.AlertGroupsprocess is a special variable, holding the current instance of the BPL process.
Load method writes to the current device which is a big no in the Native API ecosystem. Add flags to suppress all output:
var qspec = "/displaylog=0 /displayerror=0";