Better HN
topnewbestaskshowjobs
Log inSign up

harry247

125 karma · joined Nov 5, 2023 (3y ago) · 26 submissions

Submissions

1.

Show HN: Flops Benchmark GUI Tool – ResNet50 and other models support(github.com ↗)

2 points · by harry247 · 1y ago · discuss

comment 1y ago · link · parent

We developed the RTOS (Real-Time Operating System) for our activity trackers using the Zephyr kernel and its libraries.

In this article, I briefly shared a short summary of my experience of choosing different tech stacks for the firmware development of activity trackers.

Happy Reading!

3.

Did we need RTOS for activity trackers?(singh47.github.io ↗)

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

comment 1y ago · link · parent

npm package: https://www.npmjs.com/package/hue-logs-client

comment 1y ago · link · parent

updated UI (better look now :) )

comment 1y ago · link · parent

thanks for suggesting @yahasolutions. Dozzle looks good, and lightweight too. I will explore more

7.

Show HN: Hue Logs – A Minimal Log Monitoring Tool(github.com ↗)

5 points · by harry247 · 1y ago · 4 comments

comment 1y ago · link · parent

I feel like this is a finding/experience worth sharing. We ran into battery problem when developing our MVP using esp32 c3 MCU. ESP32 have high current consumption during network calls and we resolved this problem by avoiding TCP protocol in our network calls (Moving away from REST API calls).For Details, I am linking full article here: https://khalsalabs.com/iot-101-minimizing-esp32-wifi-battery...

Hope you all enjoy!

9.

We saved battery in our ESP32 WiFi circuits (TCP vs UDP)(khalsalabs.com ↗)

43 points · by harry247 · 1y ago · 25 comments

comment 3y ago · link · parent

Sat Sri Akaal

comment 3y ago · link · parent

Just did it !! Enabling 10m caching on nginx now (It is good atleast now the link will open from HN homepage). Thanks for suggesting this, I should have done it before

comment 3y ago · link · parent

yes, I have a static IP and port forwarded. It IP can be mapped to website (dns name) via namecheap and godaddy like services. This is enough to put it on internet

In this setup I added a nginx in between (doesn't enable cache yet) for load balancing.

comment 3y ago · link · parent

Its good idea, I never tried or probably didn't know much about nginx caching. Will Nginx cache webpage and serve directly without hitting much the esp32 server. I am going to read on it now

comment 3y ago · link · parent

nope, no CDN. It has NGINX reverse proxy

comment 3y ago · link · parent

Its still a single esp32 s2 mini. Its Nginx that is saving this little mcu !!

comment 3y ago · link · parent

yes, you got it right its due to that odd message web browsers show for non-https websites. This HTTPS/TLS has been added using nginx on different server, also to support some load. The website is still under lot of traffic, however nginx is doing good on its part.

comment 3y ago · link · parent

I think it will drop most of the traffic, as I posted in load test results. The traffic coming to this is crazy. I can see nginx access logs and requests are not stopping!!

comment 3y ago · link · parent

it was too much traffic to handle for this little poor chip

comment 3y ago · link · parent

I did some load tests before postings, simulate 100 users at a time. It was serving only 47 of them: https://bashify.io/images/tNg4SB https://bashify.io/images/7OtLGf

comment 3y ago · link · parent

Lol! this is true after posting on HN

comment 3y ago · link · parent

thanks !! yes it behind nginx

comment 3y ago · link · parent

OMG!! I didn't expect that I am getting that much traffic from HN. I put this besides nginx but still its too much traffic to process for Esp32 S2 chip. Lol

comment 3y ago · link · parent

Another way someone told me is to promote things in the forum comments, like this website I hosted using esp32. I am posting here: https://esp.khalsalabs.com

For few days I will test commenting method (until this goes down due to traffic flood)

24.

Website hosted on ESP32(esp.khalsalabs.com ↗)

204 points · by harry247 · 3y ago · 162 comments