Re: I have a bikeshed, colour suggestions appreciated

2013-12-04 Thread Simon Cozens
On 04/12/2013 10:53, James Laver wrote: I always wondered why ‘monkey’ was a bright blue. http://monkey.bikeshed.org/ http://stackoverflow.com/questions/8318911/why-does-html-think-chucknorris-is-a-color

I have a bikeshed, colour suggestions appreciated

2013-12-03 Thread Aaron Trevena
So.. some of you might know I quite like bikes.. I now have a proper bikeshed (or at least I will once I've built and attached the doors tonight) - and I was hoping you nice people could give me some helpful suggestions. Thanks in advance, A. -- Aaron J Trevena, BSc Hons http

Re: I have a bikeshed, colour suggestions appreciated

2013-12-03 Thread Will Crawford
There's a helpful site at http://red.bikeshed.org/ ... no, wait, ... http://blue.bikeshed.org/ which might help. On 3 December 2013 14:14, Aaron Trevena aaron.trev...@gmail.com wrote: So.. some of you might know I quite like bikes.. I now have a proper bikeshed (or at least I will once I've

Re: I have a bikeshed, colour suggestions appreciated

2013-12-03 Thread Peter Sergeant
On Tue, Dec 3, 2013 at 2:14 PM, Aaron Trevena aaron.trev...@gmail.comwrote: So.. some of you might know I quite like bikes.. I now have a proper bikeshed (or at least I will once I've built and attached the doors tonight) - and I was hoping you nice people could give me some helpful

Re: I have a bikeshed, colour suggestions appreciated

2013-12-03 Thread Abigail
On Tue, Dec 03, 2013 at 02:14:40PM +, Aaron Trevena wrote: So.. some of you might know I quite like bikes.. I now have a proper bikeshed (or at least I will once I've built and attached the doors tonight) - and I was hoping you nice people could give me some helpful suggestions

Re: I have a bikeshed, colour suggestions appreciated

2013-12-03 Thread David Cantrell
On Tue, Dec 03, 2013 at 02:14:40PM +, Aaron Trevena wrote: So.. some of you might know I quite like bikes.. I now have a proper bikeshed (or at least I will once I've built and attached the doors tonight) - and I was hoping you nice people could give me some helpful suggestions

Re: I have a bikeshed, colour suggestions appreciated

2013-12-03 Thread Roger Bell_West
On Tue, Dec 03, 2013 at 02:14:40PM +, Aaron Trevena wrote: So.. some of you might know I quite like bikes.. I now have a proper bikeshed (or at least I will once I've built and attached the doors tonight) - and I was hoping you nice people could give me some helpful suggestions. The last one

Re: I have a bikeshed, colour suggestions appreciated

2013-12-03 Thread Bob Walker
On Tue, 3 Dec 2013, Aaron Trevena wrote: So.. some of you might know I quite like bikes.. I now have a proper bikeshed (or at least I will once I've built and attached the doors tonight) - and I was hoping you nice people could give me some helpful suggestions. Thanks in advance, my

Re: I have a bikeshed, colour suggestions appreciated

2013-12-03 Thread Kent Fredric
On 4 December 2013 03:30, Will Crawford billcrawford1...@gmail.com wrote: There's a helpful site at http://red.bikeshed.org/ ... no, wait, ... http://blue.bikeshed.org/ which might help. I would just like to convey my disappointment that mauve.bikeshed.org renders as blue. -- Kent

Re: I have a bikeshed, colour suggestions appreciated

2013-12-03 Thread Paul Makepeace
On Tue, Dec 3, 2013 at 3:21 PM, Kent Fredric kentfred...@gmail.com wrote: I would just like to convey my disappointment that mauve.bikeshed.org renders as blue. Wait 'til you see http://cream.bikeshed.org/ I think we should table a meeting to discuss a revised painting review process going

Re: I have a bikeshed, colour suggestions appreciated

2013-12-03 Thread Yitzchak Scott-Thoennes
On Tue, Dec 3, 2013 at 3:48 PM, Paul Makepeace pa...@paulm.com wrote: On Tue, Dec 3, 2013 at 3:21 PM, Kent Fredric kentfred...@gmail.com wrote: I would just like to convey my disappointment that mauve.bikeshed.org renders as blue. Wait 'til you see http://cream.bikeshed.org/ I think we

Re: I have a bikeshed, colour suggestions appreciated

2013-12-03 Thread Kent Fredric
On 4 December 2013 12:48, Paul Makepeace pa...@paulm.com wrote: Wait 'til you see http://cream.bikeshed.org/ I think we should table a meeting to discuss a revised painting review process going forward. What the hell. http://blanc.bikeshed.org/ Why is it mauve? -- Kent

Re: I have a bikeshed, colour suggestions appreciated

2013-12-03 Thread Kent Fredric
On 4 December 2013 13:40, Yitzchak Scott-Thoennes sthoe...@gmail.com wrote: Is it spell correcting the domain names? It should use Ah, I think I cracked it. Its literally translating the domain name directly into the bgcolour= field of a page. And the colours we're providing simply aren't

Re: I have a bikeshed, colour suggestions appreciated

2013-12-03 Thread James Laver
On 4 Dec 2013, at 01:17, Kent Fredric kentfred...@gmail.com wrote: On 4 December 2013 13:40, Yitzchak Scott-Thoennes sthoe...@gmail.com wrote: Is it spell correcting the domain names? It should use And the colours we're providing simply aren't in our browsers dictionary. So ... its

Videos at Perl conferences? When did that start then?! When d'ya think we'll have 3D....?

2012-12-29 Thread Ian Norton
Hi All, Had a chat on #london.pm with Schmooster, Osfameron and tomboh on 23rd of December regarding videos at Perl conferences and wondered if the hivemind might have any further insight. Most conferences video and put them online after the event, some have even managed to stream live

Re: cpan you have to see

2012-12-15 Thread Abigail
On Wed, Dec 12, 2012 at 09:45:25PM +, DAVID HODGKINSON wrote: Would hurling a PBP test at the whole of CPAN to get a metric be of any benefit? That would violate the spirit of the PBP, which clearly states that its rules shall not be taken as gospel, but as starting points to make up

Re: cpan you have to see

2012-12-15 Thread Abigail
success, and the rest to specify why there is a failure. And then the shell makes its boolean operators do the right thing. It be utter madness to have programs exit '0' on failure, and given them 254 different exit values to indicate in which way they were succesful. Abigail

Re: cpan you have to see

2012-12-15 Thread DAVID HODGKINSON
On 15 Dec 2012, at 08:40, Abigail abig...@abigail.be wrote: On Wed, Dec 12, 2012 at 09:45:25PM +, DAVID HODGKINSON wrote: Would hurling a PBP test at the whole of CPAN to get a metric be of any benefit? That would violate the spirit of the PBP, which clearly states that its

Re: cpan you have to see

2012-12-15 Thread Daniel de Oliveira Mantovani
It should be fake, is impossible someone be so idiot. On 12 December 2012 05:29, Uri Guttman u...@stemsystems.com wrote: i can't say much about this but you have to look at the code here. https://metacpan.org/author/PERLOOK/ in particular the boolean stuff is amazing and the print stuff

Re: cpan you have to see

2012-12-15 Thread Daniel de Oliveira Mantovani
be so idiot. On 12 December 2012 05:29, Uri Guttman u...@stemsystems.com wrote: i can't say much about this but you have to look at the code here. https://metacpan.org/author/PERLOOK/ in particular the boolean stuff is amazing and the print stuff isn't far behind. uri -- If you’ve never

Re: cpan you have to see

2012-12-14 Thread David Cantrell
On Wed, Dec 12, 2012 at 05:23:23PM +, Edmund von der Burg wrote: Each language has its own idioms and ways to do things. In shell scripting the while true ... done loop is one of them. In Perl the equivalent would be while (1) { } Although true is 0 in the shell ... $ true;echo $?

Re: cpan you have to see

2012-12-14 Thread David Cantrell
On Wed, Dec 12, 2012 at 09:45:25PM +, DAVID HODGKINSON wrote: Would hurling a PBP test at the whole of CPAN to get a metric be of any benefit? It would certainly be interesting. -- David Cantrell | even more awesome than a panda-fur coat NANOG makes me want to unplug everything and

Re: cpan you have to see

2012-12-14 Thread Paul Makepeace
On Fri, Dec 14, 2012 at 4:23 PM, David Cantrell da...@cantrell.org.uk wrote: $ true echo it was true This makes sense. Think of true as thing that succeeded rather than OMG it's 0 so must be false!!1! Ruby treats everything as true unless it's nil or false (so yes, 0 and '' are true). Bit

Re: cpan you have to see

2012-12-13 Thread Mallory van Achterberg
Ug, what I get for sending a mail while still browsing it :P -Mallory

Re: cpan you have to see

2012-12-13 Thread Andrew Beverley
some of the more obvious ones here, though there are several other things you may want to look at. I see several other people have volunteered help as well. [...] Wow, thanks for that Gareth. A very well written and comprehensive email. Andy

Re: cpan you have to see

2012-12-13 Thread Aaron Trevena
On 12 December 2012 21:45, DAVID HODGKINSON daveh...@gmail.com wrote: Do we still have automated kwalitee on CPAN? There is CPANTS (http://cpants.charsbar.org/index.html) which checks Kwalitee Would hurling a PBP test at the whole of CPAN to get a metric be of any benefit? As already

Re: cpan you have to see

2012-12-12 Thread Anthony Lucas
: London.pm Perl M\[ou\]ngers Subject: cpan you have to see Sent: 12 Dec 2012 07:29 i can't say much about this but you have to look at the code here. https://metacpan.org/author/PERLOOK/ in particular the boolean stuff is amazing and the print stuff isn't far behind. uri

Re: cpan you have to see

2012-12-12 Thread Zbigniew Łukasiak
-- From: Uri Guttman Sender: london.pm-boun...@london.pm.org To: london.pm@london.pm.org ReplyTo: London.pm Perl M\[ou\]ngers Subject: cpan you have to see Sent: 12 Dec 2012 07:29 i can't say much about this but you have to look at the code here. https://metacpan.org/author/PERLOOK

Re: cpan you have to see

2012-12-12 Thread Ian Docherty
Wow, I have learned so much from reading that code! (nothing about Perl however). On 12 December 2012 07:29, Uri Guttman u...@stemsystems.com wrote: i can't say much about this but you have to look at the code here. https://metacpan.org/author/**PERLOOK/https://metacpan.org/author/PERLOOK

Re: cpan you have to see

2012-12-12 Thread Peter Sergeant
On Wed, Dec 12, 2012 at 8:54 AM, Anthony Lucas anthonyjlu...@gmail.comwrote: Flexible::Output::Printer To be honest, it's not too different in intent from several other CPAN modules - aliasing features to be more like other languages... I am pretty curious about the return values, though:

Re: cpan you have to see

2012-12-12 Thread Anthony Lucas
I wouldn't really say mean… The examples themselves trigger the module's own ridiculous failure conditions. I have a hard time believing these aren't joke modules. The interesting conversation here is about CPAN moderation and where people stand on it. I know it tends to be extremely liberal

Re: cpan you have to see

2012-12-12 Thread Avishalom Shalit
conditions. I have a hard time believing these aren't joke modules. The interesting conversation here is about CPAN moderation and where people stand on it. I know it tends to be extremely liberal, but when it comes to harmful modules (if someone comes from another language, doesn't read the source

Re: cpan you have to see

2012-12-12 Thread Spiros Denaxas
wrote: I wouldn't really say mean… The examples themselves trigger the module's own ridiculous failure conditions. I have a hard time believing these aren't joke modules. The interesting conversation here is about CPAN moderation and where people stand on it. I know it tends

Re: cpan you have to see

2012-12-12 Thread Avishalom Shalit
#how_can_i_find_the_creation_date_of_a_file is mean. :-) -- vish On 12 December 2012 09:35, Anthony Lucas anthonyjlu...@gmail.com wrote: I wouldn't really say mean… The examples themselves trigger the module's own ridiculous failure conditions. I have a hard time believing these aren't joke

Re: cpan you have to see

2012-12-12 Thread Mark Overmeer
* Avishalom Shalit (avisha...@gmail.com) [121212 10:02]: this http://perl.plover.com/IAQ/IAQlist.html#how_can_i_find_the_creation_date_of_a_file is mean. :-) hah funny! In so many ways broken and so dangerous! I think the problem of the document is that is survives on internet, while it

Re: cpan you have to see

2012-12-12 Thread Richard Foley
Perl M\[ou\]ngers Subject: cpan you have to see Sent: 12 Dec 2012 07:29 i can't say much about this but you have to look at the code here. https://metacpan.org/author/PERLOOK/ in particular the boolean stuff is amazing and the print stuff isn't far behind. uri

Re: cpan you have to see

2012-12-12 Thread Mark Overmeer
* Avishalom Shalit (avisha...@gmail.com) [121212 11:01]: How do I sort an array in reverse? @sorted = sort reverse @array; I do understand the jokes, because I have sufficient knowledge of Perl. Horrible things get used. Now guess: is the following a joke or in production code

Re: cpan you have to see

2012-12-12 Thread Pedro Figueiredo
On 12 Dec 2012, at 12:12, Leon Brocard a...@astray.com wrote: On Wed, Dec 12, 2012 at 02:29:24AM -0500, Uri Guttman wrote: i can't say much about this but you have to look at the code here. https://metacpan.org/author/PERLOOK/ I congratulate Alexej on joining the CPAN authors club

Re: cpan you have to see

2012-12-12 Thread Schmoo
On 12 December 2012 12:19, Pedro Figueiredo m...@pedrofigueiredo.org wrote: On 12 Dec 2012, at 12:12, Leon Brocard a...@astray.com wrote: On Wed, Dec 12, 2012 at 02:29:24AM -0500, Uri Guttman wrote: i can't say much about this but you have to look at the code here. https://metacpan.org

Re: cpan you have to see

2012-12-12 Thread Anthony Lucas
not to be amused. I think everyone saw the direction this thread could have gone. I just hoped that we were able to honestly converse about it, instead of shying away from the conversation. That's also the reason I'm assuming Uri posted it. Surely there should be interesting conversations about

Re: cpan you have to see

2012-12-12 Thread Richard Foley
. Instead of making fun of him on a mailing list why not engage with him and help him improve? No one is really making fun of him. I just don't see the point in pretending not to be amused. I think everyone saw the direction this thread could have gone. I just hoped that we were able

Re: cpan you have to see

2012-12-12 Thread Joseph Werner
On Wed, Dec 12, 2012 at 9:17 AM, Joel Bernstein j...@fysh.org wrote: I'm more concerned about who keeps the monkeys in their cages from flinging their faeces around. Custodiendam simia cacas! -- Best Regards, [Joseph] Christian Werner Sr C 360.920.7183 H 757.304.0502 Txt 757.304.0502

Re: cpan you have to see

2012-12-12 Thread Uri Guttman
On 12/12/2012 07:12 AM, Leon Brocard wrote: On Wed, Dec 12, 2012 at 02:29:24AM -0500, Uri Guttman wrote: i can't say much about this but you have to look at the code here. https://metacpan.org/author/PERLOOK/ I congratulate Alexej on joining the CPAN authors club. Instead of making fun

Re: cpan you have to see

2012-12-12 Thread James Laver
stream is writing code and yours is recruitment, so it's expected I'm more likely to have to clean up messes. /j

cpan you have to see

2012-12-12 Thread Alexej Magura
Okay, allow me to clarify what the TrueFalse module that I wrote is trying to emulate. It's trying to emulate the 'true' and 'false' user commands available under Linux. Haven't you ever done something like this in Unix Shell? while true; do ls /var/log/; sleep 5s; clear; done The statment

Re: cpan you have to see

2012-12-12 Thread Alexej Magura
uploading useless modules` instead.* Is not a valid bug ticket, and it is not remotely funny. Imagine how all of you would feel if you had just signed up for Cpan because you thought it would be neat to be helpful and contribute something to the perl community only to have the entire community

Re: cpan you have to see

2012-12-12 Thread Edmund von der Burg
On 12 December 2012 17:05, Alexej Magura perl...@cpan.org wrote: Okay, allow me to clarify what the TrueFalse module that I wrote is trying to emulate. It's trying to emulate the 'true' and 'false' user commands available under Linux. Haven't you ever done something like this in Unix Shell?

Re: cpan you have to see

2012-12-12 Thread ian docherty
and routines in 'B' to make it look more like 'A'. Instead I should have embraced language 'B', written my code in the 'approved' style rather than a bastardised version trying to emulate another. It turned out it was neither cool, useful or sensible. It stopped me embracing the new language, my code

Re: cpan you have to see

2012-12-12 Thread Anthony Lucas
-To: London.pm Perl M\[ou\]ngers london.pm@london.pm.org Subject: Re: cpan you have to see As for my rt replies, what did you expect I was gonna say: 'Oh, my bad I wrote the worst module in the world and you're the king of all; here let me just remove it real quick.'? Think again. *When I call `true

Re: cpan you have to see

2012-12-12 Thread Guinevere Nell
I disagree - using $TRUE is fine! Perl was my first language and it makes perfect sense to me. More importantly: it seems the Perl community has lost it's warmth and communal, welcoming, nature - maybe since it's a falling empire, people have gotten rude and boorish? I don't know, but I am

Re: cpan you have to see

2012-12-12 Thread Mark Fowler
appreciate all the effort that people put into their Perl modules on the CPAN. It, as you have just pointed out, can be a thankless task. So thank you. Mark.

Re: cpan you have to see

2012-12-12 Thread Gareth Harper
use them, but I can see what you're trying to accomplish). Style/function/speed wise there certainly are a few areas which you may want to address. I'll explain some of the more obvious ones here, though there are several other things you may want to look at. I see several other people have

Re: cpan you have to see

2012-12-12 Thread Gareth Harper
On 12 December 2012 17:57, Joseph Werner telco...@gmail.com wrote: On Wed, Dec 12, 2012 at 12:45 PM, Gareth Harper spansh+lon...@gmail.com wrote: PBP and I disagree with you on this one, Gareth. When a sub does a return 0; to a list context, that is interpreted as true. A bare return; is

Re: cpan you have to see

2012-12-12 Thread Schmoo
On 12 December 2012 15:57, Uri Guttman u...@stemsystems.com wrote: On 12/12/2012 07:12 AM, Leon Brocard wrote: On Wed, Dec 12, 2012 at 02:29:24AM -0500, Uri Guttman wrote: i can't say much about this but you have to look at the code here. https://metacpan.org/author/PERLOOK/ I

Re: cpan you have to see

2012-12-12 Thread Yitzchak Scott-Thoennes
() { ... } But not many people seem to remember that. :) Programming Perl has this to say: Speakers of a natural language are allowed to have differing skill levels, to speak different subsets of the language, to learn as they go, and, generally, to put the language to good use before they know the whole

Re: cpan you have to see

2012-12-12 Thread Abigail
On Wed, Dec 12, 2012 at 10:57:39AM -0500, Uri Guttman wrote: On 12/12/2012 07:12 AM, Leon Brocard wrote: On Wed, Dec 12, 2012 at 02:29:24AM -0500, Uri Guttman wrote: i can't say much about this but you have to look at the code here. https://metacpan.org/author/PERLOOK/ I congratulate Alexej

Re: cpan you have to see

2012-12-12 Thread Peter Sergeant
On Wed, Dec 12, 2012 at 6:14 PM, Gareth Harper spansh+lon...@gmail.comwrote: On 12 December 2012 17:57, Joseph Werner telco...@gmail.com wrote: On Wed, Dec 12, 2012 at 12:45 PM, Gareth Harper spansh+lon...@gmail.com wrote: PBP and I disagree with you on this one, Gareth. When a sub does a

Re: cpan you have to see

2012-12-12 Thread Hakim Cassimally
Hi Alex, I'm sorry that you've had a bad initial experience of CPAN and now of this mailing list. On 12 December 2012 17:21, Alexej Magura perl...@cpan.org wrote: As for my rt replies, what did you expect I was gonna say: 'Oh, my bad I wrote the worst module in the world and you're the king of

Re: cpan you have to see

2012-12-12 Thread Lyle
the cabal should be really be coding Perl. Anyone new to Perl should be an instant expert, or at the very least, bend over and hand the lube to the nearest cabeller. Then later you should have some threads on why more new people aren't coming to Perl and this community, and how you can't really

Re: cpan you have to see

2012-12-12 Thread Tom Hukins
experienced, this is how you do things. Lyle, you posted a rude, unconstructive message. Your rudeness contrasts with the polite, helpful replies that London.pm members have written to Alexej. If you can't behave reasonably on this list, please take your delusional conspiracy theories elsewhere

Re: cpan you have to see

2012-12-12 Thread Uri Guttman
of others. Then again, my primary income stream is writing code and yours is recruitment, so it's expected I'm more likely to have to clean up messes. you still have strange views of my career. i have worked with some of the ugliest code and team(mis)work in existence. i have recently been doing

boolean return (was Re: cpan you have to see)

2012-12-12 Thread Uri Guttman
On 12/12/2012 12:57 PM, Joseph Werner wrote: On Wed, Dec 12, 2012 at 12:45 PM, Gareth Harper spansh+lon...@gmail.com wrote: PBP and I disagree with you on this one, Gareth. When a sub does a return 0; to a list context, that is interpreted as true. A bare return; is best practice. and i

Re: cpan you have to see

2012-12-12 Thread Tom Hukins
is writing code and yours is recruitment, so it's expected I'm more likely to have to clean up messes. you still have strange views of my career. i have worked with some of the ugliest code and team(mis)work in existence. I asked you both not to bicker on the list last week, yet you're at it again

Re: cpan you have to see

2012-12-12 Thread Aaron Crane
Peter Sergeant p...@clueball.com wrote: the idea that you should always use a bare *return()* is far from universally accepted - you can bite yourself just as easily in reverse by using bare return, and getting an empty list where you expected a false or undefined value: I agree. The talk I

Re: boolean return (was Re: cpan you have to see)

2012-12-12 Thread Abigail
= (scalar foo (1), scalar foo (2)); just in case someone at sometime wants to call this in list context and then have an empty list. That's a price I'm not willing to pay. Foreach function, I will make a pragmatic choice, in some cases a plain return is the way to go, and sometime it isn't

Re: boolean return (was Re: cpan you have to see)

2012-12-12 Thread Peter Sergeant
On Wed, Dec 12, 2012 at 9:17 PM, Uri Guttman u...@stemsystems.com wrote: then the caller can't ever use the sub in a list context expecting an empty list ... so? True or false are reasonable things to expect a subroutine to return. A list is a reasonable thing to expect a subroutine to

Re: boolean return (was Re: cpan you have to see)

2012-12-12 Thread DAVID HODGKINSON
, it always gets a scalar. a plain return works in all contexts and lets the caller force a scalar when needed. Coming from a strongly-typed background (C, C++), this bisexuality of returns seems error prone to me. My gut instinct is to have two subs, if necessary with one _as_scalar and one

Re: cpan you have to see

2012-12-12 Thread Peter Sergeant
On Wed, Dec 12, 2012 at 9:31 PM, Aaron Crane p...@aaroncrane.co.uk wrote: I agree. The talk I did at LPW and YAPC::EU this year covers this and some related issues Thanks Aaron. Someone told me about your talk, and it got me thinking about it in-depth a little while ago. Shame I missed it

Re: cpan you have to see

2012-12-12 Thread DAVID HODGKINSON
On 12 Dec 2012, at 18:35, Abigail abig...@abigail.be wrote: On Wed, Dec 12, 2012 at 10:57:39AM -0500, Uri Guttman wrote: On 12/12/2012 07:12 AM, Leon Brocard wrote: On Wed, Dec 12, 2012 at 02:29:24AM -0500, Uri Guttman wrote: i can't say much about this but you have to look at the code here

Re: boolean return (was Re: cpan you have to see)

2012-12-12 Thread Mark Overmeer
* Abigail (abig...@abigail.be) [121212 21:38]: The flip side of this dogma is, you end up with code like: sub foo { ... return unless $result; return $result; } sub foo { ... $result || (); # $result // (); }

Re: cpan you have to see

2012-12-12 Thread Peter Sergeant
On Wednesday, December 12, 2012, DAVID HODGKINSON wrote: Would hurling a PBP test at the whole of CPAN to get a metric be of any benefit? Probably not. perl critic, which sounds like what you're thinking about, is a useful tool for catching silly mistakes you might have made, but if you know

Re: cpan you have to see

2012-12-12 Thread Mark Keating
On 12/12/2012 21:42, Peter Sergeant wrote: On Wed, Dec 12, 2012 at 9:31 PM, Aaron Crane p...@aaroncrane.co.uk wrote: I agree. The talk I did at LPW and YAPC::EU this year covers this and some related issues Thanks Aaron. Someone told me about your talk, and it got me thinking about it

cpan you have to see

2012-12-11 Thread Uri Guttman
i can't say much about this but you have to look at the code here. https://metacpan.org/author/PERLOOK/ in particular the boolean stuff is amazing and the print stuff isn't far behind. uri

[OT] figuring out which files have F_CLOEXEC

2009-03-27 Thread Nicholas Clark
Sorry for mentioning the four letter word, but I have a problem. Without resorting to XS, Inline, or similar skulduggery, is there a way to do the following: 1: Work out which file descriptors have F_CLOEXEC set 2: Close those that do [without doing an exec :-)] My problem seems

Re: [OT] figuring out which files have F_CLOEXEC

2009-03-27 Thread Peter Corlett
On Fri, Mar 27, 2009 at 04:30:54PM +, Nicholas Clark wrote: [...] 1: Can't call fcntl to enquire about F_CLOEXEC without having a file handle. 2: Whilst I can create a Perl file handle from a number, to get a handle open on that numeric file descriptor, I 3: now have a file handle open

Re: [OT] figuring out which files have F_CLOEXEC

2009-03-27 Thread Aaron Crane
Peter Corlett writes: open() with does dup(2) under the hood. Without testing, I'd have assumed that when the new filehandle is closed, it won't close the duped file handle. I can't recall whether the close-on-exec flag is passed through on duping though. Unfortunately, dup(2) (and dup2(2

Re: Have at it

2009-01-28 Thread Abigail
there explain *good* OO practice in Perl. Where do we learn about that? Are there some OO tutorials planned at the next YAPC? Every time I write a new CPAN module, I first have to decide on how I'm going to do OO this time. Most of my modules do it in a different way, using hashes, home-made inside

Re: Have at it

2009-01-28 Thread Ovid
- Original Message From: Philippe Bruhat (BooK) philippe.bru...@free.fr Where do we learn about that? Are there some OO tutorials planned at the next YAPC? Every time I write a new CPAN module, I first have to decide on how I'm going to do OO this time. Rather than focusing

Re: Have at it

2009-01-28 Thread Jonathan Stowe
2009/1/28 Simon Cozens si...@simon-cozens.org: Ovid wrote: Rather than focusing on advanced tools and modules, I'd focus on advanced techniques. I've had this debate a hundred times over since sitting down to write APP2ed: these days Perl programming is much more about using tools well than

Re: Have at it

2009-01-28 Thread Simon Cozens
Ovid wrote: Rather than focusing on advanced tools and modules, I'd focus on advanced techniques. I've had this debate a hundred times over since sitting down to write APP2ed: these days Perl programming is much more about using tools well than using the language particularly creatively. The

Re: Have at it

2009-01-28 Thread Ovid
- Original Message From: Simon Cozens si...@simon-cozens.org I've had this debate a hundred times over since sitting down to write APP2ed: these days Perl programming is much more about using tools well than using the language particularly creatively. The techniques you need to

Re: Have at it

2009-01-28 Thread Simon Wilcox
Ovid wrote: - Original Message From: Philippe Bruhat (BooK) philippe.bru...@free.fr Where do we learn about that? Are there some OO tutorials planned at the next YAPC? Every time I write a new CPAN module, I first have to decide on how I'm going to do OO this time. Rather than

Re: Have at it

2009-01-28 Thread Abigail
On Wed, Jan 28, 2009 at 10:46:07AM +, Jonathan Stowe wrote: 2009/1/28 Simon Cozens si...@simon-cozens.org: Ovid wrote: Rather than focusing on advanced tools and modules, I'd focus on advanced techniques. I've had this debate a hundred times over since sitting down to write

Re: Have at it

2009-01-28 Thread Ovid
- Original Message From: Abigail abig...@abigail.be That is to say that it is increasingly becoming less about programming at all and more about scripting or configuring whatever the application framework du jour might be. Yeah, all we need now is a GUI where we can just use

Re: Have at it

2009-01-28 Thread Dave Hodgkinson
On 28 Jan 2009, at 12:23, Simon Wilcox wrote: Ovid wrote: - Original Message From: Philippe Bruhat (BooK) philippe.bru...@free.fr Where do we learn about that? Are there some OO tutorials planned at the next YAPC? Every time I write a new CPAN module, I first have to decide

Re: Have at it

2009-01-27 Thread Kieren Diment
(and mouse? ferret ? I lose track..) Neither Badger or Mouse have a 'proper' MOP. They both allow you to do _some_ level of meta-programming, but neither is a meta-object implementation. Cheers t0m

Re: Have at it

2009-01-27 Thread Piers Cawley
On Mon, Jan 26, 2009 at 5:26 PM, Aaron Trevena aaron.trev...@gmail.com wrote: 2009/1/26 Denny london...@metamathics.org: Personally, I assumed he was referring to the strong 'use Moose' push which EPO seems to be on - would it be safe to say that Moose is a modern approach to OO? I've not

Re: Have at it

2009-01-27 Thread Kieren Diment
On 27/01/2009, at 11:12 PM, Piers Cawley wrote: On Mon, Jan 26, 2009 at 5:26 PM, Aaron Trevena aaron.trev...@gmail.com wrote: 2009/1/26 Denny london...@metamathics.org: Personally, I assumed he was referring to the strong 'use Moose' push which EPO seems to be on - would it be safe to say

Re: Have at it

2009-01-27 Thread Aaron Trevena
2009/1/27 Piers Cawley pdcawley-london.0dd...@bofh.org.uk: MOP is modern? The Art of The MetaObject Protocol was published in 1991. This is obviously some new usage of the word 'modern' with which I was hitherto unfamiliar. It's modern in perl terms, obviously, but it's not exactly new. It's

Re: Have at it

2009-01-27 Thread Paul Makepeace
On Tue, Jan 27, 2009 at 12:39 PM, Aaron Trevena aaron.trev...@gmail.com wrote: 2009/1/27 Piers Cawley pdcawley-london.0dd...@bofh.org.uk: MOP is modern? The Art of The MetaObject Protocol was published in 1991. This is obviously some new usage of the word 'modern' with which I was hitherto

Re: Have at it

2009-01-27 Thread Piers Cawley
On Tue, Jan 27, 2009 at 12:56 PM, Paul Makepeace pa...@paulm.com wrote: On Tue, Jan 27, 2009 at 12:39 PM, Aaron Trevena aaron.trev...@gmail.com wrote: 2009/1/27 Piers Cawley pdcawley-london.0dd...@bofh.org.uk: MOP is modern? The Art of The MetaObject Protocol was published in 1991. This is

Re: Have at it

2009-01-27 Thread Ovid
- Original Message From: Piers Cawley pdcawley-london.0dd185@ A depressing amount of nominally OO code is just procedural code wrapped in classes though Which is terribly depressing, but in the case of Java, there's a tiny defense: sometimes you want to write procedural code but

Re: Have at it

2009-01-27 Thread breno
On Mon, Jan 26, 2009 at 8:03 PM, David Cantrell da...@cantrell.org.uk wrote: On Mon, Jan 26, 2009 at 08:24:14PM +, L?on Brocard wrote: Here, have some numbers: http://cpants.perl.org/dist/used_by/Badger http://cpants.perl.org/dist/used_by/Moose Have some more numbers: http

Re: Have at it

2009-01-27 Thread Andy Wardley
parts of the forest, but they love nothing better than getting together to go foraging for nuts and berries, play a nice game of tennis or have a bit of a sing-song. Metaphorically speaking, of course. A [1] http://mail.tt2.org/pipermail/templates/2008-September/010433.html [2] http://mail.tt2.org

Re: Have at it

2009-01-27 Thread Philippe Bruhat (BooK)
OO tutorials planned at the next YAPC? Every time I write a new CPAN module, I first have to decide on how I'm going to do OO this time. Most of my modules do it in a different way, using hashes, home-made inside-out object, using AUTOLOAD for accessors or sticking closure in the symbol table, etc

Re: Have at it

2009-01-27 Thread Richard Huxton
Ovid wrote: And with that caveat, I've got to say that for most Perl programmers, Moose is lovely because it makes declaring a simple class with a constructor and getter/setters easy. Just about everything else if fluff for most. I'm most Perl programmers, and I must admit other than a few

Re: Have at it

2009-01-27 Thread Dominic Thoreau
2009/1/27 breno br...@rio.pm.org: I don't know about Moose, but Badger at least has a catchy (annoying) tune :-) A Moose once bit my sister ... -- No train here, but still: The sign says: Ready to Leave Normal service, yes?

Re: Have at it

2009-01-27 Thread Martin A. Brooks
Dominic Thoreau wrote: A Moose once bit my sister ... How does she smell?

Re: Have at it

2009-01-26 Thread Matt Sergeant
when Christmas (the delivery date for Perl 6) will arrive Doesn't jive with the goals listed on: http://www.enlightenedperl.org/ which appear to have nothing whatsoever to do with modernizing perl 5, but merely about promoting the values that perl 5 currently provides, and simplifying

Re: Have at it

2009-01-26 Thread Denny
developments in programming languages, given that it's unknown when Christmas (the delivery date for Perl 6) will arrive Doesn't jive with the goals listed on: http://www.enlightenedperl.org/ which appear to have nothing whatsoever to do with modernizing perl 5, but merely about promoting

  1   2   >