Question Scott Roth · Jun 29, 2018

I wrote a ZAUTHENTICATE.mac a couple of months back, and found recently that it is creating coredumps on almost a nightly basis. I think I have figured out this problem to be not clearing out my MsgSearch after I am doing 2 of them within the code.

1. Get User Attibutes from AD

2. Get User Groups From AD

So while I am trying to cleanup the code I thought it would be a good time to add a Certificate and TLS to the mix since I should of been using that all along. However I keep running into issues

Error message: Cache error: <UNDEFINED>ZAUTHENTICATE+104^ZAUTHENTICATE *LD

its not displaying the

14
0 619
Article Athanassios Hatzis · Jul 23, 2018 5m read

Hi,

this is a public announcement for the first release of Intersystems Cache Object-Relational Mapper in Python 3. Project's main repository is located at Github (healiseu/IntersystemsCacheORM).

About the project

CacheORM module is an enhanced OOP porting of Intersystems Cache-Python binding. There are three classes implemented:

The intersys.pythonbind package is a Python C extension that provides Python application with transparent connectivity to the objects stored in the Caché database.

2
1 1266
Question Mitch Scobell · Jul 23, 2018

I'm trying to have my REST service return the entire data set for one of our legacy globals.  Currently I am parsing the object from a SQL statement into generic objects to be returned like this:


         Set specimenArray=[]
        
        WHILE resultSet.%Next() {
            Set specimen = {}
            Set specimen.SpecimenId= resultSet.SpecimenId
            Set specimen.ProjectId = resultSet.ProjectId
            
            Set Oref = specimenArray.%Push(specimen)
        }
        
        Set tProxy = specimenArray.%ToJSON()
        set %response.Status = 200
        set %response.ContentType

2
0 891
Question sansa stark · Jul 16, 2018

Hello  ,

         Ensemble Business Process seems like red color but it still processing message successfully. I have checked log, events, queue everything is clear. there is no log info or error in the history.  If BP is in red color in the sense might have some issues, but is still processing messages successfully.

 Can you guys please advice on this.

3
0 368
Article Niyaz Khafizov · Jul 19, 2018 4m read

Hi all. Today we are going to use k-means algorithm on the Iris Dataset.

Note: I have done the following on Ubuntu 18.04, Apache Zeppelin 0.8.0, python 3.6.5.

Introduction

K-Means is one of the simplest unsupervised learning algorithms that solves the clustering problem.It groups all the objects in such a way that objects in the same group (group is a cluster) are more similar (in some sense) to each other than to those in other groups.For example, assume you have an image with a red ball on the green grass.K-Means will split all pixels into two clusters.

0
3 9811
Question Damian Jenkin · Jul 15, 2018

Hi,
  I cannot edit properties (title etc) of Widgets within Dashboards outside of the ENSDEMO namespace:
  I have a namespace "HL7Report" for example;
  I have some Pivots created looking into a cube's data;
  I click "DeepSee", "User Portal" from the Management Portal;
  I click "+", "Add Dashboard", folder/name/title/category all as "new", "OK", new dashboard appears;
  I click ">", "Widgets >", "+", and select a pivot to display as a table (chart / anything);
  I then CANNOT edit the properties of the Widget, I click the ">" again and every Widget I create is "new (Closed)"...
  I do the exact

3
0 402
Question Damian Jenkin · Jul 16, 2018

Hi hi,
  Is there any way to do an automated daily print-to-PDF of a dashboard (its' widgets / pivots etc)?
  I am able to add a "Print" Control to a Widget on a dashboard to do the default DeepSee Print functionality of a Control, but this is manual and browser dependent.
  Is there a way I can either:
    1) have say a scheduled task to automatically print the dashboard (as and instead of the manual Control click) including specifying filename?
    2) failing full-automation; is there a way to get the manual Print Control (when clicked) to print and save to file in one step and not open the PDF

4
0 457
Discussion Evgeny Shvarov · Apr 22, 2018

Hi, Community!

Have a question for general discussion. 

In ObjectScript we have cls for classes and mac code, which both compile into int code. 

Is there any reason when you use mac instead of cls  for non-persistent classes?

For me the benefits for cls are:

1. Inheritance and other OOP features

2. Auto-documented code 

For mac one visible benefit is easier call in terminal:

do method^Utils(p1,p2)

vs

do ##class(Package.Utils).method(p1,p2)

What is your choice and why?

43
1 3060
Question JAQUELINE KRIEGER · May 31, 2018

Hi community,

I’m working in a project for a Chile Police and I need to know if it’s possible to build a hierarchy in Deepsee like Zone- Prefecture – Comisaria – Destacamentos (there are 4 levels of police units) , but these information are only in one table that has the code, the father ,description and UnitType. (it’s recursive) . Example:

UNI_CODIGO

UNI_PADRE

UNI_DESCRIPCION

UNI_TIPOUNIDAD

1

20

OTRA REPARTICION

 

10

2.380

38A. COM. PUENTE ALTO

50

20

 

DIR.NAC.SEGUR.Y ORDEN PUBLICO

10

30

8.855

TENENCIA CARRETERA ARICA

70

40

8.740

1RA. COM. ARICA (AGR)

40

45

40

1RA. COM. ARICA

50

The idea it’s to build dimensions bases

8
0 518
Question Murillo Braga · Jul 17, 2018

Hello guys,

I have been playing around with the deployment tools from Ensemble (mostly based on this article https://docs.intersystems.com/latest/csp/docbook/DocBook.UI.Page.cls?KE…) , but so far the one thing I still couldn't figure out is how to group files into a single "Studio project file".

By using the deployment tool UI, supposing that I want to add a bunch of custom files to my deployment file (XML), it's practically impossible because I need to add one by one.

So the only way around it is using this idea of grouping files into a "Studio project file" and thereafter adding

14
0 976
Question Murillo Braga · Feb 22, 2018

Hello guys,

Based on this article (others as well, but this is the relevant one): http://docs.intersystems.com/latest/csp/docbook/DocBook.UI.Page.cls?KEY…

I have been playing around with the Management Portal deployment tool, which involves:
Ensemble > Manage > Deployment Changes > Deploy and
Production Settings > Actions > Export
Production Settings > Actions > Re-Export

Everything was going fine , until I came across this:

- For the default settings, once I include them in the final xml and deploy the package into another production, by checking the default settings screen to the new

2
0 492
Question Tuan Minh Do · Jul 16, 2018

Hello,

I have imported my data with the following code (%DocDB).

set filename = "/home/student/Dokumente/convertcsv.json"

IF $SYSTEM.DocDB.Exists("Fitabase1") { 

SET db = ##class(%DocDB.Database).%GetDatabase("Fitabase1")

}

ELSE {

SET db = ##class(%DocDB.Database).%CreateDatabase("Fitabase1") 

}

set arr = ##class(%DynamicAbstractObject).%FromJSON(filename)

SET jstring = arr.%ToJSON()

//SET doccount = db.%Size()

DO db.%FromJSON(jstring) 

Now I have data sets like 

#     ID     %Doc

2
0 499
Announcement Anastasia Dyubaylo · Jul 16, 2018

Hi Community!

User or developer working with Caché, Ensemble or other InterSystems products? Healthcare or banking IT professional? Or just a developer seeking new challenges?

Come and join us for discussing what's up once you are in Prague, Czech Republic, or near by! We'll share news and experience on how to develop modern big-data, multi-model oriented applications.

Please, feel free to ask your questions about InterSystems Meetup group in Prague. @Daniel Kutac and @Ondřej Hoferek will provide details.

0
0 413
Question Archunan K · Apr 20, 2018

Hi All,

I have created custom TCP service and custom TCP Operation in ensemble.

The custom TCP operation sending some data to Cutom TCP service and received ACK from TCP service.

My Custom TCP Opeartion :

Method OnMessage(pRequest As CUSTOM.RECORD, Output pResponse As Ens.StringContainer) As %Status
{
    Do ..Adapter.SendMessageString("Testing string",.pResponse)
    Set ^RESPONSE=pResponse
    Quit $$$OK
}

My Custom TCP Service :


Method OnProcessInput(pInput As Ens.StringContainer, Output pOutput As Ens.StringContainer) As %Status
{

    Set ^LOG($NOW())=pInput.StringValue
    set

3
0 700
InterSystems Official Steve Brunner · Jul 10, 2018

InterSystems is pleased to announce the availability of HealthShare Health Connect v15.032 on 2017.2.2

The platforms for this maintenance release are the same as for HealthShare Health Connect v15.03 on 2017.2.1.

This release is based on core technology version 2017.2.2.865.0.18321 with the following HealthShare module:

  • Core: 15.032.9685

The version number of the HealthShare Health Connect kits for this release is 2017.2.2HS.9685.0

2
1 523
Question Anzelem Sanyatwe · Jul 12, 2018

How best can I capture %GSIZE all pages? Or parameters to use?

The output file is only showing the last page.

 

I used these options

Device: /usr/cache/mgr/gsizedoc.txt

Parameters? "WNS" =>

 

--------------------------

Page: 23                          GLOBAL SIZE                                                                            12 Jul 2018
                                                                                                                             3:56 PM
      Global        Blocks       Bytes Used  Packing   Contig.
      --------    --------  ---------------  -------   -------
 

5
0 1458
Question Laura Cavanaugh · Jul 12, 2018

I have a class that has a property calledTags (like DescriptiveWords, but tags), where multiple tags are possible.  I am trying to decide on list of Objects vs. array of Objects.

Based on this post: https://community.intersystems.com/post/querying-list-property-sql, sounds like using an array of Objects is the better way to go. Indeed, I already noticed that it's not possible to have duplicates when using an array of Objects.

However, I am unable to make my queries on the array of Object use an index.  

Here is a code example, with queries and the cost of the query (see the comments for each

4
0 974