Computing desk | ||
---|---|---|
< April 6 | << Mar | April | May >> | April 8 > |
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. |
You see, I have a sinking feeling about this. Am I being lured into a trap? Or are they trying to liquidate their stock?
www.buydigitalproduct.com/toshiba-excite-at305t32-10-1-inch-32-gb-tablet-computer-wi-fi-nvidia-tegra-3-1-20-ghz?language=en¤cy=USD $2.70 for THAT kind of tablet makes me wonder about its legitimacy.]
www.buydigitalproduct.com/index.php?route=information/contact This is where I find the store's supposed contact information. The next link proves that Google Maps doesn't know about "Jerry Dove Drive."]
Google Maps won't find Jerry Dove Drive anywhere in that town!
This WHOIS lookup doesn't provide this store site owner's info because some kind of infoguard keeps it hidden. Is this normal of any online store? Or would legit online stores allow their info to be made public on a WHOIS lookup?
I need help knowing more about this store before I enter sensitive details to buy this tablet for supposedly $2.70. Why do you think they'd price it THIS low? Hopefully you can help me figure out how genuine all this is. Thanks! -- 2602:30A:2EE6:8600:F9AF:6350:3C80:67FE ( talk) 02:55, 7 April 2014 (UTC)
There's currently this Wikipedia art project in progress, where they're going to print out wikipedia at a snapshot and arrange it into an encyclopedia to physically visualise the scope of the wikipedia project, updates would be delivered real time by an old 'neverending print roll' type printer.
Which gave me an idea - is there a current way to browse wikipedia at a default date? so you could search for articles at a current point in time and for it to come up instead of going through the history tab? I think this would make for an interesting educational and fun tool in the future to show how understanding changes.
I don't know if you've ever thumbed through old encyclopedias, but it's a fun and enlightening experience - it'd be nice to do the same virtually.
Wikipedia has been around since January 2001, as an example, the world trade center didn't even warrant a mention until October. Little things like that.
Does this exist now? I had a look at the special pages and I couldn't see anything particularly relevant.
If it does not - where would be the best place to put in a 'feature request'? — Preceding unsigned comment added by Posty ( talk • contribs) 03:47, 7 April 2014 (UTC)
I'm not sure it's actually correct that the World Trade Center " didn't even warrant a mention until October" of 2001. Notice that on that old-version page both the "next revision" and "previous revision" links actually point to the same version. And if you go to the article history and hit "oldest", you will see that the entry corresponding to that version shows the size reduced by tens of thousands of bytes from a previous version that isn't there. Compare, say, the article on the current baseball season which was created last year; if you look at its oldest version, the "previous revision" link is grayed out, and the revision history shows a positive increase in size with the first version. I think there must have been some technical change in October 2001 which is causing the early history of the WTC page to be missing. -- 50.100.193.30 ( talk) 11:22, 7 April 2014 (UTC)
I have a text file which stores a single tweet per line. Each tweet is separated from the next tweet by a blank line. I wrote the following bit of code in Python to read the text file, store the tweets in a list variable, and print all the tweets which start with an "R" (retweets). However, everytime I run this, the code runs okay for a part of the text file and then stops abruptly and gives me a "list index out of range error". Can anyone point out to me where I'm going wrong?
tweet_db=[]
with open('C:\Users\La Alquimista\Desktop\hindistream2.txt','r') as f:
for line in f:
if line!=' \n':
tweet_db.append(line)
tok=nltk.word_tokenize(line)
if tok0=="RT":
print line
Thanks in advance. =) La Alquim ista 14:55, 7 April 2014 (UTC)
Rich Farmbrough: It's because some tweets have a \n character of their own, and I would want to separate each tweet. If the additional \n to separate tweets wasn't written into the file, I'd have trouble reading it, and would mistake the second line of a multiline tweet for a new tweet. La Alquim ista 06:07, 10 April 2014 (UTC)
I use google maps which has recently ?updated automatically so that I have a different map presentation. There are a cluster of icons and buttons in the lower left corner and a black square in the lower right corner. They all offer an invitation to click by a change of cursor but they are all inactive. I cannot find any way to bird's eye view or street view. I have followed "The Tour" intended to explain the new format but it is almost incomprehensible offering no answer to my needs. I can zoom in and out and that's about it. What can I do to either go back to the old format (if that's possible) or to properly install the new version. With thanks in anticipation. Richard Avery ( talk) 15:38, 7 April 2014 (UTC)
I am running Fedora 17 Linux on a computer that is already more than half a decade old. My workplace offered to give me a more powerful computer for home use, but the thing is, it runs Windows 8, and the company wants to keep it that way, so I can use it for work as well. Now the computer has two HD bays but is only using one of them, so I agreed with my boss that I can install the drive from my old computer to it as well.
Here's how this is supposed to go: I install my old computer's HD to the vacant bay in the new computer and connect both drives. I then upgrade the Linux installation from Fedora 17 to Fedora 20, installing a dual-boot system in the process. When the computer powers up, it gives me a choice of OS to load. If I leave it alone for a few seconds, it loads Linux, but if I choose so, it loads Windows instead. The whole Linux installation and the boot loader are on my old HD. The new computer's existing Windows HD must be left absolutely intact. I would also very much like to keep all my personal files on the old Linux HD, luckily they are all on a separate partition from the system (/
) and boot (/boot
) partitions.
Is this thing possible? If so, then how? JIP | Talk 18:12, 7 April 2014 (UTC)
tweet=re.sub('[http://\w*]','',tweet)
tweet=re.sub('http://\w*','',tweet)
What difference will the extra square brackets make in the code, if any? La Alquim ista 21:12, 7 April 2014 (UTC)
So if I wanted the regular expression to match only a URL (nothing before that, nothing after that), then my code should look something like this?
tweet=re.sub('http://[^ ]*','',tweet)
What is the difference between writing the any-character-except-a-space part as [^ ] and as [^\s]? Much thanks.
La
Alquim
ista
10:21, 8 April 2014 (UTC)
@Shadowjams: Heh heh. You're right. I'm very new to regex, and need it only for part of my code, so I'm unwilling to teach myself all the nitty gritties right away. What I want to do is take a line of text and delete any urls (starting with http:// or https://) from it. La Alquim ista 09:24, 9 April 2014 (UTC)
Computing desk | ||
---|---|---|
< April 6 | << Mar | April | May >> | April 8 > |
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. |
You see, I have a sinking feeling about this. Am I being lured into a trap? Or are they trying to liquidate their stock?
www.buydigitalproduct.com/toshiba-excite-at305t32-10-1-inch-32-gb-tablet-computer-wi-fi-nvidia-tegra-3-1-20-ghz?language=en¤cy=USD $2.70 for THAT kind of tablet makes me wonder about its legitimacy.]
www.buydigitalproduct.com/index.php?route=information/contact This is where I find the store's supposed contact information. The next link proves that Google Maps doesn't know about "Jerry Dove Drive."]
Google Maps won't find Jerry Dove Drive anywhere in that town!
This WHOIS lookup doesn't provide this store site owner's info because some kind of infoguard keeps it hidden. Is this normal of any online store? Or would legit online stores allow their info to be made public on a WHOIS lookup?
I need help knowing more about this store before I enter sensitive details to buy this tablet for supposedly $2.70. Why do you think they'd price it THIS low? Hopefully you can help me figure out how genuine all this is. Thanks! -- 2602:30A:2EE6:8600:F9AF:6350:3C80:67FE ( talk) 02:55, 7 April 2014 (UTC)
There's currently this Wikipedia art project in progress, where they're going to print out wikipedia at a snapshot and arrange it into an encyclopedia to physically visualise the scope of the wikipedia project, updates would be delivered real time by an old 'neverending print roll' type printer.
Which gave me an idea - is there a current way to browse wikipedia at a default date? so you could search for articles at a current point in time and for it to come up instead of going through the history tab? I think this would make for an interesting educational and fun tool in the future to show how understanding changes.
I don't know if you've ever thumbed through old encyclopedias, but it's a fun and enlightening experience - it'd be nice to do the same virtually.
Wikipedia has been around since January 2001, as an example, the world trade center didn't even warrant a mention until October. Little things like that.
Does this exist now? I had a look at the special pages and I couldn't see anything particularly relevant.
If it does not - where would be the best place to put in a 'feature request'? — Preceding unsigned comment added by Posty ( talk • contribs) 03:47, 7 April 2014 (UTC)
I'm not sure it's actually correct that the World Trade Center " didn't even warrant a mention until October" of 2001. Notice that on that old-version page both the "next revision" and "previous revision" links actually point to the same version. And if you go to the article history and hit "oldest", you will see that the entry corresponding to that version shows the size reduced by tens of thousands of bytes from a previous version that isn't there. Compare, say, the article on the current baseball season which was created last year; if you look at its oldest version, the "previous revision" link is grayed out, and the revision history shows a positive increase in size with the first version. I think there must have been some technical change in October 2001 which is causing the early history of the WTC page to be missing. -- 50.100.193.30 ( talk) 11:22, 7 April 2014 (UTC)
I have a text file which stores a single tweet per line. Each tweet is separated from the next tweet by a blank line. I wrote the following bit of code in Python to read the text file, store the tweets in a list variable, and print all the tweets which start with an "R" (retweets). However, everytime I run this, the code runs okay for a part of the text file and then stops abruptly and gives me a "list index out of range error". Can anyone point out to me where I'm going wrong?
tweet_db=[]
with open('C:\Users\La Alquimista\Desktop\hindistream2.txt','r') as f:
for line in f:
if line!=' \n':
tweet_db.append(line)
tok=nltk.word_tokenize(line)
if tok0=="RT":
print line
Thanks in advance. =) La Alquim ista 14:55, 7 April 2014 (UTC)
Rich Farmbrough: It's because some tweets have a \n character of their own, and I would want to separate each tweet. If the additional \n to separate tweets wasn't written into the file, I'd have trouble reading it, and would mistake the second line of a multiline tweet for a new tweet. La Alquim ista 06:07, 10 April 2014 (UTC)
I use google maps which has recently ?updated automatically so that I have a different map presentation. There are a cluster of icons and buttons in the lower left corner and a black square in the lower right corner. They all offer an invitation to click by a change of cursor but they are all inactive. I cannot find any way to bird's eye view or street view. I have followed "The Tour" intended to explain the new format but it is almost incomprehensible offering no answer to my needs. I can zoom in and out and that's about it. What can I do to either go back to the old format (if that's possible) or to properly install the new version. With thanks in anticipation. Richard Avery ( talk) 15:38, 7 April 2014 (UTC)
I am running Fedora 17 Linux on a computer that is already more than half a decade old. My workplace offered to give me a more powerful computer for home use, but the thing is, it runs Windows 8, and the company wants to keep it that way, so I can use it for work as well. Now the computer has two HD bays but is only using one of them, so I agreed with my boss that I can install the drive from my old computer to it as well.
Here's how this is supposed to go: I install my old computer's HD to the vacant bay in the new computer and connect both drives. I then upgrade the Linux installation from Fedora 17 to Fedora 20, installing a dual-boot system in the process. When the computer powers up, it gives me a choice of OS to load. If I leave it alone for a few seconds, it loads Linux, but if I choose so, it loads Windows instead. The whole Linux installation and the boot loader are on my old HD. The new computer's existing Windows HD must be left absolutely intact. I would also very much like to keep all my personal files on the old Linux HD, luckily they are all on a separate partition from the system (/
) and boot (/boot
) partitions.
Is this thing possible? If so, then how? JIP | Talk 18:12, 7 April 2014 (UTC)
tweet=re.sub('[http://\w*]','',tweet)
tweet=re.sub('http://\w*','',tweet)
What difference will the extra square brackets make in the code, if any? La Alquim ista 21:12, 7 April 2014 (UTC)
So if I wanted the regular expression to match only a URL (nothing before that, nothing after that), then my code should look something like this?
tweet=re.sub('http://[^ ]*','',tweet)
What is the difference between writing the any-character-except-a-space part as [^ ] and as [^\s]? Much thanks.
La
Alquim
ista
10:21, 8 April 2014 (UTC)
@Shadowjams: Heh heh. You're right. I'm very new to regex, and need it only for part of my code, so I'm unwilling to teach myself all the nitty gritties right away. What I want to do is take a line of text and delete any urls (starting with http:// or https://) from it. La Alquim ista 09:24, 9 April 2014 (UTC)