Rechercher

Question
· Sept 26, 2017

CSP: Print All PDF Reports, Java Applet not Supported Anymore, How to Migrate to Java Web Start (JNLP)

Hi all-

We used to have this Java applet in our CSP page to "print all" and "download all" PDF medical reports.  We want this applet so that the user won't have to open each PDF in the browser just to print it.

But now most browsers do not support Java applets anymore due to security concerns, so that Java application is down.  We tried to migrate to Java Web Start but don't know how to invoke the JNLP file from the CSP page.  I am new to Cache so any help would be greatly appreciated.

Also, is there an easier solution to this print all problem?  I assume many hospitals/labs would be facing the same issue, so there might be a smart hack?

6 Comments
Discussion (6)1
Connectez-vous ou inscrivez-vous pour continuer
Question
· Sept 26, 2017

Task Manager failed executing RunLegacyTask

Recently, we scheduled two tasks (1008 and 1009) within Task Manager. Task ID 1008 is set to run after Purge Tasks (%SYS-ID:3), and Task 1009 is set to run at 7:00:00 each day.

In attempt to provide as much detail as possible, each of the tasks are as follows:

  • Task 1008 WHILE (($p($h,",",2) < $ZTH("10:00 PM")) && ($P($g(^Task.1008(+$h,$j)),"^",1) = +$h)) { J ^ROUTINE, ^ROUTINE2 D SUB^ROUTINE3 H 5 }
  • Task 1009 WHILE (($p($h,",",2) < $ZTH("10:00 PM")) && ($P($g(^Task.1009(+$h,$j)),"^",1) = +$h)) { d ^ROUTINE4, ^ROUTINE5 J SUB^ROUTINE6 }

The two tasks both reach an UNDEFINED error, which seems rather odd. The following are the email messages I receive from Caché with the subject line, "Scheduler process - failed".

Scheduler process Task 1008 - 1008 Scheduled for 2017-09-23 12:03, failed Executing Code %SYS.Task.RunLegacyTask at 2017-09-25 06:56 <UNDEFINED>zexecuteCode+4^%SYS.Task.RunLegacyTask.1 *Status

Scheduler process Task 1009 - 1009 Scheduled for 2017-09-24 07:00, failed Executing Code %SYS.Task.RunLegacyTask at 2017-09-25 06:55 <UNDEFINED>zexecuteCode+4^%SYS.Task.RunLegacyTask.1 *Status

How do I go about fixing the UNDEFINED error that is being encountered so that this does not occur every day? We end up having to manually start the tasks each day.

4 Comments
Discussion (4)2
Connectez-vous ou inscrivez-vous pour continuer
Question
· Sept 19, 2017

DC: Improvement Ideas (NOT OFFICIAL)

Hello all.

I think the forum experience is great as whole, but it could improve even more if we had somewhere to share our ideas. So that's why I'm creating a thread dedicated for that purpose. Maybe this way someone from InterSystems could catch something good?


Now let me begin.

 

  1. Reduce reply shrinking ratio. Shrinking too much can make the reading experience a pain on mobile devices as the discussion goes on. Even normal browser can suffer with this layout if a single post gets more than 5 replies.
  2. Allow a single reply to be selected as the answer. You'll notice that the first WYSIWYG you get is to REPLY the OP, and replies don't support answer checks.
  3. Set a sticky note that advices the user to choice an answer so that he won't forget.
  4. Allow the user to update it's Answer choice.
  5. This one is related to no 3, instead of showing the reply editor right from the beginning, hide it untill the user clicks on Add new comment. This way, the first editor the user will see is for answering.
  6. Drafts should be versionable if the user wants to, this is probably the hardest feature to implement, but long posts would really appreciate it. The amount of versions could be limited though.
  7. Tutorial tag? Seriously... there'are sufficient tutorial threads to deserve a tutorial tag. I wouldn't consider Online Learning the same as tutorial.


Anyone else for a follow-up?

Thank you for your patience.
 

11 Comments
Discussion (11)1
Connectez-vous ou inscrivez-vous pour continuer
Article
· Sept 12, 2017 1m de lecture

Widgets Direct

The Widgets Direct sample application highlights many aspects of how to use InterSystems technologies to build a modern web application.  Features include:

  • Angular Material + AngularJS + JSON + REST based interactive application with Step by Step instructions on how it was built
  • Example scripts for server-side source control configuration with Perforce
  • %UnitTest logic for automated regression testing
  • %Installer class for automated instance installation from source control 
  • Scripts for Continuous Integration (CI) with Jenkins
  • Docker Manifest for automated provisioning of an instance

We will be adding articles which discuss the above list of features to drill down in more detail on each topic (feel free to  comment if there is something you want to see done sooner rather than later).

There were several sessions at Global Summit which focused on Widgets Direct  sample, and we'll also be linking to the recordings and slides of those sessions as soon as they become available online.    

The source for this sample can be found at:

https://github.com/intersystems/widgets-direct 

Enjoy and happy coding!

5 Comments
Discussion (5)6
Connectez-vous ou inscrivez-vous pour continuer
Article
· Sept 12, 2017 3m de lecture

The wizards of stored computer program and the next generation of programmers


Introduction

Have you noticed that what ever the model and data structure in databases we cannot escape from the fundamental principle of managing data allocation space with references, i.e. pointer based logic, memory addressing ? Isn’t this the fundamental mechanism of programming languages too ? The problem I see with all these modern NoSQL databases, especially graph databases is that they provide a higher level abstraction for the end developer but they hide and lock completely the access to the low level storage and retrieval mechanism including indexes. Even in key-value stores you cannot see or understand the sorting of indexes, you cannot easily reference data values in permanent storage locations.

Transparent operations

Transparency in computer science is a huge issue. The wizards and pioneers of computer hardware and software, have created multiple abstraction layers. They have hidden a lot of detail but at the same time they prevented access to low level mechanisms. And here comes the next generation that is asked to program the machine without understanding what is going on underneath. And even if there is such a desire, from the developer’s point of view, the operating system environment, the language and the debugging tools, not to mention the market, do not help us towards this direction. There have been few exceptions and one of them has been MUMPS (Massachusetts General Hospital Utility Multi-Programming System). I found astonishing the fact that M was developed by Neil Pappalardo, Robert Greenes, and Curt Marble during 1966 and 1967. A reputable and established company in operational database market, Intersystems Cache, has taken over, expanded, and continued their effort on our days.

A programming language with a built-in database

Cache ObjectScript does make the difference from many aspects. Here I would like to emphasize its strong characteristic of a built-in database with sub-scripted arrays and multi-dimensional keys similar to the variables used by most programming languages to access main memory. Let me repeat this, you get a programming language with a built-in multi-model database. I think this is a fundamental aspect that software pioneers have been missing when they invented new programming languages or new sql databases. They are missing the innate common characteristic that both databases and programming languages share, which is the pointer, reference based logic. What do you think ?

Epilogue

So I believe it’s time to return back and fix this for new generation multi-model databases AND post-modern programming languages too. We have already made a good start and we believe M will make history again in database management and modeling with our Associative Semiotic Hypergraph Engine that will be built on top of Intersystems Cache powerful global data structure and accompanied with a popular and easy to program client API in Python for data analytics.

We build powerful meaningful relationships easily

© HEALIS - Athanassios I. Hatzis, April 2017
 

5 Comments
Discussion (5)2
Connectez-vous ou inscrivez-vous pour continuer