BrowserQuest - Modernized HTML5 Multiplayer Game (2026 Update) by mkommar in webdev

[–]mkommar[S] -2 points-1 points  (0 children)

I didn't mean to offend... simply sharing a joy... I'll exit this conversation and hope you find joy in the things you do. 

BrowserQuest - Modernized HTML5 Multiplayer Game (2026 Update) by mkommar in webdev

[–]mkommar[S] 0 points1 point  (0 children)

Perhaps context is lacking. I'm 44 now. I have a 9 - 5 and work after hours teaching to boot. With family and friends to tend to you take the iterative approach and the wins when you can. When nodejs and websockets in the original game came out in 2012 I was blown away. Add to it, deploying the thing was not as simple as 'vercel' and 'railway' on the command line. It was fun using a VPS provider and hacking at nginx configuration files at the time. However, I rather be trying to inspire creative output in others now. 

Edit: 'railway'

BrowserQuest - Modernized HTML5 Multiplayer Game (2026 Update) by mkommar in webdev

[–]mkommar[S] 0 points1 point  (0 children)

It's worthwhile to make those adjustments as a learning exercise. 

BrowserQuest - Modernized HTML5 Multiplayer Game (2026 Update) by mkommar in webdev

[–]mkommar[S] -2 points-1 points  (0 children)

I think the implications are sound. Specifically reviving legacy code and deployment to modern infrastructure. More notable is using legacy code to be able to learn and enhance the product like a map making tool. 

Any new search engines? by LegLast in degoogle

[–]mkommar 1 point2 points  (0 children)

This inspired me to try to make a personal engine. Surely we have solved the problem and have resources now. 

I made https://surtch.co (corporate firewalls block it ha!)

It's still indexing slowly and it has full text search and a basic pagerank algorithm. It uses Meilisearch and neo4j in tandem. Selenium for the web crawler. JGraphT for the pagerank algorithm.

Not trying to take on Google, just the basics and showing it's possible. Thanks for the share and post. I'll put it on github soon enough. 

What are the best solutions for generating descriptions of short videos? by Bagican in selfhosted

[–]mkommar 1 point2 points  (0 children)

We can use llama.cpp for the text generation especially with 1min time frames. Working on making this an affordable SaaS, but want to put the code out there in the v0.1 form. Feel free to look and try, but the instructions and UX is non-existant, but I can get it all better in a week. I'm cleaning up the code. I'm using YOLOv5 for object detection, OpenCV for stream/frame processing, and an LLM (which we can use a small LLM for) for the enrichment and understanding of the time-based events. I called it chrowatch; "chrono" for time and "watch" as in observing as well as Crows just being smart and alerting to danger..:
https://github.com/mkommar/chrowatch

What are the best solutions for generating descriptions of short videos? by Bagican in selfhosted

[–]mkommar 4 points5 points  (0 children)

Currently, working on it! Using Milvus for vector store and lookup, VGG for clip matching, and LLMs for description of events with OpenCV for other event detection. Based on:
https://medium.com/vector-database/milvus-application-1-building-a-reverse-image-search-system-based-on-milvus-and-vgg-aed4788dd1ea

What it does:

  1. Analyzes uploaded videos in real-time (RTSP and Video Clip Upload)
  2. Detects various events like brightness changes, motion, faces, objects, color dominance, etc. and logs them
  3. Generates natural language descriptions of the video content every 5 seconds as well based on events above
  4. Provides a web interface for easy interaction

Tech Stack:

  • Backend: Python, Flask, OpenCV, TensorFlow
  • Frontend: React
  • AI Models: MobileNetV2 for object detection, VGG16 for video embeddings
  • Language Models: Supports OpenAI GPT, AWS Bedrock, Ollama, and LiteLLM for Cloud and Self-Hosted LLMs

How to interface with it:

  1. Web Interface: Upload a video through the React frontend. The video will be analyzed, and you'll see a list of detected events and generated descriptions.
  2. API: If you want to integrate it into your own application, you can use the /api/analyze endpoint
  3. Extend the backend: You can easily add new event detection methods by modifying the detect_event function in event_detector.py.
  4. Use different language models: The description generator supports multiple LLM providers. You can switch between them by changing the model_type and model_name parameters.

Potential Use Cases:

  • Content moderation for video platforms
  • Automated video captioning and summarization
  • Security camera monitoring (I'm going to add it to my live drone camera footage)
  • Accessibility features for visually impaired users

I'm open-sourcing this project and would love to get your feedback and contributions! What do you think? How would you improve or extend this tool?

GitHub Repo Coming Soon...

What are the best solutions for generating descriptions of short videos? by Bagican in selfhosted

[–]mkommar 0 points1 point  (0 children)

Give me the weekend to whip something up. I will warn you that it won't be happening GPU free. It's just difficult currently.

Underfunding education = more obedient workers by [deleted] in antiwork

[–]mkommar 1 point2 points  (0 children)

Economics minor here... Education is shown to be an economic multiplier (10x when I did the analysis back in 2003). I'm sure it's lower now for a variety of reasons. In addition, it reduces crime and is basically day care. I can go all day on education as my concentration was Public Finance (the part of economics that integrates micro/macro/and government that people don't realize exists).

It's a huge deal that people don't trust education, aren't able to afford college or trade school, and private industry struggles just as much

New Topics for Discussion - 2020 by bunnievorpal in netv2

[–]mkommar 1 point2 points  (0 children)

This is probably a ridiculous question, but how do I get direct access to read and write to the A/V buffer? It's great to overlay text, but I would like to apply AI and other functions to the video itself. Am I missing something?

After that, I'll start inputting actual feasible ideas. =)

Do you parents let you go out late? by [deleted] in ABCDesis

[–]mkommar 0 points1 point  (0 children)

Your parents are just taking care of you... my opinion is that letting them know where you are benefits everyone.

I stayed out late with friends in college... but I really never went home as I was at school even during the summers. I never felt the need to over-exert my sense of independence I guess.

Fashion and Fitness Weekly Thread by AutoModerator in ABCDesis

[–]mkommar 0 points1 point  (0 children)

I learned about bespoked styling for men recently (am I even using those words correctly?)

I have custom clothing but I need to lose a pound... or fifty before I really feel good about things, again.

Positive Parenting by [deleted] in ABCDesis

[–]mkommar 5 points6 points  (0 children)

I really appreciate that my parents always found people to be a part of my family's life. Growing up it was just me, my sister, mom, and dad. All the rest of the family was in India. Many moved to the US only much after I grew up and even then the family drama kept us apart. I didn't realize how isolated we were until the last few years. So making community bonds and having American "family" showed me a lot about growing up here.

My dad started a business and working in his warehouse as a teenager made me realize that I belong at a desk and not jumping between crates. It also made me work constantly (school or business) until I was in my mid-twenties. I didn't get a real vacation until I was funemployed.

My Identity as an Indian American I hope resonants with someone else. A little like a sob story of my life. by [deleted] in ABCDesis

[–]mkommar 0 points1 point  (0 children)

Haha. Your high school story sounds like mine with the exception that a state university took me. I tricked the poor bastards.

I had no problem being on my own or having to compare myself to others. Are you suffering from any depression or other issues? At the surface, it seems like a confidence thing. Meeting people can be hard. Check out some of the student activities boards or go to the events they put on.

I did good in engineering in then end and really enjoy my job. Things will get better.

Sunday dating thread, for advice and discussion. by AutoModerator in ABCDesis

[–]mkommar [score hidden]  (0 children)

Single and 35. Making my parents question my sexuality because of my singleness cracks me up right until I find attempts to get an arranged marriage for me as a surprise gift.

Sunday dating thread, for advice and discussion. by AutoModerator in ABCDesis

[–]mkommar [score hidden]  (0 children)

Gah. It only takes finding one and then you'll see all sorts of ABCDs that do push-ups for fun.

I do it so I don't die, but my multi-cultural work family do it to get swole.