Jump to content

Wikipedia:Reference desk/Archives/Computing/2011 April 19

From Wikipedia, the free encyclopedia
Computing desk
< April 18 << Mar | April | May >> April 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.


April 19

[edit]

Gmail for BlackBerry

[edit]

So a Google search produces results far too complicated for the likes of me to understand. My question is this: on a BlackBerry, is there a way to set up a Gmail account in the normal email application in such a way that messages deleted or marked 'read' from a normal web-browser are so marked on the BlackBerry and messages deleted or marked 'read' on the BlackBerry are so processed on the normal webmail page? Thanks. ╟─TreasuryTagvoice vote─╢ 08:32, 19 April 2011 (UTC)[reply]

I believe this is what you are looking for. Please note that Gmail imap is not currently supported on the blackberry. Make sure you enable IMAP in gmail settings before starting. Please come back if you have any questions. Kushal (talk) 13:06, 19 April 2011 (UTC)[reply]
Perhaps you could copy-and-paste a quote from that page which answers the question I asked? "My question is this: on a BlackBerry, is there a way to set up a Gmail account in the normal email application in such a way that messages deleted or marked 'read' from a normal web-browser are so marked on the BlackBerry and messages deleted or marked 'read' on the BlackBerry are so processed on the normal webmail page?" – ╟─TreasuryTagbelonger─╢ 13:11, 19 April 2011 (UTC)[reply]
This is how IMAP works, as long as you set it up properly. If I may ask, what version of Bb are you on? What problems are you facing with Google's native app for Bb? Is it just a preference? Kushal (talk) 13:17, 19 April 2011 (UTC)[reply]
There are a lot of very confusing suggestions that there is just one-way BB>Gmail sync, which is what I am concerned about.
I'm on BB6, using a Bold 9780, and would prefer to use the 'official' email app because it's integrated into the system, click on online email address links and they open in it etc. It's just better! ╟─TreasuryTagmost serene─╢ 13:22, 19 April 2011 (UTC)[reply]
Give imap a shot. From what I've read so far, the issue is inconvenience more than anything else. I like the zero inbox idea but your Bb is built to handle lots of emails. I'd love to learn if imap eventually deletes email on your device. Kushal (talk) 14:19, 19 April 2011 (UTC)[reply]

Windows 7

[edit]

Does Windows 7 Ultimate have a TCP connection limit like Windows XP does? 82.43.89.77 (talk) 10:43, 19 April 2011 (UTC)[reply]

As far as I know, there is no limit by default. Kushal (talk) 13:14, 19 April 2011 (UTC)[reply]
This might answer your question. It says This limitation has been removed in Vista SP2 and later releases (Server 2008 SP2 and Windows 7) Mo ainm~Talk 13:15, 19 April 2011 (UTC)[reply]
Note the limit above is not a limit on the number of TCP connections but on the number of half open connections Nil Einne (talk) 13:19, 19 April 2011 (UTC)[reply]
This isn't really what you asked, but I feel it's worth mentioning as it may be of use to you: If you're using a Windows 7 machine as a file or print server, it is limited to a total of 20 connections (one machine might use two connections and you can confirm this limit by running a command prompt as admin and typing: net config server). This is an increase on previous versions of Windows though where it was 10 connections. If this is not relevant to you though then I apologise and please ignore!  ZX81  talk 13:56, 19 April 2011 (UTC)[reply]

MediaWiki

[edit]

I've recently installed mediawiki & updated it with the wikipedia dump, &installed some extensions, but I can't seem to activate the interwiki links. How do I do that? Thanks. —Preceding unsigned comment added by 79.176.48.210 (talk) 16:30, 19 April 2011 (UTC)[reply]

The last time I checked, various language Wikipedias are actually independently-installed instances of MediaWiki. I'm not sure which data dump you got, but it's probable you only got an English language database. If you're trying to replicate the entire Wikipedia, you should anticipate several other problems: it is a known fact that the size of Wikipedia is too large for MySQL, unless you make custom modifications. You may also find these InterWiki instructions helpful. Nimur (talk) 16:46, 19 April 2011 (UTC)[reply]
The second link's instructions didn't seem to work. I created a "mirror" of one of the different Wikipedia, for my personal use, and I want the interwiki links to point to the original wikipedias. Thanks. --79.176.48.210 (talk) 17:15, 19 April 2011 (UTC)[reply]
Save yourself, choose a different engine. ¦ Reisio (talk) 00:01, 20 April 2011 (UTC)[reply]

Automatic mounting (udev?) and filename case in Linux

[edit]

Now, apparently, my Fedora 12 Linux system has started automatically recognising my Olympus E-520 camera when plugged in, probably thanks to udev. This is fine, but has led to another problem: the old "filename case" problem has come back. Apparently the files on the memory card are all in upper case, whereas I have been storing the pictures on my hard disk with filenames in all lower case. Because Linux filesystems are case-sensitive, this means that if I mix filename letter cases I end up with duplicated pictures, which would needlessly consume disk space. But how can I make the system see the filenames in all lowercase even if they are in all uppercase?

Typing "mount" after the camera has been automatically recognised displays this at the end of the listing:

/dev/sdg1 on /media/NO NAME type vfat (rw,nosuid,nodev,uhelper=devkit,uid=500,gid=500,shortname=mixed,dmask=0077,utf8=1,flush)

It appears that it should say "shortname=lower". But how can I make it say that? None of this appears in /etc/fstab. Is there a configuration file somewhere where I can set this? And if there is, is it possible to make it apply only to the camera, not to any other media mounted with udev?

I could, of course, go around this by running:

for $i in *; do mv $i `echo $i | tr [:upper:] [:lower:]`; done

but it would get tiresome having to remember to do that every time, even if I make a script file for it. JIP | Talk 18:02, 19 April 2011 (UTC)[reply]

I recommend you use rename to transform all the file names into lowercase. It's a pretty complex command and I don't remember it by memory, but a quick search online gives this: "rename y/A-Z/a-z/ *", without the quote markers. If you know Perl expressions you can probably figure it out way better than me. Happy hacking! Zakhalesh (talk) 18:08, 19 April 2011 (UTC)[reply]
Tested it myself, appears to work just the way I said in my last post. Zakhalesh (talk) 18:09, 19 April 2011 (UTC)[reply]
Oh yes, forgot to mention: run it in the folder where the files whose names you want to change are. Zakhalesh (talk) 18:11, 19 April 2011 (UTC)[reply]
The renaming script I wrote above works just fine. I would prefer not having to rename the files at all, but instead make the system see them already all in lower case. JIP | Talk 18:16, 19 April 2011 (UTC)[reply]
I think it is all tied up with the mysteries of udev rules. I tried to do something similar to you but I gave up as I didn't understand the udev documentation. Somewhere out there is a tutorial on how to create device matching udev rules, which I remember reading when I was trying to do it. After getting a severe headache trying to fathom it, I decided it was all too hard and wrote a script to check for duplicate names. --TrogWoolley (talk) 13:15, 20 April 2011 (UTC)[reply]

I have asked the same question on www.fedoraforum.org, let's see if I get a reply. I've also noticed that this is happening with my external hard drives too. Previously it only happened with CDs, DVDs and memory sticks. Now it seems to happen with any file system that isn't already present at boot-up. The only problem I have with this is that I no longer get to edit the mount options myself, at least not if I can't find the right place to configure it. My external hard drives get mounted under /media/8 hex digits-4 hex digits-4 hex digits-4 hex digits-12 hex digits, which I suspect is some unique identifier for the drives. I've modified my automatic rsync script to find any mount point confirming to the pattern and rsync to that instead of a pre-defined mount point. JIP | Talk 18:56, 20 April 2011 (UTC)[reply]

I think you probably want to be looking at HAL, which afaik does most of the auto-drive mounting. Unfortunately, HAL doesn't actually handle setting the default mount options anymore - it passes that off to your desktop environment (KDE or Gnome). See the "changing default mount options" section here for more. There's a couple ways to do it in Gnome, as they mention on that page, but the situation with KDE is more confusing. It's handled by KDE Mediamanager, and this post pretty well sums up the problem. I couldn't find an answer after a few minutes of searching, so... I hope you're using gnome. :) If you're really desperate, you might have to write a udev rule that cuts HAL out of the picture and does all the automounting itself. Indeterminate (talk) 20:58, 20 April 2011 (UTC)[reply]
Yes, I am using Gnome, not KDE. I had a look at the link you provided, and it appears to be possible to change the default mount options for each filesystem type. So I could make HAL mount VFAT filesystems as shortname=lower instead of shortname=mixed. But that would mean that all VFAT filesystems would be mounted like this, when I would like it to happen only to the camera. The article in the link doesn't mention any way to configure default mount options with deeper specification than filesystem type. There is, of course, the question of how would Linux know what kind of thing the mounted filesystem actually is on. I've noticed that the camera always mounts at /media/NO NAME, while CDs, DVDs and memory sticks usually have some kind of name instead of "NO NAME". My external hard drives wouldn't be affected by this anyway, as they are formatted as ext3, not as VFAT. JIP | Talk 19:31, 21 April 2011 (UTC)[reply]

microsoft error

[edit]
Resolved

I'm using Polipo on Windows 7 and every now and then it crashes. There seems to be no pattern to it, nor do I know why it crashes. This is not too much of a problem though because I've devised a simple .bat script that will restart the program when the previous instance terminates. However, when Polipo crashes a Windows dialogue box is displayed which asks if I want to send the crash data to microsoft. This dialogue makes the Polipo instance hang until I click "don't send". How can I disable these crash report dialogue boxes? 82.43.89.77 (talk) 18:30, 19 April 2011 (UTC)[reply]

Click the Start menu, then type problem reporting, and click "Choose how to report problems". From the next screen, you can choose whether to do this automatically, or whether to never check for solutions. You can also click "Select programs to exclude from reporting" and exclude Polipo or any other app. Comet Tuttle (talk) 18:58, 19 April 2011 (UTC)[reply]
Thank you! Is there a way to do this on Windows XP too? 82.43.89.77 (talk) 19:16, 19 April 2011 (UTC)[reply]
I googled disable error reporting "windows xp" and the first entry was this page, and I verified on a Windows XP box that the sequence of steps appears correct. The option is at Control Panel -> System -> "Advanced" tab -> Error Reporting. Comet Tuttle (talk) 19:32, 19 April 2011 (UTC)[reply]
Thanks! 82.43.89.77 (talk) 19:41, 19 April 2011 (UTC)[reply]
You're welcome! I salute you for working around a crash, which normally isn't something one works around. Comet Tuttle (talk) 19:56, 19 April 2011 (UTC)[reply]