👋 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 |
Comments (7)
Codding is just fun sometimes but not easy to learn and code a particular program
@harhess
true
happy weekends
via Inbox
Thanks for the comments I appreciate you dear friend
Not a programmer, but AI has allowed us to do awesome stuffs. And the stress it saves us unimaginable.
By the way, this is an awesome update. Someone that's hungry hardly waits to claim discount first. Hoping the feature is live, I will go back to listed restaurants and they would this awesome feature
@fokusnow
thank you
feature isn't live yet
we are testing & we will ship soon
via Inbox
AI is taking over the world, this update is just one of the best, great job guys, 👍 weldone
@beauty197
thank you
AI is getting great at things beyond imagination
via Inbox
That's the perfect word, beyond imagination
Asking the right question give the right answer - rather, solution. This post counters the idea that "two head are better than one." 😅 Nice update.
@luchyl
not necessarily
Sometimes I too get wrong answers & get misleaded by AI
via Inbox
There is no reliable way to determine the actual photo age as image metadata including time created or modified can be manipulated easily.
@techcoderx
you are absolutely right
most distriator users are on mobile and let same some one abuses @starkerz, @eddiespino are super admins who can ban such users. on top of that, all business guides, they too have similar control.
via Inbox
It's not perfect. But it is evolving 😊
You try cursor. It's good also try perplexity