dice.camp is one of the many independent Mastodon servers you can use to participate in the fediverse.
A Mastodon server for RPG folks to hang out and talk. Not owned by a billionaire.

Administered by:

Server stats:

1.8K
active users

#jupyter

1 post1 participant0 posts today

Ha... Had an instructor ask to disable downloads for a #datascience #Jupyter Hub instance because they'll be working with some sensitive data. Of course, the feature for that in RStudio is a posit Pro thingy... But the export path is uri path based and my coworker already hacked an ingress that logs you out. Now downloading files ALSO logs you out.

*insert maniacal laugh here*

La dernière mise à jour de #VSCode est disponible (code.visualstudio.com/updates/), avec comme à chaque fois son lot de nouveautés concernant #Python (devblogs.microsoft.com/python/) :
- amélioration dans l'intégration de la REPL Python dans le terminal
- paramétrage plus fin dans la recherche des scripts de #test (possibilité de définir un pattern)
- section automatique de longues chaînes de caractères
- différentes améliorations dans l'utilisation de notebook #jupyter

code.visualstudio.comFebruary 2025 (version 1.98)Learn what is new in the Visual Studio Code February 2025 Release (1.98)

I have prepared a new design note using #Jupyter notebooks, this time for the verification of steel plate-girders. The files are here: codeberg.org/mgregoire/Jupyter

Beware: I haven't checked this one particularly carefully as yet. If you spot a problem, then please let me know.

#StructuralEngineering #steel #girder
#engineering

Summary card of repository mgregoire/Jupyter-Structural-Engineering
Codeberg.orgJupyter-Structural-EngineeringThis repository contains Jupyter notebooks used for structural engineering.
Continued thread

2/2 The course is based on a #MOOC with #Jupyter Notebooks, videos, quizzes and case studies. "It's a very pragmatic approach, where we try to get students to question and understand where the ethical dimension lies" she says.

#Resources:

📌 Videos: mediaspace.epfl.ch/channel/MOO

📌 Notebook: gitlab.epfl.ch/responsiblesoft

mediaspace.epfl.chMOOC Responsible Software - EPFL - Ecole polytechnique fédérale de Lausanne

I have no idea what magic makes this possible, but I love it: github.com/evcxr/evcxr/blob/ma #Evcxr, a #Rust #Jupyter kernel.

I've been planning to actually sit down and start learning the language finally but have been putting it off.

But... a Rust REPL in Jupyter? Yes, Finally. #IPython/Jupyter have become my natural habitat over the past decade. This will make playing around with and learning to think in Rust *much* easier.

Contribute to evcxr/evcxr development by creating an account on GitHub.
GitHubevcxr/evcxr_jupyter/README.md at main · evcxr/evcxrContribute to evcxr/evcxr development by creating an account on GitHub.
Continued thread

So my "good" laptop - the most expensive thing I've bought in many years - continues to be sidelined because I'm stuck staring at the little laptop screen and can't have my nice external portrait display for #Jupyter notebooks... grr... arg.

Apparently and absurdly it seems to have something to do with #Linux V DRM. There are incomprehensible instructions online which fail to fix it. My hardware refuses to use an external display 'cause of DRM rules (cause I might watch a movie over HDMI?)

Continued thread

Let's find those bands and see what's up. I analyzed both the half speed and full speed runs, as they both show the banding clearly.

The space between bands is 813-824 clocks, or 97-98 KHz. I can only guess why they're different.

If I understand Nyquist correctly, I can down sample my traces to 200 KHz and not lose any resolution.

Continued thread

My next hypothesis is that the tach signal is not a direct measurement of some analog signal but is generated by the fan controller and is quantized by the controller's clock.

So let's switch from looking at RPM to looking at intervals. This graph shows the same data, but the Y axis is the interval between edges, measured in ESP32 APB clocks (80 MHz). There are two pulses per fan revolution, so I've colored the two pulses differently.

Continued thread

I re-plotted the half speed run, calculating speed using the intervals between rising edges and the intervals between falling edges. These plots show both, all in one color. (Maybe I should have colorized them again.)

The small bands gaps are gone. There are still bands, but they're evenly spaced.

Continued thread

So what's going on with that banding? I calculated the time difference between every two tach edges and plotted them all together.

Hypothesis: There are four edges per rotation. Maybe the edges are not spaced exactly 90° apart.

Here, I've colored the bands for the constant speed runs. You can see that the rising edges are in one set of bands and the falling edges are in the others. So that's solved.

Avui a la feina he estat manegant per substituir el que hauria estat un notebook #iPyhon (o #JupyterLab) per un document en #orgmode (d'#emacs, esclar).

Moltes de les comparatives que hi ha pels internets fan moltes històries. Jo no en demano cap cosa gaire complexa: combinar text, LaTeX i blocs de codi, normalment scripts poc òptims per acabar fent gràfiques, i poder-ho organitzar tot una mica bé.

Amb aquests requisits, org-mode serveix perfectament, com també em serviria un notebook de #jupyter.

Com a avantatge, funciona amb les dreceres de teclat habituals de la meva configuració. En el jupyter, tot i que hi ha un complement per emular vim, no acaba de funcionar igual.

Com a desavantatge, quan un bloc de codi falla no sempre ho fa mostrant l'error, mentre que al notebook si. És un inconvenient menor que resolc amb una comanda extra, tangle, després de la qual tinc tot l'entorn de debug que podria voler, però bueno, per dir alguna cosa dolenta.

Continued thread

Anyway, there's more to come. Now that I've gotten the raw trace buffers slurped in and sanitized and figured out how to plot them, I can start applying some filters. I also know exactly how noisy the tach signal is.

I won't speculate yet about the speed banding in the constant speed tests or the initial humps, but I do have thoughts...