👋 Hello Hive Community!
Hope you're vibing well, Hive fam! 👋😄
In this post, I want to share something fun (and frustrating) from my ongoing project work on Distriator—and how sometimes it's not about writing code... but vibing with AI just right 🌀✨
📸 The Business Review Dilemma
So here's the story...
In Project Distriator, we ask users to:
- Visit a local business 🏪
- Take a photo 📷
- Write a short review ✍️
- And boom, they earn cashback 💸
Everything's going great... until we hit a funny wall 🤦♂️
Imagine you're reviewing a restaurant. You eat. You pay. Now, we ask you to take a photo. But of what? Your empty plate? Your full tummy? 😂
Not very helpful for other users, right? 😹
💡 @starkerz to the Rescue!
Luckily, @starkerz popped in with a genius suggestion:
"Let users upload a pic from their gallery, but make sure the photo is not older than 3 hours."
Boom. Problem solved… or so we thought. 😬
The requirement was easy for a human brain—but quite a mess for Flutter to handle.
🐛 Flutter’s Not-So-Fun Limitations
We use Flutter for our app—awesome framework, but comes with quirks:
- We used the
image_picker
package. It works for web, but doesn't give file metadata like the image timestamp. ❌ - Then we tried
exif
, which gives metadata, but… doesn't support web either. Double ❌
It became clear: this was going to be a bumpy ride. 🛑
🧪 The Developer Struggle Was Real
So, I assigned this task to two of our devs. “It’s simple,” I said. “You’ll figure it out,” I said.
Two days later ⏳
They were still tinkering—building sample projects, trying out different JS-bridge approaches, and diving into stackoverflow rabbit holes. 🕳️🐇
Nothing worked. Nada.
🎧 Enter: Me, AI & The Magic Prompt
So, I jumped on a call with them. While screen-sharing, I asked:
"Why are you asking complicated things to AI? Just vibe with it."
Then I typed this prompt to ChatGPT:
html with javascript
1. Allow me to pick image - either from camera or from photo gallery
2. If user is choosing from camera, it should by default open front-facing camera & user should be allowed to switch
3. If user is selecting a photo from photo gallery, it should not be older than 3 hours
4. image size should not be bigger than 1000px either height or width
5. If image is bigger than expectations, it should be resized/scaled to 1000x
Give me one javascript async function which I can execute using flutter - js bridge.
Guess what happened?
ChatGPT nailed it. One clean async JS function. ✨
We plugged it into our Flutter web-app via the JS bridge, and 💥 it just worked.
🆚 2 Days vs 2 Minutes
Let’s recap:
- 2 devs
- 2 full days
- Countless attempts
- Zero results ❌
vs
- 1 human
- 1 good prompt
- 2 minutes
- Working solution ✅
Moral of the story?
We’re entering a new programming era—where it's not about knowing everything, but about asking the right thing.
Here is the reference link - https://chatgpt.com/share/68821373-5574-8000-ac28-b0d4acbcd2ad
Welcome to the world of vibe coding 🧘♂️ and prompt engineering 🤖
💬 What Do You Think?
- Have you had a vibe coding moment lately?
- Do you agree that how you ask AI matters more than how much you know?
Let me know in the comments 💬
I’d love to hear your side of this!
🙌 Wrapping Up
We continue building cool tools on Hive—and every experiment, even the frustrating ones, teaches us something new.
Thanks for reading! 🚀
More power to the Hive blockchain and the devs who vibe 💻✨
📝 Final Note
Since English isn’t my first language, I asked ChatGPT/AI to help optimize this post to make it more readable and viewer-friendly.
I hope this isn’t against any downvoting rules 🙏
But if it is, feel free to let me know and I’ll be more cautious next time.
🚀 My Contributions to ♦️ Hive Ecosystem
Contribution | To | Hive | Ecosystem |
---|---|---|---|
Hive Witness Node | Hive API Node (in progress) | 3Speak Video Encoder Node Operator (highest number of nodes) | 3Speak Mobile App Developer |
3Speak Podcast App Developer | 3Speak Shorts App Developer | 3Speak Support & Maintenance Team | Distriator Developer |
CheckinWithXYZ | Hive Inbox | HiFind | Hive Donate App |
Contributed to HiveAuth Mobile App | Ecency ↔ 3Speak Integration | Ecency ↔ InLeo Integration | Ecency ↔ Actifit Integration |
Hive Stats App | Vote for Witness App | HiveFlutterKit | New 3Speak App |
🙌 Support Back
❤️ Appreciate my work? Consider supporting @threespeak & @sagarkothari88! ❤️
Vote | For | Witness |
---|---|---|
sagarkothari88 | @sagarkothari88 | |
threespeak | @threespeak |