mastodon.gamedev.place is one of the many independent Mastodon servers you can use to participate in the fediverse.
Mastodon server focused on game development and related topics.

Server stats:

5.1K
active users

#jupyter

3 posts3 participants0 posts today

#Pikchr (pikchr.org) is a great little piece of software from the SQLite folks. It parses a little language for describing diagrams with boxes and lines and things, and puts out SVG.

#OrgMode (orgmode.org) has, among many other things, a way you can make code notebooks, #OrgBabel. Like #Jupyter, but less webby, and inside #Emacs, and supporting many languages - even multiple in the same document - thence its name.

Thanks to the ob-pikchr package by @SReyCoyrehourcq, Pikchr is one of the languages you can just write in the middle of your document this way.

Pikchr supports #darkmode, and I've just made a pull request that gets ob-pikchr in on the dark-mode game.

github.com/reyman/ob-pikchr/pu

Many thanks to Sebastien for the help ob-pikchr has provided in diagramming my thoughts! You go use it too!

Trudging Toward Notebooks.

After recovering from a mystery gut bug and leaving bed, I thought I was ready to start working on example notebooks for my project.

Instead, I realized I needed to make a number of additions to my library so the notebooks could be neater and easier... which, since #Jupyter notebooks are the main (currently only real) UI for the project, I guess is good.

But... Grr. Arg. It's growing again.

The #Python portion is now at 1,377 lines and counting. Grr.. Argh. Blah.

Upgraded to the M4 Mac with Sequoia and now all my Jupyter kernels in VSCode do this ”missing module ‘jupyter_server.contents’". Suggestions? Running Jupyterlab from the terminal started working again after running `conda install -c conda-forge jupyterlab`, but in VSCode it is still broken. #vscode #jupyter

Just had an Oh My F***ing Gosh #Jupyter #Python moment:

Starting to think of demo notebooks and hacked together a "show_page()" function to display an iframe with a webpage in it.

I *thought* I was just fetching and showing rendered HTML and was fine with that.

Then I clicked the home link and discover that I'm actually embedding live little web windows in my notebooks....

Wait, What, Wow How?

Never knew ipthon.display was that friggin awesome and cool.

Debugging a complex Python library via a Jupyter notebook is unfairly good tech, yinz.

Now that I've tried it, I can't go back.

My favorite part of this exercise?

Testing the fix in-place by copying the broken method out of the class, editing it, monkey-patching it back into the class definition, and then re-running the small verification setup I threw together in Jupyter. Newly-created class instances are using the new method and the flow goes from "Busted" to "Working."

(Plus, Jupyter supports matplotlib output, which is huge when what I'm debugging is fundamentally geometric in nature).

Following up on my work with trying to make Python development more interactive with REPL Driven Development (previously posted article "Are we there yet?").

I recorded a very much improvised video 😅

I demo the setup and the workflow. Starting up a Jupyter kernel, connecting to it from my code editor, and modifying a running program.

About 13 minutes:
youtu.be/nJC9EVHjI24?si=SpRb-O

I am really looking forward to a time when scientific data analysis is less of a constant fuckaround and fight with technical bullshit. I'd *really* like

- #netCDF natively supporting complex numbers
- #Python #xarray and #pandas to natively support physical units (#pint is great on its own but the integrations leave a LOT to be desired)
- #Jupyter notebooks to suck less (crashes, glitches, widget plots not saved statically, an effing BUILTIN formatter, etc.)
- proper data pipeline systems
...

Excited to announce the release of the second cat2cloud introductory video! 🥳
Our software optimises file transfer ⚡ and access for server-hosted data 📅 . cat2cloud's compression-first framework enables users to minimise transfer times and storage requirements 🗜️.

In this video, you can see how easy and quick it is to manage file storage using the ubiquitous jupyter notebook format 🐍 !
Find out more (and see the first video) at ironarray.io/cat2cloud!
#API #datascience #compression #jupyter

#python is an interpreted language. The Python interpreter runs a program by executing one statement at a time. The standard interactive Python interpreter can be invoked on the command line with the python command

data analysis or scientific computing make use of IPython, an enhanced Python interpreter, or #jupyter notebooks, web-based code notebooks originally created within the IPython project.