habrahabr
Как быстро написать API на FastAPI с валидацией и базой данных

Все веб-запросы обрабатываются на сервере — это хорошо всем известно. Но бывает, когда нужно написать специальный программный интерфейс, так называемый API, через который пользователи смогут централизованно получать данные и вносить изменения, например, в свой профиль. В этой статье мы разработаем простой API с помощью самого популярного стека и FastAPI. Рассмотрим важные концепции в работе с этим фреймворком, набросаем базовую структуру проекта и развернем приложение на облачном сервере. П…

  • понедельник, 4 марта 2024 г. в 00:00:18
habrahabr
Я уже 14 лет в отрасли, но программировать по-прежнему сложно

Много лет назад, учась computer science на старших курсах, я долго изучал различные вакансии онлайн, надеясь найти подходящую должность стажёра-программиста.Кроме вакансий для стажёров я иногда случайно нажимал на объявления о вакансиях «сеньор-разработчика». Помню, больше всего меня поражало то, что первой строкой шло требование определённого количества лет работы: «Эта должность требует 5+ лет опыта».Полному новичку, ни дня не проработавшему в этой отрасли, такие требования к опыту казались …

  • понедельник, 4 марта 2024 г. в 00:00:18
golang
Где искать работу Go разработчику в 2024 году

В поисках работы и фриланс-проектов для разработчиков Golang в 2024 году могут возникнуть некоторые сложности, особенно для новичков. Часто они сталкиваются с дилеммой: не знают, с чего начать, и чувствуют, что устроиться на работу в этой сфере практически невозможно. Однако стоит помнить, что первую работу найти может быть непросто, но если приложить усилия и старания, то все возможно. Давайте рассмотрим список ресурсов, где регулярно публикуются вакансии и фриланс проекты для Go разработчико…

  • понедельник, 4 марта 2024 г. в 00:00:16
github
jafioti / luminal

Deep learning at the speed of light.luminal Deep learning at the speed of light. Luminal is a deep learning library that uses composable compilers to achieve high performance. use luminal::prelude::*; // Setup graph and tensors let mut cx = Graph::new(); let a = cx.tensor::<R2<3, 1>>() .set([[1.0], [2.0], [3.0]]); let b = cx.tensor::<R2<1, 4>>() .set([[1.0, 2.0, 3.0, 4.0]]); // Do math... let mut c = a.matmul(b).retrieve(); // Compile and run graph cx.comp…

  • понедельник, 4 марта 2024 г. в 00:00:11
github
adrianhajdin / brainwave

Learn to create modern websites with sleek parallax effects and bento box layouts. This course covers everything from stylish UI design to mobile-first principles while strengthening your React.js and Tailwind CSS skills. Modern UI/UX website Build this project step by step with our detailed tutorial on JavaScript Mastery YouTube. 📋 Table of Contents 🤖 Introduction ⚙️ Tech Stack 🔋 Features 🤸 Quick Start 🕸️ Snippets 🔗 Links 🚀 More 🚨 …

  • понедельник, 4 марта 2024 г. в 00:00:10
github
bigcode-project / starcoder2

Home of StarCoder2!StarCoder 2 [🤗 Models & Datasets] | [Paper] StarCoder2 is a family of code generation models (3B, 7B, and 15B), trained on 600+ programming languages from The Stack v2 and some natural language text such as Wikipedia, Arxiv, and GitHub issues. The models use Grouped Query Attention, a context window of 16,384 tokens, with sliding window attention of 4,096 tokens. The 3B & 7B models were trained on 3+ trillion tokens, while the 15B was trained on 4+ trillion tokens. …

  • понедельник, 4 марта 2024 г. в 00:00:09
github
vercel / ai

Build AI-powered applications with React, Svelte, Vue, and SolidVercel AI SDK The Vercel AI SDK is a library for building AI-powered streaming text and chat UIs. Features React Server Components API for streaming Generative UI SWR-powered React, Svelte, Vue and Solid helpers for streaming text responses and building chat and completion UIs First-class support for LangChain and OpenAI, Anthropic, Cohere, Hugging Face, Fireworks and Replicate Node.js, Serverless, and Edge Runtime support Callbac…

  • понедельник, 4 марта 2024 г. в 00:00:08
github
ente-io / ente

Fully open source, End to End Encrypted alternative to Google Photos and Apple Photos Fully open source end-to-end encrypted photos, authenticators and more. Ente Ente is a service that provides a fully open source, end-to-end encrypted platform for you to store your data in the cloud without needing to trust the service provider. On top of this platform, we have built two apps so far: Ente Photos (an alternative to Apple and Google Photos) and Ente Auth (a 2FA alternative to the deprecated A…

  • понедельник, 4 марта 2024 г. в 00:00:07
github
pydantic / FastUI

Build better UIs faster.FastUI Please note: FastUI is still an active work in progress, do not expect it to be complete. The Principle (short version) You can see a simple demo of an application built with FastUI here. FastUI is a new way to build web application user interfaces defined by declarative Python code. This means: If you're a Python developer — you can build responsive web applications using React without writing a single line of JavaScript, or touching npm. If you're a…

  • понедельник, 4 марта 2024 г. в 00:00:05