[julia-users] Re: Have Julia send an email (or sound) when code is done

2014-09-18 Thread Jake Bolewski
Yo.jl 

On Thursday, September 18, 2014 12:46:03 PM UTC-4, Alex wrote:

 Hi Everyone, 

 Does anyone know of code that would have julia send an email or text at a 
 certain point in a script. I'm sending some big projects of to a digital 
 ocean droplet and I think this would be a nice thing to add so I can stop 
 obsessively checking my code all day. Here's the stata code that makes it 
 work:

 *stata -b 'yourdofile.do'  echo done body | mail -s done subject 
 [youremail @ yourhost .com] *


  I've done with Stata pretty easily, but I can't quite get it to work with 
 julia. Also with Matlab, it's pretty easy to make it chirp (gong) when 
 a code has successful (unsuccessfully) reached a point. Does anyone know 
 how to do this? Here's the matlab code that makes it work:

 load chirp 
 sound(y,Fs)

 Thanks!

 Alex

 The stata trick was found via: 
 http://scholar.harvard.edu/bauhoff/tricks.html



[julia-users] Re: Have Julia send an email (or sound) when code is done

2014-09-18 Thread Ivar Nesje
Yo.jl is not in METADATA.jl 
https://github.com/JuliaLang/METADATA.jl/pull/1093

You can use the twitter APIs tough, and there is a lot of online APIs that 
can send notifications.

There is also the ancient *print(\x07)* for your amusement, if you happen 
to be within reach of a BELL. 

Regards

kl. 19:44:42 UTC+2 torsdag 18. september 2014 skrev Jake Bolewski følgende:

 Yo.jl 

 On Thursday, September 18, 2014 12:46:03 PM UTC-4, Alex wrote:

 Hi Everyone, 

 Does anyone know of code that would have julia send an email or text at a 
 certain point in a script. I'm sending some big projects of to a digital 
 ocean droplet and I think this would be a nice thing to add so I can stop 
 obsessively checking my code all day. Here's the stata code that makes it 
 work:

 *stata -b 'yourdofile.do'  echo done body | mail -s done subject 
 [youremail @ yourhost .com] *


  I've done with Stata pretty easily, but I can't quite get it to work 
 with julia. Also with Matlab, it's pretty easy to make it chirp (gong) 
 when a code has successful (unsuccessfully) reached a point. Does anyone 
 know how to do this? Here's the matlab code that makes it work:

 load chirp 
 sound(y,Fs)

 Thanks!

 Alex

 The stata trick was found via: 
 http://scholar.harvard.edu/bauhoff/tricks.html



Re: [julia-users] Re: Have Julia send an email (or sound) when code is done

2014-09-18 Thread Cameron McBride
On Thu, Sep 18, 2014 at 1:44 PM, Jake Bolewski jakebolew...@gmail.com
wrote:

 Yo.jl


I thought this was a joke, but naturally, it does exist:
https://github.com/dichika/Yo.jl

Also, not really a julia question -- the stata trick should work just as
well on julia (or anything that goes before the double ampersand).
 However, that trick assumes the code exits successfully.

To continue OT, there is also: echo -e '\a' (or echo ^G supposedly in
Windows).
see,
http://en.wikipedia.org/wiki/Bell_character

Cameron
In any case, also echo \


Re: [julia-users] Re: Have Julia send an email (or sound) when code is done

2014-09-18 Thread Iain Dunning
For emails, check out

https://github.com/JuliaWeb/SMTPClient.jl

On Thursday, September 18, 2014 2:31:48 PM UTC-4, Cameron McBride wrote:


 On Thu, Sep 18, 2014 at 1:44 PM, Jake Bolewski jakebo...@gmail.com 
 javascript: wrote:

 Yo.jl 


 I thought this was a joke, but naturally, it does exist: 
 https://github.com/dichika/Yo.jl

 Also, not really a julia question -- the stata trick should work just as 
 well on julia (or anything that goes before the double ampersand). 
  However, that trick assumes the code exits successfully. 

 To continue OT, there is also: echo -e '\a' (or echo ^G supposedly in 
 Windows).
 see, 
 http://en.wikipedia.org/wiki/Bell_character

 Cameron
 In any case, also echo \