← Înapoi la Urmăritori

Cel mai recent articol

Ultima verificare

Urmăritori 0 urmăritori
Articole: 30
  1. Key Frontend Architectural Patterns for Complex Applications

    The most important programming-style and architectural decisions I make as a frontend (or full-stack) developer building a complex application: TypeScript types are the glue that holds the application together and ensure changes can be made quickly later…

  2. Edge Requests on Vercel? Essentially, they don't have a free tier

    I used to host the web app (SQLAI.ai) on Vercel and still do, but I moved the “app” portion to Cloudflare, given the much broader feature set and significantly lower price.

  3. Making Google Analytics and Partytown work: lazy-load thrid party libraries

    Partytown is a library dedicated to offloading third-party libraries such as tracking scripts to a web worker, i.e. downloading and executing them in the background.

  4. Loading a page in a server-side rendered app vs. static app

    The main advantage of server-side applications is that you can render large parts of applications on the server, where there is already access to the database and other configurations that do not exist on the user side without building an API logic.

  5. Use the Gemini API with OpenAI fallback in Typescript

    If you want to use Gemini’s public API, but at the same time have a safe fallback in case you have exhausted the rate limits, you can use the OpenAI TS/JS library and a few helper functions.

  6. Protect NextAuth.js input fields with Cloudflare Turnstile captcha

    Received a complaint email from Amazon SES (Simple Email Service) pointing out that my SES account could be closed because the complaint rate exceeded 0.51%.

  7. How I Avoid NextJS's Image Component and Host Larger Files Elsewhere to Save Costs

    If you want to keep your hosting costs low and not be forced to take the steep path from “Hobby” to “Pro”, avoid NextJS’s ‘Image’ component.

  8. Manage Key Binding Across React Components in a Larger App

    When I started building my application I used a routing-based structured and as the application evolved I transitioned – at least partially – to a domain-driven structure.

  9. Enable NextAuth to Work Across Subdomains

    By default NextAuth authenticates the domain provided by the NEXTAUTH_URL environmental variable and if it is on a sub domain like www.example.org also all domains below www like subdomain.www.example.org or subdomain.subdomain.example.org.

  10. Don't Overpay for Bandwidth

    After adding an embedded video to the landing page of my app I noticed bandwidth usage rose dramatically.

  11. Burnout is a depression

    Burnout is a modern euphemism for exhaustion depression.

  12. How well does OpenAI support different languages?

    In most examples I know, if not all, OpenAI uses English.

  13. Site Search

    Site search enables you to search on various sites directly from the browser’s search bar.

  14. Spending 699 Bucks on Google Ads as a Small Bootstrapped Startup

    I Started a small bootstrapped startup in the aftermath of corona after being stuck in home office for, well, years.

  15. Manage and Deploy Next.js Using Github Actions and VPS

    Next.js has become not only the leading framework for building React-powered web apps but also a simple way to develop and deploy JavaScript applications with less manual configuration.

  16. How to Test Loading and Error States With Server Components

    Server components enable you to render the entire pages on the server without messing around with API endpoints and data fetching logic.

  17. Reduce OpenAI token usage by 30% for included datasets

    Limiting OpenAI’s token usage isn’t merely desirable because it is cheaper and faster, but also because it increases the size of the overall context.

  18. You might not need an ORM

    While I was building aihelperbot.com I did what I imagine many developers do: I used an ORM for everything database related.

  19. Building a markdown blog using NextJS and server side components

    I wanted to add markdown blog to my NextJS app.

  20. Render vs Digitalocean pricing in 2023

    What does it cost to host a small web app on Render vs Digitalocean with Render’s new pricing model?

  21. Render's new dual track pricing scheme doubles hosting costs

    Render adopted a new pricing scheme for its services on 1st of January 2023.

  22. How to dynamically load Stripe with NextJS

    I was checking the performance of one of my web sites using Page Speed and noticed it complained about assets loading slowly as well as the initial response time from the server being a bit long (500ms-700ms range).

  23. Macbook Air M1

    I had no idea what would happen to me that day.

  24. Setup Sublime Editor for Writing

    Sublime Editor is build for writing and reading code.

  25. Redux is too complex

    Redux is a popular library used to manage global application state, at least the claim.

  26. Questions to ponder before a JS job interview

    It’s that time again where I have to prepare for job interviews.

  27. You don't need a boilerplate for Next.js and Prisma

    Originally the plan was to get familiar with Next.js and Prisma by making a simple boilerplate for it.

  28. Lightweight and flexible React hook to animate height change

    Hiding or showing a element with React is as simple as an if statement deciding whether to print it or not.

  29. AbortController with redux-thunk and redux-saga

    Features that allow users to fire multiple requests quickly — where only the latest request is relevant — should include an AbortController.

  30. Deploying Gatsby on a VPS

    Although it is clearly not in fashion at the moment, deploying websites on a VPS (virtual private server) or regular server for that matter, without any containerization and orchestration is both fast and easy.