Lessons we’ve learned on real projects (page 219)
The links, tools and tips our engineers and designers share with each other, one “today I learned” at a time.
- lessons shared
- 3,447
- people sharing
- 86
- database started in
- 2016








Tech Insights· instagram.com
You can get a user's public Instagram feed in JSON format using:
Shared by
Read on instagram.com- Feed


Tech Insights· docs.djangoproject.com
Use
django.contrib.syndication.viewsfor generating RSS feeds:Shared by
Read on docs.djangoproject.com- Django
Today I learned
Before using
itertools.groupby(data, keyfunc)remember to sort thedatawith the same keyfunc.Victor Carriço
Tech Insights
Before using
itertools.groupby(data, keyfunc)remember to sort thedatawith the same keyfunc.Shared by
- Itertools
- Python
Today I learned
In Celery configuration use:
app.autodiscover_tasks(lambda: [n.name for n in apps.get_app_configs()]) instead of: app.autodiscover_tasks(lambda: settings.INSTALLED_APPS) autodiscover_tasks() will not understand if you declare in INSTALLED_APPS some app through django AppConfig. (Ex: INSTALLED_APPS += ['users.apps.UsersConfig', ])
Victor Carriço
Tech Insights
In Celery configuration use:
app.autodiscover_tasks(lambda: [n.name for n in apps.get_app_configs()])instead of:
app.autodiscover_tasks(lambda: settings.INSTALLED_APPS)autodiscover_tasks()will not understand if you declare inINSTALLED_APPSsome app through djangoAppConfig. (Ex:INSTALLED_APPS += ['users.apps.UsersConfig', ])Shared by
- Celery
- Django


Tech Insights· rachbelaid.com
Postgres full-text search is Good Enough!
Shared by
Read on rachbelaid.com- DB
- PostgreSQL
- Search
- SQL
- Link offlineLink offline
Tech Insights· eng.paxos.com
Write Fast Apps Using Async Python 3.6 and Redis:
Shared by
The original link on eng.paxos.com is no longer available.
Look for it on the Wayback Machine- Asyncio
- Performance
- Redis
Today I learned
In a
admin.ModelAdmin, a field can either be inprepopulated_fieldsorreadonly_fields, but not in both.Lais Varejão
Tech Insights
In a
admin.ModelAdmin, a field can either be inprepopulated_fieldsorreadonly_fields, but not in both.Shared by
- Admin
- Django
Today I learned
In
admin.ModelAdmin, a field can either be inprepopulated_fieldsorreadonly_fields, but not in both.Lais Varejão
Tech Insights
In
admin.ModelAdmin, a field can either be inprepopulated_fieldsorreadonly_fields, but not in both.Shared by
- Django
- Django Admin


Tech Insights· docs.djangoproject.com
You can pass a queryset to prefetch_related (and select_related):
Restaurant.objects.prefetch_related(Prefetch('pizzas__toppings'))#django.db.models.PrefetchShared by
Read on docs.djangoproject.com- Django
- ORM
Tech Insights
For tests use
assertCountEqual, using two sequences it tests if the first contains the same elements as second, regardless of their order.Shared by
- Python
- Test


Tech Insights· medium.com
One of the best articles I’ve ever read about Software Over-Engineering:
Shared by
Read on medium.com- Software Engineering



madebymike.com.au
Could you describe in simple terms what `
display: block` actually does?Explains the box model, cascade, formatting contexts, positioning, stacking and a lot more about how CSS works. A right of passage, I had to write my version.
Felipe Farias

Tech Insights· madebymike.com.au
Could you describe in simple terms what `
display: block` actually does?From madebymike.com.au
Explains the box model, cascade, formatting contexts, positioning, stacking and a lot more about how CSS works. A right of passage, I had to write my version.
Shared by
Read on madebymike.com.au- CSS
- HTML

nngroup.com
Modal & Nonmodal dialogs checklist:
Modal dialogs interrupt users and demand an action. They are appropriate when user’s attention needs to be directed toward important information.
Flávio Juvenal

Tech Insights· nngroup.com
Modal & Nonmodal dialogs checklist:
From nngroup.com
Modal dialogs interrupt users and demand an action. They are appropriate when user’s attention needs to be directed toward important information.
Shared by
Read on nngroup.com- Design
- Modal
- UI
- UX

nngroup.com
Writing Digital Copy for Domain Experts:
These tips for writing content for specialized audiences will help you sound authoritative and credible. Professionals want content that is easy to scan, factual, and verifiable.
Flávio Juvenal

Tech Insights· nngroup.com
Writing Digital Copy for Domain Experts:
From nngroup.com
These tips for writing content for specialized audiences will help you sound authoritative and credible. Professionals want content that is easy to scan, factual, and verifiable.
Shared by
Read on nngroup.com- Copy
- UX
- Writing
Book a call
Found it useful?
Let’s put it to work.
Tell us about your product and the problem in front of you. We’ll bring what we’ve learned on real projects.
Tell us about your product, and we’ll bring what we’ve learned.
Still prefer the good old email? Contact us



