!hkWCiyhQyxiYJlUtKF:matrix.org

PlasmaPy

289 Members
Main room for PlasmaPy, the open-source plasma physics Python library25 Servers

Load older messages


SenderMessageTime
8 Feb 2023
@supersai007-54f76eac15522ed4b3dccf1c:gitter.imsupersai007 (K SAI RAM) joined the room.06:29:59
@junchiehwang-5fd91780d73408ce4ff69be8:gitter.imJunChiehWang (JunChiehWang) joined the room.06:29:59
@pheuer-606b65776da0373984795a70:gitter.impheuer (Peter Heuer) joined the room.06:30:00
17 Feb 2023
@wtbarnes:matrix.orgwtbarnesThis is only loosely related to plasmapy, but I have a more general question regarding the codespell configuration. When running codespell as part of pre-commit, how do you avoid codespell complaining about the ignored words in the pyproject.toml file? I have a project where I've configured codespell in my setup.cfg, but precommit fails because it finds the ignored words in ignored word list...which seems incredibly circular to me!20:23:43
22 Feb 2023
@namurphy:matrix.orgNick Murphy wtbarnes: that does sound strange! In the codespell config, there's a skip variable you can set which can be used to skip certain files. It might also be necessary or possible to specify which files should be skipped by the hook in .pre-commit-config.yaml. There's also a chance that there would be an error in the codespell configuration in pyproject.toml. 00:09:03
@namurphy:matrix.orgNick Murphy

Also, the last two Talk Python To Me podcasts have been pretty great!

The first one is on the Fusion Ignition Breakthrough and Python. The first half of the show covers the science, and the second half covers the Python aspects. PlasmaPy gets mentioned! (start about 49 minutes in)

The second one is on Clean Code in Python...one of my favorite topics! This episode expands on an article on tips for clean code in Python.

00:15:13
@wtbarnes:matrix.orgwtbarnes
In reply to @namurphy:matrix.org
wtbarnes: that does sound strange! In the codespell config, there's a skip variable you can set which can be used to skip certain files. It might also be necessary or possible to specify which files should be skipped by the hook in .pre-commit-config.yaml. There's also a chance that there would be an error in the codespell configuration in pyproject.toml.
It’s ok. I solved it. I had not put commas after each word in the skip-words-list.
01:15:18
@wtbarnes:matrix.orgwtbarnes
In reply to @namurphy:matrix.org

Also, the last two Talk Python To Me podcasts have been pretty great!

The first one is on the Fusion Ignition Breakthrough and Python. The first half of the show covers the science, and the second half covers the Python aspects. PlasmaPy gets mentioned! (start about 49 minutes in)

The second one is on Clean Code in Python...one of my favorite topics! This episode expands on an article on tips for clean code in Python.

I just recently listened to this one and meant to post in this channel about it. Very exciting!
01:15:59
26 Feb 2023
@ritiek:matrix.orgritiek set a profile picture.23:02:01
28 Feb 2023
@fedam:matrix.orgfedam joined the room.09:37:09
2 Mar 2023
@cadair:cadair.comCadair changed their profile picture.15:23:03
10 Mar 2023
@digitalextremist:matrix.org@digitalextremist:matrix.org left the room.17:45:45
23 Mar 2023
@namurphy:matrix.orgNick Murphy PlasmaPy can't yet run on Python 3.11 because we depend on Numba, and Numba hasn't made a release yet that's compatible with Python 3.11. It usually takes them a few months due to the difficulty of using it, but it's taking them a lot longer this time. But, from this issue it sounds like they're expecting to do a Numba pre-release in the next week or two, and hopefully a full release not too long after. So, we should be able to use PlasmaPy on Python 3.11 soon! 16:22:26
@wtbarnes:matrix.orgwtbarnesI think I’ve asked this before (maybe here or elsewhere) but would plasmapy consider implementing optional dependencies to alleviate levying a numba dependency against libraries that depend on parts of plasmapy that don’t use numba?20:33:42
@namurphy:matrix.orgNick Murphy At the moment we use Numba within some of our formulary functions like plasma_frequency and thermal_speed, since we needed fast versions for some applications (charged particle radiography or thomson fitting, iirc), so it's a little hard to call it optional. We've been thinking about using Cython instead of Numba to get the best of both worlds. 21:05:52
@cadair:cadair.comCadairHow complex are the functions?21:27:35
@cadair:cadair.comCadairCython is probably the best choice21:27:50
@cadair:cadair.comCadairAlthough you could get froody and use rust :p21:28:01
@namurphy:matrix.orgNick MurphyThey're pretty straightforward functions...and you're not the first to suggest we use Rust!21:28:36
@namurphy:matrix.orgNick MurphyBut yeah, we should turn the Cython up to 1121:28:54
@cadair:cadair.comCadairThe tooling is there, but I don't think it's worth it for a couple of easy ish numerical functions.21:29:53
@cadair:cadair.comCadairCython is just so rock solid21:30:03
@wtbarnes:matrix.orgwtbarnes
In reply to @namurphy:matrix.org
At the moment we use Numba within some of our formulary functions like plasma_frequency and thermal_speed, since we needed fast versions for some applications (charged particle radiography or thomson fitting, iirc), so it's a little hard to call it optional. We've been thinking about using Cython instead of Numba to get the best of both worlds.
Ah fair enough. Obviously I’m very biased in my specific request. Haha.
21:41:01
6 Apr 2023
@namurphy:matrix.orgNick Murphy We will be having shorter PlasmaPy office hours today, most likely from 3:30–4 pm EDT. (We usually have virtual office hours from 3-4 pm EDT on Thursdays, so today will be a half an hour late.) 14:29:41
7 Apr 2023
@roger_bigboss:matrix.orgKS joined the room.05:21:02
17 Apr 2023
@namurphy:matrix.orgNick Murphy We won't be having PlasmaPy office hours this week since I'll be heading to PyCon US! If anyone is heading there I'd be happy to meet up! Videos from PyCon will be put online for anyone to watch afterwards, in case anything in the schedule looks particularly awesome. 19:03:42
2 May 2023
@amedj:matrix.orgringo bada joined the room.18:46:53
10 May 2023
@namurphy:matrix.orgNick MurphyIt's looking like we'll be releasing PlasmaPy v2023.5.0 during the week of May 22! 19:50:43
@namurphy:matrix.orgNick MurphyAlso we won't be having any PlasmaPy meetings or office hours next week (May 15–19).19:52:00
22 May 2023
@b33p:matrix.orgb33p changed their profile picture.18:49:02

Show newer messages


Back to Room ListRoom Version: