layer-boun...@lists.infradead.org] On Behalf
Of Vangelis forthnet
Sent: 24 August 2017 02:17
To: get_iplayer@lists.infradead.org
Subject: Re: New radio PIDs, more than 8 characters - "solved"
On Wed Aug 23 16:44:30 BST 2017, Hugh Reynolds wrote:
> Reboot didn't help
> Uninstall and Reboot di
On Wed Aug 23 16:44:30 BST 2017, Hugh Reynolds wrote:
Reboot didn't help
Uninstall and Reboot didn't help
iobit-unlocker helped.
Clean install is now working.
Many, many thanks.
You're welcome! I'm glad you're back up and running :-)
For the sake of completeness/closure,
were you even
Vangelis, All,
Sorry for the Hijack.
Reboot didn't help
Uninstall and Reboot didn't help
iobit-unlocker helped.
Clean install is now working.
Many, many thanks.
Hugh
---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus
Hi C. E.,
> for a high-level language, [Perl's] syntax is unnecessarily difficult
> and obscure.
Perl's syntax is heavy on notation, but then notation is powerful
compared to the long-hand alternatives, and that's why it's fine in
maths, chemistry, and Perl. For the occasional visitor, Python's
Would you two please take this childish spat to private email and save the
rest of us from terminal boredom.
On Wed, 16 Aug 2017 17:20:10 +0100, David Cantrell
wrote:
On Wed, Aug 16, 2017 at 04:57:30PM +0100, C E Macfarlane wrote:
But, since you are obviously
On Wed, Aug 16, 2017 at 04:57:30PM +0100, C E Macfarlane wrote:
> But, since you are obviously spoiling for a fight, why should anyone listen
> to someone who has confessed to being a part of putting all that massive
> bloat in BBC web pages
[citation needed]
> presumably therefore you will
> On Wed, Aug 16, 2017 at 04:16:33PM +0100, C E Macfarlane wrote:
>
> > as for arcane-ness of language and difficulty in reading
> > it's about on a par with The Bible!
>
> That's what everyone thinks about languages that they are too damned
> lazy to learn.
Laziness doesn't
On Wed, Aug 16, 2017 at 04:16:33PM +0100, C E Macfarlane wrote:
> as for arcane-ness of language and difficulty in reading
> it's about on a par with The Bible!
That's what everyone thinks about languages that they are too damned
lazy to learn.
--
David Cantrell | Nth greatest programmer in
See reply below ...
--
www.macfh.co.uk/MacFH.html
> The first two google results for "perl regular expression" not good
> enough for you :-)
I'm sure they would have been, but that wasn't what I searched for. I
searched for something more precise.
> BTW, it's Perl or perl, not
On Tue, Aug 15, 2017 at 03:06:51PM +0100, C E Macfarlane wrote:
> Yes, I was aware of \b support in some languages, but RE support varies
> across languages, and, knowing this but not being experienced in PERL, I
> checked at least two online sources for PERL REs and could find no evidence
> of
More on REs ...
--
www.macfh.co.uk/MacFH.html
> > would we both agree with?:
> > \b[bpw][0-9][a-z0-9]{7,13}\b
>
> I think it's
>
> \b[bpw]\d[b-df-hj-np-tv-z\d]{6,13}\b
>
> to cover the existing ones that are eight long, up to the 15-long
> w172vg029mkl852 that
From: Jim web
Sent: Wednesday, August 16, 2017 09:58
I've not encountered any problem thus far, so currently am asking just for
clarification.
Have a look at World Service programmes from Friday onwards.
http://www.bbc.co.uk/programmes/p002w6r2/episodes/downloads
Hi C. E.,
> So, yielding to your superior knowledge of PERL, for the sake of
> clarity for the benefit of those who may have had difficulty in
> following the nuances of the argument, or been confused by the
> multiple suggestions, would we both agree with?:
> \b[bpw][0-9][a-z0-9]{7,13}\b
The discussion prompts some questions on my part:
1) I always used -pid to specify a programme rather than other
methods. Does this *have* to have a validation check by regex? I'd assume
it doesn't need to parse an entire url because it could just tack the value
I give onto the standard parts.
On Mon Aug 14 13:19:14 BST 2017, M Clark wrote:
changing all 7 occurrences (sigh...) of
[bp]0[a-z0-9]{6}
to
(?:[bp]0[a-z0-9]{6}|w[a-z0-9]{7,14})
solves the w3*, w1* problem for Me.
Hi Martin; that new code still assumes that both Red Bee & PIPs
PIDs will have "0" as the second character in
More on REs ...
--
www.macfh.co.uk/MacFH.html
> > Yes, I was aware of \b support in some languages, but RE support
> > varies across languages, and, knowing this but not being experienced
> > in PERL, I checked at least two online sources for PERL REs
> and could
> > find no
More about Regular Expressions (REs), which can be safely ignored by those
not interested ...
--
www.macfh.co.uk/MacFH.html
> > it might be necessary to bracket it at the beginning and end with
> > non-capturing non-word meta- or pseudo-characters
>
> Rather than \W, representing a
C E Macfarlane wrote:
Thinking about this a bit more, I wouldn't wish to claim a spurious hit was
more likely with no upper limit, but nevertheless I would still regard it
better programming practice to have one - with normal written English, the
potential for spurious hits would be low, and
Hi C. E.,
> it might be necessary to bracket it at the beginning and end with
> non-capturing non-word meta- or pseudo-characters
Rather than \W, representing a single non-word character, \b would be
better, meaning a zero-width boundary between a word, \w, and non-word,
\W, character, or the
Correction below:
--
www.macfh.co.uk/MacFH.html
> Yes, but in practice you'd want an upper limit, because the
> higher the limit
> the more likely you are to get spurious hits.
Thinking about this a bit more, I wouldn't wish to claim a spurious hit was
more likely with no upper
See interleaved reply below ...
--
www.macfh.co.uk/MacFH.html
> >...
> >[bpw][0-9][a-z0-9]{7,13}
> >... would probably do the job.
> >
> The BBC version James Scholes gave seems to be much wider.
> Does {8,} mean
> at least 8 with no upper limit?
Yes, but in practice
From: C E Macfarlane
Sent: Sunday, August 13, 2017 20:54
...
[bpw][0-9][a-z0-9]{7,13}
... would probably do the job.
The BBC version James Scholes gave seems to be much wider. Does {8,} mean
at least 8 with no upper limit?
___
get_iplayer
More about regular expressions and programming follows, which those with no or
little interest in either can safely ignore ...
--
www.macfh.co.uk/MacFH.html
> > I think what Charles was meaning is that if you were using
> --url "http://www.bbc.co.uk/programmes/b08xy0gl; rather than
>
Hi M,
> I'm horrified by the code repetition. Doesn't Perl allow 'functions'?
Yes, that's those
sub foo {
...
}
you see.
It can also hold a regexp in a variable so a `$pid_regexp' could be
defined once and used repeatedly.
$ perl -e '
> $re =
From: Vangelis forthnet Sent: Monday, August 14, 2017 03:45
The Al Gore one is now p05c2b9j
(snip) The changes may be temporary.
... Yes and no... If you browse to:
http://www.bbc.co.uk/programmes/p016tl04/episodes/player
you'll see there exist two distinct entries for "Former US Vice
> > But there is a potential problem with [a-z0-9]
> > because it would pick out many normal English words,
> > for example, ironically, 'programmes' and 'programming'.
>
> Again, forgive me for being obtuse, still learning things,
> but isn't that scenario assuming one actually inputs
>
>
On Sun Aug 13 18:28:42 BST 2017, RS wrote:
The Al Gore one is now p05c2b9j
(snip)
The changes may be temporary.
... Yes and no... If you browse to:
http://www.bbc.co.uk/programmes/p016tl04/episodes/player
you'll see there exist two distinct entries for
"Former US Vice President Al Gore
See reply ...
--
www.macfh.co.uk/MacFH.html
> Would I be right in saying that amending Vangelis' suggestion to:
> [bpw][a-z0-9]{14}
> would pick up 15 character PIDs as well as anything shorter?
Firstly it would have to be ... {8,14}, otherwise shorter ones
On 13/08/2017 17:44, M Clark wrote:
Thanks for coding help but, the problem is worse (for me...),
PID w172vg029mkl852
Business Matters - Former US Vice President Al Gore on Climate Change
(w172vg029mkl852)
So not even 8 characters. Other World Service Series (?) have similar PIDs
now, e.g.
From: Ralph Corderoy
Sent: Sunday, August 13, 2017 17:54
Thanks for coding help but, the problem is worse (for me...), PID
w172vg029mkl852 Business Matters - Former US Vice President Al Gore
Climate Change (w172vg029mkl852)
The Al Gore one is now p05c2b9j
The podcast is p05c2b9b
The
Hi M,
> > ^(?:[bp]0|w3)[a-z0-9]{6}$
>
> Thanks for coding help but, the problem is worse (for me...), PID
> w172vg029mkl852 Business Matters - Former US Vice President Al Gore on
> Climate Change (w172vg029mkl852)
More samples would allow the regexp to reject invalid ones, but perhaps
Thanks for coding help but, the problem is worse (for me...),
PID w172vg029mkl852
Business Matters - Former US Vice President Al Gore on Climate Change
(w172vg029mkl852)
So not even 8 characters. Other World Service Series (?) have similar PIDs
now, e.g. Weekend, World Update.
And I thought I
32 matches
Mail list logo