create account

Seven Cups Deep and Still No Memo - PosHive Devlog by meno

View this thread on: hive.blogpeakd.comecency.com
· @meno · (edited)
$13.24
Seven Cups Deep and Still No Memo - PosHive Devlog
<center>
![coffee and coding.png](https://files.peakd.com/file/peakd-hive/meno/23tbF1L7fmafqzYL353igVNSeJFCH3ZT1NkBf9P6UfQwvGGgX5cCYqqVnnKmR3XWRxsRv.png)</center>

As some of you know, I've been coding a Point of Sale system for a little while now. It has not only become an obsession of mine lately, but also a tool, a promise, for onboarding people who run businesses here. This means, of course, that I have to deliver, and it must work out of the box.


![image.png](https://files.peakd.com/file/peakd-hive/meno/23zSQjfiYVi2Q4nvwEt4Fj2scd9YZiMT56DCzSz9Phu6MdHssLmcirM9VjaJhZKFuthi1.png)


I know it's impossible for me, a mediocre coder, to build something perfect without a single bug, but I'm certainly trying. In my opinion, it's self-defeating when a product is released and said product is not intuitive and requires, more than anything, patience. Computer geeks tend to forget what it's like to not be able to work around bugs. We tend to believe most people will figure it out, but I promise this is not the case.

At any rate, I finished integrating the Bitcoin Lightning payment for the Hive Point of Sale today. Truth is, I was generating the invoice within twenty minutes of having a chat with @brianoflondon, but I could not figure out how to confirm said payment.

I battled with my demons for two days, trying to figure this out. The first breakthrough came from something Brian said, something I had forgotten until I was getting ready to go to sleep.

"People just check the memos..."

### That's right!!!
I jumped out of bed. I don't have to call on Brian's API. As a matter of fact, I don't want to. I want this app to run on a static web host, so having a backend and keeping "the line open" complicates things too much.

I sat back at my computer and fought with Morpheus for about an hour. He, of course, began defeating me, and I began adding bugs left and right to the code. I deleted that hour of futility and went back to sleep. (poorly, but yeah)

Woke up the next morning, made myself a strooong cup of joe, and sat down to give it another go. Seven cups of coffee later, I still can't get the darn thing to work. Why won't it read the memos?

I did the typical thing one does in these situations: added a debug window, added code to make sure everything is lowercase, checked that no funny business was turning a number into a stringβ€”that sort of thing. Nothing!

### And then...
I took a break. I just had to. I left the code sitting there for the whole evening. Too frustrated to even look at it. Resentful, even. *Bastard... why don't you work?*

This morning I went to our local bakery, as I usually do, to get "the supplies." I ran into some friends of the family and did what I usually do. *"Hey... you guys know with Hive you could get a discount on this purchase?"* (I'm onboarding them later today, by the way.)

I drove home, staring into nothingness, feeling the impostor syndrome punch me in the back of the neck really hard. *What am I doing? I'm a luthier... I should leave this sort of stuff to the pros. All those thoughts flooding my mind.*

After I sat at my computer to watch some news (I know, I'm sorry), my mind began to wander somewhere else.

### "Oh my god. I have a listener for the HBD payment and that one works, but this one doesn't... so it's not the listener code, it's the account it's listening for."

Lightning struck my head with violence. I was using the same username for both listeners, when I had clearly made the Bitcoin Lightning address username a configurable feature. A feature, mind you, I thought important. You might want your HBDs in one account and your Sats in another.

I corrected this fumble with a grin so wide, I almost bit off my left ear.

And boom!


![Screenshot 2025-06-12 102421.png](https://files.peakd.com/file/peakd-hive/meno/23xyX8ygfwpy3JMpw8dUtoFqJdGmNo5uKW9HprAZ7AtnZAbR3HZnSHaBTRB4qWSrY4mhn.png)


It worked. This feels like a bad tooth that caused a lot of pain has finally been exiled from my mouth.

Time to relax now... and make more coffee...

Sad thing is... I'm out.

MenO
πŸ‘  , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , and 64 others
properties (23)
authormeno
permlinkseven-cups-deep-and-still-no-memo-poshive-devlog
categoryhive-186392
json_metadata{"app":"peakd/2025.6.1","format":"markdown","image":["https://files.peakd.com/file/peakd-hive/meno/23tbF1L7fmafqzYL353igVNSeJFCH3ZT1NkBf9P6UfQwvGGgX5cCYqqVnnKmR3XWRxsRv.png","https://files.peakd.com/file/peakd-hive/meno/23zSQjfiYVi2Q4nvwEt4Fj2scd9YZiMT56DCzSz9Phu6MdHssLmcirM9VjaJhZKFuthi1.png","https://files.peakd.com/file/peakd-hive/meno/23xyX8ygfwpy3JMpw8dUtoFqJdGmNo5uKW9HprAZ7AtnZAbR3HZnSHaBTRB4qWSrY4mhn.png"],"tags":["hive","hivepos","onboarding","bullish","pob","pimp","coding","eureka","gratitude"],"users":["brianoflondon"]}
created2025-06-12 16:06:18
last_update2025-06-12 16:23:48
depth0
children16
last_payout1969-12-31 23:59:59
cashout_time2025-06-19 16:06:18
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value13.243 HBD
promoted0.000 HBD
body_length4,080
author_reputation499,302,700,585,449
root_title"Seven Cups Deep and Still No Memo - PosHive Devlog"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id143,319,573
net_rshares43,332,430,646,574
author_curate_reward""
vote details (128)
@aliz7575 ·
This was an interesting readβ€”raw and honest! I really liked the way you shared your thoughts and struggles during the development process. It’s refreshing to see someone document both the progress and the challenges. Keep going, your efforts are πŸ‘
properties (22)
authoraliz7575
permlinkre-meno-2025612t215715332z
categoryhive-186392
json_metadata{"links":[],"type":"comment","tags":["hive","hivepos","onboarding","bullish","pob","pimp","coding","eureka","gratitude"],"app":"ecency/3.3.3-mobile","format":"markdown+html"}
created2025-06-12 16:57:18
last_update2025-06-12 16:57:18
depth1
children0
last_payout1969-12-31 23:59:59
cashout_time2025-06-19 16:57:18
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length247
author_reputation-209,834,912,036
root_title"Seven Cups Deep and Still No Memo - PosHive Devlog"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id143,320,502
net_rshares0
@beelzael ·
$0.05
Glad you made it through! I hope the rest of the coding goes smoother so I can soon test-run your app and then frustrate you with all the bugs I find :-D Persistence and hope!
πŸ‘  , , ,
properties (23)
authorbeelzael
permlinkre-meno-sxuo0y
categoryhive-186392
json_metadata{"tags":["hive-186392"],"app":"peakd/2025.6.1","image":[],"users":[]}
created2025-06-14 14:24:36
last_update2025-06-14 14:24:36
depth1
children2
last_payout1969-12-31 23:59:59
cashout_time2025-06-21 14:24:36
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.051 HBD
promoted0.000 HBD
body_length175
author_reputation153,401,781,454,867
root_title"Seven Cups Deep and Still No Memo - PosHive Devlog"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id143,353,886
net_rshares158,363,353,997
author_curate_reward""
vote details (4)
@meno ·
$0.00
dude, you can be the second hub. What do you know? A bakery is a perfect Hive Hub. 

hahahah 
πŸ‘  
properties (23)
authormeno
permlinkre-beelzael-sxuonc
categoryhive-186392
json_metadata{"tags":["hive-186392"],"app":"peakd/2025.6.1"}
created2025-06-14 14:38:00
last_update2025-06-14 14:38:00
depth2
children1
last_payout1969-12-31 23:59:59
cashout_time2025-06-21 14:38:00
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.003 HBD
promoted0.000 HBD
body_length93
author_reputation499,302,700,585,449
root_title"Seven Cups Deep and Still No Memo - PosHive Devlog"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id143,354,089
net_rshares9,725,126,752
author_curate_reward""
vote details (1)
@beelzael ·
$0.05
Looks like it! There must be a secret connection between baking and the strive for independent currencies...
πŸ‘  , , ,
properties (23)
authorbeelzael
permlinkre-meno-sxuooc
categoryhive-186392
json_metadata{"tags":["hive-186392"],"app":"peakd/2025.6.1","image":[],"users":[]}
created2025-06-14 14:38:36
last_update2025-06-14 14:38:36
depth3
children0
last_payout1969-12-31 23:59:59
cashout_time2025-06-21 14:38:36
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.048 HBD
promoted0.000 HBD
body_length108
author_reputation153,401,781,454,867
root_title"Seven Cups Deep and Still No Memo - PosHive Devlog"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id143,354,094
net_rshares155,499,678,131
author_curate_reward""
vote details (4)
@bil.prag ·
$0.04
it is always a stupid and simple thing :D
πŸ‘  , , ,
properties (23)
authorbil.prag
permlinkre-meno-sxs04n
categoryhive-186392
json_metadata{"tags":["hive-186392"],"app":"peakd/2025.6.1","image":[],"users":[]}
created2025-06-13 03:53:12
last_update2025-06-13 03:53:12
depth1
children1
last_payout1969-12-31 23:59:59
cashout_time2025-06-20 03:53:12
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.042 HBD
promoted0.000 HBD
body_length41
author_reputation457,874,223,154,940
root_title"Seven Cups Deep and Still No Memo - PosHive Devlog"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id143,329,195
net_rshares127,640,898,489
author_curate_reward""
vote details (4)
@meno ·
$0.04
hahahah yes it is 
πŸ‘  
properties (23)
authormeno
permlinkre-bilprag-sxt0dt
categoryhive-186392
json_metadata{"tags":["hive-186392"],"app":"peakd/2025.6.1"}
created2025-06-13 16:56:18
last_update2025-06-13 16:56:18
depth2
children0
last_payout1969-12-31 23:59:59
cashout_time2025-06-20 16:56:18
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.035 HBD
promoted0.000 HBD
body_length18
author_reputation499,302,700,585,449
root_title"Seven Cups Deep and Still No Memo - PosHive Devlog"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id143,339,686
net_rshares108,343,214,030
author_curate_reward""
vote details (1)
@blkchn ·
$0.03
Stepping away, thinking, doing different things often helps a lot.
πŸ‘  , , ,
properties (23)
authorblkchn
permlinkre-meno-sxrdk0
categoryhive-186392
json_metadata{"tags":["hive-186392"],"app":"peakd/2025.6.1","image":[],"users":[]}
created2025-06-12 19:45:39
last_update2025-06-12 19:45:39
depth1
children0
last_payout1969-12-31 23:59:59
cashout_time2025-06-19 19:45:39
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.033 HBD
promoted0.000 HBD
body_length66
author_reputation65,458,912,326,018
root_title"Seven Cups Deep and Still No Memo - PosHive Devlog"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id143,323,001
net_rshares100,659,367,663
author_curate_reward""
vote details (4)
@lee1938 ·
https://x.com/lee19389/status/1933675571885559902
#hive #posh
properties (22)
authorlee1938
permlinksxtjzg
categoryhive-186392
json_metadata{"tags":["hive","posh"],"app":"hiveblog/0.1"}
created2025-06-13 23:59:42
last_update2025-06-13 23:59:42
depth1
children0
last_payout1969-12-31 23:59:59
cashout_time2025-06-20 23:59:42
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length61
author_reputation44,461,673,726,277
root_title"Seven Cups Deep and Still No Memo - PosHive Devlog"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id143,344,888
net_rshares0
@madaug ·
$0.04
Coffee fueled coding sessions or any serious activity at all is something else when you're building something that actually matters. The just one more cup and I'll fix this bug cycle is real πŸ˜‚ Good luck with the POS system man
πŸ‘  , , ,
properties (23)
authormadaug
permlinkre-meno-2025612t183021557z
categoryhive-186392
json_metadata{"tags":["hive","hivepos","onboarding","bullish","pob","pimp","coding","eureka","gratitude"],"app":"ecency/4.1.5-vision","format":"markdown+html"}
created2025-06-12 18:30:24
last_update2025-06-12 18:30:24
depth1
children0
last_payout1969-12-31 23:59:59
cashout_time2025-06-19 18:30:24
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.039 HBD
promoted0.000 HBD
body_length226
author_reputation894,831,387,409
root_title"Seven Cups Deep and Still No Memo - PosHive Devlog"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id143,321,875
net_rshares118,007,615,568
author_curate_reward""
vote details (4)
@meesterboom ·
$0.04
It's always an amazing feeling when the realisation dawns!
πŸ‘  , , ,
properties (23)
authormeesterboom
permlinkre-meno-sxrdkx
categoryhive-186392
json_metadata{"tags":["hive-186392"],"app":"peakd/2025.6.1","image":[],"users":[]}
created2025-06-12 19:46:09
last_update2025-06-12 19:46:09
depth1
children1
last_payout1969-12-31 23:59:59
cashout_time2025-06-19 19:46:09
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.039 HBD
promoted0.000 HBD
body_length58
author_reputation1,787,449,423,929,717
root_title"Seven Cups Deep and Still No Memo - PosHive Devlog"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id143,323,013
net_rshares117,367,429,975
author_curate_reward""
vote details (4)
@meno ·
$0.29
its like finding treasure. 
πŸ‘  , , , , , ,
properties (23)
authormeno
permlinkre-meesterboom-sxro88
categoryhive-186392
json_metadata{"tags":["hive-186392"],"app":"peakd/2025.6.1"}
created2025-06-12 23:36:09
last_update2025-06-12 23:36:09
depth2
children0
last_payout1969-12-31 23:59:59
cashout_time2025-06-19 23:36:09
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.287 HBD
promoted0.000 HBD
body_length27
author_reputation499,302,700,585,449
root_title"Seven Cups Deep and Still No Memo - PosHive Devlog"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id143,326,400
net_rshares866,055,392,417
author_curate_reward""
vote details (7)
@seki1 ·
$0.04
Out of coffee...

Back to the supermarket for "supplies".

Starting my coding journey (already in listing of HTML) and to be honest I hope I don't hit bugs as much as theseπŸ˜‚πŸ˜­πŸ˜­πŸ˜­

But I'm glad you overcame yours 3 days laterπŸ˜‚βœ¨
πŸ‘  , , ,
properties (23)
authorseki1
permlinkre-meno-sxs7b7
categoryhive-186392
json_metadata{"tags":["hive-186392"],"app":"peakd/2025.6.1","image":[],"users":[]}
created2025-06-13 06:28:21
last_update2025-06-13 06:28:21
depth1
children1
last_payout1969-12-31 23:59:59
cashout_time2025-06-20 06:28:21
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.042 HBD
promoted0.000 HBD
body_length224
author_reputation149,287,978,452,654
root_title"Seven Cups Deep and Still No Memo - PosHive Devlog"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id143,331,229
net_rshares127,496,602,780
author_curate_reward""
vote details (4)
@meno ·
better late than never 
properties (22)
authormeno
permlinkre-seki1-sxt0ei
categoryhive-186392
json_metadata{"tags":["hive-186392"],"app":"peakd/2025.6.1"}
created2025-06-13 16:56:42
last_update2025-06-13 16:56:42
depth2
children0
last_payout1969-12-31 23:59:59
cashout_time2025-06-20 16:56:42
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length23
author_reputation499,302,700,585,449
root_title"Seven Cups Deep and Still No Memo - PosHive Devlog"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id143,339,695
net_rshares0
@steevc ·
$0.04
I feel your pain. I've spent days chasing a bug and then it just comes to me. I know some people are using 'AI' bots to help with coding, but I'm still old-skool. Not sure how the bots help with debugging. 

I've done some scripts around Hive, but they are mostly just extracting data from HiveSQL. 
πŸ‘  , , , ,
properties (23)
authorsteevc
permlinkre-meno-sxr3zm
categoryhive-186392
json_metadata{"tags":["hive-186392"],"app":"peakd/2025.6.1","image":[],"users":[]}
created2025-06-12 16:19:03
last_update2025-06-12 16:19:03
depth1
children1
last_payout1969-12-31 23:59:59
cashout_time2025-06-19 16:19:03
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.038 HBD
promoted0.000 HBD
body_length299
author_reputation1,366,748,836,779,488
root_title"Seven Cups Deep and Still No Memo - PosHive Devlog"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id143,319,800
net_rshares116,427,273,565
author_curate_reward""
vote details (5)
@meno ·
$0.15
Ohh brother. AI is an amazing tool for coding. You can literally ask an AI to help you layout the stack, the plan of attack, everything. 

I'm no expert with it, but I'm already impressed. I know theycallmedan built an MMO using AI to code. Now, that blew my mind 
πŸ‘  , , , , , ,
properties (23)
authormeno
permlinkre-steevc-sxr4jt
categoryhive-186392
json_metadata{"tags":["hive-186392"],"app":"peakd/2025.6.1"}
created2025-06-12 16:31:06
last_update2025-06-12 16:31:06
depth2
children0
last_payout1969-12-31 23:59:59
cashout_time2025-06-19 16:31:06
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.150 HBD
promoted0.000 HBD
body_length264
author_reputation499,302,700,585,449
root_title"Seven Cups Deep and Still No Memo - PosHive Devlog"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id143,320,028
net_rshares454,856,060,942
author_curate_reward""
vote details (7)
@tahirmuneer ·
https://x.com/jewellery_all/status/1933640494061670602
#hive
properties (22)
authortahirmuneer
permlinksxtdit
categoryhive-186392
json_metadata{"tags":["hive"],"app":"hiveblog/0.1"}
created2025-06-13 21:40:06
last_update2025-06-13 21:40:06
depth1
children0
last_payout1969-12-31 23:59:59
cashout_time2025-06-20 21:40:06
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length60
author_reputation14,377,089,923,654
root_title"Seven Cups Deep and Still No Memo - PosHive Devlog"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id143,343,257
net_rshares0