OkayStudy
EN English 한국어 日本語 中文 हिन्दी বাংলা اردو Español Português Français Deutsch Русский العربية Bahasa Indonesia Tiếng Việt ไทย Türkçe

How to enable notifications

Notifications are unavailable in this browser or on this address. Try a supported browser on the secure SONUB site.

If notifications are blocked, allow them in your browser settings.

  1. Open the site controls beside the address bar, or your browser’s site settings. Set Notifications for this site to Allow.
  2. In your device settings, allow notifications for your browser and check Do Not Disturb or Focus.
  3. Return to SONUB, reload the page, and use the bell to enable notifications.

On iPhone or iPad, add SONUB to your Home Screen, open it there, then allow notifications.

All Vibe Coding topics

Web Server

Twenty lines of that a will talk to.

A web server is just a program that waits for a request and sends a response. Build one from 20 lines of bash and netcat, then move on to Caddy with HTTPS.

A clerk behind a small window listens to a queue of visitors (a laptop, a phone and a small robot), each holding a request note, with a looping arrow above the window.
A web is a clerk at a window: wait, read the request, hand back the page, and wait again.

What this server cannot do

The example is honest teaching material and a poor service. Knowing exactly why it falls short is what a real server has to solve for you.

  • One visitor at a time. handles a single connection, so while it is busy everyone else waits.
  • It ignores the path. Ask for anything at all and you still get — there is no and no second page.
  • It sends everything as . Images, stylesheets and downloads all need their own content type, and this server has exactly one.
  • No . Everything travels in the clear, so any in between can read it or change it on the way.
  • No safety at all. It never checks the size of a , never times out, and would happily read a file path someone else chose if you extended it carelessly.
So use it for what it is good at

Run it on your own machine to see HTTP with your own eyes, then use a real server for anything anyone else will visit. The next section is that real server — and it is barely harder to start than this one.

You mark this yourself. Nothing is graded here.

Mark this step as understood?

This cannot be undone yet, so mark it only when you really understand.

Marked as understood

You mark this yourself. Nothing is graded here.

Choose a pending booking to cancel. Each cancellation requires confirmation.

Your :

Close