Gladio - Fernando Pessoa

GLÁDIO Deu-me Deus o seu gládio, porque eu faça A sua santa guerra. Sagrou-me seu em honra e em desgraça, Às horas em que um frio vento passa Por sobre a fria terra. Pôs-me as mãos sobre os ombros e doirou-me A fronte com o olhar; E esta febre de Além, que me consome, E este querer grandeza são seu nome Dentro em mim a vibrar. E eu vou, e a luz do gládio erguido dá ...

May 4, 2025 · 1 min · 101 words · Fernando Pessoa

System Deployment

System Deployment: A Practical Guide for Developers System deployment is how you move your code from “it works on my machine” to serving real users safely, repeatably, and fast. Done well, deployments become boring: predictable, observable, and reversible. This guide covers the essentials—from packaging and pipelines to rollout strategies and post-deploy verification—so you can ship with confidence. What “Deployment” Really Means Deployment is the automated process of: Building a reproducible artifact (e.g., container image) Provisioning or updating infrastructure Configuring the runtime environment Releasing the new version with minimal risk Verifying, monitoring, and rolling back if needed Key principles: ...

April 27, 2025 · 8 min · 1664 words · Me

The 10 Most Common Software Vulnerabilities (and How to Prevent Them)

The 10 Most Common Software Vulnerabilities (and How to Prevent Them) Shipping fast is great. Shipping safely is essential. This guide walks through ten high‑impact vulnerabilities developers see again and again (think SQL injection, XSS, and friends), with practical examples and prevention tips you can apply today. These closely align with the OWASP Top 10 and are written for intermediate developers who want clear, actionable guidance. 1) Injection (SQL/NoSQL/Command) What it is: Untrusted input ends up as executable code or commands. Variants include SQL, NoSQL, OS command, LDAP, and template injection. ...

April 20, 2025 · 8 min · 1538 words · Me

Security, Security and... Security

Practical Security for Developers: A Field Guide Security is a broad, moving target. This guide focuses on core concepts you’ll actually use: keys, hashes, signatures, certificates, TLS/SSL, authentication and authorization (including OAuth), firewalls, and practical tooling with OpenSSL and PGP. It’s aimed at intermediate developers who build and operate networked applications. Contents Security fundamentals (CIA, threat model) Cryptography building blocks Symmetric keys and ciphers Public-key cryptography Hashing and HMAC Digital signatures Digital certificates, Root CAs, and the chain of trust SSL/TLS and the TLS handshake Secure network protocols Authentication vs Authorization (OAuth, OIDC, RBAC) Firewalls and network security PGP and the web of trust Key management and secret handling Threats and mitigations OpenSSL and GPG quick recipes Checklists and common pitfalls Security fundamentals CIA triad: Confidentiality: prevent unauthorized disclosure (encryption). Integrity: prevent unauthorized modification (MACs, signatures). Availability: keep systems usable (redundancy, rate limits, DDoS protection). Threat modeling: identify assets, adversaries, entry points, trust boundaries, and mitigations (STRIDE: Spoofing, Tampering, Repudiation, Information Disclosure, DoS, Elevation). Cryptography building blocks Randomness: Use cryptographically secure RNGs for keys/nonces (e.g., /dev/urandom, crypto libraries). Keys: Symmetric (one key) vs Asymmetric (public/private pair). Primitives: Encryption: confidentiality. MAC/HMAC: integrity with shared secret. Signatures: integrity + origin with private key. Hash: fixed-size digest; no secret. Symmetric keys (how they work) You and the recipient share the same secret key. Fast and suitable for bulk data; used inside TLS after key exchange. Common algorithms/modes: ...

April 13, 2025 · 10 min · 2057 words · Me

REST vs. gRPC Part2

REST vs gRPC: The Pragmatic, Developer-Friendly Guide TL;DR REST is universal, human-friendly, cacheable, and ideal for public APIs and browser clients. It uses HTTP semantics with resource-oriented design and JSON by default. gRPC is fast, strongly typed, and streaming-friendly—great for internal microservices and low-latency mobile/IoT. It uses HTTP/2 (or HTTP/3 in some stacks) and Protocol Buffers (Protobuf). Use REST for broad reach, compatibility, and simple CRUD; use gRPC for high-throughput, low-latency, streaming, or strongly typed interfaces across polyglot services. Hybrid patterns—REST for public, gRPC internally—often deliver the best of both worlds. Contents ...

April 6, 2025 · 16 min · 3394 words · Me

REST vs. gRPC

REST vs. gRPC: Understanding the Differences and Choosing the Right Protocol As the landscape of application development continues to evolve, so too do the communication protocols that software developers rely upon. Two primary contenders in the realm of remote procedure call (RPC) architectures today are REST (Representational State Transfer) and gRPC (Google Remote Procedure Call). Both are powerful in their right and cater to different use cases based on project requirements. This article delves into the core differences between REST and gRPC, examining their strengths, weaknesses, and when to use each. ...

March 30, 2025 · 5 min · 967 words · Me

Software Architecture & Technology of Large-Scale Systems

Understanding Software Architecture & Technology of Large-Scale Systems In the ever-expanding world of software development, creating applications that can support millions of users and handle large data volumes is a challenging task. When we’re talking about large-scale systems, we’re not just referring to an application’s size but also its complexity and ability to scale efficiently. This article will delve into the software architecture and technologies essential for building large-scale systems, exploring everything from architectural patterns to technology stacks and best practices. ...

March 23, 2025 · 6 min · 1129 words · Me

Agentic AI

Understanding Agentic AI: A Comprehensive Exploration Agentic AI is a captivating concept at the intersection of artificial intelligence and cognitive science, transcending traditional AI systems with its focus on autonomy, initiative, and decision-making capabilities. In this article, we’ll delve into what defines Agentic AI, its theoretical foundations, practical applications, associated challenges, and future directions. Whether you’re a developer keen on the latest AI paradigms or simply curious about the evolution of intelligent systems, this comprehensive guide will give you a solid grounding in Agentic AI. ...

March 16, 2025 · 6 min · 1083 words · Me

Base vs Instruct Variants

Understanding Base vs Instruct Variants in Machine Learning Models As machine learning continues to evolve, developers frequently encounter different model variants suited for diverse tasks. Two common types you’ll often come across are base models and instruct models (also known as instruct-tuned models). Understanding the key differences between these variants can help you better select and tailor models for specific applications. In this blog post, we will take a closer look at these two variants, exploring their unique characteristics, applications, and nuances. ...

March 9, 2025 · 4 min · 648 words · Me

Fine-Tuning ChatGPT

Fine-Tuning a Closed Source LLM like ChatGPT: A Step-by-Step Guide In the realm of machine learning, fine-tuning a language model can significantly enhance its ability to perform specific tasks or understand particular contexts. In this blog post, we’ll explore how to fine-tune a closed-source language model like OpenAI’s ChatGPT. While direct access to the model’s parameters isn’t available as it might be with open-source models, fine-tuning it using your own dataset is still achievable. ...

March 2, 2025 · 4 min · 740 words · Me