IRC logs of #boinc for Wednesday, 2009-11-18

00:16 *** stux|RC-only has quit IRC

00:17 *** stux|RC-only has joined #boinc

00:24 *** Tank_Master has joined #boinc

00:43 *** Eythan has quit IRC

00:49 *** Eythan has joined #boinc

00:57 *** desti has quit IRC

00:57 *** desti has joined #boinc

02:11 *** SolitonWave has quit IRC

02:50 *** Masterx831 has joined #boinc

02:50 <Masterx831> kathryn__: come with us

02:53 *** jackygrahamez__ has joined #boinc

02:54 *** PovAddict_ has joined #boinc

02:55 *** PovAddict has quit IRC

02:55 *** up365 has quit IRC

02:55 *** jasong has quit IRC

02:55 *** jackygrahamez_ has quit IRC

02:55 *** Celelibi has quit IRC

02:57 *** Celelibi has joined #boinc

03:03 *** up365 has joined #boinc

03:03 *** jasong has joined #boinc

03:33 *** efc has quit IRC

03:37 *** MTughan has quit IRC

03:38 *** MTughan has joined #boinc

03:38 *** MTughan is now known as Guest93767

04:05 *** kathryn_ has joined #boinc

04:11 *** kathryn__ has quit IRC

04:58 *** Pizik has quit IRC

05:10 *** oobe has joined #boinc

05:42 *** agrabah has joined #boinc

05:49 *** jasong1 has joined #boinc

05:58 *** agrabah has left #boinc

06:02 *** Pizik has joined #boinc

06:05 *** jasong has quit IRC

06:09 *** kathryn_ is now known as KathrynM

06:27 <wdsmia> &wx 50319

06:27 <Romulus> wdsmia: Temperature: 40.8F / 4.9C | Humidity: 84% | Pressure: 30.04in / 1017.2hPa (Steady) | Conditions: Light Rain | Wind Direction: NE | Wind Speed: 0.0mph / 0.0km/h ; Today - Cloudy with a 50 percent chance of light rain. High in the mid 40s. Northeast wind 5 to 10 mph.; Tonight - Cloudy with a 50 percent chance of light rain. Low in the mid 30s. East wind around 5 mph shifting to the south up (1 more message)

06:27 <wdsmia> &more

06:27 <Romulus> wdsmia: to 5 mph after midnight.; Thursday - Cloudy. High in the upper 40s. West wind near 5 mph shifting to the southwest in the afternoon.;

08:01 *** jackygrahamez__ is now known as jackygrahamez_

08:20 *** |Erkan_Yilmaz| has joined #boinc

08:23 *** wdsmia_w has joined #boinc

08:37 *** Erkan_Yilmaz has quit IRC

08:53 *** desti has quit IRC

08:54 *** desti has joined #boinc

09:19 *** Aeternus has joined #boinc

11:12 *** Guest93767 is now known as MTughan

11:44 *** PovAddict_ is now known as PovAddict

12:11 *** fcestrada has joined #boinc

12:14 *** Aeternus has quit IRC

12:30 *** yoyo[RKN] has joined #boinc

12:31 *** RomW has joined #boinc

12:38 *** yoyo[RKN] has quit IRC

12:40 *** |Erkan_Yilmaz| has quit IRC

12:51 <Tank_Master> &wx 97123

12:51 <Romulus> Tank_Master: Temperature: 44.1F / 6.7C | Humidity: 82% | Pressure: 30.15in / 1020.9hPa (Falling) | Conditions: Mostly Cloudy | Wind Direction: SSW | Wind Speed: 0.0mph / 0.0km/h ; Today - Mostly cloudy. Showers likely this morning...then a chance of rain in the afternoon. Highs 45 to 50. Southeast wind 10 to 20 mph.; Tonight - Rain likely. Breezy. Lows around 40. Southeast wind 15 to 25 mph.; (1 more message)

12:52 <Tank_Master> &more

12:52 <Romulus> Tank_Master: Thursday - Rain likely. Breezy. Highs around 50. Southeast wind 15 to 25 mph.;

12:52 *** Tank_Master has left #boinc

12:52 *** Tank_Master has joined #boinc

13:00 *** yoyo[RKN] has joined #boinc

13:00 *** Erkan_Yilmaz has joined #boinc

13:10 *** yoyo[RKN] has quit IRC

13:10 *** yoyo[RKN] has joined #boinc

13:34 *** Lorvija has joined #boinc

13:47 <yoyo[RKN]> moin

13:47 <yoyo[RKN]> have a stupid shell script question

13:47 <yoyo[RKN]> why is $RC not set at the end here:

13:47 <yoyo[RKN]> export RC

13:47 <yoyo[RKN]> echo xxxx; RC=$? | cat

13:47 <yoyo[RKN]> echo "aa $RC"

13:48 *** XioNYC is now known as xionyc

13:49 <PovAddict> seems the |cat breaks it but I don't know why

13:49 <PovAddict> I think that's running cat with RC=$? in its environment, but not setting the variable in the shell as a whole

13:49 <PovAddict> like how you can do:

13:50 <PovAddict> LANG=C ./someprogram

13:51 <yoyo[RKN]> But I want to have the exit code of the first command for later usage?

13:51 <PovAddict> then use echo xxxx; RC=$?

13:52 <yoyo[RKN]> i want also pipe the echo xxxx to the next command

13:52 <PovAddict> well your original snippet is not doing that anyway

13:52 <yoyo[RKN]> I have:

13:53 <yoyo[RKN]> c1 | c2 | c3

13:53 <yoyo[RKN]> later I need the eit code of c1

13:53 <yoyo[RKN]> exit code

13:53 <PovAddict> if you do c1; RC=$? | c2 you're not piping c1 output into c2 input anyway

13:54 <yoyo[RKN]> maybe (c1 ; RC=$?) | c2

13:55 <PovAddict> nope, that would definitely define RC only inside the ( subshell )

13:55 <PovAddict> what's the shell script for?

13:56 <yoyo[RKN]> creating wus

13:56 <yoyo[RKN]> c1 creates wus and pipes the stderr/stdout to | mail ...

13:56 <PovAddict> and what do you do with RC afterwards?

13:56 <yoyo[RKN]> but if $? != 0 I will do something else

13:57 <PovAddict> c1's output is sent to mail *before it quits*

13:57 <PovAddict> by the time mail runs, c1 didn't quit, so it doesn't have an exit code yet, so you can't make decisions from that

13:57 <yoyo[RKN]> c1 | tail -5 | mail ...

13:58 <PovAddict> yup, that starts c1, tail, and mail at the same time

13:58 <PovAddict> before c1 quits and you get its exit code, mail already got the data

13:58 <yoyo[RKN]> that is ok

13:59 <PovAddict> I thought you wanted to not send the mail depending on the exit code

13:59 <yoyo[RKN]> wrong

13:59 <yoyo[RKN]> lets assume it works, than I would write

14:00 <yoyo[RKN]> c1 ecm_op; RC=$? | tail -5 | mail ....

14:00 <yoyo[RKN]> if [ $RC != 0 ]

14:00 <yoyo[RKN]> then

14:01 <yoyo[RKN]> c1 ecm_xy | tail -5 | mail ...

14:01 <yoyo[RKN]> fi

14:01 <PovAddict> ( c1 ecm_op; if [ $? != 0 ] then ... fi ) | tail -5 | mail

14:01 <PovAddict> convoluted...

14:02 <PovAddict> there has to be a better way

14:02 <jackygrahamez_> Has anyone here used the workunit assignments?

14:02 <PovAddict> jackygrahamez_: I have

14:02 <PovAddict> jackygrahamez_: but all I cared about was whether the workunits crashed or not, so I had no validator or assimilator, I looked at the failed WUs manually

14:02 <jackygrahamez_> any recommendations on how to clean our the files after they are done like an assimilator or file_deleter?

14:03 <jackygrahamez_> same with me but how do I clean things out

14:03 <jackygrahamez_> I guess I could name the input files differently

14:04 <yoyo[RKN]> I can make: c1 ecm_op > tmp; RC=$?; tail -5 tmp | mail ...

14:04 <PovAddict> how would that help anything?

14:04 <PovAddict> yoyo[RKN]: yes, or this

14:04 <jackygrahamez_> maybe if I insert asgn as a prefix for all input files

14:04 <PovAddict> ( c1 ecm_op; echo $? > tmp; ) | tail -5 | mail; if [ `cat tmp` != 0 ] then...

14:05 <PovAddict> jackygrahamez_: I don't think BOINC looks for 'asgn' in files, only in WU names

14:05 <yoyo[RKN]> also nice

14:06 <jackygrahamez_> if I name them that way I can run find . "asgn*" -exec rm {} \;

14:06 <PovAddict> jackygrahamez_: ahh good idea

14:31 *** Aeternus has joined #boinc

14:37 *** siofwolves has joined #boinc

14:39 *** jasong1 has quit IRC

15:00 *** |Erkan_Yilmaz| has joined #boinc

15:01 *** jasong has joined #boinc

15:02 *** _Erkan_Yilmaz_ has joined #boinc

15:02 *** Aeternus has quit IRC

15:06 *** Erkan_Yilmaz has quit IRC

15:20 *** |Erkan_Yilmaz| has quit IRC

15:48 *** rmayorga_ has joined #boinc

15:49 *** rmayorga has quit IRC

15:49 *** rmayorga_ is now known as rmayorga

16:35 *** yoyo[RKN] has quit IRC

16:37 *** wdsmia_w has quit IRC

16:56 <CoderForLife> plink 83.243.58.156

17:08 *** Aeternus has joined #boinc

17:18 *** siofwolves has quit IRC

17:31 <wdsmia> re-hi

17:39 <Tank_Master> re-wb

17:40 * wdsmia thows Tank_Master back into the crevasse

18:58 <CoderForLife> back into the pit that spawned thee

18:59 <jackygrahamez_> I'm sorry

19:00 *** Aeternus has quit IRC

19:45 *** synapt has quit IRC

20:44 *** efc has joined #boinc

20:58 *** zombie67 has joined #boinc

21:02 <jackygrahamez_> I sent a little info about our latest errors on DD@H

21:07 <Tank_Master> cool

21:07 <jackygrahamez_> I got another question

21:08 <jackygrahamez_> if I want to create a condition at the end of the workunit to upload a file if my analysis meets a certain criteria, are there any recommended approaches?

21:09 <jackygrahamez_> I am thinking about writing a script to analyze and then decide to include this file in an archive that gets uploaded...but I'm not sure if there is a way to run a bash script in the job file

21:10 <jackygrahamez_> or I guess I could use some python

21:10 <jackygrahamez_> I have not tried this pywrapper yet

21:23 *** Turf has quit IRC

21:31 <Tank_Master> zip contents of c: and upload?

21:31 <Tank_Master> :P

21:32 * wdsmia thows $$ back into the crevasse that spawned thee

21:33 * wdsmia thows Tank_Master back into the crevasse that spawned thee

21:35 <jackygrahamez_> I'm not that crazy

21:37 <Docteh> dd@h?

21:37 <Romulus> dd@h is back up, Docteh

21:38 <MTughan> DrugDiscovery@Home

21:38 <jackygrahamez_> yo

21:38 <MTughan> forget dd@h

21:38 <Romulus> I hear ya!

21:38 <MTughan> dd@h is DrugDiscovery@Home

21:38 <MTughan> dd@h?

21:38 <Romulus> dd@h is DrugDiscovery@Home, MTughan

21:38 <MTughan> There.

21:41 *** wdsmia has quit IRC

21:45 *** wdsmia has joined #Boinc

21:56 *** synapt has joined #boinc

21:59 <PovAddict> xcamel seriously has to do something with those factoids

22:00 <PovAddict> either permanently disable moobotfactoids, or permanently disable factoids and configure moobot to only store things if you address the bot, not just any "a is b" that it sees in the channel

22:00 <PovAddict> &whatis dd@h

22:00 <Romulus> PovAddict: "dd@h" could be (#1) DrugDiscovery@Home, new BOINC project, models the behavior of leading compounds that could be developed into new medicines, or (#2) Main site w/information http://drugdiscoveryathome.com/, or (#3) BOINC page: http://boinc.drugdiscoveryathome.com/

22:01 <PovAddict> dd@h is jackygrahamez's project

22:01 <PovAddict> dd@h?

22:01 <Romulus> Somebody said dd@h is DrugDiscovery@Home, PovAddict

22:02 <jackygrahamez_> he PovAddict. I'm trying to write a bash script

22:02 <jackygrahamez_> hehe

22:03 <jackygrahamez_> guess I should learn a little more about awk

22:08 <zombie67> yes, please cancel the long running, always erroring tasks

22:08 <zombie67> the kind of cancel which works, even if the task has started

22:08 <MTughan> &list MoobotFactoids

22:08 <Romulus> MTughan: Error: 'MoobotFactoids' is not a valid plugin.

22:08 <MTughan> PovAddict: It's Infobot, not MoobotFactoids.

22:08 <Docteh> &list swords

22:08 <Romulus> Docteh: Error: 'swords' is not a valid plugin.

22:08 <PovAddict> whatever

22:08 <Docteh> :(

22:09 <MTughan> &list Infobot

22:09 <Romulus> MTughan: stats, status, tell, and update

22:10 <jackygrahamez_> will do

22:35 <zombie67> thanks!

23:10 *** fcestrada1 has joined #boinc

23:32 *** fcestrada has quit IRC

Generated by irclog2html.py 2.4 by Marius Gedminas - find it at mg.pov.lt!