March 2001 Archives
Taintedness can also be tested safely with something like "eval { $data, eval 1 }". There's another way in Thomas Wegner's bug report:
http://sourceforge.net/tracker/index.php?func=deta il&aid=231848&group_id=7940&atid=10794 0
where you can substr a scalar to 0 length, then eval "# $data". Regardless, many people use kill, so it is nice to have it there.
Thomas' File::Glob patches, and my patches to the glob tests, were tested on perl-5.6.1-TRIAL3 and MacPerl 5.6.1d2, and it all worked, so I sent it on to p5p.
I am waiting to hear back from VISE on the installer license. I am hoping to do a first preview release in April.
It is very cool; they give free licenses to share/freeware developers (good for one year; I just give them a copy of the installer so they can verify it meets their criteria, which it already did before, since Matthias used it), and then I can make all the installers I want for MacPerl for a year. Then I just renew in another year to make more.
Also very cool is the relatively new web-based installer. I create a little 276k installer app, and then the user downloads it and selects what he wants to install: PPC, 68K, Fat, MPW, whatever. Then the user selects a location to download from (I will put in a bunch of CPAN mirrors from around the world), and then the app downloads what is needed. I tested it tonight and it worked great. Very nice.
I plan on distributing the one tiny web installer, and the full installer with everything in it, so users can choose which to download.
I also need to look at the Updater functionality at some point; it might be cool to have an Updater that can update all of the standard modules (maybe other modules, too?) to the last versions, etc. Mmmmm. That comes later, but I am going to read up on it now so I know if I need to do any preparation beforehand.
my $mode =
(ref $hash->{CALLBACK} eq 'CODE'
? kAEQueueReply
: (exists $hash->{REPLY} # check event setting
? $hash->{REPLY}
: exists $self->{REPLY} # check global setting
? $self->{REPLY}
: 1 # default to wait
)
? kAEWaitReply
: kAENoReply)
| (exists $hash->{MODE}
? $hash->{MODE}
: exists $self->{MODE}
? $self->{MODE}
: (kAECanInteract | kAECanSwitchLayer));
The patches were for File::Path, which I had thought I had done already, and POSIX.xs to take care of the definitions which were moved to macish.h/c for times() and struct tms, so we could build Devel::DProf. All of the extensions are built now.
Even more bugs have been uncovered, unfortunately. :-) Some of them are GUSI issues, some aren't. I've been putting off bugs that are specific to the MacPerl app code, and focusing on the perl core and standard library. Once that is quite stable, then the app will have, at least, a good foundation to work on. When I look at the bugs, it seems like there's a lot to do, but when I remove the app-specific bugs, it doesn't look so bad.
If some of the more serious remaining bugs can be worked out soon, I want to do a binary alpha/preview release. That'd be cool. I want to do a source release this week. Maybe Wednesday.
Ceci Connolly, writer for the Washington Post, asserted this weekend that it is "common sense" that Vice President Cheney should take some time off after his medical procedure last week.
Hm. I thought that in order to prescribe recovery treatment from such a procedure, you had to have an intricate knowledge of human anatomy in general and of the heart and circulatory system in particular; an in-depth understanding of current technologies; some understanding of the various relevant studies and recovery rates of other similar patients and procedures; complete knowledge of the specific patient's situation and medical history. I didn't realize this was something you could just know commonly.
This revelation could have a magnificent impact on the medical industry. No longer will doctors be required for much of their work. No longer will expensive grants need to be given, or bills be paid, for work we deem common sense; we could just get the blokes down at the local pub (the sober ones, I suppose) to give their common opinions, and that should be good enough.
That silly Dennis Hastert, the Speaker of the House, said he would defer to the Vice President's doctors when asked if Cheney was acting appropriately in his recovery. If he doesn't know Cheney should slow down without the help of some sawbones, he must be unfit for office, not even having basic common sense!
I got more extensions built, most notably Devel::DProf, ByteLoader, and B. Errno still hasn't built (I am not sure how to get it built), Devel::DProf needs some work, and B won't build out of the box (just some makefile stuff).
B passes all tests after some portability fixes (except for one test, which relies on $Config{static_extensions} or whatever having the right value, which it currently doesn't). Very cool.
So all in all, a lot done today. Hopefully Matthias can answer a few questions for me, and I will load up some patches (including some tests) tomorrow to send on to p5p.