all repos — h3rald @ 6b243ded05a7593922d198634c681075de1c12e2

The sources of https://h3rald.com

contents/articles/log-feb-2009.html

 1
 2
 3
 4
 5
 6
 7
 8
 9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
 100
 101
 102
 103
 104
 105
 106
 107
 108
 109
 110
 111
 112
 113
 114
 115
 116
 117
 118
 119
 120
 121
 122
 123
 124
 125
 126
 127
 128
 129
 130
 131
 132
-----
title: "Personal Log - February 2009"
content-type: article
timestamp: 1235736540
tags: "personal_log|ruby"
-----
<p>This has been a rather busy month, hence the lack of general Internet activity. I really wanted to post some more
	articles to my site, but for one reason or another I had to procrastinate more and more, and here we are at the end
	of the month again.</p>
<h3>Recession time!</h3>
<p>I've always considered the current economic downturn as something happening <em>somewhere else</em>: <span
		class="caps">USA</span>, England, Ireland&#8230; but not in Italy, really: our country never boomed, we
	don't go mental with loans and mortgages (or at least we didn't use to), so there's no real reason
	for a full-on recession period.</p>
<p>It turns out I was wrong. Other than the fact that our industries are more or less non-existant or already in debt, I
	didn't consider that:</p>
<ul>
	<li>Italians tend to panic a lot.</li>
	<li>We have an awful lot of foreign business going on, a lot of multi-national companies opened up through the years
		lured by cheap workers and acceptable craftmanship.</li>
	<li>Our government already <del>wastes</del> invests a lot of money regularly, every year, to fuel a colossal, <a
			href="http://dictionary.reference.com/browse/nepotistic">nepotistic</a>, pointless bureaucratic machine they
		insist on calling &#8220;State&#8221;.</li>
</ul>
<p>Result: the recession is starting to hit properly over here too. People are saving money, they don't go out
	buying pointless crap, they are scared to ask for a raise at work&#8230; the usual. I work for a foreign company
	which has been, as were most, forced to save some money to compensate some not-so-good First Quarter's
	revenues. This means less unnecessary expenses, less training, less travelling and less outsourcing, which
	didn't help improving the daily work experiece. Personally, I'm not that affected by all this,
	nevertheless it made me bless the day my fiancée persuaded me to stop uni after my Bachelor's Degree to get a
	very rewarding, not-so-stressful job.</p>
<h3>No 'Net @ Home</h3>
<p>The most annoying thing of the month was (and still is) the lack of Internet access at our house. Let's do a
	quick recap:</p>
<ol>
	<li>After spending one year with Telecom Italia, Roxanne and I decided to change provider to save a bit of money and
		get more speed.</li>
	<li>On <em>December 24th</em> we requested a contract with <a href="http://www.wind.it">Wind</a>, after they assured
		that we'd have the Internet back on in <em>just a few days, tops</em>.</li>
	<li>On <em>January 5th</em> Telecom disconnected us.</li>
	<li>On <em>January 12th</em> Wind sent me a mail telling me that there was going to be a <em>15-day delay</em> in
		the activation &mdash; well, at least they told us so! We waited.</li>
	<li>On <em>February 2nd</em> I call Wind Customer Care hassling them to get a move on &mdash; just some minor
		delays, <em>it will only take a few days, tops</em>. We waited.</li>
</ol>
<p>Our new Internet line has been <em>in the process of being activated</em> ever since January 5th. Why? Because being
	a customer sucks, in Italy, and you can't do much about it.<br />
	Let me quote one of the 13 phone calls I made:</p>
<ul>
	<li>&#8230; 5 minutes on hold, stupid music in the background &#8230;</li>
	<li>[Operator]: Good Evening Sir, I'm <random name>, how can I help you?</li>
	<li>[Me]: Hello, I'm enquiring about the status of my Internet connection: I've been disconnected since
		the 5th of January&#8230;</li>
	<li>[Operator]: Phone Number please?</li>
	<li>[Me]: *** ******</li>
	<li>&#8230; 2 minutes on old &#8230;</li>
	<li>[Operator]: Name plase?</li>
	<li>[Me]: Fabio Cevasco</li>
	<li>[Operator]: Let me check&#8230;</li>
	<li>&#8230; 6 minutes on hold, stupid music in the background &#8230;</li>
	<li>[Me]: Any luck?</li>
	<li>[Operator]: One moment please&#8230;</li>
	<li>&#8230; 2 minutes on hold, stupid music in the background &#8230;</li>
	<li>[Operator]: Sir, it says here that you are <em>in the process of being activated</em></li>
	<li>[Me]: (you stupid idiot, I can check that on the Net in less than a minute) Yes, I know what, but why, exactly?
		It has been over a month&#8230;</li>
	<li>[Operator]: Let me check&#8230;</li>
	<li>&#8230; 3 minutes on hold, stupid music in the background &#8230;</li>
	<li>[Operator]: There are some technical difficulties.</li>
	<li>[Me]: What kind of technical difficulties?</li>
	<li>[Operator]: I&#8230; I don't think you can understand Sir, it's technical&#8230;</li>
	<li>[Me]: (!!!) I have a degree in IT Engineering, so yes, I think I can understand enough.</li>
	<li>[Operator]: &#8230;well, there's nothing I can do&#8230; it says we're in the process of connecting
		you, it should be just&#8230;</li>
	<li>[Me]: &#8230;a matter of a couple of days, yes, I know: it has been over a month though!</li>
	<li>[Operator]: Sir, really, I can't really do much about it, you'll just have to wait</li>
	<li>[Me]: Can you let me speak with the Technical Department?</li>
	<li>[Operator]: No, sir, I can't: you see, your <span class="caps">ADSL</span> line is not yet activated, they
		can't do anything about it.</li>
	<li>[Me]: Excuse me, but I'd like to know what the problem is, and how long it will take to activate the line.
	</li>
	<li>[Operator]: Sorry sir, we don't have this information, and we can't commit to a specific date.</li>
	<li>[Me]: (!!!) May I speak to someone who knows this? May I speak to your superior?</li>
	<li>[Operator] No, you can't speak to my superior. You'll just have to wait, I'm sorry.</li>
	<li>[Me]: Well, it has been over a month, and I don't know if you realize that you were supposed to connect me
		in just a few days and&#8230;</li>
	<li>[Operator]: Thank you for calling sir, have a good day.</li>
</ul>
<p>That barely conveys the frustration I felt and I'm still feeling now. I can't even sue them: I could get
	100 Euro at most after spending at least a couple of thousands in lawyer. So much for the land of sunshine huh?</p>
<h3>Programming in Ruby, again</h3>
<p>Some of you may be pleased to know I'm back coding in Ruby after slacking for months. It's just the time
	of the year, I guess. <br />
	I'm also evangelizing the language quite a bit at work: after I wrote a few scripts on demand, I slowly lured
	one of my colleagues to Vim, the Texile markup and then finally the Ruby language. He's going through the <a
		href="/articles/hlrb-review">Humble Little Ruby Book</a> and he's loving it, so far. He'll hopefully
	be fully assimilated in a few weeks at most, and after that there will be no going back!</p>
<p>This inspired me to start a full rewrite of RedBook, my little Ruby daily logger. It
	will feature a SQLite backend and Merb's Datamapper to take care of the dirty work.<br />
	Unfortunately, even if the new sources are already available on <a
		href="http://github.com/h3rald/redbook/tree/master">GitHub</a>, it will take me approximately a few more weeks
	to complete all the plugins and more to finish the RDoc documentation and &mdash; hopefully &mdash; a fully-fledged
	user manual. It's <strong>the</strong> pet project, after all&#8230;</p>
<p>On the other hand, it will take me considerably less time (a few days?) to release the next version of my RawLine
	library, featuring:</p>
<ul>
	<li>Ruby 1.9 support</li>
	<li>A handy little function for filename completion</li>
	<li>Readline emulation, i.e. just <code>include Rawline</code> and use it as if it was <span class="caps">GNU</span>
		Readline</li>
</ul>
<p>Of course this doesn't mean RawLine is a complete, 100% Ruby port of the <span class="caps">GNU</span> Readline
	library, but it is definitely more Ruby-ish, more cross platform (try using Readline with Ruby on Windows&#8230;),
	and usable enough for most of the normal things, like:</p>
<ul>
	<li>tab completion</li>
	<li>line editing (but no vi or emacs mode yet, sorry)</li>
	<li>history</li>
	<li>quick and easy key bindings</li>
</ul>
<p>Once this comes out, I'll be implementing features on-demand, as <span class="caps">GNU</span> Readline is huge
	and offers way too many things anyone would ever need. Patches and contributions are of course more than welcome,
	though.</p>
<p>For all my open source Ruby projects, after <a href="/articles/where-does-your-ruby-code-live">pondering the
		alternatives</a>, I decided to go with the following setup:</p>
<ul>
	<li>My own site for the home pages of the projects</li>
	<li>RubyForge for gem support and for RDoc documentation</li>
	<li>GitHub as source code repository</li>
	<li>LightHouse for issue tracking</li>
</ul>
<p>I hope it works out&#8230;</p>