HackerTrans
TopNewTrendsCommentsPastAskShowJobs

captnswing

no profile record

comments

captnswing
·w zeszłym roku·discuss
[flagged]
captnswing
·w zeszłym roku·discuss
Extremely interesting presentation from Charlie Marsh about all the optimizations https://youtu.be/gSKTfG1GXYQ?si=CTc2EwQptMmKxBwG
captnswing
·w zeszłym roku·discuss
https://www.pyinvoke.org/
captnswing
·3 lata temu·discuss
this ^
captnswing
·3 lata temu·discuss
ruff is the ticket. it replaced isort, flake8 for me, never looked back
captnswing
·4 lata temu·discuss
yes it does. see see https://github.com/charliermarsh/ruff#supported-rules for the rules it supports. "IOO1" being the code for isort

relevant section from my pyproject.toml

  [tool.ruff]
  line-length = 88
  # pyflakes, pycodestyle, isort
  select = ["F", "E", "W", "I001"]
captnswing
·4 lata temu·discuss
+100 on ruff.

replaced both flake8 and isort across all my projects
captnswing
·4 lata temu·discuss
I miss the customer in this. I've given the same advice in this format

Customer > Company

Company > Team

Team > Self
captnswing
·4 lata temu·discuss
On a Mac, for ad-hoc OCR, I use the immensely useful CleanShot X https://cleanshot.com/ (which is well worth paying for).

Among many other things, it offes OCR of any region on the screen

for larger-scale OCR processing of pdfs and other files, I love how s3-ocr https://simonwillison.net/2022/Jun/30/s3-ocr/ makes working with AWS Textract OCR more accessible (though, somehow, Textract refuses to fully OCR larger pdfs I possess..)
captnswing
·4 lata temu·discuss
Agree, except: friends, don't let friends use Selenium.

use PlayWright!!
captnswing
·4 lata temu·discuss
back in the days, I really liked https://malsup.com/jquery/taconite/, which had a similar approach (but using xml snippets sent from server over ajax)
captnswing
·4 lata temu·discuss
Henrik Kniberg recorded this fun 5min video a long time ago, about the relation between "utilization" and "flow" and how to optimize for both.

I keep showing that to people, never gets old https://www.youtube.com/watch?v=CostXs2p6r0
captnswing
·4 lata temu·discuss
Playwright is amazing
captnswing
·4 lata temu·discuss
how did you compute this table? with some kind of library/tool?