SShortSingh.

Programming

0
ProgrammingDEV Community ·

Image Optimization Beyond Compression: Lazy Loading, Modern Formats, and the Rendering Pipeline Tricks That Actually Help

Most developers stop at squishing a JPEG and calling it done. Run it through ImageOptim, drop it into the public/ folder, ship it. Job done. Except it's not — because image optimization in 2025 is a multi-layered problem that spans format selection, delivery strategy, browser rendering behavior, and server-side generation pipelines. Get any one of those layers wrong and you're leaving real performance on the table, even if your file sizes look great.

0
ProgrammingDEV Community ·

Sarah... Always Forget What She Said Before, So I build "PromiseKeeper" for Her

This is a submission for the Hacktoberfest Weekend Challenge: Build for a Friend I built PromiseKeeper for that friend who always says “Sure, I’ll do it” and then forgets about it. For example: “Sarah asked me to review her portfolio this weekend. I told her I’d do it by Sunday.” PromiseKeeper picks out the important parts and saves them. Later, you can ask: “What did I promise Sarah?” And it reminds you. https://promisekeeper-q0l3.onrender.com/ https://github.com/splmdny/PromiseKeeper The app is built with Next.js, MongoDB Atlas, Gemma 4 31B IT, DigitalOcean Serverless Inference, and Render.

0
ProgrammingDEV Community ·

Three pieces of code that make a PIL frame look hand-drawn: boiling lines, white-key cut-outs, and a feet-anchored sprite

My explainer videos are rendered frame by frame with Pillow and piped into ffmpeg. For a day they looked like what that sounds like: clean vector lines and a character that slid around like a PowerPoint shape. Nobody watched them, including me. Three small changes made them read as hand-drawn cartoons. None of them is clever.

0
ProgrammingDEV Community ·

StudyBuddy AI: A Local AI Study Companion Powered by Gemma 3 4B

This is a submission for the Hacktoberfest Weekend Challenge: Build for a Friend I built StudyBuddy AI, a local-first AI study companion designed for a fellow college student who struggles with understanding difficult topics and organizing exam preparation. The problem I wanted to solve was bigger than simply getting an answer from an AI. When studying a difficult topic, a student usually needs to: Understand → Practice → Test → Revise → Plan StudyBuddy AI turns that workflow into one application. A student can enter a topic and ask StudyBuddy to explain it, then immediately: Ask for a simpler

0
ProgrammingDEV Community ·

My friend's laptop is full of junk nobody dares delete. So I built him a local AI that explains what's safe.

This is a submission for the Hacktoberfest Weekend Challenge: Build for a Friend Every one of my friends has the same laptop problem, and so do I. We download everything: installers, zips, ISOs, datasets, entire SDKs for one assignment. And we delete almost nothing. When the "C: drive is almost full" warning finally shows up, we open Downloads, delete a few obvious things and give up, because the rest of the space is hiding in places none of us know about. My friend Kunal is the worst case.

0
ProgrammingDEV Community ·

Your AI Agent Has More Authority Than Your Intern. Here Is How To Design The Limits

Out of 272,000 injection attempts against 13 frontier AI agents, 8,648 succeeded. The rate ranged from 0.5% to 8.5% depending on the model, and every model in the test proved vulnerable (Source: Large-Scale Public Red-Teaming Competition, 2026). That number stopped mattering the moment a phone vendor started rewriting its permission system because of what agents were doing with it. On October 2, 2026, Apple published a developer notice titled "Updates to Full Disk Access in macOS." The post announced no new feature. It announced a repair.

0
ProgrammingDEV Community ·

Receipts: I Built a Local AI Verifier for My Friend's Project Reports

# Receipts: A Local AI-Powered Project Claim Verifier My friend was working on project documentation where the README, configuration, results, and datasets could easily drift apart. Instead of manually checking every number and configuration value, Receipts provides a quick, auditable report showing which claims are supported and which need attention. Project folders can contain coursework, datasets, configuration files, and other information that shouldn't automatically be uploaded to a cloud AI provider. Receipts uses Gemma locally through Ollama, so: Project data stays on the machine. No cl

0
ProgrammingDEV Community ·

French language learning companion

This is a submission for the Hacktoberfest Weekend Challenge: Build for a Friend I built French Language Companion, a small AI-powered French learning tool for my younger brother, who struggles with French grammar and spelling. The idea is to make practice more personal and interactive. Instead of only giving static exercises, the application uses AI to generate French practice based on the learner's level, check answers, and provide explanations and rules. The current interface lets the learner choose a level and a practice area such as Grammar or Orthography. / french-language-companion 🌱 A

0
ProgrammingDEV Community ·

The Localhost Times: a private morning newspaper, printed on your laptop by Gemma 4

This is a submission for the Hacktoberfest Weekend Challenge: Build for a Friend In 1995, Nicholas Negroponte imagined "The Daily Me": a newspaper edited for exactly one reader. Thirty years later we got the opposite: a dozen apps, each fighting for the first ten minutes of our morning. My friend starts every day the same way, half awake with a toothbrush in hand. Open Gmail. Open the calendar.

0
ProgrammingDEV Community ·

Backend Metrics Dashboard Signal Triage for Cron Jobs and API Failures

Use a backend metrics dashboard for cron jobs, API failures, and bounded business events, then add a separate heartbeat monitor for every nightly pipeline deadline. The deciding constraint is signal quality: metrics can count completed and failed runs, but they cannot report a job that emitted nothing because it never started. TL;DR: chart successes, failures, duration, backlog, and business-event counts; enrich failure investigation with error records and searchable logs; send one dead-man's-switch heartbeat only after the complete healthtech batch commits. Keep the heartbeat outside the metr

0
ProgrammingDEV Community ·

HandNotes: teaching an open model to read my friend's handwriting, on his own laptop

This is a submission for the Hacktoberfest Weekend Challenge: Build for a Friend My friend writes down everything in class. Every lecture, every assignment, page after page. The problem shows up the night before an exam: he photographs his notes, uploads them to an AI chatbot, asks for a summary, and gets nothing useful back. It can't read his handwriting. When I ran his pages through a vision model myself, I found something worse than "can't read it".

0
ProgrammingDEV Community ·

How well do player projections predict team wins? I froze MLB 2026 first, then checked

Every spring there are plenty of "how many games will each team win" projections. Most of them build a forecast for each player and add the players up by team. I had long wondered how well that actually works. So I built one of my own and checked it against the 2026 MLB season. I froze the projections in a repository before looking at the results, so nothing could be adjusted afterwards.

0
ProgrammingDEV Community ·

Explainable Causal Reinforcement Learning for satellite anomaly response operations with zero-trust governance guarantees

Explainable Causal Reinforcement Learning for satellite anomaly response operations with zero-trust governance guarantees Introduction: A Signal in the Noise Last year, while deep in a late-night experiment with a multi-agent reinforcement learning (RL) system, I hit a wall that fundamentally changed how I think about autonomous decision-making. I had built a small constellation simulator—twelve virtual satellites, a ground station, and a policy network trained to respond to telemetry anomalies. The agent worked beautifully in simulation. It rerouted power, reconfigured payloads, and recovered

0
ProgrammingDEV Community ·

Chad Vocab: Vocabulary practice with local Gemma!

This is a submission for the Hacktoberfest Weekend Challenge: Build for a Friend Chad Vocab is a self-hosted vocabulary trainer I built for Chad, a friend who is learning Polish. He is able to enter his own language pairs, or photograph a text book page, which gets converted into a vocabulary deck. He can make other language pairs and other decks, if needed. In this demo, he gets English cues and answers in Polish — by typing or speaking. Near-miss answers are graded by an open-weight Gemma model running locally through LM Studio.

0
ProgrammingDEV Community ·

NoPlanB: An AI Execution Engine to Cure Productive Procrastination

For the Hacktoberfest 2026 Weekend Challenge ("Build for a Friend"), I decided to tackle a problem that has paralyzed a close friend of mine for years: Productive Procrastination. My friend has an incredibly elaborate Obsidian vault. They have nested folders for 2026 goals, 5-year plans, and daily habits. They spend hours organizing these notes, researching the "best backend frameworks," and restructuring their markdown files. But when it comes time to actually sit down and write code?

0
ProgrammingDEV Community ·

Total Draw App Seeks Optimal Color Blending Method: Gamma, Linear, or Perceptual for Accurate Mixing

Introduction Total Draw, a popular drawing app known for its intuitive interface and robust features, has recently faced a critical challenge: inaccurate and visually unappealing color mixing. This issue has sparked a deep dive into the technical underpinnings of color blending methods, specifically the trade-offs between gamma-based, linear-based, and perceptual-based approaches. The choice isn’t merely academic—it directly impacts user satisfaction and the app’s competitive edge in a market where digital artists demand high fidelity and realism. The problem surfaced through a combination of

0
ProgrammingDEV Community ·

Just Pick For Me: A Restaurant Picker for My Mom That Runs Entirely in Her Browser

This is a submission for the Hacktoberfest Weekend Challenge: Build for a Friend My mom has the hardest time picking a restaurant, and I'm not much help either. It's not that there are too many places, or not enough. We just can never figure out what we want, so it always ends with "just pick someplace." Just Pick For Me was born from that. Instead of showing her a long list, it asks four easy "this or that" questions (sit down or grab-and-go, light or hearty, familiar or something new, close by or worth a drive), finds real places nearby, and picks one for her with a short, friendly reason wh

← NewerPage 649 of 3151Older →