Nova postagem

検索

Artigo
· Abr. 19, 2024 1min de leitura

Comment rétablir l'invite lorsqu'une erreur se produit lors de l'exécution d'un programme dans le terminal ?

InterSystems FAQ rubric

Lorsque vous exécutez une routine dans le terminal et qu'une erreur se produit dans le programme, si vous n'avez pas défini correctement le piège à erreurs, le programme entrera en mode de débogage comme indiqué ci-dessous.

USER>do ^error1
 write A
^
a+2^error1 *A
USER 2d0>

A partir de cet état, entrez la commandeQuit pour revenir à l'état précédant le démarrage de la routine.

USER 2d0>Quit

Si une transaction est en cours de traitement dans la routine où l'erreur s'est produite, une invite similaire à celle ci-dessous s'affiche.

USER>do ^error1
 write A
^
a+3^error1 *A
TL1:USER 2d0>q
TL1:USER>

Si TL+numéro s'affiche ainsi au début de l'invite, cela signifie qu'une transaction n'a pas été effectuée.
Dans ce cas, si vous utilisez la commande Quit , vous ne reviendrez pas au prompt initial

Pour retourner au prompt, lancez la commande Trollback avant la commande Quit.

TL1:USER>Trollback
Discussão (0)1
Entre ou crie uma conta para continuar
Discussão
· Abr. 18, 2024

Agree or Disagree? : change the comment delimiters in VS code extension

In vscode objectscript extension, when you push "Ctrl + Slash" in the editor window, the comment delimiter "#;" is inserted. This feature helps me a lot to write comments in sources. But currently it does not have any options to change "#;" to other characters.



Some customers say "we prefer another comment style like //, so want // be put into the source in stead of #; when we push Ctrl + Slash". It makes sense to me. 

I put a new request on Github "[Request] want to change the comment style from "#;" which is inserted by "Ctrl + Slash". 
What do you think? Agree? Disagree?  If you support my idea, please leave any comments here or Github directly 😄


As workaround, you can edit C:\Users\<username>\AppData\Roaming\Code\User\keybindings.json and insert this block there. Then, when you put "Ctrl + Slash" in the editor, // will be inserted in the source. Happy coding!

   {
     "key": "ctrl+/",
     "command": "type",
     "args": { "text": "//" },
     "when": "editorTextFocus"
   }
3 Comments
Discussão (3)1
Entre ou crie uma conta para continuar
Pergunta
· Abr. 18, 2024

initial user account

I installed a local docker container instance from here:   intersystemsdc/iris-community

I'm trying to login:    http://localhost:52773/csp/sys/UtilHome.csp

I thought if I used SYSTEM as the initial username, I could login, but I get #822 Access Denied.

Is that the correct username? maybe there's a better location to pull the docker instance.

***************nevermind, figured it out

1 novo comentário
Discussão (2)3
Entre ou crie uma conta para continuar
Anúncio
· Abr. 18, 2024

Technology Bonuses for the Vector Search, GenAI and ML Contest

Hi Developers!

Here're the technology bonuses for the InterSystems Vector Search, GenAI, and ML contest 2024 that will give you extra points in the voting:

  • Vector Search usage - 5
  • IntegratedML usage - 3
  • Embedded Python - 3
  • LLM AI or LangChain usage: Chat GPT, Bard, and others - 3
  • Questionnaire - 2
  • Docker container usage - 2 
  • ZPM Package deployment - 2
  • Online Demo - 2
  • Implement InterSystems Community Idea - 4
  • Find a bug in Vector Search, or Integrated ML, or Embedded Python - 2
  • First Article on Developer Community - 2
  • Second Article On DC - 1
  • First Time Contribution - 3
  • Video on YouTube - 3
  • Suggest a new idea - 1

See the details below.<--break-><--break->

Vector Search - 5 points

Starting from 2024.1 release InterSystems IRIS contains a new technology vector search that allows to build vectors over InterSystems IRIS data and perform search of already indexed vectors. Use it in your solution and collect 5 bonus points. Here is the demo project that leverages it.

IntegratedML usage - 3 points

Use IntegratedML SQL extension of InterSystems IRIS and IRIS Cloud SQL and collect 3 extra bonus points. Here is an IntegratedML demo template.

<--break->Embedded Python - 3 points

Use Embedded Python in your application and collect 3 extra points. You'll need at least InterSystems IRIS 2021.2 for it. Embedded Python template and examples.

LLM AI or LangChain usage: Chat GPT, Gemini, Mistral,  and others - 3 points

Collect 3 bonus expert points for building a solution that uses LangChain libs or Large Language Models (LLM) such as ChatGPT, Bard and other AI engines like PaLMLLaMA and more. AutoGPT usage counts too.

A few examples already could be found in Open Exchange: iris-openai, chatGPT telegram bot.

Here is an article with langchain usage example.

Questionnaire - 2 points

TBD

Docker container usage - 2 points

The application gets a 'Docker container' bonus if it uses InterSystems IRIS  running in a docker container. Here is the simplest template to start from.

ZPM Package deployment 2 points

You can collect the bonus if you build and publish the ZPM(InterSystems Package Manager) package for your Full-Stack application so it could be deployed with:

zpm "install your-multi-model-solution"

command on IRIS with ZPM client installed. 

ZPM client. Documentation.

Online Demo of your project - 2 points
Collect 2 more bonus points if you provision your project to the cloud as an online demo. You can do it on your own or you can use this template - here is an Example. Here is the video on how to use it.

Implement Community Opportunity Idea - 4 points

Implement any idea from the InterSystems Community Ideas portal which has the "Community Opportunity" status. This will give you 4 additional bonus points.

Find a bug in Vector Search, IntegratedML or Embedded Python - 2 points
We want the broader adoption of InterSystems Vector Search, IntegratedML and Embedded Python, so we encourage you to report the bugs you will face during the development of your Python application with IRIS in order to fix it. Please submit the bugs you find for Vector SearchIntegratedML, and Embedded Python and how to reproduce it. You can collect 2 bonus points for the first reproducible bug and 1 point for the second bug for every technology. E.g. if you find 2 bugs in vector search and one bug in Embedded Python, you can collect 2+1+2 = 5 points.

Article on Developer Community - 2 points

Write a brand new article on Developer Community that describes the features of your project and how to work with it. Collect 2 points for the article.

The Second article on Developer Community - 1 point

You can collect one more bonus point for the second article or the translation regarding the application. The 3rd and more will not bring more points but the attention will all be yours.

First Time Contribution - 3 points

Collect 3 bonus points if you participate in InterSystems Open Exchange contests for the first time!

Video on YouTube - 3 points

Make the Youtube video that demonstrates your product in action and collect 3 bonus points per each.

Suggest a new idea - 1 point

Suggest a new idea regarding Vector Search, Generative AI or Machine Learning to get 1 point per person (not for each idea).

The list of bonuses is subject to change. Stay tuned!

Good luck in the competition!

Discussão (0)1
Entre ou crie uma conta para continuar
Pergunta
· Abr. 18, 2024

Question about IAM

I was not able to get IAM working on my Development Server because of issues with creating volumes as a Non root user, so I opted to run it within Docker on my WSL Ubuntu locally. I was able to get it running, however the Workspaces is empty, and the Dev Portal is not enabled.

At this point do I need to sign up for the free Kong Konnect? or what are the next steps?

Thanks

Scott

1 Comment
Discussão (1)2
Entre ou crie uma conta para continuar