629 karma · joined September 24, 2014
There is an unspoken secret that you can’t get tickets in NYC if you put a cover on your motorcycle.
In FiDi, there is a good spot to park if you work in Battery Park City: https://goo.gl/maps/KDPFXrs2DtcKg9Hh7
Incidentally, Leonardo DiCaprio parks his bike there.
I recently picked up a vest that doubles as an airbag.
https://www.revzilla.com/motorcycle/dainese-smart-jacket-rev...
It might be worth adding a section on distributed anonymous scrapers that use some form of messaging middleware to distribute the URLs to scrape. Regarding the anonymous aspect (independent of job distribution, of course), you could walk them through using https://github.com/aaronsw/pytorctl or even a rotating tor proxy. This is how I scraped all those Instagram locations + metadata we discussed about five years ago. Hope you’re doing well!
Instead, they have to throw in a bunch of self-aggrandizing startup bullshit.
https://en.m.wikipedia.org/wiki/Landscape_with_the_Fall_of_I...
It also uses num_partitions*2 open file descriptors per topic, which can quickly surpass the default ulimit on a host. Always remember to raise the ulimit before you near 1000 topics, otherwise Kafka crashes.
cal -y | sed -E '1,2d;s/(.{20}) /\1\n/g;' | python3 -c "from calendar import month_name;import sys;[print(ln.strip()) for ln in sys.stdin.readlines() if ln.strip() in month_name and len(ln.strip())]"
https://tio.run/##TY1BDsIgFAWv8tJNIbGtrUvWnsIag4VaEvohwKZRz4...
easier to do:
python3 -c “import calendar;[print(m) for m in calendar.month_name]”
or
cal -y | sed -E '1,2d;s/(.{20}) /\1\n/g;' | python3 -c “from calendar import month_name;import sys;[print(ln.strip()) for ln in sys.stdin.readlines() if ln.strip() in month_name]”
Declaring, managing, and providing a proper test fixture for the ‘app context’ in a Flask app can be rather hideous. Having said that, despite the poor aesthetics and contours, that black magic is incredibly reliable once you get it right.