1
🧹📈 Immaculate Grid #83 (www.immaculategrid.com)

How to Play

  • Select a player for each cell that matches the criteria for that cell's row and column

  • For a player to be considered valid for a team, he must've played at least one game for that team at the MLB level

  • If a cell is for a team and an award, the player you select must have won that award while on that team

  • If a cell is for a team and a season stat, the player you select must have recorded that stat while on that team

  • If you select a player for a cell with a rate stat (AVG, ERA, etc.), that player must've accumulated that stat in a completed season

1
submitted 2 years ago* (last edited 2 years ago) by jnovinger@programming.dev to c/baseball@fanaticus.social
1
submitted 2 years ago* (last edited 2 years ago) by jnovinger@programming.dev to c/devops@programming.dev

cross-posted from: https://programming.dev/post/196935

To be clear, this isn't my project. Just cross-posting the author's post from !python@programming.dev .

Sometimes unused class or function manages to slip into code base. Static code checkers like ruff, flake8 does not have rules for detecting such globally unused code.

I tried using vulture, but it has too many false positives to have it as part of CI/CD pipeline.

I have tried to implement my own, more reliable check for global deadcode detection.

Please let me know what you think about it.

1

⚠ Proceed with caution when using this on production like workloads. Best to try on similar setup or staging like environment first. Read on below for some examples and caveats.

1
1
SQL Murder Mystery (mystery.knightlab.com)

Can you find out whodunnit?

1
1
2
4

😻

1
Git - Git Aliases (git-scm.com)

My favorite is git h, which produces a nicely summarized log of commits on the current branch, with some highlighting and relative dates:

[alias]
    h = log --graph  --abbrev-commit --date=relative --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset'

What's your favorite Git alias?

1

Cross-posting this from !sql@programming.dev

view more: ‹ prev next ›

jnovinger

0 post score
0 comment score
joined 2 years ago
MODERATOR OF