Toots for jamescooke@fosstodon.org account

Written by James C :python: on 2025-02-03 at 11:26

A year of contributions on my private #forgejo instance. 12 repositories running on a raspberry pi 3. Definitely one of my favourite bits of tech right now.

=> View attached media

=> More informations about this toot | View the thread

Written by James C :python: on 2025-01-31 at 12:09

Here's an article I continue to refer back to regarding data team responsibilities and work within an org...

https://locallyoptimistic.com/post/building-more-effective-data-teams-using-the-jtbd-framework/

Would love to read more like this if any #DataEngineering or #DataScience folks have more / similar articles please share ๐Ÿ™

=> More informations about this toot | View the thread

Written by James C :python: on 2025-01-14 at 16:41

TIL typing.Callable and typing.Iterator are deprecated in Python.

https://docs.python.org/3/library/typing.html#typing.Callable

https://docs.python.org/3/library/typing.html#typing.Iterator

Go straight to the well with collections.abc.Callable and Iterator. ๐Ÿง 

[#]Python

=> More informations about this toot | View the thread

Written by James C :python: on 2025-01-05 at 12:45

Does anyone know of a tab completion widget for Textual?

Thereโ€™s a list of about 50 account names and Iโ€™d like to be able to have tab completion on the account field of the "new payee" dialog using that list.

Iโ€™ve already tried the Select built in widget, but it was too strict and inefficient, so Iโ€™m looking for something where I can type a couple of characters and then tab complete to the account name I want.

cc @davep cc #textual

=> More informations about this toot | View the thread

Written by James C :python: on 2024-12-20 at 11:58

Still impressing me that when I want to quickly hack something in the shell, I can get uv to run iPython with any extra packages installed with a one liner...

uv tool run --with ftfy ipython

This time it was a mojibake issue and I needed FTFY: https://github.com/rspeer/python-ftfy/

=> More informations about this toot | View the thread

Written by James C :python: on 2024-12-16 at 17:10

Question for the #ansible hive mind: Is there a "uv tool" equivalent of the community general pipx module?

https://docs.ansible.com/ansible/latest/collections/community/general/pipx_module.html

Iโ€™d like to be able to have a list of command line tools managed by "uv tool", triggered by ansible.

[#]UV cc @alex

=> More informations about this toot | View the thread

Written by James C :python: on 2024-12-05 at 17:24

Oh and big shout out to interviewers that use this kind of knowledge-based question to clear out candidates that "don't know what they're talking about".

Ironic clap ๐Ÿ‘

=> More informations about this toot | View the thread

Written by James C :python: on 2024-12-05 at 17:16

Bash - I've used it since 1998 and still can't remember stderr redirection "2>&1".

On the plus side, I can now remember how to do markdown links (which has taken me about 8 years to get into my head), so there's hope for me yet.

=> More informations about this toot | View the thread

Written by James C :python: on 2024-12-02 at 23:22

The issue of creating an interface for Python code to call uv is one of the most interesting features of this new tooling that I've run into so far: https://github.com/astral-sh/uv/issues/3190

[#]uv #Python

=> More informations about this toot | View the thread

Written by James C :python: on 2024-12-02 at 22:28

Nice one @alex for getting this feature into uv so quickly https://github.com/astral-sh/uv/pull/9557 ๐Ÿ‘ - and @charliermarsh for the quick review too ๐Ÿ‘Œ

=> More informations about this toot | View the thread

Written by James C :python: on 2024-11-28 at 10:20

Question for the #Ansible hive mind: "What's the current state of using Ansible with uv?"

I'm thinking about:

I'd really like to avoid tainting the host's system Python environment with packages required by Ansible runbooks.

So far I've only found @alex 's uv package on Galaxy: https://galaxy.ansible.com/ui/repo/published/moreati/uv/

All pointers very welcome - otherwise my hacks will become a blog post!

=> More informations about this toot | View the thread

Written by James C :python: on 2024-11-20 at 19:44

Have referred to this multiple times this week, and itโ€™s only Wednesday ๐Ÿ˜ฌ

https://fosstodon.org/@allendowney/113504977162142555

=> More informations about this toot | View the thread

Written by James C :python: on 2024-11-17 at 16:14

After completing a complicated build with child[0], was checking the viability of sorting all our small #Lego plates by their number of surface knobs. These are our remaining "small plates" - plates with both dimensions between 2 and 5 knobs inclusive.

=> View attached media

=> More informations about this toot | View the thread

Written by James C :python: on 2024-11-17 at 11:48

Am loving the Rpi Zero 2. So quick for a machine thatโ€™s less than ยฃ20 including postage and packaging ๐Ÿฅน

=> More informations about this toot | View the thread

Written by James C :python: on 2024-11-15 at 11:18

"Mastodon is a prehistoric elephant" lol

via https://www.theguardian.com/commentisfree/picture/2024/nov/15/leaving-twitter-here-are-some-alternatives-to-checking-an-online-nazi-bot-sewer-every-20-minutes

[#]Mastodon

=> View attached media

=> More informations about this toot | View the thread

Written by James C :python: on 2024-11-14 at 13:49

First world data analysis problems ๐Ÿ˜…

[#]marimo

=> View attached media

=> More informations about this toot | View the thread

Written by James C :python: on 2024-11-07 at 22:13

When is 0 not 0? When SymPy made it into an instance of its special Zero class of course! ๐Ÿ˜…

[#]Python

=> View attached media

=> More informations about this toot | View the thread

Written by James C :python: on 2024-11-05 at 19:18

RIP my super helpful dongle thingy gifted by @judy2k at a random conference...

https://fosstodon.org/@jamescooke/112577208873669741

Lesson: Don't allow the youngest in the house to play with the most useful thing in the house ๐Ÿ˜ฌ

=> More informations about this toot | View the thread

Written by James C :python: on 2024-11-05 at 15:25

My 2020 MacBook Pro keeps me nice and warm in my newly insulated office - it's the only heater I need ๐Ÿ˜Š

=> More informations about this toot | View the thread

Written by James C :python: on 2024-11-04 at 19:17

Am pretty sure my #Omnivore replacement is going to be a self hosted instance of Readeck, backed up with restic.

See @readeck and @restic .

=> More informations about this toot | View the thread

=> This profile with reblog | Go to jamescooke@fosstodon.org account

Proxy Information
Original URL
gemini://mastogem.picasoft.net/profile/109524406375736382
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
377.891994 milliseconds
Gemini-to-HTML Time
8.155179 milliseconds

This content has been proxied by September (3851b).