Berkeley CSUA MOTD:Entry 11110
Berkeley CSUA MOTD
 
WIKI | FAQ | Tech FAQ
http://csua.com/feed/
2025/07/09 [General] UID:1000 Activity:popular
7/9     

2003/11/17-18 [Computer/SW/Languages] UID:11110 Activity:moderate
11/17   Anyone read news using a RSS-browser?  Any comments or feedback
        on RSS-reader used, and how rule/ass it is appreciated.
        Try FeedReader
        \_ This works on soda:
        use XML::RSS;
        use LWP::Simple;
        my $rss = new XML::RSS;

        \_ This works on soda:
        $content = get($ARGV[0]);
        die "Could not retrieve $ARGV[0]" unless $content;
        $rss->parse($content);
        print "\t====== $rss->{'channel'}->{'title'} ======\n";
        foreach my $item (@{$rss->{'items'}}) {
           print "$item->{'title'}\n" if defined $item->{'title'};
        }
        use XML::RSS;
        use LWP::Simple;
        my $arg = shift;
        my $rss = new XML::RSS;

        if ($arg =~ /http:/i) {
          $content = get($arg);
          die "Could not retrieve $arg" unless $content;
          $rss->parse($content);
          print "\t====== $rss->{'channel'}->{'title'} ======\n";
          foreach my $item (@{$rss->{'items'}}) {
           next unless defined($item->{'title'}) && defined($item->{'link'});
           print "$item->{'title'}\n";
          }
        }
2025/07/09 [General] UID:1000 Activity:popular
7/9     

You may also be interested in these entries...
2013/4/9-5/18 [Computer/SW/Languages/C_Cplusplus, Computer/SW/Apps, Computer/SW/Languages/Perl] UID:54650 Activity:nil
4/04    Is there a good way to diff 2 files that consist of columns of
        floating point numbers, such that it only tells me if there's a
        difference if the numbers on a given line differ by at least a given
        ratio?  Say, 1%?
        \_ Use Excel.
           1. Open foo.txt in Excel.  It should convert all numbers to cells in
	...
2012/12/18-2013/1/24 [Computer/SW/Languages/Perl] UID:54561 Activity:nil
12/18   Happy 25th birthday Perl, and FUCK YOU Larry Wall for fucking up
        the computer science formalism that sets back compilers development
        back for at least a decade:
        http://techcrunch.com/2012/12/18/print-happy-25th-birthday-perl
        \_ I tried to learn Perl but was scared away by it.  Maybe scripting
           lanauages have to be like that in order to work well?
	...
2012/11/7-12/18 [Computer/SW/Languages] UID:54526 Activity:nil
11/7    If I don't need to print for a few months, do I need to keep adding
        new ink to inkjet printers to prevent them from drying and clogging
        heads? Or will it just magically work once I add in new ink
        in a few months?
        \_ The nozzles will clog. Print a test sheet every couple weeks.
           Or remove the cartridges and put cellophane tape over the nozzles,
	...
2010/8/29-9/30 [Consumer/Camera, Computer/SW/Languages] UID:53939 Activity:nil
8/28    Hi, anybody printed a photo image to a big plotter?  Something like
        36"x36"?  I'm wondering how many megapixels the image need to
        have in order for the print to "look good".  There is a rule of
        thumb?  Like 6 megapixel is good for X size print.  10 megapixel
        is good for Y size print.  Thanks.
        \_ You don't need that many more megapixels for much bigger prints,
	...
2009/8/8-14 [Computer/SW/WWW/Browsers, Computer/SW/Security] UID:53254 Activity:low
8/6     mrauser, what ddya think of this:
        http://www.nplusonemag.com/node/678/print
        \_ Sorta tl;dr.  It seems pretty dense, so I'll read it eventually...
           just haven't really had the time. -mrauser
           \_ yep, it's dense but pretty good. - !OP
	...
2009/4/24-28 [Computer/SW/Languages/Functional] UID:52902 Activity:nil
4/23    what book is this?
        "I'm reading this horrible horrible book about a programmer
         from silicon valley that gets magically
         transported into some world where magic is real
         and uses computer programming skillz to become the world's
         greatest sorceror … in book 1 of the series
	...