Programming & AI Tips πŸ’‘
46.5K subscribers
67 photos
11 videos
30 files
368 links
Programming & AI:
Tips πŸ’‘
Articles πŸ“•
AI & LLMs πŸ‘Ύ
Design, Architecture, Principles βœ…

πŸ‡³πŸ‡± Contact: @MoienTajik
Download Telegram
GraphQL πŸ”₯

A query language for your API πŸ’Ž

GraphQL is a query language for APIs and a runtime for fulfilling those queries with your existing data.

GraphQL provides a complete and understandable description of the data in your API,
gives clients the power to ask for exactly what they need and nothing more,
makes it easier to evolve APIs over time,
and enables powerful developer tools.

http://graphql.org/
https://scaphold.io/
γ€°γ€°γ€°γ€°γ€°γ€°
#GraphQL #API
@ProgrammingTip
JSON Server πŸ”₯

Get a full fake REST API with zero coding in less than 30 seconds (seriously) πŸ™‹πŸ»β€β™‚οΈ

Created with β™₯️ for front-end developers who need a quick back-end for prototyping and mocking. πŸ› 

https://github.com/typicode/json-server

Fake Online REST API for Testing and Prototyping :
http://jsonplaceholder.typicode.com/

#API #JSON #Mocking
@ProgrammingTip
Master Your API Workflow with Postman πŸ”Έ

They’re doing a great job by providing an integrated environment for different components of an API, like authorization, testing, documentation, versioning. πŸ’Ž

https://www.sitepoint.com/master-api-workflow-postman/

#API #Postman
@ProgrammingTip
API Feature Folders ⚑️

In ASP.NET Core (and unlike ASP.NET 5 / Web API 2), Web API controllers are just controllers. πŸ—‚

You don’t need to inherit from a different base type or anything like that. ❌

What’s more, your API controllers should be returning DTOs that are separate from your underlying domain or data model. ↔️

What I’ve found to be a better organization is to do away with the Controllers folder (or keep it around if you’re using view-based controllers) and instead use feature folders for your APIs. πŸ’Ž

I’m partial to having a root level API folder but if you’d prefer to put your features in the root of the project that would work, too. πŸ‘πŸ»

Within each feature folder, you include the controller along with any model types it needs to work with, like this πŸ‘Ύ :

https://t.me/pgimg/124

Obviously one benefit of this approach is that it’s more cohesive. βœ…

Things that change together are located physically next to one another, and the friction involved in moving between different folders with too many files in them is greatly reduced. βœ‚οΈ

Another nice thing about this approach is that it just works. Unlike view-based controllers, you don’t need to change anything about how ASP.NET Core is configured to have this organization structure work for you. ✨


[ Article ] : bit.do/apif

γ€°γ€°γ€°γ€°γ€°γ€°
#AspMvc #Core #API
@ProgrammingTip
Auto Rest ✨

OpenAPI
(f.k.a Swagger) Specification code generator. πŸ’Ž

Supports C#, Go, Java, Node.js, TypeScript, Python, Ruby and PHP. πŸ”₯

The AutoRest tool generates client libraries for accessing RESTful web services. ⚑️

Input to AutoRest is a spec that describes the REST API using the OpenAPI Specification format. βœ…


https://t.me/pgimg/187

[ Introduction ] : kutt.it/ares
[ Github ] : github.com/Azure/autorest

〰️〰️〰️〰️〰️〰️
#Rest #API #OpenAPI #Swagger
@ProgrammingTip
Newsletter πŸ—ž

In this newsletter, we will talk about the following:

β€’ Retry patterns ♻️

β€’ Evolution of the Netflix
API architecture πŸ”

β€’ How does stop loss work❓

β€’ Chaos Engineering 🀯



[ Article ] : https://kutt.it/newsletter1

〰️〰️〰️〰️〰️〰️
#Newsletter #Retry #Chaos_Engineering #API_Gateway
@ProgrammingTip
GPT-Live-1 is in the OpenAI API πŸš€

OpenAI put GPT-Live-1 in the API. Out of preview. You can call it.

Same full-duplex voice ChatGPT already uses. It listens and talks at the same time, then hands reasoning and tools to a backend model or agent.


What shipped:
βœ… Full-duplex voice sessions you can wire into an app
βœ… Pair it with whatever backend model, tools, or agent you already run
βœ… Built for interruption and overlap, not a turn-detector kludge

You keep your existing model for thinking. GPT-Live-1 is the ears and mouth.

If you ship voice agents, this is the post. Not the GPT-6 Astra work page.

[ Read More ] :
https://openai.com/index/introducing-gpt-live-1-in-the-api

〰️〰️〰️〰️〰️〰️
#AI #API #LLM
@ProgrammingTip
Gemini 3.8 Live is generally available πŸš€

Google moved Gemini 3.8 Live and Gemini 3.8 Live Extended Thinking to general availability in the Gemini API.

These are the real-time audio models exposed through the Live API. Live is for the voice path: streaming audio in, streaming audio out, and handling a conversation without bolting together STT, an LLM call, and TTS yourself.

What to check:

β€’ Gemini 3.8 Live: the lower-latency voice model.
β€’ Extended Thinking: use it when the spoken request needs more reasoning before the reply.
β€’ GA status: worth revisiting if you held off on a preview-only voice feature.

For .NET teams, this is a good fit for a streaming WebSocket service, not a request-response controller.

[ Read More ] :
https://ai.google.dev/gemini-api/docs/changelog

γ€°γ€°γ€°γ€°γ€°γ€°
#AI #Gemini #LLM #API
@ProgrammingTip
GPT-6 Sol and GPT-6 Luna are in the API πŸš€

OpenAI shipped GPT-6 Sol and GPT-6 Luna for API developers, alongside their availability in Codex and ChatGPT.

This is a two-model release, so do not blindly swap your existing production model. Put both behind the same eval set first: tool calls, structured output, long-context retrieval, refusal behavior, and latency under your real prompt size.

What to do this week:

β€’ Add Sol and Luna as versioned model options in your config.
β€’ Run replay traffic against a fixed golden set.
β€’ Log model ID, token use, tool errors, and task success separately.

A model migration is an engineering change, not a dropdown change.

[ Read More ] :
https://openai.com/index/introducing-gpt-6-sol-and-luna/

γ€°γ€°γ€°γ€°γ€°γ€°
#AI #OpenAI #LLM #API
@ProgrammingTip