Computing desk | ||
---|---|---|
< March 18 | << Feb | March | Apr >> | March 20 > |
Welcome to the Wikipedia Computing Reference Desk Archives |
---|
The page you are currently viewing is an archive page. While you can leave answers for any questions shown below, please ask new questions on one of the current reference desk pages. |
Is the 725-page GNU Octave Manual available anywhere in PDF format? Thanks. Rocketshiporion ♫ 01:50, 19 March 2011 (UTC)
octave-3.4.0/doc/interpreter/octave.pdf
¦
Reisio (
talk) 02:30, 19 March 2011 (UTC)I have a html file and want to delete all strings except those within <img> element. What program or method can do this job? Please give me some advices or recommendations, thank you! By the way, I am using Windows.-- Merry Rabbit 05:02, 19 March 2011 (UTC)
python example
|
---|
#!/usr/bin/python
from BeautifulSoup import BeautifulSoup
import urllib
data = urllib.urlopen('http://mcwalter.org').read()
soup = BeautifulSoup(data)
for x in soup.findAll('img'):
print str(x)[5:-2 # print the tag as a string
print x.attrs # print the tag as a list of (attrib,value) tuples
|
python example'
|
---|
#!/usr/bin/python
from BeautifulSoup import BeautifulSoup
import urllib, urlparse
url = 'http://mcwalter.org'
#data = urllib.urlopen(url).read()
data = open('index.html').read()
soup = BeautifulSoup(data)
for x in soup.findAll('img'):
if x.has_key('src'):
print urlparse.urljoin(url,x'src'])
|
Traceback (most recent call last): File "C:\1.py", line 8, in <module> data = open('index.html').read() IOError: [Errno 2] No such file or directory: 'index.html'
I recently downloaded this new IE9 thinking it will be even better than the previous version. How do I get rid of it?
So far as I can tell, mostly they have just deleted some of the useful little tools for getting around the internet easier, the little button in the corner that opens a screen with all the tabs listed across it has disappeared, the menu of recently visited sites is a lot smaller and all the little buttons for my favourite sites have gone, which makes finding for example this site take rather longer. Meanwhile, all the text has come up really big and bold, which I don't like. Although, I do like the new tabs page, with the list of sites ordered by popularity, with that little bar showing how often I visit each of them. If I could have that in place of IE8's 'new tabs page', that would be even better.
148.197.121.205 ( talk) 11:17, 19 March 2011 (UTC)
So, I can't simply download the earlier version again? That would be a bit easier, I think. 148.197.121.205 ( talk) 15:01, 19 March 2011 (UTC)
Actually after all that, I think I might give it a second chance, as it is, I'll most likely be getting a new computer soon. Instead, what I want to do now is find some way to get all the text back to normal size, at the moment on half the sites it is all in bold for no apparent reason. Then, if I can find out what is up with these 'quick tabs' or whatever that was, that seem to have disappeared, I might be happy. 148.197.121.205 ( talk) 18:59, 19 March 2011 (UTC)
Quick tabs are back, I found a keyboard shortcut for them, favourites bar buttons are back, and all the other clutter I never used has gone, I think I actually quite like this upgrade now, if only someone can tell my how to get the text back out of bold... 148.197.121.205 ( talk) 19:22, 19 March 2011 (UTC)
I don't know much about parallel computing. Is there some way to distribute a CPU load over a number of ordinary laptop computers? I'm trying to run a Max patch for live audio processing, and the patch, by necessity, uses a lot of CPU. I imagen a system for using the CPUs of multiple computers would require a program to distribute the workload among the different machines? Does such a program exist? I've looked through a lot of articles. Pages like Beowulf (computing) don't seem directly applicable to what I need to do, but maybe I just haven't found the right page yet. Thanks, -- 145.116.9.163 ( talk) 17:52, 19 March 2011 (UTC)
I have just received a new motherboard in the mail, and I have two old CPUs sitting around. The first is an , and the second an . They both support a PGA478 socket, so I appear to be able to use either (unless I'm mistaken... the motherboard says mPGA478MT).
My question: which CPU will be better for which purposes?
From what I can see, the only thing better about the first one is that it supports 64-bit technology. As such, it will only be better if I'm running processor intensive math programs, which I'm not. Should I go with CPU 2? Magog the Ogre 2 ( talk) 21:03, 19 March 2011 (UTC)
Yikes! Two different answers does not make me happy! To clarify: I have 3GB of RAM I plan on using (IIRC the motherboard supports only up to 4GB), and I already uninstalled my 64-bit OS a while ago, as it seemed to be buggier than its 32-bit counterpart (even on Ubuntu), and as my processor at the time only supported a 32-bit OS. Magog the Ogre 2 ( talk) 21:26, 19 March 2011 (UTC)
Nil Einne - perhaps you can explain what the improvements would be for the first system, as Finlay disagrees based on numbers alone. Magog the Ogre 2 ( talk) 21:41, 19 March 2011 (UTC)
Also, this site's benchmark says the 2390 (i.e., the first one) performs better. Magog the Ogre 2 ( talk) 21:45, 19 March 2011 (UTC)
Right you are. Thanks Looie496. Magog the Ogre 2 ( talk) 21:55, 19 March 2011 (UTC)
Computing desk | ||
---|---|---|
< March 18 | << Feb | March | Apr >> | March 20 > |
Welcome to the Wikipedia Computing Reference Desk Archives |
---|
The page you are currently viewing is an archive page. While you can leave answers for any questions shown below, please ask new questions on one of the current reference desk pages. |
Is the 725-page GNU Octave Manual available anywhere in PDF format? Thanks. Rocketshiporion ♫ 01:50, 19 March 2011 (UTC)
octave-3.4.0/doc/interpreter/octave.pdf
¦
Reisio (
talk) 02:30, 19 March 2011 (UTC)I have a html file and want to delete all strings except those within <img> element. What program or method can do this job? Please give me some advices or recommendations, thank you! By the way, I am using Windows.-- Merry Rabbit 05:02, 19 March 2011 (UTC)
python example
|
---|
#!/usr/bin/python
from BeautifulSoup import BeautifulSoup
import urllib
data = urllib.urlopen('http://mcwalter.org').read()
soup = BeautifulSoup(data)
for x in soup.findAll('img'):
print str(x)[5:-2 # print the tag as a string
print x.attrs # print the tag as a list of (attrib,value) tuples
|
python example'
|
---|
#!/usr/bin/python
from BeautifulSoup import BeautifulSoup
import urllib, urlparse
url = 'http://mcwalter.org'
#data = urllib.urlopen(url).read()
data = open('index.html').read()
soup = BeautifulSoup(data)
for x in soup.findAll('img'):
if x.has_key('src'):
print urlparse.urljoin(url,x'src'])
|
Traceback (most recent call last): File "C:\1.py", line 8, in <module> data = open('index.html').read() IOError: [Errno 2] No such file or directory: 'index.html'
I recently downloaded this new IE9 thinking it will be even better than the previous version. How do I get rid of it?
So far as I can tell, mostly they have just deleted some of the useful little tools for getting around the internet easier, the little button in the corner that opens a screen with all the tabs listed across it has disappeared, the menu of recently visited sites is a lot smaller and all the little buttons for my favourite sites have gone, which makes finding for example this site take rather longer. Meanwhile, all the text has come up really big and bold, which I don't like. Although, I do like the new tabs page, with the list of sites ordered by popularity, with that little bar showing how often I visit each of them. If I could have that in place of IE8's 'new tabs page', that would be even better.
148.197.121.205 ( talk) 11:17, 19 March 2011 (UTC)
So, I can't simply download the earlier version again? That would be a bit easier, I think. 148.197.121.205 ( talk) 15:01, 19 March 2011 (UTC)
Actually after all that, I think I might give it a second chance, as it is, I'll most likely be getting a new computer soon. Instead, what I want to do now is find some way to get all the text back to normal size, at the moment on half the sites it is all in bold for no apparent reason. Then, if I can find out what is up with these 'quick tabs' or whatever that was, that seem to have disappeared, I might be happy. 148.197.121.205 ( talk) 18:59, 19 March 2011 (UTC)
Quick tabs are back, I found a keyboard shortcut for them, favourites bar buttons are back, and all the other clutter I never used has gone, I think I actually quite like this upgrade now, if only someone can tell my how to get the text back out of bold... 148.197.121.205 ( talk) 19:22, 19 March 2011 (UTC)
I don't know much about parallel computing. Is there some way to distribute a CPU load over a number of ordinary laptop computers? I'm trying to run a Max patch for live audio processing, and the patch, by necessity, uses a lot of CPU. I imagen a system for using the CPUs of multiple computers would require a program to distribute the workload among the different machines? Does such a program exist? I've looked through a lot of articles. Pages like Beowulf (computing) don't seem directly applicable to what I need to do, but maybe I just haven't found the right page yet. Thanks, -- 145.116.9.163 ( talk) 17:52, 19 March 2011 (UTC)
I have just received a new motherboard in the mail, and I have two old CPUs sitting around. The first is an , and the second an . They both support a PGA478 socket, so I appear to be able to use either (unless I'm mistaken... the motherboard says mPGA478MT).
My question: which CPU will be better for which purposes?
From what I can see, the only thing better about the first one is that it supports 64-bit technology. As such, it will only be better if I'm running processor intensive math programs, which I'm not. Should I go with CPU 2? Magog the Ogre 2 ( talk) 21:03, 19 March 2011 (UTC)
Yikes! Two different answers does not make me happy! To clarify: I have 3GB of RAM I plan on using (IIRC the motherboard supports only up to 4GB), and I already uninstalled my 64-bit OS a while ago, as it seemed to be buggier than its 32-bit counterpart (even on Ubuntu), and as my processor at the time only supported a 32-bit OS. Magog the Ogre 2 ( talk) 21:26, 19 March 2011 (UTC)
Nil Einne - perhaps you can explain what the improvements would be for the first system, as Finlay disagrees based on numbers alone. Magog the Ogre 2 ( talk) 21:41, 19 March 2011 (UTC)
Also, this site's benchmark says the 2390 (i.e., the first one) performs better. Magog the Ogre 2 ( talk) 21:45, 19 March 2011 (UTC)
Right you are. Thanks Looie496. Magog the Ogre 2 ( talk) 21:55, 19 March 2011 (UTC)