knows
what to do with it, nor knows how to warn you of the fact.
--
David Cantrell
Beekeeping is like being a lion tamer, but
with smaller lions, and more of them.
-- arp
/bin/perl Undefined symbols:
_Perl_safefree
_Perl_safemalloc
_Perl_sv_2pv
_Perl_sv_catpvn
_perl_get_sv
Did you, perchance, compile and install your own perl from sources without
diddling the Makefile and what have you?
--
David Cantrell
Beekeeping is like being a lion tamer
1117 CCCAAAGACA C T CACAGT 5
1 1 A C TGTTCTTTCA 4
1394 0 AGCAATAAAC G T 3
--
David Cantrell
package system-perl580-5.8.0-1
which is odd, when you consider:
510$ which perl
/usr/local/bin/perl
511$ perl -v
This is perl, v5.8.0 built for darwin
--
David Cantrell
Beekeeping is like being a lion tamer, but
with smaller lions, and more of them.
-- arp
until Activestate port Komodo.
--
David Cantrell
even know what the correct terminology
is
--
David Cantrell
up Perl interpreters, tho...
If you fork() you avoid both that overhead and the overhead of compiling
your code to bytecode. And while you can't nice a process that you are
forking off, you could do something like system(renice $niceness -p $$)
in the new process.
--
David Cantrell
On Wednesday, July 16, 2003 11:58 am -0700 Rich Morin [EMAIL PROTECTED] wrote:
At 7:26 AM +0100 7/16/03, David Cantrell wrote:
If you fork() you avoid both that overhead and the overhead of
compiling your code to bytecode. And while you can't nice a process
that you are forking off, you could do
On Wednesday, July 16, 2003 1:15 pm -0700 Rich Morin [EMAIL PROTECTED] wrote:
At 8:33 PM +0100 7/16/03, David Cantrell wrote:
As far as the program is concerned, it's a complete copy. But yes,
most modern virtual memory implementations will, I believe, do copy
on write. I haven't actually tested
to somehow tell consed to run in an Xwindows
environment if the Xwindows server is running.
Set the DISPLAY environment variable to something appropriate.
--
David Cantrell | Degenerate | http://www.cantrell.org.uk/david
Never attribute to malice that which can be explained by stupidity
Ari Kahn wrote:
David Cantrell [EMAIL PROTECTED] wrote:
Set the DISPLAY environment variable to something appropriate.
How do I figure out what is an appropriate setting for DISPLAY?
DISPLAY=:0 is almost always the right incantation. You do, of course,
need to be running a local X server
Inquisitor David Cantrell | http://www.cantrell.org.uk/david
Soylent green is purple! Soylent green is purple!
index(), rindex() and
substr().
--
David Cantrell | Degenerate | http://www.cantrell.org.uk/david
If you have received this email in error, please add some nutmeg
and egg whites, whisk, and place in a warm oven for 40 minutes.
) user attempting to verify that I am a person, and a
spammer trying to verify that my address really exists and is read.
The policy on the mailing lists I run is that anyone moronic enough to
send such challenges in response to mailing list postings gets
unsubscribed.
--
David Cantrell | Degenerate
On Fri, Jan 23, 2004 at 01:44:58PM +, David Cantrell wrote:
I just received this:
I am an automated email sentry designed to protect against unwanted email.
You recently sent an email titled 'Re: tricky parsing question' to 'macosx'.
...
Amusingly, this message also triggered the broken
say which one to use cos
that's a religious issue :-)
--
Lord Protector David Cantrell | http://www.cantrell.org.uk/david
Repent through spending
.
The *only* reason that I am now in the process of kicking all the other
users off the box and moving my own stuff to a hosted machine is because
it's cheaper to buy bandwidth for my content that way than to get fatter
DSL.
--
Lord Protector David Cantrell | http://www.cantrell.org.uk/david
On Thu, May 13, 2004 at 07:22:38PM -0500, Ken Youens-Clark wrote:
The File::Find module can be a little cryptic, so you might be
interested to look at Randal Schwartz's File::Finder module ...
Or Richard Clamp's File::Find::Rule.
--
David Cantrell | Degenerate | http://www.cantrell.org.uk
would have got some rather more useful error messages!
O'Reilly are good at putting errata on their web site, so you really
should report this to them. I just checked and it doesn't appear that
this one has been reported yet.
--
David Cantrell | Official London Perl Mongers Bad Influence
Warning: Cannot install libwww-perl, don't know what it is.
libwww-perl is, IMO, badly named and badly packaged. It's the same as
Bundle::LWP.
--
David Cantrell | Reality Engineer, Ministry of Information
All praise the Sun God
For He is a Fun God
Ra Ra Ra!
blades.
[aside: Apple guys - just copy the interface from VB 3]
--
David Cantrell | http://www.cantrell.org.uk/david
May your blessings always outweigh your blotches!
-- Dianne van Dulken,
in alt.2eggs...
On Tue, Nov 02, 2004 at 04:25:12AM -0500, Paul G. Hackett wrote:
Quoting David Cantrell [EMAIL PROTECTED]:
The one about (C|C++|Objectionable C) and (Cocoa|Carbon|Coelocanth)
might help. It's on my bookshelf, but I've not used it much
you couldn't be a *little* more specific about that book
first in your path.
--
David Cantrell | http://www.cantrell.org.uk/david
Pressure was growing last night for the global war on terror to be
broadened to take in a wide range of other 'rogue emotions' including
horror, shock and a general feeling of bewilderment about the state of
the world
On Wed, Nov 03, 2004 at 11:50:07AM -0500, Sherm Pendley wrote:
On Nov 3, 2004, at 6:42 AM, David Cantrell wrote:
I do *not* advise removing the perl that comes with OS X.
Neither did I. There's a big difference between removing perl and
changing which perl is the default.
I suggested
or not, but I'd use Pacifist
http://www.charlessoft.com to extract it from the install media.
I'd ask someone on here with exactly the right version of OS X to email
me a copy.
--
David Cantrell | Benevolent Dictator Of The World
Norton Wipe Info uses hexadecimal values to wipe files
of 'single' and double quotes in the
original post - not worth buying.
--
David Cantrell | Official London Perl Mongers Bad Influence
Taking over the world, one zombie cyborg kitten at a time
set you probably intend is Windows-1252
No he doesn't, he wants iso-8859-15
--
David Cantrell | Reality Engineer, Ministry of Information
WARNING! People in front of screen are stupider than they appear
-- Tanuki the Raccoon-dog, in the Monastery
John Delacour wrote:
At 12:33 pm + 18/2/05, David Cantrell wrote:
First of all iso-8859-1 does not contain the Euro sign. The
character set you probably intend is Windows-1252
No he doesn't, he wants iso-8859-15
I doubt it very much
If he says he wants ISO 8859 1 and he says he wants
[EMAIL PROTECTED] wrote:
I will be out of the office starting 06/04/2005 and will not return until
06/11/2005.
I wonder if this guy is always stupid enough to send auto-replies to
mailing lists, or if we've been singled out for special treatment.
--
David Cantrell | http
Lola Lee wrote:
David Cantrell wrote:
John Delacour wrote:
Getting CPAN to behave is also a black art.
I wonder what you're doing wrong, then.
I'm not the only one. There's a couple modules that I haven't been able
to get to compile lately, such as WebService::GoogleHack, and I don't
know
own perl build and leave
Apple's own perl well alone.
--
David Cantrell | Hero of the Information Age
I remember when computers were frustrating because they did
exactly what you told them to. That seems kinda quaint now.
-- JD Baldwin, in the Monastery
Solaris it really does kill
all. That is, it sends your chosen signal to all processes. Not good.
So don't get in to the habit of using it.
--
David Cantrell | Benevolent Dictator Of The World
Eye have a spelling chequer / It came with my pea sea
It planely marques four my revue / Miss Steaks eye
just a couple of weeks
ago on one of the many lists I subscribe to. But I can't remember which
list, or who by.
--
David Cantrell | Nth greatest programmer in the world
When one has bathed in Christ there is no need to bathe a second time
-- St. Jerome, on why washing is a vile pagan
of insanity out of one of my modules
that is on the CPAN. Thankfully, I never documented that they could be
called as functions, and so I don't feel that I shuold care if their
removal breaks anything :-)
--
David Cantrell | Nth greatest programmer in the world
One person can change the world, but most
about in the guts of that module and extract the code I need.
--
David Cantrell | Hero of the Information Age
fdisk format reinstall, doo-dah, doo-dah;
fdisk format reinstall, it's the Windows way
like ...
system('open', '/Applications/Acrobat.app');
then you'll need to:
wait around until Acrobat appears in the process table;
wait around until that PID disappears;
Check out Mac::Processes on the CPAN.
--
David Cantrell | random organic glop and a metric fuckton of electricity
in
parallel with your program, then at the moment system() returns you do
*not* know that it has safely grabbed hold of the file. You don't even
know that it has when you see Acrobat appear in the process table.
--
David Cantrell | http://www.cantrell.org.uk/david
Eye have a spelling chequer
rename it.
It's just a symlink to /usr/bin/lwp-request. You don't need it. Just
use 'lwp-request -m HEAD' instead, if you need to do an HTTP HEAD
request in a shell script.
Presumably you can create a HEAD alias in your shell and, the shell
being case-sensitive, avoid the problem.
--
David
be written somewhat better.
--
David Cantrell | Enforcer, South London Linguistic Massive
Are you feeling bored? depressed? slowed down? Evil Scientists may
be manipulating the speed of light in your vicinity. Buy our patented
instructional video to find out how, and maybe YOU can stop THEM
to understand?
Run the CPAN shell as root as all will be well.
--
David Cantrell | Benevolent Dictator Of The World
On the bright side, if sendmail is tied up routing spam and pointless
uknot posts, it's not waving its arse around saying root me!
-- Peter Corlett, in uknot
admit) that that will
break some of Apple's stuff, or that your nice shiny new 5.8.8 might get
downgraded by Software Update at some point.
b) use macports (aka darwinports) to install 5.8.8 in /opt
Do that - or build your own and put it in /usr/local or similar.
--
David Cantrell | top google
On Thu, Sep 28, 2006 at 12:00:34AM +0900, Nobumi Iyanaga wrote:
This is a newbie question: how can I determine if a specific module
is installed on a client machine?
if(eval use Whatever::Module) {
do this;
} else {
do that;
}
--
David Cantrell | Reality Engineer, Ministry
essential ?
Given that the whole point of myspace is to be a ghetto for all the
least tasteful websites in the world - it absolutely is essential.
Without music (and preferably badly MIDIed music at that) his account
will be revoked.
--
David Cantrell | A machine for turning tea into grumpiness
and then removing it before I get a chance to read
it, you'll now take an action without the user knowing about it but on
the assumption that he does, *and* you've eaten an arbitrary amount of
what I typed, which I'll have to type again.
Needless to say, this is a Very Bad Idea.
--
David Cantrell | Nth
this isn't an issue if you're only ever working on OS X, but
needlessly restricting your code to particular versions of perl is a bad
habit to get in to, because you *will* get bitten by it if you share
your code with other people.
--
David Cantrell | top google result for internet beard fetish club
That Worked On A Laptop and not because it was Mac.
Too many of us still sneer at anything non-Unix.
--
David Cantrell | Enforcer, South London Linguistic Massive
I apologize if I offended you personally,
I intended to do it professionally.
-- Steve Champeon, on the nanog list
-worthy than helping disabled people.
--
David Cantrell | Hero of the Information Age
More people are driven insane through religious hysteria than
by drinking alcohol.-- W C Fields
in
perl!
In both cases:
If I swap the lines, everything runs smoothly.
Same here. I've CCed p5p on this mail.
--
David Cantrell | A machine for turning tea into grumpiness
There's a hole in my bucket, dear Liza, dear Liza.
WHAT MAKES YOU SAY THERE IS A HOLE IN YOUR BUCKET?
a symlink to it in the $PATH.
--
David Cantrell | top google result for topless karaoke murders
You know you're getting old when you fancy the
teenager's parent and ignore the teenager
-- Paul M in uknot
On Sat, Oct 13, 2007 at 08:51:52PM +0200, [EMAIL PROTECTED] wrote:
(5.10 is rumored to be frozen too, but don't hold your breath. :^) )
It isn't. Raphael was still applying patches earlier today.
--
David Cantrell | Reality Engineer, Ministry of Information
Is there any simple way that people can think of to detect which major
version of OS X my perl code is running on?
ie whether it's 10.0, 10.1 etc, I don't care about the difference
between 10.3.3 and 10.3.4.
--
David Cantrell | Hero of the Information Age
I caught myself pulling grey hairs
On Sun, Oct 14, 2007 at 10:45:30AM -0700, Edward Moy wrote:
% perl -e 'chomp($vers = `sw_vers -productVersion`); print $vers\n'
That will get you either 10.x or 10.x.y. You just need to strip off
the .y if it is there.
Perfect, thanks!
--
David Cantrell | Nth greatest programmer
channel).
This makes perfect sense.
Is it possible to add this seperate channel to Software Update?
--
header FROM_DAVID_CANTRELLFrom =~ /david.cantrell/i
describe FROM_DAVID_CANTRELLMessage is from David Cantrell
scoreFROM_DAVID_CANTRELL15.72 # This figure from experimentation
and the empty string for false.
In numeric context that's the same as returning 1 and 0 because:
'' == 0
--
David Cantrell | Hero of the Information Age
When a man is tired of London, he is tired of life
-- Samuel Johnson
Doug McNutt wrote:
At 15:29 +0100 10/16/07, David Cantrell wrote:
The one I'm most looking forward to is perl being relocatable. Current
versions of perl have the values for @INC hard-coded into the binary at
compile-time.
You can add to @INC in perl 5 by defining an environment variable
macshaggy wrote:
I can't wait for Leopard, but I'm going to have to since I can't
afford to spend the money on it next week.
I can wait for it, because I always like to let other people test an OS
before I use it :-)
--
David Cantrell | http://www.cantrell.org.uk/david
You can't judge
, that
will hopefully provide a template others can use to bundle other
executables and libraries in a CPAN-friendly manner.
Why choose pkg-config? Cos there's a module that depends on it.
--
David Cantrell | Enforcer, South London Linguistic Massive
Computer Science is about lofty design goals and careful
exists, and
/sw/share/locale/nl/glibc.mo is present. However,
LANG=nl ls /xx
is still in English. Don't know why.
This seems rather odd.
Anyone know what's going on?
--
David Cantrell | Cake Smuggler Extraordinaire
Repent through spending
on Solaris (on a Sparc box)
and NetBSD on Alpha.
I use Parallels because VMware for Mac didn't exist at the time.
I wish that Parallels could run OS X as a 'guest' OS. That Apple won't
allow virtualisation is bloody annoying.
--
David Cantrell | Minister for Arbitrary Justice
You are so
the
worst, coming in after doing it by hand with paper and pencil and
stabbing yourself repeatedly in the crotch.
--
David Cantrell | Minister for Arbitrary Justice
On Wed, Jan 09, 2008 at 10:51:03PM -0800, John Baldwin wrote:
perl 5.9 looks like it has some nice features anyway.
5.10 is out now. Unfortunately it was just a bit too late to make it
into Leopard.
--
David Cantrell | Nth greatest programmer in the world
Eye have a spelling chequer
module that claims to
do the job on OS X. But the tests don't run properly on OS X.
So *maybe* Mac::Clipboard isn't necessary.
--
David Cantrell | London Perl Mongers Deputy Chief Heretic
There are many different types of sausages. The best are
from the north of England. The wurst
On Sun, Sep 07, 2008 at 06:23:13PM -0400, Vic Norton wrote:
As far as I can tell Perl on a Mac pays absolutely no attention the
environmental variable PERL5LIB.
I'm afraid that's not the case:
cowshed-door:~ david$ /usr/bin/perl -e '$,=\n;print @INC'
/sw/lib/perl5
/sw/lib/perl5/darwin
On Tue, Sep 09, 2008 at 02:07:58PM +0100, David Cantrell wrote:
cowshed-door:~ david$ /usr/bin/perl -e '$,=\n;print @INC'
/sw/lib/perl5
/sw/lib/perl5/darwin
/System/Library/Perl/5.8.6/darwin-thread-multi-2level
/System/Library/Perl/5.8.6
/Library/Perl/5.8.6/darwin-thread-multi-2level
first, just like you normally put your own private binaries
directory at the front of your $PATH.
--
David Cantrell | Cake Smuggler Extraordinaire
You know you're getting old when you fancy the
teenager's parent and ignore the teenager
-- Paul M in uknot
On Thu, Mar 05, 2009 at 01:17:38PM -0600, Bill Stephenson wrote:
Okay, but now I'm curious. What does ord mean?
(or do)
perldoc -f ord
--
David Cantrell | Nth greatest programmer in the world
What profiteth a man, if he win a flame war, yet lose his cool?
--
David Cantrell | Nth greatest programmer in the world
Lesbian bigots try to put finger in linguistic dyke:
http://news.bbc.co.uk/1/hi/world/europe/7376919.stm
platforms, use the File::Homedir module.
--
David Cantrell | A machine for turning tea into grumpiness
fdisk format reinstall, doo-dah, doo-dah;
fdisk format reinstall, it's the Windows way
Switch
At least according to Module::CoreList.
--
David Cantrell | even more awesome than a panda-fur coat
Vegetarian: n: a person who, due to malnutrition caused by
poor lifestyle choices, is eight times more likely to
catch TB than a normal person
, then you can expect data
structures to use more memory, up to twice as much in the worst case.
--
David Cantrell | Nth greatest programmer in the world
Hail Caesar! Those about to vi ^[ you!
to troubleshoot this sort of problem, other than
digging through your code?
There are some modules for helping to find memory leaks. I forget their
names, but search for leak on search.cpan.org.
--
David Cantrell | top google result for topless karaoke murders
Arbeit macht Alkoholiker
that may be made to your
startup files elsewhere at a later date.
--
David Cantrell | Reality Engineer, Ministry of Information
Blessed are the pessimists, for they test their backups
no effect on shell sessions.
Obviously I'm missing something. If I do set it, it seems to have
the same effect ...
Are you using Terminal.app? That's a GUI application, so it takes
effect, and is then inherited by the shell. Try sshing into your
Mac from elsewhere.
--
David Cantrell
73 matches
Mail list logo