-
Statics VS AI code analysis ~13 tools
Statics VS AI code analysis works best using the pros from both words. Go hybrid ! Static tools understand the syntext, hardcoded parameters and are very strict. On the other hand AI understands context, can figure out business logic, adapt the codebase. Logic flaws or performance bottlenecks rule-based scanners might miss, AI will put more effort into that. Static analysis limits Static tools scan for syntax errors, style violations, and basic security patterns using fixed rules. Always consistenst, very fast but might generate false positives, ignore business logic, and require manual rule overrides. How often did You use @typescript-error 🙂 Do You code for the linter to pass, logic to…
-
Losada coefficient at life and work
The Losada coefficient at life and work is pretty much the same theory. Also known as Losada ratio or critical positivity ratio. Proposes a fixed ration between positive and negative interactions / emotions. Supposedly distinguishes positive from negative individuals or teams.We should have proportionally MORE POSITIVE INTERACTIONS so in the long run we will be happy.Originated in 2005 paper by psychologists Barbara Fredrickson and Marcial Losada, who calculated a threshold of ~2.9:1 and upper? limit around 11.6:1 Losada ratio in coportate In highly skilled IT software development teams ( or any other team for that matter) this balance shows up in code reviews, stand‑ups, meetings, emails, design discussions and production…
-
Code mode for mcp servers and llms
Code mode for mcp servers is about LLM writing and calling the code to use a proper MCP instead of calling it directly with the whole context. It makes the call a lot smaller, no overhead is passed, just the basics that are required to call the proper MCP method. Just as You do in code, method or a function, proper parameters, everything validated and… BAM ! We are returning a context that LLM uses in further stages. Anthropics wrote… This is really nice looking but only for a huge models with a 1kk tokens of a context. We need to remember that this is not possible on any kind…
-
Data contracts. Building universal data access proxy api
Data contracts usually requires us to build around them a universal data access proxy API for users to consume. API utilizing proper data contracts, negotiated with different teams, acts as a unified gateway providing the necesities. Allows access to data sources like databases, REST APIs, GraphQL endpoints or other file systems. One api to rule them all Steps to build data contracts for proxy api You could try and adopt a similar flow for creating such access points, even make a template in JIRa so You will know where to get proper data and how to acquire it… or maybe expose the library and just aprove properly looking merge requests……
-
97 Things Every Data Engineer Should Know – book review
97 Things Every Data Engineer Should Know review will be a positive one. This style of books is currently my favorite. Might get another one from the series 🙂 It is bits and pieces of knowledge You can digest easily. Scattered across multiple disciplines teachings are of a principle design. Book is technologically agnostic, meaning rules, law, principles and methodologies presented You can use with any framework or system. It is like the design principles. Great read, would recommend. 97 lessons to pick from The book is all about best practices, system design, queues, asynchronouse communication and many more. You can easily read it day by day when You “meditate”…
-
Do not be a hero – 3 pros and some tradeoffs
Do not be a hero. Why ? . Ever seen that one guy doing midnight fixes, hot releases after hours and then gets praised in front of everyone making You look bad ? When features are delivered on time and on target the team is considered heroes. We all love rewards and recognition but heroism might become … Heroes give up work / life balance. As the ancient wisdom teaches us “no good deed goes unpunished”. Whenever there is a new crisis or a target to achieve is set, yesterday’s heroes are quickly forgotten. Long hours eventually might lead to burnout, anxiety and/or even depression. What “Don’t Be a Hero”…
-
5 why methodology
5 why methodology is one of my favorites. Simple, easy to remember and always work. If You are not at Your root cause just ask… yet again… Why ! Remember when you burned that pork chop in the kitchen last time and instead of blaming the recipe, you dug deeper? “Why did it burn? Fire too high. Why? Didn’t check the stove. Why? Rushed after back to the pc…” Boom! You found the reason. Do not ever leav e a frying pan unattended or start using a timer. That’s 5 whys methodology in action, a powerhouse technique from Toyota smashing problems and stripping the mystery Basics to remember 5 Why…
-
When to use Value Objects in database
Question when to use value objects in database is usually discussed during storing a new set of data. Usage of value objects should be considered while modeling abstractions that are constant / immutable and do not require unique identity. Examples can be: geospatial data, estate addresses or any categories that belong to an entity. VO also encapsulates validation logic and business rules. Helps to avoid raw strings or magic numbers. When to use it and its benefits How to map a value object in db Scenario Mapping Benefit Embed Columns in parent table (Street, City in Address) Fast reads, no joins Complex nesting JSONB/PostgreSQL or owned entities Flexible schema, validation…
-
Law of Demeter in programming
Law of Demeter in programming You could in short paraphrase as “Don’t talk to strangers!” or “Keep Your hands in your pockets”. A class needing data from a deep chain of objects like – user.getAddress().getStreet().getNumber().It is visible very often in OOP, less in functional approachess ! The Law of Demeter states that method only knows its closest dependencies: itself, passed parameters, created objects, and own fields. Should not be used with dot chains ( they were so fancy when we started Java 8 back in the day). What to Remember? Where Law of Demeter comes from ? Why Demeter ? The Law of Demeter in progamming takes its name from…
-
How to use Context7 mcp server
What is Context7? Context7 is an open-source MCP server that provides real-time, version-specific documentation and code examples for over 50,000 libraries. It integrates seamlessly with AI tools like GitHub Copilot, Claude, or custom LLM agents. Why use it? How to use Context7 mcp server ? You can play around on the main page of the project or simply use a curl to fetch the data You wish so look up : context7.com/api/v2/docs/code/vuejs/pinia?topic=log&tokens=666 How to Configure Context7 How to use Context7 is really simple, just add a proper config entry and the plugin You use should pick it up instantly. Maybe reload the app if in need. 1. Install the Context7…























