All time

I have java language experence. If I need parse a binary tcp packet . like following format

encoded string and send it to peer by tcp

1byte msg type + 4 byte(unsigned int) + raw byte(body)

To parse this package , Some Java code like this:

byte[] data = new byte[1024];

Bytebuf buf = new ByteBuf(data)

byte type = buf.read()

int len = buf.ReadInt()

0 1
0 370
InterSystems Developer Community is a community of 23,645 amazing developers
We're a place where InterSystems IRIS programmers learn and share, stay up-to-date, grow together and have fun!

the file being created on the FTP server will have a format that includes the current date I would like to pull this file off the FTP while ignoring other files on the same location.

Inbound Service Class

I would like to find the file on the FTP that is being created using Todays date. But it appears that the wildcard are not recognizing the file format:

0 5
1 366

I am writing an API that sends over a very large JSON object.

The code I'm using to get the data is actually used in our production system today for the use of writing a report.

However when I call the code using the API (using SoapUI) I am getting 'Error getting response; java.net.SocketTimeoutException: Read timed out'

The web applications settings have a session timeout setting at 15 minutes, but this is timing out within just a few minutes, so I know it's not hitting this mark.

0 3
0 368

Hi Developers!

InterSystems IRIS stores everything in globals and if we use ObjectScript classes to persist data class documents globals it uses in storage. But if you use globals for calculations, temporary storages, for special indexes or for some other purposes - how do you document it?

Possible options which come to my mind:

1. Macro

#define Array ^MyGlobal

usage:

s $$$Array(1)=1

2. Class parameter

Parameter Array ="^MyGlobal";

Usage:

0 3
0 368

Hi, Community!

This is a digest of the Developer Community postings in July 2018.

Most viewed

Atelier and Studio 1070

Caché and Ensemble 2018.1 Field Test Release 268

GraphQL for InterSystems Data Platforms 191

Cache Dynamic SQL Pagination 155

Caché SQL Queries 154

$ZF(-100,..) issues 145

InterSystems Platform Functions 127

Docker with overlay support 124

Atelier. Compilation returns "Failed to read /api/atelier/v1/..." 123

Error: CSP application closed the connection before sending a response 122

Use GZIP to compress/decompress files 112

K-Means clustering of the Iris Dataset 76

Intersystems Cache Python Object-Relational Mapper 74

The way to launch Apache Spark + Apache Zeppelin + InterSystems IRIS 72

Continuous Delivery of your InterSystems solution using GitLab - Part VIII: CD using ICM 70

Storage Performance Series - NetApp All-Flash FAS (AFF) A300 69

Load a ML model into InterSystems IRIS 57

Most voted

Caché SQL Queries 9

GraphQL for InterSystems Data Platforms 7

Caché and Ensemble 2018.1 Field Test Release 7

The way to launch Apache Spark + Apache Zeppelin + InterSystems IRIS 6

Use GZIP to compress/decompress files 3

Check audit settings programmatically 3

K-Means clustering of the Iris Dataset 3

Docker with overlay support 3

Load a ML model into InterSystems IRIS 3

Storage Performance Series - NetApp All-Flash FAS (AFF) A300 2

Most commented

Error: CSP application closed the connection before sending a responce 30

Create studio project file 14

Atelier and Studio 12

Cache Dynamic SQL Pagination 10

Unable to export lookup tables (.LUT) and HL7 schemas (.HL7) directly via Atelier to commit in source control (GIT) 9

Using regular expressions in a routing rule 9

zgetFile+8^User.Read.1 8

$ZF(-100,..) issues 7

Multi-line terminal commands 7

Querying ODBC SQL Server 7

0 0
0 371

Hello,

Just today updated Atelier to the latest Beta release.Getting the following error in Eclipse:

Plug-in com.intersys.eclipse.legacy.extension was unable to load class com.intersys.eclipse.legacy.extension.Startup.

Unable to open Atelier perspective.

Does anybody else get this issue, how to go back to previous version?

Regards

Thomas

1 6
0 365

Hi

I am facing issue with cache database it is part of schneider PES software..the issue started with below:

and after some reinstallation i became not able even to install it.

receiving always message:

0 2
0 369

Currently I have a program that is going to be used to compare global nodes between namespaces. Using nested FOR statements I am stepping through global nodes and comparing between the namespaces, if the global values are different I then parse the node comparing each delimited segment.

This is working.

I want to now be able to set what global I am in as a variable to expand on this concept.

Program architecture

0 3
0 367

It's time to announce the Winners for July! Please welcome our awesome Global Masters Heroes!

The storm of applause goes to these developers and their great contribution to DC in July:

🥇 @YURI MARX GOMES, Software Architect, YM Services, Brazil
🥈 @Robert Cemper, ex Senior Sales Engineer from InterSystems, Austria
🥉 @Sergei.Sarkisian , Sales Engineer, InterSystems Corporation, UAE
🥉 @Irène.Mykhailova, Associate professor, Igor Sikorsky Kyiv Polytechnic Institute, Ukraine

Learn more about the competition and our awesome winners below.

5 4
0 290

Hey Developers,

See how you can get high-performance relational access using SQL to manage data within your InterSystems products:

Using SQL with InterSystems IRIS

https://www.youtube.com/embed/7l-YT5y-nJo
[This is an embedded link, but you cannot view embedded content directly on the site because you have declined the cookies necessary to access it. To view embedded content, you would need to accept all cookies in your Cookies Settings]

0 2
0 330
Discussion
· Mar 4, 2022
Code Golf: Label Validation

New month, new code golf!

You will receive a string with a label code with numbers and letters.
Our challenge is to check if this code begins with 1, 2, or 3 and ends with A, B, C, S, or R.
It should return true(1) if so or return false(0) otherwise.
As usual shortest solution wins.

Input

"198739A79D9R"

Output

1

6 4
1 366

Hey Community,

See how cubes are constructed for use in business intelligence, and learn about SQL and MDX query languages. Physical and virtual cubes are used in InterSystems IRIS® Business Intelligence and Adaptive Analytics:

Introduction to Cubes in Business Intelligence

https://www.youtube.com/embed/l6XFj1JQ5Fw
[This is an embedded link, but you cannot view embedded content directly on the site because you have declined the cookies necessary to access it. To view embedded content, you would need to accept all cookies in your Cookies Settings]

4 0
0 370

Hi Developers!

Here're the technology bonuses for the Security Contest 2021 that will give you extra points in the voting:

  • Basic Authentication usage - 2
  • Bearer/JWT Authentication usage - 3
  • OAuth 2.0 usage - 5
  • Authorization components usage - 2
  • Auditing usage - 2
  • Data Encryption usage - 2
  • Docker container usage - 2
  • ZPM Package deployment - 2
  • Online Demo - 2
  • Code Quality pass - 1
  • Article on Developer Community - 2
  • Video on YouTube - 3

See the details below.<--break->

0 1
0 350
Question
· Jul 13, 2021
Initialise object list

How do you initialise a list of objects of a particular type?

I have tried the following code and I get an undefined when I try to insert.

I can do this and it works but I don't know if it is correct.

Is there any way to do something like this?

Set a= New list of Accciones()

Thank you.

0 3
1 367

HA backup strategy

we use Rose to do HA with cache2016.2, the database is placed on the hard disk array, which is essentially an instance, and the same array disk is mounted by rose switch, another mirror machine is made.

Is there any problem with this structure for disaster recovery and backup, I hope to give some advice. Thanks!

0 8
0 362

Hi Community,

Please welcome the new video recorded by @Evgeny Shvarov on InterSystems Developers YouTube:

Developing InterSystems IRIS solution using GitHub Codespaces

https://www.youtube.com/embed/Kklh_ht2aJg
[This is an embedded link, but you cannot view embedded content directly on the site because you have declined the cookies necessary to access it. To view embedded content, you would need to accept all cookies in your Cookies Settings]

4 2
0 330

It's well-known among Studio users that besides few predefined code fragments (for ObjectScript, Basic, MV Basic) it's possible to add user-defined code fragments. I found it rather convenient to use them as patterns that help to follow some conventions (internal standards) of writing, say, methods descriptions.

But I didn't find a way how to share these patterns, except dumb copy-pasting. Did somebody succeed with this task? Any help would be appreciated.

0 10
0 360