go to post Michael Davidovich · Jan 13, 2021 Well, maybe I don't quite understand MAC files. I tried again this morning and helloWorld.mac kept erroring with an illegal header. I added 'ROUTINE helloWorld' the top. Still didn't work. Added helloWorld.inc and now the MAC file has compiled. I thought the MAC file compiles down to the INT file. I'm not even sure what the INC file is. I am also having a odd time with connections. My Docker stats show this: Ports 1972/tcp localhost:9091 52773/tcp localhost:9092 and my setting are as such: "objectscript.conn": { "ns": "TEST", "server": "docker-my-iris", "active": true } "intersystems.servers": { "docker-my-iris": { "webServer": { "scheme": "http", "host": "localhost", "port": 9092 }, } }, For some reason it connects me to the USER namespace even though I've indicated TEST. Happy to email or use the DM feature to take this off the boards if it's too messy to help with here :)
go to post Michael Davidovich · Jan 13, 2021 Yes, a webinar! I'm not following the concept of starting with the project and using VS Code to compile/test. Where would you do your local development then? Isn't that why we use VS Code? Reading the documentation, I'm also confused if local development is even desirable? In my case I have IRIS community running docker and I have Cache 2018 running on my local machine (can't get IRIS locally as it's a work computer and locked down). In this case I probably just want to develop all my code on the server?
go to post Michael Davidovich · Sep 11, 2020 I guess where I'm a little confused is this: is the code for Sergey's demo a docker image? The little code mix graph on GitHub says it's mostly TypeScript. So it's just Javascript code for the most part? What is the 'docker-compse up' command doing to that bundle of code from the git repo while it sits in my web app in IRIS? So am I to understand that for this demo to work, I would need to run a containerized IRIS using docker, not a local instance on my machine? Ugh, chicken and egg here . . . I think I need to know more about Docker and IRIS before I even attempt this.
go to post Michael Davidovich · Sep 11, 2020 @Ben Spead Thanks for taking a stab at it. Ok yes, good, it makes sense that is the default behavior. I think really the only other pressing question is if this tutorial should run on Cache, not just IRIS. I thought I had Docker installed on my machine, but I think I must be lacking an AD group or something to actually run it. That said, Docker is new territory for me too: I just read the 'docker-compose up' command documentation and I'm a bit confused. When you run a Docker image, isn't there a virtual machine at play? How is Docker working in this context where I've unloaded the code from GitHub to my webapp and then running the docker-compose up command in that directory? Thanks for any help. Mike
go to post Michael Davidovich · Sep 4, 2020 @Sergei.Shutov Hi there! I started following this tutoiral and got stuck pretty fast. Some questions you might be able to help with: - Should I be able to do this in Cache 2018? We are not yet on IRIS. - If so, was it correct to clone the app into my CSP application root (e.g. for me it was C:\InterSystems\Cache\CSP\mxdtest\new-project)? I did this becuase for example I have C:\InterSystems\Cache\CSP\mxdtest\testpage.html and it renders as expected when I visit http://localhost:57772/CSP/mxdtest/test/testpage.html (I know you can't use these links, but I'm just trying to show you the best I can what I'm doing). - General web application question for Cache/IRIS: once I create the web application for example at \csp\mxdtest, any subfolder there is treated as part of the app, yes? So i could create C:\InterSystems\Cache\CSP\mxdtest\images and the images folder are part of the web applcation \csp\mxdtest? Questions maybe you can advise on but might be something for my system admin to answer: - When I run npm run -- ng build --watch I get this: $ npm run -- ng build --watch > angular-ngrx-material-starter@8.3.0 ng C:\InterSystems\Cache\CSP\mxdtest\new-project> ng "build" "--watch" Browserslist: caniuse-lite is outdated. Please run next command `npm update` Date: 2020-09-04T16:33:26.206ZHash: aa7f367b55f24e0e97d8Time: 15768mschunk {main} main.js, main.js.map (main) 675 bytes [initial] [rendered]chunk {polyfills} polyfills.js, polyfills.js.map (polyfills) 159 kB [initial] [rendered]chunk {runtime} runtime.js, runtime.js.map (runtime) 6.08 kB [entry] [rendered]chunk {styles} styles.js, styles.js.map (styles) 1.27 MB [initial] [rendered] ERROR in projects/angular-ngrx-material-starter/src/app/app/app.component.ts(35,10): error TS2591: Cannot find name 'require'. Do you need to install type definitions for node? Try `npm i @types/node` and then add `node` to the types field in your tsconfig.projects/angular-ngrx-material-starter/src/app/features/about/about/about.component.ts(13,19): error TS2591: Cannot find name 'require'. Do you need to install type definitions for node? Try `npm i @types/node` and then add `node` to the types field in your tsconfig.projects/angular-ngrx-material-starter/src/app/features/examples/theming/parent/parent.component.ts(12,22): error TS2591: Cannot find name 'require'. Do you need to install type definitions for node? Try `npm i @types/node` and then add `node` to the types field in your tsconfig.projects/angular-ngrx-material-starter/src/environments/environment.prod.ts(1,21): error TS2591: Cannot find name 'require'. Do you need to install type definitions for node? Try `npm i @types/node` and then add `node` to the types field in your tsconfig.projects/angular-ngrx-material-starter/src/environments/environment.test.ts(1,21): error TS2591: Cannot find name 'require'. Do you need to install type definitions for node? Try `npm i @types/node` and then add `node` to the types field in your tsconfig.projects/angular-ngrx-material-starter/src/environments/environment.ts(6,21): error TS2591: Cannot find name 'require'. Do you need to install type definitions for node? Try `npm i @types/node` and then add `node` to the types field in your tsconfig. Then when I run the docker command it says docker isn't running, though I seem to have it installed. Your thoughts are appreciated! Mike
go to post Michael Davidovich · May 21, 2020 I'm curious to know what you're doing that you are looking for a random record in such a large dataset? Sincerely interested in what you're doing so I can learn and not challenging the validity of your task!
go to post Michael Davidovich · Mar 26, 2020 I just got a badge! Evidently a post of mine was added to favorites 10 times. How does one now which post this was though? Best, Mike
go to post Michael Davidovich · Feb 21, 2020 Using: Cache 2018 Excel 2013 Using my local Cache so localhost 1972
go to post Michael Davidovich · Feb 21, 2020 Thanks! I don't seem to have that option (54). I do have the others however,
go to post Michael Davidovich · Feb 21, 2020 I downloaded and installed in USER, but unfortunately I am having a lot of trouble following your documentation and your examples. When clicking around in the interface, I got lots of errors and ultimately had to force quit the program. I wonder if my config file isn't right, but that is hard for me to follow and understand too. Hopefully you can clean up your documentation and I can try again!
go to post Michael Davidovich · Feb 5, 2020 Yes, it doesn't get easier than that! Good point on the counter. Thanks, Alexey!
go to post Michael Davidovich · Feb 4, 2020 Thanks, @Vic_Sun. I think %SYSTEM.Process.JobType() will be our best, simplest bet here. It shouldn't be a ton of data to check that we can't brute force it. Thanks said, I'm not familiar with using these class queries on a result set. Can you point me to the starting documentation on that? Best, Mike
go to post Michael Davidovich · Dec 17, 2019 Thanks, after spending some time with this I see it way more clearly now. I was on the right track using $LB in my code, but I'm not efficiently storing my coordinates for each wire and I'm get a MAXSTRING error. More tomorrow. Best, Mike
go to post Michael Davidovich · Dec 16, 2019 @Dmitry Maslennikov I'm wondering if you can talk me through your Day 3 code? Specifically the draw function. I'm terribly confused on where crossType and crossSteps are being set. Also the InterSystems documentation clearly shows how to use $LB on the right side of an equals operator, but I haven't seen it on the left side or understand how that works: Set grid(y, x) = $Listbuild(type, steps) I guess simply it's setting that node in the array to a list of two elements, type and step? Maybe by Christmas I'll get to day 5! Haha! Mike
go to post Michael Davidovich · Dec 13, 2019 @Carmen Logue Thanks, Carmen! I'm not sure I can add too much to your Alpha development I personally haven't been using the OBDC to connect into Cache. What I do know is that some other groups have used ODBC to connect into Cache with SQL projections. My team want's to avoid projections specifically (at this point at least) because we tend to only use them to get data from Cache to our Data Warehouse (Oracle). Other than that, we still traverse our database via globals and good old MUMPS programming. The project I'm working on is taking those many many routines that we have that traverse globals for reporting, and transforming the data to JSON streams. An %CSP.REST API will call those routines and provide the data to a Tableau web data connector so we can get instant, live data without projecting our whole database. I'm just getting start with Tablaue and Cache so I may have some more input in the future. Best, Mike
go to post Michael Davidovich · Dec 13, 2019 @Benjamin De Boe Have you made any progress on this? We just starting playing around with using Web Data Connectors in Tableau to call APIs into Cache. Best, Mike