Better HN
topnewbestaskshowjobs
Log inSign up

sensahin

10 karma · joined Aug 2, 2015 (11y ago) · 9 submissions

Submissions

comment 1y ago · link · parent

A couple of days ago I saw a post here where someone built a similar “add things into a room” demo.

I wondered how hard it would be to recreate it without touching code.

As an experiment, I used Codex with GPT‑5, gave it GitHub, Vercel, and GCP access, and asked it to build and deploy a minimal version.

How it works

Web: Next.js on Vercel. Users pick a room and type what to add (e.g., “add a lamp”).

State: Firestore stores room docs (paths, status, version).

Images: Google Cloud Storage holds original/current images.

Queue: API publishes edit requests to Pub/Sub.

Worker: Cloud Run worker fetches the current image, calls Gemini to add the requested object, writes back to GCS, and updates Firestore.

Live updates: The UI listens via SSE and refreshes when the version changes.

Admin: Panic switch (disable edits just in case if i go out of api credit or something), per‑room reset, “auto‑reset” with a countdown broadcast to rooms, and a banned‑words filter. Rate limiting per IP to avoid spam.

Infra odds‑and‑ends: simple presence via Firebase RTDB; GCS URLs as CDN.

I have some free Gemini credits from Google, so I’m keeping it open to see how it behaves in the wild: latency, error modes, costs, moderation edge cases, etc.

This is my first time watching a fully AI‑written codebase under real usage and load. Happy to answer questions or share more if people are curious.

2.

Imagestd(imagestd.com ↗)

1 points · by sensahin · 1y ago · 2 comments

comment 1y ago · link · parent

To provide its features, Cursor makes AI requests to our server. This happens for many different reasons. For example, we send AI requests when you ask questions in chat, we send AI requests on every keystroke so that Cursor Tab can make suggestions for you, and we may also send AI requests in the background for building up context or looking for bugs to show you.

4.

We send AI requests on every keystroke(cursor.com ↗)

3 points · by sensahin · 1y ago · 2 comments

comment 1y ago · link · parent

"What we are doing is adding a new distribution layer and putting our own governance on top of it."

6.

AIs Develop Coherent Value Systems: Prefer Lives in Pakistan > India > China >US(twitter.com ↗)

2 points · by sensahin · 1y ago · discuss

comment 1y ago · link · parent

Hey everyone,

for my research project, I wrote a small python code that scrapes random public screenshots from prnt.sc and uses the Moondream2 vision model (from Hugging Face) to generate descriptions of the images.

Demo here:

https://youtu.be/xEsHRepfzks

It’s fascinating (and a bit concerning) to see what kind of information can be interpreted from completely random screenshots. Let me know your thoughts!

Link to repo: https://github.com/sensahin/VisionShot

8.

VisionShot: Analyzing random public screenshots with vision models(github.com ↗)

2 points · by sensahin · 1y ago · 1 comment