Advertisement · 728 × 90

Posts by danwald

influence w/o manipulation

blog.danwald.me/influence-sa...

2 weeks ago 0 0 0 0

Good job?

blog.danwald.me/did-i-do-a-g...

2 weeks ago 0 0 0 0

Consistent hashing

blog.danwald.me/consistent-h...

1 month ago 0 0 0 0

Design a rate limiter #systemdesign
blog.danwald.me/design-a-rat...

1 month ago 0 0 0 0

23 Lessons from the greatest sales woman

blog.danwald.me/twenty-three...

1 month ago 0 0 0 0

The Odyssey Plan: Design Thinking for Your Career

blog.danwald.me/the-odyssey-...

2 months ago 0 0 0 0

Missing Initial Migration #flask
blog.danwald.me/missing-init...

2 months ago 0 0 0 0

Ors & Ands #Python
blog.danwald.me/ors-and-ands...

3 months ago 0 0 0 0

Inaccurate #Celery Task status

blog.danwald.me/inaccurate-c...

3 months ago 0 0 0 0
The Ridiculous Engineering Of The World's Most Important Machine
The Ridiculous Engineering Of The World's Most Important Machine YouTube video by Veritasium

The reasonable man adapts himself to the world; the unreasonable man persists in trying to adapt the world to himself. Therefore, all progress depends on the unreasonable man - George Bernard Shaw #quote

youtu.be/MiUHjLxm3V0?... #asml via
@veritasium.bsky.social

3 months ago 0 0 0 0
Advertisement

anti fragile #Happiness

/anti-fragile

3 months ago 0 0 0 0

Gevent celery config I/O bound #python #async

/gevent-celery-config-io-bound

3 months ago 0 0 0 0
Preview
Kafka considerations Auto-commit - at most once delivery When consumers are configured with auto-commit, the queue offset will commit on message delivery. If the process dies before processing, the message is effectively lost. Manual commit - at least once delivery When ...

Kafka considerations:

blog.danwald.me/kafka-consid... #queue

4 months ago 0 0 0 0
Preview
5 Event-Driven Architecture Pitfalls to Avoid I needed to understand the gotchas in event-driven architecture before migrating more services. Wix's engineering team documented 5 painful lessons learned from moving over 2300 microservices from request-reply to event-driven patterns. The Pitfalls ...

5 Event-Driven Architecture Pitfalls to Avoid

blog.danwald.me/5-event-driv...

#architecture #event

4 months ago 2 0 0 0
Preview
1+N querys Widely know as N+plus one problem, it’s actually a misnomer. As @adamj.eu’s article neatly summarize with examples (and now my dyslexic mind actually understands it), it’s one query to get a list of N objects that you iterate over. And each iteration...

1+N querys
blog.danwald.me/1n-querys?re...

#django #queryoptimization

5 months ago 0 0 0 0
Preview
Alembic disables my logs …and how to get them back Alembic is SQLAlchemy's database migration framework—think change management for your relational database. It autogenerates scripts tracking your ORM model changes, letting you recreate your data model at any point in time. ...

Alembic disables my logs
blog.danwald.me/alembic-disa... #python #logging #sql

6 months ago 1 0 0 0
Preview
DDD: Summary Here is a summary / cliff’s notes of the Domain Driven Design Quickly eBook Domain is what you trying to encode for which is owned by domain experts/specialist of the area The domain model is an abstraction represents the domain you’re trying to ca...

DDD: Summary
blog.danwald.me/ddd-summary?...

6 months ago 0 0 0 0
Advertisement
Preview
Moving Git history I needed to move some files between two repositories. I could have just copied the files over but I wanted to maintain the commit history. Enter the git-filter-repo utility that’s based on the native git-filter-branch command. It does a lot of things...

Moving #Git history

blog.danwald.me/moving-git-h...

8 months ago 0 0 0 0
Preview
Typing We type almost every day. So going with xkcd’s “is it worth your time?”, it’s definitely is! The effort you put in will compound and will leave you more time. Given the improvements with AI text generation, it might seem like a fools errand. There a...

Typing
blog.danwald.me/typing?ref=t...

8 months ago 0 0 0 0
Preview
Nested ModuleNotFound sys.path is a list of directories (or zip archives) to find imports. “The first entry in the module search path is the directory that contains the input script … Otherwise it’s the current directory”* With the following project layout: |- main.py #fr...

Nested ModuleNotFound
blog.danwald.me/nested-modul...
#python

9 months ago 0 0 0 0
Preview
Forking dangerous TL;DR Python 3.14+ now duplicates processes with spawn over fork spawn duplicates the whole process space fork clones the process but doesn’t duplicate the thread space The following deadlocks (on linux, <py3.14) import threading import time fro...

Forking dangerous
blog.danwald.me/forking-dang... #python #process #fork

10 months ago 0 0 0 0
Preview
Publish to pypi via UV & Github workflows I’ve incorporated uv into my development workflow. It’s a swiss army knife that replaces venv, pip, pipx, build, twine and others that i’m yet to discover. You can even run standalone scripts: uv run https://danwald.me/assets/uv_cowsay.py I wanted to...

Publish to pypi via UV & Github workflows
blog.danwald.me/publish-to-p... via @andrlik.org

#python #uv #publish

11 months ago 0 0 0 0
Preview
When to use __call__ Requests request.get(url, auth: AuthBase=obj, **kwargs) accepts a obj: requests.auth.AuthBase to attach a user’s credentials required for a custom authentication flow. It mutate's the request object to generate an “Authorization” Header using the c...

When to use __call__
blog.danwald.me/when-to-use-...
#oauth #python #requests

11 months ago 0 0 0 0
Preview
Principles of adult behavior I came across an old mailing list thread by John Perry Barlow from 1977 before the internet is what it is today. These were good rules to live by back then and hold true now. PRINCIPLES OF ADULT BEHAVIOR Be patient. No matter what. Don't badmouth: ...

Principles of adult behavior
blog.danwald.me/principles-o... #LifeLessons

11 months ago 0 0 0 0
Advertisement
Preview
Becoming a good story teller I came across this great article on How to tell great stories by https://x.com/julian. I encourage you to read it. The following are the main take aways (#cliffsnotes): Be prepared, writing it out if necessary Don’t memorize which makes you talk at...

Becoming a good story teller

blog.danwald.me/becoming-a-g... #cliffsnotes

1 year ago 0 0 0 0
Preview
Replica Lag Websites are inherently read heavy. There are various technologies that help to serve content from CDNs to application level caching. Databases can also be configured with read only replicas. Read queries can routed to these servers alleviating the l...

Replica Lag
blog.danwald.me/replica-lag?...

#database #replica #python #django

1 year ago 1 1 0 0
Preview
Dependent breaking pytest's New unit-tests were added that were passing when run in isolation. They were breaking when run all together by the CI/CD pipeline. Previous tests were affecting ours. The question was which ones? We thought it could be a data issue with persistent da...

Dependent breaking pytest's

blog.danwald.me/dependent-br...

#python #pytest

1 year ago 0 0 0 0
Preview
Foreign Key with missing indexes Relational databases have references to other tables via 1-Many relationships using a foreign key. CREATE TABLE Bar( id int NOT NULL, name varchar(128), PRIMARY KEY (id) ); CREATE TABLE Foo ( id int NOT NULL,...

Foreign Key with missing indexes
blog.danwald.me/foreign-key-... #mysql #constraints

1 year ago 0 0 0 0
Preview
DevX: Time to merge There are several frameworks available to help understand and improve Developer eXperience at organizations. They collect metrics along serval dimensions. The SPACE framework looks along the lines of: Satisfaction/Well-being; Productivity; Activity; ...

DevX: Time to merge

blog.danwald.me/devx-time-to...

#git #python #developer #experience

1 year ago 6 0 0 0