Zum Hauptinhalt springen
tsecurity.de LIVE
Echtzeit-Radar & Feeds
Alle RSS Feeds
👥 Community & Social
Sichere ProgrammierungKI half beim Finden: iOS 27 schließt mehr als 100 Sicherheitslücken(21.09.2026 um 06:00 Uhr)
Sichere ProgrammierungWhat Is Rowhammer? How Can Repeated Memory Access Flip Bits in RAM?(21.09.2026 um 07:12 Uhr)
Sichere Programmierungnpm publish Ignores .gitignore: The .npmignore Override Rule(21.09.2026 um 07:15 Uhr)
Sichere ProgrammierungAphelion Editor - A free node-based video / VFX editor(21.09.2026 um 07:21 Uhr)
Sichere ProgrammierungGovernance Attack Surface Review: OKX(21.09.2026 um 07:31 Uhr)
Sichere ProgrammierungJSM Portal Request Create Property Panel Submit(21.09.2026 um 07:34 Uhr)
Reverse Engineeringsearch instructions assembly easy (X86,RISCV,AARCH64,etc)(20.09.2026 um 15:44 Uhr)
Sichere ProgrammierungKI half beim Finden: iOS 27 schließt mehr als 100 Sicherheitslücken(21.09.2026 um 06:00 Uhr)
Sichere ProgrammierungWhat Is Rowhammer? How Can Repeated Memory Access Flip Bits in RAM?(21.09.2026 um 07:12 Uhr)
Sichere Programmierungnpm publish Ignores .gitignore: The .npmignore Override Rule(21.09.2026 um 07:15 Uhr)
Sichere ProgrammierungAphelion Editor - A free node-based video / VFX editor(21.09.2026 um 07:21 Uhr)
Sichere ProgrammierungGovernance Attack Surface Review: OKX(21.09.2026 um 07:31 Uhr)
Sichere ProgrammierungJSM Portal Request Create Property Panel Submit(21.09.2026 um 07:34 Uhr)
Reverse Engineeringsearch instructions assembly easy (X86,RISCV,AARCH64,etc)(20.09.2026 um 15:44 Uhr)
Intelligence View
⚡ tsecurity.de Intelligence

Power of Agent assisted coding and learning to achieve goals faster and cheaper

Reagiere als Erste:r — dein Feedback zählt!

Today in tech there are a lot of AI skeptics saying that AI is opening Pandora’s box for security, performance, and maintainability issues because engineers rely on agent-assisted (a.k.a. vibe) coding.

Partially this makes sense, but the blame is often misplaced. Good engineers know how to benefit from new technologies and how to adapt to a changing technology market.

In this post, I will show you how I used AI to design a solution that helped me:

  • Achieve my goal in a very short time
  • Work with limited resources
  • Move forward despite limited domain knowledge

Goal and Background

I already knew about open data from OpenStreetMap.

I also knew about the tool https://osm2pgsql.org, which can import OSM data into PostgreSQL with PostGIS.

Even before LLMs were popular, I tried to run such imports on a cheap VPS with limitations like importing only one country or one continent.

I always ended up with out-of-memory errors, even when importing a single large country. The VPS had around 16 GB RAM plus NVMe swap.

After researching, I discovered that importing the whole world usually requires 64–128 GB RAM,which is extremely expensive for a VPS.

But my goal was never to store everything.

I only needed:

  • Hotel/accommodation data

- Nearby POIs

So I could build tools to help me choose vacation destinations.

Original Architecture Idea (That Demotivated Me)

My initial idea was:

  1. One server with PostGIS + osm2pgsql
  2. Import one country
  3. A second server with a final relational database
  4. A service that extracts only hotels + POIs into the final DB

However, this required:

  • Lua scripting
  • Advanced SQL
  • Deep PostGIS knowledge

None of this is impossible, but the amount of work felt huge compared to my simple goal.
So I abandoned the idea.

Enter AI

Everything changed when I started using AI for coding and learning.I revived my idea with AI-assisted development. I started with the cheapest Claude Code subscription, but quickly upgraded once I saw how fast I was progressing.

Step 1: Infrastructure

I rented a VPS with:

  • 24 GB RAM
  • 8 vCPU cores
  • 200 GB NVMe disk

Cost: < 20 EUR/month

In hindsight, even 16 GB would probably be enough.

I installed:

  • Docker
  • Dokploy

Step 2: osm2pgsql + Lua Schema

Claude Code helped me generate:

  • A Docker Compose setup for osm2pgsql
  • Lua scripts that define only the tables I care about

Example table definition:

-- Accommodations (hotels, hostels, guest houses, etc.) local accommodations = osm2pgsql.define_table({ name = 'accommodations', ids = { type = 'any', id_column = 'osm_id', type_column = 'osm_type' }, columns = { { column = 'name', type = 'text' }, { column = 'tourism', type = 'text' }, { column = 'stars', type = 'int4' }, { column = 'rooms', type = 'int4' }, { column = 'website', type = 'text' }, { column = 'phone', type = 'text' }, { column = 'email', type = 'text' }, { column = 'wheelchair', type = 'text' }, { column = 'internet_access', type = 'text' }, { column = 'swimming_pool', type = 'text' }, { column = 'sauna', type = 'text' }, { column = 'country', type = 'text' }, { column = 'tags', type = 'jsonb' }, { column = 'geom', type = 'geometry', projection = 4326 } } })

This drastically simplified the PostGIS schema.

Why I Use --create Mode

osm2pgsql is always started with --create mode.

That means:

  • Each run wipes the PostGIS database
  • Imports exactly one country
  • The container stops after finishing

Why?
Because PostGIS here is just a temporary staging database.

Step 3: Second Server (Final Relational DB)

On another VPS I run:

  • PostgreSQL
  • A simple schema with tables like hotels
  • Fields like distance_to_beach, beach_type, etc.

This database is optimized for my application queries.

Step 4: Webhook-Based Automation

Flow:

  1. osm2pgsql finishes importing a country
  2. Docker Compose runs a small curl command
  3. A webhook is sent to the second server with the country code

On the second server:

  • A Bun.js controller receives the webhook
  • It triggers a CLI script on worker
  • The script queries PostGIS tables
  • Inserts normalized hotel data into the final PostgreSQL database

The entire script was generated by AI and works great.

Step 5: Automatic Loop

After the CLI import finishes:

  • I call the Dokploy REST API
  • Start the osm2pgsql container again

Claude Code built the Compose file in an idempotent way:

  • It tracks already imported countries
  • Automatically picks the next one

Result:

A fully automatic country-by-country pipeline.

Final Result

I now have:

  • No monster servers
  • No 128 GB RAM
  • Fully automatic imports
  • A clean relational hotel database

Time to build: ~2 days

Monthly cost: ~30 EUR (2 VPS + Claude Code subscription)

Closing Thoughts

AI did not replace engineering it just gives you superpowers and you have to learn how to control it. And don't forget that you still have to:

  • Design the architecture
  • Validate assumptions
  • Debug issues
  • And the most important - have interesting ideas.
Ähnliche Beiträge
🔍 Verwandte News

Auch interessante Nachrichten Power of Agent assisted coding and learning to achieve goals faster and cheaper

Thematisch verwandte Begriffe: Power, Agent, assisted, coding · 6 Treffer

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Zum Aktualisieren ziehen
ZERO-DAY CVE-2026-94030 | A security vulnerability has been detected in SerenityOS up to 3d83e4509…
Advisory →
TTS Reader • tsecurity.de Voice
tsecurity.de Icon
tsecurity.de App
Offline-Lesen, Eilmeldungen & 0ms Ladezeit

Installiere tsecurity.de direkt auf deinen Home-Bildschirm für das ultimative Vollbild-Magazinerlebnis ohne Browser-Leisten.

Nächster Beitrag
Themen-Radar & Intelligence Matrix
Echtzeit-Taxonomie nach Angriffsvektoren & Plattformen

tsecurity.de Live Threat Radar

🔴 LIVE RADAR
MONITORING
AKTIV
CVE-DATENBANK
LIVE
🔍
Community Radar & Live Chat
Sentinel Bot online • Live-Stream
Dein Cluster: Security Explorer
Match:
lädt…
Verbindung zum Community-Stream wird aufgebaut...
Bearbeitungsmodus — Senden überschreibt deine Nachricht
Community-Puls — was gerade passiert
lädt…
Aktivitäten deiner Analysten
lädt…
Neues Thema oder Eilmeldung einreichen

Reiche interessante Links, Zero-Days oder Debatten ein. Die Community entscheidet per Upvote über die Veröffentlichung.

Heiß diskutierte Einreichungen
🔖 Gespeicherte Artikel
📂 Keine gespeicherten Artikel vorhanden.
Zurück Ziehen Vor
Links: vorheriger Artikel Rechts: nächster Artikel unten: schließen
News NIS-2 Frühwarnung Tier-1 Intel ⏱️ 3 Min vor 10 Min
Artikeldaten werden geladen...

Zurück: vorheriger Vor: nächster
↗ Original-Quelle
Social Reaktionen Deine Reaktion zählt
Einstufung & Relevanz-Poll 0 Stimmen
In sozialen Netzwerken teilen 1-Klick