Skip to content

Instantly share code, notes, and snippets.

@apowers313
Last active December 12, 2021 09:32
Show Gist options
  • Save apowers313/ef4bfac7073d0c1988c58d2ef7f30b57 to your computer and use it in GitHub Desktop.
Save apowers313/ef4bfac7073d0c1988c58d2ef7f30b57 to your computer and use it in GitHub Desktop.
ideno-rust initial zmq output
[I 01:30:17.834 NotebookApp] Kernel started: aefa459b-5c3e-4d6c-8791-7e42723d61cf, name: rusty
[D 01:30:17.834 NotebookApp] Kernel args: {'kernel_name': 'rusty', 'cwd': '/Users/ampower/Projects/personal/ideno-rust'}
[D 01:30:17.834 NotebookApp] Path toc2/toc2.js served from /Users/ampower/Library/Jupyter/nbextensions/toc2/toc2.js
[D 01:30:17.835 NotebookApp] 200 GET /nbextensions/toc2/toc2.js?v=20211212013005 (::1) 5.130000ms
[D 01:30:17.835 NotebookApp] Path collapsible_headings/main.css served from /Users/ampower/Library/Jupyter/nbextensions/collapsible_headings/main.css
[D 01:30:17.836 NotebookApp] 200 GET /nbextensions/collapsible_headings/main.css?v=20211212013005 (::1) 5.520000ms
[D 01:30:17.837 NotebookApp] Using contents: services/contents
[W 01:30:17.838 NotebookApp] 404 GET /nbextensions/widgets/notebook/js/extension.js?v=20211212013005 (::1) 6.600000ms referer=http://localhost:8888/notebooks/Untitled15.ipynb?kernel_name=rusty
[D 01:30:17.840 NotebookApp] 201 POST /api/sessions (::1) 59.690000ms
[D 01:30:17.846 NotebookApp] Path toc2/main.css served from /Users/ampower/Library/Jupyter/nbextensions/toc2/main.css
[D 01:30:17.847 NotebookApp] 200 GET /nbextensions/toc2/main.css?v=20211212013005 (::1) 2.200000ms
[D 01:30:17.870 NotebookApp] Initializing websocket connection /api/kernels/aefa459b-5c3e-4d6c-8791-7e42723d61cf/channels
[D 01:30:17.871 NotebookApp] Requesting kernel info from aefa459b-5c3e-4d6c-8791-7e42723d61cf
[D 01:30:17.872 NotebookApp] Connecting to: tcp://127.0.0.1:59183
{'content': {},
'header': {'date': datetime.datetime(2021, 12, 12, 9, 30, 17, 872510, tzinfo=datetime.timezone.utc),
'msg_id': '926bbea6f70a4ea68db6fcb2df3248a2_84884_0',
'msg_type': 'kernel_info_request',
'session': '926bbea6f70a4ea68db6fcb2df3248a2',
'username': 'ampower',
'version': '5.3'},
'metadata': {},
'msg_id': '926bbea6f70a4ea68db6fcb2df3248a2_84884_0',
'msg_type': 'kernel_info_request',
'parent_header': {}}
[b'<IDS|MSG>',
b'fb4f6508c7eebc7dc6c2d25a74bfcd1207bb22aad2e631105b659ab59eb399ac',
b'{"msg_id": "926bbea6f70a4ea68db6fcb2df3248a2_84884_0", "msg_type": "kernel_i'
b'nfo_request", "username": "ampower", "session": "926bbea6f70a4ea68db6fcb2df3'
b'248a2", "date": "2021-12-12T09:30:17.872510Z", "version": "5.3"}',
b'{}',
b'{}',
b'{}']
[]
["/Users/ampower/Projects/personal/ideno-rust/target/debug/ideno-rust", "/Users/ampower/Library/Jupyter/runtime/kernel-aefa459b-5c3e-4d6c-8791-7e42723d61cf.json"]
Connection file path: /Users/ampower/Library/Jupyter/runtime/kernel-aefa459b-5c3e-4d6c-8791-7e42723d61cf.json
Connection file:
{
"shell_port": 59183,
"iopub_port": 59184,
"stdin_port": 59185,
"control_port": 59187,
"hb_port": 59186,
"ip": "127.0.0.1",
"key": "32a8f755-ecc8ed4486afd9c27fb6f77f",
"transport": "tcp",
"signature_scheme": "hmac-sha256",
"kernel_name": "rusty"
}
dealer 'shell' connection string: tcp://127.0.0.1:59183
dealer 'control' connection string: tcp://127.0.0.1:59187
iopub iopub connection string: tcp://127.0.0.1:59184
dealer 'stdin' connection string: tcp://127.0.0.1:59185
reply 'hb' connection string: tcp://127.0.0.1:59186
[src/main.rs:86] &data = ZmqMessage {
frames: [
b"<IDS|MSG>",
b"fb4f6508c7eebc7dc6c2d25a74bfcd1207bb22aad2e631105b659ab59eb399ac",
b"{\"msg_id\": \"926bbea6f70a4ea68db6fcb2df3248a2_84884_0\", \"msg_type\": \"kernel_info_request\", \"username\": \"ampower\", \"session\": \"926bbea6f70a4ea68db6fcb2df3248a2\", \"date\": \"2021-12-12T09:30:17.872510Z\", \"version\": \"5.3\"}",
b"{}",
b"{}",
b"{}",
],
}
shell got packet!
size is: 6
header:
[src/main.rs:130] header = b"{\"msg_id\": \"926bbea6f70a4ea68db6fcb2df3248a2_84884_0\", \"msg_type\": \"kernel_info_request\", \"username\": \"ampower\", \"session\": \"926bbea6f70a4ea68db6fcb2df3248a2\", \"date\": \"2021-12-12T09:30:17.872510Z\", \"version\": \"5.3\"}"
header_value
[src/main.rs:134] &header_value = MessageHeader {
msg_id: "926bbea6f70a4ea68db6fcb2df3248a2_84884_0",
session: "926bbea6f70a4ea68db6fcb2df3248a2",
username: "ampower",
date: "2021-12-12T09:30:17.872510Z",
msg_type: "kernel_info_request",
version: "5.3",
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment