Better HN
topnewbestaskshowjobs
Log inSign up

captnswing

62 karma · joined Jun 22, 2012 (14y ago) · 26 submissions

Submissions

comment 1y ago · link · parent

Extremely interesting presentation from Charlie Marsh about all the optimizations https://youtu.be/gSKTfG1GXYQ?si=CTc2EwQptMmKxBwG

comment 1y ago · link · parent

https://www.pyinvoke.org/

comment 3y ago · link · parent

this ^

comment 3y ago · link · parent

ruff is the ticket. it replaced isort, flake8 for me, never looked back

comment 3y ago · link · parent

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"]

comment 3y ago · link · parent

+100 on ruff.

replaced both flake8 and isort across all my projects

comment 3y ago · link · parent

I miss the customer in this. I've given the same advice in this format

Customer > Company

Company > Team

Team > Self

comment 4y ago · link · parent

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..)

comment 4y ago · link · parent

Agree, except: friends, don't let friends use Selenium.

use PlayWright!!

comment 4y ago · link · parent

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)

comment 4y ago · link · parent

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

comment 4y ago · link · parent

Playwright is amazing

comment 4y ago · link · parent

how did you compute this table? with some kind of library/tool?

comment 6y ago · link · parent

I agree! I found this presentation invaluable in getting a good overview of the landscape and the different segments within: https://www.youtube.com/watch?v=FytuB8nFHPQ

It helped me settle on https://altair-viz.github.io/ (coming from matplotlib) and I never looked back

comment 6y ago · link · parent

by downloading the pdf, will my iphone get infected? :)

comment 7y ago · link · parent

Similar to Google's Dataprep https://cloud.google.com/dataprep/ (not free)

And there's openrefine http://openrefine.org/

comment 9y ago · link · parent

Seems similar to http://openrefine.org/

comment 11y ago · link · parent

There's also the corresponding "Good Engineer, Bad Engineer" which I like

http://www.chrispliakas.com/2015/01/22/good-engineer-bad-eng...

comment 11y ago · link · parent

check out George Dyson's great book of the same title that covers Butlers' essay in detail

Very recommended reading

http://www.amazon.com/Darwin-Among-The-Machines-Intelligence...

20.

From Vagrant to EC2 with knife-solo(captnswing.net ↗)

1 points · by captnswing · 13y ago · discuss

21.

How I use Vagrant with chef-solo(captnswing.net ↗)

14 points · by captnswing · 13y ago · discuss

22.

Lessons learned wrestling with Ubuntu fonts(captnswing.blogspot.se ↗)

2 points · by captnswing · 13y ago · discuss

23.

Lessons learned while wrestling with Ubuntu fonts(scriptogr.am ↗)

2 points · by captnswing · 13y ago · discuss

comment 14y ago · link · parent

I can totally recommend Patterns, with support for java, python, ruby etc

http://itunes.apple.com/us/app/patterns-the-regex-app/id4294...