YAPC:NA Day 3

YAPC::NA’s talks for Day 3 begin at 9am, with the plenary starting at 8:40am. Yesterday was a big success, but now it’s sort of sad that we’re already to day 3. Oh well, there’s always next year! Here’s to hoping that we go out with a bang in day 3.

Don’t forget that you can watch live on the web for free:

[From the YAPC::NA Blog.]

Talks accepted!

We finally fixed a bug in our voting app, so we were able to vote the talk proposals. We have accepted lots of talks (thanks for the great proposals). Even those talks that have not been accepted yet are not rejected at all. They will be reconsidered in the next round of voting...

So today and in the next few days, you'll see a lot of blog posts introducing the accepted talks.

Robert Blackwell said I should try Arduino

So I'm in Madison, Wisconsin for YAPC::NA 2012. Yesterday, I was supposed to meet up at one of the hackathons. I went to the Pyle building and searched the rooms and even accidentally went into brian's workshop (sorry brian!).

When I got to the hackathon room, it was pretty quiet but active. I had met Robert Blackwell two days prior at a dinner and had a lovely conversation and fun time with him. Robert had brought a ton of hardware (11 hours drive!!) and set up an entire room just so we could hack on hardware. Wait. Hardware?

At this point, I should probably mention I'm not a hardware guy. I can hook up the computer, change memory sticks, and I even replaced a CPU once - but that's pretty much it. Hardware is totally out of my league. I really don't understand it, nor was I ever really interested in it.

So I'm there and I just wanna sit and work on pointless boring stuff when Robert says "hey, how about trying Arduino?"

Further Reading For The YAPC::NA 2012 Keynote

This is a placeholder post to house links to further reading from my YAPC::NA 2012 keynote.

YAPC::NA Day 2

Day 2 of YAPC::NA 2012 talks begin today at 9am sharp. The banquet was a huge success last night, and yesterday’s talks had the audience buzzing. Can’t wait to see what today brings. Hopefully you’re not all hung over from The Linode Beer Garden and the Perl Foundation party last night.

Don’t forget that you can watch live on the web for free:

[From the YAPC::NA Blog.]

Webfusion sponsors YAPC::Europe 2012

Please welcome Webfusion as a silver sponsor of this years' YAPC::Europe.

webfusion_blog.png

Established in 1997, Webfusion is one of the UK's leading web hosting groups. We offer cost-effective, feature-rich hosting packages for everyone from businesses, web developers, designers and hobbyists. With 24/7 technical support, robust Firewall server protection and a state-of-the-art UK based data centre with Webfusion your website is always in safe hands.
www.webfusion.co.uk

Announcing Marpa::R2

What is Marpa?

I am very pleased to announce Marpa::R2 -- "Release 2" of the Marpa parser. For those unfamiliar, the Marpa algorithm is something new in parsing -- it parses anything you can write in BNF and, if your grammar is in one of the classes currently in practical use, it parses it in linear time. Marpa::R2's parse engine is written in optimized C, so that Marpa::R2's speed is competitive with parsers of far less power.

An important feature of the Marpa algorithm is "situational awareness". Marpa knows at every point in the parse exactly how far it has progressed in each rule, and can share this information with the application. The advantages of this go beyond error detection -- Marpa's situational awareness is accurate, graceful and fast enough to be used as a parsing technique in its own right -- Ruby Slippers parsing.

Announcing Marpa::R2

How many of your dists are in Debian?

Here's a small script which I whipped up just now. I thought of trying out MetaCPAN::API, but after about 5 minutes of trying to find a way to list an author's distributions (and failed), I resorted to a quick hack using Mojo::DOM.

Here's a sample output:

Vegan Food Options in Madison

From guest contributor Dave Rolsky:

There are a ridiculous number of vegan options in Madison at YAPC::NA 2012. Some of the highlights:

  • Dandelion is an all vegetarian and mostly vegan food cart on the Library Mall
  • Kabul, Buraka, Himal Chuli, Med Cafe, Dobra Tea, and Ian’s Pizza all have vegan options, and are a 5-10 minute walk from the conference
  • Further out there are multiple places with vegan breakfast like tofu scrambles, hashes, and biscuits & gravy at Monty’s Blue Plate Diner and Willalby’s Cafe
  • The Chocolate Shoppe is an ice cream shop offering at least 6 options (4 sorbets and two soy milk-based flavors). Paciugo has multiple vegan gelato options.
  • Vegan desserts are available at The Green Owl, Monty’s, Mother Fools coffee house, Dandelion, Willy Street Co-op, and probably others I haven’t found yet.


I suspect I won’t even scratch the surface before I leave on Saturday, but I’ll do my best.

[From the YAPC::NA Blog.]

Vegan / Vegetarian Food

Thanks to tinita! She started a Wiki page where you can find a list of restaurants that offer vegan / vegetarian food:

http://act.yapc.eu/ye2012/wiki?node=Food

HTML-Tree 5: Now with weakref support

HTML-Tree has long been a source of memory leaks for programmers who weren’t very careful with it. Because it uses circular references, Perl’s reference-counting garbage collector can’t clean it up if you forget to call $tree->delete when you’re done. Perl added weak references (a.k.a. “weakrefs”) to resolve this problem, but HTML-Tree has never taken advantage of them. Until now.

HTML-Tree 5.00 (just released to CPAN) uses weak references by default. This means that when a tree goes out of scope, it gets deleted whether you called $tree->delete or not. This should eliminate memory leaks caused by HTML-Tree.

Unfortunately, it can also break code that was working. Even though that code probably leaked memory, that’s not a big problem with a short-running script. The one real-world example I’ve found so far is pQuery’s dom.t. In pQuery 0.08, it does:

open module under cursor in vim

Inspired by http://www.slideshare.net/c9s/perlhacksonvim I wrote (well ... copied for the larger part) a script to open the Module currently under the cursor in vim.

Typing \fm will lookup the first Module found in available Perl library paths (plus current working directoy . '/lib')

I did search for some time and read a bit about ctags and pltags but ended up confused. add this to your vimrc


""""""""""""""""""""""""""""""""""""
" find module in perl INC and edit "
""""""""""""""""""""""""""""""""""""
function! GetCursorModuleName()
    let cw = substitute( expand(""), '.\{-}\(\(\w\+\)\(::\w\+\)*\).*$', '\1', '' )
    return cw
endfunction

function! TranslateModuleName(n)
    return substitute( a:n, '::', '/', 'g' ) . '.pm'
endfunction

function! GetPerlLibPaths()
    let out = system('perl -e ''print join "\n", @INC''')
    let paths = split( out, "\n" )
    return paths
endfunction

function! FindModuleFileInPaths()
    let paths = [ 'lib' ] + GetPerlLibPaths()
    let fname = TranslateModuleName( GetCursorModuleName() )

    for p in paths
        let f = p . '/' . fname
        if filereadable(f)
            exec "edit " . f
            return 1
        endif
    endfor

    echo "File not found: " . fname
endfunction

nmap fm :call FindModuleFileInPaths()

CAVEATS


  • returns only the first found module
  • "local" modules not found unless current working directory has the lib/ dir as child

Chadbourne Hall

Apparently the receipt that dorm dwellers receive from the University doesn’t tell them they need to go to Chadbourne Hall. So I wanted to announce it far and wide in case anybody else gets hung up by that. 

Chadbourne Hall

420 N. Park Street
Madison, WI 53706-1489
Chadbourne Desk: (608) 262-2688

[From the YAPC::NA Blog.]

urbia.com sponsors YAPC::Europe 2012

We welcome urbia.com AG as a Silver Sponsor of this years' YAPC::Europe.

UrbiaBlog.png

urbia.com AG (a company of Gruner + Jahr AG & Co KG) operates the web community www.urbia.de targeting young families with topics like pregnancy, birth, baby and parenting at its core. www.urbia.de attracts 6,5 million visits and 2,3 million unique users per month which makes us the market leader in the parenting segment in Germany.

Perl has been proudly powering our platform since 1998. In the meantime we migrated our code base to Modern Perl making use of the Catalyst MVC framework, DBIx::Class, Template::Toolkit, Moose and tons of other wonderful CPAN modules without which we would have never been so successful. To thank the excellent community and show our continuing support, we decided to sponsor this year's YAPC::EU in Frankfurt. If you're interested in joining our team in Cologne, go to http://www.urbia.de/allgemein/jobs to check out our open positions and/or contact us at jobs@urbia.com.

New CPAN Testers Sponsor: Webfusion

It is with great pleasure that we officially announce a new sponsor for the CPAN Testers Project. Webfusion have provided us with Managed Hosting, for us to use with some of the supporting websites. As such, we will be using it for the Analytics and Matrix websites, as well as a secondary failover site for the Static Reports site.

Webfusion are the latest corporate sponsor to support CPAN Testers. If your company would like to support CPAN Testers, please get in touch. You can also donate to the project via the CPAN Testers Fund, managed by the Enlightened Perl Organisation.

For further details, please see the CPAN Testers Blog.

Helping those who allow themselves to be helped

I cannot decide if I was too harsh. I try not to let the usual drone of noobs on SO to get to me. My problem was that the OP is being both ignorant AND demanding. Read the post and let me know, I'm back and forth between being enraged and contrite.

Stop Making The Web Harder Than It Is; Real-world REST, HATEOAS, and Hypermedia APIs with Magpie

Kip Hampton will give a talk at YAPC::NA 2012 described as:

Developing for the Web shouldn’t be hard. Yet, many smart developers make it more difficult than it needs to be by choosing tools and frameworks that do not fully take advantage of all that HTTP has to offer. This talk demonstrates how projects at all levels— from the simplest brochureware site to the most advanced Hypermedia APIs—can be made simpler by getting back to the basics of HTTP. We introduce Tamarou’s internal application development and publishing framework, Magpie (scheduled for public release to coincide with YAPC::NA) and step through a series of real-world examples to show how its resource-oriented approach to development keeps simple things simple and makes hard things easier. 

Topics include:

* Why MVC is the wrong way to think about Web development.

* Why most frameworks that claim to be RESTful aren’t (and how that makes life harder)

* An brief introduction to Resource-oriented development.

* A series of production-tested Magpie recipes covering the gamut of Web-dev from simple templated sites through advanced Hypermedia applications.

[From the YAPC::NA Blog.]

Net-A-Porter.com sponsors YAPC::Europe 2012

We welcome Net-A-Porter.com as a Gold Sponsor of this years' YAPC::Europe. Without the help of all our sponsors, the event would be almost impossible... Thanks!

net_a_porter.jpg

CPAN Testers Summary - May 2012 - Black Moon

May proved quite an interesting month. Firstly, I got several confused emails relating to the Status page on The CPAN Testers Reports site. Secondly, we ran out of slots in the namespace for Amazon. And then thirdly a very involved discussion on versions on the mailing list.

Perl sighting #2: aboutus.org

$ whois bonchon.com

Whois Server Version 2.0

Domain names in the .com and .net domains can now be registered
with many different competing registrars. Go to http://www.internic.net
for detailed information.

...
=-=-=-=
Visit AboutUs.org for more information about bonchon.com
AboutUs: bonchon.com


Domain name: bonchon.com

Registrant Contact:
   BonChon
   Jinduk Seh ()
   
   Fax: 
   213 W 35th Street
   HASH(0x1030ba64)
   New York, New York 10001
   US

Administrative Contact:
   BonChon
   Jinduk Seh (bonchon@bonchon.com)
   +1.2122739797
   Fax: +1.2122739774
   213 W 35th Street
   HASH(0x1030ba64)
   New York, New York 10001
   US

Technical Contact:
   BonChon
   Jinduk Seh (bonchon@bonchon.com)
   +1.2122739797
   Fax: +1.2122739774
   213 W 35th Street
   HASH(0x1030ba64)
   New York, New York 10001
   US

Status: Locked

Name Servers:
   ns1.ipage.com
   ns2.ipage.com

...

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.