Wikipedia:Reference desk/Archives/Computing/2010 August 1

Computing desk
< July 31 << Jul | August | Sep >> August 2 >
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.


August 1 edit

History data edit

Where in my computer's hard drive (Drive C) is all the data for the History section stored in? Which folders do I have to go to? 64.75.158.195 (talk) 10:04, 1 August 2010 (UTC)[reply]

The history data for what? Your web browser? 82.43.88.151 (talk) 11:57, 1 August 2010 (UTC)[reply]
Web browser history data is stored in difference places depending on the browser. IE stores it in "Documents and Settings\%USERPROFILE%\Local Settings\History" (where %USERPROFILE% is your Windows login name). Firefox keeps it in "Documents and Settings\%USERPROFILE%\Application Data\Mozilla\Firefox\Profiles\%PROFILE%" (where %PROFILE% is a random string). --Mr.98 (talk) 14:12, 1 August 2010 (UTC)[reply]
I can't find a folder that says Local Settings or Application Data. I use Internet Explorer, by the way. 64.75.158.196 (talk) 01:09, 3 August 2010 (UTC)[reply]

LaTeX and Flashcards edit

Hi all,

Hopefully this is an appropriate place for this question! Basically, I'm studying mathematics at university and I'm trying to find a way to put flashcards on my iPhone, for revising long proofs of theorems etc. However, since most of the things I'll need to revise will be partly symbolic, I was wondering if there was any way to put LaTeX (or some kind of TeX) in flashcard form on the phone, since the majority of the apps I've looked at don't seem to have much in the way of special character support (logic symbols etc) - if there is such an app I've failed to spot it, but either way a nudge in the right direction, if this is feasible, would be much appreciated! Incidentally my phone isn't jailbroken, so if at all possible I'd need solutions which keep things that way.

Thanks very much, 82.26.0.194 (talk) 12:57, 1 August 2010 (UTC)[reply]

Do you mean to read latex on your iphone...or to edit/make latex flashcards on it? If you want to read it...you might consider converting it to a format that can be read on a non-jailbroken iphone such as pdf.Smallman12q (talk) 21:26, 1 August 2010 (UTC)[reply]

Yes, ideally something in the actual flashcard form with proper mathematical typesetting is what I'm looking for, editable by whatever means - iPhone or computer or anything else - would be fine, but (for example) I'd like to have the statement of a theorem on the 'front' and the proof on the 'back', or some similar format, rather than literally just a block of typeset mathematics in something like a PDF. If worst comes to worst I am capable of just making a PDF of everything and then keeping that on the phone, but if it comes to that I think I'd rather just write them out in real life. I am aware what I'm asking for is quite specific, so I'll fully understand if the answer is just a 'no it isn't possible', especially since Apple are fairly renowned for limiting how much you can do on their devices, I just thought I'd come here and ask if anyone had any clever suggestions, or knew of an app where the proper typesetting is possible! Thanks for any responses in advance, 82.26.0.194 (talk) 00:07, 2 August 2010 (UTC)[reply]

Have you looked at Anki? I believe it supports Latex as well. There's also MentalCase though its not free. Let me know if this helps.Smallman12q (talk) 01:29, 2 August 2010 (UTC)[reply]
That looks great, I may well give Anki a go, thankyou! I think I prefer the look of MentalCase, but it doesn't seem to support LaTeX, does it? Or perhaps it does and I'm being stupid! 82.26.0.194 (talk) 09:46, 2 August 2010 (UTC)[reply]
Not sure...(I personally haven't used...just know some people who have)...though a comment here and here suggests that latex may be supported. You could always ask on their forums to be sure.Smallman12q (talk) 11:56, 2 August 2010 (UTC)[reply]

Programs edit

  Resolved

I'm sure this is a question which has been done to death, so forgive me for asking. Will 64 bit Windows run programs designed for 32 bit systems? I have many programs, some very old, which don't and will never have 64 bit versions. Will they continue to work, or will I have to run them in a virtual machine or something laborious like that? 82.43.88.151 (talk) 16:55, 1 August 2010 (UTC)[reply]

Yes, 64-bit Windows is perfectly able to run 32-bit Windows applications, thanks to the WOW64 subsystem. In fact, most programs on a 64-bit Windows system are likely 32-bit applications, as of today. (However, although 32-bit Windows is able to run 16-bit applications, 64-bit Windows is only able to run 64-bit and 32-bit applications, not the ancient 16-bit apps.) --Andreas Rejbrand (talk) 16:59, 1 August 2010 (UTC)[reply]
Hmmm, so my old Windows 3.1 and DOS programs won't work, without an emulator like DOSBOX anyway? 82.43.88.151 (talk) 18:05, 1 August 2010 (UTC)[reply]
That's correct...virtually all of your Windows 3.11/DOS/16-bit apps won't work without an emulator.Smallman12q (talk) 21:22, 1 August 2010 (UTC)[reply]
As you may know, 32-bit drivers will not work in 64-bit Windows. Some hardware doesn't have 64-bit drivers. PrimeHunter (talk) 23:25, 1 August 2010 (UTC)[reply]

Write it by hand, take a picture of it with your iphone. —Preceding unsigned comment added by 67.90.157.2 (talk) 20:29, 3 August 2010 (UTC)[reply]

What? 82.43.88.151 (talk) 20:46, 3 August 2010 (UTC)[reply]

Trendnet router Status blinking slowly, WLAN blinking rapidly edit

Dear Wikipedians:

I'm currently using a Trendnet TEW-652BRP router. I have opted to connect my DSL modem directly to the router as one of its nodes, instead of connecting it to the Internet port, because I would like my DSL modem to directly assign DHCP address to all of my computers so that my computers may take advantage of my DSL modem's UPnP capabilities for automatic port forwarding. Therefore, the WAN light of my router remains off.

After I have set up everything. I found that all the wired connection to my Trendnet router works fine. However, when I attempt to use the wireless connection provided by my Trendnet router with my laptop, I find that it does not work (the laptop is able to latch on to the wireless connection fine, but it could not detect any Internet connection through the wireless connection). I also noticed that the "Status" light on the router blinks slowly and the "WLAN" light on the Trendnet router blinks rapidly, I think this might be a sign of trouble.

I also have a Linksys WTR router that is configured in the same way as my Trendnet router. On that router I am able to get on to the Internet through the wireless connection just fine. So I am wondering what is going on?

Thanks for all your help,

174.88.33.187 (talk) 17:03, 1 August 2010 (UTC)[reply]

Hmmm...this afternoon after I came back from the computer store, the wireless connection on the Trendnet TEW-652BRP router all of a sudden started working. I didn't do anything to it. The indicator lights are still blinking at their respective paces but the wireless network on Trendnet just all of a sudden worked, what a pleasant surprised, problem resolved!

174.88.33.187 (talk) 19:42, 1 August 2010 (UTC)[reply]

  Resolved

Replace image edit

In greasemonkey, I want to replace an image on a webpage with another image. The image I want to replace comes from the url "http://example.com/image.php?title=1234" where "1234" changes and could be anything. I want to replace it with "http://otherwebsite.com/5678.jpg". How would this be done? 82.43.88.151 (talk) 21:45, 1 August 2010 (UTC)[reply]

Here is a tutorial: Replacing an element with new content. Nimur (talk) 21:51, 1 August 2010 (UTC)[reply]
I actually tried that page already, but the image I want to replace doesn't have an "id" to getelement by. When I tried "getelelementbyname" it didn't work either 82.43.88.151 (talk) 21:59, 1 August 2010 (UTC)[reply]
If you didn't design the website you want to modify, there's not much you can do to make the following procedure convenient. Basically, you will have to replace the document.getElementById() with your own function, "getNodeByCustomTechnique()" that you must write to find the node. If you could just modify the HTML source (if you were the owner of the site), you could add an id tag to the node in question, but I gather that is not an option for you. So you'll have to locate your un-identified node the hard way.
A bit of web searching found this tutorial: Page Structure and Navigation. As they say right up front: "If you don't know javascript you're out of luck!" See the section "Where's my Node": Your three choices are very limited if you are not the author of the HTML document, because you can't modify the node attributes. So you are stuck with Option #2: "start at the root of the document and slog your way through it using the childNodes attribute of the node (using a code fragment like this) and hope you eventually find what you are looking for." Or, Option #3: use "document.getElementsByTagName("img")" as your starting point, and check every element of the result-set. Because there is no id-tag, you have to come up with some other way to determine when you have traversed to the correct node. Is the target-node always at a pre-set the position image on the page? Then you can hard-code a traversal pattern. Does the target node image source URL remain constant (or always match some simple pattern)? Then you can check every img node to see if its src attribute is the one you want. Combine your javascript programming to traverse the DOM tree with whatever bit of logic and pattern matching you need to determine when you've found the node you want. Once you have the node to modify, you can replace the image source as shown in the previous tutorial. Nimur (talk) 02:29, 2 August 2010 (UTC)[reply]