Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

revdiablo (1502)

revdiablo
  (email not shown publicly)
+ -

  Comment: Sounds familiar (Score 1) on 2009.11.23 14:34

by revdiablo on 2009.11.23 14:34 (#71219)
Attached to: Hash Objects and AutoInflation

I asked a similar question a while back. The answers there may have what you're looking for.

Read More 4 comments
Comments: 4
+ -

  Comment: A short response to a long post (Score 1) on 2009.11.13 18:37

by revdiablo on 2009.11.13 18:37 (#71130)
Attached to: My own worst enemy

I'll stop reading your posts if you can figure out how to remove them from the use.perl RSS feed.

Glad to hear you got the kernel to compile. My comment wasn't intended to be completely serious, but apparently I was correct on accident. =)

Read More 1 comments
Comments: 1
+ -

  Comment: Exaggerate much? (Score 1) on 2009.11.10 18:32

I guess rants are meant to be hyperbolic, but what the hell? You might want to ask yourself whether your wounds are self-inflicted. Frankly, it sounds to me like you're the cause of your own problems.

Read More 6 comments
Comments: 6
+ -

  Comment: NoScript makes it so obvious (Score 1) on 2009.09.29 8:52

by revdiablo on 2009.09.29 8:52 (#70687)
Attached to: Javascript

Isn't browsing with NoScript interesting? It makes it dead obvious which sites are Javascript abusers, even if they're not in the malicious sense.

I usually enable scripts only when needed, and almost always temporarily. The worst is when enabling all scripts on a page and reloading requires enabling EVEN MORE, because the scripts loaded scripts from other domains.

Sigh.

Read More 2 comments
Comments: 2
+ -

  Comment: Re:Badger::Class also makes this easy (Score 1) on 2009.09.16 16:06

by revdiablo on 2009.09.16 16:06 (#70604)
Attached to: Anonymous objects as easily as hashrefs?

I guess some sanity checks on the attribute names would be a good idea...

Read More 8 comments
Comments: 8
+ -

  Comment: Re:Badger::Class also makes this easy (Score 1) on 2009.09.16 16:04

by revdiablo on 2009.09.16 16:04 (#70603)
Attached to: Anonymous objects as easily as hashrefs?

The code sample you posted is almost there. You just need to create an anonymous package name instead

Ha! Who woulda' thunk? I wrote that example code off-the-cuff in an attempt to better explain what I wanted. But that's a simple enough change that I'm now tempted to start using it as-is. Any other issues you can think might be lurking in the code?

Read More 8 comments
Comments: 8
+ -

  Journal: Anonymous objects as easily as hashrefs? on 2009.09.15 17:44

Journal by revdiablo on 2009.09.15 17:44
User Journal

Is there anything buried in the sea of Moose--or any object system on CPAN--that allows creating anonymous objects about as easily as creating anonymous hashrefs? I would be much happier using tiny objects to store structured data in my code, but the hashref syntax is just so darn convenient.

Here's an example of what I'd love to be able to do:

while (my $line = readline()) {
    my ($ding, $dong) = parse($line);

Read More 8 comments
Comments: 8
+ -

  Comment: A pet peeve of mine too (Score 1) on 2009.09.15 13:23

by revdiablo on 2009.09.15 13:23 (#70588)
Attached to: My Least Favorite Word: "Should"

The latest example I can remember, a coworker stated baldly, "queries like this should run in under 1 second."

I probably should have bit my tongue, but I couldn't help replying with, "sure, and I want a pony, but that's probably not going to happen." I think he still harbors some resentment for that...

Read More 7 comments
Comments: 7
+ -

  Comment: Commenting vs posting response (Score 1) on 2009.09.03 15:18

by revdiablo on 2009.09.03 15:18 (#70475)
Attached to: The lack of comments in Iron Man

There is some tension between commenting and posting a response. Since Iron Man rewards posting to your own blog, it probably incentivizes response posts.

Read More 6 comments
Comments: 6
+ -

  Comment: Lack of precision is the problem (Score 1) on 2009.09.01 12:05

by revdiablo on 2009.09.01 12:05 (#70414)
Attached to: What's the deal with relative times?

I agree, this gets annoying. But I don't think it's the relative times in and of themselves. It's the enormous loss of precision that always seems to accompany this design pattern.

If it said "23 minutes ago" and "55 minutes ago", I would be fine with it.

Read More 10 comments
Comments: 10
+ -

  Comment: Re:What about forward compatability? (Score 1) on 2009.08.13 16:27

by revdiablo on 2009.08.13 16:27 (#70041)
Attached to: Building a "useful Perl 6"

So, riddle me this. What would an adult prefer: shoehorning all software projects into a 6 stage development model, or looking at the dynamics of a community and trying to find a development model that works well and produces the best result? Your stages are mighty fine for a lot of situations, but I'd hate to be as inflexible to think it's the only way to succeed.

Read More 26 comments
Comments: 26
+ -

  Comment: Curse those network effects (Score 1) on 2009.08.10 11:24

by revdiablo on 2009.08.10 11:24 (#69952)
Attached to: Trying Out this Git Thing

It saddens me a little to see Git become The One True DVCS, at least for Perl folks. I've been using and enjoying Mercurial for years. Especially coming from Subversion, it's a delight to use. It gives you pretty nearly the exact same commands as Subversion, except the addition of 'push' and 'pull'.

Ah, well. Good luck with Git!

Read More 1 comments
Comments: 1
+ -

  Comment: Re:Don't just market the language (Score 1) on 2009.07.29 9:22

I thought so, but who then? It seems there's no single person or even group who has a leadership role, which is why there's schizophrenia. I guess that's not necessarily a bad thing, but it's not exactly comforting when a bunch of the players appear to be at odds about which direction to take the project.

C'est la vie. No matter what happens, at least the code won't go up in a poof of smoke. =)

Read More 36 comments
Comments: 36
+ -

  Comment: Re:Don't just market the language (Score 1) on 2009.07.28 18:05

More and more as I read through these discussions and debates, it makes me wonder how they can be resolved. I doubt all the players involved are going to start agreeing. Most projects have pretty clear leadership to resolve these kind of problems. Who's in that position for Perl?

If it's Larry, is he going to engage these issues or is it off his radar entirely?

Read More 36 comments
Comments: 36
+ -

  Comment: Different interpretation? (Score 1) on 2009.07.07 11:49

by revdiablo on 2009.07.07 11:49 (#69345)
Attached to: There is a word for that.....

Maybe this is a matter of interpretation, but chromatic's posts appear to me as an attempt to get his thoughts out there, and provide some constructive criticism. I haven't seen them as starting fights or intentionally trying to make anybody mad.

Let's try to give everyone the benefit of the doubt, and cut out the accusations of trolling and FUD. It's certainly not helping anything.

Read More 19 comments
Comments: 19