<p>In Resilient Web Design Jeremy Keith discusses the idea of material honesty. He says that “one material should not be used as a substitute for another, otherwise the end result is deceptive”.</p>
https://medium.com/simple-human/but-sometimes-links-look-like-buttons-and-buttons-look-like-links-9b371c57b3d2
Open link
Lais Varejão
Posted on
September 27, 2017
Topics:
design
Tech Insights
Lessons we’ve learned while working on real projects
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>On DRF, override to use different serializers for input and output in a same request: </p>
↗
https://stackoverflow.com/a/17552724/145349
Flávio Juvenal
Nov 17, 2017
Topics:
django, drf, rest
<p>Find bottlenecks by benchmarking your tests with pytest-benchmark </p>
↗
https://github.com/ionelmc/pytest-benchmark
Carlos Coelho
Nov 16, 2017
Topics:
pytest, python, testing
<p>An instant JSON API for your SQLite databases: </p>
↗
https://github.com/simonw/datasette
Flávio Juvenal
Nov 16, 2017
Topics:
python, sql, sqlite
<p>Use django-postgres-extra for native upserts, more powerful HStoreField, more signals and indexes with conditions: </p>
↗
https://github.com/SectorLabs/django-postgres-extra
Flávio Juvenal
Nov 16, 2017
Topics:
django, postgres
<p>Dropbox releases PyAnnotate - auto-generate type annotations for mypy: </p>
↗
http://mypy-lang.blogspot.com.br/2017/11/dropbox-releases-pyannotate-auto.html
Flávio Juvenal
Nov 16, 2017
Topics:
mypy, python, typing
<p>If using <code>get_or_create</code> don't forget to make use of <code>defaults</code> parameter</p>
↗
Carlos Coelho
Nov 16, 2017
Topics:
django, python
<p>Interesting tool to abstract some git concepts in the command line interface </p>
↗
https://github.com/sdg-mit/gitless
Hugo Bessa
Nov 16, 2017
Topics:
git, scm, version control
<p>Best REST overview I could find: </p>
↗
http://www.vinaysahni.com/best-practices-for-a-pragmatic-restful-api
Flávio Juvenal
Nov 15, 2017
Topics:
api, rest, web
<p>The law of Demeter is an important foundation for OOP </p>
↗
https://www2.ccs.neu.edu/research/demeter/demeter-method/LawOfDemeter/paper-boy/demeter.pdf
Anderson Resende
Nov 15, 2017
Topics:
<p>Django will store your dates in UTC if you set USE_TZ=True</p>
↗
Anderson Resende
Nov 11, 2017
Topics:
db, django
<p>If you need to create a fixture based on a single record from the database, you can use <code>django-fixture-magic</code> </p>
↗
https://github.com/davedash/django-fixture-magic
Carlos Coelho
Nov 9, 2017
Topics:
django
<p>Use python freezegun lib to freeze your dates when making tests</p>
↗
https://github.com/spulec/freezegun
Anderson Resende
Nov 9, 2017
Topics:
python, test
<p>Font Face Observer is a fast and simple web font loader. You can use it to load fonts and customise your browser’s font loading behaviour. </p>
↗
https://fontfaceobserver.com/
Felipe Farias
Nov 7, 2017
Topics:
css, fonts
<p>webpreview - Extracts OpenGraph, TwitterCard and Schema properties from a webpage </p>
↗
https://github.com/ludbek/webpreview
Flávio Juvenal
Nov 6, 2017
Topics:
facebook, library, python, schema, twitter
<p>You can use itertools.chain to group different querysets: #itertools.chain</p>
↗
https://docs.python.org/2/library/itertools.html
Anderson Resende
Nov 6, 2017
Topics:
django
<p>Queries for Postgres Lock Monitoring: </p>
↗
https://wiki.postgresql.org/wiki/Lock_Monitoring
Flávio Juvenal
Nov 3, 2017
Topics:
<p>Show database, table and indexes size in Postgres: </p>
↗
https://www.niwi.nz/2013/02/17/postgresql-database-table-indexes-size/
Flávio Juvenal
Nov 3, 2017
Topics:
database, postgres
<p>statically: compiles a python function with cython using only a decorator - </p>
↗
https://github.com/AlanCristhian/statically
Flávio Juvenal
Nov 2, 2017
Topics:
cython, optimization, performance, python
<p>How to make your code 80 times faster with PyPy: </p>
↗
https://morepypy.blogspot.com.br/2017/10/how-to-make-your-code-80-times-faster.html
Flávio Juvenal
Nov 2, 2017
Topics:
optimization, performance, pypy, python
<p>Postgres SQL Views in Django: </p>
↗
https://github.com/mypebble/django-pgviews
Flávio Juvenal
Nov 2, 2017
Topics:
django, postgres
<p>Dramatiq: alternative to Celery and RQ: </p>
↗
https://dramatiq.io/motivation.html
Flávio Juvenal
Nov 2, 2017
Topics:
celery, python, rq, tasks
<p>Great site to help you easily create nice css animations </p>
↗
http://animista.net
Hugo Bessa
Nov 1, 2017
Topics:
animations, css
<p>The Benefits of CSS Variables: </p>
↗
https://jonathan-harrell.com/unlocking-benefits-css-variables/
Lais Varejão
Oct 31, 2017
Topics:
css
<p>Use <code>TerminalIPythonApp</code> %lprun to run line_profiler in ipython: #line_profiler</p>
↗
https://github.com/rkern/line_profiler
Flávio Juvenal
Oct 27, 2017
Topics:
optimization, python
Previous
Next
◉
LIVE
JUN 17
•
10am
PT
/
1pm
ET
How does
paperless intake
come together in practice?
Join our next Health Builders Jam
Clients
Services
Blog
About Us
Careers
Let's talk