問題タブ [joyent]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
vagrant - allowing root login in joyent with vagarant
I am creating instances through vagrant using vagrant up --provider=joyent
vagarant needs root user .. but bye default joyent accepting only ubuntu user.. is there any way that joyent accepts root user by default before creating instance
node.js - In HTTP Signatures, should I use 'request-line' or 'target-request'?
I'm looking at the Readme.md for http-signing that is part of Joyent's node-http-signature module, and it says to use a "special name" to include the HTTP request target into the signature base:
To include the HTTP request line in the signature calculation, use the special request-line value. While this is overloading the definition of headers in HTTP linguism, the request-line is defined in RFC 2616, and as the outlier from headers in useful signature calculation, it is deemed simpler to simply use request-line than to add a separate parameter for it.
Including request-line
would imply including text like POST /url/path/here HTTP/1.1
into the signature base.
Conversely draft 03 of the spec says to use a different "special value" to include the request target:
If the header field name is
(request-target)
then generate the header field value by concatenating the lowercased :method, an ASCII space, and the :path pseudo-headers
Yes, (request-target) in parens.
With the former, the signature base for a request might look like:
...whereas with the latter, the signature base for the same request would look like this:
So which is authoritative? I doubt that there will remain two ways to include the method and path into the signature base.
I suspect "implementations rule", but I'd like to know the real intention.
python - Solaris 11にhiredisをインストールするにはどうすればよいですか?
Solaris 11 を実行している Joyent SmartMachine にhiredis をインストールしようとしています。次のエラーが表示され続けます。
java - ustack() で DTrace に Java フレームがありません。Joyent SmartOS インフラストラクチャ コンテナで実行
Joyent SmartOS インスタンスで dtrace を使用して Java スタックを取得できません。
java:15.1.1
イメージと、openjdk 8 をインストールしたプレーンな SmartOS 'base64' イメージを試しました。
最も基本的な例: cat Loop.java
を推奨libdtrace_forceload.so
どおりに追加しました。
これは 64 ビット JVM です。
dtrace を実行して jstack を使用すると、C スタックが取得されます。ただし、JAVA フレームは生のアドレスであり、まったく役に立ちません。
ホットスポット プローブが利用可能であることがわかります。
質問: ustack ヘルパーを一覧表示する方法と、それらが読み込まれているかどうかを確認する方法はありますか? Javaスタックを取得する方法はありますか?