AI-Assisted Unused & Dead Code Removal
Table of Contents Why Your Codebase Is Forcing AI to Underperform, and What to Do About ItThe Context Window Is Your AI’s Working MemoryUnused & Dead Code Is More Common Than You ThinkRuntime Evidence Changes the PictureAI-Assisted Code Removal WorkflowThe ...
-
Enabling AI Agents to Use a Real Debugger Instead of Logging
Table of Contents The JDK ships a perfectly good debugger. Nobody uses it.Agent Skills: Teaching new tricks through MarkdownBuilding the skill: a conversation with CopilotWhat the skill containsThe real test: debugging a buggy Swing app, liveThe debugging sessionA small but …
-
Unikernel: Profiling and Troubleshooting JVM on Nanos Unikernel
Table of Contents Profiling a Java Application Running Inside an Unikernel with JProfilerExplanationDirsArgsRunConfigBaseVolumeSzWhat this command doesInstrumentation PhaseFinal StateProfiling a Java Application Running Inside an Unikernel with JProfiler Unikernels are often associated with minimalism and tight resource control. But can we …
-
The Art of Performance Tuning: Why Saving 30% in the Cloud Means Nothing if Your Code Wastes 1000× More
Table of Contents The Hidden Cost of “Good Enough” CodeA Quick Reality Check – Programming Languages and EnergyLet’s see how good am I with performance analysisStep One – Exceptions as LogicStep Two – The RegExp TrapStep Three – Let the …
-
Breaktime Tech Talks (Ep38): Spring AI Debugging + How to Contribute to Open Source
Table of Contents Vector database architectureJSON formattingPinecone configurationConfiguring multiple vector storesWhy and how to participate in open sourceWrapping up!In this episode, I continue my journey with vector databases, integrating Pinecone, Neo4J , and Spring AI. While making some progress, I …
-
The slow Death of the onjcmd Debugger Feature
Table of Contents JCmd triggered debuggingSummaryProblemSolutionConclusionAlmost to the day, one and a quarter years ago, I published my blog post called Level-up your Java Debugging Skills with on-demand Debugging. In this artucle, I wrote about multiple rarely known and rarely …
-
Front End Debugging Part 2: Console.log() to the Max
Table of Contents Understanding Front-End Logging vs. Back-End LoggingLeveraging Console Log LevelsCustomizing Console Output with CSSStack Tracing with console.trace()Assertions for Design-by-ContractPrinting Tables for Clearer Data VisualizationCopying Objects to the ClipboardInspecting with console.dir() and dirxml()Counting Function CallsOrganizing Logs with GroupsChrome-Specific Debugging …
-
Front End Debugging Part 1: Not just Console Log
Table of Contents Instant Debugging with the debugger KeywordTriggering Debugging from the ConsoleDOM Breakpoints: Monitoring DOM ChangesXHR Breakpoints: Uncovering Hidden Network CallsSimulating Environments for DebuggingDebugging Layout and Style IssuesFinal Word Instant Debugging with the debugger Keyword Triggering Debugging from the …
-
The Art of Full Stack Debugging
Table of Contents Full stack development is often likened to an intricate balancing act, where developers are expected to juggle multiple responsibilities across the frontend, backend, database, and beyond. As the definition of full stack development continues to evolve, so …
-
Profile IntelliJ IDEA with its own profiler
Table of Contents The problemRecreate the environmentIntelliJ ProfilerAnalyzing the reportWhy such huge difference?The fix?Share the snapshotOther languages: Español 한국어 Português 中文 Just like my previous post, this one is going to be slightly meta. Obviously, you can use IntelliJ IDEA …