Date range queries going too slow for you? SQL Performance got you down? I have ANOTHER weird trick that SQL Developers don't want you to know!*
I cant find any description on how to read custom http request headers in a REST service.
On some occations i want to read http headers passed along when customers uses our REST API or headers added by the CND provider. Does anyone know how to read these http headers?
For example:
cloudflair.com sends a vistors country information along to the server using a customer http header called "CF-IPCountry". We would like to read this information and use it for statistics.
This is the third article in a series on iKnow demo applications, showcasing how the concepts and context provided through iKnow's unique bottom-up approach can be used to implement relevant use cases and help users be more productive in their daily tasks. Previous articles discussed the Knowledge Portal, a straightforward tool to browse iKnow indexing results, and the Set Analysis Demo, in which you can use the output of iKnow indexing to organize your texts according to their content, such as in patient cohort selection.
This week, we'll look into another demo application, the Dictionary Builder demo, in which we'll marry iKnow's bottom-up insights with top-down expertise, organizing our domain knowledge into dictionaries that are composed of the actual terms used in the data itself. Sticking to a top-down approach only, you'd risk missing out on some terminology used in the field that a domain expert sitting in his office wouldn't be aware of.
NewBie's Corner Session 15 Executing Routines and Labels
Welcome to NewBie's Corner, a weekly or biweekly post covering basic Caché Material.
Routines and Labels
Routines are computer programs with a number of executable code lines.
Labels (also called tags) are points in a routine that can be called (executed). They subdivide routines into manageable modules (or subroutines).
Routines, Subroutines/Modules and Functions
Using the method ##class(%SYSTEM.Process).GlobalReferences() I'm able to know how many global references has been done in the process. But I'd like to know how many of those references has been done by my code and how many has been done by Cache itself.
When from a class I execute a method of another class, Cache is internally accessing globals (I suppose to get the code of the called method). I would like to not count those accesses done by Cache.
For example:
How to open like gmail ,facebook,etc by using cache terminal using $ZU commands,Any one know ? please
We are using the Ens.Alert alerting process to send alerts (via email) to our external service desk application (Service Now).
Is there a way to suppress multiple alerts for the same error (within a specified timeframe)? (Either Rule or BPL?) (i.e. a system starts sending bad data which fails validation or is NAKd by a downstream system -- causing every message to create an Alert.)
Otherwise, every message creates an Alert, which creates a ticket in Service Now.
Thanks,
Brian
At the Global Summit several folks had mention that they developed their own production monitor. I am looking to create a monitor similar to eGate that we only display those Services/Processes/Operations that are in trouble, and those Errors that are showing up in the Event Log. Does anyone have any examples of this?
Thanks
Scott Roth
The Ohio State University Wexner Medical Center
Using Node.js with Caché - Introduction says the following:
The cache.node module is the Node.js interface for the GlobalsDB kit, which can be obtained from the GlobalsDB download page (http://globalsdb.org/downloads/). The Node.js interface can be used with either Caché or the free GlobalsDB database.
The installation kit includes detailed documentation on how to install and configure the cache.node module.
However, http://globalsdb.org/downloads gives a 404 and http://globalsdb.org just redirects to intersystems.com
Where can I find the files I need?
Hi All, I need a documentation to configure csp in iis version 7, Any one have documentation regards?
We are beginners to configure the InterSystems CSP page with IIS Version 7,Any one have a documentation regards?
Hello Cache experts,
Has anyone tried using Cache object script to check windows service is running or windows service installed or not on same computer or remote computer ? basically i am trying to develop cache program which will check "windows service" running or installed on current computer or remote computer. Based on the status of this windows service, i want to write some business logic in our application. Any suggestions will be more welcome
I need a generic way to check if all the properties on an object instance are null. Has anyone got some code they could share?
I could of course add a method to each class and pass in all the properties and test them but I'm sure there must be a generic way to do this. A generator method perhaps?
Regards
Mike
Hello, guys.
We have recently created a syntax highlighting for COS for Atom text editor. You can find it on https://github.com/intersystems-ru/atom-language-cos
Installation:
- Download or clone this repository
- Copy everything to
~/.atom/packages/ - If you have your Atom editor open, then you need to reload it (enter
Window: Reloadin Command line)
It's been few days since the release, so please if you find a bug, let us know through creating an issue or forking and making a pull request.
P.S. After it gets more or less usable, we will use this syntax as a basis for GitHub highlighting for COS.
Learn why and when to use FHIR in your applications, common use cases for it, the general architecture of FHIR data, and the tools available to you in InterSystems HealthShare Health Connect. Learn More.
I get email digests like this every few days.
In previous articles on iKnow, we described a number of demo applications (iKnow demo apps parts 1, 2, 3, 4 & 5) that are either part of the regular kit or can be easily installed from GitHub. All of those applications assumed you already had your iKnow domain ready, with your data of interest loaded and ready for exploration. In this article, we'll shed more light on how exactly you can get to that stage: how you define and then build a domain.
Hello,
I'm using studio for the first time. I copied the Security.Users Class to my own UCDavis.Security.Users
I can't edit the copied file. I totally get why I can't edit the Security.Users class - but why is it stopping me from editing the class I created??
Thanks in advance!
Lucy
Hello guys,
One thing keeps annoying me and I'm pretty sure it does many other people (my workmates as well, lol): every time I access the 'Message Viewer' screen, the 'Time Format' come with 'Time only' as a default. Can I make 'Complete' as the default value for it?
Thanks!
How to connect with Java in Cache Studio. Explain breifly.
The release of IBM POWER 8 processors with AIX 7.1 introduced up to 8 SMT threads per processor core (logical or physical). Which SMT level (1, 2, 4, or 8) to use can be confusing and varies based on multiple factors. This article is meant to help with a starting point for your specific application.
Firstly, if running on a version of 2014.x or older, it is advised to use SMT 4 or lower. SMT 8 with those older versions of Cache' has shown a decline in performance and scaling in benchmarking applications.
Hi all,
I'm using $ZUTIL(49) to get information of the databases I want to add to a mirror. This information is passed to ##class(SYS.Mirror).CatchupDB(plstPathDatabases) in order to Catchup all databases addes to a Mirror.
I know that ZUTIL is deprecated and I'd like to know what function or functions I have to use in order to get all necessary information for CatchupDB.
Thanks a lot
We are currently performing encryption at the OS level but it makes storage expansion complicated. Any feedback on OS encryption vs. Ensemble? Pros/Cons. We will have CentOS7 on our new server.
Thanks
Hi, Community!
Here is the digest of the most interesting and valuable posts on Developer Community published in July 2016.
Here we go!
News, events, releases
Developer Community email notification subscriptions
Developer Community June 2016 Digest
Alerts
Alert: Potential Integrity Issue with Mirroring
Most viewed
InterSystems Example Reference Architecture for Microsoft Azure Resource Manager (ARM) - 368
Caché Haiku - 282
Useful auto-generated methods - 259
How we learned to stop worrying and love InterSystems Ensemble - 236
I have a NewBie Question.
I have been playing around with "Basic CLass Queries."
I have defined a very simple "Basic Class Query." (see below)
However, I cannot find in the I/S documentation how to execute this query.
Any help is appreciated.
Class LastName.BasicClassQuery Extends LastName.Person
{
Query Display() As %SQLQuery (ROWSPEC="ID:%Integer,Name:%String", CONTAINID = 1)
{
SELECT %ID, Name FROM LastName.Person
ORDER BY DOB
}
Storage Default
{
<Type>%Library.CacheStorage</Type>
}
}
Hello,
I've been doing this for years. Well, decades. And, I pride myself in being able to break other people's code.
However, sometimes I don't apply the same dedication to breaking my code. That needs to change. ![]()
So, I'd like to ask people, what are some of the things you like to test for when trying to stress-test your code? I'll start with what I like to try testing to see what crashes, what works unexpectedly, and what I've handled.
I always test the following: 0; 1; -1; some 20-digit number; some 50-character string; 1/0; 2E12; " ", and an undefined variable.
We are creating a package (written in Caché Object Script) that will provide access to an external DB (MySQL). Because applications that use our package will be run from machines with various, potentially unexpected, operating systems, we’d like to establish a connection to the external DB without using DSNs (we’ve heard that setting up DSNs on certain non-Windows machines can be cumbersome and problematic).
Problem:
A file-based business service uses a local path on a Linux machine that is actually a mounted CIFS share. The mount is "soft" and is designed to not cache data, etc. There are times however when the remote system offering up the share (it's a Windows machine I believe) gets bounced or otherwise hung up the business service in the Ensemble production just hangs.
I'm doing some Schema changes. I used our existing standard schema as a base, which was already based on 2.3. So let's call our existing one Custom.MHC.Schema (based on 2.3). I created Custom.MHC.Schema.Advanced (based on Custom.MHC.Schema) and copied down one of the code tables then made a change to it.
When I ran a message through, the code table change didn't show up. I noticed in the message viewer that the DocType is still Custom.MHC.Schema:ADT_A01 but the DocType Category is Custom.MHC.Schema.Advanced.
I'm getting the above error. My zen page calls other javascript methods and other server methods just fine. But when I call my method, I get the error. Yes, I've tried making it look exactly like the methods that work. But for some reason, it doesn't seem to know that DoLogout is a zen method.
Anyone ever get this error?
THanks
L
for example
ClientMethod logout() [ Language = javascript ] { zenPage.DoLogout(); }
Method DoLogout() [ZenMethod] { //blah blah }

