stargeek
PHP news website logo.
home    PHP scripts    articles    seo tools    links    search    contact    shop    realtors


Monitor SETI command line client progress







Monitor SETI command line client
progress

Monitor SETI command line client
progress
03/14/2003 01:08 PM

Thanks to Authoxy, I am finally able to process units for SETI from behind the company firewall. I decided to use the command line client and wanted a way to check the progress of a workunit being processed, so I made this...




This is a GrokNews Entry: (what is grok?)





Similar Items

Monitor SETI command line client progress

Grok Headline matches for Monitor SETI command line client progress

Command Line Progress Bar 1.09


Command Line Progress Bar 1.09 06/01/2004 10:34 AM
A simple command line tool to display information about a data transfer stream.

Command Line Progress Bar 1.04


Command Line Progress Bar 1.04 10/31/2003 05:11 PM
A simple command line tool to display information about a data transfer stream.

Command Line Progress Bar 1.10.4
(Default branch)


Command Line Progress Bar 1.10.4
(Default branch)
04/06/2005 05:32 PM
Screenshot Command Line Progress Bar is a simple command line tool to display information about a data transfer stream. It will display the number of bytes transfered, the speed of the transfer, and if the size of the data stream is known it will display the ETA, percent complete, and a progress bar.
Changes:
Minor changes to allow the bar to compile on systems without snprintf().

SETI Monitor v3.42


SETI Monitor v3.42 12/06/2003 10:54 AM
SETI Monitor is a free add-on for SETI@home. It allows you to monitor the activity of your SETI@home client and see what it finds using almost no CPU power. SETI Monitor shows the signals found by your SETI@home client and saves information about completed work units. [Freeware 207 KB]

SETI@Home Results Monitor 3.1.1 released


SETI@Home Results Monitor 3.1.1 released 07/12/2002 06:40 AM
SETI@Home Results Monitor is a small PHP script that you can use to show off your current SETI@Home work units total on your Website. When invoked, the script connects to the SETI@Home server, retrieves your user stats, and generates a PNG image to display the total number of work units processed so far.

Seti@Home updates client


Seti@Home updates client 06/24/2004 04:40 AM

The Gang at SETI who are using un-used processor cycles on millions of home computers worldwide in the search for ET have updated their home client software. Which runs under something they are calling BOINC which will make it software upgrades and various other things less cumbersome on the participants. [SETI]


Monitor Safari download progress on the
desktop


Monitor Safari download progress on the
desktop
04/26/2004 10:24 AM
The download icons for Safari are dynamic (under 10.3, at least). While Safari is downloading a file to a location like the Desktop, Safari will create a download icon. The icon will have a progress bar that runs horizontal...

Command Line PHP


Command Line PHP 12/20/2002 10:51 AM
Command Line PHP Since I was doing this yesterday, I appreciated this pointer from Keith (who also helpfully has links to Lord of the Rings Reviews) [_Go_]

Command line blacklisting


Command line blacklisting 09/09/2004 01:15 AM

Just over a year ago, I started blacklisting domain names from links featured in comment spam. My idea then was that these blacklists could become a shared resource: people would publish their own blacklist and subscribe to those of people they trust, thus making it much harder for spammers to operate. While the sheer volume of spam domains meant that the technique was much less useful than I originally anticipated, I've continued to maintain my blacklist ever since as a preventative measure against repeat spammers.

I have a confession to make: all of my blog administration (with the exception of adding entries and blogmarks) is performed using phpMyAdmin. The trouble with writing your own software is that it's very easy to skimp on the backend tools, since you're the only person who will ever see them. Incidentally, this is the main reason I plan to switch to WordPress just as soon as I find the inspiration to write the necessary import scripts. Comments are deleted in phpMyAdmin, and domains are blacklisted by manually editing the blacklist.txt file via FTP.

This has been really bugging me, especially since I have so little other use for FTP that my only installed client is an unregistered version of Transmit (closes after ten minutes, won't save passwords along with account details). I've been muddling along with that for longer than I care to admit, but today I decided to take 10 minutes out to solve the problem once and for all. I could have put together a web interface for adding new domains but I wasn't really in the mood, so I decided to put time spent reading The Art of Unix Programming to good use and knock out a simple command line application.

The result (minus my login details) can be found here. Sample usage: ./blacklist.py www.domain.org www.domain2.com. It follows the Unix ideal of being the simplest-thing-that-could-possibly-work, and ended up taking longer to write than I expected thanks mainly to the craziness of Python's ftplib . I've seen complaints about this before, and it thoroughly deserves its bad reputation.

Here's one example: retrlines is the method used to retrieve ascii text from the server. Bizzarely, it doesn't actually return the text receieved; instead, it expects you to provide it with a callback function that will be fed each line in turn, minus the newline. Sounds like a job for Stri ngIO, but StringIO objects don'y have a writeline method (required to add the newline back on). I ended up writing my own extension of the StringIO2 class and adding a writeline method just to preserve the newlines returned from the server!

Strange APIs aside, I'm pretty pleased with the final result. It follows a bunch of Unix design patterns (and skips others such as those related to configuration, but I'm not overly bothered about those) including the following:

  1. A usage note is displayed if no arguments are provided.
  2. Multiple domains can be blacklisted at once, by providing them as multiple command line arguments.
  3. Domains that are already in the blacklist are skipped, and a message is written to standard error.
  4. If the script suceeds, it doesn't say anything at all.

It also uses the common Python idiom of wrapping the principle logic in a function and then calling that from a block that runs only if the file is executed directly (the __name__ == '__main__' idiom) so that other Python code can import the module and reuse its functionality if required.

There's plenty of room for improvement: being able to pipe a list of domains in via standard input would be nice, and hard coding the (unencrypted) username and password is sloppy (as is expecting the blacklist.txt file to live in the FTP home directory). Even better, with SSH access the whole thing could be replaced with an infinitely more secure one-liner: echo www.domain-to-ban.org | ssh username@server "cat - >> blacklist.txt". I'm happy though: an irritating task has become much less irritating and I have some example code to fall back on next time I need to get mucky with ftplib.


10.3: Fax from command line (or
AppleScript)


10.3: Fax from command line (or
AppleScript)
12/05/2003 11:21 AM
I was working on this to be able to fax from Filemaker with FM scripting and AppleScripting. I needed to print to a file (a .ps file), then send the resulting file to the fax. Fax is actually a CUPS print queue, and I just ne...

Command Line Timeclock 0.2


Command Line Timeclock 0.2 06/07/2004 09:17 AM
A command line timesheet application.

Pizza From the Command Line


Pizza From the Command Line 05/07/2004 07:14 PM

PHP on the Command Line - Part 1


PHP on the Command Line - Part 1 06/16/2004 07:29 PM
Routine administration of your PHP Website is easily achieved via PHP's CLI, or command line interface. In the first instalment of his two-part series, Harry looks at the fundamentals of working with the PHP command line.

Command-Line Accountant 0.2


Command-Line Accountant 0.2 02/17/2004 05:39 AM
A command-line personal finance utility.

Command Line Accountant


Command Line Accountant 12/09/2003 12:22 AM
Version 0.1 has been released

Command Line Timeclock 0.2-r2


Command Line Timeclock 0.2-r2 06/13/2004 09:25 PM
A command line timesheet application.

SitePoint: PHP on the Command Line (Pt.
1)


SitePoint: PHP on the Command Line (Pt.
1)
06/16/2004 08:26 AM
A new article has been posted over on SitePoint.com from Harry Fuecks covering the first part of a series on PHP on the Command Line.

ISU Command-Line Switches


ISU Command-Line Switches 01/01/2005 10:21 AM

PHP on the Command Line - Part 2


PHP on the Command Line - Part 2 08/11/2004 07:01 PM
Take your knowledge of the command line interface a step further with Harry's PHP-centric series. Part 2 shows how you can hook up a command line PHP script with existing command line tools provided by your operating system.

The Command Line Is Your Friend


The Command Line Is Your Friend 03/06/2004 01:56 AM

If you're in the tech field, it might behoove you to know your command line utilities, and to have a copy of Cygwin handy if you run Windows. There are reasons why those old-school UNIX guys look down their long beards at the rest of us with disdain for not knowing the system shell. I ran across a great use of command line tools today that I thought I'd share.

Continue reading "The Command Line Is Your Friend"

Click here to comment on this entry


SitePoint: PHP on the Command Line (Pt.
2)


SitePoint: PHP on the Command Line (Pt.
2)
08/11/2004 08:33 AM
New on SitePoint today, there's a new posting from Harry Fuecks in a continuation of his "PHP on the Command Line" series - Part 2.

Abusing the command line


Abusing the command line 04/09/2004 04:08 PM

If you're running OS X, try this:

say -v Kathy `curl --silent http://api.technorati.com/getinfo?username=simonwillison | grep '<inbound' | sed -e 's/ <//' | sed -e 's/inboundblogs>/Simons blog has /' | sed -e 's/<\/inboundblogs>/ inbound blogs and /' | sed -e 's/inboundlinks>//' | sed -e 's/<\/inboundlinks>/ inbound links/'`

Your computer should read out to you my Technorati inbound blogs and inbound links, extracted from the Technorati web API. Parsing XML using sed is a nasty trick I picked up from this O'Reilly article; speaking the output of a command using the 'say' and the backtick shell operator was my moment of inspiration for the day.


A command line ogg to mp3 converter


A command line ogg to mp3 converter 08/09/2004 11:34 AM
Using the same paradigm as ChrisR's flac to mp3 command line script, I've done the same to convert ogg files to mp3s using command line tools. You'll need to download and compile the vorbis player/encoder tools for everyone ...

MSI FAQ: Command-line for SMS
Distribution


MSI FAQ: Command-line for SMS
Distribution
06/24/2004 11:31 AM

ISU Command Line Syntax


ISU Command Line Syntax 07/26/2004 03:52 AM

Mac OS X command line tab completion


Mac OS X command line tab completion 09/23/2004 03:00 AM
Tech-Recipes Sep 23 2004 5:45AM GMT

SMS Command Line Script


SMS Command Line Script 12/28/2004 11:27 PM

Command-Line Accountant 0.11


Command-Line Accountant 0.11 12/21/2003 04:45 PM
A command-line personal finance utility.

PHP Command Line Module


PHP Command Line Module 06/04/2004 10:43 AM

PEAR Console Classes: Here's a tutorial on a fascinating little PEAR module that facilitates using PHP from the command line. It has methods for rendering tables, displaying progress bars, and doing color formatting on ANSI compliant terminals, this giving you some flexibility when developing PHP command line apps. Fascinating what these guys come up with.

Click here to comment on this entry


Building MSI command line


Building MSI command line 01/19/2004 12:34 AM

FirstClass Client 7.1: Command Execution
via Email Web Link


FirstClass Client 7.1: Command Execution
via Email Web Link
01/06/2004 01:03 PM
Richard Maudsley (Jan 05 2004)

PowerArchiver Command Line Support
Add-On v3.51


PowerArchiver Command Line Support
Add-On v3.51
06/30/2004 05:48 PM
PowerArchiver Command Line Support Add-On is a free cosole utility for Windows which includes full built-in support for creating ZIP, CAB, LHA (LZH), BH and JAR archives, as well as extracting ZIP, RAR, ARJ, ACE, CAB, LHA (LZH), TAR, GZIP, BH, ZOO, ARC, JAR, XXE and UUE archives. [Freeware 1.15 MB]

InstallShield: Compiling at the Command
Line


InstallShield: Compiling at the Command
Line
06/10/2004 04:48 AM

10.3: Turn fax services on and off from
the command Line


10.3: Turn fax services on and off from
the command Line
01/22/2004 02:36 AM
Faxing is a cool feature on OS X, but few people purchase a separate phone line for a fax machine at home. So, if you want to receive a fax during the day on your home Mac, then legitimate callers will get the fax tone rathe...

Accessing a VPN (PPTP) via the command
line


Accessing a VPN (PPTP) via the command
line
03/13/2003 10:23 AM
My employer has a Microsoft VPN (PPTP) server and I finally got connected to it. The Internet Connection app allows you to access a VPN, but it has a couple of parameters that may cause problems, and it also might be useful t...

Is the command line necessary for most
Linux users?


Is the command line necessary for most
Linux users?
01/05/2004 04:50 AM
Every time I write an article about normal people using Linux with little or no training, a few weisenhimers inevitably accuse me of being an overly optimistic advocate by not warning readers that it takes a least some knowledge of Bash to run and maintain a Linux installation. The problem with this accusation is that it might have been true in 1998, but it is not true in 2004. It is now possible to run Linux without knowing any commands beyond point-and-click, cut-and-paste, and drag-and-drop. Indeed, those are the only ones I use for everyday computing myself.

Command-line pizza-orderator


Command-line pizza-orderator 05/07/2004 03:35 AM
pizza_party is an open-source command-line app for ordering pizzas from Domino's.
pizza_party [-o|--onions] [-g|--green-peppers] [-m|--mushrooms] [-v|--olives] [-t|--tomatoes] [-h|--pineapple] [-x|--extra-cheese] [-d|--cheddar-cheese] [-p|--pepperoni] [-s|--sausage] [-w|--ham] [-b|--bacon] [-e|--ground-beef] [-c|--grilled-chicken] [-z|--anchovies] [-u|--extra-sauce] [-U|--user= username] [-P|--password= pasword] [-I|--input-file= input-file] [-V|--verbose] [-Q|--quiet] [-F|--force] [QUANTITY] [SIZE] [CRUST]

* Can order pizza with only a few keystrokes.
* Can save pizza preferences.
* Can use batch files for ordering many pizzas.
* Has easy to use flags for ordering different toppings.
* Runs on most UNIX-like operating systems.
* Supports most currently popular topings like "mushrooms", and "pepperoni"!
* Unattended / background operation.
* Pizza Party is distributed under the GNU General Public License.

Link (via Kottke)

Get the dimensions of most images from
the command line


Get the dimensions of most images from
the command line
12/02/2003 12:38 AM
You can use the file unix command in the Terminal to quickly find the dimensions of (most) images. karma:~/Sites/somepics me$ file * yel-pale-grad.gif: GIF image data, version 89a, 20 x 125 m46.jpg: JPEG ima...

Command line Futurama quotes


Command line Futurama quotes 02/10/2004 02:44 AM

Today's command line amusement:

lynx -mime_header http://slashdot.org/ | head -n 6 | tail -1


Grok Description matches for Monitor SETI command line client progress
GrokA matches for Monitor SETI command line client progress

SETI@Home Transitions To BOINC


SETI@Home Transitions To BOINC 06/23/2004 05:24 PM

SETI@Home (finally) begins transitioning
to BOINC


SETI@Home (finally) begins transitioning
to BOINC
06/24/2004 01:19 PM
SETI@Home begins their transition to the BOINC client and infrastructure. Congrats to Team Lamb Chop members for their efforts in the "classic" portion of the project and we look forward to your contribution using the new BOINC client.

lin-seti - A cache manager for Seti@Home


lin-seti - A cache manager for Seti@Home 06/26/2004 11:19 AM
lin-seti 0.8.1

New Command Line Tools in Windows Server
2003


New Command Line Tools in Windows Server
2003
06/07/2004 10:45 AM

New Command Line Tools in Windows Server
2003 - Today's Tool: DEFRAG.EXE


New Command Line Tools in Windows Server
2003 - Today's Tool: DEFRAG.EXE
07/27/2004 07:50 PM

New Command Line Tools in Windows Server
2003 - Today's Tool: CMDKEY.EXE


New Command Line Tools in Windows Server
2003 - Today's Tool: CMDKEY.EXE
09/09/2004 01:33 AM

New Command Line Tools in Windows Server
2003 – Today's Tool: EVENTCOMBMT


New Command Line Tools in Windows Server
2003 – Today's Tool: EVENTCOMBMT
06/05/2004 10:30 AM

New Command Line Tools in Windows Server
2003 - Today's Tool: DSADD.EXE


New Command Line Tools in Windows Server
2003 - Today's Tool: DSADD.EXE
08/30/2004 01:35 PM

Perl Command-Line Options


Perl Command-Line Options 08/10/2004 06:02 PM
After looking at special variables, Dave Cross now casts his eye over the impressive range of functionality available from simple command-line options to the Perl interpreter.

chi.pm: Field Guide to Perl Command Line
Switches


chi.pm: Field Guide to Perl Command Line
Switches
10/29/2003 12:09 AM
inkdroid writes "chicago.pm has secured space through the gracious generosity of WDI in Vernon Hills. This means we have a nice, quiet, non-smoking space with a projector and room for a couple dozen mongers. Our first Tech Meeting will be November 4th, ...

SETI STATUS JAVA SCRIPT


SETI STATUS JAVA SCRIPT 01/12/2004 01:53 AM
Going ahead

Microsoft SQL Server 7.0 administrative
command line utilities PART4


Microsoft SQL Server 7.0 administrative
command line utilities PART4
06/02/2004 06:17 PM

Microsoft SQL Server 2000 command line
utilities (Part 2)


Microsoft SQL Server 2000 command line
utilities (Part 2)
02/15/2004 09:28 AM

Microsoft SQL Server 7.0 administrative
command line utilities PART3


Microsoft SQL Server 7.0 administrative
command line utilities PART3
12/30/2003 12:03 AM

Microsoft SQL Server 7.0 administrative
command line utilities PART5


Microsoft SQL Server 7.0 administrative
command line utilities PART5
07/03/2004 09:26 PM

A quick way to get command line switches
with Deployment Server for Clients 5.6
Components


A quick way to get command line switches
with Deployment Server for Clients 5.6
Components
06/24/2005 09:43 PM

SETI@Home to take a closer look


SETI@Home to take a closer look 03/13/2003 10:20 AM

SETI@home - Mac Style


SETI@home - Mac Style 04/24/2004 06:06 AM
Working hard

SQL Server forum stories - How to backup
an entire mssql database from a command
line


SQL Server forum stories - How to backup
an entire mssql database from a command
line
05/25/2004 04:37 PM

The Windows Installer Software
Development Kit Command Line Merge and
Install Tools - Part two Msitran.exe


The Windows Installer Software
Development Kit Command Line Merge and
Install Tools - Part two Msitran.exe
09/12/2004 10:55 AM

SETI@home Turns Five Today


SETI@home Turns Five Today 05/21/2004 11:36 AM

SETI@Home: Our flagship is sinking


SETI@Home: Our flagship is sinking 12/02/2003 01:49 AM
SETI.Germany is closing in on Team Lamb Chop in the SETI@Home standings. Read on to see how you can help!

Candidate signal from SETI@home


Candidate signal from SETI@home 09/02/2004 11:51 AM

Direct and Related Links for 'Candidate signal from SETI@home'

“In February 2003, astronomers involved in the search for extraterrestrial intelligence (SETI) pointed the massive radio telescope in Arecibo, Puerto Rico, at around 200 sections of the sky. The same telescope had previously detected unexplained radio signals at least twice from each of these regions, and the astronomers were trying to reconfirm the findings. The team has now finished analysing the data, and all the signals seem to have disappeared. Except one, which has got…

retrieve your SETI@home stats


retrieve your SETI@home stats 12/11/2003 05:04 PM
seti-stat on line

Monitor SETI command line client progress

The following phrases have been identified by the grok system as matching this entry: boinc seti php script xml generate seti command line hawker battery, skateboard, exkate boinc "firewall client" perl print ->png "command line progress bar" seti command line tools setimanager macos seti@home isa server boinc virc setimanager

















Also check out:


Grok

Ipod Porn on the
Rise

Brief Abstract of
Wikipedia's
Mesothelioma Cancer
page

Get first aid
instructions in your
cell phone

IE is crap
JSPWiki gains
podcasting support

Downloading RealOne
Player ouside the
USA

MS Office and
Network Home
Directories

Set up SpamAssassin
Milter on OS X's
sendmail

Create self-updating
custom slideshow
screensavers

Start the Squid web
proxy as a service
at start up

Avoid Finder
problems with mount
points

Linux Advisory Watch
- March 14th, 2003

MySQL grows up with
certification

MySQL goes legit
with certification

More cool toys
Book Review: Linux
Apache Web Server
Administration, 2nd
Ed.

FileRevival v1.2
Trend Micro Pattern
File March 14, 2003

ViRC v2.00 RC5
MailWasher v2.0.40
eMule v0.27a
MuzicMan v4.3 Build
311

RaidenFTPD v2.4
Build 326

PortTunnel
v1.6.10.197

14-March-2003 --
Good News Web
Designers
Association

14-March-2003 --
eBayersThatSuck.com

Stop the madness...
Help send Chris
Allbritton to Iraq

Ari's doublespeak
does Orwell proud

Pakistan Creates
Cyber Crime Wing

Senate OKs Late-Term
Abortion Ban

FCC Debates Airwave
Usage

Abortion Rule May
Hinder AIDS Aid

E-Mail Case Goes to
Trial Again

Fretting About the
State of FOIA

Colonizing Down
Under (the Earth)

'Honest, We're the
Good Guys'

Will Airport
Security Plan Fly?

Reporter Takes His
Weblog to War

The Parting Shot :
March 14, 2003

Update on the
Strange SCO Case

Audioscrobbler is
back

eBay Today: Holiday
Special

Vote: Most
Influential Film

Shop@Hasbro UK
Updates

More 2003 Previews
What's New At
StarWars.com?

Meet Admiral Saul
Karath

xReporter 1.1
Dustismo 1.94
4tH compiler 3.3d2
(Development)

Conan 1.0
A Milky Theme 1.0
Opera-Right-Pronto!
0.3b (Development)

Leif 0.1
what is grok?