go to post Raj Singh · May 23, 2023 We only use odd-numbered releases for betas -- developer testing previews. So we'll never have a public announcement of an odd-numbered release and in this case, there was no 2.7. Look for something about 2.8 soon.
go to post Raj Singh · May 19, 2023 @Michael Burstin to clarify, is it more accurate to say that the driver is looking for settings in all the .ini files listed in the above output? And do all the file locations output by odbcinst -j need to be present in the fs_usage isql output?
go to post Raj Singh · May 16, 2023 I agree. Adopting source control is like committing to a workout regimen. It's hard to get started and feels like a big hassle, but eventually you can't imagine living any other way, and you love the way your body of code looks ;)
go to post Raj Singh · May 15, 2023 Hi @Anna Golitsyna. This recent discussion, First Community Roundtable: VSCode vs Studio, may be useful.
go to post Raj Singh · May 15, 2023 Hi @jaroslav rapp. Attack may be a strong word, but I understand the feeling when beloved tools get less attention than others. We'd love to never leave a technology behind, but the reality is that with limited resources we sometimes have to devote more effort to technologies that will have bigger benefits for our users going forward. It's not always an easy decision, but I believe the short-term pain is well worth the long-term benefits.
go to post Raj Singh · Apr 28, 2023 Thanks for sharing, @Robert Cemper. Always interesting to hear about the early days!
go to post Raj Singh · Apr 7, 2023 Run SQL from a file: DO $SYSTEM.SQL.Schema.ImportDDL("c:\InterSystems\mysqlcode.txt",,"IRIS")
go to post Raj Singh · Apr 5, 2023 is there no quicker way to list all database tables? Like the postgresql \t?
go to post Raj Singh · Mar 9, 2023 Using the the handy utility from @Alex Woodhead I was able to get something working. As of now you can get the Point, Line and Polygon code from https://github.com/isc-rsingh/spatialiris but I can't guarantee those classes won't change in the future. I include demo code here to show: $LIST can be converted to a Python list using Py.Helper 2-dimensional $LISTs (a $LIST of $LISTs) didn't work without running them through the invoke ClassMethod you see below. you can integrate with matplotlib to take advantage of the broad and deep range of functionality offered by probably the most popular graphics library around Class geo.ToolsExample Extends %RegisteredObject { ClassMethod createPolygon() As geo.model.Polygon { set l = ##class(geo.model.Line).%New() do l.addPoint(##class(geo.model.Point).%New(0.01,0.01)) do l.addPoint(##class(geo.model.Point).%New(2.01,0.01)) do l.addPoint(##class(geo.model.Point).%New(2.01,2.01)) do l.addPoint(##class(geo.model.Point).%New(0.01,2.01)) do l.addPoint(##class(geo.model.Point).%New(0.01,0.01)) set polygon = ##class(geo.model.Polygon).%New() set polygon.line = l Return polygon } ClassMethod test() { set polygon = ..createPolygon() set isin = ..PointInPolygon(polygon, ##class(geo.model.Point).%New(1.01,1.01)) w isin,! set isout = ..PointInPolygon(polygon, ##class(geo.model.Point).%New(3.01,3.01)) w isout,! } ClassMethod PointInPolygon(poly As geo.model.Polygon, pt As geo.model.Point) As %Boolean { set mp = ##class(%SYS.Python).Import("matplotlib") set mpltPath = mp.path set polylist = poly.getAsList() set nothing = ##class(Py.Helper).toPyListOrString(polylist,.poly2) set point = ##class(Py.Helper).toPyListOrString(pt.getAsList()) set path = ..invoke(mpltPath,poly2) Return path."contains_point"(point) } ClassMethod invoke(ByRef mpltPath As %SYS.Python, ByRef poly2) As %SYS.Python [ Language = python ] { return mpltPath.Path(poly2) } }
go to post Raj Singh · Mar 9, 2023 Hi @Guillaume Rongier I can't use that because my Points are floats and iris-dollar-list doesn't support floats yet?
go to post Raj Singh · Mar 9, 2023 That would certainly work, but my use case is geographic data and a natural feature (e.g. a river or a coastline) could be composed of thousands of Points, so I want something more performance-oriented than JSON.
go to post Raj Singh · Mar 6, 2023 Just for clarification, the lines starting with `ARG IMAGE = ` replace each other. Only the last one is actually used. I'm not sure why the others are left in there but I think its so users will know what worked before. So you can simplify the Dockerfile to: ARG IMAGE=intersystemsdc/iris-community:preview FROM $IMAGE RUN iris start IRIS \ && iris merge IRIS /tmp/merge.cpf \ && iris stop IRIS quietly
go to post Raj Singh · Mar 1, 2023 That's an important clarification. The command will open the error location in the uneditable generated INT document. You will still need to switch to the CLS/MAC/CSP to make changes.
go to post Raj Singh · Feb 23, 2023 Hi @Stephen Canzano. We now have these keyboard equivalents documented.
go to post Raj Singh · Feb 14, 2023 @Ben Spead the only reason was it took me longer to write the article. Just published here: https://community.intersystems.com/post/studio-vscode-migration-docs-now...
go to post Raj Singh · Feb 8, 2023 @Marc Mundt and @Ben Spead ask and you shall receive. The cheat sheet has been published: https://intersystems-community.github.io/vscode-objectscript/studio/#key...
go to post Raj Singh · Jan 31, 2023 @Dmitry Maslennikov is correct. There's a bug in 2022.2 builds that prevent debugging from working. The best solution is to move to 2022.3.