Keep your DTOs clean. The moment you add logic, they stop being DTOs and start being something else. Don’t blur boundaries — respect your layers. #CleanCode #SoftwareDesign #DevTips
Keep your DTOs clean. The moment you add logic, they stop being DTOs and start being something else. Don’t blur boundaries — respect your layers. #CleanCode #SoftwareDesign #DevTips
Optimizing large PHP codebases without breaking everything? I just shared my approach, with code samples and tooling tips.
https://mikelopez.com/blog/1140
#PHP #Performance #Refactoring #DevTips #Backend
Tired of inefficient array comparisons and anagram checks? Learn how the Frequency Counter Pattern simplifies and speeds up your code. It’s the optimization trick every JavaScript developer should know.
https://grasscoder.com/mastering-the-frequency-counter-pattern-in-javascript-a-complete-guide/
#JavaScript #DevTips #Coding #WebDev
Une ligne CSS pour tout réinitialiser :
all: unset;
Plus de bordures, marges, padding ou polices.
Un reset complet, propre et efficace.
Advanced Jetpack Compose Previews with Star Wars examples!
In this tutorial, we cover how to preview:
• Light & Dark Mode
• Font scale and layout size variations
• Multiple devices
• Custom background colors
• System UI elements
• Conditional view presentations
#AndroidDev #JetpackCompose #MobileDev #DevTips
https://www.promobile.dev/tutorials/advanced-jetpack-compose-previews
Thinking about turning on OPcache Preloading in your PHP app?
It sounds like an easy win—but unless your app is already lightning fast, you might not see much benefit.
In our latest post, we dig into:
- What preloading actually does
- When it’s useful (and when it’s not)
- Real-world gains with hard numbers
Odoo module vs developer—find out the 5 powerful reasons to choose the right customization strategy for your business! #Odoo #Customization #BusinessGrowth #ERP #DevTips
Using SQL’s system views to root out leftover audit and logging calls saved me hours today.
Pro tip: sys.sql_modules + LIKE = your best friend for DB cleanup!
Today I learn that it is possible to call Ruby's lambdas using the triple equal operator.
I use this capacity to create nice one liners without redundant `.call`
I like that running composer --version also shows you the version of PHP you're using.
Optimize DeepResearch queries: use precise keywords, metadata filters, and iterative refinement to boost efficiency. #DevTips https://milvus.io/ai-quick-reference/in-what-ways-can-users-optimize-their-queries-to-reduce-the-time-deepresearch-needs-to-find-information
"Optimize DeepResearch prompts: keep under 500 words, structure with code blocks, and split complex tasks. #DevTips #AI" https://milvus.io/ai-quick-reference/what-is-the-maximum-length-or-complexity-of-a-question-or-prompt-you-can-give-to-deepresearch
Single Element Tuple in Python:
A single element tuple in Python is defined by placing a comma after the element, e.g., t = (5,).
#Python #Tuple #PythonTips #LearnPython #Coding #PythonBasics #DevTips #SingleElementTuple #PythonProgramming #codenewbie
Slicing Tuple in python:
Slicing a tuple in Python means extracting a portion of it using the syntax tuple[start :stop :step].
#Python #PythonTips #Tuple #PythonSlicing #CodeSnippet #LearnPython #DevTips #100DaysOfCode #Programming #pythonlearning
Avoid Bedrock integration fails: Check endpoints, payload formats, and AWS permissions. Double-check regions, schemas, and IAM policies.
#AWS #DevTips https://milvus.io/ai-quick-reference/what-are-common-mistakes-or-misconfigurations-that-could-cause-a-bedrock-integration-to-fail-such-as-wrong-endpoint-urls-incorrect-request-payload-format-or-missing-parameters
Run your unit tests early and often. They're not just a safety net — they're your feedback loop, your confidence booster, your regression radar. If you wait until CI to discover breakage … it’s already too late. #DevTips #CleanCode
Comprehension to create dictionaries in Python:
Dictionary comprehension is a concise way to create dictionaries in a single line using a syntax similar to list comprehension.
#Python #PythonTips #DictionaryComprehension #CodeNewbie #100DaysOfCode #LearnPython #OneLiner #PythonTricks #DevTips #CodingInPython
Odoo naming conventions can make or break your project! Discover 7 powerful rules for flawless code, better teamwork, and scalable Odoo development. #Odoo #CodingStandards #BestPractices #OdooNaming #DevTips
https://teguhteja.id/odoo-naming-conventions-powerful-rules/
"Amazon Bedrock: streaming APIs for real-time chatbots, full responses for batch tasks. Choose wisely! #AWS #DevTips" https://milvus.io/ai-quick-reference/what-kind-of-support-or-servicelevel-agreements-slas-does-aws-provide-for-reliability-and-uptime-of-amazon-bedrock