-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update to version 1.0.0a9 #38
base: master
Are you sure you want to change the base?
Conversation
Co-Authored-By: Vo Luu Tuong Anh <[email protected]>
Co-Authored-By: Vo Luu Tuong Anh <[email protected]>
Co-Authored-By: Vo Luu Tuong Anh <[email protected]>
Update for more defined logic, constants, tri-measurements, and remove unnecessary comment lines Co-Authored-By: Vo Luu Tuong Anh <[email protected]>
Co-Authored-By: Vo Luu Tuong Anh <[email protected]>
Co-Authored-By: Vo Luu Tuong Anh <[email protected]>
Co-Authored-By: Vo Luu Tuong Anh <[email protected]>
Co-Authored-By: Vo Luu Tuong Anh <[email protected]>
Co-Authored-By: Vo Luu Tuong Anh <[email protected]>
Co-Authored-By: Vo Luu Tuong Anh <[email protected]>
Co-Authored-By: Vo Luu Tuong Anh <[email protected]>
Co-Authored-By: Vo Luu Tuong Anh <[email protected]>
Co-Authored-By: Vo Luu Tuong Anh <[email protected]>
Co-Authored-By: Vo Luu Tuong Anh <[email protected]>
Co-Authored-By: Vo Luu Tuong Anh <[email protected]>
fix the long execute average execute time 2.2s -> ~900ms Co-Authored-By: Vo Luu Tuong Anh <[email protected]>
Co-Authored-By: Vo Luu Tuong Anh <[email protected]>
updating for error in format. thanks chatgpt Co-Authored-By: Vo Luu Tuong Anh <[email protected]>
This reverts commit 4be6d22.
Co-Authored-By: Vo Luu Tuong Anh <[email protected]>
Co-Authored-By: Vo Luu Tuong Anh <[email protected]>
Dependency Review✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.OpenSSF Scorecard
Scanned Files |
Co-Authored-By: Vo Luu Tuong Anh <[email protected]>
Co-Authored-By: Vo Luu Tuong Anh <[email protected]>
Co-Authored-By: Vo Luu Tuong Anh <[email protected]>
To be honest, I don't know how to let the kernel run on Visual Studio Code. The VS Code and Jupyter Lab/Notebook seem running different APIs. |
Actually don't mind it, I was running your kernel inside vs code only way back, not much of a hassle. Inside jupyter's config(vscode) you can add custom kernel paths and then choose the kernel in the selection when you create a new notebook. |
As I debug the kernel, there is a problem with the kernel. Debug Information:
Edit: It seems running the Jupyter Notebook server, and then letting the Visual Studio Code connect to the server (via token, password, etc.) is the only way to let the C++ kernel run. Here is the prove (I connect my VS Code Notebook to the Jupyter Notebook server at |
Thanks for your recent update. I think the problem may start with both kernel and the VS Code itself, since the C++ kernel use the |
This update has significant changes, including bug fixes and new features, to improve user experience, performance, and security.
Improvements
The execution time is down from ~2.4s in 1.0.0a8 to ~750ms (3x faster). It can be done by removing the regex resolution, replace it with the C++ implementation; as well as some functions in
_Jupyter_Display
(forMimeHandler
there are_jupyter_font
,_jupyter_example
,_jupyter_message
,_jupyter_model
, and_jupyter_multipart
;YouTubePlayer
,OBJ
, andCSV
). Other MIME types will be added in the next release of the kernel (1.0.0a10).Adding new standard for including default headers (classic C standards come first, then the C++ headers, then customized headers). It is, to make sure that every functional aspect of the customized header will replace the default parameter, and by that, will extend the functionality of the kernel.
New kernel requires a new version of Python 3.9. Python 3.8 is no longer supported, since it contains security issues, which may lead to code injection, causing a dangerous effect on the kernel, and the server as well.
New logic, math constants, and trigonometry measurements.
Kernel doesn't work with VS code #37 will be fixed.
Credits
Thanks to @anhvlt-2k6 for supporting the project.
Also, thanks to @fadyosman and @ShashaankHari for great contribution to the project.