@jamescooke@fosstodon.org
@jamescooke@fosstodon.org avatar

jamescooke

@jamescooke@fosstodon.org

Python developer working with data and royalties at Mixcloud.

Lover of testing and linting. User of Linux.

Author of https://github.com/jamescooke/flake8-aaa

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

jamescooke, to random
@jamescooke@fosstodon.org avatar

So this week I was feeling a bit down reading my timeline - so I made the following tweaks:

  1. Muted some accounts that “bomb” hashtags I follow.
  2. Turned off retoots from some accounts I follow.
  3. Went to bed an hour early three nights in a row.
    Everything was much better afterwards 😊
jamescooke,
@jamescooke@fosstodon.org avatar

@Anachron Thanks 😊

That bot’s a good idea too - I’ll give that a try. 👍🏻

jamescooke,
@jamescooke@fosstodon.org avatar

@roygreenhilt Wow that feature sounds great - but I don’t seem to have it in my Toot! app. 😞

jamescooke,
@jamescooke@fosstodon.org avatar

@roygreenhilt Got it - there's "duration" field on web! I did not know that! Thanks.

markwalker, to random
@markwalker@fosstodon.org avatar

Started looking at this profanity checker which intrigues me. I've never really got into machine learning so training models etc. doesn't really make sense to me.

But it seems the data it "learns" from is a csv with a column that dictates if something is offensive. And we've got a database table of things people have put a good/bad rating against. So I could export that data and add it to the source data to make it learn what we're calling offensive as well 🤔

https://github.com/dimitrismistriotis/alt-profanity-check

jamescooke,
@jamescooke@fosstodon.org avatar

@markwalker “offensive.csv” Offensive clauses in an offensive format 👌🏻

jamescooke,
@jamescooke@fosstodon.org avatar

@markwalker so_good.gif 😎👌🏻

davep, to random
@davep@fosstodon.org avatar

You’ve got to love it when someone turns up on your Discord server and rants at length about how everything with your project is wrong. 😄

Like… okay, now what are you going to do with your life?

jamescooke,
@jamescooke@fosstodon.org avatar

@davep Oh sorry - you didn’t want constructive feedback?! I bet they didn’t even bill you for it!! You should be gratefullll! /s

😬😬😬

jamescooke, to python
@jamescooke@fosstodon.org avatar

🧠 A new-new v2 tool where it walks me through the decision tree to help me choose between:

  • Enum
  • Data Class
  • NamedTuple
  • TypedDict
jamescooke,
@jamescooke@fosstodon.org avatar

... and it can be run against a codebase so that it "fixes" all those ones that should have been the other.

jamescooke, (edited ) to python
@jamescooke@fosstodon.org avatar

🧠 A new tool where I:

1. pick my Python version 👈 Edit: Don't need this actually (thanks @orsinium)

  1. type in what I want

... And it tells me if I should be using an Enum, Dataclass or NamedTuple 😬 or even installing attrs and using that.

jamescooke,
@jamescooke@fosstodon.org avatar

@orsinium 3.6 and 3.7 are gone fam 🔥 . I know that everything is supported.

jamescooke,
@jamescooke@fosstodon.org avatar

@geraldew Maybe the new 🧠 tool can consult this index and look at my requirements and give a definitive answer like:

"Use a DICT" 😂

jamescooke,
@jamescooke@fosstodon.org avatar

@orsinium I'm not really concerned about compatibility. My hope was for the 🧠 tool to tell me what the "best practice" would be for a particular scenario.

Another way to put it - what's the decision tree for picking between Enum, DataClass and NamedTuple? ... WAIT OR TypedDict?! 🤕

cc @geraldew

jamescooke, to random
@jamescooke@fosstodon.org avatar

New version of is out 🛩️

No features provided in this new version 0.16.0... Just support dropped for Python 3.7 😅

https://github.com/jamescooke/flake8-aaa

jamescooke,
@jamescooke@fosstodon.org avatar

I often ponder the "ethics" of doing a no-op release like this just to remove something. On the plus side, I think even if it means a chance to bump docs and link to last supported versions, then that's probably a good thing.

https://flake8-aaa.readthedocs.io/en/stable/compatibility.html#previous-python-versions

jamescooke, (edited ) to random
@jamescooke@fosstodon.org avatar

Mastodon question: Is there a way to follow hashtags, but only get “new“ posts and not replies?

Stark9837, to Youtube
@Stark9837@techhub.social avatar

Are there any good #Youtube creators with short - and medium-length content about #Dwarffortress?

I just love #Rimworld and probably have 500 hours in it, but only playing Dwarffortress since the #Steam release, I am really struggling to get into it, simply due to struggling with the mechanics

I think I just need to watch some good and entertaining gameplay where some things are just explained in more depth.

#gaming #PCgaming

jamescooke,
@jamescooke@fosstodon.org avatar

@Stark9837 Kruggsmash makes amazing DF content IMO. He really captures the story-telling and puts flesh on the bones of the text-based view that I was used to playing almost a decade ago.

I don’t have time to play the game any more 😞 but I still watch these videos 😊

https://www.youtube.com/c/kruggsmash

jamescooke,
@jamescooke@fosstodon.org avatar

@Stark9837 In my limited experience, Dwarf Fortress “!!FUN!!” makes the story telling, embarks and world building come to life.

!!FUN!! (I’m just clarifying because I’ve not seen it called this on here) would be the term we’d use for all types of troubled failure in DF…

  • Tantrum spiral causes bloodbath !!FUN!!
  • Ran out of drinks in Year 2 !!FUN!!
  • Some beast walks in and kills everyone !!FUN!!

All this would usually cause end of game and try again…

jamescooke,
@jamescooke@fosstodon.org avatar

@Stark9837 All this meant playing quite a few games - mainly without much thought to embark location.

So what I’m saying is - and I think this is still relevant with the newer versions and newer world generation algos - keep making new forts, trying new things and those embarkation strategies will develop.

And personally, I never developed much strategy apart from: avoid aquifer. And then regret everything later. 😬😬😬

jamescooke,
@jamescooke@fosstodon.org avatar

@Stark9837 As someone who’s never conquered an aquifer, I salute you 🫡

I hope your DF journey is long and fruitful and you post your dwarfen family heirlooms under the Dwarf Fortress hashtag so I can admire them 🙏🏻

sotneStatue, to linux
@sotneStatue@fosstodon.org avatar

deleted_by_author

  • Loading...
  • jamescooke,
    @jamescooke@fosstodon.org avatar

    @sotneStatue If it could just be a bit kinder when it delivers the challenges, that’d be great. Like - could it do it when I’m well rested and not stressed out from other deadlines?!

    Is that a feature that could be requested? 🙏🏻

    jamescooke, to random
    @jamescooke@fosstodon.org avatar

    @jonty Are you aware of this brilliant zine? https://www.alchemistowl.org/pocorgtfo/

    I started with the latest issue when I found it last night - software, hardware, phone systems, embedded systems… so much goodness 🤓

    jamescooke,
    @jamescooke@fosstodon.org avatar

    @jonty Oh wow 👍🏻

    jamescooke, to random
    @jamescooke@fosstodon.org avatar

    Rewriting wc to use a state machine… the “How do they implement WC?” article in the latest issue of “International Journal of Proof-of-Concept or Get The Fuck Out” Is really interesting.

    https://www.alchemistowl.org/pocorgtfo/pocorgtfo21.pdf

    Especially interesting were comparisons between Apache and Nginx.

    Also the article that describes IP over IP is next level 🤓

    Via @tw0flower cc @kelbot

    jamescooke, to random
    @jamescooke@fosstodon.org avatar

    Apparently I need to download a firmware update for my toothbrush!

    WTF I feel old 😬

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