3 ms·
One time I printed out all the code--at that time ASP, HTML, CSS, and Javascript--that got executed for one page load of the homepage of my employer's primary w
by snowwrestler 14y ago
One time I printed out all the code--at that time ASP, HTML, CSS, and Javascript--that got executed for one page load of the homepage of my employer's primary website. I taped the pieces of paper end-to-end and hung them on my wall.
It made a great conversation piece with my coworkers. Non-technical folks (most of them) were astounded that so much text was being interpretted and executed every single time they loaded the homepage (in less than a second).
What was the point? It helped set a certain emotional tone to our conversations. Folks found it a lot harder to demand their project be done "right now, it's easy" when directly confronted with the complexity behind a single page load.
Likewise, stories that highlight the immense speed and complexity of high frequency trading help set an emotional tone of alienation and fear. It helps trigger the same reflex Frankenstein and The Terminator played off of: "maybe we're unleashing technological forces that no one can control."
But of course if you are well and truly versed in a technology, that feeling goes away. I knew that our crappy brochure website was not very complicated as websites go.
- AdamTReineke 14y agoI really like that. Did you print libraries and the like, or just the stuff you wrote? I could see value in having a bound version of jQuery if it wasn't on the wall, "I didn't write this, but I know what is in it and how to use it."
- snowwrestler 14y agoThis predated the popularity of js libraries like jQuery, so it was all code that we had written ourselves. Into a text editor, I pasted the HTML source of a rendered page as presented to the end user, then went back and replaced every call to an external js or css with the actual contents of those files. Then at the top, above the doctype declaration, I pasted in the ASP bootstrap code that ran on every page load. I did not include any representation of the compiled code behind the site, like SQL Server, IIS, etc. If were going to do this now, I would definitely include js libraries like jQuery. The point for me was to illustrate just how complex websites are, not to take personal credit. If you wanted to illustrate it more precisely, maybe you could use different font colors for your code vs. library code.
- mverwijs 14y agoAs an ops-guy (interestingly enough, at an HFT company), I used graphviz to draw out a diagram of all the network interfaces and routes that were being used when trading on a single exchange for one single instrument. It was a huge, big, complex, ugly thing. We laughed. Good times.
- aangjie 14y agoThat sounds cool.... I would love to see it though understand the security concerns..