Topher Tune's TimesTopher Tune's TimesTopher Tune's TimesTopher Tune's TimesTopher Tune's TimesTopher Tune's Times               Topher Tune's TimesTopher Tune's TimesTopher Tune's TimesTopher Tune's TimesTopher Tune's Times

Topher Tune's TimesTopher Tune's TimesTopher Tune's TimesTopher Tune's TimesTopher Tune's Times


 




2003/01/18

Peace. V. Vale writes in his 2003 RE/SEARCH Newsletter #24, greetings as follows:
This year we have twin goals -- simplifying our life by focusing on "enlightenment" and "pleasure" (it's great when the two merge, like when watching "Bowling for Columbine"). Toward that end we have adopted the words of Gerald V. Casale (founder, DEVO): "Whenever Bush comes on television [or radio], I change the station." We do not want HIS WORDS, HIS VOICE internalized in our subconscious, where they might somehow become "commands." Read William S. Burroughs' essay "Sects and Death" for more thoughts as to how George W. Bush acts exactly like an "evil" cult leader in the lunatic tradition of Hitler, L. Ron Hubbard, and Peoples' Temple madman Jim Jones. In fact, Burroughs' non-fiction essay/interview books (Adding Machine, The Job, Collected Interviews (and our own RE/Search #4/5) are more relevant than ever in this era of information-distraction or disinfo-diarrhea...
posted by TT 4:59 PM

2003/01/17

TT has a flower for the day here. It's the first sign of spring in January, Zigadenus fremontii, Star Lily (Fremont's Camas). There is no winter here.
posted by TT 3:53 PM

2003/01/16

A place that gives a hint of PHP "@" error suppression is this manual page.
posted by TT 7:29 PM

TT was getting all kinds of directory output, printout, or listing including hidden file on web page from innocently reading a directory in PHP. This was happening in the function below, and the fix is the "@" sign in not one, but two places.

function read_file()
{
    //http://www.zend.com/manual/function.readdir.php
    global $image_path ,
        $image_fname ,
        $my_error_check ;
    $image_fname = "" ;
    if ( $handle = @opendir ( $image_path ) )
    {
        while (false !== ( $file = @readdir ( $handle ) ) )
        {
            if ( $file != "." && $file != ".." )
            {
                 if ( $my_error_check )
                     echo ( "file: $file") ;
                $image_fname = $image_fname . $file . ":" ;
                if ( $my_error_check )
                    echo ( "image_fname: $image_fname") ;
            }
        }
        closedir ( $handle ) ;
    }
    if ( $my_error_check )
        echo ("leaving read_file") ;
}

posted by TT 6:53 PM

2003/01/15

Destroy evil from newthings, look for San Francisco.
posted by TT 4:57 PM

2003/01/12

TT has two ways to make thumbnails from all .jpg files in directory using jpegget, assuming that these files all have thumbnails in the first place.

This is the batch script TT used to use, but needs a fix, because it also picks up thumbnail files deposited in same directory during processing, and writes error message, but no harm, and may or may not clobber existing thumbnail.

rem batch file to simplify command line for jpegget
rem @echo off
if "%1" == "" goto error
cd %1
for %%a in (*.JPG) do jpegget %%a
goto end
:error
echo "usage: %0 directory"
:end

Here is Perl script that solves the problem above in its messy current state. Lots of error checking still does not happen.

#!/usr/local/bin/perl
#thumbnail extractor calls jpegget with list of files in currrent directory
#works much better than old jpeggetem
#example invocation:
#perl c:/scripts/th.pl C:\christy_tmp\10.05montara_spring_files\10.05third_montara_spring

$nargs = @ARGV ;
die ("Usage: $0 directory")
if ($nargs == 0);
$where = @ARGV[0] ;

#print $where ;

chdir $where or die "Can't chdir to $where\n" ;

opendir(DNAME, $where) || die "Unable to open the requested directory";

#while( $filename = readdir( DNAME ) ) {
# print "$filename \n";
#}

@dir_contents = readdir(DNAME);
#print "\n Unsorted contents of $where \n";

$list = "" ;
foreach $x (@dir_contents) {
# print "$x ";
@is_jpg = split (/\./, $x) ;
if (@is_jpg[3] eq "jpg") {
#print "here\n " ;
$list = $list . " " . $x ;
}
}


closedir(DNAME);

#print $list;

@args = ("jpegget", $list);
system(@args) == 0 or die "system @args failed: $?";
posted by TT 2:45 PM

Jesus grows up fast. Last week was the Epiphany, and today, the day of the brooding Spirit, ruwach, the traditional reading for this week is the baptism. Congregation fervently prays for peace, almost impatiently. Other voices are raised, such as Andrew Motion's Causa Belli printed in the newspaper and here.
posted by TT 2:16 PM

This page is powered by Blogger, the easy way to update your web site.
Atom Feed
Comments by: YACCS
Creative Commons, some rights reserved
Chris
SLOWER
Vianya
lightningfield
photo-blogg
EVHEAD
malorama
xBlog
textism
lauraholder
ericalba
minimalist
Kaliber10000
pallalink
Mirror
New Art

05/27/2001 - 06/03/2001 06/03/2001 - 06/10/2001 06/10/2001 - 06/17/2001 06/17/2001 - 06/24/2001 06/24/2001 - 07/01/2001 07/01/2001 - 07/08/2001 07/08/2001 - 07/15/2001 07/15/2001 - 07/22/2001 07/22/2001 - 07/29/2001 07/29/2001 - 08/05/2001 08/05/2001 - 08/12/2001 08/19/2001 - 08/26/2001 08/26/2001 - 09/02/2001 09/02/2001 - 09/09/2001 09/09/2001 - 09/16/2001 09/16/2001 - 09/23/2001 09/23/2001 - 09/30/2001 09/30/2001 - 10/07/2001 10/07/2001 - 10/14/2001 10/14/2001 - 10/21/2001 10/21/2001 - 10/28/2001 10/28/2001 - 11/04/2001 11/04/2001 - 11/11/2001 11/11/2001 - 11/18/2001 11/18/2001 - 11/25/2001 11/25/2001 - 12/02/2001 12/02/2001 - 12/09/2001 12/09/2001 - 12/16/2001 12/16/2001 - 12/23/2001 12/23/2001 - 12/30/2001 12/30/2001 - 01/06/2002 01/06/2002 - 01/13/2002 01/20/2002 - 01/27/2002 01/27/2002 - 02/03/2002 02/03/2002 - 02/10/2002 02/10/2002 - 02/17/2002 02/17/2002 - 02/24/2002 02/24/2002 - 03/03/2002 03/03/2002 - 03/10/2002 03/10/2002 - 03/17/2002 03/17/2002 - 03/24/2002 03/24/2002 - 03/31/2002 03/31/2002 - 04/07/2002 04/07/2002 - 04/14/2002 04/14/2002 - 04/21/2002 04/21/2002 - 04/28/2002 04/28/2002 - 05/05/2002 05/05/2002 - 05/12/2002 05/12/2002 - 05/19/2002 05/19/2002 - 05/26/2002 05/26/2002 - 06/02/2002 06/02/2002 - 06/09/2002 06/09/2002 - 06/16/2002 06/16/2002 - 06/23/2002 06/23/2002 - 06/30/2002 06/30/2002 - 07/07/2002 07/07/2002 - 07/14/2002 07/14/2002 - 07/21/2002 07/21/2002 - 07/28/2002 07/28/2002 - 08/04/2002 08/04/2002 - 08/11/2002 08/11/2002 - 08/18/2002 08/18/2002 - 08/25/2002 08/25/2002 - 09/01/2002 09/01/2002 - 09/08/2002 09/08/2002 - 09/15/2002 09/15/2002 - 09/22/2002 09/22/2002 - 09/29/2002 09/29/2002 - 10/06/2002 10/06/2002 - 10/13/2002 10/13/2002 - 10/20/2002 10/20/2002 - 10/27/2002 10/27/2002 - 11/03/2002 11/03/2002 - 11/10/2002 11/10/2002 - 11/17/2002 11/17/2002 - 11/24/2002 11/24/2002 - 12/01/2002 12/01/2002 - 12/08/2002 12/08/2002 - 12/15/2002 12/15/2002 - 12/22/2002 12/22/2002 - 12/29/2002 12/29/2002 - 01/05/2003 01/05/2003 - 01/12/2003 01/12/2003 - 01/19/2003 01/19/2003 - 01/26/2003 01/26/2003 - 02/02/2003 02/02/2003 - 02/09/2003 02/09/2003 - 02/16/2003 02/16/2003 - 02/23/2003 02/23/2003 - 03/02/2003 03/02/2003 - 03/09/2003 03/09/2003 - 03/16/2003 03/16/2003 - 03/23/2003 03/23/2003 - 03/30/2003 03/30/2003 - 04/06/2003 04/06/2003 - 04/13/2003 04/13/2003 - 04/20/2003 04/20/2003 - 04/27/2003 04/27/2003 - 05/04/2003 05/04/2003 - 05/11/2003 05/11/2003 - 05/18/2003 05/18/2003 - 05/25/2003 05/25/2003 - 06/01/2003 06/01/2003 - 06/08/2003 06/08/2003 - 06/15/2003 06/15/2003 - 06/22/2003 06/22/2003 - 06/29/2003 06/29/2003 - 07/06/2003 07/06/2003 - 07/13/2003 07/13/2003 - 07/20/2003 07/20/2003 - 07/27/2003 07/27/2003 - 08/03/2003 08/03/2003 - 08/10/2003 08/10/2003 - 08/17/2003 08/17/2003 - 08/24/2003 08/24/2003 - 08/31/2003 08/31/2003 - 09/07/2003 09/07/2003 - 09/14/2003 09/14/2003 - 09/21/2003 09/21/2003 - 09/28/2003 09/28/2003 - 10/05/2003 10/05/2003 - 10/12/2003 10/12/2003 - 10/19/2003 10/19/2003 - 10/26/2003 10/26/2003 - 11/02/2003 11/02/2003 - 11/09/2003 11/09/2003 - 11/16/2003 11/16/2003 - 11/23/2003 11/23/2003 - 11/30/2003 11/30/2003 - 12/07/2003 12/07/2003 - 12/14/2003 12/14/2003 - 12/21/2003 12/21/2003 - 12/28/2003 12/28/2003 - 01/04/2004 01/04/2004 - 01/11/2004 01/11/2004 - 01/18/2004 01/18/2004 - 01/25/2004 01/25/2004 - 02/01/2004 02/01/2004 - 02/08/2004 02/08/2004 - 02/15/2004 02/15/2004 - 02/22/2004 02/22/2004 - 02/29/2004 02/29/2004 - 03/07/2004 03/07/2004 - 03/14/2004 03/14/2004 - 03/21/2004 03/21/2004 - 03/28/2004 03/28/2004 - 04/04/2004 04/04/2004 - 04/11/2004 04/11/2004 - 04/18/2004 04/18/2004 - 04/25/2004 04/25/2004 - 05/02/2004 05/02/2004 - 05/09/2004 05/09/2004 - 05/16/2004 05/16/2004 - 05/23/2004 05/23/2004 - 05/30/2004 05/30/2004 - 06/06/2004 06/06/2004 - 06/13/2004 06/13/2004 - 06/20/2004 06/20/2004 - 06/27/2004 06/27/2004 - 07/04/2004 07/04/2004 - 07/11/2004 07/11/2004 - 07/18/2004 07/18/2004 - 07/25/2004 07/25/2004 - 08/01/2004 08/01/2004 - 08/08/2004 08/08/2004 - 08/15/2004 08/15/2004 - 08/22/2004 08/22/2004 - 08/29/2004 08/29/2004 - 09/05/2004 09/05/2004 - 09/12/2004 09/12/2004 - 09/19/2004 09/19/2004 - 09/26/2004 09/26/2004 - 10/03/2004 10/03/2004 - 10/10/2004 10/10/2004 - 10/17/2004 10/17/2004 - 10/24/2004 10/24/2004 - 10/31/2004 10/31/2004 - 11/07/2004 11/07/2004 - 11/14/2004 11/14/2004 - 11/21/2004 11/21/2004 - 11/28/2004 11/28/2004 - 12/05/2004 12/05/2004 - 12/12/2004 12/19/2004 - 12/26/2004 12/26/2004 - 01/02/2005 01/02/2005 - 01/09/2005 01/09/2005 - 01/16/2005 01/16/2005 - 01/23/2005 01/23/2005 - 01/30/2005 01/30/2005 - 02/06/2005 02/06/2005 - 02/13/2005 02/20/2005 - 02/27/2005 03/06/2005 - 03/13/2005 03/13/2005 - 03/20/2005 03/20/2005 - 03/27/2005 03/27/2005 - 04/03/2005 04/10/2005 - 04/17/2005 05/01/2005 - 05/08/2005 05/22/2005 - 05/29/2005 05/29/2005 - 06/05/2005 06/05/2005 - 06/12/2005 06/12/2005 - 06/19/2005 06/19/2005 - 06/26/2005 06/26/2005 - 07/03/2005 07/10/2005 - 07/17/2005 07/17/2005 - 07/24/2005 07/31/2005 - 08/07/2005 08/21/2005 - 08/28/2005 08/28/2005 - 09/04/2005 09/04/2005 - 09/11/2005 09/11/2005 - 09/18/2005 10/02/2005 - 10/09/2005 10/16/2005 - 10/23/2005 10/23/2005 - 10/30/2005 10/30/2005 - 11/06/2005 11/06/2005 - 11/13/2005 11/20/2005 - 11/27/2005 11/27/2005 - 12/04/2005 12/04/2005 - 12/11/2005 12/11/2005 - 12/18/2005 12/18/2005 - 12/25/2005 12/25/2005 - 01/01/2006 01/01/2006 - 01/08/2006 01/15/2006 - 01/22/2006 01/22/2006 - 01/29/2006 02/19/2006 - 02/26/2006 03/19/2006 - 03/26/2006 03/26/2006 - 04/02/2006 04/02/2006 - 04/09/2006 04/09/2006 - 04/16/2006 04/16/2006 - 04/23/2006 04/30/2006 - 05/07/2006 05/14/2006 - 05/21/2006 05/21/2006 - 05/28/2006 05/28/2006 - 06/04/2006 06/04/2006 - 06/11/2006 06/11/2006 - 06/18/2006 06/18/2006 - 06/25/2006 06/25/2006 - 07/02/2006 07/02/2006 - 07/09/2006 07/09/2006 - 07/16/2006 07/16/2006 - 07/23/2006 07/30/2006 - 08/06/2006 08/13/2006 - 08/20/2006 08/20/2006 - 08/27/2006 09/03/2006 - 09/10/2006 09/10/2006 - 09/17/2006 09/17/2006 - 09/24/2006 10/01/2006 - 10/08/2006 10/08/2006 - 10/15/2006 11/19/2006 - 11/26/2006 12/24/2006 - 12/31/2006 12/31/2006 - 01/07/2007 01/07/2007 - 01/14/2007 01/14/2007 - 01/21/2007 01/28/2007 - 02/04/2007 02/04/2007 - 02/11/2007 03/25/2007 - 04/01/2007 04/15/2007 - 04/22/2007 04/29/2007 - 05/06/2007 05/13/2007 - 05/20/2007 05/20/2007 - 05/27/2007 05/27/2007 - 06/03/2007 06/03/2007 - 06/10/2007 06/10/2007 - 06/17/2007 06/17/2007 - 06/24/2007 07/01/2007 - 07/08/2007 07/15/2007 - 07/22/2007 09/16/2007 - 09/23/2007 11/11/2007 - 11/18/2007 05/18/2008 - 05/25/2008 05/25/2008 - 06/01/2008 08/03/2008 - 08/10/2008 12/14/2008 - 12/21/2008 01/18/2009 - 01/25/2009 02/22/2009 - 03/01/2009 03/08/2009 - 03/15/2009 04/26/2009 - 05/03/2009 05/10/2009 - 05/17/2009 06/21/2009 - 06/28/2009 08/02/2009 - 08/09/2009 08/16/2009 - 08/23/2009 12/27/2009 - 01/03/2010 03/14/2010 - 03/21/2010 11/14/2010 - 11/21/2010 07/10/2011 - 07/17/2011 09/21/2014 - 09/28/2014 09/28/2014 - 10/05/2014