Highscore
Type: Posts; User: Bodsda; Keyword(s):
Highscore
That's asking for your sudo password. Just enter your normal Ubuntu password. The partition will be mounted in a temporary directory outside of your home directory, and therefore requires elevated...
I won't comment on the CPU usage as others have already covered that, but here is my list of issues in that code
non-descriptive variable names
pointless variables used once
reuse of variable...
The trick to SQL is knowing what it actually returns before writing a 2 or more part query. Try running SELECT COUNT(*) against your tables with certain where clauses and see how it changes, then...
You have some code that does nothing other than check and reply to a PING and to send a short message when you encounter !hello
What you first need, as others have pointed out, is to identify when...
Don't worry about it, just a minor delay - we should have #29 up in a week or so, the link will be reposted then.
EDIT: Back up!
It's a string method
http://docs.python.org/2/library/stdtypes.html#string-methods
line = "This is foo"
line.replace("foo", "bar")
We'd need a lot more info, such as how the VPN is configured, what type of traffic it accepts, what you normally use it for. It would also be useful to see your routing table
Having said that,...
There is a simple example in the link that was posted.
I suggest you read that first and then ask for further help if you're still having problems.
Bodsda
Assuming the output is delivered line by line, you can pipe to awk to get just the first column
command | awk '{print $1}'
Store the output, or run your comparison directly against that in...
I'm more surprised that it let you enter a NULL value into a primary key column. But hey-ho
Judging by your code, I would be asking if regular expressions are a good candidate here.
I'm not at a linux box at the moment, so can't confirm but I expect you can extract this info with some well...
Morning all, it's great to see people stepping in to keep these challenges going. Now, we haven't had a reply to this thread for quite a while, and I've been unable to get in touch with Bachstelze....
I personally don't like the idea of community wide editable tutorials. I would prefer to see the old T&T back to how it was, but with mandatory information such as version numbers so that the reader...
Not an IDE, but vim is my choice
Assuming this is a streaming service and you don't place any pay-per-view payment systems in place then the only charge anyone will incur is the user if they go over their tariff's data usage limit....
Can I suggest that you run some of the code that you have been given, find the one that has the best output for your needs, analyse it and adapt to suit.
What would you be learning if we write it...
Except the python interpreter on their site is shocking and relies on people writing reliable test cases; which more often then not, they don't.
I would start with the sticky in this forum. ...
You should also consider changing your shebang line to use the standard python environment variable.
This will ensure that you're scripts still work if the python executable location is changed
...
First thing that springs to mind is faulty hardware. Try using the the wireless instead of wired or vice versa.
You could also try a USB wifi dongle.
Failing that I would take it apart and...
Hi,
Can you paste the output of the following command please.
lspci | grep -i vga
This will help us identify which graphics card driver you need and which tools to use to configure the...
Beginners Programming Challenge #28
Bodsda,
Ubuntu Beginners Team
Write a web browser with just 3 features. URL input, Forward and Backward buttons.
Bodsda