Ask Ubuntu General Room

Normally: General discussion around Ask Ubuntu, Ubuntu & offic...
Jul 29, 2013 15:20
I am having problems with my ubuntu 12.04, it hangs at “checking battery state” , but what is wierd is that when that stage is reached, I open up the terminal by ctrl F5, and cant run anything , sudo is not installed, apt-get is not installed, cant login to superuser, authentication fails
Jun 2, 2013 10:37
Hi guys, I wanted to know that is there a way to create flags that go off when a particular command is executed in the terminal, like for example when someone is messing with ifconfig stuff a message box would appear.
Mar 12, 2013 14:44
Cat is used to view contents of a file or directory
Mar 8, 2013 13:37
and also in function foo() print 'foo' instead of returning 'foo'
Mar 8, 2013 13:34
I got it to work. had to print foo() instead to calling foo()
Mar 8, 2013 13:12
its a college firewall thingy.
Mar 8, 2013 13:10
I dont know dude, when i try to login to the site (askubuntu.com) , it just hangs, even though i am on a high speeed network, and nothing is reported in the console as well.
Mar 8, 2013 13:08
I dont already have an account on askubuntu, and to connect to a new site on the SO network , i need to be on a firewall free connection, so I am out of luck, i guess
Mar 8, 2013 13:06
no
Mar 8, 2013 12:59
I am trying to pipe a string to espeak function from a python file like this [ foo.py | espeak --stdin ] , the contents of foo.py are this [ def foo(): return 'foo' foo() ] (with proper indentation), but it doesnt work ? any clue why this may not be working
Mar 7, 2013 20:27
goodnight people, :D
Mar 7, 2013 20:22
@FEichinger As strange it may sound, I removed that dot and it worked, it freaking worked......
Mar 7, 2013 20:18
but its an executable file
Mar 7, 2013 20:15
Is there something worng with the following address i specified to an executable bash file in my crontab? */1 * * * * ./home/stom/Desktop/bak.sh
Mar 7, 2013 19:40
okay i tried that way [ */1 * * * * source /home/stom/Desktop/apps/twitter_bot/twitter-bot-env/bin/activate;python /home/stom/Desktop/apps/twitter_bot/yugdom_cron.py ] , it still doesnt work,
Mar 7, 2013 19:35
@MarcoCeppi , isnt that necessary to specify absolute address ? and btw it doesnt work without ~ , i tried that way too
Mar 7, 2013 19:33
and it wont work, even with very simple commands like espeak. chat.stackexchange.com/transcript/message/8412330#8412330
Mar 7, 2013 19:33
guys guys , does anyone here have any previous experience working with cronjobs on ubuntu ? I am running 2 commands in the same line in my crontab file [ source ~/Desktop/apps/twitter_bot/twitter-bot-env/bin/activate;python ~/Desktop/apps/twitter_bot/yugdom_cron.py ]
Mar 7, 2013 19:02
So how does one specify 2 commands in a single line in a cron job
Mar 7, 2013 19:01
btw it still doesn't work
Mar 7, 2013 19:00
ok thanks man :)
Mar 7, 2013 18:57
i dont think its working, i am not hearing any I am awesomes
Mar 7, 2013 18:53
I have this line in my crontab file [ */1 * * * * espeak 'i am awesome' && date +%I:%M | espeak --stdin ] , but only half of it, first command gets executed every minute. While when I write this in the terminal it works like a charm. Is there a different way to specify 2 commands in the same crontab ?
Mar 7, 2013 18:22
that was in response to this chat.stackexchange.com/transcript/message/8411606#8411606 forgot to use the usual reply method.
Mar 7, 2013 18:20
@TheLordofTime what parallel universe do you live in ? :p
Mar 7, 2013 18:12
:)
Mar 7, 2013 18:11
uhg just because i am 18, doen not mean everything i build is a homework problem, @TheLordofTime
Mar 7, 2013 18:10
umm, do you know of any ? :)
Mar 7, 2013 18:08
i have to concat the string "the time is" and the current date , and pass it to espeak
Mar 7, 2013 18:07
i am trying to cron up a script , one that speaks the current time every 1 hour. Just like the one is a mac book
Mar 7, 2013 18:06
@FEichinger i am working on it. its not easy
Mar 7, 2013 18:02
thanks :)
Mar 7, 2013 17:58
yes
Mar 7, 2013 17:57
something like concat 'foo' 'bar'
Mar 7, 2013 17:57
string variable, say
Mar 7, 2013 17:56
How can I concate two variables in ubuntu terminal ?
Mar 7, 2013 17:41
thanks @jokerdino, I wonder why this isnt mentioned in the man page of espeak
Mar 7, 2013 17:40
Is: espeak --stdin date : hanging on your ubuntu too ? guys ?
Mar 7, 2013 17:37
I am trying to use espeak to listen to todays date on ubuntu, by using the following command: espeak --stdin date , but it just hangs, nothing is spoken.
 

 Mathematics

Associated with Math.SE; for both general discussion & math qu...
Mar 11, 2013 06:35
@robjohn about the 'start chatjax' bookmarklet, everytime a user comes here he has to make the effort to click on that bookmarklet, is it a good idea to wrap it up as a chrome extension and firefox plugin, that autoloads the script on page load.
Mar 9, 2013 10:27
Checkin it out
Mar 9, 2013 10:25
Its my college firewall, and it blocks a lot of stuff. Its stupid as shit
Mar 9, 2013 10:23
I think its the firewall, yes thats it.
Mar 9, 2013 10:22
@JayeshBadwaik I am able to open Mathjax.org
Mar 9, 2013 10:20
I run the "start chatjax" bookmarklet, from here , nothing happens , and error reported in the console is Uncaught ReferenceError: MathJax is not defined , though it was running like a charm few minutes ago. weird
Mar 9, 2013 10:16
Why do I sound like Michael jackson :p
Mar 9, 2013 10:10
I was once black too, but then I decided to transform to much much cooler avatar, i.e trunks from dbz.
Mar 9, 2013 10:07
I see ;)
Mar 9, 2013 08:42
We need a latex parser for the chatroom.
 
Mar 9, 2013 12:27
@YannisRizos Kudos :D