Jump to content

Wikipedia:Reference desk/Computing

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by 84.13.34.56 (talk) at 13:39, 26 March 2010 (→‎The nuts and bolts of quantum computing). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Welcome to the computing section
of the Wikipedia reference desk.
Select a section:
Want a faster answer?

Main page: Help searching Wikipedia

   

How can I get my question answered?

  • Select the section of the desk that best fits the general topic of your question (see the navigation column to the right).
  • Post your question to only one section, providing a short header that gives the topic of your question.
  • Type '~~~~' (that is, four tilde characters) at the end – this signs and dates your contribution so we know who wrote what and when.
  • Don't post personal contact information – it will be removed. Any answers will be provided here.
  • Please be as specific as possible, and include all relevant context – the usefulness of answers may depend on the context.
  • Note:
    • We don't answer (and may remove) questions that require medical diagnosis or legal advice.
    • We don't answer requests for opinions, predictions or debate.
    • We don't do your homework for you, though we'll help you past the stuck point.
    • We don't conduct original research or provide a free source of ideas, but we'll help you find information you need.



How do I answer a question?

Main page: Wikipedia:Reference desk/Guidelines

  • The best answers address the question directly, and back up facts with wikilinks and links to sources. Do not edit others' comments and do not give any medical or legal advice.
See also:

March 21

Local Javascript pop-up with pop-up blocking on

This is a somewhat odd request, and what I want to do might not work.

I am using Safari in OS X as my default browser. I've written a little Javascript page that will display some scheduling data to me quite quickly. That part of it is nice and works fine.

The way I have it set up, there is an icon on my dock which, when clicked, opens the file LAUNCHER.HTML in Safari. LAUNCHER then runs some Javascript that opens the schedule file as a pop-up (let's call it SCHEDULE.HTML), and then closes itself (just a window.open and window.close).

This works well when I have pop-ups enabled in Safari. But ideally I would have my "Block Pop-Up Windows" setting turned on. When I do have it turned on, LAUNCHER can't launch the pop-up. (Duh.)

The advantage of using a LAUNCHER popup rather than just linking to SCHEDULE.HTML is that I can strip away the address bar, status bar, and so forth of the pop-up. I don't think I can do that without doing a window.open(), right? And I suppose there's no way to enable pop-ups just for local HTML files.

The obvious easy "fix" is to scrap LAUNCHER and make SCHEDULE.HTML position itself accordingly and just put up with the extra address bar and status bar even though it is ugly (because really, the purpose of this application is just to be functional—it is just a home-made thing I use for my own stuff), but I'm curious if there is some other thing I have not thought of. --Mr.98 (talk) 00:42, 21 March 2010 (UTC)[reply]

No, the "obvious" easy fix is to run a script from the dock. Any modern scripting language has a built in GUI library and any built-in GUI library has an HTML window rendering class. So you just open a window using it and se it to render whatever you need. If you're on modern hardware then the fastest workaround is using a vm with safari in it, maybe under windows if its easier for you to get the cd. That should take you lile 12 minutes of yourtime plus download time/ waiting forthe guest os to install. The 12 minutes includes you figuring out how to use your vm software to make a checkpoint that your shortcut will open. —Preceding unsigned comment added by 80.187.97.181 (talk) 01:14, 21 March 2010 (UTC)[reply]
I'm not sure I understand what you are suggesting. Could you elaborate with fewer acronyms and more practical explanation? --Mr.98 (talk) 01:41, 21 March 2010 (UTC)[reply]
Agreed with above, I'm not sure how the use of a Virtual Machine applies to your question. It appears the basic stuck point is Safari's lack of security zones, which in browsers such as Internet Explorer or FireFox, would allow you to apply different browser settings to different categories of sites. So with Safari as your browser, your "obvious" fix is indeed the choice between a) unblocking popups for all sites, or b)rewriting your "launcher" to not rely on popups. Alternatives would include rewriting (assuming its local only) schedule.html as an HTA. This supports rendering HTML through client-side script but doesn't require launching the full browser. Cander0000 (talk) 04:59, 21 March 2010 (UTC)[reply]
It's too bad that Safari's popup blocker can't be configured. You might try looking at Mozilla Prism or another light little SSB that you could use for this one little HTML file. I tried using it once before, and it worked pretty well. Mozilla Prism website Indeterminate (talk) 04:24, 22 March 2010 (UTC)[reply]

Installing MSYS on 64bit vista

I am trying to make msys work on 64bit vista by following these instructions: http://old.nabble.com/Installing-MSYS-on-Windows-Vista-x64-td16904988.html. However I cannot seem to find the "MSYS-1.0.11-20071204.tar.bz2" file anywhere. Is there an easier fix for this issue? Is there an available substitute file that can be used in place of the required file. 72.188.46.69 (talk) 01:47, 21 March 2010 (UTC)CompuGuy[reply]

Yeah, that's a daily build which has probably disappeared off the internet. Did you try following the installation instructions on the project's website? Indeterminate (talk) 04:11, 22 March 2010 (UTC)[reply]

US federal government software

Works of the US federal government are in the public domain, and I think the government writes a lot of software. Is there a centralized Website repository somewhere containing all of this software? (I realize that (a) it must just license a lot of the software it uses, so I'm not going to expect every government payroll system and accounting system to be available; (b) I'm probably not going to be able to get their nuclear explosion simulators; and (c) I probably have little use for Medicare compliance certification audit software written in Ada.) Comet Tuttle (talk) 06:45, 21 March 2010 (UTC)[reply]

I don't think there's a central database. (There's not a central database for US federal government publications, much less software.) I also think they likely contract a lot of that work out, and contractors are not covered by the "works of the federal government" copyright clause. Nuclear weapons codes, even if they were declassified (and some old ones are), are technically works of a contractor (Los Alamos or Livermore labs, which are Government Owned Contractor Operated facilities). I did some software work for a US federal agency once, and they definitely weren't that interested in having it distributed (the question of whether it should be distributed actually did come up, but not because it was public domain—it's because the software was part of a database that theoretically a small-but-greater-than-zero number of the academic community might find useful). It was not sensitive or classified in any way, but they considered it solely useful to the internal functioning of their department. (Which actually exempts it even from FOIA if I recall.) The truth is, my particular bit of code was really quite boring and isolated and specific to the task. While one could imagine a well-organized code database in which I entered in component bits of my software, explained how they worked, made sure everything was commented well, and indexed it in such a way that others might find it useful... well, let's just say they weren't paying me to do that! And I suspect they aren't paying anyone to maintain such a central database, which in the end, with the federal government, is how anything exists at all (if it ain't funded, it ain't happening). Now, you probably could get certain types of software via FOIA requests, if you wanted them. But I don't think the government automatically distributes or collects them. --Mr.98 (talk) 14:16, 21 March 2010 (UTC)[reply]
As just an aside. The question of ownership of government v. contractor code comes up with some frequency in discussions of electronic voting. By contracting electronic voting out to private companies (e.g. Diebold), the government gives them the ability to make their code copyrighted and proprietary, and thus outside of public scrutiny. This has met with criticism by security people, unsurprisingly, who believe that security through obscurity on something as important as elections is a dangerous idea. Thus some have argued (I think Bruce Schneier is one in this camp?) that the government should code these things in-house, and thus the code should be public domain, and open to outside analysis. Just putting that out there, as it came to mind. --Mr.98 (talk) 14:29, 21 March 2010 (UTC)[reply]
My experience is that a lot of people don't care whether it's in the public domain, provided it's FLOSS. [1] Some don't even go that far, and simply argue the source code should be open to public scrunity. [2] Of course even if you do demand the source code be in the public domain, it doesn't automatically follow that they have to be produced by the US government since I believe it's possible for private companies to release things into the public domain in the US and there's no reason why that can't be a legal requirement for voting machines, just as FLOSS or open to public scrutiny could be. Nil Einne (talk) 17:55, 21 March 2010 (UTC)[reply]
Well, that's true. The issue of ownership matters largely because contractor produced code (and everything else) is not necessarily subject to information openness laws (like FOIA), and there is not a lot of precedent for contractor openness. --Mr.98 (talk) 18:04, 21 March 2010 (UTC)[reply]
For comparison, consider software written by a National Laboratory (which really are the premiere science and technology centers that are operated by the civilian side of federal government). Take a look at Argonne National Laboratory Mathematics and Computer Science Division. For example, here's the copyright statement for Message Passing Interface, which is authored by government employees, but may incorporate work from private contractors. This work is not exactly in the public domain, although "Permission is hereby granted to use, reproduce, prepare derivative works, and to redistribute to others," and "the Government is granted for itself and others acting on its behalf a paid-up, nonexclusive, irrevocable worldwide license in this computer software to reproduce, prepare derivative works, and perform publicly and display publicly." Similar sorts of license statements accompany any work released by the federal government. Nimur (talk) 18:54, 21 March 2010 (UTC)[reply]

GPU-assisted video transcoding on ATI?

Is there another GPU-assisted video transcoding program available for ATI? The Avivo program provided by ATI is too limited in its options. thanks F (talk) 09:14, 21 March 2010 (UTC)[reply]

Yes Cyberlink PowerDirector [3] and CyberLink MediaShow Espresso [4]. If I had to guess, these use the same internal encoder although the feature set may vary. These were evaluted here which doesn't come out very favourable for ATI although that was in August 2009 which can probably be said to be a long time ago given that GPGPU is still a fairly rapidly developing field. In particular they used PowerDirector 7 but 8 is now out and while they don't seem to say what MediaShow Espresso they used (I'm not surprised, I've never been particularly impressed with the quality of Pc Perspective's reviews) I believe 5.5 was only released in 2010 [5]. In any case this found the results tended to vary depending on the source material and this didn't find any substanial quality differences. Windows 7 also uses ATI Stream for the drag and drop transcoding (for portable devices) [6] [7] but I doubt you get much control. It may be part of SHED [8]. There's also an AMD plugin for Sony Vegas Movie Studio 9 [9] [10] [11] and Adobe Premiere Pro CS4 [12]. How much control you have with these, I don't know. Personally though, while I don't know if things are better on the Nvidia side (with other apps) from what I've just read GPU assisted transcoding still doesn't sound particularly interesting to me, except perhaps for cases when I absolute need extreme speed, any case where I care about quality I'd stick with x264 (presuming your talking about h.264). And I do have a Nvidia card altho I do rarely transcode. Nil Einne (talk) 17:44, 21 March 2010 (UTC)[reply]
Thanks, that's a very detailed answer. I gave MediaShow Espresso a go. Yes, it is ~4 times faster than CPU encoding, but the quality is clearly inferior compared to CPU encoding at the same bit rate. Do you know why? F (talk) 09:51, 22 March 2010 (UTC)[reply]

Fortran

I write a fortran program but I can't run it and I can not get output please tell how it compile and run I use windos xp.Supriyochowdhury (talk) 09:57, 21 March 2010 (UTC)[reply]

Which coding environment did you use? Presumably one supplied by one of the tools you downloaded and installed after your previous question was answered. Astronaut (talk) 11:30, 21 March 2010 (UTC)[reply]
Do you get an error when you compile it ? If so, what is the error ? Note that a file may have been produced in the directory where you did the compile, which contains the error messages. StuRat (talk) 17:17, 21 March 2010 (UTC)[reply]
Also, if you will provide the Fortran source code, I could debug it for you. StuRat (talk) 17:18, 21 March 2010 (UTC)[reply]
Did you compile the code? It's not clear from your question, but I wonder if you have merely written the source code but have not yet tried to compile it (since you did not mention any compiler error message). FORTRAN is a compiled language, so you need to process the text file containing your program source to generate the executable program. Nimur (talk) 22:22, 21 March 2010 (UTC)[reply]

Updating to Norton 360 v.4 from v.3 for free --- is that possible?

I have just installed Norton 360 v.3 in my laptop. Is there anyway I can update it to v.4 for free? Please give me outright instructions. I'd be so glad to read from you. Thanks, everybody! —Preceding unsigned comment added by 112.202.208.174 (talk) 11:48, 21 March 2010 (UTC)[reply]

If you have a current (i.e., unexpired) subscription, go here. Symantec does a pretty good job of hiding this page, because they want you to think you have to upgrade when you renew your subscription. The only place I could find a link to it was right on the Norton front page, but it is very well-hidden. It is named "Norton Product Updates" and is located right above "Upgrade to latest version". To a novice user it would sound like "Norton Product Updates" is where you go to get, say, the latest definitions, not a new version. Quite misleading. Xenon54 / talk / 12:53, 21 March 2010 (UTC)[reply]

fortran

which mistake frequently doing a student first time during run a fortran program that is why showing error.Supriyochowdhury (talk) 14:59, 21 March 2010 (UTC)[reply]

Before you get any more answers about Fortran, you must answer the questions you are being asked in return. What program are you using to write Fortran? What program are you using to compile Fortran? Without answers to those questions, it is not possible to help you. -- kainaw 15:45, 21 March 2010 (UTC)[reply]
Maybe a variable which is declared incorrectly ? Often a problem for me. For example, I make a single variable when I start writing the program, then, in the middle of writing it decide I need it to be an array, but don't rememebr to go back and change the declaration. StuRat (talk) 17:22, 21 March 2010 (UTC)[reply]
Most programmers would say "Your first mistake is using Fortran in the first place." - it's a horribly obsolete and completely nasty programming language. But there is no way we could hope to help you without at least seeing the source code and the error message(s) that the compiler is giving you. SteveBaker (talk) 00:11, 22 March 2010 (UTC)[reply]
And many of us Fortran programmers consider C to be non-intuitive and unnecessarily complex, such as when dealing with string handling. StuRat (talk) 02:00, 22 March 2010 (UTC)[reply]
Obligatory non-quote from McCarthy: "You're doing it completely wrong." -- kainaw 03:28, 22 March 2010 (UTC)[reply]
It depends what you are programming. If it's pure time-critical number crunching, Fortran is still the fastest language out there (short of assembler).213.160.108.26 (talk) 21:22, 22 March 2010 (UTC)[reply]
That's complete nonsense! All of the major programming languages are going to share the same arithmetic/logic compiler back-ends. C, C++, Pascal, Fortran - all of them get the same optimisation, etc. There are no linguistic features of Fortran that make it any better than the other major compiled languages as regards doing number-crunching. Fortran has zero strengths - only weaknesses (someone is going to mention complex numbers very soon now - and I'm already laughing). SteveBaker (talk) 04:11, 24 March 2010 (UTC)[reply]
My understanding was that Fortran, being a rather pointerless language, was not prone to Aliasing (computing), and hence was easier for the optimizer to optimize. -- Coneslayer (talk) 13:19, 24 March 2010 (UTC)[reply]

Top ten websites

What are the top ten websites, most used on the internet?? --Extra999 (Contact me + contribs) 16:44, 21 March 2010 (UTC)[reply]

Search engines and porn sites (not in that order). ¦ Reisio (talk) 17:13, 21 March 2010 (UTC)[reply]
Those are categories of sites, not individual sites. --Mr.98 (talk) 18:01, 21 March 2010 (UTC)[reply]
Alexa Internet ranks websites here: [13]. There are questions as to how accurate they are, but they're something to start with. --Mr.98 (talk) 18:01, 21 March 2010 (UTC)[reply]
In terms of the Alexa rankings, I know for http://www.wikipedia.org after a poll we decided to choose and order the top 10 by the most visited which many would feel makes sense. But bizzarely even though these are entirely wikimedia run projects and so producing stats on most visited was never going to be that difficult (and in fact I think they were always available) we originally used Alexa Meta:Talk:Www.wikipedia.org template#Do not use Alexa as main source! Meta:Talk:Www.wikipedia.org template#most visited wikipedias and when we changed we changed to using our local stats it made quite a big chance to the order of some and even what we listed. I also noticed [14] which while probably not suitable for the above article may be of interest. However I agree in the absence of anything else, Alexa is an okay starting point Nil Einne (talk) 19:58, 21 March 2010 (UTC)[reply]
I was always baffled by reliable sources that rely on Alexa rankings. The Alexa toolbar is nothing short of spyware - it intentionally installs itself with the professed motive of monitoring a person's web browsing habits. Do we really want to represent the internet's usage patterns based on the sub-sample of users who knowingly or unknowingly install spyware and relay all their activities to a third-party? Nimur (talk) 16:34, 22 March 2010 (UTC)[reply]

Thanks everybody. --Extra999 (Contact me + contribs) 04:04, 22 March 2010 (UTC)[reply]

If it's not too late, the top 100 produced by Nielsen is reported here. AlmostReadytoFly (talk) 14:51, 24 March 2010 (UTC)[reply]

Putting text into a database

I have a large number of text files. In each text file one or more entities are described in a standardised way i.e. a short descriptor such as "Name" "Location" "Type" is followed by the appropriate detail. The order of those descriptors is the same for every entity. Sometimes the content such as an address will continue on further lines after the descriptor.

Is there any easy (which means quick for a non-programmer to do) and free way of making a simple database out of this? I have something in mind like a card file. Thanks 92.29.149.119 (talk) 21:13, 21 March 2010 (UTC)[reply]

Free, yes. Easy as in non-programming... I doubt it. It is not a hard job, as far as they go, to get that data out and into some kind of database file (it is a pretty standard and straightforward scripting job, assuming things as as regular as you describe them), and going from the database file to a simple database application is pretty straightforward (could be done with PHP/MySQl or something like OpenOffice Base)... but you still need that initial step of extracting the data from the files into the database format. While not difficult for someone with a small amount of scripting, it would probably require some scripting (that is, you probably won't find a solution that does it without a little scripting). The reason for this is that you need to tell the script how to interpret the text files (what is a field name, what is a field value), and since it is non-standard you would need to write a custom little script to do this for you.
It's the kind of thing where if you posted maybe five of the text files here that were representative of the variety, we could probably write the conversion script for you pretty easily. It's probably about 10-20 lines of code total depending on the language, nothing complicated. --Mr.98 (talk) 00:39, 22 March 2010 (UTC)[reply]
This sounds like something you could do with a spreadsheet. 66.127.52.47 (talk) 07:15, 22 March 2010 (UTC)[reply]
Only if you wanted to reenter all of the data manually. I don't know of any spreadsheet program that can extract the data from multiple text files in this way. If you have it in a spreadsheet, you essentially have it in a database (converting between a spreadsheet and a database table is trivial). A simple (custom) script could get it into spreadsheet format; it's not essentially different than making it into a flat file database. --Mr.98 (talk) 14:21, 22 March 2010 (UTC)[reply]

I think you are being rather pessimistic about entering or extracting the data. It could quite easily be converted into comma seperated values by batch replacing for example "Name" with "Name," and so on, or some other delimiter rather than a comma. Assuming I've then got it in CSV format, what free software is there that would allow me to see one "card" at a time and search particular fields of the cards? There would not be much point loading the CSV file into a spreadsheet as that wouldnt do anything more than what a plain text file could do. I suppose I could write a BASIC program myself, but that would take up a lot of time and perhaps there is something ready-made. Thanks. 84.13.47.185 (talk) 15:36, 22 March 2010 (UTC)[reply]

If you could convert it to CSV, then it's just a matter of finding a good displayer/reader. What you want sounds like FileMaker Pro. I don't know the free database software very well, but there are a few out there. I've not had good experiences with OpenOffice.org Base but it has been a long time. Kexi looks a little more straightforward? Maybe others have tried these out. Each of these should be able to import CSV without difficulty. Creating an application that is a simple cardfile should not take very long at all with any of these. --Mr.98 (talk) 16:34, 23 March 2010 (UTC)[reply]
There are basically two approaches to reading data from a file. One is using a separator, like a comma, between fields. The other is to use fixed length fields. Both methods can fail, however. The separator may sometimes be absent or extras may be present. For example, if a space is used, there may be a space within some names. The length of some fields may also be wrong, such as if a tab character is sometimes used to space out columns and other times the space bar is used. So, in either case, it's likely some manual edits will be required to fix such problems, before importing into a DB. StuRat (talk) 15:52, 22 March 2010 (UTC)[reply]

So things havnt really changed from when you had exactly the same considerations when using BASIC decades ago. 78.149.193.98 (talk) 20:18, 22 March 2010 (UTC)[reply]

No, not really. Custom data is still custom data. Getting it into a standardized form is still a pain. --Mr.98 (talk) 16:34, 23 March 2010 (UTC)[reply]

Clever AI

We havnt got anywhere near having intelligent robots yet. What is the cleverest AI system that currently exists? I'n not expecting it to talk. Thanks 92.29.149.119 (talk) 21:18, 21 March 2010 (UTC)[reply]

It might help to define (what you mean by) "clever". At one point in time, one might have guessed that a computer would have to be "clever" to beat the world chess champion, but Deep Blue accomplished that. However, I don't think anyone would class Deep Blue itself as "clever" as it basically brute-forced the problem, although some of the algorithms which went into pruning the search space might have been (but the cleverness there was on the part of the programmers). On the other side of the spectrum, you have things like genetic algorithms, which routinely come up with solutions a human might not have ever considered, so may be classed as "clever" in that sense. Genetic algorithms, though, proceed through a pretty stupid guess-and-check system, so some may argue that the algorithms themselves are not "clever", merely diligent. - As a final note, saying a horse is "clever" merely means that it is well behaved, which may be a much easier standard for an AI to reach. -- 174.21.243.94 (talk) 22:00, 21 March 2010 (UTC)[reply]
I consider the disorganized set of distributed computing resources available via the Internet, through search engines and wikis, to be a "clever" system. A natural language query can be submitted; a series of computers translates that query into machine-readable form, transmits it over a network, processes the query, locates resources, and delivers a meaningful answer - entirely transparently. For example, I can ask "the internet" a question, like "what do pandas eat", and get an answer - without ever knowing anything about how computers process data. The ensemble of technologies, including computer networking and routing, HTTP, web services, natural language processing, wikis, and distributed computing, all result in an answer to virtually any kind of question I can pose. Nimur (talk) 22:27, 21 March 2010 (UTC)[reply]
I sat through a painful lecture a long time ago title "AI is Dead". The point is that the ideas of AI in the 60s and 70s were abandoned during the 80s (to be overly general). The main reason is that we don't have a need for another human, so why make an artificial human? We need machines that are better at certain tasks than humans are. So, we end up with "clever" machines for specific uses. For example, it is well known that computers can trade stocks better than humans. It used to be assumed you had to be real clever to profit in the stock market. Now, you just have to be a computer running a clever program. -- kainaw 23:59, 21 March 2010 (UTC)[reply]
I don't buy the "We gave up doing AI because we don't need it" argument. It was flat out too hard. So we're doing all of the bits around the edges - speech, language comprehension, vision, robotics, knowledge representation, etc. All of those fields are producing great results - and what was being attempted before wasn't - an nobody likes failing. SteveBaker (talk) 00:08, 22 March 2010 (UTC)[reply]
Play with http://www.20q.net for a while and tell me it's not clever? ;) But it's not really AI.. Vespine (talk) 00:14, 22 March 2010 (UTC)[reply]
Clever? It guessed Tori Amos when I was obviously thinking of Liz Phair. Pshhh. Not even remotely the same. Nimur (talk) 15:08, 22 March 2010 (UTC) [reply]
And presumably any true A.I. would need to combine all of these things. Our own brains have separate centers for language, visual processing, speech, etc., and even within those centers separate places for spatial thinking, abstract thinking, mathematical thinking, etc. I think cog sci has shown pretty clearly that the idea that brain intelligence is just emergent from throwing a bunch of neurons together has been pretty dead for a long time (just like throwing a bunch of transistors together does not make a CPU—there's a lot of complicated engineering involved to get everything to work together correctly). Today we would probably say that A.I. is not just one problem but a bunch of interconnected problems. Artificial intelligence has more details on this. As for "cleverest A.I." system, I think I'd have to agree with those who say that by itself that is not quite a well-formed question (or at least no better formed than asking who the cleverest person is). We have machines that can do very clever things with communication, data, visuals, language, etc. None of them can do anything more than an illusion of "general intelligence," and not a great one at that, but in specific intelligences, there are probably sure winners. --Mr.98 (talk) 00:56, 22 March 2010 (UTC)[reply]
20Q is basically a slightly complexified version of the venerable "guess animals" game - which I first saw in about 1974 - and I'm pretty sure it was old even then! You can write a minimal version of that software in 50 lines of C++ code - or a pretty version in about 300 lines - and it seems every bit as amazing as 20Q. You can download my version of it here.
OK, you think of an animal - and I'll try to guess what it is.
Is it furry?  n
Does it live underwater? n
Does it have more than four legs? n
Does it slither? n
Is its tail nearly as long as its body? n
Does it have really big ears? y
Is it an Elephant? y
Hooray! I got it right!  It was an Elephant!
OK, you think of an animal - and I'll try to guess what it is.
Is it furry? n
Does it live underwater? y
Does it have scales? n
Does it have to surface to breathe? n
Is it more or less as wide as it is long? y
Is it too small to see without a microscope? y
Does it have pseudopods? y
Is it an amoeba? y
Hooray! I got it right!  It was an amoeba!
SteveBaker (talk) 04:34, 23 March 2010 (UTC)[reply]
20Q learns from the answers of players which means it's vunerable to misinformation or disagreements and differing definitions. For example:
It is Kuala Lumpur.
Is it located in the southern hemisphere? You said No, 20Q was taught by other players that the answer was Yes.
Was it involved in World War II? You said Yes, 20Q was taught by other players that the answer was Doubtful.
Does it have a subway system? You said No, 20Q was taught by other players that the answer was Probably.
Is it a honeymoon destination? You said Sometimes, 20Q was taught by other players that the answer was No.
Is it an influence on science and technology? You said No, 20Q was taught by other players that the answer was Probably.
1 is clearly wrong. 2 is highly debatable, while not a front Kuala Lumpur was captured by the Japanese as with most of Malaysia. 3 it depends on what you mean by a subway system, parts of the RapidKL Light Rail Transit is underground although it isn't that big a part (4.4km according to some sources) and it isn't commonly thought of as a subway system from my experience however given that yes and no would be acceptable. 5 I was thinking this at the time it's a somewhat problematic question anyway most stable tourist destinations are going to be a honeymoon destination for a resonable number of people (even places like Iraq and Afghanistan but be an occasional honeymoon destination although rare enough it's perhaps fair to say it's irrelevant). 6 I was wondering when answering what to say and in retrospect sometimes was probably a better answer here but even though I may not like it, Malaysia and therefore KL's contribution to science and technology isn't much, the publishing record of academics for example tends to be fairly dire (as much as the government wants Malaysia to be at the forefront of science and technology, they haven't really achieved that much).
Of course any case when the answer is "Probably" or "Doubtful" clearly indicates it doesn't know enough.
Incidentally in both the Kuala Lumpur case and when I tried Auckland (and also got debatable information), it failed to do it in 20Q and gave me completely wacky guesses (in the KL case, it asked me if it was Vietnam then later Ho Chi Minh city, in Auckland it asked me if it was Zanzibar, Bali and Mauritius). And I was being kind to it by choosing relatively big cities. When I tried the classic version with rambutan I found it doesn't even exist in the database... (It did win with durian.)
Nil Einne (talk) 13:46, 23 March 2010 (UTC)[reply]
That's the thing really - you KNOW you're going to sometimes collect garbage "knowledge" from members of the public - so the trick is to build a system that can robustly recover from that. In "Guess Animals", if you decided that an elephant is "furry" (well, they have some hair - so maybe) - then the system will fail to guess "Elephant" and maybe come up with "Aardvark" or something. But when it fails, it asks you to enter a question that will distinguish an elephant from an aardvark - and you're probably going to say "Does it weigh more than a ton?". Now, the next time someone thinks that elephants are furry, it'll correctly guess "Elephant" despite that error. This results in it asking more questions (although rarely as many as 20) without the need for "Maybe" and "Irrelevant" options (which really only confuse the system IMHO). When I had Guess Animals on my web site, it filled up with a gazillion animals and an awful lot of other junk too (there were dozens of things like "My brother", "Car" and "Oak tree" in there - along with a lot of obscenities and typos) - but it still guessed real animals correctly better than 99% of the time. I'd say that its biggest failing is when (for example) someone is thinking of specifically an "Indian elephant" - the system will guess "Elephant" and the user is left feeling a bit disappointed when they have to say that the computer got it right...because in a sense, it didn't. They may then decide to say "No" and then they'll be asked to enter a question to distinguish an "Elephant" from an "Indian Elephant" - and that gets a bit tortured too. But if the user enters "Does it live in Asia" then the next time someone is thinking of an Indian Elephant, they'll get the more specific answer. What really screws up Guess Animals is when someone puts in a really weird question high up in the 'tree' of answers - like "Can it swim?". Because most people don't know whether (say) a Leopard can swim or not - you eventually end up with "Leopard" on both sides of the 'tree' - and that results in a lot of redundancy in the resulting data structure. SteveBaker (talk) 13:44, 24 March 2010 (UTC)[reply]
Nil Einne points out that a rigorous, objective, universal knowledge system is corruptible by public perceptions, invalid information, and so forth. That's why I am so amazed that a web search engine can accurately infer the intended meaning, even when the exact query is vague or unqualified. For example, if I query Google for "orange", there are thousands of legitimate ways for the system to qualify and interpret such a vague request - do I want produce, paint, orange juice, am I looking for history of Holland, or what? But rather than play 20-questions, Google can take into account my search history, my location, and send me to Gryphon Strings - an Orange Amplifier dealer five blocks from my house, which currently has one Orange Tiny Terror 15-watt amp in stock. Then Google gave me the price, a map to the dealer, and their phone number. That was a pretty obscure query - but they got all that information for me! How did Google know what I wanted? Well, they are tracking me and my purchase habits; they know where I have clicked before; they know what I have bought before; they know my location, my interests, and all kinds of other meta-information about me. When I am being paranoid and proxying or otherwise hiding my personal details, Google needs to play "20 Questions" with my search queries. From the standpoint of privacy, I'm terrified of this capability - but from the standpoint of artificial intelligence, I have to say that this is pretty darned amazing. If I walked up to a friend down my hallway or an office-mate who knows me well, and said "ORANGE" with no further qualifications, I doubt I could get such a meaningful response. (I know, because I have tried this). So, the internet has proven that targeted marketing, which is one of the most profitable applications of expert systems, can actually outperform a human in terms of "clever" interpretations of responses - in specific circumstances. Nimur (talk) 17:02, 23 March 2010 (UTC)[reply]

Complete System restore for Medion Akoya

Hi everybody we have a problem with our Medion Akoya, model number: WIM 2180. We have a password on it which my dad has forgotten. We need to perform a complete system restore on the laptop. Is there anybody who knows how to do this? Any help appreciated. Thanks, Hadseys 21:23, 21 March 2010 (UTC)[reply]

Is the password just the windows administrator password? If so, google for "reset vista password", or "reset XP password" as appropriate, and you'll find methods to do this without zapping the whole system. Or do you mean the BIOS password? -- Finlay McWalterTalk 21:31, 21 March 2010 (UTC)[reply]

TCP/IP weirdness.

Network programming is not my strong point. I'm trying to get a very basic TCP/IP communication going between a Linux box and a Windows-7 machine for a little project I'm doing in my spare time at home.

To keep the explanation simple, I'm using the code from [15] to send a TCP/IP packet from a client to a server - which simply sends the packet content back again. I'm compiling the identical code under g++ under Linux and Cygwin under Windows. I have the pair of programs (client and server) use port 5010.

  1. The program works fine when I run the server on Windows-7 - the client works on both the Linux box and the Windows box.
  2. The program works fine when I run the server under Linux - but ONLY if the client is also running under Linux.
  3. Nothing works if I run the server under Linux and the client under Windows.

The Windows machine is running "Symantec Endpoint Protection" and the firewall is turned on. I tried creating a custom firewall rule in case port 5010 was disabled - but I've never played with that stuff before - and it's perfectly possible that I messed up. However, because everything works in case (1) above, I don't see how it could be a problem of port blocking.

This is all running on my home LAN via a LinkSys router.

Help!

SteveBaker (talk) 22:44, 21 March 2010 (UTC)[reply]

So the server, if running on Linux, is only reachable from the machine itself. Sounds like the Linux machine has a firewall enabled too ? Unilynx (talk) 22:51, 21 March 2010 (UTC)[reply]
Also check to ensure SELinux is not blocking network traffic. -- kainaw 23:54, 21 March 2010 (UTC)[reply]
<smacks forehead> that was it - disabling the Linux firewall fixes it. Many thanks! SteveBaker (talk) 00:05, 22 March 2010 (UTC)[reply]
As in all such matters, Wireshark is your friend - in this case you have the luxury of running it on both parties, so you can see if the packet was sent ok, received ok, and delivered (os->app) ok, and you get a better insight into failure that ECONNREFUSED will give you. It might be instructive to temporarily turn one or t'other firewalls back on to see what they really do - some barf your SYN immediately with a RST/ACK, others drop the SYN and vexingly play possum. -- Finlay McWalterTalk 00:30, 22 March 2010 (UTC)[reply]
Yeah - I should probably do that - however, I was hoping for a quick fix and I got one! Putting in a custom "Additional Service" for my new software even allowed me to turn the Linux firewall back on. SteveBaker (talk) 00:58, 22 March 2010 (UTC)[reply]


March 22

Microsoft Groove

What is the use of Microsoft Grove? --Extra999 (Contact me + contribs) 04:14, 22 March 2010 (UTC)[reply]

See Microsoft Groove. I feel the opening paragraph sums it up very well. -- kainaw 04:17, 22 March 2010 (UTC)[reply]

What are the future prospects for inserting highlights, annotations, and html anchors into other people's websites?

I did a google search for "annotate a website", and I was really excited by this service.

  1. Unfortunately, this particular service ("Jump Knowledge") has been discontinued. Do you know of any good alternatives that offer the same services?
  2. I think that services like this would revolutionize the work of quoting, paraphrasing, or commenting on other people's work (including in academia, law, of course Wikipedia, and probably everything else). Is it generally understood that services like this will grow in availability and popularity? (Is this something that everyone knew about but me?) If not, what are the obstacles to making services like this succeed?

Cheers, Andrew Gradman talk/WP:Hornbook 07:10, 22 March 2010 (UTC) (editing from an IP address, for complicated reasons, as 207.237.228.236)[reply]

It's inevitable. ¦ Reisio (talk) 08:41, 22 March 2010 (UTC)[reply]
There are not any real technical challenges, other than the fact that if you want people to be able to see annotations easily, you have to convince a lot of people to all go to the same services (or find some way to collate them). But that sort of thing works it out pretty straightforwardly.
Practically, if it really took off you'd need to have some way to sort between potential annotators. I presume it would be something like Twitter or podcasts where you subscribe to particular people. One can imagine how much of a zoo it would get for popular sites. (Just take a look at the cesspool which is the comments section on any popular news site.)
Legally, I suspect it would count as creating a derivative work. In some countries that could raise copyright issues. How that would play out, I'm not sure. I suspect there would be a court case somewhere down the line.
Will it be popular? Who can say. I kind of suspect not so much. Link sites (e.g. digg) work well because they provide a narrow view at a wide spectrum of pages. Blogs work well because they allow you to connect content with commentary but again through a narrow view. Having each page on the web have potential annotations means that unless you have some narrow way to point you to pages (e.g. a blog), the odds of you hitting a page that your favorite commentator has commented on is probably low. And I guess I wonder how interesting it would actually be in practice, how much different it is that the existing experience where people who want to comment on a web page just create a new web page (e.g. a blog) about it. --Mr.98 (talk) 13:39, 22 March 2010 (UTC)[reply]

No, it'll definitely be popular eventually. You know how people say "go to domain.tld and click on FOO and right there in the second paragraph, the fourth line, look at that!"? Instead you'll just get a link that automatically highlights the relevant bit/s. It's simple to do now, it's just a matter of someone thinking up some stupid misspelt "web 2.0" name for people to associate with it. ¦ Reisio (talk) 16:32, 22 March 2010 (UTC)[reply]

Do people say that on a regular basis? I don't see that as actually being something that is majorly in demand. (Again, technically it is not hard to do, and has not been for ages.) I don't think it will take off unless it finds some way to harness human vanity/exhibitionism/voyeurism, which all of the really successful Web 2.0 applications (Facebook, Twitter, Wikipedia, blogging, etc.) have managed to do. Just being able to highlight stuff... it's a cute trick, I guess, but wildly popular? Maybe I'm just an old fogie here, but I am dubious. It don't see it filling a particularly big need (something not already filled by link aggregators and blogs), and don't see it catering to any basic human impulses (vanity, etc.). But who can predict the future? I probably wouldn't have thought that "microblogging" would have been popular, either, had someone pitched it. --Mr.98 (talk) 23:09, 22 March 2010 (UTC)[reply]
  • Thanks, these are great answers.
  • Mr.98, I understand you to be saying that when annotations consist of marginal notes, they might add more chaos than value. I agree with that. I also agree with Reisio that the real value proposition is the ability to insert html anchors and to highlight text. (Just think about how much easier it would make our work on Wikipedia!!)
  • Those two steps would make the "annotation" function obsolete, because the material that would have gone into those "annotations" could just be put into the body text of the external document (e.g. wikipedia article) that employs the link to the html anchor. One could still aggregate those annotations alongside the original document via a Google search of the entire web for hyperlinks containing that anchor (sort of like putting a "what links here" button into the document.)
  • That makes me excited, because it means that really good "web annotation" can be done on the cheap! Andrew Gradman talk/WP:Hornbook 19:48, 22 March 2010 (UTC) —Preceding unsigned comment added by 128.59.179.216 (talk) [reply]

lib to java class/.net il ?!

Is it (at least theoritically) possible to convert .lib/.o/.so/.dll files to java (JVM/.class) or .NET (CLR/il) ?! --V4vijayakumar (talk) 09:50, 22 March 2010 (UTC)[reply]

It's theoretically possible (see Turing completeness), but that doesn't mean it's easy.
What problem are you trying to solve? Are you wanting to call library functions in a DLL (or .so library in Linux) from Java or .NET? This can be done in Java using the Java Native Interface[16], and while I'm less experienced with .NET, it should be even easier from C# - see e.g.[17] --Normansmithy (talk) 12:20, 22 March 2010 (UTC)[reply]
If it was originally compiled from .NET, it's almost certainly still in IL, in which case .NET Reflector makes things very, very easy. —Korath (Talk) 14:45, 22 March 2010 (UTC)[reply]

How can I find out my first router's upstream IP when I'm behind several levels of NAT?

Situation:

(Internet)---(final NAT router)---(possibly more NAT routers)===(first NAT router)---(Linux box)

How can I find out what the IP of the NAT router in the network marked "===" is, when I'm root on the Linux box?

The Problem(s):

  • determining the IP should be possible in a non-interactive, scripted way
  • the router's GUI is inaccessible (Web only, requires User/Password, and some fancy JavaScript - Linux box is text only, and wget doesn't have a JS interpreter)
  • changing to another router brand/model is not possible

Finding out the public IP of the final NAT router would be easy (wget http://whatsmyip.de/ or a similar service and parse the result) but so far I haven't found a way to figure out the outside IP of my first NAT router. Traceroute only shows the internal IP known to the Linux box as its gateway, and the IP the next upstream NAT router has in the "===" network. Is there something like a "boomerang packet" that I could send to the next upstream NAT router and that would log and return all the IP addresses it has passed on its way? After all, on its way back, it would see the outside IP of my first NAT router, as it has to go back there... -- 78.43.60.58 (talk) 10:43, 22 March 2010 (UTC)[reply]

Addendum: ping -R some.ip.he.re should log the reverse route, but doesn't - one router flat out refuses to pass ping packets with a set RR flag, the other treats them like ordinary pings. :-( -- 78.43.60.58 (talk) 12:26, 22 March 2010 (UTC)[reply]
I think you'll need to leverage a protocol that works at the application layer because otherwise your NAT (which is doing some sort of inspection) is almost certainly going to rewrite the IP headers completely. The ping manual confirms what you say about -R, that it's not often supported.
I've got a few ideas, none of which are certain to work. First, you might try looking around for other protocols that could return the same information. If the NAT uses SSDP or some other management protocols, they might leak information about IPs.
The second one is less elegant. If the potential address range is small enough you may be able to guess at a proper IP, and then confirm through trial and error. Traceroute should tell you the gateways along the way, and from there you might be able to guess at a range of addresses. Then you could send them ICMP packets or something else you know will be returned, preferably with some sort of random number returned in each. This won't work if your NAT won't forward local addresses (or act generally weird when trying to do multiple-subnet setups, something I've seen on home routers). I may well have missed some obvious flaw here too, but maybe that gives you some idea of a place to start. Shadowjams (talk) 16:54, 23 March 2010 (UTC)[reply]
I left out a crucial part of the second one. The return address on the packets you send will need to be spoofed to the guess address. Then, you're going to need a way to see that packet. Two ways you could do that. If you can see the outer range of the second one, then that's easy, but then you probably already know the IP anyway. Second, you could try to do something similar to nmap's zombie scan, where it looks for a packet by checking sequence numbers. So send packet to the second gateway address with a spoofed return address of your guess. Note the sequence number of the second gateway. Then send another, noting the sequence again. If the sequence increments in between then it may have received a RST from the IP you're trying to figure out.
I'm assuming you own the relevant parts of the network too. I wouldn't advise sending spoofed packets onto other people's networks. In addition, there are a dozen things that could go wrong with this, I'm really thinking off the top of my head here. Shadowjams (talk) 17:08, 23 March 2010 (UTC)[reply]
Here's the nmap description of idlescan (zombie). You might also check out hping. Shadowjams (talk) 17:10, 23 March 2010 (UTC)[reply]

Spell check's algorithm

If you have a short text (say 4,000 words) and a list of words in a dictionary (250,000), does the spell check goes through the list of 1,000 words and the whole dictionary? That would mean 1.000,000,000 actions. Is that too much for a computer? Is there a more practical solution to optimize this thing? --ProteanEd (talk) 11:53, 22 March 2010 (UTC)[reply]

Simply deciding if a word is in the dictionary or not can be done in constant time (that is, it takes about the same amount of time if there's one word in the dictionary or a million) with a hash table. In this case, a hash table would be a big array, with the dictionary words scattered throughout it in such a manner that the programmer knows for a given word, where that word would be, if it were in the hash table at all. There's a bit of extra complexity (what if two words wind up being in the same place?), but hash tables can make spell-checking quite fast.
Now, making spelling suggestions is harder, and I don't know off the top of my head how it's done. Since the spellchecker needs to find words that are close to the word that it is looking for, it needs to do some clever approximate string matching to run fast. Simply running through a quarter million words and calculating the edit distance to all of them from the misspelled word would probably work on modern hardware, but there would be a noticeable pause, so they don't do it that way. Paul Stansifer 12:22, 22 March 2010 (UTC)[reply]
(edit conflict) Sort your dictionary in alphabetical order and use a binary search? Or index your dictionary. There's certainly no need to check each word in your text against all 250,000 words in the dictionary: you just need to know where the word would be in the dictionary if it existed, and then check if it is there. If you want to find a word in a paper dictionary you wouldn't start with page 1 and read all the words on it, then try page 2... --Normansmithy (talk) 12:25, 22 March 2010 (UTC)[reply]
You probably don't want to use a sorted list of words directly; a hash table's faster for spellchecking, and alphabetical order's only good for finding suggestions when the error's got a few correct letters to the left of it. (in particular, "the" and "teh" have a whole lot of words between them, and you're out of luck if you type a "c" instead of a "v" at the beginning of a word). But alphabetical order is the best that we can manage for "manual" spell-check. Paul Stansifer 01:55, 23 March 2010 (UTC)[reply]
To quickly search a word list, I'd have an alphabetically sorted list, indexed for the first few letters, then use a binary search beyond that. So, let's say I was looking up FREEMARTIN, I'd find the index offsets for FRE and FRF, then do a binary search between those values.
As for suggesting corrections, having a list of common misspellings of words would help here. If not, there could be a list of common phoneme errors, like "f" in place of "ph". You might also want to include keyboard errors. For example, a "b" in place of a "v" is likely, since they are adjacent on a QWERTY keyboard. StuRat (talk) 13:30, 22 March 2010 (UTC)[reply]
Phonic matching is based heavily on soundex. It takes constant time to calculate soundex (just replace the letters with numbers) and then constant time to lookup the soundex code in a table. The "definition" of the soundex code will be the words that match the soundex code. -- kainaw 13:35, 22 March 2010 (UTC)[reply]
Soundex works great when it's a genuine spelling error (like if you wrote "foneem" instead of "phoneme") - but it's not so great for typos ("ghoneme", "hponeme", "phoeme", etc). For those things, you need to look for words with one letter difference, words with swapped pairs of letters, words with extra letters and words with missing letters. For that, a binary search for likely candidates works best. You can also use Hamming distances to find the most similar words from your dictionary. But the time it takes to do spell checks is mostly in the time it takes for verify the correct words because (generally) the vast majority are spelled correctly...and for that a simple tree search or perhaps a hash table lookup is the fastest. SteveBaker (talk) 04:04, 23 March 2010 (UTC)[reply]
A fairly obvious data structure for this is a trie. For large dictionaries of relatively short keys its an excellent data structure, and not as messy and unorganized as a hash table. In fact, one can probably use a trie to find some classes of spelling errors. --Stephan Schulz (talk) 10:36, 24 March 2010 (UTC)[reply]

What is Smart Business?

I was watching Undercover Boss on Sunday night and they showed the CEO on the cover of a magazine called Smart Business? Does anyone know where I can get a copy of this magazine and what they're all about? —Preceding unsigned comment added by Markus37627 (talkcontribs) 15:01, 22 March 2010 (UTC)[reply]

I never heard of this magazine/newsletter, but here is their website. "Smart Business magazine subscriptions Smart Business is offered at no cost to qualified recipients. To request a subscription or to update your subscription information call our circulation department at 866-820-0329." Nimur (talk) 15:24, 22 March 2010 (UTC)[reply]

Linux, Multiple Monitors and CLI/Grub

Hi everyone,

An interesting conundrum: I've got an old laptop with no screen (so it's basically a thick keyboard), that I'm using as a server. I use it by plugging a monitor onto the external port. This works fine for the BIOS, Windows, and most of Ubuntu 9.10.

However, I can't use GRUB or the CLI. I don't ever see GRUB, and if I do ctrl-alt-f1 or gdm stop, the external screen goes blank (or freezes) and that's it.

I think this is because they're not outputting to the right screen?

This is a bit of a pain, as now that I've got everything set up, I'd like to be able to boot without gnome to minimise memory waste. I can always ssh after startup and turn off gdm that way, but it's a bit of a pain (and a bit risky) to have no way of controlling GRUB etc...

Does anyone have any clues as to how this could be solved? Is there a way of telling the CLI to "play" on both monitors?

Cheers, 213.71.21.203 (talk) 15:18, 22 March 2010 (UTC)[reply]

Check xorg.conf and make sure it is mirroring the screens, not spanning desktops. If it mirrors the screens, the same thing will show up on both screens. Exactly what it should have depends on the video controller in the laptop. -- kainaw 15:40, 22 March 2010 (UTC)[reply]
Sorry, I wasn't clear enough. This isn't a problem with anything X and above, all that works fine (Ubuntu even has a handy little tool for spanning/mirroring etc now, nice addition). It's only a problem when switching off X (switch to command line only) or using GRUB. So I don't think xorg.conf would help? Then again, maybe I'm mistaken. 213.71.21.203 (talk) 15:44, 22 March 2010 (UTC)[reply]
If it is a true CLI and not a "fancy" one with X running, then editing xorg.conf will not help. All of my full-size machines put the CLI on all screens. Your laptop can override that. I have one that does. I have to press Fn-4 to make it put screen output to external. -- kainaw 15:47, 22 March 2010 (UTC)[reply]
Give that man a banana! I never thoughtof trying to force it at a laptop level. I'll have a look tonight. Thanks, 213.71.21.203 (talk) 15:49, 22 March 2010 (UTC)[reply]
"Give that man a banana!" - I think this is an appreciation. which part of world you are from; which language you speak ? --V4vijayakumar (talk) 04:11, 23 March 2010 (UTC)[reply]

graph

Can I draw a graph taking values of (x,y)in fortran 90. This program is possible.Supriyochowdhury (talk) 15:47, 22 March 2010 (UTC)[reply]

Sure, in many ways:
1) Drawing it using ASCII characters is simple, like so:
    ^
  2 |    * *
  1 |* *   
    +------->
     1 2 3 4
2) Create a graphics format pic, like JPEG or GIF or BMP. This is a lot more work. There are a few human readable bitmap formats, that tend to make huge files, but most are in a binary formats that're more difficult to edit. A system command can then be issued to display the pic, using something like MS Paint.
3) There may be ways to make a graphic display directly in Windows or Linux from Fortran commands, without first creating a file, but I don't know of any, offhand. StuRat (talk) 16:00, 22 March 2010 (UTC)[reply]
Try pgplot. 213.71.21.203 (talk) 16:06, 22 March 2010 (UTC)[reply]
A major weakness of FORTRAN is its inability to easily generate graphical interfaces, including general purpose plots. Consider outputting your data in a tab-delimited format and piping the output to a graph program like Gnuplot. Nimur (talk) 16:17, 22 March 2010 (UTC)[reply]

fortran

what is the quickwin application and standard graphics application in fortran 90 software.Supriyochowdhury (talk) 18:09, 22 March 2010 (UTC)[reply]

See QuickWin. As for a standard graphics library for Fortran, I haven't ever seen one. The standard is console output. There are many graphics libraries available for it, but they are not "standard". -- kainaw 20:04, 22 March 2010 (UTC)[reply]

Quantum computing

I've read the Quantum computer article but there are still some questions I'd like to ask please. 1) How much faster than a conventional computer will a quantum computer be? 2) Despite what the article says about qbits, will quantum computers still be working with conventional logic overlaid on top of the underlying qbit logic, or are there radically different 'magical' things they can do but which conventional computers cannot do? 3) Will a quantum computer ever be the same size and usage as as a home desktop computer or does it need an engineeering plant attached to supply -273 degree C temperatures? 4) How will the quantum part interface with a keyboard and display? Thanks 78.149.193.98 (talk) 20:33, 22 March 2010 (UTC)[reply]

  1. It won't be faster (or at least, that won't be a function of using qbits), it can simply compute a whole bunch of answers at once in such a way that the "correct" answer drops out at the end.
  2. From the lede of the article, it can use certain algorithms that rely on nigh infinite parallelism, but it's still a computer. No magic allowed.
  3. Can't predict the future here. It all depends on what technological advances allow us to do.
  4. It's not magic. You'd program it in a way similar to programming normal computers. It would likely require a regular CPU to define the problems to it; keyboards and displays simply take input and provide output, quantum really doesn't enter into the equation.
ShadowRanger (talk|stalk) 21:16, 22 March 2010 (UTC)[reply]

"It can simply compute a whole bunch of answers at once in such a way that the "correct" answer drops out at the end." Could it be explained how that is done please? 92.24.91.12 (talk) 23:54, 22 March 2010 (UTC)[reply]

(1) basically means "faster, but only for some problems". It's a similar problem to parallel computing: if you can break the problem down in a certain way, you can get the result faster as if there were a lot of computers working on it at once (in the parallel computing case (like in your graphics card), this is literally true, but in the quantum computing case, it's not. Regarding (3) and (4), it's probably best to read the "computer" in "quantum computer" not as "personal computer", but in the general sense, as a computational device. Unless the technology turns out to be cheap to manufacture, and consumers tend to want to factor lots of large numbers (you never know!), there's not too much reason to expect to see quantum coprocessors showing up in PCs. Paul Stansifer 02:10, 23 March 2010 (UTC)[reply]
Part of the problem is that they'll only be faster for particular classes of highly parallelizable algorithms. It's highly likely that they'd be exceedingly slow for algorithms that require serial processing. Hence, it's most likely that these gizmo's would be highly specialised "co-processors" that you'd hook up to a completely normal PC which would run the operating system, drive the peripherals, etc. For example, it's hard to imagine how you'd use a quantum computer to render graphics for a computer game and it certainly won't help with surfing the web or doing your taxes. But it might be just the thing you'd want for a chess playing computer because it could test all possible moves in one step and looking hundreds of moves ahead might well turn out to be child's play - that would be a truly astounding thing. IMHO, these things will be rare, temperamental and used mostly for scientific computing, cracking encryption, weather forecasting, that kind of thing. I doubt they'll be found in the home or office for a very long time. SteveBaker (talk) 03:48, 23 March 2010 (UTC)[reply]
I wonder if someone will come up with a 'quantum coprocessor' for parallelism. Highly unlikely, given the evolutionary architecture... but with enough innovation, anything's possible. Doubting they will be in the home reminds me of the IBM chairman who said that there would be a need for about 5 computers worldwide. I can think of many tasks being made parallel - for example booting up and checking a driver list for hardware changes - if all checks/IOs are done at once, we have instant boot up. Sorting large lists in parallel, compression/decompression of parallel streams then merging the results, buffering, searching caches, virus checks, etc. - many serial tasks can be done or converted to parallel. These tasks could be sent to the "quo-processor" while other serial tasks continued normally, until a point in the future when all serial tasks have algorithms to run in parallel, including rendering graphics. Sandman30s (talk) 12:49, 23 March 2010 (UTC)[reply]
But I/O won't benefit from parallelism; quantum computing won't do anything about, say, bus contention (barring some major development I can't imagine). Most tasks that involve a large amount of data are I/O-bound in the first place. Even tasks that are traditionally thought of as compute-bound, like playing chess, might become bound by memory bandwidth if the CPU becomes faster. See Non-Uniform Memory Access for work on the memory bandwidth problem. Paul Stansifer 14:23, 23 March 2010 (UTC)[reply]
Who's to say, at this early stage, that qubit storage won't happen in some revolutionary way as well? Traditional IO might be as far removed as the LP is to the USB stick. Boundaries between memory and IO will become blurred as quantum storage media are able to hold exabytes and higher. Imagine being able to store (optical or other) bits at the subatomic level. This will most definitely support parallelism at a grand scale. Sandman30s (talk) 06:22, 24 March 2010 (UTC)[reply]
The quantum computer article is pretty good in some ways, but it understates the amount of uncertainty over whether a nontrivial quantum computer can be built at all, even in theory. "Nontrivial" doesn't mean quantum megabits or terabits, it means anything more than a dozen or so quantum bits. You might like Scott Aaronson's lecture notes starting here if you want to learn a bit more about the topic. 66.127.52.47 (talk) 15:24, 23 March 2010 (UTC)[reply]


March 23

World Book Cyclo-Teacher Learning Aid

Around 1976, World Book Encyclopedia published a "Wheel of Learning" accessory with encyclopedia sets, which contained a packet of disk-shaped cards which were placed in a mechanical computer capable of showing a question in a window, and if my memory serves correctly, scoring the series of multiple choice questions shown through that window. I can only find a single passing reference to the Wheel of Learning on the web. Can anyone find a description of the scoring capabilities of the machine, or a photograph? Thank you. 99.56.137.254 (talk) 07:28, 23 March 2010 (UTC)[reply]

I had a 1967 or 1968 complete World Book set, and I don't remember any such accessory. (It sounds like something I definitely would have remembered). At least this puts a lower-bound on the year they introduced it... I haven't found any information via a cursory web search, but I wonder if you could contact World Book directly to request information. Alternately, you could check used-book and online auction sites to see if anyone is selling one, and contact the seller. Nimur (talk) 14:46, 23 March 2010 (UTC)[reply]
I remember it. It was a flat plastic beige box about 18". It was hinged on one side and you opened it an placed a large paper disc with the questions on a spindle, then the answer disc on top. There was a spring loaded trigger to rotate the wheel. It wasn't a computer, just a fancy sort of flash card. We proabably go our WBE set around 1972— they had the off-white covers. ---— Gadget850 (Ed) talk 21:50, 23 March 2010 (UTC)[reply]
Found it! It was the Cyclo-Teacher Learning Aid. Here is a photo.[18][dead link] We also had the Childcraft series— Snopes should use it as a source for urban legends. ---— Gadget850 (Ed) talk 22:33, 23 March 2010 (UTC)[reply]
Here is a 1966 ad.[19] I remember the salesman coming to the house— I can't pin it down, but it had to be between 1963 and 1974. WBE + Childcraft + the Cyclo-Teacher = $393.15. Big money when a dollar would buy a glass vinegar jug of gas for the mower and a popsicle at the Esso station. ---— Gadget850 (Ed) talk 22:59, 23 March 2010 (UTC)[reply]

Excellent! Higher-resolution picture[dead link], and a detail of the wheel inserts.

I remember now, the scoring usually wasn't automatic, but an answer would appear along with the answer you wrote for the previous question when you advanced to the next question, and the oval area was available to write in your answer's score. Am I correct in remembering that the 1976-era version had some kind of a digital counter to keep track of the score? Also, am I imagining this or was there also a punch-card track for multiple choice questions somewhere on the wheels? The more I think about this, the more it feels like I am remembering from imagination, so I'm very curious to know whether someone else remembers a punch card system for multiple choice scoring. Web searching with the correct name of the device (thanks to Gadget850!) leads me to believe that the memory may be entirely from my imagination. I really wanted it to be true, and I still do so much it almost seems real. 99.56.136.197 (talk) 15:18, 24 March 2010 (UTC)[reply]

Lyrics display

I know there are plug-ins that can display lyrics for a song by downloading them from the internet, but are there any plug-ins or options in Winamp that enables a person to view the lyrics that are stored as metadata in the .mp3 file itself? Thanks in advance. 117.194.226.40 (talk) 12:30, 23 March 2010 (UTC)[reply]

WinAMP Plugin Search found 25 "lyrics"-related plugins. I haven't used any of these and have no specific recommendations. However, I do know that WinAMP does have built-in display for lyrics that are stored in MIDI files, though that interface is very clunky. I was not even aware that MIDI files could store lyric information until I started getting these irritating popup windows out of WinAMP. Nimur (talk) 16:12, 23 March 2010 (UTC)[reply]

digital age classroom

what is a digital age classroom? —Preceding unsigned comment added by 117.99.44.25 (talk) 16:19, 23 March 2010 (UTC)[reply]

A classroom in the digital age? I'm not sure it has a precise definition. It probably means that the classroom uses computing as part of its general instruction. I would imagine this would range from taking attendance on the computer screen (which they did even when I was in high school, over a decade ago) to the regular use of the internet in assignments, communication with students, learning, etc. --Mr.98 (talk) 16:25, 23 March 2010 (UTC)[reply]
To me, the use of ebooks is one of the most obvious benefits for the classroom, eliminating the need for students to carry heavy and expensive books around. (Not finding a booger in your book from last year is a nice bonus.) StuRat (talk) 16:32, 23 March 2010 (UTC)[reply]
Maybe if you spent more time studying and less time picking your nose, you would have moved on to the next grade and wouldn't still be using your books from last year ;) NByz (talk) 03:25, 24 March 2010 (UTC)[reply]
It is just a buzzword for having computers in the classroom. It means nothing about how they are used or how effective they are. -- kainaw 18:35, 23 March 2010 (UTC)[reply]

Verifiable donations to a ACLU/EFF/Wikimedia/Free Software Foundation sort of organization

I want to find a charity that takes online donations in such a way that I, a third party, verify the donation was made (with the permission of the donor, of course).

Let me back up.

Like lots of people, I wrote a little tiny nothing piece of software for my own needs. When I was done, I threw it up on a website, gpled it, and called it good. But except for me, end users are generally non-programmers, so even though the improvements are simple and quick for me, they're out of reach for my users. So even though my one-time need for the program is over, I still try to make the requested changes to improve it when I have time.

But as the program is evolving, more and more requests are coming from people using the software for a business. I don't mind doing these changes, but I certainly don't enjoy fulfilling these sorts of requests as much-- because I'm basically volunteering to be an unpaid employee of a corporation.

What I would like to do is use this as a fundraising opportunity for some charity that I would be proud to help out. I think this would be a lovely solution-- The requesters gets the new features they want , I get to know my time is valued and I'm not being used, the charity gets money to make the world a better place, and everyone gets slightly a slightly better tiny nothing piece of software.

But, to pull it off, I need some way to verify that the requester has made a donation of x dollars to the charity. All aspects of the donation and verification need to happen online-- for ever postage stamp required, I bet I'd lose half my requester.

It needs to be "Click here to donate" button, and then I need to be able to verify the donation as soon as possible thereafter.

Is there anybody who might have such verification system and might also be A Force of Good? I listed the geek liberties groups, but really almost anything non-evil would work. Given the sums and the geography, I don't think "tax writeoffs" are going to be a concern, so it doesn't really matter whether it's a technical charitable donation or not. Just needs to be good, take online donations, and verify them.

Any suggestions for how I could go about finding such a thing? -CreedShandor —Preceding unsigned comment added by CreedShandor (talkcontribs) 18:36, 23 March 2010 (UTC)[reply]

Justgiving (UK based - they also have a US based page called First Giving) exists to do just this as far as I can tell, however they are a for-profit company and take 5% of donations before giving it to the charity, so it depends whether that bothers you. Most people use it to raise sponsership for a specific event, but I beleive you can use it long-term as well (one group I found uses it to take donations for an ebook). Equisetum (talk) 18:59, 23 March 2010 (UTC)[reply]
I don't know of one that's actually up and running (I hadn't heard of First Giving before) but I'd heard such proposals in relation to anti-spam protocols. Basically you'd make a verifiable donation to a charity of your choice and then anyone who verified the donation could choose to give you some digital cash tokens; then anyone else into spam suppression could recognize tokens from trusted issuers (sort of like OpenID). In your case it's probably simpler to just ask the change requester to pay you directly, or connect up them up to a bounty organizer so they can find someone else to make the change. 66.127.52.47 (talk) 19:18, 23 March 2010 (UTC)[reply]
You could register as a "provider" at http://www.fiverr.com, and say "I will write an upgrade to _____ for $5". They have the architecture already in place to collect and remit payments, and with a sufficiently "obscure" tagline, you probably wouldn't get bombarded with requests. (The site keeps $1, you get $4, and you can donate it to whomever you wish.)
Not exactly what you were looking for, but heading in a good direction -- and maybe close enough? DaHorsesMouth (talk) 22:23, 23 March 2010 (UTC)[reply]

Mount a laptop hard drive in a desktop?

Hello! My laptop (for all intents and purposes) died a few days ago; whenever I turn it on, all I see is a gray screen, not even the POST or any way of accessing the BIOS (and seeing what I'm doing), but the CPU light keeps flashing, the fan is running, and it does seem that the insides are functional. When I tried booting from a Linux live CD, I could hear the CD drive spinning and the CPU working, but no visual feedback. Anyway, my friend has been generous enough to let me open up his desktop computer and install my laptop's hard drive so I take off all my important files, but I don't know if this is even possible. A google search seems to indicate it can be done, but requires some extra hardware. Both the laptop and the desktop are made by HP, both running Windows Vista (but desktop is 32-bit and laptop is 64-bit, but that shouldn't make a difference). What's the easiest and cheapest way to do this (assuming the problem isn't the hard drive), for someone who has little hardware experience but has seen someone install an internal hard drive? Thank you for the help, or any suggestions about what's going on with my laptop, but I imagine it's one of those things a professional has to play around with for a while to fix. Thanks!--el Aprel (facta-facienda) 21:19, 23 March 2010 (UTC)[reply]

Presuming you just want to recover the data and not leave it installed. You can get a SATA/2.5PATA/3.5PATA to USB adapter on eBay for ~$5. The downside is that they ship from Hong Kong and take a few weeks. You can find enclosures at Radio Shack and the like. Ensure you know whether you have a SATA or PATA (IDE) interface. ---— Gadget850 (Ed) talk 21:36, 23 March 2010 (UTC)[reply]
If it's an IDE drive, you need something like this (I searched for "laptop IDE converter"). If its a SATA drive then it should just work. Installing it should not be difficult - the only thing you might need to do is to make sure that the desktop will still boot to its own internal disk, rather than the new one (this is configured in the BIOS, and is almost certainly already set up the way you want). -- Finlay McWalterTalk 21:40, 23 March 2010 (UTC)[reply]
Sounds like just your screen as died, in which case you can hook your laptop up to an external screen. Easiest would then be to get (or borrow) an external HDD to which you can copy all your data.213.160.108.26 (talk) 22:10, 23 March 2010 (UTC)[reply]
Just to synthesize a bit of the above: hard drives are just hard drives, but they have different pins that speak different languages. What you need to do is find out whether your laptop hard drive is SATA or PATA or IDE, and then figure out whether the desktop is SATA or PATA or IDE. If they are the same then it is no problem other than removing the hard drive from the laptop and plugging it in as a "slave" to the desktop (which, depending on the model, might be a tough job -- plugging things into desktops is easy but removing parts from laptops can be hard depending on how compactly they are engineered... look online for a tutorial for your model if you can, and keep track of the screws!). If they are not the same then you will need something that will let you mount the laptop drive, like the SATA to USB connector, or an external hard drive enclosure. You can look up whether it is SATA or IDE or etc. by just Googling the model numbers—you should be able to find technical specs about the hard drives. --Mr.98 (talk) 23:38, 23 March 2010 (UTC)[reply]
Just for the record: 213 said that the monitor is broken- Though it also may be the video controller. Before you open it up, plug it into an external monitor and see if it works. Otherwise, Mr.98's summary should hold you in good stead. Mxvxnyxvxn (talk) 18:15, 24 March 2010 (UTC)[reply]
Thank you all for the information. Your help has certainly made this situation more manageable.--el Aprel (facta-facienda) 23:22, 24 March 2010 (UTC)[reply]

March 24

Is there a way to edit the html of a page while I'm viewing it?

Sometimes a page loads on my screen and I really need to make a small change (I don't like the width of the columns, or I want to highlight certain words, or something). The changes don't have to be permanent. Is there a way to make them while I'm viewing the page? If the page has webforms (e.g., a Wikipedia edit page), will those still work? 207.237.228.236 (talk) 00:14, 24 March 2010 (UTC)[reply]

Yes, Firebug (web development) does exactly this. You can edit the HTML of a specific tag (either of a leaf or a non-leaf) and the change shows in real time as you're typing. You can do the same for CSS (both in stylesheets and inline). The changes are indeed not permanent (they're overwritten on the next reload) but you can save the changed page. At the risk of sounding like a breathy fanboi, Firebug does all kinds of most excellent things for the web developer, and is in general pretty all-round fabtabulous. -- Finlay McWalterTalk 00:45, 24 March 2010 (UTC)[reply]
Wow, this is a superb product. Thank you! 207.237.228.236 (talk) 01:19, 24 March 2010 (UTC)[reply]
Internet Explorer 8 does this as well. It's already built in, just hit F12 and the developer tools will load up. ZX81 talk 01:55, 24 March 2010 (UTC)[reply]
I type JavaScript into the address bar to edit web pages. You replace the web page address with code like this:
Make the page your viewing editable
javascript:document.body.contentEditable='true';document.designMode='on'; void 0
Go to Google images and run this to rotate images:
Rotate images on a page around
javascript:R=0; x1=.1; y1=.05; x2=.25; y2=.24; x3=1.6; y3=.24; x4=300; y4=200; x5=300; y5=200; DI=document.images; DIL=DI.length; function A(){for(i=0; i-DIL; i++){DIS=DI[ i ].style; DIS.position= 'absolute'; DIS.left=Math.sin (R*x1+i*x2+x3) *x4+x5; DIS.top=Math.cos (R*y1+i*y2+y3) *y4+y5}R++} setInterval ('A()',5); void(0);


And here's one I came up with myself. It blanks out all flash movies on a page:
javascript:for(i=0; i<document.getElementsByTagName("object").length; i++){document.getElementsByTagName("object")[i].LoadMovie(0, "f")}
--Chmod 777 (talk) 02:03, 24 March 2010 (UTC)[reply]
Yes, Firebug is great for JS debugging and small edits like deleting some obnoxious box in a page. If you want to permanently associate editing scripts with particular web pages, you want GreaseMonkey or for ad blocking, AdBlock Plus. If you just want to mess with Wikipedia pages for your own viewing, enroll an account and set up a customized WP:SKIN which is a javascript file called "monobook.js". 66.127.52.47 (talk) 04:17, 24 March 2010 (UTC)[reply]

Thanks, everyone, for the generous answers!!! I particularly am glad I learned about Firebug and also about all the cool things that I can do with javascript in my address bar. 207.237.228.236 (talk) 07:27, 26 March 2010 (UTC)[reply]

Looking for win 32 version of Apache httpd 2.0.64-dev

Help! I have Apache 2.0.59 running on windows server 2003. There is a vulnerability (mod_isapi module unload flaw CVE-2010-0425) which I need to patch for.

When I looked at the Apache website (http://httpd.apache.org/security/vulnerabilities_20.html) it states that the vulnerability was fixed in Apache httpd 2.0.64-dev

But no matter how hard I tried, I cannot find httpd 2.0.64-dev anywhere on the http://httpd.apache.org website.

Can someone please help. Thank you. 139.130.1.226 (talk) 00:30, 24 March 2010 (UTC)[reply]

I've not found definitive description of the Apache developers' naming conventions, but I think -dev is the name they give to "versions" in heavy development (which then turn into -alpha and -beta and finally the released version). So you wouldn't expect to see a -dev in a release mirror (because it's not a release); it's a less formal name they give to what they think 2.0.64 will be when they finally release it. This post suggests they haven't yet released 2.0.64 proper (which isn't surprising, as CVE-2010-0425 is only a few weeks old). For a definitive answer you should ask on the Apache-httpd developer's website, but I think right now if you wanted something approximating 2.0.64 you'd have to pull the tree and build it (doing so isn't hard), but then you're running unreleased and possibly untested code. -- Finlay McWalterTalk 01:21, 24 March 2010 (UTC)[reply]
Or you can download the 2.0.63 source code, unzip, apply the patch for CVE-2010-0425 (you'll need patch for windows; how to apply a patch), then compile Apache. That is how you patch a server vulnerability. If you don't want to do that, wait for 2.0.64 to be released. Indeterminate (talk) 13:41, 25 March 2010 (UTC)[reply]

Surds on the TI-84 Plus

Is it possible to display surds on the TI-84 Plus? If not, is there a program I can get which will do it on the TI-84 plus? —Preceding unsigned comment added by 124.171.116.21 (talk) 01:51, 24 March 2010 (UTC)[reply]

TI-84 is a rather slow computer, but still a TI Basic trial-and-error program would find the most common expressions (m √a)/(n √b). Simply iterate through low values of m, n, a, and b. --Andreas Rejbrand (talk) 02:15, 24 March 2010 (UTC)[reply]
Does anyone have a link to a program to download that does that? —Preceding unsigned comment added by 124.171.116.21 (talk) 02:22, 24 March 2010 (UTC)[reply]
Ticalc.org is a good resource for this sort of program. Caltsar (talk) 15:30, 24 March 2010 (UTC)[reply]

Plugging an PC's network cable into a Cat-5 PBX wall jack fried the ethernet card

Today someone at work (it's unknown exactly who) plugged a PC network cable into a different "network jack." Apparently it wasn't a network jack, it was the Cat-5-sized connection to the PBX. (One port on every set of network outlets is apparently for that PBX and most of them are currently plugged into phones.) The tech guy told me that it fried the onboard network card. I asked him if it was a different voltage and he said yeah.

Is this a typical or common problem? Why use a PBX system that uses the same physical format as regular networked PCs, but make the electric format such that it would physically disable a network card? Is this some transition PBX system that was advanced enough to graduate from regular old phone cables to Cat-3 or Cat-5s, but not quite an IP-based system yet? NByz (talk) 02:52, 24 March 2010 (UTC)[reply]

It's the other way, RJ-45 has been a standard connector for multiline phones for ages, and UTP ethernet was originally designed around the existing availability of cheap phone cables and connectors. I got no clue about PBX's but if I had to guess, I'd imagine they use a 45 volt ring current just like a POTS phone, and that's what fried your network card. 66.127.52.47 (talk) 04:14, 24 March 2010 (UTC)[reply]
The connector itself is called 8P8C officially, although RJ-45 is widely (incorrectly) used to describe 8P8C connectors in general. The 8P8C connector in the PBX could be for a DS-1 (T1/E1) line. I've heard the story before of an Ethernet card being fried by the higher voltage of a T1. 98.226.122.10 (talk) 06:14, 24 March 2010 (UTC) Wait a minute... on reading that again, if there was a (plain, single-line) phone plugged into the jack then it wouldn't be a T1, it would be a true RJ-45 and I'll agree with 66.* above that the RING is what zapped it. 98.226.122.10 (talk) 06:17, 24 March 2010 (UTC)[reply]
An 8P8C has eight connections. This is more than enough for most uses, and gives a flexibility that makes it the overwhelming choice for office structured cabling deployments. This means computer networking (4 connections), analog telephony (2 connections), digital telephony (4-6 connections), alarm circuits (2 connections, I think), cc-cameras (3+), LonWorks (2, possibly + power) and other stuff can all be run from the same rack through the same infrastructure. The downside is that there are too many possible uses of the pins to set things up so that accidentally connecting one type of device to another won't have deleterious consequences. And the (apparent) ease of reconfiguring the cabling can fool people who think they know what they're doing into making such a bad connection. In your case it's likely that your office has a digital PBX system (which are either IP or a proprietary protocol) and a regular ethernet; the telephones connected to the PBX need power as well as signal (and at a nontrivial voltage, as they're now fairly sophisticated computer devices with screens and stuff). Good colour coding can help avoid accidental problems, but nothing can save you if someone appoints themselves tech-savant and starts repatching with abandon. -- Finlay McWalterTalk 09:58, 24 March 2010 (UTC)[reply]
The internal PABX shouldn't use the ring line, it is not needed with modern phones and the signal on it can cause noise on lines near it. Then again you may have a BOFH with an etherkiller on your site :) Dmcq (talk) 10:30, 24 March 2010 (UTC)[reply]
That's certainly true, but it's still common for there to be analog lines present in the building - either real inbound analog lines (for ADSL, fax, and power-fail-backup) and ones synthesised by the DPABX (for fancy conference phones and again for fax). -- Finlay McWalterTalk 10:40, 24 March 2010 (UTC)[reply]
There is a significant advantage in having phones running through RJ45 ports under each desk. If the desks are rarely moved, but the data and voice requirements at each desk change with whoever is assigned to a desk, it makes sense to have a common infrastructure to each desk (especially if you consider the disruption, time and cost of ripping up the floor every time someone needs a second phone line or extra data connections).
For example: My desk has two PCs and a phone but under the desk there are four identical RJ45 ports. The phone is plugged in to the only port labelled with a "T". However, the real distinction between which ports are phone and which are data is made in the "network cupboard" where the entire floor's network infrastructure comes together in a large patch panel and the phone connctions are patched to the PBX cabling. Astronaut (talk) 13:00, 24 March 2010 (UTC)[reply]

What is the future for SUN Microsystems

Now that ORacle has eaten the SUN. What is the future for SUN Microsystems and it's legacy? 122.107.207.98 (talk) 07:15, 24 March 2010 (UTC)[reply]

We don't speculate about the future on the reference desk. Here's the official plan from Oracle: poster for Sun customers. Nimur (talk) 09:02, 24 March 2010 (UTC)[reply]
Yeah. And we all know how good Larry Ellison's word is.[20], [21], [22]--Chmod 777 (talk) 10:06, 24 March 2010 (UTC)[reply]

There have already been some very profound changes in various Solaris licensing schemes, and evidence that both MySQL and OpenSolaris will be better supported by forks. That's not speculation, sadly. 99.56.136.197 (talk) 15:20, 24 March 2010 (UTC)[reply]

fastest browser

Which net browser is the fastest lately???? —Preceding unsigned comment added by 119.235.54.67 (talk) 09:08, 24 March 2010 (UTC)[reply]

Google says Chrome (browser) is. Aaadddaaammm (talk) 09:22, 24 March 2010 (UTC)[reply]
IE is the fastest to crash. Lynx (web browser) and Links (web browser) are pretty fast. --Stephan Schulz (talk) 10:21, 24 March 2010 (UTC)[reply]
Lifehacker publishes regular browser speed tests e.g. [23] comparing Firefox 3.6, Chrome 4 and Opera 10.5, and I would personally trust lifehacker to be fairly impartial. Note that different browsers tend to be fastest at different things (startup time, javascript etc.). That said the fastest browser is indeed probably a text based browser such as Lynx (web browser), but that comes at the expense of a lot of functionality. Equisetum (talk) 11:04, 24 March 2010 (UTC)[reply]
I'll speak to the functionality of modern versions of Lynx. I often find myself connecting to the internet in very weird ways; when I need email or internet over a 100 bit-per-second connection, I can trust Lynx to not only function, but to do so with great tolerance for crummy connectivity. I can view and edit Wikipedia; I can transcode and downlink an MP3 news update from Voice of America, I can browse with full colorized hypertext to mimic the formatting of a general "web 2.0" website, I can block advertisements, and much more. On these kinds of flaky or slow connections, Firefox, Opera, and other "standards" all suffer timeouts, graphics kludges, and total system failure. So, by that standard, Lynx is by far the fastest browser in terms of scaling down the latency chain - when the network can deliver 100 bits, Lynx uses 100 bits for useful work (while Firefox blows it on a frivolous AJAX request so I can see an animated twitter logo). I currently have Lynx Version 2.8.7pre.6 on Ubuntu 9.10, and it is fantastic as a failsafe browser. Nimur (talk) 15:52, 24 March 2010 (UTC)[reply]

is there any software that can answer trivial questions about "is there any number that?"

Is there any software that can answer trivial question ssuch as "is there any integer that is both less than 0 and greater than 0" or "is there any integer that is equal to 8 and that is equal to 9?" Thank you. 84.153.234.218 (talk) 14:29, 24 March 2010 (UTC)[reply]

In plain language? Probably not. When expressed in algebraic language? Any scripting language can do this quickly. The question is whether you are trying to get the software to parse English for you or whether you are trying to get it to parse logic/math. For a computer the latter is a trivial task when put in the right terms. --Mr.98 (talk) 15:11, 24 March 2010 (UTC)[reply]
For a lot of things, it's possible to put together a quick program to find something like that out. But not always, even if the terms are well-defined. For example, the question "is there any even integer greater than 2 that isn't the sum of two primes?" has eluded mathematicians for over 250 years.
You can sometimes coerce Wolfram Alpha into solving these kinds of problems (http://www.wolframalpha.com/input/?i=x+>+0+and+x+<+50+and+prime(y)+%3D+x), but figuring out its language is hard. Paul Stansifer 15:28, 24 March 2010 (UTC) dangit, corner cases of MediaWiki syntax are hard, too[reply]
This shell script will correctly answer your example questions and others like it:
while read; do
  echo "No."
done
--Sean 15:40, 24 March 2010 (UTC)[reply]
Any of the programs listed at Interactive theorem proving should be able to do this. (Though I'm not an expert at using them.) Fair warning: these things are very difficult to use. Staecker (talk) 16:41, 24 March 2010 (UTC)[reply]
Depending on how complex you get, and how you word it, Wolfram Alpha Alpha might be able to do it. Like, "is 65537 prime", which is pretty cool. Shadowjams (talk) 05:29, 25 March 2010 (UTC)[reply]

Ticker tape transmitter keyboards?

Ticker tape, originally from 1867 stock ticker printers, was in use until the early 1970s, and seems to me an indelible part of the western psyche because of the fact that the ticker tape parade was for several decades the highest de facto honor bestowed on war, science, and exploration heroes by the populace. It is easy to find pictures of and descriptions of the ticker tape printers, but I have only been able to find this lithograph ("Sending Messages over Ticker System," Scribner's Magazine, July 1889) of the transmitter, described thusly: "As of 1883, quotations were sent using a transmitter, 'the keyboard of which has much the same appearance as the keyboard of a piano, the black keys representing letters and the white keys figures and fractions.' When an operator struck a key on the transmitter, one of two small wheels (one for letters, the other for numbers) in each connected ticker revolved until the desired letter or figure came into position to print on a paper tape that passed through the device."[24]

This is the earliest example of digital telecommunication equipment, so it would be great if we could get a better picture of one of those keyboards. There are thousands of ticker tape machine pictures easily available, but are there any surviving transmitter machines or a better picture of their keyboards? 99.56.136.197 (talk) 15:04, 24 March 2010 (UTC)[reply]

Getty images http://cache4.asset-cache.net/xc/JH5652-001.jpg?v=1&c=IWSAsset&k=2&d=2AC75F6FAA20674CD1900A18F97E500B0EF1EBF13E19BD2549207362A3F24453 may be too modern for you. -- SGBailey (talk) 17:00, 24 March 2010 (UTC)[reply]
I don't know how that photo is labeled at Getty, but it shows punched paper tape which isn't really the same thing as ticker tape. --LarryMac | Talk 18:21, 24 March 2010 (UTC)[reply]
Also this one? http://www.juliaauctions.com/auctions/archived/toy/jun01/pict0113.jpg -- SGBailey (talk) 17:02, 24 March 2010 (UTC)[reply]
That seems to be an ordinary mechanical typewriter mounted below a ticker tape printer. 99.27.201.226 (talk) 19:36, 24 March 2010 (UTC)[reply]

Caret browsing

My Mac offers me caret browsing, but nowhere in the Help or manual is caret browsing explained... please somebody put me out of my misery.Froggie34 (talk) 16:17, 24 March 2010 (UTC)[reply]

caret navigation — look for your cursor, press some arrow keys. ¦ Reisio (talk) 16:54, 24 March 2010 (UTC)[reply]
You're talking about your web browser, right? Here's how normal mode and caret browsing mode differ:
In the normal mode, the arrow keys will control the scroll bars and scroll the window immediately. If you want to select some text on the page, you have to use the mouse.
In caret browsing mode, a text cursor (a blinking vertical line) is always visible on the page, even on parts of the page where you can't edit text. The arrow keys move the text cursor, and only once it goes beyond the edge of the window does the window scroll. You can select text without using the mouse: Move the text cursor to where you want to start, then hold Shift while you press the arrows keys to highlight what you want. --Bavi H (talk) 02:50, 25 March 2010 (UTC)[reply]

Cloning a linux install, then using the hdd image on a different pc

Hi Wikipedians,

I am not sure how to do it (or if it is possible at all): I wan't to be able to clone a linux install (Centos, running Asterisk) as a means of backup, Is there a way to use a cloned image with another machine? ex: Clone the HDD on System A, then if say System A's board dies out, use the cloned HDD on System B (both systems have dual NICs btw)? I am primarily concerned regarding the network interfaces / devices working properly, as I've noticed sometimes with the same machine, one install may label a different NIC for ETH0 or something. Also, will it matter if System A happens to be Multi-Core and System B single-core?

Software recommendations would be welcome.

Thanks for helping a Linux Newb :) PrinzPH (talk) 18:37, 24 March 2010 (UTC)[reply]

I've done just this (strictly moving a linux install from one machine to a quite dissimilar newer one, but that's the same effect as what you propose). I just plonked it in the new one and it worked. The only thing that didn't work (out of the box, without me doing anything) was indeed the assignment of the ethernet adapter. On the system I was using (a recent Ubuntu Linux) these were assigned by udev according to /etc/udev/rules.d/70-persistent-net.rules which contained a line that said (in essence) "reserve /dev/eth0 for a device with MAC foo". In the new machine the ethernet adapters were different, so that rule didn't find anything to match, but udev reserved /etc/eth0 anyway (it does that incase you want to have a removable adapter, like a USB one, always be at the same device name). The kernel found the installed ethernet adapter in the new machine and assigned it to /etc/eth1. As the /sbin/ifup script (and its buddies) were coded for eth0, they didn't bring up eth1, so the machine had no internet. The fix is simply to comment out the rule lines in /etc/udev/rules.d/70-persistent-net.rules, which leaves the kernel to assign whatever ethernet adapters it finds to whichever /dev/eth? devices it thinks best (in essence by PCI discovery order). The only other thing I can think of is if you have a device driver that isn't managed by your dist but by yourself - I know next to nothing about Asterisk installs, so I don't know how it gets drivers for things like linecards. I also know nothing whatever about Centos, so I don't know if it has udev or devfs (which does the same job, but differently). -- Finlay McWalterTalk 19:05, 24 March 2010 (UTC)[reply]

As long as the systems are the same arch, the worst case scenario is that you'd have to make a tweak or two as Finlay's described, and maybe add some new drivers to your kernel, etc..* ¦ Reisio (talk) 00:06, 25 March 2010 (UTC)[reply]

With binary distributions such as CentOS, it's often possible to plug the drive into another computer, even with a closely related but not identical architecture. A 32-bit installation originating from a 32-bit x86 computer can be plugged into an x86-64 computer, for example. In that case, the processor will run in backwards-compatibility mode, which means you cannot address more than 4GB RAM, but it will work nonetheless. (However, plugging an x86-64 installation into an x86-32 computer will not work.) There is one very important caveat when moving installations between processors, though: any programs compiled with GCC's -march= flags may need to be recompiled even between identical architectures but different processor models. -march applies aggressive optimisations for specific CPUs, even at the cost of compatibility with other CPUs, meaning the machine code may not be compatible even between two closely related CPUs by the same vendor but with a different model number. On CentOS, the only programs potentially affected by that are the ones you have compiled from source. --Link (tcm) 08:19, 25 March 2010 (UTC)[reply]

Firefox - Add-ons no longer shown in menus

I have Firefox 3.6.2. The Add-ons no longer appear in the menus anywhere. When I click on any "options" button in the Add-on page, that page freezes. As far as I recall it was working OK after recently downloading the 3.6.2 version. This might perhaps be connected with running the program called CleanUp! shortly before, although when I ran it on previous occassions with the same settings it didnt cause any problems. Anyone know what the solution might be? Thanks. I have tried re-starting the computer. 78.149.167.173 (talk) 21:21, 24 March 2010 (UTC)[reply]

I'm running the same version, I have no problem navigating through any menus. I can't find any "options" button in the Add-ons window, did you mean the "options" in the "Tools" menu? What OS are you running? 24.189.90.68 (talk) 22:28, 24 March 2010 (UTC)[reply]

All the Add-ons have disapeared completely, they are no longer in any menu nor at the top of the browser. However they are listed in the Tools/Add-ons page, but when I click on any Options button on that page freezes and I have to press Ctrl-Alt-Del to close the page. I have WinXp, Sp3. 84.13.22.69 (talk) 13:03, 25 March 2010 (UTC)[reply]

Hmm, maybe Firefox didn't update your add-ons properly, and now they're crashing FF? You might try Manually uninstall extensions and/or Manually uninstall plugins, and then reinstall them if that fixes the Add-ons tab. Indeterminate (talk) 13:22, 25 March 2010 (UTC)[reply]

Would it be easier to simply uninstall Firefox, re-install it, then reinstall all the plug ins? Perhaps I ran the CleanUp! too early after upgrading to 3.6.2 and it deleted something important. I may not have restarted the computer between using them. 84.13.22.69 (talk) 15:01, 25 March 2010 (UTC)[reply]

I did uninstall everything and then reinstall everything, and now it is working OK. I havnt tried running CleanUp! again yet. 84.13.34.56 (talk) 13:21, 26 March 2010 (UTC)[reply]

March 25

fortran 90

HOW CAN I WRITE e-m in fortran 90.Supriyochowdhury (talk) 01:26, 25 March 2010 (UTC)[reply]

Try this:
(e**(-m)) * (e-m)
StuRat (talk) 01:49, 25 March 2010 (UTC)[reply]
Assuming that by "e" you mean e (mathematical constant), Fortran provides a function to calculate ex: EXP(x) (in which "x" needs to be a REAL or COMPLEX value and the function returns the same sized result). Also remember that EXP(1.0) will return the actual value of the mathematical constant.
The exponention operator ** can be used for integer exponents, but if you want to work with REAL or COMPLEX values you will need to use the log & exponent method. So on the other hand, if you want to raise some other value by any power, remember that ab ≡ e(ln(a)*b). Fortran provides a function to find the natural logarithm: LOG(x) (in which "x" needs to be a REAL or COMPLEX value and the function returns the same sized result). So, in Fortran you can raise a to the power of b by writing EXP(LOG(a)*b). Astronaut (talk) 02:41, 25 March 2010 (UTC)[reply]

How do I restore minimized windows ?

Resolved

I'm in Windows 98 (StuRat ducks to avoid insults) and my Menu Bar/Task Bar has gone bye-bye. The obvious thing to do is to reboot, but first I'd like to pop up my minimized windows and save my work. So, how can I do this with keystrokes ? Isn't there a "maximize all" command ? StuRat (talk) 04:17, 25 March 2010 (UTC)[reply]

Does alt-tabbing to them each work? Comet Tuttle (talk) 04:38, 25 March 2010 (UTC)[reply]
If you can pull up Task Manager (using ctrl+alt+del), you can restart explorer.exe from the "Run" menu. Nimur (talk) 06:14, 25 March 2010 (UTC)[reply]
Windows-M is minimize all, and SHIFT-Windows-M maximizes all (I think). Not sure if that worked with win98. Sandman30s (talk) 07:41, 25 March 2010 (UTC)[reply]

Thanks all. Alt-Tab worked, Shift-Windows-M didn't, and the Task Manager under Windows 98 only kills processes or reboots the computer, there's no Run menu there. StuRat (talk) 13:09, 25 March 2010 (UTC)[reply]

(EC) A bit late, but anyway: Just to clarify, you are referring to the task bar? Alt+Tab normally works, but maybe not if explorer.exe is not running. I have never heard of Shift+Win+M, and it does not work in Win 7. Ctrl+Alt+Delete will not allow you to start any programs in Win 9x. (Nimur: have you forgotten the dialog?) I do not remember Win 9x sufficiently well, but I wonder if not Ctrl+Shift+Esc will open the alternative program manager window when the Start Menu is unavailable, in which you do can start explorer.exe. --Andreas Rejbrand (talk) 13:11, 25 March 2010 (UTC)[reply]
(even later) StuRat could have tried restarting Explorer.exe (the program that provides the desktop and menu bar). Win+R should make the "Run..." dialog appear even in Windows 98 and you can restart Explorer from there. Astronaut (talk) 13:36, 25 March 2010 (UTC)[reply]
Yes. But I am not 100 % sure that Win+R will work if not explorer.exe is running... That's why I mentioned the "alternative program manager" window. --Andreas Rejbrand (talk) 13:45, 25 March 2010 (UTC)[reply]

I did mean the Task Bar, and I've now added that to the original Q. Control + Shift + Escape brings up the Start menu, from which I can pick the Run menu, and Win + R takes me directly there. As for restarting Explorer.exe, that's the type of thing that would take down a computer that's already having problems (hence the missing Task Bar), so something I'd want to try only as a last resort. StuRat (talk) 16:15, 25 March 2010 (UTC)[reply]

PDF assistance required

Resolved

Dear Refdeskers, short and sweet. I require assistance regarding opening two PDF files, which I had obtained from a guy I do projects for. They are here and here. He swore he can open them, I've tried Adobe Reader, Foxit, Evince, PDFedit, GIMP, Inkscape and Google Docs and got nothing. Maybe one of you guys manages to open these two files? These are nothing to worry about, nor are they NSFW (unless industrial laundry machines turn you on). On the other hand I won't be surprised if they really are corrupt. Thanks in advance and cheers! --Ouro (blah blah) 13:38, 25 March 2010 (UTC)[reply]

They look corrupt to me. Indeterminate (talk) 13:49, 25 March 2010 (UTC)[reply]
They are corrupt. I wonder if this is what happened: He emailed them to you. You saved the PDFs from the email. You couldn't open them, so you posted them online. If so... The ones on his end were not corrupt. The corruption came in your attempt to save the files from your email. PDFs have a high tendency to corrupt in email because they take soooo loooong to download when you save them. Most people don't wait and only download a fraction of the PDF to their harddrive. Often, I have to access my mail through the web to force it to do a web-download of the PDF instead of email download. -- kainaw 13:56, 25 March 2010 (UTC)[reply]
Yeah, from glancing at them in hexedit, it looks like they aren't complete. At least, they don't end the same way other PDFs do. Indeterminate (talk) 14:04, 25 March 2010 (UTC)[reply]
Downloaded them from online using three different machines (different OSes and different configurations), and every time they came out corrupted. Downloaded them with a package of other PDFs that didn't get corrupted during download. Thanks for reinforcing my judgement, friends. Cheers!! --Ouro (blah blah) 14:11, 25 March 2010 (UTC)[reply]

The nuts and bolts of quantum computing

"It can simply compute a whole bunch of answers at once in such a way that the "correct" answer drops out at the end."

Could someone explain this please? I take it that a quantum computer is parallel in some way. Can anyone explain how? 84.13.22.69 (talk) 14:56, 25 March 2010 (UTC)[reply]

I don't know if this is relevant, but meteorologists run many different models on different computers, simultaneously, to predict the weather. They then will give a range of results, such as possible hurricane tracks, based on the summation of all those results. StuRat (talk) 16:18, 25 March 2010 (UTC)[reply]
Have you looked at the quantum computer article? A really oversimplified description: a regular computer has bits that are flipped on or off independently. A quantum computer uses "quantum bits" (qubits) that are not entirely on or off, but that are in a mixed state that describes a generalized probability distribution, set up so that the qubits are not independent but entangled. The system is in a set of superposed states (like the fictional Schroedinger's cat is simultaneously alive and dead) that don't resolve until you observe them with a measurement (one of the big practical obstacles is avoiding doing observations until you're done with the computation, see decoherence). There are then operations you can do on the qubits that alter the probability distribution, so that the most likely observation is the one that expresses the answer to your problem. You then observe the state to get the answer. 66.127.52.47 (talk) 23:11, 25 March 2010 (UTC)[reply]

I had read the article thank you. Having another look at it and its links, then relevant part is Shor's algorithm, and there is an explaination "for the man in the street" in the links at the end which I havnt had time to read yet. 84.13.34.56 (talk) 13:38, 26 March 2010 (UTC)[reply]

Linux filesystem problem?

On Fedora 12 Linux, I accidentally rewrote the partition table of a new hard drive while I had one of its partitions mounted. I got a nasty-looking error message from fdisk, but then I umounted the partition, and rewrote the partition table again. There was no loss of data because the drive was new and had no data to begin with. But will this cause problems in the future? JIP | Talk 18:15, 25 March 2010 (UTC)[reply]

If it truly has no data and you are worried about future problems, you can umount it, and reformat it. However, if it mounts properly and shows the correct system type and size, I do not see a problem. You can, if you want to, chkdisk to see if it has anything bad on it. But, for the time that will take, I'd just format it. Of course, I completely format all my drives every year. So, I'm not a good example. -- kainaw 18:42, 25 March 2010 (UTC)[reply]
By "rewrote the partition table", do you mean that you re-ran mkfs? I've never heard any reason to believe that mkfs pays attention to the original contents of the partition, so in that case it shouldn't matter what was on it before. Paul Stansifer 12:26, 26 March 2010 (UTC)[reply]

Access 2003 Question

OK, I know I'm clueless and I'm not very experienced with Access, but can someone please help me with this without trying to explain programming code? I have a database with a list of medical simulation scenarios. Each scenario has mutiple columns with nothing but an 'x' in it. So, scenario 1 has an x in the "Respiratory", "Pulmonary" and "Ecmo" columns, scenario 2 has an x in the "Respiratory", "X-Ray" and "Chart" column, etc. I am trying to set up a form where someone can go in and choose which criteria they want, then hit a button and all the different scenarios that match their criteria will pop up. I can figure out how to hit one button and have it return all the scenarios with an x in the respiratory column, but how can I set it up where I can pick mutiple criteria and it will only return the records that meet all the criteria I choose? Thanks in advance! Tex (talk) 19:17, 25 March 2010 (UTC)[reply]

What you need is a little bit of VBA that creates a custom SQL query for the code you want. Let's say that you had "Respiratory" indicated by a checkbox named checkboxRespiratory, "Pulmonary" by checkboxPulmonary, and so on. Then you could assign it to your list of results as the source. The VBA would look something like this (not tested, and I'm a little rusty on VB):
Dim sqlquery as String
Dim sqlAnd = false
sqlquery = "SELECT * FROM tableScenarios WHERE ("
If checkboxRespiratory.Value = True then
If sqlAnd then sqlquery = sqlquery & " AND"
sqlquery = sqlquery & " Respiratory='x' "
sqlAnd = true
End If
If checkboxPulmonary.Value = True then
If sqlAnd then sqlquery = sqlquery & " AND"
sqlquery = sqlquery & " Pulmonary ='x' "
sqlAnd = true
End If
If checkboxEcmo.Value = True then
If sqlAnd then sqlquery = sqlquery & " AND"
sqlquery = sqlquery & " Ecmo ='x' "
sqlAnd = true
End If
sqlquery = sqlquery & ")"
ResultsList.RowSource = sqlquery
Or something like that. (I can't give more specific examples without knowing a bit more about how your form is set up.) Does this make sense? In the end your code will give you an SQL statement that looks something like "SELECT * FROM tableScenarios WHERE (Respiratory='x' AND Ecmo ='x')". Then you put that as the RowSource of a Listbox (or Combobox, or there are other ways to do it).
(Note that the whole reason there is the sqlAnd bit is because you need to have ANDs between each evaluation in the SQL query, but don't want a trailing AND. Doing it the way I did it is a quick and dirty way to do this.)
Does that make sense? That's one way to do it; there are others. I have not tested the above code, it assumes your database data is really made of strings (is really "x" and not a True/False field), which might not be the case. It is not hard to modify, though, but understandably using VBA to create SQL probably will make you a bit nervous at first if you are familiar with neither. --Mr.98 (talk) 23:56, 25 March 2010 (UTC)[reply]

IE8 - default to display the "Find" tool

Is there a way I can set IE8 (v8.0.6001.18702 on fully patched WinXP MCE SP3) to start with the "Edit->Find on this page" tool open on a toolbar? I can't find any native way (through the various menu/toolbar options) to do so and my various searches of support sites yield nothing. Basically, I do enough searching for text in Wikipedia pages that I'd rather have the Find box on a toolbar all the time. Franamax (talk) 19:57, 25 March 2010 (UTC)[reply]

Ctrl+F is not fast enough? --Andreas Rejbrand (talk) 20:49, 25 March 2010 (UTC)[reply]
...or just install Firefox instead and be able to find text simply by typing it, without the need to display any dialog or select any menu option. JIP | Talk 20:59, 25 March 2010 (UTC)[reply]
Well no, ctrl-F isn't fast enough or I wouldn't have asked. It requires an extra switch between visual, key-sequence, and textual tasks. I wish to go directly from browsing to search by clicking in the pre-existing find box sitting right there in the otherwise empty space on my toolbar. Is that possible? (And I appreciate the advice on browser platforms but for various reasons I need to stick with the "mainstream"). Franamax (talk) 01:36, 26 March 2010 (UTC)[reply]

Backups

I now possess not zero, not one, not three, but two 1 terabyte USB hard drives intended solely to back up my internal hard drives. I intend on running a routine backup process once every few days, alternating between the drives, keeping the drive only turned on for the duration of the backup process. If one drive fails, the other still has most of the data, and I can replace the faulty drive with a new one. But is there anything I can do to make sure the other drive doesn't fail as well before I can replace the one that (hypothetically) did fail? I am fairly sure that now that I have two drives, simply having more than two would be superfluous, the main point is that there no longer is a single vulnerability to the entire backup. JIP | Talk 21:09, 25 March 2010 (UTC)[reply]

If you can solve that problem, you can prevent any drive from failing in the first place. The risk of two drives failing at once is why there are mirroring solutions that use additional redundancy so it takes two or more drive failures to lose data. If your data is on your computer and two backup drives, you've got double redundancy, so the only way you lose your data is if the remaining two go down before you can replace the first to fail. Statistically speaking, you're in pretty good shape, as long as you acquire replacements quickly. —ShadowRanger (talk|stalk) 21:15, 25 March 2010 (UTC)[reply]
I was going to suggest that you make sure the two disks are different models, ideally by different manufacturers - if instead you bought two disks of the same model at the same time, it's likely they're from the same batch. If you are unlucky enough to get a bad batch, then that increases the chance that the failure of the first will be followed by the failure of its counterpart (that is, that the failures have a common causation and are not unrelated events with independent probabilities). But if you've already bought the disks, then it's too late for that. The scheme you describe still has, on the face of it, a single-point of failure - if the disks are stored in the same building as the original machine and something affects those premises, it affects the backups too. So a burglary, a legal dispute, a fire, a flood, a release of toxic gas from that oil refinery down the road which prevents you from going home for a couple of weeks, all these make your backups useless. Remote backups (where you operate two or more machines, and they backup each other with rsync over ssh overnight) or hosted online backups (where your backup lives at Amazon or wherever) are much safer from this perspective. Even if you're not willing or able to go to these lengths, think about where the backup disks are when they're being stored. Are they in a pile on top of the machine, or are they kept in a locked firesafe in another room? -- Finlay McWalterTalk 21:30, 25 March 2010 (UTC)[reply]
Very good point. I tend to overlook that sort of thing. I figure if my apartment bursts into flames, I've got bigger things to worry about, but on further consideration, there is a lot of stuff I simply could not reproduce if my computer went down. I keep the important stuff on RAID-1 disks, but I really ought to spring for off-site backup. —ShadowRanger (talk|stalk) 21:42, 25 March 2010 (UTC)[reply]
It's true that if you have a true disaster then backups might be the least of your worries. But, for individuals and particularly for business, there are all kinds of unexpected nasties that can temporarily deny you access to your premises or your machine, that only become a disaster if your backup strategy is bad. I worked one place where the river flooded the entrance to the office estate, meaning no-one could get to the (perfectly dry and functional) office. This happened on the day of a (panic mode) deliverable, leading to much wailing and gnashing of teeth - but I just sent everyone to another office where the overnight backup was available and everything got done fine. For an individual things don't need to be at all advanced; I just tar my "fragile" folder to a DVD, keep one copy at home, another in a firesafe at home, and another in a relative's safe in their home (they're not all done concurrently), so the worst case (total fire) would cost me about a month's stuff (and as it's mostly copies of viagraspam, that's an appropriate level of risk). -- Finlay McWalterTalk 22:35, 25 March 2010 (UTC)[reply]
Get some more drives. The site [25] has a cute parable (warning, it ends with a gentle sales pitch) that is pretty informative about various issues of backup strategy. 66.127.52.47 (talk) 23:15, 25 March 2010 (UTC)[reply]
If you're serious about not losing your valuable data, I would also suggest a fire safe. As others have said, if you're unlucky enough to have a fire, or a theft, it's quite likely you will lose all 3 drives. With a fire safe remote from your PC, you have much better insurance against that. --Phil Holmes (talk) 09:24, 26 March 2010 (UTC)[reply]

Converting from flv to image files

I want to convert a .flv video file into a series of video images, one per frame. I used to be able to do it with winamp, but now that i have windows vista, i dont think the operating system allows the program permissions to start making the image files.

How can i convert every frame of an flv video to an image file? This is all i want to do, and it should be an easy solution.

Thanks! 137.81.112.175 (talk) 00:00, 26 March 2010 (UTC)[reply]

Both WinFF and HandBrake should be able to manage that.
If you have a Unix box handy, it's as simple as ffmpeg -i foo.flv %d.jpg. ¦ Reisio (talk) 00:56, 26 March 2010 (UTC)[reply]

Google Earth down?

Anyone know what's up with Google Earth? For about the past 8 hours it's been telling me it can't connect to the database. I wonder if their servers are down? —Steve Summit (talk) 00:31, 26 March 2010 (UTC)[reply]

Seems to work alright here. 5.1.3533.1731 Linux ¦ Reisio (talk) 00:59, 26 March 2010 (UTC)[reply]
I guess it's just me, then. Strange. (Rebooting didn't help, either.) —Steve Summit (talk) 13:23, 26 March 2010 (UTC)[reply]

Shift+F10 not working in Opera

I don't know if anyone else is experiencing this, but shift+F10 isn't working in Opera 10.51. 24.189.90.68 (talk) 01:18, 26 March 2010 (UTC)[reply]

When I need to do spell check, I mean. 24.189.90.68 (talk) 04:23, 26 March 2010 (UTC)[reply]

partitioning a new laptop with preinstalled os

My friend bought a Dell Inspiron Laptop with Windows 7 preinstalled. It has only one partition and he would like to have a few more added. Can I do that with Gparted without damaging the existing partition? The Windows 7 CDROM that was bundled with the laptop doesn't have a serial on it, my friend says. How do they provide the s.n. usually?--117.204.86.16 (talk) 02:17, 26 March 2010 (UTC)[reply]

Look on the bottom of the laptop. There should be an official Windows sticker with the serial number attached. Astronaut (talk) 04:41, 26 March 2010 (UTC)[reply]
Yes, if you're careful with gparted then this shouldn't be a problem. In addition to the sticker that Astronaut mentions (which I'd recommend you photograph or photocopy, as these can get scuffed up after a few years of laptop use) many laptops also record their OEM licence code in flash memory on the motherboard - so if you reinstall the correct OEM windows (usually from system restore) it automatically gets the licence key from flash and you don't have to enter it manually. (This doesn't work at all if you try to install another version of windows, particularly a retail build, for which that OEM licence isn't valid). -- Finlay McWalterTalk 11:15, 26 March 2010 (UTC)[reply]

vba to android?

I have created a VBA + Excel app, trying to make into an android app for marketplace. Anyone know how android works? Could I just copy-paste vba script? minor alterations? major? Will it run faster/slower?Thanx 173.30.18.29 (talk) 06:27, 26 March 2010 (UTC)[reply]

It will be full rewrite I believe. VBA relies on a host application (Excel in your case) and Microsoft haven't released the Office Suite for Android yet. Ignoring that most android apps are written in a Java like language which bears little resemblance to VBA syntax.87.54.40.66 (talk) 11:58, 26 March 2010 (UTC)[reply]

Yeah. Basically Android applications are written in Java. Totally different language that looks nothing like VBA or Excel. It would be non-trivial to port it over if you are not fluent in Java. --Mr.98 (talk) 12:13, 26 March 2010 (UTC)[reply]

Insecurity through OS piracy?

Are there any documented cases of crackers intentionally adding security vulnerabilities to their releases of a pirated operating system? NeonMerlin 06:31, 26 March 2010 (UTC)[reply]

Haven't heard of anyone doing so, although it's quite common that some illegally downloaded software are laced with malware code, which, according to some groups, was added by certain ill-intended people and not by the crackers themselves. Blake Gripling (talk) 07:26, 26 March 2010 (UTC)[reply]
It has happened, but it's nowhere near as prevelant as your average Windows user is afraid it is. ¦ Reisio (talk) 07:37, 26 March 2010 (UTC)[reply]

Looking for a web annotation program that does certain things

Hello,

I am looking for a web annotation service that combines the following features:

1) ability to highlight text,
2) ability to insert an html anchor so that I can jump people down to a particular paragraph,
3) ability to upload my modified version of the webpage for public viewing.

The purpose is so that when I put urls into footnotes in Wikipedia, I can have them point directly to the section of the document that I'm referring to, and have that section highlighted.

However, I am unable to find a service that provides me with the second feature (ability to insert an html anchor). Does anyone know of one that does this? Thanks,

user:Agradman, editing from an IP address - 207.237.228.236 (talk) 07:35, 26 March 2010 (UTC)[reply]

I just want to add that you probably shouldn't use this for URLs on Wikipedia, just as you shouldn't use link shorteners or things like that. Why? Because someday the service you are using will probably go down (just how things work on the internet) or changes names or whatever. If the original, base URL isn't completely obvious, that means we've lost a good link. It also means that in the future finding archive.org equivalents to said good links is harder. An all-around easier way to cite specific pieces of text is to just quote the beginning of what you are quoting in the footnote reference. Keep it simple, as they say! --Mr.98 (talk) 12:09, 26 March 2010 (UTC)[reply]