Question Shengzhi Wu · Feb 1, 2021

Hi ! 

There is a BusinessService be called by several callers,but now I get this error below on Event Log page:

<Ens>ErrGeneral: Failed to create document from string:

ERROR #6301: SAX XML Parser Error:processing instruction cannot start with 'xml'
while processing Anonymous Stream at line 1 offset 106

What may be the cause of this error?

How can I locate the parameter that caused this error?

3
0 1536
Article José Pereira · Feb 2, 2021 12m read

Image search like Google's is a nice feature that wonder me - as almost anything related to image processing.

A few months ago, InterSystems released a preview for Python Embedded. As Python has a lot of libs for deal with image processing, I decided to start my own attemptive to play with a sort of image search - a much more modest version in deed :-)


---

A tast of theory 🤓

In order to do an image search system, fist it's necessary select a set of features to be extracted from images - these features are also called descriptors.

0
0 444
Question Peter Charbonnier · Feb 1, 2021

The docbook chapter "Importing XML into Objects" has the following tip:

You can call the Correlate() method repeatedly to correlate more than one element, although the examples in this chapter show only one correlation.

Does anyone have a good example of multiple correlations?  I've got code running that does multiple imports of the same file while changing the correlation and it's inelegant and not really what I want.

2
0 783
Article Renato Banzai · Jan 30, 2021 3m read

Making a blog using Python + IRIS Globals

Since I started to use internet (late 90's), I always had a CMS (content management system) present to make easier post any information in a blog, social media or even an enterprise page. And later years putting all my code into github I used to document it on a markdown file. Observing how easy could be persisting data into Intersystems IRIS with the Native API I decided to make this application and force myself to forget a little of SQL and stay open to key-value database model.

picture

What is a blog?

2
0 481
Question Rick Prichett · Jan 28, 2021

I have a business process that I call a class that returns a JSON message.  I was hoping to be able to reference the tag or iterate through the response until I find my value.

// Build the request parameter
set tRequest = ##class(CDSM.MemberAPI.Request).%New()
set tRequest.DateOfBirth = ptDOB 
set tRequest.FirstName = ptFname
set tRequest.LastName = ptLname// Business operation needs to be parameterized
set tSC = ..SendRequestSync("boEISLMemberAPI, tRequest")

Just pasting the value I am interested since the response is 300 values long.

<memberId>12345678</memberId>

9
0 840
Question Mark O'Reilly · Jan 31, 2021

Hi:

I'm using Docker and I don't get how you create new folders in the container.

I'm using Docker on Windows running the iris health community.

I want to create 2 folders on the instance and be adding files to it; I must be missing something as i can't see how this gets easily managed?

May retry just downloading the main community HS edition not through docker but could how to amend the error

"Too many Cores (16) for InterSystems IRIS Community License." for the main installation not through docker- docker has that workaround but not seen one for a non docker installation?

10
0 378
Announcement Anastasia Dyubaylo · Jan 11, 2021

Hey Community,

We're pleased to invite you to the InterSystems AI+ML Summit 2021, which will be held virtually from January 25 to February 4! Join us for a two-week event that ranges from thought leadership to technical sessions and even 1:1 “Ask the Expert” sessions. 

The sessions will be in both German and English. And this summit is free to attend!

See details below:

7
0 688
Question Steve Pisani · Feb 1, 2021

Hi,

When wanting to use VS-Code for server-side editing.. - In VS-code I can right click on a server item (eg a class) to see a set of menu options including 'Server Source Control... ' and 'Server Command Menu...' at the bottom.

I noticed that these options are somewhat connected to my server-side source control hooks class that inherits from %Studio.SourceControl.Base, however, I am seeing different behavior between my custom subclass of this, and, the provided %Atelier.SourceControl subclass.

How should the subclass of %Studio.SourceControl.

1
0 629
Question David Cui · Jan 27, 2020

I cannot find those folders under my IRIS install dev folder.  Those were in my cache install dev folder.

Will InterSystems drop those support?  If yes, why are there some discussion about Python/Iris in this forum?

Of course, I wish IS continue to support those.

23
1 1868
Article Henrique Dias · Jan 27, 2021 2m read

The pandemic that struck the world in 2020 made everyone follow the news and the numbers that involve the COVID-19.

Why don’t you take that opportunity to create something simple and pleasant, to follow the number of vaccinations worldwide?

To face this challenge, I'm using the data provided by Our World in Data - Research and data to make progress against the world’s largest problems.

They have a dedicated repository on Github with the data of COVID-19, and I took the vaccination data to help me with my tracker.

If you didn't know the guys, check it out, it well worth your time.

4
0 466
Article Yuri Marx · Jan 29, 2021 1m read

With https://openexchange.intersystems.com/package/IRIS-Publisher, you can document your IRIS Application and gererate the Application Documentation Web Portal (responsive). See the results:

Main Page:

Classes Menu and Class Page: The class page with class documentation, the list of methods and properties.

Navigation and Search bar: 

Search dialog:

About page: your contacts

Change the theme:

 

1
1 335
Question Yone Moreno · Jan 28, 2021

Hello,

We would need some help,

Our aim is to send an image as binary data using a REST Service

Currently we do the following:

1 We get from the external system a binary image in our REST Operation

2 We encode it to Base64

set linea=""
    while (tResponse.Data.AtEnd = 0) {
        set linea = linea_$system.Encryption.Base64Encode(tResponse.Data.Read(57))
    }

3 We send it to the Process in a Response Message:

Class Mensajes.Response.miSCS.ConsultarImagen Extends Ens.Response
{

Property resultado As %Boolean;

Property informacion As %String(MAXLEN = "");

Property binario As %Stream.
4
0 1130
Announcement Evgeny Shvarov · Jan 29, 2021

Hi developers!

We had a set of technology bonuses for the InterSystems Multi-Model contest.

And here is how projects collected it:

Project Docker zpm Key-Value SQL Object Your Model Total Bonus
zapm 2 2 2 2 2   10
iris-vaccine-tracker 2 2 2 2 2   10
qewd-jsdb-kit-iris 2   2     2 6
BeI-MultiModel 2   2 2 2 2 10
iris-image-index-demo 2 2 2 2 2 2 12
IRIS Publisher 2   2 2 2   8
iris-sftp-logs 2 2 2 2 2   10
iris-multimodel-suite 2   2 2 2 2 10
GeoDatas 2     2 2   6
HealthInfoQueryLayer     2 2 2   6
0
0 179
Question fajie xie · Jan 27, 2021

许可证检测中,当前许可证使用达到100%,我们应该如何迅速处理解决它?并且不影响生产环境。
In license detection, the current license usage reaches 100%. How can we deal with it quickly? And does not affect the production environment.

5
0 445
Article John Murray · Jan 29, 2021 1m read

On a default VS Code installation, when you create a new file its language mode is 'Plain Text'

You have to click there to set another mode.

Luckily, there's a setting you can tweak to change this. It is called files.defaultLanguage

Set it to the ID of the language you want. Those IDs display in parentheses after each entry on the language mode selector.

Even better, you can set it to use the same language as the file you're currently focused on:

"files.defaultLanguage": "${activeEditorLanguage}"
1
1 2742