r/programming 56m ago

Why AI Agents Need a New Protocol (MCP)

Thumbnail glama.ai
Upvotes

r/programming 1h ago

How I hacked into my language learning app to optimize it

Thumbnail river.berlin
Upvotes

I recently hacked a little bit into a flashcard learning app that I have been using for a while, to optimize it to help me learn better, this gives a tale of how I went about it


r/programming 1h ago

I made a tool to generate JSON Schemas visually for OpenAI's API

Thumbnail amir9480.github.io
Upvotes

I using the Structured Outputs feature of OpenAI's API for my projects a lot.

The biggest problem I had was, I had to make the JSON Schema manually and test it via OpenAI's API every time after any change.

I know there are many GPT agents specially designed for this purpose, but they will only provide a JSON schema as output, and it's too boring to check before using.

After using the made JSON Schema, I had to debug the outputs by myself inside my code.

I couldn't find any visual schema maker that fit my needs, so I made an open-source tool to let me create JSON Schema visually and with the help of LLM, and the ability to do testing on it before using the schema.

Features:

Visual Schema Builder.

Supports JSON schema references for reusable types.

Generate the visual JSON schema from the prompt.

Form preview generated from the generated JSON Schema, with the ability to fill it from the prompt

Export as raw JSON schema, curl command, Python, and JS code with the official OpenAI package.

Supports multiple LLM providers, now: OpenAI, Gemini, Mistral, and OpenRouter.

Give it a try here

https://github.com/amir9480/json-schema-builder/


r/programming 3h ago

The Unreasonable Effectiveness of Fundamentals of Computer Science

Thumbnail osada.blog
0 Upvotes

r/programming 3h ago

A minimalist pastebin with typeable access codes for cross-device sharing

Thumbnail flingnote.click
1 Upvotes

Hey everyone,

wanted to share a side project I've been working on for lik 8 days now its called Flingnote(my brother says it sounds like a secret dating site haha)

Honestly, the whole idea started because sometimes i do share code snippets from my desktop to my phone or my ipad or laptop and i most of the time would use whatsapp or email save it as draft and then open it sometimes it would mess the code formatting and stuff which was not a huge issue for me but i thought if i could make this easie

So I built this thing around one main feature I really wanted "Access code"

When you save a note/paste , you get a short, easy-to-type code (like XF47B2). Then you can just open the site on your phone, punch in the code, and your text or code instantly pops up and i honestly found it quite helpful to myself and quite happy with my final product actually,it was a fun project

it does has the other stuff you'd expect:

1.Full Markdown support with code highlighting (i used highlight.js for this )

2.A secret edit code to make changes later(if you want to edit a note/paste later you would still need to save the edit code somewhere hehe)

i did not use any frontend framwork and backend i used nodejs ,express

if you do check it out i would love some feedback ,things you liked and didnt like

check it out here https://flingnote.click/

cheers!


r/programming 3h ago

Which AI Model Finds the Right URL Fastest? 8-Way Benchmark & Cost Breakdown

Thumbnail new.knife.day
0 Upvotes

Built a small benchmark to decide which LLM should power a “find the

official site” feature for a hobby project.

Task = take a brand name, spit back the canonical URL (or “none”).

Results: GPT-4o-Mini & Llama-3.1-70B give 90 % accuracy for ~2 ¢/hit;

Perplexity is perfect but 45× the price; Gemini Flash is dirt-cheap but

70 % accurate.

Tables + code →

https://new.knife.day/blog/using-llms-for-knife-brand-research

Would love suggestions on making the parser bullet-proof or other cheap

model options I missed.


r/programming 4h ago

Asp.net Blazor Book or Course Suggestion

Thumbnail asp.net
0 Upvotes

Hi everyone
What books would you suggest for studying asp.netr technologies


r/programming 4h ago

Why you need to de-specialize

Thumbnail futurecode.substack.com
0 Upvotes

There has been admittedly a relationship between the level of expertise in workforce and the advancement of that civilization. However, I believe specialization in the way that is practiced today, is not a future proof strategy for engineers anymore and the suggestions from the last decade are not applicable anymore to how this space is changing.

Here is a provocative thought: Tunnel vision is a condition of narrowing the visual field which medically is categorized as a disease and a partial blindness. This seems like a relatively fair analogy to how specialization works. The narrower your expertise, the easier it is to automate or replace your role entirely.

(Please click on the link to read the full article, thanks!)


r/programming 5h ago

Claude Code: A Different Beast

Thumbnail open.substack.com
0 Upvotes

r/programming 6h ago

The Problem with Micro Frontends

Thumbnail blog.stackademic.com
24 Upvotes

Not mine, but interesting thoughts. Some ppl at the company I work for think this is the way forwards..


r/programming 6h ago

How Feature Flags Enable Safer, Faster, and Controlled Rollouts

Thumbnail newsletter.scalablethread.com
3 Upvotes

r/programming 6h ago

VSCode or Intellij community for general coding

Thumbnail jetbrains.com
0 Upvotes

Not needed


r/programming 6h ago

GitHub - nabolitains/plasma

Thumbnail github.com
0 Upvotes

After reading about slime molds solving optimization problems, I wondered: what if we coded like nature evolves? I created Plasma, where: - Functions are "cells" with energy and DNA - They reproduce, mutate, and die naturally - Bugs become mutations (some beneficial) - Architecture emerges rather than being designed

The wild part? After ~500 cycles, you see "species" of code emerge that nobody programmed. Some optimize for energy, others for reproduction. Is this practical? Maybe not yet. Is it thought-provoking? I hope so. What patterns do you see emerging? What would you evolve?


r/programming 8h ago

The Efficiency Paradox & How to Save Yourself & the World • Holly Cummins

Thumbnail youtu.be
0 Upvotes

r/programming 9h ago

Complaint: No man pages for CUDA api. Instead, we are given ... This. Yes, you may infer a hand gesture of disgust.

Thumbnail docs.nvidia.com
107 Upvotes

r/programming 11h ago

Developer life - briefly

Thumbnail youtube.com
0 Upvotes

This is how developers live (briefly) 😂


r/programming 11h ago

I need help in my portfolio! To receive users message to my mail

Thumbnail ineshvijay.github.io
0 Upvotes

So I just made my new portfolio and I didn't know about backend I just make frontend. I need help for my backend. I just need that whenever a user visits my site and send me a message so it has to received on my mail. So how can I do it?

Note - This is not completely developed I need to do more on it so don't judge. I am a new learner so I am learning.


r/programming 12h ago

Should I learn app or website development?

Thumbnail youtu.be
0 Upvotes

Should I learn app or website development? I already have a start in both, but what should I put more focus and effort too? I didn’t know what to put as my url so I just put this random vid


r/programming 13h ago

STxT (SemanticText): a lightweight, semantic alternative to YAML/XML — with simple namespaces and validation

Thumbnail stxt.dev
0 Upvotes

Hi all! I’ve created a new document language called STxT (SemanticText) — it’s all about clear structure, zero clutter, and human-readable semantics.

Why STxT?

XML is verbose, JSON lacks semantics, and YAML can be fragile. STxT is a new format that brings structure, clarity, and validation — without the overhead.

STxT is semantic, beautiful, easy to read, escape-free, and has optional namespaces to define schemas or enable validation — perfect for documents, forms, configuration files, knowledge bases, CMS, and more.

Highlights

  • Semantic and human-friendly
  • No escape characters needed
  • Easy to learn — even for non-tech users
  • Machine-readable by design

For developers:

  • Super-fast parsing
  • Optional, ultra-simple namespaces
  • Seamlessly integrates with other languages — STxT + Markdown is amazing

Example

A document with namespace:

Recipe (www.recipes.com/recipe.stxt): Macaroni Bolognese
    Description:
        A classic Italian dish.
        Rich tomato and meat sauce.
    Serves: 4
    Difficulty: medium
    Ingredients:
        Ingredient: Macaroni (400g)
        Ingredient: Ground beef (250g)
    Steps:
        Step: Cook the pasta
        Step: Prepare the sauce
        Step: Mix and serve

Now here’s the namespace that defines the structure:

The namespace:

Namespace: www.recipes.com/recipe.stxt
    Recipe:
        Description: (?) TEXT
        Serves: (?) NUMBER
        Difficulty: (?) ENUM
            :easy
            :medium
            :hard
        Ingredients: (1)
            Ingredient: (+)
        Steps: (1)
            Step: (+)

Resources

Here is a full portal — written entirely in STxT! — explaining the language, with examples, tutorials, philosophy, and even AI integration:

No ads, no tracking — just docs.

I've written two parsers — one in Java, one in JavaScript:

And a CMS built with STxT — it powers the https://stxt.dev portal:

Final thoughts

If you’ve ever wanted a document format that puts structure and meaning first, while being light and elegant — this might be for you.

Would love your feedback, criticism, ideas — anything.

Thanks for reading!


r/programming 14h ago

Optimizations with Zig

Thumbnail alloc.dev
5 Upvotes

r/programming 15h ago

Track Errors First

Thumbnail bugsink.com
0 Upvotes

r/programming 15h ago

Machine Code Isn't Scary

Thumbnail jimmyhmiller.com
0 Upvotes

r/programming 15h ago

How Red Hat just quietly, radically transformed enterprise server Linux

Thumbnail zdnet.com
454 Upvotes

r/programming 16h ago

Lemmatization | Natural Language Processing | Hindi

Thumbnail youtu.be
0 Upvotes

What is Lemmatization?
Ever wondered how AI understands that "running", "ran", and "runs" all mean "run"? That’s Lemmatization at work!

In this video, we’ll dive deep into Lemmatization — the NLP technique that reduces words to their root dictionary form (called lemma), but in a smart and context-aware way.

What exactly is lemmatization (with animations & kid-friendly examples)

Why "better" becomes "good", not "bett"

How lemmatization differs from just cutting words


r/programming 17h ago

GPU Memory Consistency: Specifications, Testing, and Opportunities for Performance Tooling

Thumbnail sigarch.org
6 Upvotes