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 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....
-
Posted The Making of Mojocasts to tempire
szabgab, who has quite a few screencasts, asked me to explain how I made the mojocasts.
Creating them has been quite the learning curve. My initial inspiration was
Comment Threads
-
https://www.google.com/accounts/o8/id?id=AItOawlKCInGw3AtPhoc4NBTcIFE1ggZxSjXMXY commented on
Why you don't need File::Slurp…
There's a flaw IMHO, read() may not return the whole file content (and actually it won't with large files), depends on OS buffering. The usual boilerplate includes a while() and buffer concatenation.
AFAIK, sysread() might return partial data. But read() should return whole file (it's there are no problems with memory allocation in Perl). Can you point a place where the behaviour you describe is documented ?
-
jtimothyking1 commented on
A compelling reason for Perl6
Hi, Randal. I just discovered this post, thinking about the same sort of problem, a next-generation web framework, and thinking that Perl 6 might be the right platform on which to build it. I don't see any other posts on the topic, however, since this one. Have you brainstormed any further?
-TimK
-
Mike Doherty commented on
Why you don't need File::Slurp…
Would you benchmark this method of slurping, which is what I typically see?
my $contents = do { local $/; open my $in, '<', $filename; <$in> };
Might be worth adding to https://github.com/melo/perl-benchmarks
-
Damien "dams" Krotkine commented on
Why you don't need File::Slurp…
I like to use this for non production code :)
my $content = do{local(@ARGV,$/)=$filename;<>};
I don't think it's useful to benchmark it :)
-
tepaulsen commented on
One-liner XML / Perl / JSON
Mother of god ... It actually worked .. no errors either ..
About blogs.perl.org
blogs.perl.org is a common blogging platform for the Perl community. Written in Perl with a graphic design donated by Six Apart, Ltd.