Encontrar

Anuncio
· 11 hr atrás

[Video] First Customers Using Vector Search - Real World Experiences and Lessons Learned

Hey Developers,

Enjoy the new video on InterSystems Developers YouTube

⏯ First Customers Using Vector Search - Real World Experiences and Lessons Learned @ READY 2025

Discover how early adopters are successfully using vector search in InterSystems IRIS to enhance user experiences, streamline workflows, and reduce operational complexity. This session features practical examples and real-world customer case studies—including the modernization of clinical exam registration systems — and explores how InterSystems IRIS Vector Search, Retrieval-Augmented Generation (RAG), and natural language processing (NLP) deliver accurate, contextually relevant results. Learn about implementation challenges, best practices, and the measurable outcomes achieved by customers who have improved service efficiency and accuracy through vector search integration.

Presenters:
🗣 @Thomas Dyar, Product Manager, ML/AI at InterSystems
🗣 @Fernando Ferreira, Sales Engineer at Intersystems
🗣 @Djeniffer Greffin, Consultora DBA at Sabin Medicina Diagnóstica (SABIN)
🗣 Claudio Laudeauzer, IT Executive, CIO, CTO at Digital Transformation (SABIN)
🗣 Holger Müller, Geschäftsführender Gesellschaft at AGIMERO
🗣 @Fabio Care, Developer at AGIMERO

Want to learn about best practices? Watch this video and subscribe to learn more! 👍

Comentarios (0)1
Inicie sesión o regístrese para continuar
Artículo
· 19 dic, 2025 Lectura de 6 min

Depuração 101: Seu Primeiro Breakpoint e Acompanhamento de Variáveis no VS Code

Neste artigo, vamos discutir todas as ferramentas de depuração incluídas no Microsoft Visual Studio Code.

O que será abordado:

  • Breakpoints  
  • Janela de observação (Watch window)  
  • Call Stack  

Vamos começar aprendendo sobre os requisitos para depuração!

Pré-requisitos

Existem dois plugins (extensões) para depuração de ObjectScript:

O primeiro faz parte do InterSystems ObjectScript Extension Pack. O segundo é Serenji, um plugin independente que fornece um editor, gerenciador de arquivos e funcionalidades de depuração. Ambos os plugins podem ser instalados a partir da loja de plugins. Para ativar funcionalidades principais, o Serenji requer uma licença. Para este artigo, usaremos o InterSystems ObjectScript Extension Pack para reduzir a curva de aprendizado. Depois de dominar o básico, você pode considerar a compra de uma licença paga para o Serenji.
 

Você ira precisar: 

  1. A versão mais recente do Microsoft Visual Studio Code 
  2. Plugin InterSystems ObjectScript Extension Pack (após instalar o Visual Studio Code)
  3. Instância do InterSystems IRIS. Você pode escolher entre a versão Docker ou o kit de instalação. (é necessário estar registrado no Developer Community)

Para saber como conectar seu IRIS ao IDE Microsoft Visual Studio Code, você pode ler aqui.

 

Configurando a função de depuração


Normalmente, o arquivo de configuração é gerado automaticamente após o início da depuração. Ele terá a seguinte aparência:

 

{
    "configurations": [
       
    {
        "type": "objectscript",
        "request": "launch",
        "name": "ObjectScript Run current routine",
        "program": "${file}"
    }
    ]
 
}

 

Onde type é a linguagem do código que está sendo depurado, request é a opção de início da depuração (launch – inicia e executa o código ou attach – conecta ao código que já está em execução), name é o identificador da depuração, e program é o nome da classe e do método que estão sendo depurados (nesta configuração, um arquivo aberto é selecionado).

Breakpoint

            Qualquer código de programa é executado de cima para baixo, linha por linha. Ao depurar, é importante entender o estado do programa em qualquer momento, incluindo os valores das variáveis locais e globais, a abertura e fechamento de arquivos, conexões web, entre outros.

            Breakpoint é uma ferramenta de depuração que permite pausar a execução do programa em uma linha específica para identificar mudanças indesejadas no estado do programa. Começar a depurar no Visual Studio Code é muito simples. Suponha que tenhamos o seguinte código:

 

Class Test.MyFile Extends %RegisteredObject
{

ClassMethod TestVar() As %Integer
{
    set randomNum = $RANDOM(10)
    return randomNum
}

ClassMethod MyMethod() As %Integer
{
    set randomNum = ..TestVar()
    set numVar = 2
    set numDivision = randomNum / numVar

    return numDivision
}
}

Precisamos entender o valor armazenado na variável x no método MyMethod(). Esse valor é retornado pelo método TestVar(). Definimos um breakpoint antes de realizar a operação aritmética com essa variável na linha 15 e clicamos no botão Debug. Se você não definir um breakpoint, a depuração simplesmente executará o código sem exibir nada no console.

Podemos ver o valor de uma determinada variável imediatamente após iniciar a depuração! Muito conveniente. Em seguida, podemos percorrer todo o programa linha por linha pressionando o botão Step into ou F11.

 

Ótimo! Agora sabemos os valores das variáveis em cada passo da execução do código.

Podemos percorrer as variáveis dentro de um loop da mesma maneira. Vamos considerar o seguinte código:

 

Class Test.MyFile Extends %RegisteredObject
{

ClassMethod LoopMethod() As %List
{

    set objList = $LB("string", 1, {"name":1})
    for i=1:1:$LL(objList){
        set item = $LG(objList, i)
    }
    
    return objList
}

}

Vamos definir um breakpoint no início do método e iniciar a depuração. Em seguida, usando o botão “Step into” no painel de depuração localizado na parte superior do IDE, avançamos no programa e observamos os valores atribuídos à variável item. Também podemos ver os valores de todas as outras variáveis do programa, incluindo a variável iteradora i, que neste caso é igual a 2.


 Assim, avançando pelo loop, você pode acompanhar qual valor será atribuído à variável item em cada passo do loop.

Janela de observação (Watch window)

Também podemos monitorar o estado de uma variável durante a depuração adicionando-a à janela de observação. No modo de observação, podemos aplicar métodos a uma variável e acompanhar seu estado em cada iteração. Por exemplo, considere o seguinte código:

Class Test.MyFile Extends %RegisteredObject
{

ClassMethod WatchAVariable() As %List
{
    set list = ""
    set randomNum = $RANDOM(100)
    for int=randomNum:randomNum:100000{
        set list = list _$LB(int)
    }

    return list
}
}

E vamos escrever três métodos para a variável list:

 
Queremos acompanhar o comprimento da lista $LL(list), o último número adicionado $LG(list, -1) e sua raiz quadrada $LG(list, -1) ** 0.5. Entramos no loop e obtemos os primeiros valores:

 Ao definir funções na janela de observação, podemos ver informações detalhadas da depuração! Além disso, a janela de variáveis continua exibindo os valores das variáveis iteradoras int e o passo do loop. Muito conveniente!

Janela da pilha de chamadas (Call Stack)

Observe a janela “Call Stack” na parte inferior. Essa janela mostra a ordem das chamadas de função no seu código. No nosso estado atual, temos dois itens: o loop e a atribuição das variáveis WatchVariable+7 e WatchVariable+6, respectivamente. Mas tudo aqui é bastante autoexplicativo. Vamos adicionar um pouco mais de lógica:

Class Test.MyFile Extends %RegisteredObject
{

ClassMethod RandomlyChangeVar() As %Integer
{
    return $RANDOM(100)
}

ClassMethod WatchAVariable() As %List
{

    set list = ""
    set randomNum = $RANDOM(100)
    for int=randomNum:randomNum:100000{
        set list = list _$LB(int)
        if $LG(list, -1) ** 0.5 > 10{
            set int = int + ..RandomlyChangeVar()
        }
    }
    return list
}


}  


Adicionamos um novo método, RandomlyChangeVar(), que irá alterar a próxima variável int se a raiz quadrada do último número for maior que 10. Continuamos o loop até que o estado das variáveis satisfaça a condição lógica:

 

Observe os valores da função de raiz quadrada e a ordem das chamadas de função na pilha de chamadas. Assim que a raiz quadrada ultrapassou 10, a função RandomlyChangeVar() foi chamada imediatamente! Além disso, ao medir o comprimento da lista, conseguimos acompanhar quantos passos do loop foram necessários para atingir a condição lógica desejada. Isso facilita rastrear a ordem e as condições de chamadas de múltiplas funções, não importa quão complexa seja a lógica.

É isso! Agora você domina a depuração de ObjectScript no VSCode.


Neste artigo, analisamos detalhadamente o recurso de depuração no VSCode. Definimos nosso primeiro breakpoint e acompanhamos os valores das variáveis.

Artigo Original: https://community.intersystems.com/post/debugging-101-your-first-breakpo...

1 nuevo comentario
Comentarios (1)1
Inicie sesión o regístrese para continuar
Anuncio
· 19 dic, 2025

[Video] Using InterSystems Data Studio with Supply Chain Module as a Data Gateway

Hey Community!

We're happy to share a new video from our InterSystems Developers YouTube:

⏯  Using InterSystems Data Studio with Supply Chain Module as a Data Gateway @ Ready 2025

The presentation shows how InterSystems Data Fabric Studio with the Supply Chain Module acts as a data gateway, integrating and unifying data from multiple ERP systems. Users can stage, transform, validate, reconcile, and promote data to internal or external systems, create snapshots for auditing, and schedule tasks for automation. All without coding, ensuring consistent and reliable supply chain data.

🗣 Presenter: Emily Cohen, Senior Solutions Developer, InterSystems

Enjoy watching, and subscribe for more videos! 👍

Comentarios (0)1
Inicie sesión o regístrese para continuar
Artículo
· 19 dic, 2025 Lectura de 4 min

The Best Supplements for Muscle Growth and Fat Loss

Building lean muscle while burning stubborn fat is one of the most common fitness goals—and also one of the most challenging. While training and nutrition form the foundation of success, the right supplements can significantly support muscle growth and fat loss when used correctly.

This article breaks down the best supplements for muscle gain and fat loss, how they work, and how to use them safely for real, sustainable results.


Why Supplements Matter in Body Transformation

Supplements are not shortcuts, but they are powerful tools. They help fill nutritional gaps, improve workout performance, speed up recovery, and support metabolism. When combined with proper diet, resistance training, and sleep, supplements can enhance results that would otherwise take longer to achieve.


Best Supplements for Muscle Growth

1. Whey Protein

Protein is the building block of muscle, and whey protein is one of the most effective and convenient sources available.

Benefits:

  • Supports muscle repair and growth
  • Improves recovery after workouts
  • Helps meet daily protein requirements

How to Use:
20–40 grams post-workout or between meals.


2. Creatine Monohydrate

Creatine is one of the most researched supplements in the fitness industry—and for good reason.

Benefits:

  • Increases strength and power
  • Enhances muscle volume
  • Improves workout performance

How to Use:
3–5 grams daily, consistently.


3. Beta-Alanine

This supplement helps delay muscle fatigue, allowing longer and more intense workouts.

Benefits:

  • Reduces muscle burn during training
  • Improves endurance
  • Supports high-intensity exercise

How to Use:
2–5 grams per day (split doses recommended).


4. BCAAs or EAAs

Branched-Chain Amino Acids and Essential Amino Acids support muscle recovery, especially during calorie deficits.

Benefits:

  • Reduces muscle breakdown
  • Aids recovery
  • Helps preserve lean mass during fat loss

How to Use:
Before or during workouts, especially while dieting.


Best Supplements for Fat Loss

1. Caffeine

Caffeine is one of the most effective natural fat-burning compounds.

Benefits:

  • Boosts metabolism
  • Enhances fat oxidation
  • Increases energy and focus

How to Use:
200–400 mg before workouts or in the morning.


2. Green Tea Extract

Green tea extract contains EGCG, a compound known to support fat metabolism.

Benefits:

  • Promotes fat burning
  • Supports antioxidant health
  • Enhances metabolism

How to Use:
250–500 mg daily.


3. L-Carnitine

L-Carnitine helps transport fatty acids into cells where they are used for energy.

Benefits:

  • Supports fat utilization
  • May improve endurance
  • Helps recovery

How to Use:
1–2 grams per day, ideally with meals.


4. CLA (Conjugated Linoleic Acid)

CLA is a fatty acid that may support gradual fat loss.

Benefits:

  • Helps reduce body fat percentage
  • Supports lean muscle retention
  • Works well over long periods

How to Use:
3–6 grams daily.


Best Supplement Stack for Muscle Growth and Fat Loss

For balanced results, a smart stack may include:

  • Whey Protein
  • Creatine
  • Caffeine or Green Tea Extract
  • Optional: L-Carnitine or CLA

This combination supports strength, muscle recovery, energy, and fat metabolism.


Supplements That Are Overhyped

Not all supplements deliver real results. Products promising “instant fat loss” or “rapid muscle growth” without effort should be avoided. Supplements work best as support tools, not miracle solutions.


Safety Tips for Using Supplements

  • Stick to recommended dosages
  • Choose high-quality, third-party tested brands
  • Stay hydrated
  • Avoid stacking too many stimulants
  • Consult a healthcare professional if you have medical conditions

Final Thoughts

The best supplements for muscle growth and fat loss enhance what you’re already doing right. Consistent training, proper nutrition, adequate sleep, and discipline come first. Supplements simply help you recover faster, train harder, and stay energized along the way.

When used wisely, they can be the difference between slow progress and visible, sustainable transformation.


FAQs

1. Can supplements replace a healthy diet?

No. Supplements only support nutrition—they cannot replace whole foods.

2. Is creatine safe for long-term use?

Yes, when used within recommended doses by healthy individuals.

3. Can I build muscle and lose fat at the same time?

Yes, especially for beginners or those returning to training.

4. Are fat burners necessary for weight loss?

No. They help slightly, but diet and training matter most.

5. How long before supplements show results?

Most take 2–4 weeks of consistent use combined with training.

Comentarios (0)1
Inicie sesión o regístrese para continuar
Pregunta
· 19 dic, 2025

Mighty Prayer Points with Scriptures for Total Freedom from Pornography

Pornography addiction is a silent battle many people fight behind closed doors. It drains spiritual strength, damages relationships, and creates cycles of guilt and shame. But here is the good news: freedom is possible through Jesus Christ. Deliverance is not achieved by willpower alone—it is released through prayer, truth, repentance, and the power of God’s Word.

This article provides mighty prayer points with Scriptures to help you walk step by step toward total freedom from pornography.


Understanding Pornography as a Spiritual Battle

Pornography is not just a habit—it is a spiritual stronghold. It feeds the lust of the flesh, clouds the mind, and opens doors to guilt, condemnation, and spiritual weakness.

“For we wrestle not against flesh and blood, but against principalities, against powers…”
(Ephesians 6:12)

To overcome it, you must fight spiritually, not just emotionally.


The Power of Prayer in Breaking Addiction

Prayer invites God into the struggle. It releases grace, strength, and divine intervention where human effort fails.

“The effective, fervent prayer of a righteous man avails much.”
(James 5:16)

Every prayer point below is backed by Scripture—because God’s Word is the weapon that breaks chains.


Prayer Point 1: Repentance and Cleansing

Before freedom comes cleansing. Honest repentance opens the door to restoration.

Prayer:
Father Lord, I come before You with a broken and humble heart. I confess my sins and ask for Your mercy. Wash me clean and purify my heart.

Scripture:

“If we confess our sins, He is faithful and just to forgive us…”
(1 John 1:9)


Prayer Point 2: Breaking the Spirit of Lust

Lust is a spirit that must be confronted and cast out.

Prayer:
In the name of Jesus, I break every spirit of lust, sexual perversion, and immoral desire operating in my life.

Scripture:

“Walk in the Spirit, and you shall not fulfill the lust of the flesh.”
(Galatians 5:16)


Prayer Point 3: Renewal of the Mind

Freedom begins in the mind. God renews thought patterns that fuel addiction.

Prayer:
Lord, renew my mind. Replace impure thoughts with holy desires.

Scripture:

“Be transformed by the renewing of your mind…”
(Romans 12:2)


Prayer Point 4: Deliverance from Spiritual Bondage

Pornography enslaves, but Jesus sets captives free.

Prayer:
By the power of the Holy Spirit, I declare my deliverance from every chain of addiction.

Scripture:

“If the Son makes you free, you shall be free indeed.”
(John 8:36)


Prayer Point 5: Strength to Resist Temptation

Temptation loses power when God’s strength fills your weakness.

Prayer:
Lord, strengthen me in moments of temptation. Give me the grace to say no.

Scripture:

“God is faithful… He will make a way of escape.”
(1 Corinthians 10:13)


Prayer Point 6: Purity of Heart and Eyes

What you see shapes what you desire.

Prayer:
Father, purify my eyes and heart. Help me to honor You with my body.

Scripture:

“Blessed are the pure in heart, for they shall see God.”
(Matthew 5:8)


Prayer Point 7: Breaking Shame and Condemnation

Shame keeps people trapped, but grace sets them free.

Prayer:
Lord, remove every burden of guilt and condemnation from my soul.

Scripture:

“There is therefore now no condemnation to those who are in Christ Jesus.”
(Romans 8:1)


Prayer Point 8: Hunger for God’s Word

The Word of God weakens sinful cravings and strengthens spiritual hunger.

Prayer:
Lord, give me a deep hunger for Your Word instead of sinful desires.

Scripture:

“Your word I have hidden in my heart, that I might not sin against You.”
(Psalm 119:11)


Prayer Point 9: Restoration of Spiritual Fire

Pornography dulls spiritual sensitivity, but God restores fire.

Prayer:
Holy Spirit, restore my passion for prayer, worship, and righteousness.

Scripture:

“Restore to me the joy of Your salvation.”
(Psalm 51:12)


Prayer Point 10: Walking in Total Freedom

Freedom is maintained by daily surrender.

Prayer:
Lord, help me walk daily in obedience, discipline, and holiness.

Scripture:

“Stand fast therefore in the liberty by which Christ has made us free.”
(Galatians 5:1)


Practical Steps to Support Your Prayers

Prayer works best when combined with action:

  • Remove triggers and access points
  • Stay accountable to a trusted believer
  • Spend time daily in Scripture
  • Replace idle time with spiritual activities
  • Fast periodically for spiritual strength

Final Encouragement: Your Freedom Is God’s Will

God is not disappointed in you—He is ready to deliver you. Freedom from pornography is not a dream; it is a promise.

“The Lord is near to those who have a broken heart.”
(Psalm 34:18)

Keep praying. Keep believing. Your chains will break.


FAQs

1. Can prayer really free someone from pornography addiction?

Yes. When combined with faith, repentance, and obedience, prayer releases God’s power to break addiction.

2. How long does deliverance take?

It varies. Some experience instant freedom, others gradual healing—but God completes what He starts.

3. What Bible verse helps fight lust?

Galatians 5:16 and Job 31:1 are powerful verses against lust.

4. Should I fast while praying for deliverance?

Fasting strengthens prayer and weakens the flesh, making it highly effective.

5. What if I fall again after praying?

Do not quit. Repent, rise again, and keep trusting God’s grace.

Comentarios (0)1
Inicie sesión o regístrese para continuar