Wikipedia:Reference desk/Computing
of the Wikipedia reference desk.
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.
March 25
Microsoft Windows Calculator Development
Which programming language or software Microsoft used to develop its Windows Calculator? For development of apps, people use java or any other languages. For development of Windows, Microsoft might have used c# or any other languages. I developed a basic calculator using MATLAB. I just want to know how did Microsoft developed its calculator. — Preceding unsigned comment added by 14.139.241.85 (talk) 13:11, 25 March 2018 (UTC)
- Old calculator (pre Windows 8) was developed in C/C++. New one was developed within Universal Windows Platform though I do know details. Ruslik_Zero 20:17, 25 March 2018 (UTC)
- Hence, developing softwares using GUI features of Universal Windows Platform or MATLAB is much easier than compared to using any programming language to develop. Correct me, if I am wrong. — Preceding unsigned comment added by 14.139.241.85 (talk) 07:28, 26 March 2018 (UTC)
- Developing an application using Universal Windows Platform is done using a programming language, such as C++ or C#. UWP does not replace the use of a programming language. Whether it's easier than using other tools depends somewhat on the experience of the programmer. For example, I'm very familiar with Microsoft Foundation Class Library but have never used UWP, so I would probably find it easier to develop a calculator using MFC. My understanding is the main advantage of UWP is to facilitate creation of cross-platform applications, not necessarily to simplify creating an application for a single platform. CodeTalker (talk) 18:33, 27 March 2018 (UTC)
- Hence, developing softwares using GUI features of Universal Windows Platform or MATLAB is much easier than compared to using any programming language to develop. Correct me, if I am wrong. — Preceding unsigned comment added by 14.139.241.85 (talk) 07:28, 26 March 2018 (UTC)
March 26
Weather forecast
An accurate weather forecast displaying app for android phone please. There are many available but unsure which one is reliable... 123.108.244.105 (talk) 13:58, 26 March 2018 (UTC)
- This is dependent on where you live. Use forecastadvisor.com to see which service is most accurate for where you live. For me, it is Weather Underground. For my sister, it is Accuweather. 71.85.51.150 (talk) 00:17, 27 March 2018 (UTC)
- Bangladesh Meteorological Department measures weather for your area. http://www.bmd.gov.bd/?/home/ has a local forecast for different regions. It is a website, not an app though. This page talks about an app http://www.bmd.gov.bd/?/p/=MobApp ?BMD App or Bangladesh Weather App perhaps you can understand what it says. Graeme Bartlett (talk) 01:17, 27 March 2018 (UTC)
- Graeme Bartlett: I've been searching for an app that I could keep forever, or at least for some time. This app I'm looking for should work in any country, giving accurate and appropriate forecast every 1+ minute or so. A widget I used in PC awhile back used to update weather forecast every 15 minutes or so. Searching for something alike. Could you help me please? 123.108.244.186 (talk) 15:55, 27 March 2018 (UTC)
- You do understand that weather forecasts are not updated in real time, don't you? The weather services update the values every X minutes, where X is usually about 20 minutes. Some are as long as once per hour. So, it would be a terrible waste to have your weather widget updating itself every single minute. 209.149.113.5 (talk) 16:10, 27 March 2018 (UTC)
Dropbox
Yeah, I fucked up: I deleted a column of information in a Quattro Pro file that I need to retrieve. I save my stuff in Dropbox--is there a way to get earlier (archived?) versions? Thanks...! Drmies (talk) 16:50, 26 March 2018 (UTC)
- @Drmies: Found this on their website, which suggests you can do that: [1]. RudolfRed (talk) 19:44, 26 March 2018 (UTC)
- RudolfRed, thank you so much! I guess we get spoiled on Wikipedia, always having the history at hand. Drmies (talk) 02:20, 28 March 2018 (UTC)
Paperwhite's enmity with page-numbers
Why it is so [2] (the ereader's inability to show page-numbers) with all ebooks I upload from PC/laptop or buy from the internet ? And what is the solution, please ? 124.253.249.31 (talk) 17:00, 26 March 2018 (UTC)
- I don't know if there's an official answer to this, but I've always assumed it was a trade-off between battery life and an item that was mostly meaningless. At any point, you could change the text size or line spacing and reset the whole thing. So what does "page" even mean? Word does the same thing of course, and it does give you a page count, but it's a processing-intensive exercise to do (even with Word there's typically a delay and complicated changes may not reflect in the page count until you've literally paged through the document. Matt Deres (talk) 17:37, 27 March 2018 (UTC)
- Basically, most eBooks don't have page numbers. Each chapter is a solid mass of text with no page breaks. ApLundell (talk) 13:18, 28 March 2018 (UTC)
- The kindle user's guide says "Many Kindle books also contain page numbers that correspond to the real page numbers in an actual print book." Publishers can choose whether or not to include these. I can't think of many cases where this information would be of interest. HenryFlower 10:43, 29 March 2018 (UTC)
- Textbooks, I'll bet. ApLundell (talk) 13:10, 29 March 2018 (UTC)
- You're probably right, but my experience is that even dead tree textbooks mostly use chapter/section nomenclature everywhere except the index. (See Chart 15.4 for more details, Table 2.3 has the breakdown, etc.) Matt Deres (talk) 17:06, 29 March 2018 (UTC)
- Textbooks, I'll bet. ApLundell (talk) 13:10, 29 March 2018 (UTC)
March 27
Task Bar at Bottom of Screen in Windows 10
I assume that after I post this, I will rediscover the answer to it, that I have known in the past. The task bar listing all of the tasks at the bottom of my Windows 10 screen has disappeared, so that I can't readily switch between Chrome (now using for Wikipedia), Microsoft Word, Microsoft Outlook, and a few other things. How do I get the task bar back? Robert McClenon (talk) 01:48, 27 March 2018 (UTC)
- I *think* (but am not sure) that if you drag the cursor down to the very bottom of the screen, the task bar will un-hide itself. (It has a hide mode which you must have on.) Bubba73 You talkin' to me? 02:13, 27 March 2018 (UTC)
- If you go to taskbar settings you will have the option to lock, autohide or not, and to position at other places on the screen apart from the bottom. You can get there by pressing the window button, and typing "taskbar". Graeme Bartlett (talk) 21:01, 27 March 2018 (UTC)
What kind of performance questions are there in CompTIA Network+ (N10-006)?
I want to get some help!! — Preceding unsigned comment added by 39.55.233.47 (talk) 10:24, 27 March 2018 (UTC)
Transposing Excel
I have material in Excel that I would like to transpose the axes on (i.e. switch the aisle and column axes). Excel has a "paste special" function that does this, but it doesn't do it very well. For example, a lot of the formatting gets jumbled and the formatting (especially drawn cell borders) is essentially the part that I want most of all. I could copy the selection and paste it elsewhere as a picture (and rotate it), but I'd much prefer to have it stay in Excel format when I'm done. Is there a way to tweak the way that the "paste special" works or maybe a third party piece that could do it? It would be an enormous chore to redraw everything manually. Matt Deres (talk) 15:26, 27 March 2018 (UTC)
- With LibreOffice Calc you can transpose while retaining format and cell borders. Graeme Bartlett (talk) 08:26, 28 March 2018 (UTC)
- Thank you; I'll give that a shot. Matt Deres (talk) 19:05, 28 March 2018 (UTC)
March 28
Is it possible to display Wikipedia category links on mobile browser via userscript?
Wikipedia can display category links directly on desktop browsers, but not on mobile browsers. There are several broswer extensions can manage userscript, some of them works with mobile devices. So is it possible to write an userscript to display the category links? --Great Brightstar (talk) 04:32, 28 March 2018 (UTC)
- On the en.m site the categories are not loaded. So you cannot make them easily appear. Via other URLs you could get it, the easiest being to click on the desktop link at the bottom. Graeme Bartlett (talk) 07:26, 28 March 2018 (UTC)
- Registered users on the mobile version can currently see categories by enabling Wikipedia βeta. Click the menu icon at the top left and click Settings. PrimeHunter (talk) 19:01, 29 March 2018 (UTC)
finding files that exist in one directory tree and not in the other
My scenario is as following: 2 Windows machines ,Win7 and Win10, where I have 2 directory trees, I'll name them A and B. The directory tree is completely different, but most files exist in both A and B. I need to locate and copy the files that exist on A but not in B. There are far too many files (on both A and B) to do this manually.
Help will be appreciated.
אילן שמעוני (talk) 06:24, 28 March 2018 (UTC)
- Beyond Compare can do that - i.e. ignore the folder structure and "align" the files. Free trial. 196.213.35.147 (talk) 07:55, 28 March 2018 (UTC)
- Two questions:
- The files are on two machines which might prove difficult to handle. Is that realistic to copy A into A' on the same machine as B, or the reverse, do the comparison-copy thing to extract the desired folder C, and then delete A'? If A or B is at most a few GB, that works, but if you are handling an enormous amount of data that will not be practical. (From your post, I would guess the problem is not the size of the files but rather their number.)
- What does it mean for a file to be "in A but not in B", exactly? Is it enough to compare file names, or could there be a file in A with the same name as a file in B but with different contents, and which must be copied? Could there be multiple files with the same name in either directory tree (in different folders)?
- Assuming a positive answer to the first question, if 196.213.35.147's suggestion does not cut it, ping me with the answer to #2 and I can provide a quick Python script to do it. TigraanClick here to contact me 13:06, 28 March 2018 (UTC)
- You were right to assume is the sheer number of files. there are about 150,000 of them. The comparison has to be by content - it is quite possible that two versions of the same file exist, one edited by machine A owner and the other by B's owner. Nobody used a versioning system, so both versions must coincide until someone will attend to merging both. That's not my problem. The task may run for a week straight and that is okay, though I fear some Murphy's law power failure or BSODs (A machine was handled by someone who literally installed everything he ever saw). As for a Python script - I very much appreciate the generous offer, but installing a python interpreter is beyond my limited knowledge. Any ideas? אילן שמעוני (talk) 14:40, 28 March 2018 (UTC)
- So, if I understand correctly that
both versions must coincide [until merged manually]
, what should actually be done is to check all files from A and from B; if they exist only in either directory, or in both but with the same content, copy it in the final result under the existing name (say,filename.ext
); but if they both exist in different versions in A and B, copy them both (for instance, asfilename-A.ext
andfilename-B.ext
). - The fear of power failure or whatever can be soothed by keeping a log of what we are doing (see journaling file system).
- I suggested Python because that's my playground, but it is not harder to install than any program, really (download the latest version and click through the installer). What you want to do can be done without fancy external packages, so there is no configuration to do either. But more importantly, I fail to see how anything else could be simpler, except if someone provides you with a compiled executable (i.e. a .exe file to run on your computer) - but that is a really, really dangerous thing to do. TigraanClick here to contact me 16:47, 28 March 2018 (UTC)
- So, if I understand correctly that
- You were right to assume is the sheer number of files. there are about 150,000 of them. The comparison has to be by content - it is quite possible that two versions of the same file exist, one edited by machine A owner and the other by B's owner. Nobody used a versioning system, so both versions must coincide until someone will attend to merging both. That's not my problem. The task may run for a week straight and that is okay, though I fear some Murphy's law power failure or BSODs (A machine was handled by someone who literally installed everything he ever saw). As for a Python script - I very much appreciate the generous offer, but installing a python interpreter is beyond my limited knowledge. Any ideas? אילן שמעוני (talk) 14:40, 28 March 2018 (UTC)
- rsync can do this easily. I've only used the Unix version, but our article indicates that there are versions that run on Windows. CodeTalker (talk) 17:04, 28 March 2018 (UTC)
- Despite the directories having a different structure? TigraanClick here to contact me 07:50, 29 March 2018 (UTC)
- Thanks, everyone!. I managed to get physical access to the problematic machine, boot linux cd, copied the content to fat32 partition, took out the HD. I'll physically install it to machine B, and from there I think I have it. אילן שמעוני (talk) 16:38, 29 March 2018 (UTC)
Cursor movement
What do you call, the mouse cursor movement? 123.108.244.15 (talk) 14:28, 28 March 2018 (UTC)
- Cursor movement is cursor movement. It appears that you are trying to detect cursor movement in a program. If that is the case, we need to know what programming language you are using. 209.149.113.5 (talk) 14:40, 28 March 2018 (UTC)
- Some programming languages call such event onMouseOver --Hans Haase (有问题吗) 17:44, 28 March 2018 (UTC)
March 29
Google map correction
I live in Ukraine and Google map has a small error that means that Uber taxis never take me to my door unless I explain, which is difficult because I don't speak Russian or Ukrainian. (Google maps shows buildings with number 56 on my street; one is correct but mine should be 56A. What I don't know is why Uber always takes me to the actual 56 but never mine.) It's only a problem when I have heavy groceries or something like that.
I tired submitting a correction online but nothing has changed. Can anybody give me advice? (Apart from learning to speak Russian or Ukrainian?) Hayttom (talk) 17:54, 29 March 2018 (UTC)
- @Hayttom: Do other mapping programs (Apple maps or whatever) get it right? If so, you could show the drive the correct location on your phone from that app. RudolfRed (talk) 16:17, 30 March 2018 (UTC)
Z-fighting effect on STL models
Hello!
I created a few STL files below and found that artifacts appear in the Wikimedia viewer and occasionally the thumbnail. I've checked that the direction of facet vertices is anticlockwise, the normals are sensible and polygons are not duplicated. It seems to happen more where the polyhedron is thin. All these polyhedra render correctly on http://viewstl.com . Would anyone know how to fix these artifacts?
Thanks,
cmɢʟee⎆τaʟκ 19:20, 29 March 2018 (UTC)
-
Severe artifacts
-
Major artifacts
-
Minor artifacts
March 30
Can you hack in to idle wireless
If i have a pc or a mac in this case, and its wireless is on but not attached to anything, can someone break into it through the wireless? Assume no firewall is active, im thinking theoretically.