検索

お知らせ
· 2024年12月10日

Global Masters - integration with DC, Open Exchange and Ideas Portal is back!

Ho Ho Ho, Community!
The integration between Global Masters, the Developer Community, Open Exchange, and the Ideas Portal has now been restored!

The points should now be updated for all contributions made during the downtime of Global Masters.
Please note that we’ve made several adjustments to the awarding system, we will announce the changes soon.
A bug affecting badges for the number of views was detected, so we had to manually update the points for some of you.
If you have any questions about your points or notice any discrepancies, please don’t hesitate to reach out.

 

Not a Global Masters member yet? Start earning points today!
Join the Global Masters gamification platform for developers and automatically earn points and badges for your contributions in the InterSystems Developer Community, Open Exchange, and Ideas Portal. You’ll also get to participate in fun and easy activities like tech quizzes, learning challenges, and more!
Log in using your InterSystems SSO credentials.

Best regards,
The Global Masters Team

ディスカッション (0)1
続けるにはログインするか新規登録を行ってください
記事
· 2024年12月10日 9m read

詳説: RAG、ベクトル検索、および IRIS RAG アプリにおける IRIS での実装方法

コミュニティメンバーから、Python 2024 コンテストでの出品に対する非常に素晴らしいフィードバックが届きました。 ここで紹介させていただきます。

ディスカッション (0)1
続けるにはログインするか新規登録を行ってください
質問
· 2024年12月9日

Admin Portal forbiden

I installed IRIS 2024.3 on Oracle Linux 9, but I have a problem accessing HTTP://myip/csp/sys/UtilHome.csp. I received the FORBIDEN from Apache.

 

I tried to configure a Directory block on httpd.conf, the login page was opened but images didn't show and the login doesn't work

 

<Directory "/InterSystems/iris/csp">
        CSPFileTypes csp cls zen cxw
        AllowOverride None
        Options MultiViews FollowSymLinks ExecCGI
        Require all granted
        <FilesMatch "\.(log|ini|pid|exe)$">
                Require all denied

        </FilesMatch>
</Directory>

Can you help?
 

1 Comment
ディスカッション (1)1
続けるにはログインするか新規登録を行ってください
記事
· 2024年12月9日 3m read

第四十五章 终端输入 输出 - WRITE 命令

第四十五章 终端输入 输出 - WRITE 命令

WRITE 命令

将零个或多个字符写入终端

ディスカッション (0)1
続けるにはログインするか新規登録を行ってください
記事
· 2024年12月9日 1m read

CSP/RESTのPOSTデータに日本語が含まれる場合の処理のおまじない Parameter CONVERTINPUTSTREAM = 1

REST/JSONを使ってデータを交換することが増えてきていると思いますが、POSTでIRISにデータを渡す場合に日本語が含まれる場合に皆さんどう処理していますか?

わざわざ自分でコード変換する処理を追加していませんか?

実は、あまり知られていないのですが、自動で変換する方法がありますので、紹介します。

CSPのメカニズムを使ってクライアントからデータをPOSTすると、それはCSPのRequestオブジェクトのContentプロパティに渡されます。

ContentプロパティのTypeは%CSP.Streamになっていて、このTypeのクラスリファレンスを読むと、Content-TypeがText/のときには、CharSetに基づいてコード変換が行われると示唆されています。

つまりContent-TypeがJSONの場合には、自動的な変換がされないということになります。

本当は、Content-TypeがJSONの時も変換してくれるのが一番良い(わかりやすい)のですが、残念ながらそうなっていません。

その代わりにパラメータが用意されています。

RESTのディスパッチクラスの定義に以下のパラメータを追加することで、自動コード変換を行なってくれます。

Parameter CONVERTINPUTSTREAM = 1;

ディスカッション (0)1
続けるにはログインするか新規登録を行ってください