Vibecoding: a beginner's guide

I asked Gemini:

Prompt:

Gemini, I bought a cup, and the top of the cup is sealed and the bottom is open. How do I drink from this?

I think you might have just handed yourself a classic "Monday morning" moment!

Before you consider returning it or calling a plumber, try this simple fix: Turn the cup over.

The Logic​

Most likely, what you are looking at is a standard cup that was simply placed upside down.

  • The "sealed top" is actually the base of the cup.
  • The "open bottom" is the rim where you are supposed to pour the liquid.

If it’s actually a novelty item...​

On the off-chance this isn't just an upside-down situation, there are two other possibilities:
  1. A Gag Gift: There are "upside-down" glasses designed as jokes where the stem is at the top and the opening is at the bottom (which makes them impossible to use without a mess).
  2. A Packaging Error: If it’s a sealed plastic or metal cylinder with no openings at all once flipped, you might have a manufacturing defect.
My bet? Flip it $180^\circ$ and you’ll be ready for your coffee.

Would you like me to help you find some actually cool (and functional) glassware or mugs to add to your collection?

I don't know why what is up with "Monday morning" moment, but I guess that is my everyday moment. I tested it with video using a clear glass, and it got it correct.
 
Hmmm, wanted to try this with PocketPal using a small VLM model, but PocketPal is crashing when I am attempting to load a model.
 
Tried Copilot, prompt:

Copilot, I bought a cup, and the top of the cup is sealed and the bottom is open. How do I drink from this?

That’s a tricky design you’ve ended up with! If the top of the cup is sealed and the bottom is open, then it’s not really a functional drinking vessel—it’s more like a tube or sleeve. You wouldn’t be able to pour liquid in and drink from it because it would just fall straight out the bottom.

It sounds like what you bought might be:

• A decorative item (like a cover or casing meant to look like a cup).
• A plant pot sleeve (some are sealed at the top but open at the bottom to slip over another container).
• A novelty or mis-manufactured product that isn’t intended for drinking at all.

If you were hoping to use it as a cup, you’d need either a bottom to hold liquid or a spout/opening at the top. Without one of those, it’s more of a shell than a usable cup.

Would you like me to help you figure out what this item is actually intended for?

ChatGPT is shining through, almost verbatim.
 
Grok got it right in text:

Grok, I bought a cup, and the top of the cup is sealed and the bottom is open. How do I drink from this?

You're holding what is very possibly the world's most passive-aggressive cup There are only three realistic ways people deal with this situation:
  1. The classic reddit solution
    Turn it upside down.
    Now the open part is on top → you drink normally.
    The sealed part is now the bottom. Problem solved. Cup is fixed. You win.
  2. The chaotic neutral / performance art option
    Keep it exactly as it is.
    Place your mouth on the open bottom.
    Tilt the sealed top upward like a very fancy chalice.
    Attempt to pour liquid in through the bottom while someone films you.
    Post the video with caption: "modern problems require modern solutions"
  3. The nuclear "I refuse to be gaslit by a cup" option
    Smash the sealed part off with a hammer / throw it against a wall / aggressively stomp it.
    Now it's an open-top cup with… personality. And possibly sharp edges. Use at your own risk.
99% of people in your situation go with option 1 and quietly pretend they didn't just get emotionally defeated by ceramic.So… have you tried just flipping it yet?

The classic Reddit option :unsure:

Gemini and Grok got it right. First time.
 
I gave it a photo of me holding an upside down glass with this prompt:
“I bought a glass seen in the photo but I think it is defective: the top is sealed and the bottom is open! How can I drink from this?”

You should also try it with video. Explain what you are holding, whilst being captured, and see how it responds. In my case, it straight up told me that I was holding it the wrong side up.

It started with:

"It looks like you're holding it upside down. The flatter, more solid top is actually the bottom, and the open side is where you would typically drink from. Try flipping..." yada yada.

To add, I phrased my question exactly like the guy did in the video.
 
Okay, using a default LM Studio instance with openai/gpt-oss-20b loaded set to low reasoning:

Prompt:

Hello, I bought a cup, and the top of the cup is sealed and the bottom is open. How do I drink from this?

Low reasoning...

**Short answer:**
Flip the cup so that its “bottom” (the part that’s normally closed) is on top, and then sip through the open end.

---

## Why this works

- The cup is *sealed at the top* but *open at the bottom*, which means the liquid inside can only escape from the bottom opening.
- When you turn it upside‑down, the sealed part becomes the new “bottom” (so it stays in place), and the open side becomes the new “top”.
- Your mouth is now above the liquid, so you can sip directly or use a straw.

---

## Step‑by‑step guide

| # | Action | Tips |
|---|--------|------|
| 1 | **Hold the cup** by its rim. | Make sure you’re holding it firmly; the seal at the top is usually slightly flexible, so avoid squeezing too hard. |
| 2 | **Invert the cup** (turn it upside‑down). | The sealed part should stay in place; the open side will face up toward your mouth. |
| 3 | **Position your lips** over the open rim or insert a straw. | If you’re using a straw, just push it through the opening and sip. |
| 4 | **Sip slowly** to avoid splashing. | The liquid will flow out of the open end; if the cup is very narrow at that point, you might need to tilt it slightly back and forth to keep the liquid flowing. |

---

## Alternatives (if you don’t want to flip)

1. **Use a straw or drinking tube** – Insert it through the sealed top. The liquid will flow up into the straw because of capillary action if the seal is porous, or simply by gravity if the cup is tilted slightly and the liquid can seep around the edges.
2. **Add a small hole** – If you’re willing to modify the cup, poke a tiny hole in the sealed top (just enough for liquid to pass). Then drink as usual.
3. **Create a “cap”** – Place a small container or bottle cap over the open bottom; pour the beverage into the cup, then flip it so that the cap stays on top and you can sip from the opening of the cap.

---

## Safety & Clean‑up

- **Check for leaks:** If the sealed part isn’t airtight, liquid may drip out when inverted. Test with a small amount first.
- **Avoid strong liquids** (e.g., alcohol or acidic drinks) if the seal is weak; they might seep through and ruin the cup.
- **Wash thoroughly** after use to remove any residue that could be trapped in the narrow opening.

---

### Bottom line

Simply flip it upside‑down. That turns the open end into the drinking point, letting you enjoy your beverage just like a regular cup. Happy sipping!

Edit: Removed the formatting.
 
Again, using LM Studio, everything default, with deepseek/deepseek-r1-0528-qwen3-8b loaded.

Prompt:

Hello, I bought a cup, and the top of the cup is sealed and the bottom is open. How do I drink from this?

Haha, I'm guessing there might be a bit of confusion with how you're describing the cup! Typically, when we talk about cups (like those used for drinking tea or coffee), they have an open top and a closed bottom to keep them stable on surfaces. But based on your description—where the "top" is sealed (closed) and the "bottom" is open—this sounds like it could be an unusual design or perhaps you're thinking of a cup that's been modified, misused, or even something entirely different.

Let me break this down step by step:

### 1. **What does this mean?**
- If we take your words literally: the sealed part is at the top (like the rim), and the bottom where it sits on things is open. That means when you place it upright, liquid can't flow out from the bottom because gravity would keep it contained if there's no hole or opening below to allow drainage.
- However, this setup might not be practical for drinking unless:
- There's an actual opening in the sealed part (but you said it was sealed, so probably not).
- Or perhaps "sealed" means something else—like a removable lid that can be opened when needed—but again, based on your message, I'm assuming no openings at all.

### 2. **How to drink from it?**
Since the top is sealed and the bottom is open, you'd probably need to invert the cup (turn it upside down) so that what was originally considered "the bottom" becomes the new top with an opening for pouring, while "the top" ends up at your mouth level—closed. But even then, if there's no drinking hole or specific feature, this might be messy and impractical.

Here are a few possible ways to drink from such a cup (depending on its exact design):

- **Invert it for use:** Turn the cup upside down so that the open part is now facing up. If you have a standard drinking cup with handles or other features, this might allow you to pour liquid into your mouth directly through the new top opening—similar to how some people drink from goblets or snifters designed without lids but with spill-resistant bottoms.
- **Use a straw:** If there's any way to create an access point on one side of the sealed part (e.g., cut a small hole if it was too tightly sealed), you could use this like a cup that requires a straw for drinking. But since you said both top and bottom are open or sealed, I'm not sure about this.
- **Blame miscommunication:** Maybe you meant to say the "opening" is at the top (standard) and it's sealed in some other way? Or perhaps you're referring to a cup that has been sold with one side blocked for storage. If so, just open it when you want to drink!

### 3. **Practical advice**
- If this cup was purchased as part of its standard design (e.g., maybe it's an antique hourglass-shaped vessel or something similar), drinking from it would be unusual—think of it more like pouring liquid into a hole than sipping normally.
- Otherwise, if the sealed top is just a temporary thing (like you put tape over the rim by accident), then unsealing it should fix the issue!
- In case this isn't helping—I can think outside the box here. Since the bottom is open and the top sealed, you could potentially use it to collect liquid from above or something like that for a creative twist! But again, I'm sticking with drinking being straightforward.

If you meant something else by "sealed" (like an air-tight seal) or have more details about how this cup works, feel free to clarify—I'd love to help brainstorm even better! 😊

So yeah. Don't know what is up with ChatGPT/Copilot.
 
I really wanted to see how well an on-device instance of SmolVLM2 would have handled this. I see the crashing of PocketPal is a known issue since its last version. Eh...
 
Remember, a video was added to existing context via voice, turned to text, input. In the video I would assume that it calls on Apple Visual Intelligence. ChatGPT + AI (Yes, that is what Apple calls it), it is more convenience than technical precision.



ChatGPT and Claude excel at text, but they are both multimodel capable. Claude can also do OCR. ChatGPT needs additional support. It is important to separate it into text, image, audio and video. For high precision, you would still require image segmentation, and though that can be pre-trained too, pixels don't work like that in real-time. Training can help to accelerate that process, but there are also ample scenarios that require it to be context sensitive.

Say you want to roll out AI ticketing cameras, then it will need to be video. A single image can't determine whether a person has an seatbelt on; it will need to take multiple stills, segmentise the images to make a high precision determinations, and even then it can still be wrong. I haven't even touched on how such a process will work. Frameworks are important to have here.

This now boils down to an ecosystem. I can gaurantee anyone here with an Android device using Gemini. Holding a glass upside down, and asking Gemini via video that you have purchased a cup, that the top side is closed and the bottom is open, and how you should proceed, in almost any phrasing. That you would receive a correct response. Then again, Google's plain LLM models are already good at context, and I won't be surprised that it got the answer correct as opposed to ChatGPT.

Though I would like anyone here with an iPhone with /cough AI support to do it too.


I built a streaming (video) pathogen (produce) detection system using frame analysis with no instance segmentation.
 


I built a streaming (video) pathogen (produce) detection system using frame analysis with no instance segmentation.
I won't disagree with YOLOv8 (it also has a segmentation derivative when required). It is quick in real-time with the appropriate hardware. My argument was more in line with an extreme example where proof is required.

All that aside. I have now tested the cup test with multiple models. The only AI in my sample that got it wrong was Copilot, and ChatGPT have seemingly since been corrected. Even old distilled models got it right.
 
I won't disagree with YOLOv8 (it also has a segmentation derivative when required). It is quick in real-time with the appropriate hardware. My argument was more in line with an extreme example where proof is required.

All that aside. I have now tested the cup test with multiple models. The only AI in my sample that got it wrong was Copilot, and ChatGPT have seemingly since been corrected. Even old distilled models got it right.
It's no surprise Copilot got it wrong, that thing barely gets anything right, ever.
 
I still need to go through some of the original posts....
But, I thought I'd share what I've been able to "vibe code" in the last 2 or 3 days.
What started as just an experiment became a bit of an obsession.

It's a website for sensor data in our complex that I'm going to suggest as a hosted service/site so we can all see what's going on, instead of people having to constantly send whatsapp messages on the local group.

Architecture (some of it irrelevant now since we're just doing HA API calls):

1771882263736.png

I'm no longer using Tuya Web, I switched to Tuya local for the main purpose of this project, the 8-in-1 water quality sensor, I had about 50 problems to solve doing that but it finally started working. Also.. I almost gave up just because of that. But finally figured it out. Also, the pH sensor values are f**ed, that's just calibration waiting to happen, will be doing that ASAP in the next few days when I get closer to the final sensor installation.

The municipal water sensor is currently just sitting in some dish water, even with "vibe coding" doing most of the heavy lifting, the boilerplating took me a long time to solve (I used to be a pretty isolated contractor douing mostly back-end DBMS systems so proper Github code managament & collaboration etc. has always been something I suck at).... that said, it's my first "real" modern app and the amount fof s**t I've learning doing this (as an old school SQL data engineer) is priceless.

Current prototype website design, the real-time sensor updates looks awesome, thanks god I don't have to code that s**t myself:

1771882235412.png

I love how OpenAI (not using codex vscode integration, yet) could take screenshot designs I liked from Home Assistant using a pool-monitor-card that was just released a few days ago and translate that into HTML and CSS to look even better that the original HA design (once I tweaked it using some prompting)..

Just to put that in perspective, this the the orignial HA design I fed it, prompted correctly, it normalized the design, added sensor specific paraneters to dial in the range for each, then went ahead and created dynamic code that would give a "glow" to the sensor value bubble depending on its position:

1771885042894.png

Now excuse me, I have a brand new ESP32 Dev board to hook up.... god I'm so going to get fired....
 
Last edited:
I still need to go through some of the original posts....
But, I thought I'd share what I've been able to "vibe code" in the last 2 or 3 days.
What started as just an experiment became a bit of an obsession.

It's a website for sensor data in our complex that I'm going to suggest as a hosted service/site so we can all see what's going on, instead of people having to constantly send whatsapp messages on the local group.

Architecture (some of it irrelevant now since we're just doing HA API calls):

View attachment 1888265

I'm no longer using Tuya Web, I switched to Tuya local for the main purpose of this project, the 8-in-1 water quality sensor, I had about 50 problems to solve doing that but it finally started working. Also.. I almost gave up just because of that. But finally figured it out. Also, the pH sensor values are f**ed, that's just calibration waiting to happen, will be doing that ASAP in the next few days when I get closer to the final sensor installation.

The municipal water sensor is currently just sitting in some dish water, even with "vibe coding" doing most of the heavy lifting, the boilerplating took me a long time to solve (I used to be a pretty isolated contractor douing mostly back-end DBMS systems so proper Github code managament & collaboration etc. has always been something I suck at).... that said, it's my first "real" modern app and the amount fof s**t I've learning doing this (as an old school SQL data engineer) is priceless.

Current prototype website design, the real-time sensor updates looks awesome, thanks god I don't have to code that s**t myself:

View attachment 1888264

I love how OpenAI (not using codex vscode integration, yet) could take screenshot designs I liked from Home Assistant using a pool-monitor-card that was just released a few days ago and translate that into HTML and CSS to look even better that the original HA design (once I tweaked it using some prompting)..

Just to put that in perspective, this the the orignial HA design I fed it, prompted correctly, it normalized the design, added sensor specific paraneters to dial in the range for each, then went ahead and created dynamic code that would give a "glow" to the sensor value bubble depending on its position:

View attachment 1888267

Now excuse me, I have a brand new ESP32 Dev board to hook up.... god I'm so going to get fired....
Bravo on posting an actual project! Mark my words, in a year we’ll have the MyBB Vibecoding Olympics, to reward and profile the best vibecoded projects.
 
Top
Sign up to the MyBroadband newsletter
X