#perl
31 October 2007
Total 28 pages. You are browsing page 4/28.
First :: Prev :: [...] [2] [3] [4] [5] [6] [...] :: Next :: Last
03:07 <****> Now that my move is over, but before the new baby comes, would be a good time to do it :)
03:07 <****> do you own it in full?
03:07 <****> No, Morgan Kaufmann owns it, but my contract says I can put it online.
03:08 <****> does your contract specify a format?
03:08 <****> dwu: indeed!
03:08 <****> My contract says I can put it online in whatever format I want.
03:08 <****> you could be lazy and use one of those *cough*illegitmate*cough* ebooks floating out there
03:08 <****> I can do better than that.
03:08 <****> you can, but it would take time
03:08 <****> The ebooks are PDFs of printer's proofs that were stolen from the printer.
03:08 <****> if I do ` $lvalue = (undef $hash{'key'}); `, will $lvalue get $hash{'key'}'s value before undef, or after?
03:08 <****> I have PDFs of the final proofs.
03:08 <****> ah cool
03:09 <****> win 195
03:09 <****> bah
03:09 <****> They look just like those ebooks, only they have five rounds of corrections.
03:09 <****> shardz: what happened when you tried it?
03:09 <****> And I have the PDFs from the second printing, which has all the corrections people sent me after the first printing.
03:09 <****> mst: holy shit dude, I thought I was bad with 15 windows :)
03:09 <****> pravus: point taken
03:09 <****> shardz: also, perldoc -f delete
03:09 <****> yrlnry__: so what's the hold up?
03:09 <****> Lots of distractions.
03:10 <****> pravus: ah, thanks
03:10 <****> Book published March 2005, my kid was 9 months old.
03:10 <****> Moving house, raising kid, illness, etc.
03:10 <****> DSterling: He gets off on windows, really.
03:10 <****> Time goes by.
03:10 <****> well all it requires is an upload and a link
03:11 <****> Oh, but I don't want to slap up the PDFs. If I were going to do that I would have done it a couple of years ago.
03:11 <****> I'm going to turn HOP into a wiki.
03:11 <****> rock on.
03:11 <****> o.O yay
03:11 <****> the company copy has arrived now.
03:11 <****> thanks!
03:11 <****> I got a royalty check a couple of weeks ago.
03:11 <****> yrlnry__: \o/
03:12 <****> Hrm, wonder if bookpool has it...
03:12 <****> wouldn't that would require importing it manually?
03:12 <****> Duh, write a script to do it ;)
03:12 <****> can you read text off of a pdf?
03:12 <****> There must be a module to do it...
03:13 <****> Jmax: Remember I also have the original manuscript files I wrote myself in MOD format.
03:13 <****> or does it depend on how the text was imported into the pdf?
03:13 <****> (well, probably)
03:13 <****> ah, I see
03:13 <****> Also, I have the TeX sources from which the PDFs were compiled.
03:13 <****> i would think it depends on how the PDF was created
03:13 <****> even better
03:13 <****> iirc, some PDFs are just images in disguise
03:13 <****> that's true
03:13 <****> But yes, I can extract the text from the PDFs.
03:13 <****> how are you going to do it?
03:13 <****> from tex?
03:13 <****> Jmax: http://search.cpan.org/~antro/PDF-111/PDF.pm ?
03:14 <****> surely there are programs to convert TeX into wikimedia's markup
03:14 <****> When you do full-text search at http://hop.perl.plover.com/grep.cgi , you are searching raw text files that I extracted from the PDF.
03:16 <****> WTF? That was working before.
03:16 <****> MOD?
03:16 <****> yrlnry__: eep :)
03:17 <****> Like POD, but doesn't suck quite so much.
03:17 <****> More extensible. Less Tom Christiansenisms.
03:18 <****> heh
03:18 <****> yrlnry__: are there public processors for it?
03:18 <****> If I use Fatal.pm with File::Copy, can anyone tell me if I can add copy to the functions like for Fatal and have it do error checking for me?
03:18 <****> use Fatal qw( open close copy move );
03:19 <****> mst: I don't remember if I released it or not. Check my CPAN directory.
03:19 <****> perl -e can tell you
03:19 <****> full-text search at http://hop.perl.plover.com/grep.cgi npw fixed.
03:20 <****> Oh shit, I know what happened.
03:20 <****> dngor: you mean like this?
03:20 <****> perl -e 'use File::Copy; use Fatal qw( open close copy move );'
03:20 <****> I fixed the script, and then I rsynced the home copy of the web site to the remote site again, overwriting the fix.
03:20 <****> initself: according to the documentation, most core functions will work
03:20 <****> So File::Copy is a core function, not so much a 'module'.
03:21 <****> no, it's a module
03:21 <****> yrlnry__: Dude, your stuff is out of stock on pookpool, this is good, right? :)
03:21 <****> Jmax: so it's copy function doesn't really count as a core function, or does it?
03:22 <****> dwu: No, very bad.
03:22 <****> dwu: 1. They can't sell it if they don't have it.
03:22 <****> yrlnry__: Awww, shouldn't it mean it got sold out and was popular and you have money from previous sales?
03:22 <****> yrlnry__: I presume they'll -get- more stock...
03:22 <****> a copy on UNIX-like is probably link a new name, unlink the old name
03:22 <****> but it would mean someone needs to print more books :)
03:22 <****> Let's hope so./
03:22 <****> Khisanth: No, there are plenty of books in the warehouse.
03:23 <****> I think.
03:23 <****> yrlnry__: I'll get a move on creating demand.
03:23 <****> thank you!
03:23 <****> but File::Copy most likely has handlers for various operating systems that perl runs on
03:23 * dwu nods.
03:23 <****> hrm put it on everyone's wishlist for Christmas :)
03:23 <****> i know mkdir works at least: Can't mkdir(test1/test2): Permission denied at DeliverPrintData.pl line 24
03:23 <****> yrlnry__: Pleasure - and yet more non-Amazon sales make you happy, right? ;)
03:23 <****> Jmax: meaning that Fatal will tap into that?
03:24 <****> mkdir is a builtin function/operator, File::Copy is not
03:24 <****> ... *plot* *getcreditcard*
03:24 <****> right, it will probably not
03:24 <****> In fact when I was looking around for a publisher, there was one who actually boasted to me that they sold out book X when they brought it to conference Y, and all I could thing was "so you didn't bring enough copies."
03:25 <****> So I told them to go away.
Total 28 pages. You are browsing page 4/28.
First :: Prev :: [...] [2] [3] [4] [5] [6] [...] :: Next :: Last
