delicious

Sponsored: 64% off Code Black Drone with HD Camera

Our #1 Best-Selling Drone--Meet the Dark Night of the Sky!
cpan

Symbol-Approx-Sub-v3.0.2

=ê嚇n•çè­Æ¥–)à²æë¢ëbëɪi®Œb™«^©ž
twitter

@bitman Yeah. That was me being a bit thick. I've worked it out now. I reckon I'll make £7 on the deal.

twitter

@oneandoneis2 It's also true for incoming email or Twitter/Facebook notifications.

twitter

@oneandoneis2 There are other things,but those two alone would make it difficult for me to give up my smartwatch.

twitter

@oneandoneis2 I like knowing who's calling before getting the phone out of my pocket. And I use it to control the music player.

twitter

Also. Really annoyed that @fitbit have killed off such a good product. Glad I switched to @Withings two years ago.

cpan

Symbol-Approx-Sub-v3.0.1

=ê嚇n•çè­Æ¥–)à²æë¢ëbëɪi®Œb™«^©ž
slideshare

Modern Perl Catch-Up


A two-hour presentation from the London Perl Workshop about things that have changed in the Perl core in the last five years.
perl hacks

Hacking Symbol::Approx::Sub

In October, for (I think) the second year, Digital Ocean ran Hacktoberfest – a campaign encouraging people to submit pull requests to Github repos in exchange for free t-shirts.

A few of us thought that this might be a good way to do a small bit of easy Perl advocacy, so we tagged some issues on Perl repos with “hacktoberfest” and waited to see what would happen.

I created a few issues on some of my repos. But the one I concentrated on most was symbol-approx-sub. This is a very silly CPAN module that allows you to make errors in the names of your subroutines. I wrote it many years ago and there’s an article I wrote for The Perl Journal explaining why (and how) I did it.

Long-time readers might remember that in 2014 I wrote an article for the Perl Advent Calendar about Perl::Metrics::Simple. I used Symbol::Approx::Sub as the example module in the article and it showed me that the module had some depressingly high complexity scores and I planned to get round to doing something about that. Of course, real life got in the way and Symbol::Approx::Sub isn’t exactly high on my list of things to do, so nothing happened. Until this October.

Over the month, a lot of changes were made to the module. I probably did about half of it and the rest was pull requests from other people. The fixes include:

And I’m pretty happy with how it all went. The work was mostly completed in October and this morning I finally got round to doing the last couple of admin-y bits and version 3.0.0 of Symbol::Approx::Sub is now on the way to CPAN. You still shouldn’t use it in production code though!

Thanks to everyone who submitted a pull request. I hope you did enough to earn a free t-shirt.

If you want to get involved in fixing or improving other people’s code, there’s the 24 Pull Request Challenge taking place over Advent. Or for more Perl-specific code, there’s the CPAN Pull Request Challenge.

p.s. In the Advert Calendar article, I linked to the HTML version of the results. For comparison, I’ve also put the new results online. It’s a pretty good improvement.

The post Hacking Symbol::Approx::Sub appeared first on Perl Hacks.

cpan

Symbol-Approx-Sub-v3.0.0

=ê嚇n•çè­Æ¥–)à²æë¢ëbëɪi®Œb™«^©ž
books read

Travelling to Work: Diaries 1988-1998

Travelling to Work: Diaries 1988-1998
author: Michael Palin
name: David
average rating: 4.04
book published: 2014
rating: 0
read at:
date added: 2016/11/23
shelves: currently-reading
review:

davblog

Listening to Leonard

Over the last week, I’ve re-listened to all of Leonard Cohen’s albums in chronological order. And, most importantly, I’ve rated them.

  1. recent_songsRecent Songs (1979)
    Sorry, but this is the one that I really didn’t get. In “Humbled in Love” it contains one of my favourite Leonard Cohen songs, but the rest of the collection really doesn’t do it for me. The received wisdom is that this was a major return to form following the rather dodgy Death of a Ladies’ Man – but I can’t see it. If I wanted to play someone an album that reinforces the stereotype of Cohen songs being depressing dirges, then this is the one I’d choose.
  2. leonardcohendearheatherDear Heather (2004)
    I’m generally a big fan of Cohen’s more recent albums, but this is an exception. I don’t actively dislike it in the way I do Recent Songs, but It’s very rare that I’ll choose to listen to it over any other Cohen album. There are some flashes of Cohen’s dark humour here, but you have to go looking quite hard in order to find them. And then there’s that version of “Tennesse Waltz”. I’m really not sure what to make of that.
  3. leonard_cohen_you_want_it_darkerYou Want it Darker (2016)
    This was released just a few weeks ago. And it’s only so far down the list because I haven’t listened to it enough to really know how much I like it. As with Bowie’s Blackstar, the fact that it was released so close to Cohen’s death means that it will always be linked to that tragic event and will inevitably be seen as his farewell to his fans. On listening to it this week (for what may have been only the third time) I enjoyed it. If I revisit this list in a few years, there’s a good chance that it will be higher.
  4. leonardcohenpopularproblemsPopular Problems (2014)
    Another album that I really haven’t given the attention that it deserves. To be honest, I’m surprised to find it came out two years ago. It seems like only a few months. I don’t know the album well enough to recognise particular songs, but while listening to it this week I was pleasantly surprised by how familiar it sounded even though I can’t have listened to it more than half a dozen times.
  5. leonardcohenoldideasOld Ideas (2012)
    It’s astonishing to me how productive Cohen became in his final years. There’s an eight year gap between his previous album (Dear Heather) and this one. But then he releases this, Popular Problems and You Want it Darker all in quick succession. It’s like he’s determined to get as much material as possible out there before the end. And like the other two albums in this loose “trilogy” I don’t know it particularly well. I suppose I should count myself lucky that there are still three more Leonard Cohen albums that I need to listen to a lot more.
  6. songs_from_a_roomSongs from a Room (1969)
    From Cohen’s last three albums, we leap back to the beginning of his career. This was his second album and it built on the success of Songs of Leonard Cohen. It opens with one of his best-loved songs, “Bird on the Wire”, and closes with the impressive run of “You Know Who I Am”, “Lady Midnight” and “You Know Who I Am”. First albums can be a fluke. But a follow-up of this quality marks you as a real talent.
  7. new_skin_for_the_old_ceremonyNew Skin for the Old Ceremony (1974)
    By 1974, Cohen is firing on all cylinders. Many of your favourite Leonard Cohen songs are on this album – “Chelsea Hotel #2”, “There is a War”, “A Singer Must Die”, “Who By Fire”. Only the closing “Leaving Greensleeves” strikes a slightly jarring note.
  8. leonardcohentennewsongsTen New Songs (2001)
    How do you follow an album like The Future? In Cohen’s case, the answer is you go away for nine years (five of which you spend in a zen monastery) before surprising your fans with a great new album. Songs like “In My Secret Life”, “A Thousand Kisses Deep” and “Here It Is” are as good as anything he ever recorded. This album is often overlooked, but is well worth investigating.
  9. various_positionsVarious Positions (1984)
    Another largely overlooked mid-career album. Or, rather, it would be if it wasn’t for one single track. This is the album that includes “Hallelujah”. I used to believe that it was impossible to record a bad version of “Hallelujah”. But that was when only talented people like John Cale and Jeff Buckley had discovered it. Now I’m not so sure. There are plenty of other great songs on this album too though. The first track, “Dance Me to the End of Love” was the usual opener to Cohen’s live shows.
  10. songs_of_love_and_hateSongs of Love and Hate (1971)
    Back to the early part of Cohen’s career. This was his third album. It didn’t move much from the successful formula of the previous two albums, but that’s no bad thing as that still makes for a great album. In “Famous Blue Raincoat”, this features my favourite Leonard Cohan song, but there are other great songs too – including “Dress Rehearsal Rag”, “Diamonds in the Mine” and “Joan of Arc”.
  11. death_of_a_ladies_manDeath of a Ladies’ Man (1977)
    This is likely to be controversial. Not everyone likes this album. Cohen himself is on record calling the recording a “catastrophe” and he only ever played one song from the album (“Memories”) in concert. But I like it. I think that “True Love Leaves No Traces” and “Paper Thin Hotel” are two of the loveliest songs that Cohen ever wrote. Ok, “Fingerprints” is a bit cheesy, but surely it’s impossible to listen to “Don’t Go Home With Your Hard-On” without smiling.
  12. songsofleonardcohenSongs of Leonard Cohen (1967)
    There are very few debut albums as good as this one. Even almost fifty years after it’s release, most of Cohen’s best-known songs are from this album – “Suzanne”, “Sisters of Mercy”, “So Long, Marianne”, “Hey, That’s No Way To Say Goodbye”. And the songs that aren’t so well-known are just as good – I’m particularly fond of “Stranger Song”.
  13. im_your_man_-_leonard_cohenI’m Your Man (1988)
    When I first discovered the joys of Leonard Cohen, this was his latest album. And it was completely different to the other examples of his work that I had come across (things like Songs of Leonard Cohen). This was certainly different, but it was just as good – perhaps even better. I immediately loved things like “First We Take Manhattan” and “Everybody Knows” but later on the less immediate songs also gripped me. “Tower of Song” is now on of my favourite Cohen songs.
  14. leonardcohenthefutureThe Future (1992)
    This was the first album that Cohen released whilst I was following his career; the first of his albums that I bought as soon as it was released. And it’s a nearly perfect album. It’s hard to choose a favourite song. The title track is great. “Democracy” and “Anthem” are both wonderful songs with lyrics that really resonate. And I will always love “Closing Time”. I would recommend this album to anyone. If you don’t love it then your musical taste needs serious recalibration.

This is all purely subjective of course. And if I made the list again in six months time, it could well be completely different. What do you think? Have I put you favourite Leonard Cohen album high enough?

The post Listening to Leonard appeared first on Davblog.

perl hacks

The Fragility of Contracting

I’ve been rather quiet for a few months. That’s because I’ve been working for a large investment bank in Canary Wharf. It’s no so much that the work takes up more of my time than other contracts I’ve had, but more that the incredibly restrictive firewalls banks have around their networks have meant that I have far less ability to keep in touch with things during the working day. I understand security is so important to them but, wow, it’s hard having to live with it.

Working in the finance sector is lucrative, but not much fun (which, I suppose, might explain why they make it so lucrative).

But all that is about to change. On Wednesday, the project leader told me that the bank were letting all of the contractors in the group go. It had come as a complete surprise to him too – he had just received an email telling him to let us know. That’s the way things work in the banking sector.

I’m not sure if it was a slow reaction to Brexit or an extremely quick reaction to Trump or something else completely. But we’ll all be leaving at the end of this month.

Which means that I’m looking for a new contract. So if you’re reading this and you know of a team who are looking for a contractor then please let me know and we might be able to work something out.

Because of way this was timed, I think I’ll probably be looking for something to start at the beginning of next year. I’m going to South Africa for a couple of weeks at the end of the year and it seems pretty pointless to do a couple of weeks at a new job before going away for a while and forgetting everything I’ve learned.

But it would be nice if I didn’t spend all of the first two weeks of December watching Netflix. So there are a few possibilities I’m considering:

Or, the most likely option:

In fact, if there’s any way that you think I could be of use to your company for a few days in December or on a longer-term basis from January, then please get in touch.

The post The Fragility of Contracting appeared first on Perl Hacks.

flickr

I need to get round to giving this a title

Dave Cross posted a photo:

I need to get round to giving this a title

New photo added to gallery via Android ift.tt/2dqUead

flickr

I need to get round to giving this a title

Dave Cross posted a photo:

I need to get round to giving this a title

New photo added to gallery via Android ift.tt/2dDAGOB

flickr

Mi Amigo

Dave Cross posted a photo:

Mi Amigo

The old Radio Caroline ship - now moored at Harwich.

New photo added to gallery via Android ift.tt/2ebX3J0

flickr

Heirloom

Dave Cross posted a photo:

Heirloom

My great-grandfather's half-hunter.

New photo added to gallery via Android ift.tt/2dkudVj

flickr

Stealing Sheep

Dave Cross posted a photo:

Stealing Sheep

At Heaven. 4th Oct 2016.

New photo added to gallery via Android ift.tt/2dqZIQI

perl hacks

Feedback

During the week, Barbie sent out the results from the feedback survey that he ran after YAPC Europe. The general results will be published later, but all of the speakers will have received an email containing the feedback from their talks. That feedback is private, but I’m happy to share mine with the world.

The feedback survey takes the form of five questions. People are asked to answer these questions with a rating from 1 to 10. The questions are:

There is also an opportunity for people to write in more detailed comments if they want.

I gave two talks at the conference. A lightning talk called “Medium Perl” which introduced the idea of the Cultured Perl blog and a longer talk called “Error(s) Free Programming” which talked about Damian Conway’s module Lingua::EN::Inflexion.

Eight people gave feedback on “Medium Perl”.

Qu 1 2 3 4 5 6 7 8 9 10 Avg
Q1 1 1 2 1 2 1 4.5
Q2 1 1 1 5 9.25
Q3 1 1 1 5 8.875
Q4 1 1 1 5 8.875
Q5 2 1 1 4 8.875

What aspects of the tutorial or presentation worked really well?

How could the tutorial or presentation be improved?

I’m not really sure how I’m supposed to make Medium change their fonts. I suppose I could suggest that they make other fonts available as an option. But then, so could the person who made that comment.

Four people gave feedback on “Error(s) Free Programming”.

Qu 1 2 3 4 5 6 7 8 9 10 Avg
Q1 1 1 1 1 4
Q2 3 1 9.25
Q3 2 2 9.5
Q4 1 3 9.75
Q5 2 2 9.5

What aspects of the tutorial or presentation worked really well?

How could the tutorial or presentation be improved?

I can only suggest that the last people reads the talk description, not just the title in future.

I also got feedback about the “Modern Web Programming with Perl and Dancer” course that I ran before the conference. The feedback here is in a slightly different format as it’s a form that I made up myself. I got feedback from 11 people.

1 2 3 4 5 6 7 8 9 10 Avg
On a scale of 1 to 10, how do you rate your Perl ability?
1 1 2 2 3 1 1  7.09
On a scale of 1 to 10, how useful did you find the course?
2 1 6 1 1  7.45
On a scale of 1 to 10, how much did you enjoy the course?
1 5 2 3  8.54
On a scale of 1 to 10, how do you rate the instructor’s knowledge of the subject?
2 1 6 2  8.72
On a scale of 1 to 10, how well did the instructor teach the subject matter?
1 2 2 4 2  8.36
On a scale of 1 to 10, please rate the amount of material covered
1 1 3 1 1 2 2  6.27

That last question is always tricky. The form is clear that if you think it was just right, to score 5. But I always get some people choosing 10 and I think I’d know if people thought I was covering stuff far too quickly. That 1 is a bit of a worry though.

So, all in all, not bad scores. And generally people saying nice things. Which is always nice to see.

Now I need to start thinking about the London Perl Workshop.

The post Feedback appeared first on Perl Hacks.

perl hacks

YAPC Europe 2016

I’ve been back from Cluj-Napoca for almost a week, so I should really write down what I remember about YAPC Europe before it’s all forgotten.

Day -1

I arrived in Cluj-Napoca on Sunday evening and got to my hotel quickly. There was just time for a quick meal before bed.

Monday was the day that I was going to get to grips with the city. After meeting a few Perl Mongers at breakfast, my wife and I set off to explore. My first target was to find Cluj Hub, the venue where I was running a training course the following day. That was simple and took less than fifteen minutes. We then explored both the Orthodox and Catholic cathedrals before settling into a bar on the main square called “Guevara” for a coffee. After that we decided that we needed to pick up some supplies and whilst on that hunt we bumped into Max Maischein who recommended a visit to the botanical gardens.

On returning to the hotel with our supplies, we met Curtis Poe and invited him to join us for lunch. Wandering at random we found a really good restaurant called Livada and enjoyed a very pleasant meal.

After lunch we spent a very enjoyable couple of hours in the botanical gardens and only just failed to get back to the hotel before it really started raining. That evening we ate in restaurant really close to the hotel called the Crying Monkey (but in Romanian).

Day 0

Tuesday was my “Modern Web Development with Perl and Dancer” training course. This was by far the most successful training course that I’ve ever run at a YAPC. I’ll write more about it when I get the feedback results, but I think that the attendees enjoyed it. I know I had great fun giving it. Cluj Hub was a great venue and Andra Gligor and her small team looked after us all really well.

That evening, the traditional pre-conference meet-up was held on the roof of Evozon’s offices. As always, it was lovely to catch-up with old friends that I only get to see once or twice a year.

Day 1

On Wednesday, I set off in plenty of time to find the venue. It turned out that our hotel was really well located for both sight-seeing and the conference and I got there in ten minutes or so. The registration queues seemed shorter than usual and before long I had my name-tag and bag of conference swag.

As always, there were far too many good talks and it was impossible to see everything. I’ll just talk about the talks that I saw. Everything was videoed, so it will all be online soon.

The day began with Amalia welcoming us to the conference. Then the YAPC Europe Foundation announced that next year’s conference will be in Amsterdam. This is the first time that the conference has returned to a previous city (the second YAPC Europe was held in Amsterdam back in 2001) and I’m looking forward to going.

The first day’s keynote was from Curtis Poe. It was a wide-ranging talk covering the history and future of both Perl and the Perl community. After that I went into one of the small rooms to see H. Merijn Brand talking about his recent improvements to Perl’s CSV parser followed by Alex Muntada on how the Debian project packages CPAN modules. I then went back to the main room to see Mickey Nasriachi talking about PONAPI, which is a Perl implementation of JSONAPI.

Lunch suffered slightly from the inevitable queues, but it was worth the wait as the quality of the food (as it was throughout the conference) was very high.

After lunch I saw Lee Johnson giving some Git tips, Sawyer talking about the XS guts of Ref::Util and Jose Luis Martinez talking about PAWS (the Perl interface to Amazon Web Services). I saw Jose Luis talking about PAWS last year in Granada but really wanted to see how the project is progressing. I think this has the potential to be a great advocacy tool for Perl.

A quick coffee break and then I saw Thomas Klausner give his opinions on writing API endpoints and Tina Müller talking about App::Spec which looks like a great tool for easily writing command line applications.

Then it was was lightning talks. They were the usual combination of the useful, the banal and the ridiculous. I think the highlight for me was Curtis Poe announcing more details of his online game (which is now officially called Tau Station). This was the point at which I announced Cultured Perl – which seems to be going well so far.

That evening was the conference dinner. Which was a buffet party held in the open-air quadrangle at the centre of the Banffy Palace (Cluj’s major art museum). A great time was had by all.

Day 2

Another day, another keynote. This time it was Sawyer X with “The State of the Velociraptor” – an annual round-up of what’s going on in the Perl 5 world. This year Sawyer found a number of volunteers who all gave short talks about their part of the Perl community. This was a great idea which was only slightly marred by the fact that the projector wasn’t at all happy changing laptops – so the switches between presenters weren’t as smooth as they could have been.

After that I saw Max talking about how he uses ElasticSearch on his laptop to give himself a local search engine and Job van Achterberg talking about making web sites more accessible. This was a great talk – particularly the sections where he showed just how bad most web sites appear to screen readers.

Another queue for another great lunch. And also many interesting conversations.

After lunch I saw a former colleague, Mirela Iclodean, talking about how her company have managed to shoe-horn many modern tools and practices into their working day – while still maintaining a nasty monolithic code-base which they are slowly chipping away at. It was a great talk and it made me miss working on that project. I’m hoping that she will repeat this talk at the London Perl Workshop.

Later that afternoon, I gave my “Error(s) Free Programming” talk – in a slot where every speaker was a London.pm leader. The talk seemed to go down well, but somehow I ran considerably short.

After that I saw Albert Hilazo talk about his first few months as a Perl programmer. I found this really interesting as Albert talked in some detail about things that other language communities provide but he found hard to find for Perl. In particular, he would like to see more “war story” blog posts showing how people have solved particular problems using Perl tools.

Then it was Matt Trout celebrating ten years in the Perl community by explaining how his career was largely a series of happy accidents and that a lot of the responsibilities he has taken on were just through being in the wrong place at the wrong time – or something like that.

One talk I couldn’t miss was Andrew Yates talking about the work that his team do at the European Bioinformatics Institute. I couldn’t miss it as I was at least partly responsible for Andrew proposing the talk. I ran some training at the EBI earlier this year and during our email conversation YAPC was mentioned and Andrew asked if people might be interested in hearing about their work. I replied “hell, yes!” and sent him a link to the talk proposal web page.

And then, of course, there another ten or so lightning talks to close the day entertainingly.

Day 3

The keynote speaker on the last day was Larry Wall. His topic was “Strange Consistency”. If you’ve seen Larry speak before, you’ll know what it was like.

I followed that by watching Jason Clifford talk about how his team had written a major new toolset in Perl despite management pressure to use other technologies. The project, of course, ended up being very successful.

One of the most interesting talks was Nicholas Clark’s view of an alternative universe where Jon Orwant never threw those mugs in 2000 and the Perl 6 project was never started. The main lesson appeared to be “what goes around, comes around” and his fictional universe didn’t end up too far away from where we are now.

The afternoon had a curious combination of some time slots where I wanted to see every talk and others where I didn’t really want to see anything. So in some cases I’m eagerly awaiting the videos going online and in others I sat in the back of the room only half-concentrating while giving most of my attention to Twitter or Facebook.

I really enjoyed Sawyer talking about the things that were added in Perl 5.24 (and very carefully not talking about the things that were added in previous versions) and also Jose Luis Perez talking about what he has got out of doing the CPAN Pull Request Challenge.

The final lightning talks were as much fun as they always are. The projectors were still giving the speakers plenty of technical difficulties which led to lots of time for “lightning adverts” between the talks. I think that towards the end the differences between the two rather broke down and on the video at one point I expect you’ll hear Geoff Avery saying “I seem to have lost control of this”.

The conference ended, as it always does, with a brief presentation from the organisers of next year’s conference, a final thank-you to all of the speakers and sponsors and a standing ovation for the organisers.

This was one of the best-organised YAPCs I’ve been to for a very long time. And Cluj-Napoca is a city I would never have considered visiting if it wasn’t for the Perl community there. And already I’m considering a return visit. I had a lovely time in the city and returned to London completely recharged and reinvigorated.

See you all in Amsterdam next year.

The post YAPC Europe 2016 appeared first on Perl Hacks.

perl hacks

DamianWare

Yesterday at YAPC Europe I gave a talk called “Error(s) Free Programming”. The slides are below, but it might make more sense once the video is online.

Error(s) Free Programming from Dave Cross

The talk is about Damian Conway’s module Lingua::EN::Inflexion and how it makes programmers’ lives easier. As part of the talk, I invented a logo for the fictional DamianWare brand. DamianWare is, of course, a brand that specialises in using deep Perl magic in order to produce tools that help Perl programmers be lazier.

It was just a joke. A throwaway visual to make a point in the presentation. But after the talk Mallory approached me and suggested that the logo would look great on a t-shirt which was sold to benefit The Perl Foundation. I couldn’t really argue with that.

And, having emailed him overnight, it turns out that Damian agrees it’s a good idea too.

So the shirts (and a couple of other things) are now available on Spreadshirt (currently the UK version, I’ll try to make them more widely available as soon as possible).

There’s an easier to remember URL at http://perlhacks.com/damian.

Any profit that I make (and I think it’s about 20% of the sale price) will be donated to TPF as soon as I receive it.

The post DamianWare appeared first on Perl Hacks.

slideshare

Error(s) Free Programming


A talk about writing better messages in Perl. Presented at YAPC Europe in Cluj-Napoca, Romania and at the London Perl Workshop in 2016.
slideshare

Medium Perl


In which I describe my plan for a new Perl online magazine. A lightning talk from Yapc Europe 2016 in Cluj-Napoca, Romania.
cpan

Ogg-Vorbis-Header-0.05

zç-¢¸žž×Š{^­öœzÚ‚h­¸¬Šwè®f­Š‰Ú×(šg§µøž•Û
davblog

Brexit

I was awake soon after 5:30 yesterday morning. As I got to my computer, the EU referendum results weren’t confirmed, but it was looking certain that the country had voted (narrowly, but decisively) to leave the European Union. My thoughts during the day are nicely summed up by my tweets and retweets.

My initial reaction was anger.

(Hmm… the downside of rolling news coverage – that story has changed dramatically since I first linked to it.)

A few minutes later I was slightly more coherent (and almost philosophical)

Then the reality of the situation started to sink in

I tried to be positive

I was being sarcastic, of course. We’ll return to this subject later on.

I started to see life imitating art in a quite frightening way.

(And, yes, I know I should replace that picture with one of Boris Johnson)

Nigel Farage is (and, apparently, always has been) a despicable man. So it should have come as no surprise that his victory speech was insulting and divisive.

I don’t mind not being considered ordinary, but I’m certain I’m real and I like to think I’m decent. Tom Coates inverted Farage’s phrase nicely.

When Cameron resigned, I immediately became worried about the fall-out.

Really, if your best option is a man who stuck his penis into a pig’s mouth, then it must be clear that you’re in trouble.

Then I checked the stock market and realised that many of the Brexit supporters may have shot themselves in the foot.

A story in the FT illustrated the fall nicely (“nicely” isn’t really the right word!)

The markets bounced back a bit later in the day – but it was one of the most volatile days of trading in history.

Fox News can, of course, always be relied on to get important facts wrong.

Then I started to see data on the demographics of the voting – where it became obvious that it was mainly the older generations who were voting against the EU

Can I just point out that it’s #NotAllBabyBoomers :-/

Remember the £350m a week that was going to be diverted to the NHS. Turns out that was a lie.

It was a lie on many fronts.

It was a lie that the Leave campaign were called out on many times, but they refused to retract it.

To be fair to Farage (and that’s not a phrase I ever expected to write) he wasn’t part of the official Leave campaign, so he wasn’t the right person to ask about this. But someone should certainly take Johnson or Gove to task over it.

Going back to the baby-boomers, I retweeted a friend’s innocent question

Then it started to look like Cameron might not be the only party leader to go in the fallout from the referendum

Incidentally, has anyone seen any evidence of the Lib Dems in this campaign? A couple of days ago I saw footage of Tim Farron in a crowd somewhere. Took me a few seconds to remember who he was; and then another minute or so to remember that he was the leader of the Lib Dems.

Euro-myths have always really annoyed me

More bad news from the City

I should point out that Morgan Stanley have denied the story. I guess time will tell who is telling the truth here.

By mid-afternoon, I was working on alternative plans

A final thought struck me

I mean, they were a single-issue party. And they’ve won that battle. Surely, there’s no need for the party to exist any longer. They can’t surely expect people to vote for them now (although, UK voters are a very strange bunch). If they closed down, they could all go back to the Tories and Farage and Carswell could get places in the new Johnson/Gove cabinet.

Oh, now I’m really depressed.

The post Brexit appeared first on Davblog.

cpan

Net-Songkick-v1.0.2

=ê嶩¥êߢ»ay*'‚HœÈ
davblog

Ten Years?

It’s been some considerable time since I wrote anything about Nadine Dorries. I still keep an eye on what she’s up to, but most of the time it’s just the same old nonsense and it’s not worth writing about.

But I was interested to read her recent blog post explaining why she had given up Twitter (again). Of course, she uses it to rehash many of her old claims of stalking and the like, but what I found really interesting was when she said:

After almost ten years on Twitter (so long I can’t remember) and with 28,000 followers, I have made my own modest exit.

Because that “almost ten years” didn’t fit my recollections. Twitter has just had its tenth anniversary. As I wrote recently, almost no-one has been on Twitter for ten years – certainly not any British MPs.

It’s simple enough to use one of the many “how long have I been on Twitter?” sites to work out when her current @NadineDorriesMP account joined Twitter. It seems to be January 2012.

But that’s not the full story. She has joined and left Twitter a few times. Let’s see what we can find out.

Firstly, here’s a blog post from May 2009 where she doesn’t seem to be planning to join Twitter any time soon.

Anyway, safe to say, I shan’t be joining the legions of twitters any day soon.

It’s several months later, in September 2009, when she announces that she has joined Twitter. So that “ten years” is more like six and a half.

I’m pretty sure that first account was also called @NadineDorriesMP. At some point over the next couple of years, she closed that account (I’ll dig through her blog later to see if I can find any evidence to date that) and some time later she returned with a new account called @Nadine_MP. I know that because in May 2011 she gave up that second account and forgot to remove the Twitter widget from her web site. Then someone else took over the now-abandoned username and used it to deface her site. And then, as we saw above, she rejoined in January 2012.

So I think the list of Nadine’s Twitter accounts goes like this:

That last account is still registered. She just chooses not to use it any more. If past behaviour is anything to go by, she’ll be back at some point.

Anyway, here’s another good example of why you can’t trust anything that Dorries says. Even on a simple fact like how long she has been using Twitter, she just pulls numbers out of the air. She makes stuff up to suit her and she’s been doing it for years.

The post Ten Years? appeared first on Davblog.

davblog

Twitter’s Early Adopters

You’ll be seeing that tweet a lot over the next few days. It’s the first ever public tweet that was posted to the service we now know as Twitter. And it was sent ten years ago by Jack Dorsey, one of Twitter’s founders.

Today, Twitter has over a hundred million users, who send 340 million tweets a day (those numbers are almost certainly out of date already) but I thought it would be interesting to look back and look at Twitter’s earliest users.

Every Twitter user has a user ID. That’s an integer which uniquely identifies them to the system. This is a simple incrementing counter[1]. You can use a site like MyTwitterID to get anyone’s ID given their Twitter username. It’s worth noting that you can change your username, but your ID is fixed. When I registered a new account last week, I got an ID that was eighteen digits long. But back in 2006, IDs were far shorter. Jack’s ID, for example, is 12. That’s the lowest currently active ID on the system. I assume that the earlier numbers were used for test accounts.

Using the Twitter API you can write a program that will give you details of a user from their ID. Yesterday I wrote a simple program to get the details of the first 100,000 Twitter users (the code is available on Github). The results from running the program are online. That’s a list of all of the currently active Twitter users with an ID less than 100,000.

The first thing you’ll notice is that there are far fewer than you might expect. The API only returns details on currently active users. So anyone who has closed their account won’t be listed. I expected that perhaps 20-25% of accounts might fall into that category, but it was much higher than that.

There are 12,435 users in the file. That means that 87,500 of the first 100,000 Twitter accounts are no longer active. That was such a surprise to me that I assumed there was a bug in my program. But I can’t find one. It really looks like almost 90% of the early Twitter users are no longer using the service.

The dates that the account were created range from Jack‘s on 21st March 2006 to Jeremy Hulette (ID 99983 – the closest we have to 100,000) exactly nine months later on 21st December 2006.  I guess you could get a good visualisation of Twitter’s early growth by plotting ID against creation date – but I’ll leave that to someone else.

My file also contains location. But it’s important to note that I’m getting the location that is currently associated with that account – not the original location (I wonder if Twitter still have that information). I know a large number of people who were in London when they joined Twitter by who are now in San Francisco, so any conclusions you draw from the location field are necessarily sketchy. But bearing that in mind, here are some “firsts”.

That last one seems a little high to me. I might have missed someone earlier who didn’t put “UK” in their location.

So who’s on the list? Is there anyone famous? Not that I’ve seen yet. Oh, there are well-known geeks on the list. But no-one you’d describe as a celebrity. No musicians, no actors, no politicians, no footballers or athletes. I may have missed someone – please let me know if you spot anyone.

Oh, and I’m on the list. I’m at number 14753. I signed up (as @davorg) at 11:30 on Wednesday 22nd November 2006. I suspect I’m one of the first thousand or so Brits on the list – but it’s hard to be sure of that.

Anyway, happy birthday to Twitter. I hope that someone finds this data interesting. Let me know what you find.

[1] Actually, there’s a good chance that this is no longer the case – but it was certainly true back in 2006.

The post Twitter’s Early Adopters appeared first on Davblog.

slideshare

Writing Books (The Easy Bit)


As seen at Floss UK Spring Conference 2016. How to create ebooks from Markdown.

sources

Feed Subscribe
OPML OPML

Powered by Perlanet