Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation

mattr's scratchpad

by mattr (Curate)
on Jun 05, 2004 at 12:05 UTC ( #361511=scratchpad: print w/replies, xml ) Need Help??

wierd error.. "error on write: Broken pipe"
#!/usr/local/bin/perl -w print "Content-type: text/html\n\n"; use lib qw(/home/www/davxw000/data/sitelib); use CGI::Carp qw(fatalsToBrowser warningsToBrowser); use GnuPG::Tie::Encrypt; $s = "This is a test.\nAnd another test."; $m = ''; # registered in gpg key ring $e = &encrypted($s,$m); print "Encrypted: <PRE>\n" . $e; sub encrypted { my ($plaintext,$recip) = @_; my $encrypted = ""; tie(*CIPHER,'GnuPG::Tie::Encrypt',armor=>1,recipient=>$recip); # tie interface. open buffer print CIPHER $plaintext; # and encrypt into buffer. $encrypted .= $_ while (<CIPHER>); # now read from buffer close CIPHER; # the encrypted data untie *CIPHER; # and close buffer return $encrypted; }

memos to self perl2exe thread Martin Lo Interview author of LTool (Libration Point Mission Design Tool) talks about new cusp of using advanced mathematics in real-world engineering.

haskelly perl
cblast When breaks.. Kobe (thanks Petrucio)

Advanced Sorting - GRT - Guttman Rosler Transform
Schwartzian Transform and memory allocation.
code for my brother Bob's photos of Iceland, Norway, and Parts East
Log In?

What's my password?
Create A New User
[Corion]: Mhhmmm - https://sod.pixlab .io/ looks really interesting for embedding with Perl (XS), but they don't have any kind of free model available and the cheapest pretrained model costs EUR 40 :-(
[Corion]: Maybe I should mail them to find out if they can provide me a "hotdog / no hotdog" model for developping the XS bindings. It would be nice to have a self-contained XS library for applying models to data. Or maybe I should look at TensorFlow, which can...
[Corion]: ... at least be trained by me, instead of relying on a vendor
[Discipulus]: complex and interesting

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (9)
As of 2018-06-18 10:46 GMT
Find Nodes?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?

    Results (109 votes). Check out past polls.