<p>Use <code>assert_never</code> from Python to confirm with a static type checker that a line of code is unreachable: </p>
https://typing.readthedocs.io/en/latest/source/unreachable.html
Open link
Flavio Juvenal
Posted on
November 1, 2022
Topics:
mypy, python, typing
Let's talk!
Clients
Services
Blog
About us
Careers
Let's talk!
SOFTWARE
HOUSE
Clients
Services
MVP Development
Web Development
Staff Augmentation
Insights
Blog
Learnings
Careers
About us
Contact us
Learnings
Boost your knowledge with the insights from our expert team.
accessibility
agile
ai
api
architecture
aws
career
celery
communication
concurrency
css
data
database
db
debug
design
design system
development
devops
django
docker
documentation
figma
frontend
git
html
javascript
js
leadership
management
metrics
ml
orm
performance
postgres
process
product
product design
python
react
redux
research
security
software
sql
sre
test
testing
tests
typescript
ui
ux
web
workflow
<p>Gaze runs a command, right after you save a file: </p>
↗
https://github.com/wtetsu/gaze
Rebeca Sarai
Aug 2, 2021
Topics:
tools
<p>Choose Boring Technology </p>
↗
https://mcfunley.com/choose-boring-technology
Lais Varejão
Jul 30, 2021
Topics:
<p><code>select_related</code> doesn't allow to customize what fields from the related model you want to use. If you need one or two fields in may be worth it to annotate the field values with Django's <code>F</code> function.</p>
↗
Hugo Bessa
Jul 30, 2021
Topics:
<p>Django Extension's shell_plus command allows you to print SQL queries on the fly with the argument <code>--print-sql</code> </p>
↗
https://django-extensions.readthedocs.io/en/latest/shell_plus.html
Hugo Bessa
Jul 30, 2021
Topics:
<p>The Fast Way to Test Django () Callbacks </p>
↗
https://adamj.eu/tech/2020/05/20/the-fast-way-to-test-django-transaction-on-commit-callbacks/
Andre Carneiro
Jul 30, 2021
Topics:
django, tests
<p>Always Tell the Truth, Even When You’re Embarrassed </p>
↗
https://www.jrothman.com/mpd/2021/01/leadership-tip-1-always-tell-the-truth-even-when-youre-embarrassed/
Filipe Ximenes
Jul 30, 2021
Topics:
<p>JFrog Detects Malicious PyPI Packages Stealing Credit Cards and Injecting Code: </p>
↗
https://jfrog.com/blog/malicious-pypi-packages-stealing-credit-cards-injecting-code/
Rebeca Sarai
Jul 30, 2021
Topics:
python
<p>“Making boring plans is a foundational step in getting good at setting engineering strategy. Strategy is often confused with <em>innovation</em> and <em>vision</em> in tech circles, but they are far from the same thing.” - Make Boring Plans </p>
↗
https://skamille.medium.com/make-boring-plans-9438ce5cb053
Lais Varejão
Jul 30, 2021
Topics:
<p>Oh Shit, Git!?! </p>
↗
https://ohshitgit.com/
Rebeca Sarai
Jul 29, 2021
Topics:
git
<p>Git has --ours and --theirs for handling binary file conflicts </p>
↗
https://stackoverflow.com/a/2163926
Thiago Paim
Jul 29, 2021
Topics:
git
<p>"TDD, BDD, ATDD, and related methods categorically do not replace testing, whatever their names may suggest. They are primarily design and development techniques" </p>
↗
https://dannorth.net/2021/07/26/we-need-to-talk-about-testing/
Rebeca Sarai
Jul 28, 2021
Topics:
tests
<p>In celery, when retrying tasks, nothing will run after a <code>raise (...)</code>, even if the are no more retries left.</p>
↗
https://docs.celeryq.dev/en/stable/userguide/tasks.html
João Lins
Jul 28, 2021
Topics:
celery, python
<p>GitHub: You can create a permanent link to a specific line or range of lines of code in a specific version of a file or pull request. </p>
↗
https://docs.github.com/en/github/writing-on-github/working-with-advanced-formatting/creating-a-permanent-link-to-a-code-snippet
Pamella Bezerra
Jul 27, 2021
Topics:
github
<p>Python has a context manager that suppresses any of the specified exceptions: </p>
↗
https://docs.python.org/3/library/contextlib.html#contextlib.suppress
Rebeca Sarai
Jul 23, 2021
Topics:
python
<p>5 Packages to Optimize and Speed Up Your React App During Development </p>
↗
https://dev.to/nilanth/5-packages-to-optimize-and-speed-up-your-react-app-during-development-4h5f
Victor Ferraz
Jul 23, 2021
Topics:
javascript, react
<p>You can cherry-pick a range of commits at once </p>
↗
https://stackoverflow.com/a/3933416
Jonas Ferreira
Jul 22, 2021
Topics:
git
<p>JavaScript language operators, expressions and keywords </p>
↗
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators
Pamella Bezerra
Jul 22, 2021
Topics:
javascript
<p>line-clamp: Ellipsis in multi-line text </p>
↗
https://css-tricks.com/almanac/properties/l/line-clamp/
João Lins
Jul 20, 2021
Topics:
css
<p>Effective React Query Keys </p>
↗
https://tkdodo.eu/blog/effective-react-query-keys?utm_source=reactdigest&utm_medium=email&utm_campaign=313
Filipe Ximenes
Jul 19, 2021
Topics:
react, reactquery
<p>Give me /events, not webhooks (). Major learning for me was to use long-polling to immediately retrieve events.</p>
↗
https://blog.syncinc.so/events-not-webhooks
Rebeca Sarai
Jul 15, 2021
Topics:
api, webhooks
<p>Open File at Line Number with Emacs and Vim </p>
↗
https://medium.com/@olitreadwell/open-file-at-line-number-with-emacs-and-vim-9103315e0f8d
Carlos Coelho
Jul 15, 2021
Topics:
emacs, vim
<p>If you want to have high performance animations, avoid properties that trigger layout or paint </p>
↗
https://web.dev/animations-guide/
João Lins
Jul 15, 2021
Topics:
animations, css, performance
<p>How To Use ThreadPoolExecutor in Python 3: </p>
↗
https://www.digitalocean.com/community/tutorials/how-to-use-threadpoolexecutor-in-python-3
Flavio Juvenal
Jul 15, 2021
Topics:
api, concurrency, parallel, python, requests
<p>SQLBolt – Interactive lessons and exercises to learn SQL: </p>
↗
https://sqlbolt.com/
Rebeca Sarai
Jul 15, 2021
Topics:
sql
Previous
Next
Close Cookie Preference Manager
Cookie Settings
By clicking “Accept all”, you agree to the storing of cookies on your device to enhance site navigation, analyze site usage and assist in our marketing efforts.
Check our privacy policies.
Strictly Necessary (Always Active)
Cookies required to enable basic website functionality.
Analytics
Cookies helping understand how this website performs, how visitors interact with the site, and whether there may be technical issues.
Marketing
Cookies used to deliver advertising that is more relevant to you and your interests.
Personalization
Cookies allowing the website to remember choices you make (such as your user name, language, or the region you are in).
Save settings
Accept all
We use Cookies to promote our services.
Settings and Privacy.
Accept