5 ms·
I must say, out of all the things to happen on a Thursday night I wouldn't have expected to read an article where someone referenced my own code that I wrote wh
by nvella 6y ago
I must say, out of all the things to happen on a Thursday night I wouldn't have expected to read an article where someone referenced my own code that I wrote when I was 15. (5 years ago now... time flies) Here's the file I presumed he looked at; https://github.com/nvella/sdvr/blob/master/pk.c https://github.com/nvella/sdvr/blob/master/pk.c
I was trying to reverse-engineer my parent's network CCTV DVR so I could hopefully integrate it with Home Assistant - as far as I'm aware the sluggish smartphone apps are still the only way to access those boxes. I wasn't ever able to get as far as George did with his IP cameras; I hit a snag on trying to correctly reassemble the H264 streams, so all I ever got out of it was mostly corrupt still frames.
If you're reading this George, well done! :D
- sokoloff 6y agoI love these “it’s a small world” interactions on news.yc.
- cbanek 6y agoAmen! It's really touching when someone finds a bit of code that you thought would never be interesting and uses it! I've actually started a few friendships by asking questions, reporting bugs, writing random thank you notes on little code things. It's special to be reminded that you're part of the general network of humanity doing neat things, even if many things go unnoticed. :) Also very impressive code OP!
- knodi123 6y agolol, and then hacker celebrity Cliff Stoll chimes in with some nice words. This website truly is kinda special.
- thrtythreeforty 6y agoHi! Author here. You saved me a good day of figuring out what all the header fields meant. I definitely appreciated finding your code!
- thrtythreeforty 6y agoAlso... When you were 15? Geez, I think I knew what GWBASIC was at that age. Kudos again.
- nvella 6y agoCheers :) Yeah, I was one of those kids that spent most of their free time programming or otherwise tinkering with computers. I started with simple systems scripting languages before moving to Ruby and getting a proper grip on basic OOP stuff, C then shortly followed. I don't really have any use for C today, but it definitely taught me a lot. It was intimidating at first, but when the concept of pointers finally clicked I felt like I had a sense of control in the language, and things were relatively deterministic and predictable. I did most of my projects in C for a few years, but eventually got sucked into the JS ecosystem like pretty much everyone else at the time. These days I mostly work in .NET - C# is constantly evolving, and with .NET Core it's seemed to strike a good balance between powerful tooling, cross-platform support, performance, and just fun language features. I'm pretty content for now :)
- CliffStoll 6y ago"Your definition of fun may vary" ... happily, my idea of fun is homeomorphic to yours. Well done!