Re: Telecommuting

2011-12-13 Thread David Cantrell
On 12/12/2011 11:04, Paul Makepeace wrote:
 On Mon, Dec 12, 2011 at 10:13, David Cantrell da...@cantrell.org.uk wrote:
 Doesn't work so well when the IRC window is buried under twenty other
 windows because you're actually *working*.
 If you chose to you could use any number of notification technologies…

Suggestions welcome.  I have to confess that I haven't tried any of
these new-fangled IM things ever since they were, well, since they
were new-fangled.  Because back then they were rubbish.

 If you don't like that idea then the issue is less that IRC is not
 noticeable/a technology issue than you don't *want* to hear and are
 actively avoiding it.

Wrong.

When I'm deep into a problem, the least intrusive notification is
someone saying Dave, got a minute?.  It causes the smallest break in
concentration.  For me.

-- 
David Cantrell | top google result for topless karaoke murders

   The voices said it's a good day to clean my weapons


Re: Telecommuting

2011-12-13 Thread David Cantrell
On 12/12/2011 13:59, Simon Wilcox wrote:

 They were instead mainly using instant messaging tools and social
 networks like Facebook - and for most of them, when they joined Atos it
 was first time they had ever worked with internal email tools like
 [Microsoft] Outlook.

I've never used anything like Outlook either*, and I've never used its
calendaring stuff.

I do not, however, believe for one moment that recent graduates are
unfamiliar with email.  Even if only stuff like Hotmail or Gmail.  And
anyway, if they don't know how to use your tools, you train them.

* not entirely true. I used it for a year, it was ghastly and I used it
  as little as possible.

-- 
David Cantrell | semi-evolved ape-thing

  Languages for which ISO-Latin-$n is not necessary, #1 in a series:

Latin


Re: Beware: NET-A-PORTER

2011-12-13 Thread Jacqui Caren

On 12/12/2011 22:58, Simon Wistow wrote:

This isn't meant to be a debate on where it's better or cheaper to live
(especially since Leo has asked us to rename this thread) more the fact
that I can imagine that it *is* more expensive to have a US based dev
team.


I blame evil, faceless beancounters. :-)

Cray shut down its UK SWD effort due to wild exchange rate fluctuations.
The beancounters used figures from a specific date and on that date the
exchange rate was simply insane - almost 2 dollars to the UKP!

Our costs projected for the next few years were based upon that unrealistic
rate and we sunddenly became very,very expensive instead of quite cheap.

Jacqui

p.s. There were other reasons - including a much larger lay-off from US staff 
etc.
but the exchange rate was used as the legal explanation for our dissolution.

The actual process was handled very well and I still think well of the Crayons 
I used
to work with. Irene Qualters (VP) came over and told us personally and 
apologised
for letting us down.


Re: Telecommuting

2011-12-13 Thread David Precious
On Mon, 12 Dec 2011 10:13:02 +
David Cantrell da...@cantrell.org.uk wrote:

 On Sat, Dec 10, 2011 at 11:06:14PM +, ian docherty wrote:
 
  The small 'ping' of an IRC is less disruptive than a tap on the
  shoulder and you can complete your current work before giving it,
  and your co-developer, your full attention.
 
 Doesn't work so well when the IRC window is buried under twenty other
 windows because you're actually *working*.  At my last job (woo-hoo! I
 can say that about the BBC now that I am unemployed - by the way, I
 don't yet have any trousers on and had marmalade flavoured vodka and
 ice cream for breakfast. Once I've put some trousers on I'm going to
 go shopping for Lego) messages on IRC would go unnoticed for hours or
 even days.  Likewise emails, because people would disappear into their
 work.

At $work, we use IRC a lot; I have irssi open in a small terminal
window at the top right of my screen, always visible (I use Terminator
to manage my terminals).  Thus, it's always visible, and I glance at it
occasionally; mentions of my nick will cause it to briefly flash then
show the channel name highlighted, so I know someone wants my
attention; I can then actually look at it when I'm at a point where I
can spare a moment without ruining my conversation, and I find it easy
to devote a little concentration to an IRC conversation whilst still
getting work done.

On the other hand, when I'm in the office, if someone comes over to my
desk, they're essentially demanding more or less 100% attention there
and then, and many people feel you're being rude if you don't give them
that attention quickly, thereby disrupting your mental focus.  For that
reason, most of the time even when we're in the office and sitting
close to each other, we'll often discuss stuff on IRC, unless it turns
into a discussion that's better carried out as a meeting rather than a
quick chat.

We also have some degree of social chatter on IRC, which I find helps
us all feel part of a tight team, even when we spend the majority of
time working from home.

 It's hardly the end of the world to tell someone I'll be with you in
 a few minutes.

As mentioned, though, a lot of people (especially non-technical types)
don't fully understand the effects of breaking off concentration when
you're deep in code, and feel a little offended or awkward being brushed
off if only for a few minutes.

 In fact, often it goes:
 
   Me: [code code code code code]
   Supplicant:  Hey, Dave 
   Me:  gimme a moment 
   Supplicant:  I'll put it on IRC 
   Me: [code code code code code cup of tea IRC]

You're basically replacing a convenient, non-obtrusive notification
that someone wants a moment of your attention on IRC when you're free
to give it with a real-life nudge instead; I find the former much less
disruptive, and as a bonus it works equally well when I'm sitting at
home instead of the office.


 
 which instead of trying to solve a problem with Magic Technology is a
 blend of technology and primitive caveman grunting, which IME works
 better than either of 'em on their own.

It's not about a magic bullet, but using whatever technology works well
for you.  Also, caveman grunting has limited range :)
 


-- 
David Precious (bigpresh) dav...@preshweb.co.uk
http://www.preshweb.co.uk/


Re: Parsing MySQL dump files

2011-12-13 Thread Roger Burton West
On Tue, Dec 13, 2011 at 04:41:56PM +0400, Pavel Vlasov wrote:
What kind of parse do you want?

Recreating the full table structure would be fine.

So would a set of fieldname=value maps.

Not really fussy.

R


Re: Blog Spam (Was: Telecommuting)

2011-12-13 Thread Smylers
Nicholas Clark writes:

 I was also amused by the (current) second comment, which is actually
 spam:
 
 Thanks for taking the time to discuss about this, I feel strongly
 about it and love learning more on this topic. If possible, would
 you mind updating your blog with more information? It is extremely
 helpful for me.
 
 followed by a link to a completely unrelated e-commerce site.

Yeah, blog spammers seem to have a battery of anodyne comments, with
gushing so vague it could reasonably apply to information on a wide
range of subjects.

But unfortunately (for the spammers), not quite all subjects. It can be
quite funny when they so badly miss. Here's one I recently saw:

  Thank you for the blog post. Jones and I have been saving for a new
  e-book on this issue and your blog post has made all of us to save
  money. Your thoughts really answered all our issues. In fact, more
  than what we had thought of prior to when we came across your great
  blog. I no longer have doubts including a troubled mind because you
  have really attended to our own needs in this post. Thanks my website
  is on cheap family vacations.

That was submitted my sister's blog giving news to family and friends
about her new 11-week-early twins -- who I'm pretty sure haven't had any
e-books written about them in the first fortnight of their lives ...

In practice on that blog the heuristic for identifying spammers has been
simple: all of the spammers have provided a URL with their comment,
whereas none of the actual friends and family have left the URL field
empty (except for a few who've misinterpreted what that field's for and
dutifully typed the blog's own URL in there). Obviously that isn't going
to work for more technical audiences, but it's scarily successful for
this one.

Cheers

Smylers


Re: Blog Spam (Was: Telecommuting)

2011-12-13 Thread Paul Makepeace
On Tue, Dec 13, 2011 at 13:50, Smylers smyl...@stripey.com wrote:

 Nicholas Clark writes:

  I was also amused by the (current) second comment, which is actually
  spam:
 
      Thanks for taking the time to discuss about this, I feel strongly
      about it and love learning more on this topic. If possible, would
      you mind updating your blog with more information? It is extremely
      helpful for me.
 
  followed by a link to a completely unrelated e-commerce site.

 Yeah, blog spammers seem to have a battery of anodyne comments, with
 gushing so vague it could reasonably apply to information on a wide
 range of subjects.

One my blog got hit with (if 300 counts as a hit) was a series of
short comments like that but with exact one misspelling consisting of
a letter transposition. No link associated with it. Quite weird -
wasn't sure what it was trying to achieve, maybe poisoning
bayes/cluster filters with broken (but unusual) words so that they'd
be learnt over time as signals for ham.

Paul



Re: Blog Spam (Was: Telecommuting)

2011-12-13 Thread Ash Berlin

On 13 Dec 2011, at 14:10, Paul Makepeace wrote:

 On Tue, Dec 13, 2011 at 13:50, Smylers smyl...@stripey.com wrote:
 
 Nicholas Clark writes:
 
 I was also amused by the (current) second comment, which is actually
 spam:
 
 Thanks for taking the time to discuss about this, I feel strongly
 about it and love learning more on this topic. If possible, would
 you mind updating your blog with more information? It is extremely
 helpful for me.
 
 followed by a link to a completely unrelated e-commerce site.
 
 Yeah, blog spammers seem to have a battery of anodyne comments, with
 gushing so vague it could reasonably apply to information on a wide
 range of subjects.
 
 One my blog got hit with (if 300 counts as a hit) was a series of
 short comments like that but with exact one misspelling consisting of
 a letter transposition. No link associated with it. Quite weird -
 wasn't sure what it was trying to achieve, maybe poisoning
 bayes/cluster filters with broken (but unusual) words so that they'd
 be learnt over time as signals for ham.
 
 Paul
 

Never attribute to malice that which can be explained through incompetency.

The other possibilities is some numpty bought an automated tool and forgot to 
enter the url properly.

-ash


Re: Blog Spam (Was: Telecommuting)

2011-12-13 Thread Paul Makepeace
On Tue, Dec 13, 2011 at 14:19, Ash Berlin ash_c...@firemirror.com wrote:

  One my blog got hit with (if 300 counts as a hit) was a series of
  short comments like that but with exact one misspelling consisting of
  a letter transposition. No link associated with it. Quite weird -
  wasn't sure what it was trying to achieve, maybe poisoning
  bayes/cluster filters with broken (but unusual) words so that they'd
  be learnt over time as signals for ham.
 
  Paul
 

 Never attribute to malice that which can be explained through
 incompetency.

 The other possibilities is some numpty bought an automated tool and forgot
 to enter the url properly.


Yeah, it wasn't the same data each time, it was a lot of different phrases,
some of which were quite idiomatic. But: exactly one transposition
misspelling (in a different word each time)--looked too deliberate to be a
mistake/incompetency


Re: Should I work in the US or the UK? - which pays best?

2011-12-13 Thread Uri Guttman

On 12/13/2011 07:22 AM, Leo Lapworth wrote:

YES.


that is a very delicate and interesting question. i have just learned 
what one top deal in the uk is and it is way up there. few in the US 
could match it. google can but you need to work onsite there and much of 
the pay is in stock options. in fact the total pay there is much more 
than the top deal i mentioned above. also benefits vary. you get the 
usual health stuff but vacation time is usually less (could be 3-4 weeks 
in a rich place) but you don't always get little things like laptops, 
free lunches, etc. again, it varies a lot. richer companies can offer 
better packages. startups tend to be leaner.


and that is only the tip of the iceberg. there are visa issues, where to 
live, where to send your optional kids to school, cultural differences, 
moving expenses (one client of mine does help with that), etc.


so don't compare countries for paying best. compare actual jobs and 
companies.


uri


Re: Beware: NET-A-PORTER

2011-12-13 Thread Jason Clifford
On Mon, 12 Dec 2011 22:58:29 -, Simon Wistow si...@thegestalt.org  
wrote:



My health insurance premiums aren't much more than what I paid in NI
back in the UK - about $100 a month I think.


But in the US you have no cover once you stop paying so you need to factor  
in additional money to cover premiums when you are between jobs and  
consider the cost of premiums as part of your retirement planning.


Re: Parsing MySQL dump files

2011-12-13 Thread Cosimo Streppone
On Tue, 13 Dec 2011 13:33:55 +0100, Roger Burton West  
ro...@firedrake.org wrote:



don't want to install MySQL, because it smells.


.oO(LALALALALA...)


Has anyone done this in Perl? Either a full parse, or a hack to get it
into a form acceptable to SQLite...


1) Install mysql
2) Load the dump into it
3) Convert db to non-mysql-dialect of sql

  mysqldump --compatible=postgres --extended-insert=0 --complete-insert=1 \
  -u youruser yourdb \
  | gzip -c - \
   yourdb.sql.gz

4) Remove mysql from the system (at this point the smell should be gone)
5) Install postgres
6) Load yourdb.sql.gz into postgres (sqlite should understand it just fine)
7) ??
8) Profit!

Postgres COPY command can export to CSV.
Probably MySQL can do that too.

--
Cosimo


Re: Parsing MySQL dump files

2011-12-13 Thread dave . lambley
If you can tolerate installing mysql somewhere, mysqldump has a --xml option. 
You may then attack the resulting stream with your favourite XML parser.

Dave
--Original Message--
From: Roger Burton West
Sender: london.pm-boun...@london.pm.org
To: London.pm Perl M[ou]ngers
ReplyTo: London.pm Perl M\[ou\]ngers
Subject: Parsing MySQL dump files
Sent: 13 Dec 2011 12:33

Help me, lazyweb.

I have a large chunk of data that will only be supplied as a MySQL dump.
(About 200M.) I want to get them out in a more reasonable format. I
don't want to install MySQL, because it smells.

Has anyone done this in Perl? Either a full parse, or a hack to get it
into a form acceptable to SQLite...

Roger


Sent using from a tiny keypad.


Re: Parsing MySQL dump files

2011-12-13 Thread Yitzchak Scott-Thoennes
How about MariaDB?


Re: Should I work in the US or the UK? - which pays best?

2011-12-13 Thread Simon Wistow
On Tue, Dec 13, 2011 at 10:25:58AM -0500, Uri Guttman said:
 and that is only the tip of the iceberg. there are visa issues, where to 
 live, where to send your optional kids to school, cultural differences, 
 moving expenses (one client of mine does help with that), etc.

So, I'll bite. This is based on my last 4 years working in SF. YMMV, 
IANAL etc etc.

For what it's worth. I still live out here, don't have any plans to come 
back to London any time soon, if ever. Make of that what you will.

Also, this is not exhaustive, not universal, completely subjective and 
probably inaccurate.

First off - the good.

---
The Location 
---

I lived in London for 13 years. I love London. But it can kind of grind 
you down - everything takes so much effort. When I moved there in the 
mid 90s (*sob* so old now) a good rule of thumb was that it took 40 
minutes to get anywhere. Last time I went back it seemed to be more like 
1h to 1h20.

SF seems more like a big city stuffed into a small city's footprint. 
It's much easier to get around (terrible public transport not 
withstanding). It's much easier to move between parts of the city and to 
randomly bump into people. Nearby we have world class mountain sports, 
wine country, surfing, diving, hiking, mountain biking, the desert. 

Personally that makes me very happy.

---
Jobs
---

So, so many companies. Some are doing really interesting stuff. Some are 
me too social networks and copy cat sites. 

However it's mostly web stuff. There's very little finance. Some film 
and games (Pixar, ILM and PDI Dreamworks being notables) and then of 
course down in the valley there's the hoard of the big guys.

Salaries seem higher too. Even with various different things taken into 
account I'd say I'm about 20-30% better off out here.


Secondly then - the bad:

---
Visas
---

Whatever various poltical pundits will tell you (see below) it is not 
easy to get a visa. Event when you have one you're always vaguely 
unsettled. There's certain things you can't do (voting being a prime 
example) and there's a persistent dread in the back of your mind that 
you don't really have any kind of guarantees. Literally one bad tempered 
cop in Arizona or a border control officer with a hangover and your 
entire life could be wrenched away.

This also has a knock on effect for any kind of long term planning like 
relationships or buying a house. A friend of mine lost a boyfriend to 
visa issues recently and another friend was in the odd position of 
wanting to propose but waiting for his work Green Card so that his 
girlfriend wouldn't ever worry that he was just marrying her for a 
Greencard.

Not only that but recently I wanted to head over to Oakland to see what 
the Occupy Protests were like. But I was worried if I did that then I 
might get arrested and then I'd be screwed.


---
The Politics
---

This is somewhat related to point below but, to be frank, the politics 
out here scare the bejesus out of me. I realise that everything in the 
UK and the rest of Europe aren't exactly peaches and ice cream at the 
moment but watching the entire spectrum of poltical discourse and 
manouvering out here makes we want to hide under the duvet until the bad 
people go away. Neither of the political sides seems in anyway based in 
anything I would casually refer to as Reality.

Part of this is because I can't vote. Disenfranchisement and the ensuing 
sense of lack of control (yes, yes - believing that whether I vote for 
the puppet on the left hand or the puppet on the right hand has any 
control is an illusion that I cling to for succor) is unnerving. I'm 
actually ok with not being able to vote unless I'm a citizen - I don't 
think it's an unreasonable requirement - but it's still unnerving.

Partly it's because of the median shift on the spectrum. I once sat down 
and compared bullet points between the US parties and the UK parties. 
The Democrats came out slightly right wing of the BNP. They had similar 
views on immigration though.

---
Uncanny Valley
---

I will never fit in here. I will never be an American. I don't have the 
right base level of shared cultural memories and semiotics. The music 
and toys and tv shows and memes and clothes and developmental 
touchstones and rituals that my friends bathed in growing up are 
profoundly different from mine. It would be slightly better, maybe, if 
they were more different and completely alien but they seem oddly 
familiar (perhaps from watching American movies and tv shows) but also 
somehow unnervingly unfamiliar. 

I could give a long list of thousands of tiny little things that are 
just slightly off (from my point of view) from food (bacon and bread 
being two fine examples) to the absurd and mundane (I needed a watch 
battery changed. In the UK I would obviously go to a combination heel 
bar, key cutter and battery changer 

Re: Should I work in the US or the UK? - which pays best?

2011-12-13 Thread Jones, Christopher
On 13 Dec 2011, at 21:01, Simon Wistow wrote:

 On Tue, Dec 13, 2011 at 10:25:58AM -0500, Uri Guttman said:
 and that is only the tip of the iceberg. there are visa issues, where to 
 live, where to send your optional kids to school, cultural differences, 
 moving expenses (one client of mine does help with that), etc.
 
 So, I'll bite. This is based on my last 4 years working in SF. YMMV, 
 IANAL etc etc.
 
 For what it's worth. I still live out here, don't have any plans to come 
 back to London any time soon, if ever. Make of that what you will.
 
 Also, this is not exhaustive, not universal, completely subjective and 
 probably inaccurate.

Interestingly (at least to me) - my list of things I love and hate about the 
U.K. would be a different list, but of a similar length.

And I'm English born and bred - lived, schooled and worked here all my life…… 



Chris







Re: Should I work in the US or the UK? - which pays best?

2011-12-13 Thread Kieren Diment


On 14/12/2011, at 8:01 AM, Simon Wistow wrote:

 ---
 The Politics
 ---
 
 This is somewhat related to point below but, to be frank, the politics 
 out here scare the bejesus out of me. I realise that everything in the 
 UK and the rest of Europe aren't exactly peaches and ice cream at the 
 moment but watching the entire spectrum of poltical discourse and 
 manouvering out here makes we want to hide under the duvet until the bad 
 people go away. Neither of the political sides seems in anyway based in 
 anything I would casually refer to as Reality.
 
 Part of this is because I can't vote. Disenfranchisement and the ensuing 
 sense of lack of control (yes, yes - believing that whether I vote for 
 the puppet on the left hand or the puppet on the right hand has any 
 control is an illusion that I cling to for succor) is unnerving. I'm 
 actually ok with not being able to vote unless I'm a citizen - I don't 
 think it's an unreasonable requirement - but it's still unnerving.
 

It annoyed me that before my wife was an australian citizen, she couldn't vote. 
 I on the other hand as a former permanent resident in the UK got to vote over 
there, and had the pleasure of voting for Alistair Darling, and against Michael 
Forsyth (back in the dark days of the post-Thatcher era).  Over here we have 
compulsory voting which is one of the few things that fills me with a glow of 
patriotic pride, especially as it's not terribly rigorously enforced (just 
enough to work reasonably well).


 ---
 Uncanny Valley
 ---
 
 I will never fit in here. I will never be an American. I don't have the 
 right base level of shared cultural memories and semiotics. The music 
 and toys and tv shows and memes and clothes and developmental 
 touchstones and rituals that my friends bathed in growing up are 
 profoundly different from mine. It would be slightly better, maybe, if 
 they were more different and completely alien but they seem oddly 
 familiar (perhaps from watching American movies and tv shows) but also 
 somehow unnervingly unfamiliar. 
 

I agree rather here.  I went to an American International School for a while, 
and compared to everyone else (the french, the australians, the kiwis, the 
dutch, the poles), the Americans were really odd and much more insular than the 
rest.  Maybe that's because rather than foreign aid workers they were generally 
oil company employees kept in gated communities.  But the British and French 
commercial operations didn't seem to enforce that lifestyle on their staff.

 Out here I will always be different. People will always ask about my 
 accent (which many seem to think is Australian for some reason).

As an australian who spent some of my childhood near london, I have trouble 
discriminating between some variants of london accents and australian accents.  
On the other hand, I have a really good ear for british regional accents.  So 
anyway, given that australia and SF are relatively close, and there are a lot 
of 'straylians working in SF, I can see this is very plausible.

More disturbingly, in Australia there's a general tendency for people to 
mistake scottish accents for irish ones.  Having lived in scotland for 8 years, 
and being married to a scottish lady, I find it exceptionally disturbing that 
after 12 years back in australia, there are some variants of scottish and irish 
accent that I now have trouble discriminating between.





Re: Should I work in the US or the UK? - which pays best?

2011-12-13 Thread Paul Mison
ohai london.pm. Long time, no see.

On 13 December 2011 13:01, Simon Wistow si...@thegestalt.org wrote:
 So, I'll bite. This is based on my last 4 years working in SF. YMMV,
 IANAL etc etc.

 For what it's worth. I still live out here, don't have any plans to come
 back to London any time soon, if ever. Make of that what you will.

Mostly I have no quibbles with Simon's post, even though I've only
been here a little over a year and can't imagine living here for more
than the six years two H-1B visas give me (if that). So, some little
additions.

 The Location

 SF seems more like a big city stuffed into a small city's footprint.
 It's much easier to get around (terrible public transport not
 withstanding). It's much easier to move between parts of the city and to
 randomly bump into people. Nearby we have world class mountain sports,
 wine country, surfing, diving, hiking, mountain biking, the desert.

For me, as a culture vulture, SF doesn't cut it. SFMOMA is the size
of, what, the Wallace Collection? As for a really world class museum,
there isn't one, whereas London has the two Tates, the two National
Galleries, the British Museum, the Exhibition Road cluster, the
NMM/RGO, and that's just the big free ones that I can remember.

As for the wilderness part, that's great if you have a car and can
drive. I have not and cannot, and so I'm reliant on the kindness of
strangers, which I don't like. Even the Golden Gate Bridge, part of
the city, takes about an hour by bus from where I live. (There is a
lovely urban forest about twenty minutes from my house, though.)

On the other hand, if I'd managed to get to a different part of the US
(NYC springs to mind) I'd have a much more London-like experience,
grind and culture and all. Both have a reasonably good selection of
job opportunities, too.

 Jobs

 Salaries seem higher too. Even with various different things taken into
 account I'd say I'm about 20-30% better off out here.

Shame about the holiday (sorry, vacation) time. 15 days is just
becoming common as a starting offer, although you could probably be
unlucky and get just ten. When five or six of those days are eaten up
every time you visit family and friends back home, that's kind of
sucky, and more so when you're used to 25.

You get roughly the same number of public holidays as the UK, but
they're weirdly distributed (no Easter, but Thanksgiving; a holiday in
February but nothing for May Day) which takes some getting used to.
There are fewer than most EU countries, though, and some companies
pick and choose. The UK's habit of Christmas shutdowns is less common
here as well.

(This reply was partly inspired by seeing the Economist's holiday time
chart - http://theeconomist.tumblr.com/post/14173435104/ - which
inexplicably lists the US legal minimum as 15 days then notes with the
dagger that it's merely common practice. Note that's after ten years,
too.)

 Visas
 The Politics

These both suck. I can imagine bugging out of the country within
months if Gingrich gets the White House, UK recession or not.

 Uncanny Valley

 To be honest - I miss the British personality as well. That's a longer
 story though.

Also, pubs. Bars just aren't the same. Love your local pub, Londoners.
Be cosy in it. Enjoy meat pies and warm beer.

-- 
Paul Mison
http://husk.org/


Re: Should I work in the US or the UK? - which pays best?

2011-12-13 Thread Simon Wistow
On Tue, Dec 13, 2011 at 11:17:23PM +, Travis Basevi said:
 One thing that I'd suggest should be added to Simon's list, is that if 
 you're ever lucky enough to have the opportunity to work away from your 
 home country, and you're wondering whether to do it, then just do it. You 
 can always move back again, so what's there to lose? And generally 
 speaking, it gets very much harder to do the older and more settled you 
 get...

+1




Re: Should I work in the US or the UK? - which pays best?

2011-12-13 Thread Toby Wintermute
Just wanted to chip in and say -- why are you only considering the US or the UK?
If you're looking for a nice English-speaking city which employs
Perlmongers, have you considered Melbourne or Sydney in Australia?

Toby

-- 
Turning and turning in the widening gyre
The falcon cannot hear the falconer
Things fall apart; the center cannot hold
Mere anarchy is loosed upon the world


Perl threads and libwww wierdness

2011-12-13 Thread Toby Wintermute
Hi,
I'm hitting some really odd behaviour, infrequently, with libwww and
mechanize under a highly-threaded Perl.
Can I get a quick check to see if what I'm doing is known to work
reliably for you?


I have encountered a situation where I see unusual 404 errors - in
between 0.03% to 0.10% of requests.
Errors are randomly spaced on random pages, but over time the average
amounts are quite consistent.
Error rates initially increase with the number of simultaneous
threads, but seem to top off at .1%. (ie. One in a thousand requests)

The 404 errors are reported on the distant webserver as well, for URLs
that are definitely not 404. (as the identical URL is being requested
successfully many times in the same period).

Scale: This is typically running around 40 threads, all going flat-out
on an 8-core system; issues show up whenever you get over ~6 threads
though.

The only reason I don't think this is a problem with the network or
webserver is that the problems don't show up if I use fork() instead
of threads. (On otherwise identical code; and the same overall
throughput rates are reached. However the fork() version is just for
that bit of code for testing this; it misses some functionality.)

It's also being a pain to try and replicate the threaded issue with a
standalone server away from our code though, which isn't a good sign.

Hence, looking for some confirmation of whether this might just be a
known-bug with Perl or libwww before I go chasing down this rabbit
hole for miles. :(

This was running on Perl 5.14.1 and current versions of the above
modules. (I don't think there are any bugfixes listed in 5.14.2 that
would affect this issue? [1])

Any thoughts?

Thanks!
Toby

[1 http://search.cpan.org/~flora/perl-5.14.2/pod/perldelta.pod ]

-- 
Turning and turning in the widening gyre
The falcon cannot hear the falconer
Things fall apart; the center cannot hold
Mere anarchy is loosed upon the world


Re: Should I work in the US or the UK? - which pays best?

2011-12-13 Thread Simon Wistow
On Wed, Dec 14, 2011 at 12:07:12PM +1100, Toby Wintermute said:
 Just wanted to chip in and say -- why are you only considering the US or the 
 UK?
 If you're looking for a nice English-speaking city which employs
 Perlmongers, have you considered Melbourne or Sydney in Australia?

Well, the original reason this thread kicked off, was I think, Is it 
more expensive to run a dev team in the US than in the UK?

My one comment on Oz is ... whilst I don't mind being 5500 miles away 
from my family it's comforting to know I can be on a plane and back in 
about 15 hours if something happens.

There are far fewer flights back to the UK from Australia and they take 
much longer. I think when I worked it out last time the average time for 
me to get back to the UK if the flag went up, so to speak, was about 48 
hours.

Not that that should stop you - the quality of life in Sydney and 
Melbourne are astonishingly high - but it's a point to mention.




Re: Should I work in the US or the UK? - which pays best?

2011-12-13 Thread Toby Wintermute
On 14 December 2011 12:17, Simon Wistow si...@thegestalt.org wrote:
 On Wed, Dec 14, 2011 at 12:07:12PM +1100, Toby Wintermute said:
 Just wanted to chip in and say -- why are you only considering the US or the 
 UK?
 If you're looking for a nice English-speaking city which employs
 Perlmongers, have you considered Melbourne or Sydney in Australia?

 Well, the original reason this thread kicked off, was I think, Is it
 more expensive to run a dev team in the US than in the UK?

 My one comment on Oz is ... whilst I don't mind being 5500 miles away
 from my family it's comforting to know I can be on a plane and back in
 about 15 hours if something happens.

 There are far fewer flights back to the UK from Australia and they take
 much longer. I think when I worked it out last time the average time for
 me to get back to the UK if the flag went up, so to speak, was about 48
 hours.

I've never tried looking at that, let's see:

It's currently 1pm in Melbourne - if we said a flag went up right now
then according to skyscanner.com.au, I could hop on a flight at
10:20pm this evening for $1800 and get to Heathrow at 11:35am tomorrow
- 24 hours of travel, or 33 hours since the flag went up.

Or for $4000 there's a flight that'd get me there at quarter past 5 am
tomorrow, 28 hours after the 1pm flag.

Yeah.. not great if you need a faster response time.

 Not that that should stop you - the quality of life in Sydney and
 Melbourne are astonishingly high - but it's a point to mention.

Having lived in both London for a while and Melbourne, I have to say
that Melbourne's quality of life is very nice, and the pay for a good
Perl developer is higher than what I think I'd be getting in London at
the moment. (At least, if I was working somewhere with comparable
working conditions; I dare say there's more to be made in some of the
crazy financial jobs.. but we have those here too if you're that way
inclined.)

-Toby

-- 
Turning and turning in the widening gyre
The falcon cannot hear the falconer
Things fall apart; the center cannot hold
Mere anarchy is loosed upon the world


Re: Perl threads and libwww wierdness

2011-12-13 Thread Toby Wintermute
On 14 December 2011 12:16, Toby Wintermute t...@wintrmute.net wrote:
 Hi,
 I'm hitting some really odd behaviour, infrequently, with libwww and
 mechanize under a highly-threaded Perl.


Worth noting - I'm pretty sure LWP is all pure-perl, but mechanize
calls some XS libraries - HTML::Parser, PullParser and TokeParser.

TC