There is some hazy areas in Net::DNS. Neither I nor the original author have access to a windows machine, and there are some questions that we need to get answered. See this RT ticket for the background.
Basically, the questions are:
Net::DNS is used behind the scenes in several popular perl applications (SpamAssassin comes to mind). Net::DNS needs to run better on windows, and I can't do that without people's help. So if you know the answers to those questions, or you have the means to find out, please contact me.
I keep a livejournal that I update much more often. Perhaps I should merge this with that. Or maybe get a copy of moveable type going....
I really wish that BBEdit had syntax highlighting for Mason components. I looked into doing it myself, but I quickly became scared of the idea. Maybe I can hire someone that knows how to write those things to make a Mason one.
I had a thought that Time::tm objects should have an overloaded stringify that return something like scalar localtime. I couldn't think of an efficient way to do it, though localtime has the dirty little secret of just doing an indirect sprintf to create that string... hrrrm...
I have a minor pet peeve.
Someone writes a really cool patch with includes a cool features that I want in my module. However, in the notes for the patch you'll get something like this (I'm totally making this up, no real people were harmed in the creation of this rant):
Here's my patch to make Foo transactions non-blocking if you're running under ithreads. I also reorganized the test suite so that it makes more sense.
Linus was right on one point; short, concise patches are best. I didn't realize that till I started being the person that accepted the patches, not the person sending them.
With some pride, I announce that I have released the first mainstream module for perl6.
I had the moment of light the other day. I was playing around with the project and Casey and myself are currently working on, an asynchronous credit card processor in POE. Clouds parted, trumpets sang, and POE suddenly made sense to me. Sessions are like threads, components are like little magic boxes, and the kernel is god of this little world. Good fun.
The processor was pretty simple, we just hacked up Buisness::OnlinePayment::AuthorizeNet to use LWP instead of Net::SSLeay, that way we can pass a HTTP::Request object that Buisness::OnlinePayment::AuthorizeNet generates to POE::Component::Client::HTTP and then send the HTTP::Response object back to Buisness::OnlinePayment::AuthorizeNet. CPAN baby, CPAN! Name another language where you can build an asynchronous creditcard processor in a day!
I also noticed that
The thread on p5p regarding this has stopped with Larry saying that they just avoiding the problem by making
No syntax changes. perl5-porters is ten years down, first swirling vortex on your left.
I know nothing about POE, but I feel I should. Luckily Casey is going to be coming out to my place to work on projects, and he does! There's a slight PITA factor with this, as I found out today that Net::SSLeay and OS X do not play well together. Just have to fiddle with it on the FreeBSD machine.
Ohhh... and we hired Casey too.
timethis 100000: 0 wallclock secs ( 0.75 usr + 0.00 sys = 0.75 CPU) @ 133333.33/s (n=100000)
timethis 100000: 3 wallclock secs ( 2.65 usr + 0.00 sys = 2.65 CPU) @ 37735.85/s (n=100000)
My apartment's air connditioning seems to have died. Hopefully tomorrow it will get fixed, but until then I have found a few fans and gotten some airflow going. Until this gets fixed, I have a feeling that real work will be interupted. Ahh well, I need to catch up on real life, non-geeky stuff anyways.
There will be a new version of Net::DNS out soon, as soon as I rewrite Net::DNS::RR::new_from_string() to not use $'. Matts found a patch to do this a while back, but it's sloooow. Slinging arrays around is not always faster than just using $'. I have a gut feeling that just using a regex to do all the work in one shot is best. Ditch the loop all together.