I've just released MNELAB 1.0.4 (a GUI for MNE-Python, a package for analyzing EEG/MEG data), which now includes standalone installers for macOS and Windows:
github.com/cbrnr/mnelab
#EEG #Python
@cbrnr.bsky.social
I love Python, R, and Julia, and I combine their power to do neuroscience, EEG processing, machine learning, and applied statistics. I am currently working as a senior scientist at University of Graz, Austria. cbrnr.github.io · scholar.social/@cbrnr
I've just released MNELAB 1.0.4 (a GUI for MNE-Python, a package for analyzing EEG/MEG data), which now includes standalone installers for macOS and Windows:
github.com/cbrnr/mnelab
#EEG #Python
Newsflash: Fliegen kann man nicht billiger machen. Man kann nur erreichen, dass die, die fliegen, weniger zahlen. Die Schäden, die dadurch entstehen, müssen von allen anderen gezahlt werden.
Hätten wir Kostenwahrheit im Transport, würden wir längst hektisch Highspeed-Zugnetze bauen.
#rstats 4.5 now includes the `penguins` data frame! 🚀
16.04.2025 10:06 — 👍 1 🔁 1 💬 0 📌 0When installing #rstats on #macos, installing packages defaults to the system library. R won't use the user library (~/Library/R/arm64/4.5/library) unless I *manually* create it. On Linux and Windows, R creates this location automatically. Is this intentional? It feels unintuitive and inconsistent.
16.04.2025 10:04 — 👍 1 🔁 0 💬 0 📌 0Do you use #vscode? Have you ever wanted the Explorer view in the sidebar to just show all tracked files under version control? I made a feature request, give it a thumbs up if you think it would be useful!
github.com/microsoft/vs...
Buchempfehlung:
www.acityonmars.com
Die Autoren sind auch hier auf Bsky zu finden (ich tagge sie absichtlich nicht).
#Electron apps cannot be resized on #Wayland anymore, at least on #GNOME. Given that GNOME defaults to Wayland nowadays, I wonder why so few people experience this problem, since it affects VS Code, Signal, Discord, and so on. If you can help, please check out github.com/electron/ele.... #Linux
19.02.2025 13:40 — 👍 1 🔁 0 💬 0 📌 0Ja, ist mir schon vor einiger Zeit positiv aufgefallen! Jetzt fehlt nur mehr ein Mastodon-Account 😉.
10.02.2025 14:32 — 👍 1 🔁 0 💬 1 📌 0I'd say yes, because instantiating a project is instantaneous (if you've downloaded the packages before). However, there are alternatives, such as running just the script, or even `uvx python` (short for `uv tool run python`) for spawing a REPL. I'm still learning new things about uv every day too!
10.02.2025 12:12 — 👍 0 🔁 0 💬 0 📌 0Exactly! Alternatively, if you don't want to create a project, you can even include it in the script directly (see docs.astral.sh/uv/guides/sc...).
10.02.2025 11:19 — 👍 0 🔁 0 💬 1 📌 0And I also agree, maybe it's still too early times. IDE integration could also be much improved with native uv support for example!
10.02.2025 10:56 — 👍 0 🔁 0 💬 0 📌 0I guess my point is: uv is the greatest thing Python tooling has ever seen, but you cannot and should not expect it to work just like pip and venv!
10.02.2025 10:55 — 👍 0 🔁 0 💬 1 📌 0uv requires you to re-think many things you have gotten used to. It took me a while to wrap my head around. It doesn't work like pip, but you can (but probably shouldn't) use `uv pip` (e.g. you can `uv pip install` packages into the corresponding venv, which you can manually create with `uv venv`).
10.02.2025 10:54 — 👍 1 🔁 0 💬 2 📌 0Using the official installers is a good solution! But I don't think you should blame uv here, it sounds like an IDE-related issue. In VS Code, you can set the interpreter for a project, then it will use the venvby default (`python` works). Also, there is no global Python in uv (you don't need it).
10.02.2025 10:43 — 👍 1 🔁 0 💬 1 📌 0I think this is kind of the point, you should never have to think about environments. If you hate running `uv python`, then you can always activate the underlying venv to use `python`. Although I'd be interested to know what's bothering you.
10.02.2025 10:32 — 👍 0 🔁 0 💬 1 📌 0MNELAB, a GUI for #EEG/#MEG analysis in #Python, has reached the v1.0.0 milestone!
- UI improvements such as an improved sidebar
- Improved Montage dialog
- Improved Filter dialog
- A new dialog to inspect channel statistics
- Improved export to BrainVision format
github.com/cbrnr/mnelab
Python 3.13 currently has a known issue on Windows that prevents users from pasting code snippets containing indentation into the new REPL.
The Python development team is looking for someone with Windows expertise to help test a proposed fix: github.com/python/cpyth...
#Python #Windows #VSCode
Ja, vermutlich damit dann noch mehr Chalets in die Berge gebaut werden können...
13.01.2025 13:40 — 👍 1 🔁 0 💬 0 📌 0Does anyone else find it irritating that the default behavior of #RStats on #macOS installs packages to the system library instead of the user library?
I think the problem only occurs if the directory does not exist. If I manually create it, then everything works.
Is this a bug? Or is it just me?
Also, Excel cannot open more than one file with the same name, but in different folders, at the same time (at least on macOS).
10.12.2024 13:56 — 👍 2 🔁 0 💬 0 📌 0Here's my #AdventOfCode Day 6 solution in Julia:
github.com/cbrnr/aoc202...
Not optimized at all, so Part 2 takes a few seconds, but I'm quite happy with the solution.
#julialang
Naja, Grazer Radweg wäre es, wenn man da zwischen den Schienen fahren müsste und es nicht extra gekennzeichnet ist 😆.
09.12.2024 15:21 — 👍 1 🔁 1 💬 0 📌 0Here's my #AdventOfCode Day 5 solution in #Julia:
github.com/cbrnr/aoc202...
Nothing fancy to see here (no graph-related algorithms), just some nice function vectorizations made easy in Julia. In Part 2, I simply swap items for each incorrect rule until all the rules are satisfied.
Here's my #AdventOfCode Day 4 solution in #Julia:
github.com/cbrnr/aoc202...
Fairly straightforward and OG implementation I think, I'm just manually checking all directions in a matrix of chars.
Yeah, I guess (2) is the correct definition from a technical point of view (since methods are just callable attributes). But I still think of attributes vs methods, maybe because other languages make a clearer distinction.
03.12.2024 13:48 — 👍 1 🔁 0 💬 0 📌 0(1) for sure!
03.12.2024 13:16 — 👍 1 🔁 0 💬 1 📌 0Here's my #AdventOfCode Day 3 solution in #Julia:
github.com/cbrnr/aoc202...
Part 2 took me way too long, because I was trying to create a regex which only captures multiplications between "do()" and "don't".
It was easy when I did the opposite (searching for parts between "don't()" and "do()").
That's what I ended up doing as well, but I'm sure there's a super-optimized solution on Reddit (I haven't checked yet).
www.reddit.com/r/adventofco...
Here's my #AdventOfCode Day 2 solution in #Julia:
github.com/cbrnr/aoc202...
I used the `InvertedIndices` module, which allowed me to elegantly exclude a single element from a vector. For example, to subset a vector `x` without the third item:
x[Not(3)]
(This is equivalent to x[-3] in #RStats.)
Have you tried vscode.dev?
01.12.2024 14:46 — 👍 1 🔁 0 💬 1 📌 0