Dmitry Maslennikov · Sep 11, 2023 go to post

Any news, about this issue, or that only happen to me?

I'm working in docker, in many different IRISs, but always have this issue

Or finally, no one works with ObjectScript anymore?

Make sure, that your class responses with correct HTTP header ContentType, so, browser will understand that it's an image, and if the content type is supported it will be shown, as well as ContentDisposition

for instance

Content-Type: image/jpeg
Content-Disposition: inline; filename="filename.jpg"

PNG, and other files, should have their own content types too

IRIS SQL does not have CHECK constraints, so, this syntax not available at all. Just try using a simple string, without enumeration.

Unfortunately, this is not the case, all transactions have to be closed anyway. 

In example below, I changed only one value and then used rollback, so, it changed it back and committed 

Missing TCOMMIT, would only mean, that transaction is still open, and it's a bad sign, which will be logged in messages.log, for a long opened transactions.

Obviously, I can implement those connectors, just wanted to get some feedback, or other suggestions or what should be implemented first

Dmitry Maslennikov · Aug 28, 2023 go to post

I think we still need deeper support for IRIS in DBeaver, and it can be implemented.

So it will be possible to have more options to be configured, and more possibilities 

Dmitry Maslennikov · Aug 26, 2023 go to post

That means improper configuration for the webserver. Anything that goes through a CSP application goes this way.

Properly configured webserver, should take care of static files without IRIS, just process them itself.

In this case, IRIS will not even know about requests to the static files.

Remember, that you should not use a private Webserver in the production at all, and have to have something manually configured. And any newest IRIS non-community versions since 2023.2 will not even install a private webserver anymore unless the IRIS is updated from some previous version.

Dmitry Maslennikov · Aug 24, 2023 go to post

Right, it's possible to make it similar to other Database connectors, and I suppose even add it to the list of available connectors. So, anyone will be able to use it, with any IRIS instance, but only SQL way, without the need for any development on the IRIS side.

Dmitry Maslennikov · Aug 24, 2023 go to post

IRIS containers will only be tagged with the year and release, such as “2023.2”

What about images on Docker Hub?

No latest-cd, no 2023.2, no multi-arch images?

In some cases, when I need speed of downloading images I preferer using this place

Dmitry Maslennikov · Aug 24, 2023 go to post

I don't think so, but I don't see why it cannot be developed anyway. I could probably develop it if you need it.

Dmitry Maslennikov · Aug 12, 2023 go to post

I did not find there anything, that I would recommend anybody at all. 

  • compose version, uses Durable SYS, not what I would like to recommend
  • plain Dockerfile, too much garbage, not sure how it is working though
Dmitry Maslennikov · Aug 11, 2023 go to post

Fortunately, Community Images has not been affected, yet. But who knows for how long.

But, looks like we need something user-friendly than official WebGateway images.

And I'd like to be able to easily switch between Community and Enterprise in any community project. But It's kind of tricky now, have to keep the version in mind.

you can use $zstrip, where action *P, * is for any place, and P any punctuation

for example

USER>write $zstrip("before!@#$%^&*()_+\-=\[\]{};':""\\|,.<>\/?after", "*P")
beforeafter

And if you just want to check if the string contains any punctuations, you can compare if the original string does not equal the same after $zstrip.

if you wish to use regexp, you can use $match

USER>write $match(".!@", "^[!@#$%^&*()_+\-=\[\]{};':""\\|,.<>\/?]*$")
1

Yeah, this module regexp, supports recursive, but it's not out of the box solution, and requires to be installed first, unfortunately

NodeJS support for IRIS exists, but too limited, the new version is still on the way, and I have no idea when it comes

But, as I see this thing is a testing engine, what exactly do you want to see from this connectivity with IRIS?

Probably it does not require anything specifically for IRIS, and can be used in a common way

Dmitry Maslennikov · Jul 28, 2023 go to post

Python

ClassMethod IsValid(w As %String) As %Boolean [ Language = python ]
{
import re;p=r'\([^()]*\)'
while re.search(p,w):w=re.sub(p,'',w)
return len(w)==0
}
Dmitry Maslennikov · Jul 27, 2023 go to post

It's quite tricky to find this page. And I tried, to go through a help page from Management Portal, to find any details, about which version is supported. Anyway, the error seems useless, while it could mention the supported versions too.

Dmitry Maslennikov · Jul 26, 2023 go to post

While my global is quite simple, and it's size is about 1.1 GB, or around 18 bytes per record

USER>do ##class(%GlobalEdit).GetGlobalSize("/usr/irissys/mgr/user","YYY",.all,.used)

USER>zw all
all=1109

USER>w all*1024*1024/65000000
17.89031975384615385

After restarting, with a cold cache, I got 17 seconds

USER>s sub="", count = 0, ts = $zh for { set sub = $Order(^YYY(sub)) quit:sub=""  set count = count + 1 } write !,"elapsed: ", $zh-ts 

elapsed: 16.994676

So, my disk can read around 65MB per sec