Hacker Newsnew | past | comments | ask | show | jobs | submit | infiniteregrets's commentslogin

It builds trust if its live


indeed, we wanted to build an example for a quickstart to showcase "data in motion" and starwars seemed like a perfect fit, the OG had IP blocks in place which made it really difficult to use, so we thought of finding some OSS project that we could self-host and after a lot of searching we found "ascii-movie" (our patch: https://github.com/s2-streamstore/ascii-movie) and the end result was just as similar to towel.blinkenlights.nl -- https://s2.dev/docs/quickstart or simply telnet starwars.s2.dev 23

ps, it is running on fly.io so please don't melt the poor baby


Amusingly, the original that I wanted to improve upon a quarter of a century ago still works.

My improved version written in Java no longer does.

* https://jdebp.uk/Softwares/text-movie-player.html


Nope! I think I did come across this, but the ecosystem around it didnt seem to be there. You can get AMG8833 for quite cheap in some places


That's awesome! I love the idea of having everything self hosted, but I have various ideas like being able to share the streams on devices etc which i havent built upon. Please do share what you end up building!


Hi! I am the author of this post, feel free to ask any questions about the project! I use this project at home to monitor the kitchen sometimes (:


Very cool and fun project! I am a total dummy when it comes to this kind of hardware stuff and always admire people who do it.

A couple of questions:

* How / where did you get the inspiration for this? To me it's one of those things that seems "obvious" once I see it, but I wouldn't have thought of it on my own first.

* What does that thermal imaging camera "see?" Just heat? Could it detect a person vs. robot vacuum vs. house cat? (relevant for kitchen monitoring especially!)

* From the article, it looks like you're using Python? Are there good libraries available for other ecosystems as well?


Hi, thank you for your question!

I have been interested in this since I was in college. I was building a capacity counting system for our gym. Our gym used density.io and seemed like a waste of money and I though how about if we could have our own solution homegrown by students. But I couldn't get people on board, but I was able to prototype something.

The thermal camera is just a pixel array, which each pixel is denoting its temperature. Kitchens are tricky, since hot items can gravely affect the temperature readings. I use it at the entrance to check if my roomie is in or not/.

you have drivers for amg8833 in rust and c I believe, but adafruit stuff is good in python so I would say its a good place to start IOT projects! You can write your own drivers, which is quite fun!


Thanks for your answer, appreciate it.

Follow-up question - what's your take on using AI to maybe generate a driver for a different language?


I would suggest against it, I feel handicapped using AI sometimes. its helpful in a lot of cases eg repetitive work, but drivers feel like you need to be very careful so I would use AI to learn concepts and write things myself! Good luck!


Sounds like good intuition to me, thank you :)


(S2 dev) I think it took a bit of time to figure out what was going on as it was more of a game of enabling a feature in the sha2 crate since the profile showed us that it was using `soft` while we needed the hardware optimized. We thought being on neoverse-v1 would automatically detect to use hardware optimization, but that wasn't the case and we ended up looking at the sha2 crate closely only to figure that enabling the asm feature fixes it!


We were looking at the main branch of the sha2 crate at first, where the 'asm' feature has been removed (but this is unreleased, will be in 0.11.x) https://github.com/RustCrypto/hashes/blob/master/sha2/CHANGE...


Cool, makes you wonder how many more of these oneliners are scattered across the codebase (in application and also OS etc).

Sidenote, I wonder how close we are to detect these automatically. From profiling many various applications, it feels like that should be a tractable problem.


hi, S2 dev here. I found that if you explicitly set the algorithm for the checksum (crc32c) aws SDK would ignore the provided checksum and we were doing both. I also found a related issue https://github.com/awslabs/aws-sdk-rust/issues/1103


my middle school English teacher used to say the last four lines of this poem often, but I never understood why... or maybe I do now


(S2 Team member) As we move forward, a Java/Kotlin and a Python SDK are on our list. There is a Rust sdk and a CLI available (https://s2.dev/docs/quickstart) . Rust felt as a good starting point for us as our core service is also written in it.


Merely as a "for your consideration," writing an SDK in a very, very different language can surface "rust-isms" in the way your API works that might not be obvious when using a homogeneous tech stack

I think of that as the "Chinese wall" of shipping SDKs: can someone not familiar with your product use it effectively from a language you don't know


The pattern here is the popularity over the months i.e. classifying a summer/winter drink


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: