tempire
- Website: tempi.re/
- About: I do not like the status quo. There is always a better way; the question is whether you care enough to find it.
Recent Actions
-
Commented on Why you don't need File::Slurp…
Indeed, self-documenting. Functional vs imperative style....
-
Commented on Whats wrong with the Perl Community?
Your presumption about other languages is incorrect; the issue is not about chosen language, it's about humans. http://rubydramas.com/...
-
Commented on Names and Numbers, Brand and Identity
It's just Perl to people outside because we're not framing their perception in any other way. MST's idea, which has been presented before, (probably once per year) is a good one. It only requires some solid marketing copy and artwork....
-
Commented on Perl 7 - Final Thoughts
Loving the Perl# idea....
-
Commented on My Prediction
29. Perception is everything....
-
Commented on CSS selector goodness in Mojo::DOM
You can access the attribute via ->attrs: http://mojolicio.us/perldoc/Mojo/DOM#attrs...
-
Commented on Why Perl Needs Screencasts
My usage of "production-quality product", as quirky as that phrase is, refers to the presentation of the Mojocasts as a product (accessibility, ease of consumption, discoverability, etc), not their subject matter....
-
Commented on Why Perl Needs Screencasts
I agree on the screencasts point - but more than just screencasts, a full production-quality product is necessary to win hearts. I'm the author of the Mojocasts; a sponsor is all that's needed to produce more on a consistent basis....
-
Commented on Sexual Harassment?
Harassment is not boolean. It is situational. If Linda is not creeped out by Matt, and either appreciates or does not feel threatened by his comment, then it's fine. If she does, then only direct knowledge of the situation can...
-
Commented on CPAN modules for making HTTP requests
Indeed, that's a great summary Joel. There are also collections (not mentioned @ YAPC) and out-of-band debugging: Collections Navigate though the dom using functional chains: my @elements = $ua->get('mojolicio.us') ->res->dom->find('#mojobar-links > a') ->slice(2..7) ->grep(sub { return 1 if shift->{href} =~...
-
Commented on CPAN modules for making HTTP requests
Regarding the "why" of Mojo::UserAgent in comparison to LWP: http://mojocasts.com/e5 The feature-set speaks for itself....
-
Commented on Would you help a small Perl startup?
I stared at the screen for a while, trying to determine whether this was sufficient reason to break my rule of never using Facebook login. I feel dirty. But it's done....
-
Commented on Wifi Stats for YAPC::NA 2012
Interesting. I opted to not do anything bandwidth intensive during the conference, so as to not interfere with others. Guess I should have downloaded the internet....
-
Commented on YAPC::NA 2012: Mojolicious, swag, and pizzazz
I've never liked the "Yet Another" prefix either. I spoke with quite a few people in Madison that were not part of the event, and found that the self-deprecating humor of the name doesn't transfer well to previously uninterested parties....
-
Posted YAPC::NA 2012: Mojolicious, swag, and pizzazz to tempire
The Intro to Mojolicious talk at YAPC::NA 2012 was a success!
One person came up afterwards and told me it was one of the most cogent talks at the conference. Awesome! I was definitely shooting for cogent. Someone else even menti…
-
Commented on open module under cursor in vim
It seems to me using a function call at all is much too complicated: au FileType perl command! -nargs=1 PerlModuleSource \ :tabnew `perldoc -lm <args>` au FileType perl setlocal iskeyword+=: au FileType perl noremap <leader>P :PerlModuleSource <cword><cr>zR<cr>...
-
Commented on Should Perl have a `chomped` function?
Yes yes yes yes yes yes yes. I hate that I’m forced to write a procedure every time I want a non-destructive, functional chomping. (Which, coincidentally, is always)....
-
Posted Mojolicious Full and Lite apps - understanding the difference to tempire
The mojocasts have thus far used lite apps exclusively to demonstrate basic Mojolicious functionality. This has led some to believe that Mojolicious is a one-file micro-framework; however, that is not the case.
Mojolicious a full-featured framework, s…
-
Posted Mojocast #5: Mojo::UserAgent to tempire
Mojocast Monday brings you a high-level overview of Mojo::UserAgent, the client side of Mojolicious. DOM Walking, CSS selectors, and watching live requests are just a couple of the things you'll see.
If this is you…
-
Posted Mojocast #4: Stash, Flash, and Sessions to tempire
It's Mojocast Monday, kids, which means a brand new Mojocast for your perusing pleasure.
Continuing to demonstrate Mojolicious::Lite, the Mojocasts are moving through Mojolicious basics, so newcomers can get up and running more quickly than ever (And dare I say it, have fun at the same tim…
-
Commented on Marpa v. Perl regexes: some numbers
I would really like to see some Marpa tutorials with some example solutions to some popular parsing problems. The existing POD tutorials make a lot of assumptions that make them difficult to consume if you're not familiar with parsing theory....
-
Commented on Technical debt: when metaphors go wrong
I disagree. Debt is debt - the problem is that a good number of folks don't understand the nature of monetary debt; the lack of understanding is applied to other forms of debt as well. Rewriting is bankruptcy. Normal debt...
-
Commented on Perl Trolls
The problem is that n00bs tend to think the loudest voice is the correct one. Responding to a troll once is fine, so that folks understand that the troll does not represent the community as a whole. You must, however,...
-
Commented on What do we, Perl programmers, want?
@davidslv - if you want a "better" community, you should be that community you want. Make some perlcasts, for example, that rival railscasts. (Here's how: http://bit.ly/qxhaiu) Whatever you think is missing in Perl, fill in that piece. Show all the...
-
Commented on Why do you want new major features in core?
"Likewise few people are using Zefram's awesome keywords API" Link?...
-
Posted Mojocast #3: Authentication, Helpers, and Plugins to tempire
The response for Mojocast #2 was even more overwhelming than the first episode.
How overwhelming?

-
Commented on Perl Programming Certificate
The certificate problem will always be an issue. Good to see Perl included in that list, though....
-
Commented on Allowing anonymous comments
Oh my goodness yes. I've wanted to post on Chromatic's blog several times, but that Moveable Type login is ridiculous. The recover password "feature" is even worse - I have to remember my own recovery word/phrase? Eh. I think I...
-
Commented on A compelling reason for Perl6
Once Rakudo Star supports non-blocking IO, it's likely you'll see a Mojolicious port....
-
Commented on The Making of Mojocasts
Sweet! Pun intended. Use the following address: #1 Glen Drive, Chico, California, USA I've contacted the shipper, and they'll ship to the correct location as necessary....
Comment Threads
-
Leon Timmermans commented on
Why you don't need File::Slurp…
mmap should be faster than sysread -s or read -s, and there exist a portable module for it.
There is, and I wrote it ;-). Was planning to blog about that too at some point. It's close but not exactly the same as slurping.
-
George Greer commented on
Why you don't need File::Slurp…
I use a one-liner slurp at $WORK. I am sooo tired of copy+pasting it into scripts when I start them (and perhaps remembering which is the most recent if I've changed it lately). I would much prefer it be as easy as a module.
-
Nick Patch commented on
Why you don't need File::Slurp…
If I recall, File::Slurp had issues with the PerlIO
:encodinglayer and required manual decoding of the slurped data instead, which is why I have avoided it. Not sure if this is still an issue. -
Leon Timmermans commented on
Why you don't need File::Slurp…
If I recall, File::Slurp had issues with the PerlIO :encoding layer and required manual decoding of the slurped data instead, which is why I have avoided it. Not sure if this is still an issue.
Looking at the code, that's still an issue. I hadn't realized that, but that's a rather serious issue.
It also doesn't quite handle :crlf correctly either. This is a mess :-(
-
Leon Timmermans commented on
Why you don't need File::Slurp…
Functionally it's identical to
read_file(binmode => ':raw'), otherwise it's perfectly portable.Because File::Slurp can be rewritten in XS if speed is the overriding concern (and it will be faster than your 2-lines).
And it would not be faster than what I just posted. It really wouldn't. It's speed limited by the actual IO, that's the whole point.
Because File::Slurp is self-documenting.
All …
About blogs.perl.org
blogs.perl.org is a common blogging platform for the Perl community. Written in Perl and offering the modern features you’ve come to expect in blog platforms, the site is run by Dave Cross and Aaron Crane, with a design donated by Six Apart, Ltd.