发布新帖

查找

文章
· 九月 11, 2024 阅读大约需 3 分钟

Code Scanner

This story has followed me for more than 20 years.

In the early days of ObjectScript, the volume of $Functions was limited.
You had to write it as part of your program.
But the functionality was often implemented. It just had no name.
To use it, you had "system" calls using $ZU() functions. See Reference

Over time most $ZU() became deprecated and replaced by "official" $Functions.
But how to find then over a thousand lines of code written over decades
by an uncounted number of programmers that were gone with the wind.
Studio was something fresh and not so performant.

So I created a Search Utility to Scan all corners of possible Objectscript 
It is written in pure ObjectScript avoiding all System Methods.
This made it independent and was very useful in preparing migration to IRIS

It looks like this;

USER>do ^rcc.find
----------------
 
enter search string [$ZU] <blank> to exit: RCC
          Verbose? (0,1) [0]:
          Force UpperCase? (1,0) [1]:
 
enter code type (CLS,MAC,INT,INC,ALL) [ALL]: CLS
 
select namespace (ALL,%SYS,DOCBOOK,ENSDEMO,ENSEMBLE,SAMPLES,USER) [USER]:
 
** Scan Namespace: USER **
 
** CLS **
** 2      User.ConLoad
** 15     User.Main
** 3      csp.form
** 3      csp.winner
** 2      dc.rcc.Contest
** 37     dc.rcc.Main
** 1      dc.rcc.Prize
** 63 CLS **
----------------
 
enter search string [$ZU] <blank> to exit: RCC
          Verbose? (0,1) [0]:
          Force UpperCase? (1,0) [1]:
 
enter code type (CLS,MAC,INT,INC,ALL) [ALL]: mac
 
select namespace (%SYS,DOCBOOK,ENSDEMO,ENSEMBLE,SAMPLES,USER) [USER]:
 
** Scan Namespace: USER **
 
** MAC **
** 9      zpmshow
** 9 MAC **
----------------
 
enter search string [$ZU] <blank> to exit: RCC
          Verbose? (0,1) [0]: 1
          Force UpperCase? (1,0) [1]:
 
enter code type (CLS,MAC,INT,INC,ALL) [ALL]: MAC
 
select namespace (%SYS,DOCBOOK,ENSDEMO,ENSEMBLE,SAMPLES,USER) [USER]:
 
** Scan Namespace: USER **
 
** MAC **
 
** zpmshow **
#define rcc ^||rcc
        kill $$$rcc
                ,$$$rcc($i($$$rcc))=lin
        else { zw  zw $$$rcc b }
        for i=1:1:$$$rcc {
                if $d($$$rcc(+nb)) {
                set cmd=$s(ac="u":"un",1:"")_"install "_$li($$$rcc(nb))
        set lin=$g($$$rcc(ln))
                    ,$$$rcc(ln)=lin_$lb(desc)
** 9      zpmshow
** 9 MAC **
----------------
  • First enter some string to be searched
  • Verbose allows you to see matches in detail
  • Force UpperCase is useful to make scan case insensitive
  • Code type allows splitting scan into several steps
  • Namespace defines where the scan is executed
    • %-routines and %-classes are always excluded for namespaces other than %SYS

Practical hint

  • run a scan over ALL non-verbose to find affected code types
  • next run over INC and apply the required changes
  • then run CLS and apply the required changes
  • then run over MAC and apply the required changes
  • most likely there is no need for any fix in INT

GitHub

Video

Demo Server SMP
Demo Server WebTerminal
 

4 Comments
讨论 (4)2
登录或注册以继续
公告
· 九月 10, 2024

Concurso de Tutoriais Técnicos InterSystems IRIS

Olá, Comunidade!

É hora do próximo concurso da Comunidade de Desenvolvedores InterSystems!

✍️ Concurso de Tutoriais Técnicos InterSystems IRIS ✍️

Crie um Tutorial** Técnico que possa ser considerado um guia para programadores de InterSystems IRIS de qualquer nível: iniciante/intermediário/sênior, de 14 de outubro a 24 de novembroO tutorial pode ser no formato de Artigo com textos e imagens e/ou Vídeo demonstrativo.

Aproveite e deixe a sua criatividade fluir! Mostre o quanto pode ser fácil e divertido criar soluções com o InterSystems IRIS.

🎁 Prêmios para todos: Um prêmio especial para cada autor participante do concurso!


Prêmios

1. Todos são vencedores no Concurso de Tutoriais Técnicos! Qualquer membro que publicar na Comunidade um tutorial durante o período da competição receberá um prêmio especial:

🎁 InterSystems - Garrafa térmica Developer Community (300 ml)

2. Prêmios de Especialistas – os tutoriais serão julgados por especialistas da InterSystems:

🥇 1º lugar: iPad Air de 11 polegadas Wi-Fi 128 GB 

🥈 2º lugar: Air Pods Pro 2ª geração

🥉 3º lugar: Echo Show: Smart Display Full HD 15,6’’ com Alexa

3. Prêmio da comunidade de desenvolvedores – tutorial com mais curtidas:

🎁  Echo Dot - Alexa Echo Dot 5ª Geração

Observação: 

  1. O autor só pode ser premiado uma vez por categoria (no total, o autor poderá ganhar dois prêmios: um para especialista e um para a comunidade)
  2. Em caso de empate, o número de votos dos especialistas para os tutoriais empatados será considerado um critério de desempate.

 

Quem pode participar?

Qualquer membro da comunidade de desenvolvedores, exceto funcionários da InterSystems. Crie uma conta!

 

Período do concurso

📝 14 de outubro a 24 de novembro: Publicação de artigos.

🗳️ 25 de novembro a 01 de dezembro: Período de votação.

🏅 02 de dezembro: Anúncio dos vencedores.

 

Publique um ou mais tutoriais durante este período. Os membros da CD podem votar em artigos publicados com curtidas – votos no prêmio da Comunidade.

Observação: quanto mais cedo você publicar o(s) tutorial(ais) mais tempo terá para coletar votos de Especialista e da Comunidade.

 

Quais são os requisitos?

❗️ Qualquer artigo escrito durante o período do concurso e que atenda aos requisitos abaixo entrará automaticamente* na competição:

  • O artigo deve ser um tutorial** sobre o tópico InterSystems IRIS. Pode ser para desenvolvedores iniciantes, intermediários ou seniores.
  • O artigo deve estar em português (incluindo inserção de código, capturas de tela, etc.).
  • O artigo deve ser 100% novo (pode ser uma continuação de um artigo existente que não esteja no concurso).
  • O artigo não pode ser uma tradução de um artigo já publicado em outras comunidades.
  • O artigo deve conter apenas informações corretas e confiáveis ​​sobre a tecnologia InterSystems.
  • O artigo deve conter a tag Tutorial.
  • Tamanho do artigo: mínimo de 400 palavras (links e códigos não são contados para o limite de palavras).
  • Artigos sobre o mesmo tópico, mas com exemplos diferentes de autores diferentes são permitidos.

Nota: Tutoriais criados por inteligência artificial serão desclassificados.

 

* Nossos especialistas moderarão os artigos. Apenas conteúdo válido será elegível para participar do concurso.

** Tutorial “é uma ferramenta de ensino/aprendizagem, podendo ser tanto um programa de computador quanto um texto, contendo ou não imagens, que auxilia o processo de aprendizagem exibindo passo a passo o funcionamento de algo.” Fonte: https://pt.wikipedia.org/wiki/Tutorial

Os tutoriais fornecem instruções passo a passo que um desenvolvedor pode seguir para concluir uma tarefa específica ou conjunto de tarefas.

 

🎯 BÔNUS EXTRAS

Desta vez, decidimos adicionar bônus que ajudarão você a ganhar o prêmio! Por favor, dê boas-vindas aos bônus:

Bônus

Nominal 

Detalhes

Bônus do Tópico

Se o seu tutorial for sobre um tópico da lista de tópicos propostos (listados abaixo), você receberá um bônus de 5 votos de especialistas. 

Bônus de Vídeo

Além de publicar o tutorial, faça um vídeo explicativo.

Bônus de Discussão

1

Artigo com a discussão mais útil, conforme decidido pelos especialistas da InterSystems. Apenas 1 artigo receberá este bônus.

Bônus de novo participante

3

Se você não participou dos concursos anteriores, seu(s) artigo(s) receberá(ão) 3 votos de especialista.

Bônus de Programação

5

Além de publicar o tutorial, publique a sua aplicação relacionada ao tutorial no InterSystems Open Exchange. E não esqueça de referenciá-la na publicação do tutorial.

 

Tópicos propostos

Aqui está uma lista de tópicos propostos que darão bônus extras ao seu artigo:

✔️ Usando IA/ML/GenAI

✔️ Usando o Vector Search

✔️ Usando o FHIR SQL Builder ***

*** FHIR SQL Builder, é um recurso do InterSystems IRIS for Health™ que permite que analistas de dados criem esquemas SQL personalizados. O Builder foi projetado para funcionar com o repositório e banco de dados multimodelo InterSystems IRIS for Health HL7® FHIR®.

Observação: Tutoriais sobre o mesmo tópico de autores diferentes são permitidos.

 

➡️ Junte-se ao Discord da InterSystems para conversar sobre as regras, tópicos e bônus.

É hora de mostrar suas habilidades de escrita e didática! Boa sorte

1 Comment
讨论 (1)2
登录或注册以继续
公告
· 九月 6, 2024

第2回 InterSystems Japan 開発者コミュニティ・ミートアップ in 東京開催のお知らせ

開発者のみなさん、こんにちは!

今年も開発者コミュニティミートアップを東京にて開催いたします!(10月1日:お申込みサイトオープンいたしました!)

日 時:2024年11月8日(金)13時半~19時

場 所:AP東京八重洲 13階

<JR各線をご利用の場合>「東京駅」八重洲中央口より徒歩6分
<東京メトロ銀座線をご利用の場合>「日本橋駅」徒歩約5分/「京橋駅」徒歩約4分
<都営浅草線をご利用の場合>「宝町駅」徒歩約4分

※ヤエチカ24番出口から出るとわかりやすいです。
 

参加費:無料

定 員:50名
※定員に達した際は調整をお願いすることもございます。予めご了承下さい。

申 込:(申込受付終了しました)

開催概要

《13時半~17時(前半)》

  • Pythonワークショップ

Python+IRIS で作成する簡単なアプリケーションを通して Python の基本操作を体験しながら、より良い活用方法についてコミュニティメンバーと意見交換を行って いただければと考えております。

ワークショップでは、ご興味ある内容を自由にお試しいただけるよう、シンプルにPythonやEmbedded Pythonを試したり、Webアプリ作成、機械学習体験などいくつかのテーマを用意する予定です。
流れに沿って試していただくのも〇、新しいものを作成いただくのも〇、グループで協力し合って進めるのも〇、IRISやPythonの使用経験問わず自由にご参加いただけます。

《17時~19時(後半):12階会場に移動します》※お食事(ビュッフェ形式)をしながら以下の内容を予定しています。

  • 技術文書ライティングコンテスト 表彰式  
  • クイズ大会

 今年も、InterSystems製品にちなんだクイズを出題します。クイズ勝者には5000円相当の景品が贈られます。

  • 懇親会

《持ち物》

  • パソコン

ワークショップで使用します。4時間弱使用するため充電ケーブルもご持参ください。

2024/9/17更新:事前準備内容を公開しました。ミートアップ前までにご準備いただけますと大変助かります。

  • スマートフォン

クイズ大会で使用します。

《その他》

  • カジュアルな服装でぜひご来場ください。

 

ご都合よろしければ、ぜひご参加ください。

それでは、イベント会場でお会いしましょう!

3 Comments
讨论 (3)1
登录或注册以继续
公告
· 九月 4, 2024

Kick-off Webinar for InterSystems Developer Tools Contest 2024

Hey Community,

We're pleased to invite you all to the upcoming kick-off webinar for the InterSystems Developer Tools Contest 2024!

During the webinar, you will discover the exciting challenges and opportunities that await IRIS enthusiasts in this contest. We'll discuss the topics we expect from participants and show you how to develop, build, and deploy applications using the InterSystems IRIS data platform.

Date & Time: Tuesday, September 10 – 12:30 pm EDT | 6:30 pm CEST  

Speakers:  
🗣 ​​​@Dean Andrews, Head of Developer Relations
🗣 ​​​@Evgeny Shvarov, Senior Manager of Developer and Startup Programs
🗣 @Raj Singh, Product Manager  

✅ Register for the kick-off today!

讨论 (0)2
登录或注册以继续
公告
· 九月 4, 2024

400+ Ideas on the InterSystems Ideas Portal

Hey Community, 

We’re pleased to announce that the InterSystems Ideas Portal now features 400 diverse and innovative ideas 🙌🙌🙌

This milestone highlights the active participation and creativity of our Community. We appreciate all the contributions and support that drive the ongoing success of this portal!

Since the launch of the Ideas Portal, our Community members have posted 400+ ideas. 

A special thank you to @Mark OReilly for submitting the 400th idea: "Category dropdown to appear in alphabetical order (ignoring case) production config page. Yay!

 
Let's take a look at the idea leaders and the number of ideas they have submitted:


 More than 15% of ideas (63 ideas) have been implemented by InterSystems or done by Community members

Take a look at the "Ideas Portal Hall of Fame" page, which highlights all the implemented ideas and the developers who bring them to life.  

 
Let’s review the leading contributors to idea implementation and the number of ideas they’ve brought to life:

For inspiration, we encourage you to explore the "Community Opportunity" ideas and take the next step to join our "Hall of Fame."
 

31 ideas are planned or in progress, including those that received the most votes from our community.

 
Let's see the most voted ideas planned or in progress of implementation.

Thank you for posting your ideas, commenting on existing ideas, and voting for ideas you like. Special thanks to the community members who implemented the ideas. Keep them coming!


🤗 Thank you to everyone who has contributed ideas, voted, and supported the innovation process. 

Stay tuned for more updates as we move forward with implementing your great ideas!

Stay tuned for more updates as we move forward with implementing your great ideas! 

讨论 (0)1
登录或注册以继续