Urgent.News

What's breaking now, across thousands of outlets.

Tech

Building KaizenSQL - My Dev Journey

TL;DR KaizenSQL is a CLI tool written in Go, it analyzes SQL code and supports three modes Mentor/Performance/Security. To give it AI-powered capabilities I used Groq api for free LLM tokens. Overall, the main concern and goal with this project was to make the tool fast and pleasant to use. Every decision to be implemented had to take that into account. In this post I'll share the faced…

Juan Huanaco, a Systems Engineering student from Peru, shares his journey in creating KaizenSQL, a Go-based CLI tool that analyzes SQL code. The main objective was to make the tool fast and pleasant to use, while finding reliable ways to implement features.

Initially, Huanaco considered using the Gemini chat LLM for assistance, but opted for Groq API due to its generous free tier limits and compatibility with OpenAI's client library. This decision allowed for faster development and flexibility to switch to other providers later.

The project defined three modes - Mentor, Performance, and Security - each with their own system prompts to guide the AI agent. However, the selected LLM model had a limit of 8k tokens per minute, requiring careful consideration of input and output token usage.

To improve the user experience, Huanaco added an animated banner using Bubbletea, a TUI (Text User Interface) framework, as well as an ASCII animation generator called Ascii Motion. These enhancements made the CLI tool more engaging and visually appealing.

Although there were some challenges along the way, such as exceeding token limits with the chosen LLM model, Huanaco persevered and ultimately created KaizenSQL. The project can be found on GitHub, along with setup instructions and a ready-to-use binary.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Tech

KisanConnect Innohacks 4.0

This is a submission for the MLH x DEV Writing Challenge What I Built India has over 100 million farming households, and most of them make their biggest decisions on guesswork: what to plant this…

  • KisanConnect platform aids 100 million Indian farmers
  • App provides personalized crop recommendations
  • Features include disease detection and weather forecasts

How to reduce data consumption on iPhone with simple settings

This iPhone guide covers system and app-level ways to reduce cellular data use. It explains what Low Data Mode changes, how to review usage by app, and how to limit background refresh or disable…

  • Enable Low Data Mode in Settings Cellular Data Mode to reduce data usage.
  • Control background app refresh per app or set to Wi-Fi only via Settings Wi-Fi.
  • Pre-download media for offline use and disable automatic downloads to save data.

External Uptime Monitor and Internal Health Explained — Reconstructing Game Notification Failures

TL;DR: use an external uptime monitor to answer whether the notification service is reachable, and use an internal health dashboard built from structured delivery events to reconstruct why a player…

  • External uptime monitor checks service reachability from outside deployment
  • Internal health dashboard tracks internal state and notification journey
  • Structured logging with operation ID helps reconstruct notification failure sequence

The Tools the Enterprise Actually Lets Me Run: My SRE Stack

People ask what tools I use as an SRE. The better question is which tools survive enterprise security review. Most of the shiny stuff never makes it past procurement.

  • GitHub Copilot used for crafting Grafana queries, alerts, and PromQL statements
  • k9s provides terminal UI for quickly checking pods, logs, and events
  • Opsgenie handles alert notification system with on-call rotations

More from Saturday 10 October →