<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/css" href="http://www.lentil.org/styles/feed.css"?>
<rss version="2.0" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:admin="http://webns.net/mvcb/">
<channel>
<title>The home of RobL...</title>
<link>http://www.lentil.org</link>
<description>
<!--#include virtual="/include/navbar.include" -->
</description>
<dc:language>en-us</dc:language>
<dc:creator>RobL</dc:creator>
<dc:date>2011-12-15T10:24:27+00:00</dc:date>
<admin:generatorAgent rdf:resource="http://nanoblogger.sourceforge.net" />
<item>
<link>http://www.lentil.org/archives/2011/12/15/index.html#e2011-12-15T10_24_20.txt</link>
<title>Yes.. it's that time again</title>
<dc:date>2011-12-15T10:24:20+00:00</dc:date>
<dc:creator>RobL</dc:creator>
<description>
<![CDATA[<br /><br />
Yes! It is time once more for Karen Gathercole.
<br /><br />
I note there is <a href="http://www.myspace.com/karengathercole">An actual 
album</a> available of this.
<br /><br />
Relax as the smooth tones caress my ears with christmassy joy...
<br /><br />
OH GOD NO... MAKE IT STOP...
<br /><br />
<a href="/static/karenskristmaskraka.mp3">Karen&apos;s Kristmas Kraka</a>
<br /><br />
Don't say I didn&apos;t warn you... again.]]>
</description>
</item>
<item>
<link>http://www.lentil.org/archives/2011/07/05/index.html#e2011-07-05T13_28_39.txt</link>
<title>What do you mean by random?</title>
<dc:date>2011-07-05T13:28:39+00:00</dc:date>
<dc:creator>RobL</dc:creator>
<description>
<![CDATA[<br /><br />
Having recently written some (old style) perl again, there was a requirement 
in a couple of my scripts for &quot;Random&quot; strings. It took me quite 
some time to settle on what would be acceptably random enough without being 
over the top or too slow for my script to function fast enough. In writing 
my scripts, I had to think carefully about what I meant by random and how 
to apply it.
<br /><br />
Unfortunately, the meaning of &quot;random&quot; is wide and varied and 
application dependent, ranging from &quot;truly random&quot; to 
&quot;random enough for my script purposes&quot;
<br /><br />
Then it is all down how the randomness is actually used and understood by 
the users.
<br /><br />
Anyone that knows me well enough to have been to the pub with me a few 
times, will probably know that, following the age-old tradition of buying 
some bags of crisps at the bar for a peckish gaggle of friends, I will 
usually ask for &quot;three random flavoured bags of crisps&quot; (adjust 
quantity according to number of people and how hungry they might be.)
<br /><br />
The other day, my friend Dave went to the bar... &quot;do you want 
anything?&quot;  &quot;Yes!&quot; I chirped. &quot;A <i>random</i> flavoured 
bag of crisps, please.&quot;
<br /><br />
A few minutes later, and Dave returns from the bar, with a bag of 
<i>PLAIN</i> crisps. I mean... When I say <i>flavoured</i> I mean anything 
<i>EXCEPT</i> plain crisps. Obviously. (surely <i>any fule no</i>...)
<br /><br />
But that depends if you count <i>PLAIN</i> as a flavour of crisp, and if you 
know my particular taste in crisps.. I find plain crisps... boring.
<br /><br />
Clearly, Dave&apos;s (or the bar tender&apos;s) interpretation of random 
differs from my expectation...
<br /><br />
&quot;What is this!... PLAIN crisps!&quot;
<br /><br />
&quot;You asked for a <i>random</i> bag of crisps!&quot;
<br /><br />
&quot;A random <i>flavoured</i> bag of crisps!&quot;
<br /><br />
&quot;Sometimes, if you ask for a random number in the range of 0 to 256, 
you get 0, or maybe even 1&quot; came the response.
<br /><br />
I cannot really argue with that.
<br /><br />
Rather than get into the age-old and drunken debate of <i>is zero a 
number?</i> and by extraction <i>is plain a flavour of crisps</i>, I just 
munched my crisps. (and with every slightly disappointing bite, it started a 
thought process about what my expectation was, and was I entirely happy with 
the outcome?) Did I clearly enough define my use and parameters for what I 
meant by <i>Random</i> in this case? Probably not.
<br /><br />
The recent Olympic tickets selection was supposed to be truly random, 
however...  are we pleased with the results, where some people got all the 
tickets they had asked for &pound;11,000 worth in one case, while others got 
none? Or, got tickets to different events happening too far apart to get 
from one to the other.. or at the same time. (speculative buyer beware!)
<br /><br />
The debate continues about whether this was fair enough, or if the 
randomness could have been set with certain parameters to ensure a wider 
distribution of tickets.
<br /><br />
So.. we maybe have to set some parameters on what we mean by <i>random</i> 
and is it <i>too random</i> or <i>not random enough</i> for our purposes.
<br /><br />
To give another example, I have a little program called apg on my linux 
machine that generates random passwords. But the choice can be set to 
something completely horrible:
<br /><br />
hU^c7/:;d-vmiK.7R(i- <br />
<br /><br />
To something you might have a hope in hell of remembering, or being able to 
type easily:
<br /><br />
hovitGej5 <br />
<br /><br />
By excluding certain characters, for example, to limit the scope of 
<i>random.</i> both passwords are <i>Random</i> but by different 
definitions. Most people would probably find the first password unacceptable 
and probably have to write it down or save it somewhere... maybe defeating 
an element of the &quot;security&quot; in the first place.
<br /><br />
Sure... the password is hard to crack.. but also hard to use.
<br /><br />
But the second &quot;random&quot; password is probably strong enough for 
most applications, although arguably, a determined cracker might be able to 
crack it by looking at how the apg program limits its randomness, in such a 
way as they might be able to crack the password by limiting their cracking 
attempts to the same criteria. Still... hard to do but not impossible.
<br /><br />
So... we end up with the usual security compromise of complete security vs 
usability. The second password is probably secure enough for my average 
stuff (websites etc.) but maybe the first would be more suitable for VPN 
keys that I don't have to type in, for example.
<br /><br />
Recently I was trying to assist a US visitor friend of mine who had lost her 
passport, which brought me to the web site of the US Embassy. As well as 
working out the process for getting replacement travel documents and 
reporting the lost passport, I noticed an article about the US Visa Lottery.
<br /><br />
<a href="http://london.usembassy.gov/visanews009.html">Diversity Visa 2012 Results Voided</a>
<br /><br />
<i>The results were not valid because, owing to a computer error, they did 
not represent a fair, random selection of entrants, as required by U.S. 
law.</i>
<br /><br />
Blamed on a computer programming glitch, the visa draw will have to take 
place again. Many people who were told they had a ticket to The Land of The 
Free, have had that taken away again. Whoops!
<br /><br />
Aside from the obvious international embarrassment for a government 
department (and maybe a few red-faced officials, programmers and software 
designers...) I would love to know what exactly happened. Same software but 
new hardware with a different specification for <i>random</i>? Programmers 
without a good enough specification? An undetected hardware failure in 
random generation? A faulty assumption?
<br /><br />
When you say &quot;random&quot; what, exactly, do you mean?
<br /><br />
We have to remember that computers find randomness particularly difficult. 
We can probably never get true randomness with commodity PC hardware at 
least, just a randomness that is acceptable for most purposes and 
definitions of random.... pseudo-random.
<br /><br />
And so, I am off out to buy a packet of Cheese and Onion crisps to make up 
for my poor application of random.
<br /><br />
We have to be <i>precise</i> in our use of <i>random</i>
<br /><br />
And luckily, my friend found her passport, and so consular assistance was 
not needed after all...
<br /><br />
Phew.
<br /><br />
Do not put your passport in a <i>random</i> pocket.
<br /><br />
:-)]]>
</description>
</item>
<item>
<link>http://www.lentil.org/archives/2011/06/22/index.html#e2011-06-22T10_58_13.txt</link>
<title>Another bike week...</title>
<dc:date>2011-06-22T10:58:13+00:00</dc:date>
<dc:creator>RobL</dc:creator>
<description>
<![CDATA[<br /><br />
Another bike breakfast. This year done without the help of a little van
that Keith brings along.
<br /><br />
You might think that using a van is cheating, and I would agree, however, I 
never realised just how much stuff has to get to and from lots of different 
places in a very short space of time.
<br /><br />
This year was a logistical challenge, and with maybe not so many people 
around at the start at least... to help with all the moving stuff about, but 
we managed it. Constructed the &quot;Wheelers Extra Massive Articulated 
Vehicle&quot; ... WEMAV..? by attaching the trailer to the Christiania...
<br /><br />
<img src="/gallery/2011/2011_06_21/.slide_Image0124.jpg" width="450">
<br /><br />
Since it was me that was going to have to ride this thing up from its home 
to Narrow Street... Did a little test run...While a bit heavy, all went 
without incident! I always suddenly notice small hills when on this thing 
that I do not even think about on my regular bike...!
<br /><br />
I think the Christiania is so heavy anyway, you do not even notice the 
trailer is there. Well.. until you need to care about it when negotiating a 
tight corner or trying to get through bollards etc.
<br /><br />
Oh.. and reversing is a little difficult. (No reversing without 
a banksman..?)
<br /><br />
Other logistics sorted by Dave/Caroline and Owen with various clever ideas 
and folding bikes.. oh and okay, we used Owen&quot;s little car to transport 
some stuff, for the breakfast and for the Glamour Ride which happens on 
Friday. Owen took the &quot;WEMAV&quot; back to Bethnal Green and I pedalled 
home on folding bike Owen had arrived on...
<br /><br />
Outfit and bike sorted (just) for the Glamour Ride.. just hope the weather 
holds out and we get a dry (if not sunny) evening...]]>
</description>
</item>
<item>
<link>http://www.lentil.org/archives/2011/06/12/index.html#e2011-06-12T17_06_07.txt</link>
<title>Where has Victoria Park Gone?</title>
<dc:date>2011-06-12T17:06:07+00:00</dc:date>
<dc:creator>RobL</dc:creator>
<description>
<![CDATA[<br /><br />
<img src="/static/victoria_park_gone.png">
<br /><br />
Hmm.. Where has Victoria Park gone?
<br /><br />
I am sure it was there last time I checked.
<br /><br />
Maybe it can be our secret park?]]>
</description>
</item>
<item>
<link>http://www.lentil.org/archives/2011/05/26/index.html#e2011-05-26T19_44_00.txt</link>
<title>Updated lab</title>
<dc:date>2011-05-26T19:44:00+00:00</dc:date>
<dc:creator>RobL</dc:creator>
<description>
<![CDATA[<br /><br />
Misc improvements to the lab have happened over the last few months,
including addition of a Cisco ASA 5505 and Watchguard firewalls, to test out 
various complicated firewall/NAT/firmware upgrade scenarios.
<br /><br />
Also since the last drawing/photo, the topology includes three switches, 
since I added a small Foundry L3 switch.
<br /><br />
I have found it to be very useful for many things recently, especially for 
testing firewall configs and migrating configs from one thing to another, 
for example going from Cisco to Juniper, or testing what happens when 
<a href="http://www.cisco.com/en/US/docs/security/asa/asa83/upgrading/migrating.html">upgrading a Cisco ASA from old firmware to the newer (and very different in places) 8.4 firmware</a>... 
the NAT config is now even more difficult to follow than it was before!
<br /><br />
- Fellow network geeks feel free to ask me if you want access to tinker.  <img src="http://www.lentil.org/moods/smilies/smiley.gif" alt=":)" />
<br /><br />
<img src="/gallery/misc/other/.slide_lab_pic3.png">
<br />
<br /><br />
<a href="/gallery/misc/other/lab_setup3.html"><img src="/gallery/misc/other/.slide_lab_setup3.png" width="550"></a>
<br /><br />
<br />]]>
</description>
</item>
<item>
<link>http://www.lentil.org/archives/2011/03/05/index.html#e2011-03-05T14_56_59.txt</link>
<title>It's back!</title>
<dc:date>2011-03-05T14:56:59+00:00</dc:date>
<dc:creator>RobL</dc:creator>
<description>
<![CDATA[<br /><br />
Finally fixed the software that enables me to update this thing!
<br /><br />
After switching and rebuilding machines some time ago, I finally
got round to fixing this...
<br /><br />
Not that this exactly has a lot of readers  <img src="http://www.lentil.org/moods/smilies/smiley.gif" alt=":)" />]]>
</description>
</item>
<item>
<link>http://www.lentil.org/archives/2010/06/23/index.html#e2010-06-23T11_26_56.txt</link>
<title>Yay.. a tax refund!</title>
<dc:date>2010-06-23T11:26:56+00:00</dc:date>
<dc:creator>RobL</dc:creator>
<description>
<![CDATA[<br /><br />
Woohoo. A tax refund. Think it is legit??
<br /><br />
<a href="/gallery/misc/other/bogus_tax.html"><img src="/gallery/misc/other/.slide_bogus_tax.png"></a>
<br /><br />
My Nigerian friends are also particularly active today.
<br /><br />
<BLOCKQUOTE>
<br /><br />
My name is Captain Matthew Stamford of the US Marine corps stationed in 
Kabul, Afghanistan, I found some money stashed in a couple of barrels while 
on patrol ($900,000.00) I need someone to help me move it to a safer place, 
please have it in mind that there is no danger involved. You may contact me 
on usmarine120@i12.com so that I can provide you with more details.
<br /><br />
</BLOCKQUOTE>]]>
</description>
</item>
<item>
<link>http://www.lentil.org/archives/2010/06/22/index.html#e2010-06-22T18_43_58.txt</link>
<title>brain dead</title>
<dc:date>2010-06-22T18:43:58+00:00</dc:date>
<dc:creator>RobL</dc:creator>
<description>
<![CDATA[<br /><br />
You would think by now that we would have solved the problem of automated 
&quot;out of office messages&quot; being sent to mailing lists with 
hundreds, possibly thousands of subscribers.
<br /><br />
It is not exactly the most difficult problem in the world to solve:
<br /><br />
<ol>
<li> Only reply to e-mail that contains <b>your</b> e-mail address in the To: and if you must, the Cc: header.
<li>Only reply <b>once</b> per sender for the duration the responder is set.
   If the same sender happens to send another message, we do not respond
   again. (consider automated ticketers and other out of office messages!)
   
<li>If adding it to a rule set, place it at the bottom of your rules,
   so that list mail etc. gets dealt with first, before the auto-reply.
</ol>
<br /><br />
There are other elaborations on this, such as not replying to obviously
automated messages and bounces, but the above should generally work.
<br /><br />
I cannot believe after all these years of this <b>STAGGERINGLY OLD 
PROBLEM</b> that there are still platforms out there which allow users to 
set up such brain-dead auto-responders. (Either that, or make interesting
assumptions about what headers to expect.)
<br /><br />
Yet again one of the large mailing lists I am on has been bombarded by
somebody&apos;s brain dead out of office messages. Every time somebody
posts something, we get another out-of-office message. Worse, his own
out-of-office messages are posted to the list and this triggers another
out-of-office message. DUHHHHH!
<br /><br />
FFS!]]>
</description>
</item>
<item>
<link>http://www.lentil.org/archives/2010/06/18/index.html#e2010-06-18T16_09_28.txt</link>
<title>Whaaat!!</title>
<dc:date>2010-06-18T16:09:28+00:00</dc:date>
<dc:creator>RobL</dc:creator>
<description>
<![CDATA[<br /><br />
Okay... what sort of idiot pays this sort of money in Staples for:
<br /><br />
<img src="/gallery/misc/other/.slide_expensive_cat5.jpg"><br />
<br /><br />
2 x CAT5e patch leads... &pound;27.23 !!!
<br /><br />
I mean. I can get <a href="http://www.repsole.com/Product.asp?PID=744">the same cable</a> from Repsole for &pound;2.42.<br />
And could probably get a supplier cheaper than that if ordering in bulk.
<br /><br />
Okay.. so.. the price of copper goes up and down, so at wholesale, the cost 
of CAT5 cable fluctuates from month to month. But priced per metre, that 
works out at about &pound;2.72 vs &pound;0.484p.
<br /><br />
<img src="/gallery/misc/other/.slide_expensive_ties.jpg"> <br />
<br /><br />
6 velcro ties. &pound;5.95 !!!
<br /><br />
I can easily get about 50 for that price, I would not be so bothered about 
the colour of them though for that price.
<br /><br />
Lawks. Talk about markup.
<br /><br />
(OTOH, I would not mind a couple of customer like that... Although I do not 
think in all conscience I could charge that much for something that costs 
pennies to manufacture.)]]>
</description>
</item>
<item>
<link>http://www.lentil.org/archives/2010/06/16/index.html#e2010-06-16T19_51_03.txt</link>
<title>more cycle stuff</title>
<dc:date>2010-06-16T19:51:03+00:00</dc:date>
<dc:creator>RobL</dc:creator>
<description>
<![CDATA[<br /><br />
Been busy getting stuff ready etc for <a 
href="http://www.bikeweek.org.uk">Bike Week</a> which is looming this 
weekend to next. 
<br /><br />
Doing a ride to Richmond Park and lots of other misc jobs.
<br /><br />
Lots of data centre work recently installing servers and networking stuff in 
batches of 50 servers or 80 servers. I think my regular caged nut and M6 
bolt suppliers think I am slightly crazy. They phoned me up to check I was 
not duplicating orders. So... &quot;You want <i>Another</i> 2000 caged 
nuts?&quot; &quot;Yep&quot;
<br /><br />
A smattering of e-mails about various bike rides, including, 
<br /><br />
<ul>
<li>&quot;Do I have to book a place?&quot; </li>
<li>&quot;How long do you think it will take?&quot; </li>
<li>&quot;I am not doing your ride, but can you tell me where start point for this other ride 
that you are not doing is?&quot;</li>
</ul>
<br /><br />
Of particular concern is the Midsummer Madness ride. Which starts at 2AM in Brick Lane,
and then we join Southwark up to Primrose Hill to see the sunrise at 4.43 am.
<br /><br />
<br /><br />
This always confuses people who do not know how midnight works. The next day 
begins at midnight.
<br /><br />
02:00 AM is MONDAY MORNING. We always seem to get at least one person 
calling up at 02:00 on Tuesday... &quot;Where are you?&quot; 
I.E. SUNDAY NIGHT/MONDAY MORNING.
<br /><br />
Maybe some people are just never often actually awake at odd hours to 
appreciate this.]]>
</description>
</item>
</channel>
</rss>

