Jump to content

Wikipedia:Reference desk/Computing

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by 209.203.125.162 (talk) at 17:36, 26 March 2014 (→‎What was the processing power of Folding@Home?). 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 22

Creating maps

Hi there,
I wonder how to create a map.
for example


I assume that he did not draw with paint. 00:01, 22 March 2014 (UTC) — Preceding unsigned comment added by 84.229.20.78 (talk)

No, it's safe to say that map was not drawn in Paint. :-)
Have a look at our article on Geographic Information Systems. If you want to pay a lot of money for a program that can draw maps like that (and manipulate all sorts of data related to the map), try ArcGIS. If you want free software that does the same thing, look at QGIS or GRASS GIS, and the OpenStreetMap project. —Steve Summit (talk) 12:12, 22 March 2014 (UTC)[reply]
Also see cartography.--Shantavira|feed me 14:31, 22 March 2014 (UTC)[reply]

Remove Watermark from video..!

Is it possible to remove watermark from video? If yes, how can I do that? Which are the softwares that help to do it?--Joseph 05:35, 22 March 2014 (UTC)[reply]

It should certainly be possible to almost completely remove it. I say "almost" because a slight difference in quality might remain. For example, say a given watermark works by making the pixels half as bright. If, on a scale of 0-100, two adjacent pixels were 50 and 51 bright originally, they might both be reduced to 25 brightness by the watermark, and both be restored to 50 bright after, so the one pixel isn't exactly the same brightness as it was originally.
The only real difficulty I see is in identifying which pixels were included in the watermark. If the font, size, etc., can be identified, a computer program could probably take it from there. Also, if the watermark is variable, so reduces the brightness by different amounts in different areas, you'd have to know, or be able to figure out, what the original formula was.
Ideally, if you could run the software to create a watermark of the same type on a test background, the watermark removal program should be able to figure out what it did and reverse the process. StuRat (talk) 15:30, 22 March 2014 (UTC)[reply]
Resolved
If you have a frame which is entirely black (or white), you can start from there. Then you only have to tell RGB color from alpha (transparency). Because of the lossy compression usually used, the quality loss can still be noticeable; it is usually better (but not always possible without losing important content) to crop the watermark out. - ¡Ouch! (hurt me / more pain) 08:06, 24 March 2014 (UTC)[reply]

Learning HTML, CSS and jQuery for free...!

Hi, How can I learn HTML, CSS and jQuery for Web designing for free?--Joseph 05:41, 22 March 2014 (UTC)[reply]

You should find plenty of tutorials on the web. The link articles may even lead you to some. Start simple, learn some basic html first, then some styling with CSS then learn some javascript and finally jQuery. There are some places on our sister sites which may help:wikibooks:HyperText Markup Language wikiversity:HTML, wikiversity:Web Design/HTML Challenges.--Salix alba (talk): 07:23, 22 March 2014 (UTC)[reply]
Once you've learnt the basics, it is instructive to save a web-page with an interesting layout to your local hard drive, and then to take it apart at the <div> tags to determine how it works. Likewise, you can edit the CSS to see how they affect its layout. CS Miller (talk) 12:20, 22 March 2014 (UTC)[reply]
Resolved

When a message is sent someone to whom a friend request is sent on facebook it went to his other mail folder(as notified by message) but now it is going to inbox although it shows friend request is not accepted yet that pending .Why does it so happen and what can be concluded from this .117.194.232.154 (talk) 17:18, 22 March 2014 (UTC)[reply]

FB messages will go to the recipient's inbox if the sender is a friend, or a friend-of-a-friend. Is there now a friend in common, when there were none before? CS Miller (talk) 18:36, 22 March 2014 (UTC)[reply]

HTML code for particular pagination

Hi, can anyone provide the HTML code to get a pagination as in this picture? I would like to use it in my blog. I've already used a code there.

Here is the code I am using currently.

source code
/* Page Navigation styles */
.showpageNum a {
  background: #000000;
  padding: 3px 8px;
  margin:0 4px;
  text-decoration: none;
  border:1px solid #000000;
  -webkit-border-radius:3px;-moz-border-radius:3px;
  }

.showpageOf {
margin:0 8px 0 0;
}
.showpageNum a:hover {
  background: #FFFFFF;
  border:1px solid #000000;
  }

.showpagePoint {
  color:#000000;
  text-shadow:none;
  padding: 3px 8px;
  margin: 2px;
  font-weight: 700;
  -webkit-border-radius:3px;-moz-border-radius:3px;
  border:1px solid #000000;
  background: #FFFFFF;
  text-decoration: none;
  }

/*...........................................................*/

<!--Page Navigation Starts-->
<script type='text/javascript'>
var home_page="/";
var urlactivepage=location.href;
var postperpage=6;
var numshowpage=6;
var upPageWord ='Previous';
var downPageWord ='Next';
</script>
<script src='/files/colorizetemplates-pagenav.js' type='text/javascript'></script>
<!--Page Navigation Ends -->

So, it will be good, if anyone could say what modifications should I need to do, to get a pagination as in the picture. Thanks in advance. --Joseph 17:24, 22 March 2014 (UTC)[reply]

Not sure what you want... the HTML you're using seems to work fine for pagination. Is it that you want your navigation buttons to look more like the picture? The issues I can see is that the border radius is not appearing because it is being overridden by the padding, and the default blue for links could also be overridden:
source code
.showpageNum a, .showpage a {
  background: #000000;
  padding: 0 8px; /* changed this from 3px 8px */
  margin: 0 4px; 
  text-decoration: none;
  color:#ffffff; /* added white colour to override default link blue */
  border:1px solid #000000;
  -webkit-border-radius:3px;
  -moz-border-radius:3px;

There is also no style definition for the class "showpage" which is why it the word "Previous" still appearing blue, so I have added it to the above definition so it is the same as the word next, you will also add it to the hover definition as well (I don't know if you can change the div name for Previous as it seems to be linking to an external script):

source code
.showpageNum a:hover, .showpage a:hover {
  background: #ffffff;
  border:1px solid #000000;
  }

--Canley (talk) 01:18, 23 March 2014 (UTC)[reply]

Thank for your continuous help and support. Sir, I made changes as you said above. But I need to get something exactly as in the above picture..! What should I do?

What does this code mean?

<script src='/files/colorizetemplates-pagenav.js' type='text/javascript'>

How can I create a script of my own? --Joseph 06:16, 23 March 2014 (UTC)[reply]

Sorry, I had the wrong comment markup, remove the double slashes and the text after it (or replace as above enclosed in ). That should work. --Canley (talk) 07:17, 23 March 2014 (UTC)[reply]
You can download the script which is being imported from googlecode.com, and place it in script tags, then you can alter it. You shouldn't need to though, as I said it works fine and you should be able to do all the layout with CSS. --Canley (talk) 07:17, 23 March 2014 (UTC)[reply]
You'll also need to change the padding in the showpagePoint class to
padding: 0 8px;

If you want Previous to be white with a black border, then add it to the definition for showpagePoint:

source code
.showpagePoint a, .showpage a {
  color: #000000;
  padding: 0 8px;
  margin: 0 4px; 
  text-decoration: none;
  color:#000000;
  border:1px solid #ffffff;
  -webkit-border-radius:3px;
  -moz-border-radius:3px;
}

--Canley (talk) 07:23, 23 March 2014 (UTC)[reply]

Sir, now this is the code I'm using as per your latest edits. Yet, I couldn't see black borders on four sides when a page is selected or when cursor is hovered above it in my blog..! Everything other than it is fine and nice..! Thanks for it. If you don't mind can you have a look at the code and correct it? Also, how can I create my own codes in Google Code? Thanks again for your great help.
source code
/* Page Navigation styles */
.showpageNum a, .showpage a {
  background: #000000;
  padding:0 8px; 
  margin:0 4px; 
  text-decoration: none;
  color:#ffffff; 
  border:1px solid #000000;
  border-radius:3px;
  -webkit-border-radius:3px;
  -moz-border-radius:3px;
}

.showpageOf {
  margin:0 8px 0 0;
}
.showpageNum a:hover, .showpage a:hover {
  color:#000000;
  background: #ffffff;
  border:1px solid #000000;
  border-radius:3px;
  -webkit-border-radius:3px;
  -moz-border-radius:3px;
  }

.showpagePoint, .showpage a {
  color: #000000;
  padding: 0 8px;
  margin: 0 4px; 
  text-decoration: none;
  color:#000000;
  border:1px solid #ffffff;
  border-radius:3px;
  -webkit-border-radius:3px;
  -moz-border-radius:3px;
}

--Joseph 10:21, 23 March 2014 (UTC)[reply]

I've made some edits, try that. It does appear a bit differently in Safari to Chrome, so I could see it working but you maybe using Chrome so the top and bottom borders were disappearing. --Canley (talk) 22:47, 23 March 2014 (UTC)[reply]
Yeah. Everything fine now..! Thanks for your invaluable help Canley..!--Joseph 10:15, 24 March 2014 (UTC)[reply]
Resolved

March 23

virus

i have a 64 bit windows8 system.recently i have observed that every time i switch it on, the C drive memory(free space) decreases substantially say approx 2GB without anything installed or stored there.presently it has become full and no antivirus tends to heal it.the service centre guys told to recover it.i want to know is there any alternative,i mean through command propt can i track the malware or whatever is causing the problem.182.73.75.234 (talk) 06:36, 23 March 2014 (UTC)[reply]

Hi, you'll get direct answers from Windows experts if you could post this here.--Joseph 10:03, 23 March 2014 (UTC)[reply]
Are you using system restore? Check the settings to make sure it isn't the creation of backups that's causing it. That's pretty unusual behavior for the most common kinds of malware today, and the kinds of virus that, say, append themselves to executable files, are some of the most easily detected. --— Rhododendrites talk19:49, 24 March 2014 (UTC)[reply]

Gmail puts my Amazon emails in spam folder, no exceptions

I have no filter. I keep telling Gmail they're not spam, but it won't listen. Imagine Reason (talk) 14:59, 23 March 2014 (UTC)[reply]

Have you tried making Amazon's email address a Contact? Rojomoke (talk) 21:07, 23 March 2014 (UTC)[reply]
No luck. Imagine Reason (talk) 23:27, 23 March 2014 (UTC)[reply]
I suggest first check your spam filters (if you have any) for some word or phrase that is triggering it as spam, and then look at the Gmail help forum .--Shantavira|feed me 09:08, 24 March 2014 (UTC)[reply]
As a bandaid you could create a filter that takes all Amazon emails and stars them, labels them, or some other mechanism that would avoid the spam box. Also, have you searched through your spam box to see if you accidentally marked any Amazon emails as spam in the past? --— Rhododendrites talk19:38, 24 March 2014 (UTC)[reply]
Just a note regarding the last bit of your suggestion. Gmail deletes spam in the spam folder after 30 days. So if they marked something as spam longer ago than that, it won't be there anymore. Dismas|(talk) 19:41, 24 March 2014 (UTC)[reply]
Yeah, it's been a long-term problem. I've now added my first filter, one that makes sure nothing from *amazon.com (no syntax hint on Gmail?) is sent to Spam. Seems to have done the trick. Thank you. Btw, for some reason Amazon emails forwarded from another account were not sent to Spam; only those addressed directly to me were. Imagine Reason (talk) 05:14, 25 March 2014 (UTC)[reply]
There should be a "reason" given at the top of spam messages - this could give a clue as to why it was put in spam -- Q Chris (talk) 08:42, 25 March 2014 (UTC)[reply]
"Be careful with this message. Our systems couldn't verify that this message was really sent by amazon.com. You might want to avoid clicking links or replying with personal information." This problem doesn't appear in my other Gmail/Amazon accounts. Imagine Reason (talk) 14:06, 25 March 2014 (UTC)[reply]
I was wondering about this from early on. Are you absolutely sure these emails are from Amazon? I receive fake emails from all sorts of services (Linkedin etc) every so often including ones I'm not even using, as do many people. Google is normally fairly good as distinguishing the real from the fake so if they end up in your spam folder, I would make sure they are really from Amazon or whoever you think it is. Note that the fact the email claims to be from *amazon means nothing without very carefully looking at the headers and perhaps analysing the email itself. Nil Einne (talk) 21:23, 25 March 2014 (UTC)[reply]
Yes. I buy an app, place an order, etc.. Promotional emails, everything goes to spam. Imagine Reason (talk) 01:11, 26 March 2014 (UTC)[reply]

Unlisted YouTube Videos

Are there ways to search unlisted YouTube videos besides Google or Yahoo? — Preceding unsigned comment added by 174.65.135.44 (talk) 21:33, 23 March 2014 (UTC)[reply]

If you can, they won't be unlisted anymore. Defeats the purpose. But maybe. InedibleHulk (talk) 22:48, March 23, 2014 (UTC)
Depending on how bad you want to see them, you could "Do cool things that matter". InedibleHulk (talk) 21:57, March 24, 2014 (UTC)

March 24

matrix

101.222.245.26 (talk) 17:21, 24 March 2014 (UTC)i need to write get a code in c without using any functns ,i have just arrays and pointers and stdio.h.the test case is for 2*2,3*3,4*4 matrix.what i wrote is just giving me for 2*2 and 3*3 .any suggestions.[reply]

What exactly is your code supposed to do ? Read in a matrix from a file and print it out ? If you are off by 1, that may be an error due to C starting arrays at 0 instead of 1. So, if you are reading in a 3x3 array and then printing out elements [1,1]-[3,3] instead of [0,0]-[2,2], that would cause a similar problem. You can show your code here for more answers, if this advise doesn't help. StuRat (talk) 17:40, 24 March 2014 (UTC)[reply]
"i need to write get a code in c without using any functions". Tell us why you "need to write" and why you cannot "using any functions". If you are writing in C language, then writing C functions is a natural way to program. Not writing any functions is highly unnatural. Anyway, what you need are algorithmn for matrices which you can find in math textbooks at college or university levels. The actual computation language is just a tool to use for computations. 202.177.218.59 (talk) 01:27, 25 March 2014 (UTC)[reply]
It's hard to say exactly what our OP is asking here - but I presume "without using any functns" means "without using any external library functions"...or something like that - otherwise you could simply find a linear algebra package someplace and solve the problem with a single function call. Also, I'm a little concerned that this is probably a homework question, it's hard to imagine a non-homework situation where forbidding the use of an external library would make sense - and we're not allowed to help you do your homework. But in any case, there is simply no way we can help to debug this code without seeing it. SteveBaker (talk) 16:41, 25 March 2014 (UTC)[reply]
StuRat, +1.
Also keep in mind that if you declare an array, say, float matrix[4][4], a valid index is between 0 and 3 because the bracketed numbers are the number of rows/columns, not the last valid index. (This hit me when I was new to C++, too.)
Trying to access, say, matrix[4][4] is illegal. On top of that, C doesn't check if your index is invalid, but read/write from/to the address anyway. This will usually corrupt other variables.
(Unfortunately, the data corruption article doesn't talk much about bugs causing data corruption; its primary concern is malfunctioning or damaged storage hardware. Memory safety is more relevant here.)
BTW (and by BTW I mean something completely different), Inaccessible boot device is at least a questionable redirect IMO, and the target doesn't touch the issue in the slightest. I think it must go or be retargeted, but someone with more experience in the WP deletion processes should look into it. - ¡Ouch! (hurt me / more pain) 07:54, 26 March 2014 (UTC)[reply]

March 25

Does makeup confuse modern facial recognition systems?

Can they automatically tell sunken eyes from eyeshadowed eyes, for instance? Or do our face wrinkles have "fingerprints" that foundation might obscure? Any other such stuff? InedibleHulk (talk) 03:26, March 25, 2014 (UTC)

I believe that most systems build a model of the face and use distances between features. There is speculation in a recent new scientist that avant-guarde high-contrast makeup could fool facial recognition by making it hard to detect the measurement points, though normal makeup probably wouldn't help. -- Q Chris (talk) 08:48, 25 March 2014 (UTC)[reply]
There are a variety of different approaches out there - some use video footage rather than a single still image. The varying viewpoint allows them to extract three-dimensional information. Others use two cameras to capture a stereo view for the same reason - or employ "structured light" (kinda like the "Kinect" gadget) to achieve the same basic result. Knowing the three-dimensional shape of the face makes it much harder to disguise with makeup. So I suspect that these clever makup tricks could confuse simpler systems, but if large numbers of people started employing these tricks, the technology could easily evolve to fix that. Of course wearing big sunglasses and a false moustache works pretty well too! You might be interested in our Eigenface and Active shape model articles that cover some of the techniques. SteveBaker (talk) 14:15, 25 March 2014 (UTC)[reply]
Thanks, I'd have never thought to find those articles. I'm mainly thinking of 2D "#nomakeupselfies". They seem otherwise pointless. Of course, planking was also rather pointless, and generally harmless. Maybe I'm paranoid. InedibleHulk (talk) 16:50, March 25, 2014 (UTC)

How are commands entered into a Game Boy Advance running UNIX?

How are commands entered at the shell prompt of a Game Boy Advance running UNIX as shown here? 20.137.2.50 (talk) 17:20, 25 March 2014 (UTC)[reply]

From the page you linked: "gbaunix does not have an input mechanism currently. You can only execute a canned sequence of UNIX shell commands. The sequence must be specified at compile-time as an array of strings in gba/gba_kbd.h in the source. While UNIX is running, pressing the START button feeds the next command line into the TTY's input buffer." - Cucumber Mike (talk) 17:25, 25 March 2014 (UTC)[reply]
Thanks. You don't happen to see there how one actually gets one's gbaunix physically onto a real cartridge, do you? 20.137.2.50 (talk) 18:01, 25 March 2014 (UTC)[reply]
Nevermind, I assume it would be using a Flash Cartridge. 20.137.2.50 (talk) 18:14, 25 March 2014 (UTC)[reply]

No MX or A records for nauta.cu

If I were to receive the following message on an email returned to me, could the casue be the monthly data limit was reached? Is some other cause likely?


Sorry, we were unable to deliver your message to the following address.

<name redacted@nauta.cu>: No MX or A records for nauta.cu


Thanks. μηδείς (talk) 19:26, 25 March 2014 (UTC)[reply]

If you're talking about the data limit for the entire nauta.cu domain, then there's a remote chance if the mail server provider intentionally removes the MX or A records presuming they have that control when the quota runs out to reduce the amount of traffic they receive. Since they seem to also control the nameservers, they probably do in this case. I've never actually heard of anyone doing this, but I'm not that familiar with mail server hosting practices, even less in Cuba.
There's no chance this could happen for simply one email account in the domain under any resonable circumstances regardless of whether it exceeded the quote limit, your email tripped some censorship filter or whatever. More specifically, some mailserver involved (I don't know from what you quoted what mailserver sent this although I would expect it to be the mail server you used or another controlled by the same company) would need to be seriously (most likely intentionally) misconfigured to do this as they are basically lying about the cause of the failure and in a way that makes no sense.
The more likely explaination is some temporary misconfiguration or mistake. When I did a nslookup just now [1], I did find multiple MX records (no A but that may be normal, it sounds like the domain is only used for email). So I would try the email right now. If it still doesn't work give it another 3 days or so (you can probably try every day or less without risk) for the intermediate mail server DNS caching to catch up with the DNS update.
If it still doesn't work after 3 days and there is still a MX record then there may be a problem with some mail server involved, so try using a different service. (The other possibility is the name server keeps adding and removing the MX record and you mail server gets it at the wrong time and you get it at the right time. I guess it's also possible the name server is refusing to provide an MX record to whichever name server is requesting it for your mail server.)
Nil Einne (talk) 21:18, 25 March 2014 (UTC)[reply]
Thanks. What has been going on from my end is a user at that domain has been requesting files of 1-2 MB on average, but requested one last night that I did not realize was 27MB. According to press reports, these files cost about $1 per MB, while the average monthly income is $20. I fear what I have sent may cost several month's wages. I am wondering if I can compensate from my ownend, and hoping there's noting worse I have done than what I imagine. μηδείς (talk) 21:59, 25 March 2014 (UTC)[reply]
I have been able to send two messages but received no response, and gotten two inquiries aking if there's a problem, but no response to me answer to those inquiries. μηδείς (talk) 13:44, 26 March 2014 (UTC)[reply]

March 26

nexus features

i have a new nexus 5 phone which shows it has 25 hidden features which i cant find in specification manual or anywhere else.any suggestion or redirecting link .thanks in advance.101.222.240.1 (talk) 17:15, 26 March 2014 (UTC)[reply]

What was the processing power of Folding@Home?

Are there any statistics to the total peak processing power of the Folding@Home program? Along with all the desktop CPUs and GPUs, there must have been tens of thousands of Playstation3 consoles contributing (before it was discontinued on that platform). --209.203.125.162 (talk) 17:33, 26 March 2014 (UTC)[reply]