Posts

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

jamescooke, to random
@jamescooke@fosstodon.org avatar

Have been experimenting with pyproject-fmt and it's pretty nice 👌

https://pyproject-fmt.readthedocs.io/en/stable/

jamescooke,
@jamescooke@fosstodon.org avatar

Even nicer - I'd found an inconsistency with how it was applying formatting to the list of scripts... Calling pyproject-fmt --check on a file that had just been formatted by pyproject-fmt would cause an error.

However, it looks like that bug was already covered and fixed here 🙌

https://github.com/tox-dev/pyproject-fmt/issues/201

jamescooke, to random
@jamescooke@fosstodon.org avatar

When I was a kid I read the entire MSDOS manual that came with my dad's Amstrad PC1512.

These days I don't even get to the bottom of a single man page 😬

deshipu,
@deshipu@fosstodon.org avatar

@jamescooke My Amstrad PC 1512 came with MS DOS 3.2 and Digital Research DOS Plus, on colorful diskettes, so that MS DOS 4.0 was probably a separate purchase?

jamescooke,
@jamescooke@fosstodon.org avatar

@deshipu Yeah that’s totally possible.

I’m remembering helping my dad fit a maths coprocessor to the PC 1512 - maybe he upgraded to MSDOS 4 at that stage 🤔

jamescooke, to random
@jamescooke@fosstodon.org avatar

In my efforts to stay at least 5 years behind the curve, I've just installed fd as a replacement to find and it's amazingly fast.

As a result of it automatically ignoring ".gitignored" directories, search is now much quicker and condensed - plus I've wired it all into #fzf , which has made that even faster 😍

https://github.com/sharkdp/fd

jamescooke, to random
@jamescooke@fosstodon.org avatar

Kids sleeping - time for some catch up "work work" so that the team can run monthly reports tomorrow.

jamescooke, to random
@jamescooke@fosstodon.org avatar

Currently wiring pyproject-fmt into my hledger-adjacent bank statement loader project while child[1] naps... So nice to enforce a format on what's usually a file of TOtal Mess 👌

https://pyproject-fmt.readthedocs.io/en/latest/

jamescooke, to random
@jamescooke@fosstodon.org avatar

Definitely feeling like I'm doing a lot of "glue work" at the moment.

https://noidea.dog/glue

jamescooke,
@jamescooke@fosstodon.org avatar

And I re-found that phrase and talk using Marginalia search, which I'm loving at the moment.

https://search.marginalia.nu/search

underlap,
@underlap@fosstodon.org avatar

@jamescooke Interesting article, if rather verbose. Certainly a good idea not to paint yourself into a corner when it comes to software career decisions.

jamescooke, to random
@jamescooke@fosstodon.org avatar

Three weeks ago I tooted complaining about Linear and saying that Shortcut's epics were better than anything Linear had.

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

Today, I log into Linear and find they've released a Project Overview pane which, basically, creates a space where we can create Shortcut-like epics. An entire space in Linear to contain the "why" of how the tickets in a project have been structured 🙏

https://linear.app/changelog/2024-05-02-the-next-generation-of-linear-projects

This is good 😊

#linearapp

jamescooke, to random
@jamescooke@fosstodon.org avatar

Note to self: probably not a good idea to try and explain a data processing race condition using an animated gdocs presentation slide 😬

jamescooke, to random
@jamescooke@fosstodon.org avatar

Seems a shame to turn off fzf-tmux in bash, but I can't get into building a new tmux to get to some version >= 3.2 (I'm "stuck" on version 3.0a which ships with Ubuntu).

In exchange, I can fully upgrade #fzf past version 0.46.0 and get new, faster shiny stuff 🤩

Here's the related issue: https://github.com/junegunn/fzf/issues/3635

adamchainz,
@adamchainz@fosstodon.org avatar

@jamescooke Default if you bother to set them up. Maybe I will now :)

Use within vim is cool.

jamescooke,
@jamescooke@fosstodon.org avatar

@adamchainz I did so little to set them up I had to redocument them for myself yesterday 😬

Given I've got fzf set up as both a package and a vim plugin: https://github.com/jamescooke/dotfiles/blob/master/store/.vimrc#L9

Then installing the fzf package from vim does ~/.fzf/install --all which "Just Works ™️ " - vim installs fzf for bash and makes the keybindings work 🙈

jamescooke, to random
@jamescooke@fosstodon.org avatar

One of the benefits of writing factories to generate realistic data for your test suite: You learn more about the data your software is consuming.

If writing a realistic factory is "hard", then that's a good measure that the data your code is going to consume is complex and boggy... which it almost always is.

jamescooke, to random
@jamescooke@fosstodon.org avatar

Q: How much code can I get done before child[1].get_state() == AWAKE ?

A: Not much if I just trawl masto and don't actually concentrate! 😬

jamescooke, to mastodon
@jamescooke@fosstodon.org avatar

My wish is for a mastodon historical search tool that can:

  • Help me find my previous toots using free text search.
  • Show a timeline of interaction (follows, mentions, favourites, etc) between my account and another account.

Should I be installing a desktop client to get this kind of functionality?

jamescooke, to random
@jamescooke@fosstodon.org avatar

Here's a smell that your Big Query query ain't that big - lots of 1 row tables getting used to load config-like values, which are then used for JOINs later.

So much cruft to clean up 😥 .

My brain says: - maybe couldda just done it in a PAndAs?! Let's definitely not learn about CTEs right?! 😬

adamchainz,
@adamchainz@fosstodon.org avatar

@jamescooke “Go Big or go DataFrame”

Good luck with the migration!

jamescooke,
@jamescooke@fosstodon.org avatar

@adamchainz I like this phrase very much and I’m going to keep it and reuse it. ☺️

Last year we started migrating not-big things into DataFrame-driven tasks and it’s gone very well. Quicker tests and fewer test failures have been immediate wins.

However, these 1-row config-like tables aren’t going into Pandas… we’ll template their values into the BQ queries that need them, the way it should have been done in the first place.

jamescooke, to random
@jamescooke@fosstodon.org avatar

Registration for my personal .info domain now costs five times that of our family .uk domain.

I’ve had jamescooke.info since 2003 and mainly used it for hosting email. It seems like it would be annoying to move it to a cheaper .uk domain, but, maybe worth it in the long run 🤔

jamescooke,
@jamescooke@fosstodon.org avatar

@jonathanmatthews Thanks. I’ve recently moved from Joker to @beasts .

I don’t know much about domain pricing, but doesn’t the TLD’s registry control or set a base price?

jamescooke,
@jamescooke@fosstodon.org avatar

Struggling to find the data, which is a shame. 😔

I wish that 20-something me had been as organised (aka boring) as 40-something me is now. Although Future-Me might yet think I’m doing a terrible job now. 😳

jamescooke, to random
@jamescooke@fosstodon.org avatar

"Just write a big Big Query query"

😬

ps. with some JavaScript thrown in 👌

adamchainz,
@adamchainz@fosstodon.org avatar

@jamescooke I query big Big Query queries, big time.

jamescooke,
@jamescooke@fosstodon.org avatar

@adamchainz You're just trying to annoy me bigly. Everyone knows the outputs of those big Big Query queries go into big Big Table tables 👌

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