Sharing pragmatic tech tips & exploring AI-powered development workflows.
Let's build better software together! 🚀
Looking forward to connecting with fellow builders, sharing learnings, and getting feedback from the community!
I’m trying to find newsletter with analysis what happened for the last week, instead of raw links
#frontend #ai #wevdevelopment #react #nodejs
I’m trying to find newsletter with analysis what happened for the last week, instead of raw links
#frontend #ai #wevdevelopment #react #nodejs
1. Add `maxWorkers=50%` to utilize available CPU
2. Implement `shard` to split and run tests in parallel across multiple jobs
The big challenge? Collecting coverage data from separate jobs. Solution below
1. Add `maxWorkers=50%` to utilize available CPU
2. Implement `shard` to split and run tests in parallel across multiple jobs
The big challenge? Collecting coverage data from separate jobs. Solution below
Good code reviews:
- Catch bugs before they cause outages
- Share knowledge across the team
- Build better architecture through diverse perspectives
Good code reviews:
- Catch bugs before they cause outages
- Share knowledge across the team
- Build better architecture through diverse perspectives
I spent time understanding how it's calculated, here's simple math:
- Token ≠ word
- 1 word ≈ 1.3token
- 1 tweet ≈ 35 tokens
- Emojis cost extra tokens
shorter words = fewer tokens = lower costs
I spent time understanding how it's calculated, here's simple math:
- Token ≠ word
- 1 word ≈ 1.3token
- 1 tweet ≈ 35 tokens
- Emojis cost extra tokens
shorter words = fewer tokens = lower costs
While writing tests feels chore, the real cost hits during refactoring.
Use AI for basic tests, but guide it - create mocks & define key scenarios. Keep logic simple, and review all the code produced by AI.
Future you will thank you
While writing tests feels chore, the real cost hits during refactoring.
Use AI for basic tests, but guide it - create mocks & define key scenarios. Keep logic simple, and review all the code produced by AI.
Future you will thank you
AI doesn't own the code, the person who approved this code is the owner of the code.
AI is a tool - your expertise in reviewing, validating & owning the implementation is what matters
AI doesn't own the code, the person who approved this code is the owner of the code.
AI is a tool - your expertise in reviewing, validating & owning the implementation is what matters
I faced this problem a few times:
• Duplicated database logic
• Multiple connection configurations
• Inconsistent testing patterns
• No clear structure
Let me explain how I fixed this with the Data-Access Pattern 🧵
#NestJS #nodejs #webdevb
Type-safe + clear errors = no more missing configs
#TypeScript #WebDev #nodejs
Type-safe + clear errors = no more missing configs
#TypeScript #WebDev #nodejs
AI isn't replacing jobs directly - it's automating tasks. Think of it as a tool that helps process work faster, not a robot employee.
Humans still handle complex cases, AI handles repetitive ones. 🤖
AI isn't replacing jobs directly - it's automating tasks. Think of it as a tool that helps process work faster, not a robot employee.
Humans still handle complex cases, AI handles repetitive ones. 🤖
Best practice: Use AI as a drafting tool, maintain atomic conversations, and own your code through meaningful review.
#AI #SoftwareDevelopment
Best practice: Use AI as a drafting tool, maintain atomic conversations, and own your code through meaningful review.
#AI #SoftwareDevelopment
Most projects fail not because of dev speed, but waiting for "perfect design"
Quick win:
- Ship minimal design in 2 weeks
- Test with real users
- Iterate based on feedback
Stop guessing what users want.
#buildinpublic
Most projects fail not because of dev speed, but waiting for "perfect design"
Quick win:
- Ship minimal design in 2 weeks
- Test with real users
- Iterate based on feedback
Stop guessing what users want.
#buildinpublic
Spent 2 weeks learning algorithms, only to get asked about building an actual product feature. Classic over-preparation for the wrong battle.
Lesson: Always check type of interview you're participating. The interview format tells you what you need to know
Spent 2 weeks learning algorithms, only to get asked about building an actual product feature. Classic over-preparation for the wrong battle.
Lesson: Always check type of interview you're participating. The interview format tells you what you need to know
Solution: Leader Election pattern!
- Tabs form a team
- Pick ONE leader tab
- Only leader makes API calls
- If leader closes, new one steps up
Used broadcast-channel lib. Now instead of 5 requests → just 1
#frontend #javascript
Solution: Leader Election pattern!
- Tabs form a team
- Pick ONE leader tab
- Only leader makes API calls
- If leader closes, new one steps up
Used broadcast-channel lib. Now instead of 5 requests → just 1
#frontend #javascript
Solution: Leader Election pattern!
- Tabs form a team
- Pick ONE leader tab
- Only leader makes API calls
- If leader closes, new one steps up
Used broadcast-channel lib. Now instead of 5 requests → just 1
#frontend #javascript
Solution: Leader Election pattern!
- Tabs form a team
- Pick ONE leader tab
- Only leader makes API calls
- If leader closes, new one steps up
Used broadcast-channel lib. Now instead of 5 requests → just 1
#frontend #javascript
Instead of juggling multiple docker-compose files for prod/dev/test, just add "profiles: [dev]" to your services and run:
docker compose --profile dev up
Perfect for managing different environments in a single file!
#docker
Instead of juggling multiple docker-compose files for prod/dev/test, just add "profiles: [dev]" to your services and run:
docker compose --profile dev up
Perfect for managing different environments in a single file!
#docker
When you filter out undefined, does TS still think they might be there?
🪄 Magic solution: Add "is" type check!
#typescript #webdev
When you filter out undefined, does TS still think they might be there?
🪄 Magic solution: Add "is" type check!
#typescript #webdev
With projects, you can create custom prompts with specific output requirements - perfect for recurring tasks like architecture planning or article title generation
With projects, you can create custom prompts with specific output requirements - perfect for recurring tasks like architecture planning or article title generation
Just found the Rules of React. You should follow them to simplify updates for the newest version of React and support the React compiler in future releases.
react.dev/reference/ru...
Just found the Rules of React. You should follow them to simplify updates for the newest version of React and support the React compiler in future releases.
react.dev/reference/ru...
AI speed up Senior Engineers but can hurt Juniors. And when non-engineers use AI for coding? Recipe for disaster.
Pro tip: Before hitting Senior level, use AI to learn, not just copy/paste. Understanding > shortcuts.
AI speed up Senior Engineers but can hurt Juniors. And when non-engineers use AI for coding? Recipe for disaster.
Pro tip: Before hitting Senior level, use AI to learn, not just copy/paste. Understanding > shortcuts.
Writing an article to share my complete setup! 📝
Writing an article to share my complete setup! 📝
E2E testing is ideal, but even unit tests will save you from countless bugs. Test everything you generate 🤖✅
E2E testing is ideal, but even unit tests will save you from countless bugs. Test everything you generate 🤖✅