stefanv

@stefanv@emacs.ch

Researcher at UC Berkeley, mainly focused on Scientific Python. South African raising kids in the Californian mountains. Otherwise lives in Emacs & org-mode. Enjoys running, philosophy, history, and building things with others.

This profile is from a federated server and may be incomplete. Browse more on the original instance.

stefanv, to random

Loving this sunpy eclipse image processing demo: great example of how libraries in the @scientific_python ecosystem work together!

https://sunpy.org/posts/2024/2024-04-03-eclipse.html

#skimage

lavergnetho, to opensource

Is / -mentoring a thing?

One does not contribute to the development of the research or the software itself, but one helps others that don't know how this is done with the Open'ing aspects.

Of course, I know that there are several online resources for learning, but what beats a mentor who dedicates some if his/her time?

😅

@pyOpenSci @scientific_python @turingway ?

stefanv,

@lavergnetho @pyOpenSci @scientific_python @turingway I suppose the best mentors are those in the trenches; unfortunately, they are also heavily oversubscribed. Mentorship is inherent to the contributing process; the team helps newcomers to incorporate their changes into the project, and the skills transferred are often passed forward in a similar manner. Many projects in the ecosystem also participate in more targeted annual programs, such as and .

shinmera, to Lisp
@shinmera@tymoon.eu avatar

The most annoying thing about the "common #lisp community" by far is how often the same shit topics are repeated forever and ever:

  • "why are there multiple namespaces"
  • "why isn't lisp popular"
  • "why isn't there a new standard"
  • "why isn't blub feature in X impl"

It honestly makes me want to never participate in "the community" anymore

stefanv,

@louis @shinmera @craigbro Speaking of FAQs:

Python has the notion that "there should be one obvious way to do something". Of course, it doesn't go that way in practice, but it's a helpful ideal.

In lisp there are so many ways of accomplishing the same thing, that it is quite overwhelming to newcomers. An opinionated guide would be very helpful.

Even re: interpreter, if you said: "just start with sbcl, and consider x, y, and z if you want these features", it would at least allow newcomers to start somewhere.

Here's the closest thing I know of for emacs lisp:

https://github.com/alphapapa/emacs-package-dev-handbook

ctietze, to emacs
@ctietze@mastodon.social avatar

and users, have you figured out a way to tweak merge conflict/diff views so that the versions have more meaningful names?

E.g. merging foo into master, showing labels like "changes to be applied from foo" and "base from master" would be amazing.

stefanv,

@ctietze This would be convenient, but I'm not highly optimistic:

From git's source, xmerge.c:

        memset(dest + size, '<', marker_size);<br></br>        size += marker_size;<br></br>        if (marker1_size) {<br></br>            dest[size] = ' ';<br></br>            memcpy(dest + size + 1, name1, marker1_size - 1);<br></br>            size += marker1_size;<br></br>        }<br></br>

However, perhaps

git config --global merge.conflictStyle diff3<br></br>

helps a little bit?

https://magit.vc/manual/magit/Resolving-Conflicts.html

stefanv,

@ctietze And, if you're willing to use an external merge tool:

[merge]<br></br>    tool = meld<br></br>

https://meldmerge.org/
https://git-scm.com/docs/git-mergetool

stefanv,

@ctietze Maybe two sticky notes, one on each side of the screen 😅

stefanv,

@ctietze 😂 Presumably, they don't jump around (or do they?!). Here's what you see when enabling 3-way merge.

I made the file, modified it in two branches (A and B), merged A onto main, then tried to merge B onto main.

I see the filenames include LOCAL and REMOTE, which also provides a hint.

stefanv,

@ctietze Nice, thanks! Please keep me in the loop, and feel free to tag me on related issues / patches.

stefanv, to linux

Finally got around to configuring the fingerprint reader in my @frameworkcomputer and it wasn't too hard.

https://mentat.za.net/blog/2024/01/31/linux-fingerprint-reader/

#framework #linux #fedora #swaywm

stefanv, to random

Open source development can be humbling. You've been doing this for many years, and then you get stuck on a problem. A passer-by, unfamiliar with your project, comes along and proposes a correct and elegant solution. Thank you, stranger, for your time, for your contribution, and for the lesson 🙏 #scientificpython

hynek, to python
@hynek@mastodon.social avatar

It now takes more than 200 MILLION monthly downloads to be in the PyPI top 20. 🤯 #Python

stefanv,

@hynek @jni (2), (4), (5), (6), (8), (9), (10), (14), (15), (16) all seem like reasonable future "batteries" for the standard library?

stefanv, to random

It's no secret that I'm a big fan of Exercism—a fun, non-profit-built platform for improving programming skills.

It's equally great for beginners learning their first language, and for experienced programmers keen to see what ideas unfamiliar languages offer.

Check out this year's challenge, 48in24! https://exercism.org/challenges/48in24

brettcannon, to random
@brettcannon@fosstodon.org avatar

Any recommendations on a baby monitor that does audio and video?

I'm assuming this crowd has parents that don't want a security hole in their child's nursery and thus already did the research for me. 😉

stefanv,

@brettcannon If you have an old Android phone lying around, this app lets you do a peer-to-peer connection: https://play.google.com/store/apps/details?id=com.papenmeier.wifibabymonitor&hl=en_US&gl=US

Other than that, we've only ever done audio. I don't trust hardware manufacturers to keep data that leave the network safe.

stefanv, to random

https://framatalk.org (hosted Jitsi video chat) works incredibly well as a privacy-aware alternative to Zoom. No login required. Thanks https://mstdn.social/@Framasoft@framapiaf.org!

gvwilson, to random
@gvwilson@mastodon.social avatar

Looking for a build tool for use in examples for early-stage Python programmers that supports chained file dependencies and parameterized build rules (like classic Make), uses pure Python syntax for build files (so not Snakemake), and is actively maintained (so not a lot of things). Invoke (https://www.pyinvoke.org/) doesn't seem to do file deps out of the box; is doit (https://pydoit.org/) the best option for this audience and use case? thx

stefanv,

@gvwilson The requirement to use Python syntax is interesting; some static build specification formats are much simpler to understand than Python. A "best of both worlds" (worst of both worlds?!) approach could be ninja. You use the Python ninja script generator (https://github.com/ninja-build/ninja/blob/master/misc/ninja_syntax.py, see Writer class) to generate a ninja build file. Unfortunately, it requires a level of indirection, which is not ideal for beginners.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • anitta
  • InstantRegret
  • mdbf
  • ngwrru68w68
  • magazineikmin
  • thenastyranch
  • rosin
  • khanakhh
  • osvaldo12
  • Youngstown
  • slotface
  • Durango
  • kavyap
  • DreamBathrooms
  • JUstTest
  • tacticalgear
  • ethstaker
  • provamag3
  • cisconetworking
  • tester
  • GTA5RPClips
  • cubers
  • everett
  • modclub
  • megavids
  • normalnudes
  • Leos
  • lostlight
  • All magazines