Skip to content

2024

Emotion Detection App

Sentiment analysis often labels text as positive or negative. Emotion detection asks a narrower question: does the text express joy, sadness, fear, anger, love, or surprise?

This guide shows how I fine-tuned the compact DistilBERT language model on the Emotion dataset, measured its classifications, and deployed a browser-based demonstration with Gradio and Hugging Face Spaces.

PyGitGraph: Managing and Analyzing GitHub Issues with Python and GraphQL

GitHub Issues record bugs, feature requests, assignments, and project decisions. That history can show how work moves through a repository, but collecting related comments, labels, and events through fixed REST endpoints may require many paginated requests.

I built PyGitGraph to make that collection easier. The open-source Python tool uses GitHub's GraphQL API, which lets a client request related fields together, and turns the response into data that pandas can analyze.

A Practical Guide to SQL Injection

Web applications use Structured Query Language (SQL) to read and change data. SQL injection occurs when an application lets untrusted input alter the structure of a SQL command. An attacker may then bypass authentication, read private records, or change stored data.

This guide shows how the vulnerability works, introduces its common forms, and explains how parameterized queries keep user input separate from executable SQL.

A Practical Guide to Anomaly Detection

Suppose your credit card statement shows a purchase from a city you have never visited. Anomaly detection is the process that flags this kind of event because it falls outside the usual pattern.

This guide explains how anomaly detection works, compares common statistical and machine learning methods, and links to an interactive example you can run in your browser.