QR Droid is one of the better QR Code readers for Android. Most importantly, it handles vCards. Since we’re using a lot of QR Codes at YAPC::NA 2012, do yourself a favor and get QR Droid, if you’re an Android user.
One thing I've learned over the last few months is that nothing happens quickly or easily in a company of over 125.000 people.
My rewrite effort has been bogged down in security certifications and other time-consuming stuff, so I've been unable to sit down and do much actual code. In stead, I've been reading Modern Perl again, and trying to wrap my head around PCI security standards compliance, and reading a whole stack of blogs and books about Perl (thanks, guys!).
I can't say I understood anything beyond the basics. "Stop people that don't need access to credit cards from getting at them." Where I'm from, we don't need a 9001 page document to say that, but I guess they want to cover every base.
I'm just wondering how much these endless phone conferences, meetings and delays have cost.
Not just of my time, but several people that make twice as much as me, and a couple that make at least five times as much.
Today, I was looking for a simple module that fetches my DB schema. Played around with DBIx::Class::Schema::Loader and Rose::DB::Object::Metadata, with no success.
Have already given up, but finally decided to make a Github search for DBIx, which provided exactly what I needed. Just curious why it was so hard to find this module?
Consider music improvisation. Should a musician stop and restart because one tune was a bit off ?
(I am not talking about reproducing mozart here but improvisation i.e, coming up with new tunes, maybe even a mozart remix)
I think not.
Programming languages without type systems don't complain much. This makes it easier to program despite the obvious errors. This makes it easy to _improvise_ algorithms.
Most improvised music can sound pretty _dirty_. This is why, after an improvisation session , what follows is an editing session which adds *structure* and *corrections* to make it sound _clean_
- unit tests --> music idea
- programming without a type system --> improvisation
- functional testing / benchmarks --> editing the music
Interestingly classical music with all of its "harmony" formulae and chord sequences analogically maps to type system and design patterns
This is a QR Code. We’re going to use QR Codes a lot at YAPC::NA 2012, so make sure you have a QR Code reader on your phone before you come to YAPC.
The exhibitors at the job fair will be encouraged to use them for each of their job listings. We’ll be using them to share links to important information such as maps that can help you find your way around the conference. And we probably will even put them on each of your badges so that you can easily share your contact information with someone else just by scanning their code.
I'm looking for references to Sharon Hopkins's Perl poetry in The Economist and The Guardian for my update of the Camel Book. The Economist website is down right now, and my search in The Guardian turned up nothing.
Does anyone have these references? She didn't list them in "Camel and Needles".
There is this sample program on the MSDN, which outlines how to use a mapped view of a file for shared memory IPC, and by using the PAGE_WRITECOPY flag instead of FILE_MAP_ALL_ACCESS, we should get COW semantics for the shared area.
The part for implementing fork() would seem to just be:
(and that is the hard part) Determine the range of data to be shared with the child
Gabor Szabo has generously decided to create a YAPC::NA Google Plus page and cross-post all of the YAPC::NA 2012 blog content to it as it comes out. Hopefully at some point there will be an easy way to just automate this, but for the time being this is the only way to get the posts out to Google Plus users.
First off, documentation is important. I love good documentation, and I try documenting my code as good as I can. But I do that because I want, I can, and I have the time. It is not because I have to.
As you might have noticed there’s been some talk about whether
people should be free to release Open Source software the way they want
to, or if we should try to bully them into compliance. Since the original author has now started to drop ad-hominems and directly attacking people who disagree with him, I will follow Gabor’s example and not link there. I’m also not gonna go into the topic of “People should be allowed to bully others. If you don’t like it, go away.” That one is left as an exercise to the reader.
So I've been looking at the Dart language specification recently published by Google (draft version 0.01). So far, I'm not really enthusiastic. Here's my reading notes.
Class-based OO and Interfaces
At first glance Dart code looks like Java (and nothing's wrong with that, I'm not going to criticize a language based on my idiomatic preferences). The syntax is very similar, with the dot to invoke methods, the curly braces for blocks, the required semicolon to terminate statements, the
main()
function, the general feeling of verbosity. The familiar classes and interfaces are here. There is only single-inheritance, abstract interfaces being provided instead of full multiple inheritance to solve the diamond inheritance problem.
At little insight goes a long way. I often say that I get my best ideas when I'm in the shower. I relax and my sometimes my brain makes some pretty neat connections.
One example of this is CPAN::Mini::Webserver, which allows you to search and browse a MiniCPAN. One insight was that the 02packages file in CPAN mirrors was full of enough information to be useful to search. The other was that browsing through distributions didn't actually require the distributions to be unpacked - they could be unpacked on the fly. That lead to Archive::Peek.
I'm making a map of the CPAN Ecosystem for Programming Perl:
It's just something I threw together so the O'Reilly people could make a nice looking diagram. I'm a bit fuzzy on some of the services pulling either from the CPAN master, a mirror, or something else.
I left a lot out; I only have a page so large and I don't cover other things in the CPAN chapter.
Hash-Abbrev-0.01 Text::Abbrev with aliases
List-Gen-0.96 provides functions for generating lists
Lvalue-0.21 add lvalue getters and setters to existing objects
Perl6-Feeds-0.20 implements perl6 feed operators in perl5 via source filtering
Test-Magic-0.21 terse tests with useful error feedback
Whatever-0.21 a perl6ish whatever-star for perl5
XUL-Gui-0.63 render cross platform gui applications with firefox from perl
He seems to be seriously into functional programming, Haskell and perl6 alike, which seems to be totally weird.
The perl test suite helped me quite a bit. Any irritating syntax doubts directly got clarified. And not just the perl syntax, but each module comes with a test suite which is awesome since I can see the api in action.
That's how I got to learn baby perl.
I bought the camel book. After that I grew more confidence in my scripts and began thinking out aloud in perl.
It’s the first Tuesday of the month, so that means it’s YAPC::NA Planning Meeting time. If you’re in the Madison area, or don’t mind a drive there is a YAPC planning meeting tonight at the Essen Haus at 7pm. As always the food and beer are sponsored by Plain Black, and the room is sponsored by Essen Haus.
We’ve got a lot to discuss so the meeting will probably last until around 9pm, but you’re free to come and go as you please.
"Opa is a programming language and a standard library comprising a database management system, a web server, a server-side framework, a client-side framework, a distribution middleware, a security audit tool, but without the complexity of deployment, administration, or impedance mismatch stemming from the use of many different technologies."
Since I can't really share the book with you, I figured I could share some of the tools I'm using to write it. They're a pile of hacks as I tend to flounder outside of Perl, but they work and I figured geeks would get some useful stuff out of them.
Perl usually has a pretty and wellthought API and tools to maintain it.
But of cause there is also a hall of shame in some old dirty corners,
nobody ever uses.
No.1 B.xs: make_warnings_object
In order to provide Perl read-access to lexical warnings some fake SV is passed to B, created internally by make_warnings_object().
A warning is basically a short integer between 1-6, and lexical warnings are integers > 6 checked by bitmasks e.g. see warnings.pm.
The C API is SV* until 5.8.9 and since 5.10 STRLEN*, which is basically a int*.