How we built a web controlled robot with SSL tunnels and perl
In this technical retrospective (2010), @danecjensen shares practical architectural lessons learned from running, scaling, or migrating production software under lean constraints.
Core Principles for Independent Builders:
Defaulting to simpler architectures (such as monolithic frameworks, SQLite, or managed VPS) prevents early engineering bankruptcy.
Evaluating true compute and egress costs reveals that high cloud bills can often be slashed by 80%+ through judicious re-platforming.
Code you write at 2 AM as a solo engineer must be easy to debug six months later without complex microservice dependencies.
Community Debate Themes:
HN engineers debated the tradeoffs between cloud convenience and raw server economics, database indexing strategies, and resisting premature architectural complexity.
CATEGORY Frugal Engineering →
HISTORICAL ERA Web 2.0 Genesis (2007–2013)
COMMUNITY SCORE ★ 24 points
TOTAL DISCUSSIONS 6 comments
``` Serving live video over the internet
The Cam.ly security camera and interface system is super simple to set up. Plug power into the camera and connect it to the internet. Point and shoot. We slightly changed the interface for the pinata buster. We won’t talk more about this part because how it works exactly is a trade secret.
``` It's seriously disappointing that they refuse to talk about the streaming code. Last year I tried to build a web-enabled robot. I never found a way to stream the live video from the web-cam to a flash widget. There were lots of online services and commercial products, but no open-source stack.
It looks like Cam.ly will become unusable when the manufacturer's online web service goes down.
I find the "and perl" part particularly dubious. Here's an excerpt:
``` system("echo '$mydata' > /home/rhett/usernick"); system('/home/rhett/music_player.rb &'); system('/home/rhett/servos/phidgets-examples/AdvancedServo-simple &');
``` As a former perl hacker, this kind of stuff was infuriating to me before, but it just seems silly now.