<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="wordpress/2.3.1" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	>

<channel>
	<title>Presidium Podium</title>
	<link>http://podium.presidium.org</link>
	<description>The Podium</description>
	<pubDate>Thu, 14 Aug 2008 05:28:01 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.3.1</generator>
	<language>en</language>
			<item>
		<title>The capital of Georgia (the country).</title>
		<link>http://podium.presidium.org/archives/48</link>
		<comments>http://podium.presidium.org/archives/48#comments</comments>
		<pubDate>Thu, 14 Aug 2008 05:28:01 +0000</pubDate>
		<dc:creator>Alex Balashov</dc:creator>
		
		<category><![CDATA[Fury]]></category>

		<category><![CDATA[Language]]></category>

		<guid isPermaLink="false">http://podium.presidium.org/archives/48</guid>
		<description><![CDATA[In connection with the recent military conflict between Georgia and Russia, why does all American television and radio news media unfailingly refer to Georgia&#8217;s capital as &#8220;Tiblisi?&#8221;
The capital is Tbilisi, not Tiblisi.  T-b-i-l-i-s-i.  Not T-i-b-l-i-s-i.  That&#8217;s T&#8217;bi-li-si, not Tib-lee-see.
]]></description>
			<content:encoded><![CDATA[<p>In connection with the recent military conflict between Georgia and Russia, why does all American television and radio news media unfailingly refer to Georgia&#8217;s capital as &#8220;Tiblisi?&#8221;</p>
<p>The capital is Tbilisi, not Tiblisi.  T-b-i-l-i-s-i.  Not T-i-b-l-i-s-i.  That&#8217;s T&#8217;bi-li-si, not Tib-lee-see.</p>
]]></content:encoded>
			<wfw:commentRss>http://podium.presidium.org/archives/48/feed</wfw:commentRss>
		</item>
		<item>
		<title>IPTV is stupid (as a business model for independent ISPs and CLECs)</title>
		<link>http://podium.presidium.org/archives/47</link>
		<comments>http://podium.presidium.org/archives/47#comments</comments>
		<pubDate>Mon, 07 Jul 2008 04:51:58 +0000</pubDate>
		<dc:creator>Alex Balashov</dc:creator>
		
		<category><![CDATA[Business]]></category>

		<category><![CDATA[Technology]]></category>

		<category><![CDATA[Unequivocal Rants]]></category>

		<guid isPermaLink="false">http://podium.presidium.org/archives/47</guid>
		<description><![CDATA[I&#8217;m more than a little bewildered by all the rumblings in the CLEC/ISP community in the last year or two in favour of IPTV, or IP-based television content delivery.
For those not familiar, it is basically the same service as that of your cable or satellite provider;  channels of television content beamed into a set-top [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m more than a little bewildered by all the rumblings in the CLEC/ISP community in the last year or two in favour of IPTV, or IP-based television content delivery.</p>
<p>For those not familiar, it is basically the same service as that of your cable or satellite provider;  channels of television content beamed into a set-top box.  Except, instead of using the traditional HFC and/or waveguide and QAM transport infrastructure that cable uses, it is prospectively delivered (1) over a variety of last-mile infrastructure in telecom companies&#8217; incumbent plant, such as copper ADSL2 loops, direct fiber to the premise (a la Verizon FiOS), and (2) it comes as an IP-based data stream, leveraging a variety of approaches that seem to suit this aim &#8212; e.g. multicasting.</p>
<p>I think that in general, IPTV is a dead-end business model for ISPs and CLECs to pursue.</p>
<p>As is widely acknowledged to happen from time to time, I did not consciously arrive at the conclusion suggested in the title until stumbled into a recent debate on ISP Planet&#8217;s <em>isp-clec</em> list about affordable and/or partly open-source driven head-end equipment for IPTV and associated accoutrements for the required network build-out.  It&#8217;s something that came to fruition as a realisation as I devoured the exchanges about encoding gear, <a href="http://en.wikipedia.org/wiki/GPON">GPON</a> vendors, etc.</p>
<p>Having bared that thesis, I will attempt to indemnify myself with the disclaimer that I am not a full-time market analyst, do not work in the video space, and know relatively little in detail about the technology. Additionally, I do not watch TV.  I have not even had cable for many years now.  And in general, television, the film industry, and entertainment as a whole are at the absolute dead-bottom of my list of personal or professional interests.  So, I cannot possibly claim much credibility or authority here even if I harboured such designs.</p>
<p>It&#8217;s just a gut feeling.  But gut feelings carry a frequently under-acknowledged significance in the anatomy of business decisions.</p>
<p>The first and most principal problem: TV is obsolete.  No, I am not saying that nobody watches TV anymore;  that is rather self-evidently not the case, and it seems implausible to even imagine American society without one of the most critical elements of its vitality&#8211;if that is the appropriate word to use.  Indeed, the seemingly inextricable relationship of television to the basic respiration of American society &#8212; at least, on a pedestrian level &#8212; is one of the best known things about American society.</p>
<p>What I mean is that the traditional, incumbent nature&#8211;and particularly, the format&#8211;of broadcast television is on the decline.  Television conceptualised hitherto, as a one-to-many broadcast network offering a fixed selection of professionally prefabricated content interspersed with frequent advertising, is not a growth industry.</p>
<p>The leading cable networks&#8217; viewership has been consistently falling for several years now.  Hollywood is beset by successive, protracted strikes of the various writers&#8217; and actors&#8217; unions, contributing to a blight of new and original content as well as a commonly acknowledged tendency to recycle, rerun and reuse.  New shows are crafted according to predictable and overused formulas to &#8212; at least, I think &#8212; a previously unseen level, as epitomised by the bromidic &#8220;reality&#8221; genre.  A study released just over a week ago suggested that the median age of habitual American TV viewers is now 50.  Advertising revenue has plunged. The news channels part with growing segments of audience as more and more people&#8211;most especially the youngest demographics&#8211;move to the Internet to get their news.</p>
<p>Of course, this assessment falls short in its failure to consider certain lopsidedness in the trends.  Various pay-per-view and on-demand movie channels, and other accessories of the technological upgrades heralded by digital cable, have actually registered modest gains.</p>
<p>All the same, I can&#8217;t see how anyone could be moved to suggest that these market conditions are investment-grade.  Far as they may be from a proclamation of TV&#8217;s imminent demise, the stench of decay and obsolescence seems to be in the air.</p>
<p>That&#8217;s not to say that consumption of the essential phenomenon of the moving picture has abetted, although that may be the case with categories of younger viewers who have switched to the textual realm of the Internet to obtain their news&#8211;and increasingly from non-traditional media outlets, to boot.</p>
<p>Rather, the medium and the basis of the content has shifted increasingly in favour of online video content such as YouTube.  As with the challenge to traditional corporate media posed by blogging, more and more video content that is considered entertaining and defining in popular culture is becoming user-generated and collaborative&#8211;&#8221;amateur,&#8221; if the terminological preference of the incumbents is to be respected. Perhaps more significantly but less overtly, there is a plethora of commercial (and some free) sites offering streaming feature-length movies, comprehensive archives of TV show episodes, and much more.  Some of them are probably legal and have content licensing arrangements with the industry. Most, I imagine, are not.  I can&#8217;t really say, as I am not a consumer thereof.</p>
<p>Even among those whose consumption of the boob tube has not significantly diminished, TiVo appliances have become commonplace.  They conveniently defeat intrusive advertising and dutifully record shows to be watched later, according to the viewer&#8217;s own schedule and preference.</p>
<p>All this points to the irreversible trend that people are no longer satisfied with bulk, canned streams of content, or anything resembling &#8220;channels.&#8221;  The next generation of video content is something <em>like</em> YouTube, if not necessarily identical.  It my involve a marriage of the YouTube paradigm with a number of other presentation formats, technologies and approaches, including ones that may not have been conceived or applied yet.  But essentially, something that carries its click-and-pick spirit forward.</p>
<p>It&#8217;s no different than where the music industry has been headed, where, aside from the more publicised and prolific lamentations about CD prices and labels screwing artists and so forth, the critical - if understated - key factor is that people want to cherry-pick their songs.  Nobody wants to pay $16 for a CD where they won&#8217;t like all - maybe even most - tracks.  But they are quite happy to pay $.99 for a single track from the iTunes store.  It&#8217;s because they want that specific track, right here, right now, easily and quickly.  And they want to amass it into a large, portable collection on the device of their choice (which, in light of the DRM restrictions, makes market acceptance of the Apple approach somewhat curious, if not necessarily beyond the reach of explanation).</p>
<p>And then, of course, there is the woefully limited landscape of choice offered within the RIAA production and distribution cartel, and the incredibly high financial barriers to entry it carries.  How are you going to get <em>your</em> band&#8217;s album into the Barnes &amp; Noble music section?  Online music distribution democratises the playing field considerably, if not perfectly.</p>
<p>This is where things are headed.  Toward openness, clips, bites - all on-demand, and bolstered by the convergence of digital delivery features with the interactive possibilities offered by computer interfaces, fed by the Internet &#8212; so much as that remains possible in light of the vicious hostility displayed by the telcos and MSOs alike toward net neutrality and all the issues surrounding that.</p>
<p>(By the way, the cable companies know this.  That doesn&#8217;t mean they like it.  That is why they have lined up to impose bandwidth and data transfer limits on customers once again - once thought to be a tired anachronism of a previous generation of the Internet economy&#8217;s evolution.  It&#8217;s because they assume&#8211;not without some justification&#8211;that if you&#8217;re transferring 60-80 GB/month or more, you are either a prolific BitTorrent pirate or you&#8217;re watching a lot of streaming video, which means you&#8217;re not watching TV, which is a terrible, terrible thing indeed.)</p>
<p>Rome is burning, and you want to build a telco-cum-cable company providing what can and should be properly called <em>legacy</em> broadcast content in the middle of it?  I&#8217;m not in MENSA, but if someone tries to take your money to invest in something like that, I&#8217;d say don&#8217;t fall for that scam.  Run for the hills!</p>
<p>The second issue is with the technology, marketing, costs, and competency of the sort of organisation that a telco-land network service provider (CLEC / ISP) is.</p>
<p>Who said the head-end technology available within an independent CLEC&#8217;s budget works well, and is reliable or mature?  Nobody I&#8217;ve spoken to who has tried it.  Of course, I could just be speaking to the wrong people.</p>
<p>A friend of mine, who works with MSOs for a large vendor, has informed me that a lot of the gear typically found in major MSOs&#8217; head-ends is overpriced, overrated, and suffers from egregious duplication and wastefulness stemming from lack of interoperability.  But, I am not persuaded that anything built out there to replace it for a CLEC&#8217;s build-out budget actually works.  Mind, this isn&#8217;t really my area of technical expertise, so I just don&#8217;t know. But nothing I have heard has been particularly encouraging.  If anything, it&#8217;s been abusive and disdainful of Mickey Mouse solutions.</p>
<p>Who said last-mile broadband delivery infrastructure in the US, particularly copper or hybrid ADSL2, can handle high-definition, full-motion digital video streams with the level of robustness TV viewers take for granted with conventional digital cable, or that the equipment and technology necessary for delivering it over IP has those qualities either?</p>
<p>I know that a lot of the distribution infrastructure feeding the MSO head-ends has been IP-based for a while.  But the last-mile portion is done with QAMs and RF.  Are you sure you&#8217;re going to match that consistency with New Age ADSL2&#8211;still a largely uncharted province in terms of its rollout in North American telco plant and all of its idiosyncrasies, most notably a lack of fiber to the premise&#8211;and IP-based decoders?</p>
<p>If my experience of the extreme sensitivity of users to the quality of service issues (read: the way it&#8217;s inferior to the PSTN experience) in residential VoIP delivery is any indication, the Monday Night Football crowd will probably lynch you.  Yes, I know a lot of that has to do with the feebleness of delivering carrier-grade voice over the Internet, which isn&#8217;t how IPTV would work at all, but that is not a hinderance to the point.</p>
<p>The network build-out, presumably involving some combination of copper ADSL2, fiber to the premise, and various hybridised transport, is a very capital-intensive undertaking.  And as if the regulatory and bureaucratic burden on CLECs isn&#8217;t enough already, franchising agreements and content licensing enter the picture as significant CAPEX.  I don&#8217;t know how much any of that costs, but I have a hard time imagining that an independent CLEC can get it the same breadth of it, on the same terms, as the large cable MSOs.</p>
<p>Third, to harness an insight of Clint&#8217;s: video is hard. Let alone to do right.  No, it&#8217;s not insurmountable, but it is fraught with considerably more technical and logistical complexity than, say, voice or data.  As Clint has remarked, it is relatively easy for a cable entity to enter the telephony space, especially as they already do data, making VoIP a logical, ostensible proposition.  The synergy in triple-play is there for them.  But telcos trying to reform their competency upward from voice/data into the video space is much harder.  The synergy in triple-play is there for the MSOs because it&#8217;s a downhill battle &#8212; they already have the hard part.  Telcos, institutionally, would have to fight an uphill competency battle.</p>
<p>But if that&#8217;s not discouraging enough, the real question is &#8212; where&#8217;s the elusive value proposition, the uniting elixir that is going to bring all these customers and the windfall profits for the enterprising CLEC?</p>
<p>What is being sold?</p>
<p>Something that people don&#8217;t already have, like &#8230; cable TV?   Very funny.  Perhaps rural areas not covered by cable might be a candidate, as relatively few as they are, but it is a stretch of the imagination to consider that the infrastructure there - i.e. the copper plant - is ready to support a brand new ADSL2 roll-out.  Sure, remote DSLAMs with their fiber tails can be intrepidly built, but if the cable company doesn&#8217;t think there&#8217;s any ROI in building out their plant to the area because of population density or demographics, you must know something they don&#8217;t.</p>
<p>You might try for rural areas that have inferior, legacy local-yokel cable with a narrower range of features and content access, but you&#8217;ll have to conveniently ignore the existence of satellite&#8211;and hope your customers do too.</p>
<p>Aside from that, what&#8217;s the value?  A little bit of bundled savings on triple play?  Using New Age, <em>avant garde</em> technology that is unlikely to work as well as the perfectly good cable TV that is fairly ubiquitous, over experimental delivery mechanisms?  And to suppose that your cost structure &#8212; and urgent need to recoup the cost of the build-out you just did and that the MSOs already have &#8212; is going to allow you to offer that competitively?  CLECs/ISPs are often straitjacketed from even offering voice and data competitively with the ILECs unless they&#8217;re simply willing to take a margin hit;  how did TV get to be the manna from the sky?</p>
<p>Marketing this type of stuff with any significant conversion rate is hard enough as is.  It&#8217;s going to be even harder if you have nothing superior to offer.  This is a good time to brush up on the subjective theory of value:  just because television may be a novel, interesting business for a telco doesn&#8217;t mean its customers will think &#8212; or experience it as &#8212; a novel, interesting product.  Well, they might think that, but the correlation between thinking certain things and voting with dollars would prove disappointingly low.</p>
<p>Having said all that, there are probably a few niches here and there where going into the TV business might make sense, such as multi-tenant buildings (MDUs).  Or maybe if you&#8217;re fortunate enough to get a shot at a free and clear monopoly on a small (but growing) rural municipality if you do the trenching.  Well, okay.  That could work pretty well.  But then the question arises:  Why not do that from the cable side, instead of the telco side, from an infrastructural perspective?  Get stuff that already works well.</p>
<p>In any event, I&#8217;m not prepared to condone a business model based on the theoretical possibility of making it work with a set of highly specific, contrived artifices.  I&#8217;m sure there are circumstances in which there may be an extremely compelling business case to offer janitorial services or lawn care, too &#8212; maybe do a deal with Blackwater in Iraq or something.  Pockets of the extraordinary notwithstanding, it doesn&#8217;t count.</p>
<p>The news is not all bad.   As I mentioned above, TV may be dying, but consumption of video content is not.  If what you&#8217;re interested in is capitalising on the possibility of offering the next generation of computer-convergent set-top boxes with access to all sorts of newfangled content options whose market share and significance is likely to meteorically rise, that&#8217;s not such a bad idea.</p>
<p>But in that case, concentrate on rolling out the next generation of high-speed broadband access and customer premise equipment, especially as much of it is likely to be Internet-driven.  If it turns out that this is not the case, you can add distribution and plant to drive new content models later.  Why on earth would anyone want to get quagmired in the business of television as such?  Why the stampede to imitate what the cable companies have been refining for decades, and provide an alternate distribution mechanism for the exact same content?</p>
<p>It&#8217;s time CLECs, Wall Street, and vendors got off this insipid IPTV bandwagon.  Independent CLECs need to find something better to do.</p>
]]></content:encoded>
			<wfw:commentRss>http://podium.presidium.org/archives/47/feed</wfw:commentRss>
		</item>
		<item>
		<title>Oh, come on.</title>
		<link>http://podium.presidium.org/archives/46</link>
		<comments>http://podium.presidium.org/archives/46#comments</comments>
		<pubDate>Wed, 18 Jun 2008 23:19:54 +0000</pubDate>
		<dc:creator>Alex Balashov</dc:creator>
		
		<category><![CDATA[Development]]></category>

		<category><![CDATA[Tips]]></category>

		<guid isPermaLink="false">http://podium.presidium.org/archives/46</guid>
		<description><![CDATA[What is this &#8220;unit testing&#8221;?
In Mother Russia, this was an appropriate level of testing:

#ifdef _DEBUG

assert(some_stuff);
assert(expr() == 3);
assert(so_on &#38;&#38; so_forth);

#endif /* _DEBUG */
That is all a real man needs.
]]></description>
			<content:encoded><![CDATA[<p>What is this &#8220;unit testing&#8221;?</p>
<p>In Mother Russia, this was an appropriate level of testing:</p>
<pre>
#ifdef _DEBUG

assert(some_stuff);
assert(expr() == 3);
assert(so_on &amp;&amp; so_forth);

#endif /* _DEBUG */</pre>
<p>That is all a real man needs.</p>
]]></content:encoded>
			<wfw:commentRss>http://podium.presidium.org/archives/46/feed</wfw:commentRss>
		</item>
		<item>
		<title>Tips for making good IVR recordings for business PBX systems.</title>
		<link>http://podium.presidium.org/archives/44</link>
		<comments>http://podium.presidium.org/archives/44#comments</comments>
		<pubDate>Sat, 17 May 2008 21:35:19 +0000</pubDate>
		<dc:creator>Alex Balashov</dc:creator>
		
		<category><![CDATA[Technology]]></category>

		<category><![CDATA[Telephony]]></category>

		<guid isPermaLink="false">http://podium.presidium.org/archives/44</guid>
		<description><![CDATA[Ideally, you should be using a professional recording company (the likes of Muzak) to record high-quality, business-class IVR messages, greetings, etc.
However, if you are determined to roll your own, here are a few tips.
Use an actual PBX phone handset.  If you&#8217;re using a VoIP system like Asterisk, you can use the Record() application with [...]]]></description>
			<content:encoded><![CDATA[<p>Ideally, you should be using a professional recording company (the likes of Muzak) to record high-quality, business-class IVR messages, greetings, etc.</p>
<p>However, if you are determined to roll your own, here are a few tips.</p>
<p>Use an actual PBX phone handset.  If you&#8217;re using a VoIP system like Asterisk, you can use the <code>Record()</code> application with a dedicated internal extension or something like that.</p>
<p>You will get better results that way than if you try to record sound files by outside means and convert them to the necessary results.  Here&#8217;s why:</p>
<ul>
<li>Direct-line handsets will have a certain level of ambient noise, hum, static, etc. associated with ordinary telephone conversation, but not the level of distortion one gets from the low-bandwidth codecs on cell phones, or calling in to record via the PSTN from a cheap analog handset and dealing with the realities of last-mile noise introduced by copper lines.  So, at the other extreme, don&#8217;t record by calling in from the PSTN either.</li>
<li>Digital handsets still have the essential qualities of a traditional phone handset as an electromechanical device in that the spectrum and quality of recording the diagraphm in the receiver produces is most closely aligned with the 3.1 KHz that PSTN voice lines are traditionally engineered to bear.  Thus, your output will most closely resemble the input that the playback needs.</li>
<li>There is always information loss involved in format conversion and quantisation.  Asterisk, for example, has the ability to record in the native codec in which you are going to later issue the playback toward PSTN and VoIP callers (i.e. ITU-T G.711u), requiring no lossy conversion.  Secondly, converting extremely rich, high-bitrate audio data with a high sampling rate to a codec of much narrower bandwidth (i.e. the Pulse Code Modulation used on G.711u, which is designed to be a digital bearer for PSTN-grade audio) and with logarithmic companding (the u-law / A-law part), can result in heavy content loss in the wrong places &#8212; this is why it&#8217;s hard to just take a high-quality MP3 and convert it to a telephony codec and expect your hold music to be discernable and pleasant to a PSTN caller.  The conversion and companding process can mangle the desired psychoacoustic profile of the clip far more so than simply recording it in the right codec to begin with.  It&#8217;s the general principle that if the bandwidth and content of the input does not differ so radically from the bandwidth of the anticipated output medium, less mangling and distortion will be introduced.</li>
<li>The sensitivity of the receiver in good handsets usually produces a more ample and adequate level of baseline volume, less likely to require upward boosting &#8212; and therefore less likely to introduce further distortions by amplifying the noise component of the signal.</li>
</ul>
<p>Otherwise:</p>
<ul>
<li>Speak clearly and distinctly into the receiver, while holding it at an angle with respect to your mouth that minimises the interception of breath.</li>
<li>Avoid subtle background noises, including sighing, chair creaking, tapping, clicking, etc.</li>
<li>Speak slowly and enunciate clearly - but not in such a caricatured way that your recording sounds like a preposterous departure from real human speech possibilities.</li>
<li>Definitely follow a prepared written statement.  While this will, in most cases, alter the tone of your speech to suggest more slimy &#8220;professionalism&#8221; and less &#8220;sincerity,&#8221; it will also create even out the cadence of your speech, as well as prevent conspicuous pauses and hesitation while you remember or improvise.</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://podium.presidium.org/archives/44/feed</wfw:commentRss>
		</item>
		<item>
		<title>World&#8217;s smallest Apache log analyser.</title>
		<link>http://podium.presidium.org/archives/43</link>
		<comments>http://podium.presidium.org/archives/43#comments</comments>
		<pubDate>Fri, 11 Apr 2008 23:16:28 +0000</pubDate>
		<dc:creator>Alex Balashov</dc:creator>
		
		<category><![CDATA[Development]]></category>

		<category><![CDATA[Perl]]></category>

		<category><![CDATA[Tips]]></category>

		<guid isPermaLink="false">http://podium.presidium.org/archives/43</guid>
		<description><![CDATA[Right here:


#!/usr/bin/perl

##
# Simple Apache access log parser that yields useful statistics.
# Designed to serve basic web analysis needs.
#
# Alex Balashov 

use strict;
use warnings;

## GLOBALS ##
my      @hits = ();
#############

# Preload.

while() {
        chomp;

        if(/^([0-9.]+)\s+\-\s+\-\s+\[(.[^]]*)\]\s+\&#8221;(.[^&#8221;]*)\&#8221;\s+[0-9]+\s+[0-9]+
\s+\&#8221;(.[^&#8221;]+)\&#8221;/o) {
    [...]]]></description>
			<content:encoded><![CDATA[<p>Right here:</p>
<blockquote>
<pre>
#!/usr/bin/perl

##
# Simple Apache access log parser that yields useful statistics.
# Designed to serve basic web analysis needs.
#
# Alex Balashov <sasha@presidium.org>

use strict;
use warnings;

## GLOBALS ##
my      @hits = ();
#############

# Preload.

while(<stdin>) {
        chomp;

        if(/^([0-9.]+)\s+\-\s+\-\s+\[(.[^]]*)\]\s+\&#8221;(.[^&#8221;]*)\&#8221;\s+[0-9]+\s+[0-9]+
\s+\&#8221;(.[^&#8221;]+)\&#8221;/o) {
                push(@hits,
                        {
                                &#8216;ip_addr&#8217; =&gt; $1,
                                &#8216;date&#8217; =&gt; $2,
                                &#8216;request&#8217; =&gt; $3,
                                &#8216;referrer&#8217; =&gt; $4
                        });
        }
}

# Generate reports.

print &#8220;Access log report: \n\n&#8221;;

print &#8220;Top 20 IP addresses:\n&#8221; .
      &#8220;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-\n\n&#8221;;

&amp;sorted_report(&#8217;ip_addr&#8217;, 20);

print &#8220;\nTop 50 requests: \n&#8221; .
      &#8220;&#8212;&#8212;&#8212;&#8212;&#8212;\n\n&#8221;;

&amp;sorted_report(&#8217;request&#8217;, 50);

print &#8220;\nTop 50 referrers: \n&#8221; .
      &#8220;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;\n\n&#8221;;

&amp;sorted_report(&#8217;referrer&#8217;, 50);

# Generate function to hash out unique requests and sort by a certain
# hashed criterion.

sub     sorted_report {
        my      ($key, $limit) = @_;
        my      %unique_tokens = ();

        foreach(@hits) {
                $unique_tokens{$_-&gt;{$key}} = 0 unless
                        exists ($unique_tokens{$_-&gt;{$key}});

                $unique_tokens{$_-&gt;{$key}} ++;
        }

        foreach(sort { $unique_tokens{$b} &lt;=&gt;
                        $unique_tokens{$a}
                     } keys %unique_tokens) {
                $limit &#8212; unless $limit == 0;

                printf &#8221;  %-50s %d\n&#8221;, $_, $unique_tokens{$_};

                last if $limit == 0;
        }
}
</stdin></sasha@presidium.org></pre>
</blockquote>
<p>Tells me everything I need to know.  Try it yourself:</p>
<pre>
   cat access.log | perl analyse.pl</pre>
]]></content:encoded>
			<wfw:commentRss>http://podium.presidium.org/archives/43/feed</wfw:commentRss>
		</item>
		<item>
		<title>Khrushchev on Western mass food-processing, Dutch chickens.</title>
		<link>http://podium.presidium.org/archives/41</link>
		<comments>http://podium.presidium.org/archives/41#comments</comments>
		<pubDate>Thu, 10 Apr 2008 23:29:27 +0000</pubDate>
		<dc:creator>Alex Balashov</dc:creator>
		
		<category><![CDATA[Funny]]></category>

		<guid isPermaLink="false">http://podium.presidium.org/archives/41</guid>
		<description><![CDATA[I apologise for my quietude lately.  Rumours of my disappearance have been greatly exaggerated, but I have been busy running a business (see last post).  
In the meantime:

From the second volume of Khruschev&#8217;s memoirs, the section &#8220;Plight of the Consumer&#8221;:
 
When the State mismanages agriculture, the average Soviet citizen suffers.  How do [...]]]></description>
			<content:encoded><![CDATA[<p>I apologise for my quietude lately.  Rumours of my disappearance have been greatly exaggerated, but I have been busy running a business (see last post).  </p>
<p>In the meantime:<br />
<img src="http://podium.presidium.org/wp-content/uploads/2008/04/khrushchev.jpg" alt="khrushchev.jpg" /></p>
<p>From the second volume of Khruschev&#8217;s memoirs, the section &#8220;Plight of the Consumer&#8221;:</p>
<blockquote><p> <em><br />
When the State mismanages agriculture, the average Soviet citizen suffers.  How do we know when the State is mismanaging agriculture?  I believe the food counters more than I believe the statistics I read. For that matter, I think the mood of the average housewife is a better indicator than the bureau of statistics about the health of our economy. As I&#8217;ve already said, our statisticians sometimes deliberately distort reality; the rosy figures they publish in the newspapers can&#8217;t be sold in the stores and made into soup.<br />
</em></p>
<p><em><br />
What does the mood of the housewives tell us? What do the food counters in the stores indicate about the current level of our economy? They tell us that all is not well, that the State has failed to satisfy both the quantitative and qualitative demands of our consumers.<br />
</em></p>
<p><em><br />
Even in Moscow, which has always enjoyed special privileges, shoppers can&#8217;t be sure of finding the meat they want. There&#8217;s also a shortage of eggs and poultry. In fact, if you&#8217;re determined to buy chicken, you&#8217;ll probably have to settle for poultry imported from Holland and other countries. These birds are usually too fat for our people&#8217;s taste, and <strong>the Dutch chicken has the additional disadvantage of smelling like fish.</strong><br />
</em></p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://podium.presidium.org/archives/41/feed</wfw:commentRss>
		</item>
		<item>
		<title>Good news: I&#8217;m fired / bad news: I&#8217;m fired.</title>
		<link>http://podium.presidium.org/archives/39</link>
		<comments>http://podium.presidium.org/archives/39#comments</comments>
		<pubDate>Wed, 06 Feb 2008 11:17:45 +0000</pubDate>
		<dc:creator>Alex Balashov</dc:creator>
		
		<category><![CDATA[Business]]></category>

		<category><![CDATA[Life]]></category>

		<guid isPermaLink="false">http://podium.presidium.org/archives/39</guid>
		<description><![CDATA[So, yes, for the first time in my adult life, I&#8217;m unemployed.
I was dismissed from the concern for which I have worked for the past two and a half months last Thursday.  It is impossible for me to go into any detailed explanation in a public forum without greatly compromising my professional position and, [...]]]></description>
			<content:encoded><![CDATA[<p>So, yes, for the first time in my adult life, I&#8217;m unemployed.</p>
<p>I was dismissed from the concern for which I have worked for the past two and a half months last Thursday.  It is impossible for me to go into any detailed explanation in a public forum without greatly compromising my professional position and, as increasing numbers of people blogging about work-related matters are discovering, potentially creating legal exposure for myself for libel, defamation, breach of NDA, and whatever else employers can come up with.</p>
<p><img src="http://podium.presidium.org/wp-content/uploads/2008/02/gd41-2.gif" alt="gd41-2.gif" align="left" />It suffices to say that my relationship with the business owner was problematic and not without recurring friction, and that various chronic personal choices, behaviours and shortcomings of mine are culpable here as well.  No, I don&#8217;t feel that I bear full responsibility for this outcome or feel that my termination was somehow fair and reasonable, but it would simply be disingenuous and immoral to lay it all at my employer&#8217;s doorstep.  It is as complicated as it is simple.</p>
<p>Contrary to what I always expected to be the case if I ended up in this position, I am actually all right at just this moment;  if utilised in a fiscally conservative manner, I&#8217;ve got about ~2-3 months of cash reserves to float by on.  But that&#8217;s not really a relief in any kind of grand scheme.  As an individual living in downtown Atlanta, I have very high living costs and lead a high-overhead life.  This would be a good time to be still stuck back in Athens with a few hundred dollars in recurring expenses, not in Atlanta with two mortgages, a car payment, HOA dues, insurance, and whatever other goodness.</p>
<p>Indeed, from the standpoint of my first instincts, it is quite terrifying to not have an income, and worse, no concrete, anticipated means of having one.  I&#8217;ve never really been in this position before &#8212; even for a short time&#8211; since I got out of high school.  The potential ramifications of financial failure in some or all of the above-mentioned asset / expenditure categories are absolutely not an option, without a doubt.  And I have enough life experience to know all too well that two or three months is practically nothing compared to the average required turn-around time on a variety of economic pursuits, including jobseeking.  Actually, finding a job in my field can easily take much longer than that.</p>
<p>That&#8217;s the take of the first instincts, anyway &#8212; yeah, despair and feel like a miserable failure, pretty much.  But this is not the time to listen to those first instincts.  This is a time to figure out what I&#8217;m going to do next and execute it.  Quickly.</p>
<p>So, despite my despite my strong inherent anxiety about having ended up in this situation, I&#8217;ve decided I&#8217;m going to listen to my rational side and see this as an opportunity, not as a tragedy.</p>
<p>The truth is, ever since I developed my entrepreneurial ambitions with <a href="http://www.evaristesys.com/">Evariste Systems</a> in late 2006, I&#8217;ve wanted this.  No, not to be fired, of course, nor to be jobless quite this very moment, nor to otherwise have my hand forced.  However, in my head, I wasn&#8217;t planning on staying employed much longer;  it&#8217;s hard to say how much, since I was so squeamish about taking risks and putting myself in this position of acute insecurity.  Maybe a few months.</p>
<p>All this time, I&#8217;ve been miserable at every job I&#8217;ve been, pretty much irrespectively of whatever objective engagement I might have otherwise had with its content (although, the inane and bromidic content figuring into a lot of them didn&#8217;t help at all).  It was the mere <em>fact</em> of the condition of employment in an existential sense.</p>
<p>I haven&#8217;t been able to entertain a professional self-concept that left me feeling &#8220;at home&#8221; or &#8220;comfortable&#8221; with what I was doing at a company;  all I ever felt was that I was &#8220;stuck&#8221; there.  Those who have known me in this period of my life can attest to a dense narrative replete with practically daily, unabating gripes about how impossible it is to try to do side-work, work on side-projects, and/or engage in some form of side-business on top of a taxing and exhausting &#8220;day job.&#8221;  Oh, and my level of enthusiasm for working on anyone else&#8217;s stuff, engaging in their process, following their dicta, etc. when my mind and my heart is entirely about my own business ideas and ambitions.  That enthusiasm has been on life support and barely breathing for a good while now.  I just don&#8217;t <em>care</em> to do anything for anyone else in anyone&#8217;s office any more;  all I can see and feel is how putting any spirit into it takes away time and energy from my own projects.  I&#8217;ve found that it doesn&#8217;t even matter if the substance overlaps considerably with my personal technical and business interests;  the mere <em>fact</em> of its being done in the context of employment asperates away all the joy.</p>
<p>I&#8217;ve also come into contact with a number of very viable and compelling opportunities throughout this time that I&#8217;ve had to pass up, neglect, and/or drop the ball on because there is no realistic way to execute them as side work in the evenings.  There is just no way.  And I&#8217;ve griped about it all the way, day after day, week after week.</p>
<p>Of course, all this hasn&#8217;t prevented the periodic burst of enthusiasm at something new and interesting, from a technical point of view, that has led people I&#8217;ve worked for to be really impressed with my skills and initiative.  But it doesn&#8217;t stay, and before I know it, it&#8217;s back to the same old grind.  By and large, I think I&#8217;ve been dwelling in mediocrity for quite some time now.</p>
<p>Pretty much everything I experienced in my daily work life was experienced in terms of how it takes away from my own business goals.</p>
<p>It is also fairly certain, upon reflection, that the mental and economic phenomenology of this mental disposition contributed to what ultimately got me fired.  Besides, I&#8217;ve even expressed to myself and those close to me the occasional yearning to quit, be laid off or fired so that I could get the necessary kick in the pants to start pursuing what truly makes me happy.  I just never took the steps.  Laziness, security, inertia &#8212; let me just flip my excuse calendar here.</p>
<p>I&#8217;m done with employment.  Another job &#8212; more of the same sort of thing &#8212; isn&#8217;t what I want.  If you believe everything happens for a reason, then consider that I&#8217;ve had six jobs at five companies in the past three and a half years.<sup>1</sup>  Surely there&#8217;s a reason for that.  It&#8217;s just not the cloth from which I seem to be cut, my increasing self-awareness in this area tells me.</p>
<p>I&#8217;m going to put my money where my mouth is, to so speak.  This <em>is</em> what I&#8217;ve been wanting.  I just never had the <em>cajones</em> to take the leap, and now someone&#8217;s kicked me off the edge.</p>
<p>I&#8217;m going into business for myself.</p>
<p>I&#8217;ve got a few things going for me.</p>
<p>For one, I leverage a good bit of quality relationships and industry contacts.  I&#8217;ve become increasingly adept at selling myself at a high level, and have earned some respect and acclaim in doing that.</p>
<p>For another, a great deal of the preparation for this eventuality is already done.  I&#8217;ve set up a great deal of business infrastructure for Evariste, including plans, documentation, specifications, procedures, and other information.  I have learned a good deal of what is to know about accounting, taxes and finances relevant to small business, and have been doing the accounting for quite some time.  On the technical side, I already have and/or lease services and equipment such as colocation space, servers, VoIP, etc.</p>
<p>Third, it&#8217;s what I really want to do with myself.  There&#8217;s nothing like doing what you want to do.  It produces results, it really does.  In fact, I&#8217;m pleased to report that in my first few days of unemployment, I have already made enough money this month (on an accrual basis, at least) that I do not anticipate having to dip into my savings at all to pay my bills.  And it&#8217;s only the 6th.  I&#8217;m shooting for much more.  That&#8217;s a lot better than the first-month stories of most people I know who have traveled this road.</p>
<p>I will save extensive discussion of my goals with Evariste for another time, but it suffices to say that its mission as a software vendor and service provider doesn&#8217;t have the sort of time-to-market that allows that mission to be realised in a time frame that would allow it to monetise my existence by the time that becomes necessary.  In the mean time, it&#8217;s going to have to be freelance consulting - a business unit of Evariste I intended to build up all along in the form of Evariste Professional Services.</p>
<p>A little note about going into business.  One needs to go into business for the right reasons.  It is not a redeemable decision in and of itself.</p>
<p>Unless it is something of trivial complexity, don&#8217;t do it unless you are looking for a career change from ${the substance of whatever the product/value creation is} to management and business administration.  I cannot possibly count the number of people that start a business of their own &#8212; and fail &#8212; thinking, &#8220;Well, it&#8217;s always more profitable to work for yourself, and I do XYZ well, so I&#8217;m going to start an XYZ business.&#8221;  No!</p>
<p>If you&#8217;re a good programmer, that does <em>not</em> mean you should start a programming business.  You may not have any ability and/or interest in what it takes to actually run a business.  Even if you do, the most you&#8217;re going to end up doing is carving out a possibly decently-paying job for yourself, except you&#8217;re going to incur all the ineffiencies that come with the anxiety of not knowing where your next paycheck is going to come from, and working 90 hour weeks to ensure it does when you do.  You would be much better off pursuing a career development track that finds you in a well-paid, sufficiently senior development / engineering / architecture role somewhere.  It is quite possible to do that and make far, far more money for far less work than you&#8217;re going to do on your own, and lead a suitably happy life.</p>
<p>If you want to start a development company, it is because you want to do <em>business</em> as your next career.  There needs to be a point &#8212; and that point needs to come as quickly as possible &#8212; when your coding ends.  Businesspeople that started out as programmers pull this off because they have the right combination of personal qualities;  among other things, including a certain extroverted nature and excellent people skills and political acumen (in a broad sense), they have a strong competency and abiding interest in economics and managemen.  That is why they build business <em>processes</em> that can be replicated, scaled and delegated at decreasing marginal cost.  If you are not knowledgeable and passionate about all that stuff, you shouldn&#8217;t be in business.</p>
<p>The second point is about growth, and applies especially to anything that falls in the province of &#8220;consulting.&#8221; Growth is the expression of successful business, and growth requires economies of scale and replication of process.  If you do not properly plan and bring your goals into focus, you are going to simply end up reinventing the wheel every month with a one-off project that, however lucrative, cannot be reused in a strategic or cost-effective way.  That is not a growth-oriented strategy.  You&#8217;re just going to hit the limit of what one person can realistically do, get burned out, but be stuck in a position where you can&#8217;t get off this ride because you need to pay the bills.  And you&#8217;ll be stuck there in perpetuity, in perpetual frustration, misery, and economic uncertainty.</p>
<p>I feel that I&#8217;m going into business for the right reasons. I&#8217;ve got a lot to learn, but this <em>is</em> what I truly love to do.</p>
<p>A part of me still twitches with anxiety and fear at my present situation, acutely conscious of the economic significance of every day that goes by for which I am not paid a comfortable salary.  But no matter.  I&#8217;m not looking back. It&#8217;s time to face this situation with courage, determination, and the best of the American &#8220;go get &#8216;em&#8221; entrepreneurial spirit in which this nation&#8217;s mythos rightly invests so much pride.</p>
<p>Besides, as I said above:  failure is not an option.</p>
<p><sup>1 As some of my close associates have rightly pointed out, this resume pedigree &#8212; combined with lack of a college degree &#8212; also conspires to somewhat disadvantage me when it comes to seeking employment.  No, it&#8217;s not an insurmountable hurdle in an industry that values skills way, way above all that, but it&#8217;s a strike against me to appear to be this kind of job-hopping &#8220;loose cannon.&#8221;  Unless it&#8217;s on a fixed contract basis, employers want employees as a long-term investment.  I have averaged a new job every six months.</sup></p>
]]></content:encoded>
			<wfw:commentRss>http://podium.presidium.org/archives/39/feed</wfw:commentRss>
		</item>
		<item>
		<title>Telephony and I go way back, you see.</title>
		<link>http://podium.presidium.org/archives/38</link>
		<comments>http://podium.presidium.org/archives/38#comments</comments>
		<pubDate>Tue, 29 Jan 2008 08:59:49 +0000</pubDate>
		<dc:creator>Alex Balashov</dc:creator>
		
		<category><![CDATA[Life]]></category>

		<guid isPermaLink="false">http://podium.presidium.org/archives/38</guid>
		<description><![CDATA[
]]></description>
			<content:encoded><![CDATA[<p><img src='http://podium.presidium.org/wp-content/uploads/2008/01/phone_cropped.jpg' alt='phone_cropped.jpg' /></p>
]]></content:encoded>
			<wfw:commentRss>http://podium.presidium.org/archives/38/feed</wfw:commentRss>
		</item>
		<item>
		<title>Limiting Perl regular expressions to one compilation.</title>
		<link>http://podium.presidium.org/archives/36</link>
		<comments>http://podium.presidium.org/archives/36#comments</comments>
		<pubDate>Wed, 23 Jan 2008 23:57:58 +0000</pubDate>
		<dc:creator>Alex Balashov</dc:creator>
		
		<category><![CDATA[Development]]></category>

		<category><![CDATA[Perl]]></category>

		<category><![CDATA[Tips]]></category>

		<guid isPermaLink="false">http://podium.presidium.org/archives/36</guid>
		<description><![CDATA[Here is one thing you can do to speed up the performance of your Perl regular expression matching:  use the /o operator.
By  default, when you iterate through a loop and apply a regular expression repeatedly, Perl recompiles the regular expression internally every time:

while() {
        chomp;
  [...]]]></description>
			<content:encoded><![CDATA[<p>Here is one thing you can do to speed up the performance of your Perl regular expression matching:  use the <code>/o</code> operator.</p>
<p>By  default, when you iterate through a loop and apply a regular expression repeatedly, Perl recompiles the regular expression internally every time:</p>
<pre>
while(<stdin>) {
        chomp;
        if(/^[a-zA-Z]+/) {
                &#8230;
        }

}</stdin></pre>
<p>This is actually wise, as Perl makes no assumption about whether your pattern is dynamically generated.  If it changes every time, the expression would require recompilation:</p>
<pre>
while(<stdin>) {
        chomp;
        my $pattern = get_upper_or_lower_pattern($_);
        if(/$pattern/) {
                &#8230;
        }
}</stdin></pre>
<p>But if you&#8217;re using the same pattern over and over, you may want to apply the <code>/o</code> operator in order to have the expression compiled only once:</p>
<pre>
while(<stdin>) {
        chomp;

        if(/^[a-zA-Z]+/o) {
                &#8230;
        }
}</stdin></pre>
<p>While my benchmarking suggests that the performance benefits are relatively negligible for a simple regex like the one above, they can be quite considerable for a pattern of greater complexity.</p>
]]></content:encoded>
			<wfw:commentRss>http://podium.presidium.org/archives/36/feed</wfw:commentRss>
		</item>
		<item>
		<title>Oh, and about that $2000&#8230;</title>
		<link>http://podium.presidium.org/archives/34</link>
		<comments>http://podium.presidium.org/archives/34#comments</comments>
		<pubDate>Sun, 20 Jan 2008 07:22:09 +0000</pubDate>
		<dc:creator>Alex Balashov</dc:creator>
		
		<category><![CDATA[Fury]]></category>

		<category><![CDATA[Life]]></category>

		<guid isPermaLink="false">http://podium.presidium.org/archives/34</guid>
		<description><![CDATA[I should add that my previous statement about airline ticket transferrability in connection with the French visa adventure was false.
I was thinking of other things to do with the tickets;  push the date forward a few months, or send my mom to Paris with Lisa as she would have no issues getting a visa.
No [...]]]></description>
			<content:encoded><![CDATA[<p>I should add that my previous statement about airline ticket transferrability in connection with the <a href="http://podium.presidium.org/archives/33">French visa adventure</a> was false.</p>
<p>I was thinking of other things to do with the tickets;  push the date forward a few months, or send my mom to Paris with Lisa as she would have no issues getting a visa.</p>
<p>No such luck.  Between Air France and Travelocity, it has made abundantly clear to me that this ticket offers no refunds, transfers, or changes.  Period.  No ands, buts, ors.  Use the tickets or lose them.</p>
<p>I&#8217;ll try to lodge some kind of appeal with Air France authorities in Atlanta on Monday on grounds of exceptional circumstances, but I do not think it is going to do me any good.</p>
<p>So, in effect I&#8217;ve just given away about a $2000 subsidy to Air France.  If any other airlines, including Qantas, Air Korea, JetBlue, Airtran, United, American, British Airways, Lufthansa, KLM, Aeroflot, Delta, Southwest, or Aeromexico are interested in also benefitting from my charitable work, please do not hesitate to contact me.</p>
]]></content:encoded>
			<wfw:commentRss>http://podium.presidium.org/archives/34/feed</wfw:commentRss>
		</item>
	</channel>
</rss>
