Wikipedia:Reference desk/Computing

From Wikipedia, the free encyclopedia


The Wikipedia Reference Desk covering the topic of computing.

Welcome to the computing reference desk.
Want a faster answer?

Main page: Help searching Wikipedia

How can I get my question answered?

  • Provide a short header that gives the general topic of the question.
  • Type '~~~~' (that is, four tilde characters) at the end – this signs and dates your contribution so we know who wrote what and when.
  • Post your question to only one desk.
  • Don't post personal contact information – it will be removed. All answers will be provided here.
  • 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.



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.
 
Choose a topic:
Computing desk
 
See also:
Help desk
Village pump
Help manual


March 20

Problem with URL containing a curly apostrophe

I have a problem with linking this URL http://www.oxfordtoday.ox.ac.uk/features/seeking-sirens’-song The curly apostrophe after sirens is part of the URL, and if you copy and paste the whole thing into the web browser it takes you to the page. But if you include it as it stands in plain text, for instance in a Facebook post, it breaks at sirens and fails to work, with the active URL becoming http://www.oxfordtoday.ox.ac.uk/features/seeking-sirens . I tried to find a hexadecimal code for the curly apostrophe, thinking that might fix the problem, but I can't find one. Can anyone suggest a fix for this? Moonraker (talk) 05:53, 20 March 2017 (UTC)

Try http://www.oxfordtoday.ox.ac.uk/features/seeking-sirens%E2%80%99-song, which I got by right-clicking the url you pasted above, then "Copy link location" (in Firefox, wording might differ in other web browsers) and pasting in this reply.-gadfium 07:22, 20 March 2017 (UTC)
...which is to use Percent-encoding, a standard method that helps work around software trouble on some platforms and applications softwares. This is a standard machine-readable way to represent any character, including special characters, in a URL.
For what it's worth - many users will have no problem with the original link, provided that they are using certain modern web browsing software. Other users may use web browsers that transform or interpret special characters or quotation marks, and they would not be able to use the original link. For unfamiliar users, this is a heisenbug - mysteriously appearing and disappearing without an obvious cause.
Nimur (talk) 16:11, 20 March 2017 (UTC)
Many thanks, gadfium and Nimur, the Percent-encoding is exactly what I was after, but I didn't know that name for it. It works a treat. Moonraker (talk) 22:53, 20 March 2017 (UTC)

ipad keyboard worries

Hi, I'm looking at getting a new ipad, but every time I check them out in stores, the on-screen keyboard doesn't work very well. It will respond, but not very well, and certain keys (often the "s" key) need to be tapped very carefully. Does anyone know what the story is with this? Does Apple know about it? I have googled the problem, but no one seems to have a solution, and in fact I only seem to get a few hits (the search gets confused with other, unrelated, keyboard problems). IBE (talk) 18:22, 20 March 2017 (UTC)

Touchscreens can vary in response with how wet or how dry your skin happens to be. If you have problems with your skin capacitance, then perhaps using a stylus would help? You can make your own. Dbfirs 08:33, 21 March 2017 (UTC)

How to pipe things through Python?

How can I squeeze Python in a pipeline in Bash? For example, I know "abcdef".capitalize() outputs "Abcdef". But if I want to run something like echo "abcdef" | python3 -c '<string>.capitalize()', how can I get the stream into Python? I have already tried things like: python3 -c "print(`echo 'abcd'`.capitalize())", and, echo "abcdef" | python3 -c '$0.capitalize() to no avail. --Hofhof (talk) 20:17, 20 March 2017 (UTC)

You can look at this. Ruslik_Zero 20:56, 20 March 2017 (UTC)
I mean, can I use Python at all in a one-liner, and not in a full-fledge script saved in a file?--Hofhof (talk) 23:17, 20 March 2017 (UTC)
One way would be something like this, although it doesn't use a pipe; it just passes the string as a command line parameter:
          python3 -c $'import sys\nprint(sys.argv[1].capitalize())' abcdef
If you really want to use a pipe (which would make sense if you're going to process several lines of input), you could do
          python3 -c $'import fileinput\nfor line in fileinput.input() :\n\tprint(line.capitalize())'
CodeTalker (talk) 01:13, 21 March 2017 (UTC)
That was kind of ugly.Hofhof (talk) 01:33, 21 March 2017 (UTC)
Yeah, python is an ugly language. Its insistence on using newlines and tabs in its syntax forces you to do this kind of stuff when you pass a program on the command line with -c. CodeTalker (talk) 02:01, 21 March 2017 (UTC)
By comparison, the same thing in Perl is rather cleaner looking:
               perl -e 'while(<>){ print ucfirst }'
CodeTalker (talk) 02:04, 21 March 2017 (UTC)
With Perl you can even avoid the explicit while-loop by using -n or -p, as applicable:
                  perl -ne 'print ucfirst'
--76.71.6.254 (talk) 03:14, 21 March 2017 (UTC)

A good French site to ask for a movie to be identified

I'm trying to identify a probably French movie from the 80s. I've already posted my description of it on several English language sites without luck, now I'm thinking about trying to reach a French audience which might have a better chance of recognising an older, obscure French movie. Can you recommend me a good site or forum for that? (Other than Wikipedia.) I've registered on www.allocine.fr but I can't make a new thread there, so that's that. Languagesare (talk) 21:15, 20 March 2017 (UTC)\

Have you tried movies.stackexchange.com or some subforum in reddit?--Hofhof (talk) 01:32, 21 March 2017 (UTC)
The IMDB's advanced title search might be useful, as you have several pieces of information to filter on (approximate date, country, and presumably you can try some keywords or plot words or a cast member). Note that some of the filters only allow you to try one value, but of course you can try different searches. --76.71.6.254 (talk) 03:20, 21 March 2017 (UTC)
Thanks, it's already on movies.stackexchange.com and reddit and I'm trying with the IMDb advanced search. Languagesare (talk) 12:24, 21 March 2017 (UTC)
You could also try a Wikidata query. All the best: Rich Farmbrough, 16:08, 22 March 2017 (UTC).

March 21

Problems with photo rotated

I have problems with photos taken with my Nikon D7100 in portrait mode. When they are transferred to my Windows 10 computer, they are in portrait mode. However, there are problems with such photos. If I try to upload one to Commons with Vicuna Uploader, it locks up on those photos. Also, I sometimes use a program to reduce the size of JPEG files. These files come out un-rotated. I've written to the author of Vicunna but gotten no reply. I have gotten a response from the JPEG software and he is looking into it. But is there something I can to to avoid these problems? Bubba73 You talkin' to me? 02:41, 21 March 2017 (UTC)

Usually the camera stores the converted information from gravity sensor in the EXIF. Users should copy the JPG files from camera as file to the computer to prevent any losts of quality. If image processing software cuts or deletes the EXIF, the picture can not be longer to be rotated automatically. --Hans Haase (有问题吗) 22:39, 21 March 2017 (UTC)
I copy the photo files to my computer using Photoshop. The JPEG shrinker takes out the EXIF data, which explains why it is un-rotated. But I don't know about the problem with Vicuna, which locks up with rotated files that have the EXIF data. Bubba73 You talkin' to me? 22:48, 21 March 2017 (UTC)
See the first section of Wikipedia:Reference desk/Archives/Humanities/2015 August 6 and the WP:VP/T and WP:GL/P results for the image in question. I used a D3200 for it, and I'm guessing that your situation and mine are similar. Nyttend (talk) 00:07, 22 March 2017 (UTC)
The D7100 is very similar to the D3200, so it could be a similar problem. It says that the file needs rotating after being downloaded, but when I downloaded it, it shows up the correct way. Bubba73 You talkin' to me? 00:23, 22 March 2017 (UTC)
One workaround to correct the probs is to display each on the screen, take a screen shot, and paste it into your fave photo editor. However, that does limit the resolution to that which can be displayed on the screen. (I'm guessing if you have such an expensive camera that you at least have a 4K resolution screen, though, which should come close to the max resolution of your camera.) StuRat (talk) 05:07, 22 March 2017 (UTC)
I have just a regular screen, and doing that would take too much time and lose too much quality. Bubba73 You talkin' to me? 15:18, 23 March 2017 (UTC)

One think I just thought of is that I can have the picture rotated in the camera first. I'll see if that makes a difference. Bubba73 You talkin' to me? 15:53, 23 March 2017 (UTC)

Okay, I remade the image from the color information, and it seems to be loading correctly now. It looks like there was some metadata in the file that's getting picked up by the displaying software (the web browser, Firefox in my case) instructing it to rotate it 90 degrees clockwise. This is a little unusual in that it (the rotation) is not something I've ever seen before, and I've been working with digital graphics professionally and as a hobby for over two decades now. My advice going forward is for you to get a program like GIMP to rotate the images (it can do batch rotations if needed). If that looks like too much to handle, there are other, simpler options out there, as well. Don't rotate them using the uploading software, the camera or the Windows photo viewer. ᛗᛁᛟᛚᚾᛁᚱPants Tell me all about it. 16:34, 23 March 2017 (UTC)
I'm not rotating them in the camera. I import them with Photoshop, and then I've tried several ways to view them, and all of them rotate them (as they should be seen), except Internet Explorer. Maybe I have Photoshop set to rotate them - I'll check that. Bubba73 You talkin' to me? 17:53, 23 March 2017 (UTC)
I just found this page which documents the metadata rotation I referred to. this and this cover the topic, as well. ᛗᛁᛟᛚᚾᛁᚱPants Tell me all about it. 16:37, 23 March 2017 (UTC)

Well, I found an option in Photoshop, and the help says

Rotate JPEGs Using Orientation Metadata/Rotate TIFFs Using Orientation Metadata

When these options are selected, the orientation metadata of the image is updated to rotate the image. The image data is untouched; the rotation is specified by just changing the metadata. Rotating an image using its metadata is a faster process than rotating the image itself.

Not all applications recognize orientation metadata. If you plan to import your images into such applications, leave these options deselected.

so I've turned that off to see what happens next time I import files. Bubba73 You talkin' to me? 20:04, 23 March 2017 (UTC)

Seagate ST4000DX001 HDD dying or not?

One of my HDDs (where my games are stored) is sort of (maybe?) dying* according to some programs. No real important data stored on it, fortunately.

0.1% damaged blocks (3 red ones) according to HDTune, "Caution" according to Crystaldisk (uncorrectable sector count: 100) -- but SeaTools disagrees, as well as Speccy. (S.M.A.R.T. = Good.) Also did a CHKDSK which found nothing.

http://imgur.com/8LH5SN4 http://imgur.com/V71c0NW

Matt714 (talk) 04:48, 21 March 2017 (UTC)

Most defects going more worse. The reasons of an defect are different. It may be the structure of the platter. Sometimes still the signal amplifier on the arm of the actuator has a problem. Sometimes, just the contacts to the controller PCB are corroded. But do not try to fix even this simple failure when needing a reliable mass storage. Steve Gibson argued, some OEMs would not copy the map of bad sector which are marked as bad at formatting. When the stored data has the expected level of magnetism when reading, no error is detected. But if the data of the physical bad sector is being replaced, the error occurs when an other magnetic level could not be stored at that point. It also requires to verify the stored information or checksum it. --Hans Haase (有问题吗) 08:41, 21 March 2017 (UTC)
  • Crystaldisk is not a generally trustworthy application: Most CNET reviews are 1-star, due to included spyware. I'm not surprised it told you that it found problems, as untrustworthy diagnostic software will always find problems. HDTune is reliable enough, according to Tom's Hardware and CNET reviews. 0.1% damaged blocks is not that unusual, especially on a disk where applications are stored. SeaTools is the only application you mentioned which I've used, and I have no complaints. It does it's job with a relatively small footprint, doesn't waffle about with proprietary measurements and is easy to use. I would trust it. ᛗᛁᛟᛚᚾᛁᚱPants Tell me all about it. 13:47, 21 March 2017 (UTC)

The comments above aside, I don't see that the tools actually disagree on anything significant. They key point seems to be that the disk still passes SMART but has developed 100 bad sectors. I'm fairly sure if you look at HDtune's SMART details, you fill find it also has 100 bad sectors. How long has the disk had these bad sectors?

Contrary to what ᛗᛁᛟᛚᚾᛁᚱPants says, I would say 100 bad sectors is actually not that common on hard disks even with use. Yes it may only be 0.1% but we're not talking about an SSD here and this obviously developed since the drive had left the factory otherwise they wouldn't show up as bad sectors. Sure it happens but it's enough to start to cause concerns hence why different tools have different opinions. (Seatools relies mostly on SMART or any errors during self tests. It's really primarily about RMAs and secondly providing utilities to do stuff than about detailed health information.)

If you use a tool to write on these sectors, they should be re-allocated (the disk should have more than 100 spare sectors) and will show up in the reallocated sector count instead. Definitely 100 bad sectors is often enough to ask for an RMA (especially on a new disk), although you may just get a refurbished drive that also has 100 bad sectors or more but these don't show up anywhere since like with a new drive it's only internal to the drive so may not be the best idea unless the drive is very new and you're dealing with the retailer so have a hope of getting a new drive.

I'd strongly suggest you keep an eye on it with a tool that actually tells you how many bad sectors (both reallocated and non-reallocated) show up in SMART. If these continue to increase, then there's a good sign you drive is going to die sooner rather than later. Speedfan's online submission thing is useful provided you keep a copy of the URL (make sure you have the right URL, if the URL is http://www.hddstatus.com/hdrepanalysis.php you don't). But you could also just copy the readings from HD tune or anything else. On the other hand, if it's stable long term with 100 bad sectors then the drive is probably not that much worse than one of the same vintage etc without any. One thing you didn't mention, are these 3 blocks in HDtune actually consecutive or in different places? If they're in 3 different places it's probably also slightly more concerning.

P.S. I've used Seatools many times before, and also HDtune. Seatools is definitely useful for many things but given its design you have to take care with it. To give an example I have a Seagate disk with IIRC 500+ bad sectors, slowly increasing. When I zero or write the whole disk, it reallocated what it could. But actually some of the bad sectors were reassessed and seemed fine so weren't reallocated. But either the sectors or other ones would reappear and as also said, the number was slowly increasing. Clearly not a healthy disk. A lot of the time though, it would pass Seatools.

P.P.S. I'm assuming here that the bad sectors are just ones that are pending write for reallocation rather than one that can't be reallocated because the drive is out of spare sectors. You should look carefully though. This is one area where the Speedfan's online submission thing is useful (which uses HDDStatus.com so you could probably find other tools) since it provides some explaination of the SMART variables of concern to those who don't understand them. You don't of course need online submission for that, but it doesn't sound like any of you tools have been very good in that regard and HDDstatus.com does IMO do a decent job and I find them useful for other reasons. (Well I know Seatools and HDtune are only really useful for raw data.)

If it is in fact 100 sector that can't be reallocated due the drive being out of spare sectors, I'd consider this a very big sign the drive is probably dying. I believe though that such a drive should fail at least one Seatools test, either SMART, long drive self test or zero fill (well the last is not technically a test but it can still fail it) when this happens though.

Nil Einne (talk) 01:19, 22 March 2017 (UTC)

Thanks all for your answers. Just re-passed the SeaTools diagnostic tests and it passed S.M.A.R.T and Short Generic, but failed Short DST. I will contact Seagate for a RMA. Matt714 (talk) 19:39, 22 March 2017 (UTC)

Lowercase name entry in emails leads to spam filtering?

When I send an email, the recipient usually gets a name to pop up instead of the email address, because the sender also has a name field in their settings where they can enter a first and last name. I am wondering if there is an effect on spam filters if the first and last name field are in all lower case. (Clarification: I am not talking about the email address).2601:281:8400:B440:D520:1FA3:BFF:733 (talk) 22:42, 21 March 2017 (UTC)

How are you sending your email? Through Outlook/Windows Mail/etc., or are you sending it straight from the server, or some other way? I wonder if the address book's settings may affect the mail's outgoing appearance and thus what the receiving spam filter sees. Nyttend (talk) 00:04, 22 March 2017 (UTC)

For clarify are you saying that the to: or from: or other address fields of the email actually has a name in it with all lower case? There are no first and last name fields that are a standard part of email headers. It is possible to include a display name in the various address fields, but fortunately this display name doesn't deal with things like first names and last names [1] which are concepts which don't apply to all names. Email clients (both web and standalone) may themselves deal with first names and last names if they desire, and they could also have internal names which aren't added to the outgoing email or coming from the incoming email.

Anyway if you are referring to the display name then yes, it's possible spam filters will be affected by this in various ways, including depend on casethe case usage in the display name field. For example, some spam filters use some degree of machine learning and if they found that an all lower case display name is more likely to indicate that an email is spam or not spam, it may adjust it's spam score based on this. Even manually programmed rules could have this if the designer, felt it was useful. I don't deal with the nitty gritty of spam filters so I have no idea if any known ones do such things but I'd note a number of large email service providers use largely secret algorithms probably using some degree of machine learning so we have no way of knowing for sure even if none which do so are known. In fact with machine learning it can be difficult for even people who control the thing to know depending on the complexity of what it does (if it always modifies a score you can easily test this, however if it only changes the score in some cases then this may be difficult to detect).

Nil Einne (talk) 12:01, 22 March 2017 (UTC) 10:21, 23 March 2017 (UTC)

March 22

Right-side taskbar in Windows 10

What do you call the thing that pops out from the right side of the screen in Windows 10, giving you choices between such things as single-screen view and hooking your computer up to multiple screens? It's not the same as the Action Center, but it appears in the same part of the screen. If you accidentally activate it, you have to choose something from it, because if you just get rid of the popout, it kind-of stays active; if you have hide-taskbar activated, the taskbar stays un-hidden indefinitely as if you're using something, and there's no way to deactivate it. It can be activated through some sort of keypad swipe on my laptop, or it can be activated through pressing a set of keys that's close to Alt+F4. I was constantly activating it by accident until I disabled touchpad-activated swipes, and I still sometimes activate it by making a typo when attempting to type Alt+F4. The frustrating thing is that I can't figure out how to re-activate it, since I only ever activate it with a typo, and since I don't know what to call it, I can't figure out how to search for instructions on activating it, aside from touchpad-related activations that forced me to disable most of my touchpad functions, and the only way to get the taskbar to hide is to restart the computer. Because I don't know how to activate it, I can't describe it beyond the memories that I gave in the first sentence of this paragraph. Nyttend (talk) 01:41, 22 March 2017 (UTC)

PS, on all previous computers, I had Windows 7 or earlier. This computer originally had Windows 8, then 8.1, and currently Windows 10. Through all three OS'es, I've used Classic Shell, so I'm not particularly familiar with the default Windows 10 start menu. Nyttend (talk) 01:52, 22 March 2017 (UTC)

I'm not certain on the name, but the shortcut for it is windows+p (and just hitting enter as soon as it appears will select the option which corresponds to your current configuration, closing it while effectively doing nothing) MChesterMC (talk) 09:55, 22 March 2017 (UTC)
And just to note that while that seems an incredibly odd typo for ALT+F4, if you're on a laptop it's probable that you're hitting fn+(something), which your laptop manufacturer has configured to activate that option (Often fn+f5, but these things aren't really standardized) MChesterMC (talk) 09:57, 22 March 2017 (UTC)
Okay, now I feel rather silly — it's Fn+Win+F4. I'd already tried Fn:variousfunctionkeys, but it didn't occur to me until right now to hit three keys all at once. And yes, Win+P also brings it up. Thank you for the help! Nyttend (talk) 12:29, 22 March 2017 (UTC)

What screen resolution can an AMD B170 display card display ?

It has an S-Video and DVI output, but I can't use either, as my monitors have only VGA and HDMI inputs. So, I'm wondering if I should bother getting a converter cable. Currently, I'm not using the graphics card and just using the VGA output on the motherboard, which gives me decent 1920x1080 output (it says it supports 1920x1200, but not with my monitor). This is on an old Dell OptiPlex 360, but I could put the graphics card in a newer PC if it's worth it. StuRat (talk) 05:23, 22 March 2017 (UTC)

https://en.wikipedia.org/wiki/Radeon_HD_2000_series#Other_features 89.120.104.138 (talk) 09:45, 22 March 2017 (UTC)
Thanks, but how do you know the B170 is part of that series ? StuRat (talk) 20:05, 22 March 2017 (UTC)
https://www.techpowerup.com/gpudb/221/radeon-hd-2350-pro : see Board Number under Board Design. 89.120.104.138 (talk) 08:36, 24 March 2017 (UTC)

Why are big and small devices all becoming computers?

It seems that mobile phones, TVs, tablets, laptops, and desktops are different variants of a computer. Even cars resemble computers. What's the deal with transforming everything into a personal computer? 50.4.236.254 (talk) 13:22, 22 March 2017 (UTC)

Not just TVs and cars, but fridges, central heating, and even the lock on your front door. See Embedded system and Internet of things (and maybe Home automation). Why? Because we can, and because some people will pay for the enhancement. Dbfirs 13:29, 22 March 2017 (UTC)
Yes, many consumers like more features and options. It's also increasing because computers become cheaper, smaller and more powerful. PrimeHunter (talk) 13:37, 22 March 2017 (UTC)
What is interesting is that "things that resemble computers" is a small subset of "things that are computers". For example, the keyboard you are typing on contains a small computer. If it is a Ducky keyboard (also known (by me) as "the best keyboard money can buy"[Citation Needed]) is has a ARM Cortex-M microcontroller in it. --Guy Macon (talk) 14:34, 22 March 2017 (UTC)
I'm still awed and confused that each connector on my USB-C cable is Turing-complete, and the wire itself constitutes a networked cluster of vector-processing supercomputers. Thunderbolt™ 3: The USB-C That Does it All, a video from Intel, introduces the technology... You haven't really arrived into the 21st century until you've used a debug cable to debug the software that runs on another cable. Nimur (talk) 16:10, 22 March 2017 (UTC)
Notably it's often cheaper to buy a computer-on-a-chip than to have a custom design. This means that computers are now suitable for relatively simple devices. All the best: Rich Farmbrough, 14:41, 22 March 2017 (UTC).
Also, integrated circuit chips have no moving parts. Moving parts fail. Take something as simple as a light switch. If the switch was a chip controlled by a signal or sensor, the rate of failure would be spectacularly low. Standard flip switches degrade over time - a little every time you switch it on or off. So, failure is relatively much higher. 209.149.113.5 (talk) 16:20, 22 March 2017 (UTC)
This is a great observation, but a couple of corollaries: solid-state parts can fail - everything from tin whiskers to dielectric breakdown to ion drift to transient or soft-errors caused by particle-strikes ... here's a good presentation from Panasonic Semiconductors on failure modes of solid-state electronics: Failure Mechanism of Semiconductor Devices. Almost all experts will readily admit that the statistical incident rate is dramatically lower, by orders of magnitude, compared to mechanical failures in mechanical devices; but when they fail, the mode of failure in a solid-state semiconductor device can be much less intuitive and more catastrophic.
And this says nothing of the immense potential for design-defects: large scale integration makes it economically cheap to implement extraordinarily complicated designs in hardware and software, increasing the potential for a complex design-error to sneak in. If we consider the total failure rate of the system as a whole, I can truthfully say that my software-controlled light switch fails a lot more often than my mechanical light-switch - the software does not break because it gets "worn out" nor because the metal fatigues, but the software breaks because it is designed incorrectly, and that kind of defective design is encouraged by economic conditions that favor billion-transistor devices and feature-rich software. Bugs emerge from, and hide amongst, this complexity... this pathology inverts our expectations about failure rate, and presents us with a meta-problem that many smart people call the "software crisis" - "Instead of finding out how to cope with the effects of such combinational explosions, it is much more effective to prevent the combinatorial explosion from occurring in the first place." (EWD1012).
Failure analysis, as it pertains to systems engineering, must account for such factors: they are as sinister as any material defect and can have equally-severe impact on the end-user. Nimur (talk) 16:54, 22 March 2017 (UTC)
I agree. I live in a home built in the 1920's, and the only light switches to ever have failed are circular dimmer switches. On the other hand, electronic devices rarely seem to last more than a decade or two, and often fail in just a few years. For example, the power window switch on my 2008 car has failed. Also, don't most electronics have mechanical components ? On a computer, even if you have an SSD instead of a hard drive and use flash drives instead of CDs, there is still the power button, keyboard keys, cooling fans, etc. My laptop failed when the cables at the hinge broke from the opening and closing cycles. So, you end up with a device with the weaknesses of both electronics (like being destroyed by power surges and sparks) and mechanical systems.
Another reliability problem with electronics is miniaturization, which can lead to microscopic flaws or even hits from gamma rays causing total failure. If mechanical systems were miniaturized to the same degree, than it would be a problem there, too. And many solid state devices have rather limited lifespans, like batteries (even rechargeable) and solar panels. StuRat (talk) 18:47, 22 March 2017 (UTC)
To address cars as an example, computers can help to increase safety, convenience, and (fuel) efficiency. Alcherin (talk) 16:26, 22 March 2017 (UTC)
And the additional of graphical user interfaces to things that already contained 'computers' (in the technical sense of the word, not the laymen's 'personal computer') further allows individuals to interact with and control the computer systems already present. Alcherin (talk) 17:05, 22 March 2017 (UTC)
  • Although it is considerably different from Internet-of-Things gimmicks, automobiles have contained "onboard computers" for at least thirty years for the tuning of combustion parameters, see engine control unit. TigraanClick here to contact me 17:28, 22 March 2017 (UTC)
I believe there are two trends here:
1) There are genuine reasons to make SOME devices electronic. A scientific calculator is far better than a slide rule, for example.
2) There's also a fad of putting electronics into all sorts of things that don't really need it. I believe the Apple Watch is a prime example of this. The added electronics don't allow it to do much better at the core function of a watch, which is telling the time. Indeed, before there were electronics we had mechanical watches that could tell the time, date, phases of the moon, set alarms, had stopwatches, etc. The new features that have been added to the Apple Watch are already on smart phones, which presumably their owners also carry, so I don't really see the benefit of the Apple Phone, other than just as a status symbol. So, this "fad" portion may never go mainstream, and just remain a cult phenomenon. Another example is internet-enabled refrigerators, which are supposed to reorder food when you run low. Sounds good, but that requires keeping each food item in a designated place, paying more for food deliveries versus shopping yourself, telling the system when you need more of an item for an upcoming meal or change your food preferences, periodically upgrading the software, etc. And it seems doubtful it will keep track of your entire grocery list, such as items not stored in the fridge. So, probably not a mainstream concept. StuRat (talk) 20:32, 22 March 2017 (UTC)

Keymapping in vi

I'm trying to set up a keybind in my .vimrc to give me a split screen with scrolling thus:

:nnoremap <f5> <C-W>vgg<Esc>:set scrollbind<CR><C-W>1Lzt<Esc>:set scrollbind<CR>

using the suggestion from Stackoverflow (which works manually).

It seems that at least the first scrollbind and the Lzt fail.

Any ideas?

All the best: Rich Farmbrough, 14:49, 22 March 2017 (UTC).

March 23

Ubuntu and music play counts

Greetings. Does anyone know why Ubuntu, and probably Linux in general, don't include play counts in music players? Even the non-FOSS ones never seem to include this important feature, yet about 99% of Windows music players do. I've spent months wondering if it's a Windows metadata thing but even Itunes does it, so it's just Ubuntu/Linux missing it. I really miss play counts. Can anyone explain this? Thanks Jenova20 (email) 16:26, 23 March 2017 (UTC)

Amarok has play count. It has a backend database. A stripped down media player, such as mplayer, won't have a play count because it doesn't store anything. It just plays music. 209.149.113.5 (talk) 17:15, 23 March 2017 (UTC)
Yeah, i've been looking at full fledged music players such as: Tomahawk, Lollipop, Rhythmbox, Audacity, etc. After scouring the web for 2 months and experimenting i now have a single option it seems...And it's one i didn't install because it's ugly. Any others you know of? I've been reading reviews for lots. Thanks Jenova20 (email) 17:28, 23 March 2017 (UTC)
First, Audacity is not a music "player". It is an audio file editor. I wouldn't expect it to have any features you want. Amarok is ugly and clunky. It used to be nice. Clementine forked from version 1.4 before the Amarok developers got stupid. So, you could try Clementine and see if the old Amarok is nicer. As for looks - aren't you using it as a music player? I don't look at my music player. I shove it into the taskbar and ignore it. 209.149.113.5 (talk) 17:42, 23 March 2017 (UTC)
Minor mix-up. I've been scouring review lists such as this and this. Turns out i meant Audacious, not Audacity. Any recommendations other than Amarok? Thanks Jenova20 (email) 09:18, 24 March 2017 (UTC)

FB page subscription

Not long ago I subscribed to a certain Facebook page, but don't receive any notifications about updates, be it on FB or via email (even though the notificication option is turned on in subscription). As such I'm forced to sift through their page manually to search for updates which usually appear somewhere below the top requiring scrolling. Today, for instance, I caught the update only 3 hours after publication, with no notification whatsoever. How to fix this? Brandmeistertalk 16:46, 23 March 2017 (UTC)

I Googled facebook turning on all notifications and found stuff you've likely already tried. Rather unfortunately, FB hates the world and everyone in it, so advice on older webpages quickly becomes obsolete as FB endlessly changes their settings, setup, and options. If you're accessing via an Apple mobile device, this effect is doubled. Facebook does have a help centre, complete with a link to an online community where experienced users try to help with issues such as yours. One point you'll want to detail is whether you get any notifications at all (email or 'push') from other pages. If my tone earlier was not hint enough, I find FB endlessly frustrating and have encountered the opposite problem, where some pages just won't stop sending push and email notifications unless I unsubscribe completely. Matt Deres (talk) 01:46, 24 March 2017 (UTC)
You're fighting against the facebook EdgeRank sorting algorithm, which sorts posts based on a number of mysterious factors. Probably because Facebook makes money off of this algorithm (You can pay to have preferential treatment.) they make it difficult to turn off. (There's a thing you can click to see stuff sorted chronologically, but it's a per-session thing that isn't saved.)
There are third-party tools that try to make managing facebook easier. FB Purity is popular one, it may have a tool that does what you want. ApLundell (talk) 13:43, 24 March 2017 (UTC)

Where do these lists come from?

I have Windows 10 and Microsoft Edge. Recently I had to reinstall Windows so this list (Top sites in File:Mercuryturnpike.png) showed up again in some cases when I would click on the URL ad the top of the screen. I don't know why it changes because I don't do anything to make it change. This list may not be the one that appears currently but when i get home I'll try to do it again.— Vchimpanzee • talk • contributions • 17:28, 23 March 2017 (UTC)

Is there any reason you have to believe that the list is not created from your browsing history? Are you claiming that you have never, not once, been to GoComics? Are you claiming that you've never, not once, visited your contribution history on Wikipedia? You've never ever been to any of those websites? Not once? Never? Never ever? 209.149.113.5 (talk) 18:01, 23 March 2017 (UTC)
I want to know why these sites? Why not others? And when I get home, there's a new list.— Vchimpanzee • talk • contributions • 22:04, 23 March 2017 (UTC)
Do you seriously expect that a Microsoft Edge developer is going to read your question here? Microsoft Edge is not open source. Nobody can look at the source code and analyze their recommendation algorithm except the developers. Even then, I doubt that all of the developers can. I expect that there is one small group with access to that code. I do not understand why this is difficult to comprehend. 209.149.113.5 (talk) 12:42, 24 March 2017 (UTC)
I don't understand why my question is so difficult for you to comprehend. Or maybe you just don't think it's necessary to be nice to people.— Vchimpanzee • talk • contributions • 15:40, 24 March 2017 (UTC)
I did figure something out yesterday. I do keep going back to the gocomics a to z list, so I do use that one a lot. The same is true for "Main Street" on another site. In both cases I start with the master list and go to each comic strip or topic. Here, I keep going back to my contributions, but not nearly as often. "National TV" is not a master list on another site, though, and I don't go to "Ask Amy" that often either.— Vchimpanzee • talk • contributions • 16:06, 24 March 2017 (UTC)
Rudeness aside, the IP touches upon a good point, though they didn't mention it directly. The algorithms that produce these suggestions are obviously going to be based in part on your history, but they're also going to be based on what the developers of the software think is a good method for predicting what you're going to type when you type in something novel. So it's also going to be based on other people's history, as well as a number of other factors, such as the current date and time (are you Christmas shopping? Doing your taxes? Planning a summer vacation?), whatever other information about you they have access to (do you run Photoshop every day? Do you regularly connect to the FTP server of a software development archive? Do you have lots of videos stored in your documents folder?) and similar information culled from people with similarities to you (do other Wikipedians often search for the names of college professors? Do people who use your banking service often search for loans from other banks online?). The actual method they use to wrangle this data into a prediction, and the specifics of the data they use are bound to be proprietary and highly protected, so no-one is likely to give you a direct answer to your question here. And if they did, they'd either be full of crap, or about to get fired from their job at Microsoft and sued for breaching their non-disclosure agreement. ᛗᛁᛟᛚᚾᛁᚱPants Tell me all about it. 16:26, 24 March 2017 (UTC)
Okay, thanks, I understand now.— Vchimpanzee • talk • contributions • 18:25, 24 March 2017 (UTC)
This is the third time he has asked this question and the third time he has been told that the suggestions are based on his history using some sort of algorithm. He will be back next week asking where the list comes from. 209.149.113.5 (talk) 16:50, 24 March 2017 (UTC)
I don't disagree, but we have channels for handling disruption. When an editor is causing you frustration, we have methods for dealing with that, too. ᛗᛁᛟᛚᚾᛁᚱPants Tell me all about it. 16:56, 24 March 2017 (UTC)
This was the third time I had not gotten an answer, so it was the third time I asked. Here, I was given an answer to a separate question which I should have asked separately, but not to the question I asked here. Here, I asked the question the wrong way and was first told something irrelevant because apparently the person thought I expected behavior that wasn't possible, when my question was about the actual behavior which, because I reinstalled Windows 10, had to happen all over again. Then I was given sarcasm by someone else rather than a constructive answer. Greek mythology questions are not answered on this reference desk, so that's likely the only possible interpretation.— Vchimpanzee • talk • contributions • 18:25, 24 March 2017 (UTC)

────────────────────────────────────────────────────────────────────────────────────────────────────It appears the list did not change like I thought it had. See File:Askamy.png. "Ask Amy" was in there before. However, this one has a list of searches too, though I don't recall doing any searches at home. With my slowIinternet and concern about going to unfamiliar sites on my own computer, I make a point of avoiding Google. Sometimes I make a mistake typing a URL that sends the computer to Bing or my phone company's search. How these got chosen I don't quite understand, but perhaps it's an algorithm I'm not allowed to know the details of.— Vchimpanzee • talk • contributions • 21:48, 24 March 2017 (UTC)

It doesn't matter if you searched on your phone or your tablet or your computer or your television. Microsoft/Bing knows that your IP address performed searches and viewed web pages. Therefore, it feeds information about that into the recommendation algorithm. Further, if you are signed in to an account, everything you do under that account is stored regardless of the device or where the device is located. So, if you are signed into Microsoft at work and do a search, that search will impact your recommendations at home. Further, it is clear that Microsoft, Amazon, Google, and Facebook share information. For example, if I "like" a friend's comment about his new power drill on Facebook, I will suddenly see suggestions to look at new power drills on Amazon and both Google and Bing will suggest popular power drill web pages to me. It appears that you think your computer is making suggestions based solely on what you do on that computer. We live in a very connected world now. What you do anywhere - and what anyone who appears to be you does - is used to market to you. 71.85.51.150 (talk) 23:45, 24 March 2017 (UTC)

Char array index

I came across this syntax feature to initialize an array (not associative array or hashtable) in Go:

 
var inverse = [256]uint8{
   'A': 'T', 'a': 'T',
   'C': 'G', 'c': 'G',
   'G': 'C', 'g': 'C',
   'T': 'A', 't': 'A',
}

Is there name for this syntax feature?

I'm trying to see which other languages have the feature, but it's kinda hard to do without knowing the feature's name. ECS LIVA Z (talk) 18:42, 23 March 2017 (UTC)

What feature are you referring to? The use of the word "var"? The bracketed 256? The colon separated pairs in the initialization? The latter is sometimes called an "associative array" and appears in JavaScript [2]. A similar concept appears in Perl where it is called a "hash" although it uses a comma or arrow between the key and the value rather than a colon [3]. In C++ it's called a map and again the initialization syntax is a bit different [4]. CodeTalker (talk) 19:49, 23 March 2017 (UTC)
Sorry, I should have clarified. It's the use of associative array syntax to initialize a regular array. As you mentioned, pretty much all languages have associative array, and easy and clear syntax for initializing them. However, the Go clip above is only one I've seen so far that allow you to initialize a regular array with the associative array syntax. I'm wondering whether there are other languages that allow you to do the same. ECS LIVA Z (talk) 20:17, 23 March 2017 (UTC)
This is basically designated initializers from C99, where the syntax would be
uint8_t inverse[256]={
  ['A']='T', ['a']='T',
  ['C']='G', ['c']='G',
  ['G']='C', ['g']='C',
  ['T']='A', ['t']='A'
};
--Tardis (talk) 14:25, 24 March 2017 (UTC)
It is not uncommon. In PHP you assign key and value as 'key'=>'val'... So it just replaces the colon with an arrow. — Preceding unsigned comment added by 2600:1004:B049:9B6:CCAC:5A12:84A3:24A4 (talk) 20:58, 23 March 2017 (UTC)
Yep, you're right. Thanks! Though admittedly PHP is cheating a bit since their array is both the regular array and the associative array. ECS LIVA Z (talk) 21:54, 23 March 2017 (UTC)
Try reading up on Lisp (programming language) for an even lower-level implementation of association lists: It used to have only two fundamental data types, Atoms and (association) lists. Even statements and function definitions are all coded as a list of atoms, though modern implementations have native support for the traditional array of data types. ᛗᛁᛟᛚᚾᛁᚱPants Tell me all about it. 16:33, 24 March 2017 (UTC)
In perl it is arguable that in some respects hashes are "even length array"s - and the syntax for initialising hashes may well work for arrays and vice versa, depending on whether strict is turned on or not. See fat comma. All the best: Rich Farmbrough, 22:21, 24 March 2017 (UTC).

DOT NET emulator for Windows 10

Please can you recommend me a DOT NET version 2 emulator for Windows 10. I have several DOT NET version 2 applications that no longer work on Windows 10. They are abandonware so will never be updated to the latest DOT NET version. — Preceding unsigned comment added by 168.10.85.15 (talk) 19:24, 23 March 2017 (UTC)

.NET 2.0 is still supported by Windows 10 but it needs to enabled (installed) as described here. So, go to the control panel/programs and features/Turn on and off Windows features and enable .NET framework 3.5. Ruslik_Zero 19:47, 23 March 2017 (UTC)

Programming language like the Unix pipeline

Is any programming language build like a series of filters in a pipe like the Pipeline (Unix)? It looks like a cool approach, comparable to OO or imperative. --Llaanngg (talk) 20:39, 23 March 2017 (UTC)

Insofar as bash is a programming language (in addition to being just an interactive command interpreter), ... the bash language encourages the use of pipes. You can also use pipelines and coprocs (if you're using bash-4 or newer). These paradigms fit very well with traditional pipe | syntax.
Nimur (talk) 21:15, 23 March 2017 (UTC)
You could do this with any functional language, though it wouldn't be as easy to read as a bash script. e.g. output = FunctionThree(FunctionTwo(FunctionOne(x, y))); or possibly:

FunctionThree(          
    FunctionTwo(         
        FunctionOne(x, y)
    )
);

(though for obvious reasons, that second example won't work with any language that doesn't ignore linebreaks, like VBA). ᛗᛁᛟᛚᚾᛁᚱPants Tell me all about it. 21:35, 23 March 2017 (UTC)
Does that mean that Bash is a functional programming language? If that's the case the corresponding article could benefit from a little updating. Llaanngg (talk) 22:54, 23 March 2017 (UTC)
No, I would say it's a command language, (personally, I would call it an imperative language with a few data state features if I had to classify it that way.) Just like a OOP language can replicate the functionality of a functional language, a functional language can replicate the functionality of an imperative language. ᛗᛁᛟᛚᚾᛁᚱPants Tell me all about it. 14:43, 24 March 2017 (UTC)

If you like pipeline, you would like the programming language Mathematica or should I cry wolf, er? Wolfram.

You can do

FunctionThree[ FunctionTwo[ FunctionOne[12.34] ] ]

or

[email protected]@FunctionOne[12.34]

Or

if you like the postfix notation (aka the pipeline notation)

12.34 // FunctionOne // FunctionTwo // FunctionThree

Now if your function takes multiple parameters (and outputs a list containing multiple elements), for example two parameters x and y. You can put them into a list (think of a list as an array) and get the function(s) to take a list as if it were multiple parameters.

{x,y} // (FunctionOne @@ #) & // (FunctionTwo @@ #) & // (FunctionThree @@ #) &

or

{12.34,56.78} // (FunctionOne @@ #) & // (FunctionTwo @@ #) & // (FunctionThree @@ #) &

148.182.26.69 (talk) 22:57, 23 March 2017 (UTC)

Do you realise the "dream programming language" you are talking about which uses pipelines would have to behave something like this
TheWorld={Value1,Value2,Value3,Value4,...,ValueN};
EndOfTheWorld = TheWorld // Function1 // Function2 // Function3 // ... // FunctionK;
DisplayFinalResultToOperator[EndOfTheWorld];
148.182.26.69 (talk) 23:51, 23 March 2017 (UTC)
Of course you can do it all in one line! This is your ultimate pipe dream.
{Value1,Value2,Value3,Value4,...,ValueN} // Function1 // Function2 // Function3 // ... // FunctionK // DisplayFinalResultToOperator
148.182.26.69 (talk) 23:57, 23 March 2017 (UTC)


Method chaining? Asmrulz (talk) 12:15, 24 March 2017 (UTC)

The phrase is dataflow programming. --Tardis (talk) 14:26, 24 March 2017 (UTC)
An older programmer I know once referred to that as a "debugging-based programming". Not that it's important, but I thought it was amusing and rather apt. ᛗᛁᛟᛚᚾᛁᚱPants Tell me all about it. 14:43, 24 March 2017 (UTC)
right. one thing doesn't preclude the other, though. And the shell itself is influenced not by OOP nor by any of that fancy dataflow stuff but by 60' job control languages [citation needed]. (I see that one Victor A. Vyssotsky who co-developed BLODI also headed Multics which inspired Unix, so who knows.) Asmrulz (talk) 18:49, 24 March 2017 (UTC)

March 24

WINE on Windows

I have old versions of Corel Paint Shop Pro that still ran fine on Windows 7, but on Windows 10, the installers just stall during the "module registration" step, in fact so badly I have to use the task manager to kill the installer. The entire programs are then on my disk, including a desktop icon, but when I click the icons, the programs will freeze on the start screen. All this also happens when I'm using the various backwards compatibility modes of Windows 10. The reason why I need these old Paint Shop Pro versions is because I have many self-made scanning and color balance presets for them that most likely won't work with newer versions.

Many people have told me to use Wine on top of Windows 10 to fix this by simulating XP or Windows 7 within Wine, but all the Wine wikis and how-tos tell me that Wine is not made to be installed on top of Windows. So how does this work? I've found [5], but those instructions seem a tad outside my abilities as a Windows user who's used to just click setup EXEs, or, at outmost, open .rar or .zip archives and drop a tiny program EXE anywhere on my harddisk.

Or is there any other XP or Windows 7 emulator I could use for this? --2003:71:4E33:E510:FC1A:665C:E7A8:5408 (talk) 02:10, 24 March 2017 (UTC)

Don't damage Your installed operating system with old and now incompatible software. Btw I am using GIMP, Hugin (software), Inkscape and Dia (software) for such application.
On Windows 7 You can use Microsoft virtual pc. The link to kegel.com, You posted, lists scripts and commands with "/cygdrive", which sounds to my as cygwin or Cygwin/X is used to give Wine (software) an environment to run. The the Kegel website also wrote from a Windows 7 environment. Careful which software and versions were used. Emluated software is faster executed only when the original platform was much slower than CPUs from today. An other idea is to install VirtualBox ans setup an old OS as virtual machine which may require a license in some cases. If Your computer does not have 8 GB of RAM and a CPU less 4 full cores, and/or a set of supported extra CPU registers to swap quickly into and from the virtual machine, I guess You may not be lucky with an host system which runs several other software on Windows 10. I mean save Your time. --Hans Haase (有问题吗) 10:21, 24 March 2017 (UTC)
Long story short: If I have an old WindowsXP Professional 64-bit CD right here, I can use VirtualBox? --2003:71:4E33:E579:99A6:DDE:9236:745C (talk) 17:50, 24 March 2017 (UTC)
Update: the path is set in the system varibles, run: sysdm.cpl --Hans Haase (有问题吗) 10:32, 24 March 2017 (UTC)
I run XP on my W10 box using Bochs - works fine. I also have a couple of Linux distros running too. --TrogWoolley (talk) 12:04, 24 March 2017 (UTC)
Uhhh...I've found this, which makes Bochs look more like a programming language for DOS than an OS emulator to me. As said, I'm only used to click setup EXEs. --2003:71:4E33:E579:99A6:DDE:9236:745C (talk) 17:59, 24 March 2017 (UTC)
Um, that PDF opens with "Bochs is a C++ program which simulates a complete Intel x86 computer."
I'm sorry if this seems flippant, but using Wine on Windows is like using google translate to translate pages written into your native language into Swahili then back into your native language: Sure, it'll work, but the result will be weird and the effort wasted. Use a virtual machine and install an older version of windows using one of your old install disks. If you don't have any old disks, you can buy them online on the cheap (so long as they're not Windows 7). Personally, I recommend VirtualBox because it's simple to use, and most importantly, free. It's also one of those click-setup-and-then-just-keep-clicking-okay-until-you're-done programs. You can find the installation instructions here. For the record, I have years of experience working in CS and decades of experience with computers in general, and I'm right there with you on how I like my software to be installed. Any software (I'm looking at you, SLIME and AWS) that requires me to edit environmental variables and registry keys and write new permission policies to install is an example of lazy programming, IMHO. I've yet to encounter an install process that requires technical information that isn't accessible through the WinAPI. ᛗᛁᛟᛚᚾᛁᚱPants Tell me all about it. 18:40, 24 March 2017 (UTC)
Yes, due to Hans Haase's cryptic post above, I've already looked into VirtualBox, but after clicking through a lot of documentations and the forum for an hour, it seems to me like I'll have to study programming sciences at a university for a few years before I'll even understand 99% of the entire terminology used in the docs and tutorials there. Plus, it seems to me like it's an official requirement to work at a computer business company or even run a company like that if I just want to join the VirtualBox help forums run by Oracle. I'm used to just click setup EXEs or use a GUI like BootCamp where all I do is burn a CD with Apple drivers by means of one click, then pop in a Windows installation CD and click run within BootCamp, telling it on what HD it has to install Windows to. Watch it install Windows, boot Windows, pop in the Apple drivers CD, run setup, done. I'm not used to anything like a DOS box aka cmd or whatever it's called. I don't even understand 99% of all the caveats and myriads of bypackages I have to look out for as according to the VirtualBox documentation and tutorials or what all those supposedly critical components are even there for that I supposedly need or else I won't even be able to install VitualBox. The FAQs with "known bugs" and solutions seem to me like they're both written in Chinese. The VirtualBox docs make it look like I'll have to write Windows from scratch or something to even just install VirtualBox or any OS with it. I mean, if it's supposed to be so easy, there should be some step-by-step guide on how to run Windows XP on Windows 10 that somebody can understand who's been clicking install EXEs for 25 years, right? --2003:71:4E33:E579:99A6:DDE:9236:745C (talk) 18:50, 24 March 2017 (UTC)
I'm not used to anything like a DOS box aka cmd or whatever it's called. You don't have to use the command line. The first option on the installation page is "double click the executable". All of the other stuff mentioned there is about what to do if you require certain configurations, which I don't think you will need at all. The last time I installed it, I double clicked the setup file, then kept clicking okay until it was done. Don't let all the additional technical information fool you, it's really simple. As for the forums, I have an account there. If you have any questions that you can't find the answer to, I'd be happy to post them for you (if I can't answer them myself, of course). I'm sure there are a number of other editors here with the same access and willingness to help. ᛗᛁᛟᛚᚾᛁᚱPants Tell me all about it. 19:26, 24 March 2017 (UTC)
Well, okay, I'll try download and run the EXE. Thank you for your offer to help me with the forums, but looking over those, I don't even understand any of the questions people ask there nor any of the answers they're given. --2003:71:4E33:E579:99A6:DDE:9236:745C (talk) 19:31, 24 March 2017 (UTC)
I'll let you in on a little secret: That's true of me and most of the other members, as well, and that forum is probably the least technical one Oracle hosts. ᛗᛁᛟᛚᚾᛁᚱPants Tell me all about it. 19:35, 24 March 2017 (UTC)
Okay, first try to run the EXE and I've just aborted it. It tells me it's gonna mess with my network settings somehow. Will I not be able to get back on the internet and get help here? My "network setup" so far is that I've plugged the power sockets of my router and my PC in and turned both of them on, and that's how I got on the internet. I don't know what to do in Windows if VirtualBox changes anything in there, so I may get stuck without a way to get back here. --2003:71:4E33:E579:99A6:DDE:9236:745C (talk) 19:39, 24 March 2017 (UTC)
I'm not sure exactly what you're seeing, but it seems to me like what it's asking you is if this virtual machine should have access to your network settings. I know that you will be asked about network settings, USB settings and python support. You shouldn't need any of those to run an XP-era copy of Corel PSP. If you're very uncomfortable doing this (which seems to be the case from how you described your network setup), then I'd advise you to find someone willing to do the installation for you. It doesn't take much to buffer your system against damaging changes (it's functionality built right in to windows), but it's still a little bit in-depth, and adding that to what you're already doing seems like taking on too much. The Geek Squad should be able to help for not too much money, assuming you don't know anyone else. I'd offer to connect to your machine and do it remotely, but frankly, taking me up on that is an extremely bad idea. I could be the most malicious hacker in the world, for all you know. ᛗᛁᛟᛚᚾᛁᚱPants Tell me all about it. 20:07, 24 March 2017 (UTC)
I remember that message, too. VirtualBox is just saying that you may get temporarily disconnected while it installs the virtual LAN adapter stuff (for shared folders etc.) Asmrulz (talk) 20:30, 24 March 2017 (UTC)
Yes, I should've probably been a bit more specific about the message. It's telling me it's gonna disconnect my network, but you can guarantee me it's gonna be restored? --2003:71:4E33:E579:99A6:DDE:9236:745C (talk) 20:46, 24 March 2017 (UTC)
I'd like to, but the odds of ninjas suddenly attacking you and stealing your router before the installation finishes is non-zero. Ridiculously small, but non-zero nonetheless. ;) (In all seriousness, it should be just fine. If we are your only source of CS expertise, it wouldn't be a bad idea to take my earlier advice about letting someone else help you set it up.) ᛗᛁᛟᛚᚾᛁᚱPants Tell me all about it. 20:52, 24 March 2017 (UTC)
I don't remember I had any network problems from installing VirtualBox, so I'd say, go right ahead Asmrulz (talk) 20:56, 24 March 2017 (UTC)
Okay, thanks to you guys, VirtualBox is installed, and now it's telling me to create a virtual disk. Is that like a Linux on-the-fly CD where I'm running Linux purely from RAM? But it's telling me I'll need a storage device of at least 10 GB. --2003:71:4E33:E579:99A6:DDE:9236:745C (talk) 21:55, 24 March 2017 (UTC)
Once you've installed VirtualBox, click the "New" button. It'll ask you for the name and type of the virtual machine. The name can be anything but the type should match the system you're actually installing (Windows XP, say.) Next, it'll ask you for the amount of RAM and whether you want to create a virtual harddisk. That's just a (huge) file that is a sector-by-sector image of the hard disk the guest OS will be using. I'd just go with default suggestions here. A "dynamically allocated" harddisk only occupies as much as there is real data on the emulated hard disk, whereas a "fixed size" harddisk occupies whatever is the emulated hard disk's nominal size (this only matters to the "host" OS. From the p.o.v. of the "guest" (virtualized) OS, the hard disk is fixed size either way.) I'd choose dynamically allocated. Now you have created a virtual machine. Now click Start. It'll offer you to boot from a CD. Insert your Windows XP CD and choose "Host drive" (this just means the virtual machine can access the actual, physical CD drive - as well it should.) After this, the XP installation should start. When it's complete, you'll have a virtual machine running Windows XP that you can install PSP in Asmrulz (talk) 22:22, 24 March 2017 (UTC)
Dynamically allocated is not available. The options given are No harddisk, Create harddisk, and Use existing harddisk. What worries me here is that it sounds a bit like I'm about to mount a new harddisk complete with formatting it, so I may somehow lose my current Windows 10 system by accidentally formatting my C: drive. --2003:71:4E33:E579:99A6:DDE:9236:745C (talk) 22:48, 24 March 2017 (UTC)
I'm sorry, yes, "create virtual", then "create", then "VDI" -> "next" -> "dynamically allocated" Asmrulz (talk) 22:52, 24 March 2017 (UTC)
Thing is, am I accidentally formatting my C: disk system this way? --2003:71:4E33:E579:99A6:DDE:9236:745C (talk) 22:54, 24 March 2017 (UTC)
(edit conflict) It shouldn't format the real hard disk, but XP (or 7) will offer you to format the hard disk. That's the virtual hard disk which of course you can format Asmrulz (talk) 22:56, 24 March 2017 (UTC)
and, generally, you can do whatever in the virtual machine ("guest" system), and it shouldn't break the "host" system Asmrulz (talk) 23:00, 24 March 2017 (UTC)
It's important to understand that the "hard disk" being referred to by VirtualBox is a virtual hard disk. That is, it's not a real hard disk, it's just a file on your Windows machine that VirtualBox is going to pretend is a Linux hard disk. As mentioned above, you can do anything you want to that virtual (fake) hard disk, including formatting it, and it won't affect your real disk. It will only affect the file that is pretending to be a hard disk. CodeTalker (talk) 23:39, 24 March 2017 (UTC)
Okay, Windows XP setup is running now (first time I'm ever able to use an old, discarded 64-bit XP CD originally bought for a first-gen Mac Pro that BootCamp always refused to acknowledge). Looks like this "VirtualMachine" is a tiny window rather than fullscreen (at least during the install so far). Top menu gives me the ability to fullscreen, but the keystrokes to minimize it again after that look a bit cryptic to me. What key is "host"? --2003:71:4E33:E579:784C:E95A:C19E:91BD (talk) 23:47, 24 March 2017 (UTC)
Oh, and another problem...how do I "register" this old XP 64-bit? I mean, it's gonna stop working after 30 days if I don't register it, right? Online registering doesn't seem to work as the VirtualMachine doesn't seem to be able to access the internet. --2003:71:4E33:E579:784C:E95A:C19E:91BD (talk) 00:01, 25 March 2017 (UTC)
────────────────────────────────────────────────────────────────────────────────────────────────────right ctrl, I think. It should say the first time you go into Fullscreen. Install the Guest additions, too, after the install's done (Devices->Insert Guest additions CD, then open the CD in My Computer in the virtual machine), it'll improve interoperability (seamless mode, automatic resizing, mouse integration etc) Asmrulz (talk) 00:17, 25 March 2017 (UTC)
I think box versions such as yours will register, but OEM versions which are tied to the physical machine, won't. As to internet access in general, there's a network icon in the lower right corner, right-click it and select "connect network adapter". And it should say "Attach to: NAT" in Settings->Network Asmrulz (talk) 00:17, 25 March 2017 (UTC)
a.) The shortcut it's telling me to use when displaying the fullscreen warning is "host + F1". As I have no idea what that means, I just cancel the fullscreen mode before it takes effect.
b.) When I select Insert guest additions CD , nothing happens at all.
c.) I don't wanna "export" anything from XP to Windows 10. I just wanna use these old versions of PSP that don't run under Windows 10. The templates I'm talking about only work in these old versions of PSP. So it seems I still need a way on how to register this old XP.
d.) Okay, I've been able to find the "Connect netowrk cable" button in the lower right corner, but both IE and the registration window still can't access the web. --2003:71:4E33:E579:784C:E95A:C19E:91BD (talk) 00:43, 25 March 2017 (UTC)
On second thought, I do wanna export stuff from XP to Windows 10, and that's the files I'll scan and edit with PSP. It seems I need "Shared directories" for that, right? But when I'm trying to create a "Shared directory" , it's telling me that no "guest additions" exist. Oh, and is there a way to switch the monitor setup from 4:3 to 16:9? That switch used to be integrated in the resolution slider at "Display" in "System control", but now, only 4:3 resolutions seem available. --2003:71:4E33:E579:784C:E95A:C19E:91BD (talk) 01:03, 25 March 2017 (UTC)
"host+F1" is Left Ctrl+F1 if the host key is actually Left-Ctrl. Mine is, but I don't know if that's the default setting or I changed it sometime. There's an icon in the lower right corner to set up the host key. Asmrulz (talk) 01:21, 25 March 2017 (UTC)
The Guest additions CD will appear in the guest OS's CD folder. Open it like you would a physical CD and install what's on it. Asmrulz (talk) 01:21, 25 March 2017 (UTC)
No internet is very odd. Normally it just works Asmrulz (talk) 01:21, 25 March 2017 (UTC)
You'll be able to change resolutions after installing the Guest additions Asmrulz (talk) 01:21, 25 March 2017 (UTC)
Yes, set up Shared folders, then you can access a folder on the host system as a network drive (In the "guest" (virtualized) system: Connect network drive -> any letter -> Network neighborhood -> VBoxSvr). Anything you copy there from under either system will be visible in the other and vice versa Asmrulz (talk) 01:21, 25 March 2017 (UTC)
Okay, it seems the "Guest additions" feature works as wonkily as the BD drive when accessed by the VirtualMachine version of XP. In Windows Explorer within XP, the BD drive is always displayed as "Guest additions", no matter what disk is inserted, but when it's not my XP install CD, I get error messages when clicking the drive and nothing happens when I use "Insert guest additions CD" from the top menu. Having realized this, I've made it to install the guest additions now, and at least I now have a 16:9 display and shared directories work. But web access is still impossible from within XP, hence no XP registration. --2003:71:4E33:E579:784C:E95A:C19E:91BD (talk) 01:24, 25 March 2017 (UTC)
Ah, thanks for telling me about this setting for the BD drive. In any case, the web issue is getting weirder by the minute: By now, I've made it to install and set up PSP, and after I've made it to install the "guest additions", re-booted and started PSP again, PSP was telling me that "free Corel updates" would be available for PSP. I clicked "Download free PSP update", and it did just that, but within IE and for XP registration purposes, the web is still as dead as a doornail. --2003:71:4E33:E579:784C:E95A:C19E:91BD (talk) 01:30, 25 March 2017 (UTC)
This can be. I had that recently where the old IE (IE7?) that comes with XP was saying there was no internet but there was. Downloaded and installed Firefox via the shared folder. I reverted my CD drive remark because edit conflictAsmrulz (talk) 01:45, 25 March 2017 (UTC)
Hmph, now the issue that XP Professional 64-bit was so rare is making problems again. The XP itself is 64-bit, but the 64-bit version of Firefox can't be installed because it requires at least Windows 7. And Firefox 32-bit can't recognize XP Professional 64-bit as any legitimate OS at all, just like it used to be with BootCamp back on my 1st gen Mac Pro. --2003:71:4E33:E579:784C:E95A:C19E:91BD (talk) 01:55, 25 March 2017 (UTC)
Hmmm...to be more exact, the exact failure msg on Firefox 32-bit was that it requires XP SP2, so I located that and tried to install it via shared directory, but turned out that it's not for XP Professional 64-bit and hence can't be installed. So I had to google again for the Windows 2003 version of Service Pack 2, a file that's so rare I found it uploaded to a forum. Installed it, then finally Firefox 32-bit would install. Web access just fine on Firefox now, but still not able to register/activate XP. Could it be they've discontinued the original XP registration/activation server? I wonder if I can still use phone activation/registration for XP...especially at 3:30am! --2003:71:4E33:E579:784C:E95A:C19E:91BD (talk) 02:41, 25 March 2017 (UTC)

hfc nbn in australia

Hi, I have the nbn in Australia, and I am in an HFC region. I've been trying to ask around for what I need to do, and no one, and not the internet, seems particularly clear. The nbn is live, now, and ready to go in my area. I do not have an actual cable (HFC) outlet in my apartment. Who installs the cable outlet? Do I need an electrician? Every website says a basic install is free, and taken care of by (I think) the provider (eg Optus, Telstra or iiNet). I don't know if the provider then gets reimbursed by the nbn, or exactly what happens, I'm just reporting what I've been told.

Then, if I need an electrician, do they come first, then I go to the provider (Optus etc)? Or do I get the provider first, and they sort out an electrician?

If an electrician comes, will they be able to add a cable outlet inside my premises? I don't see how they can rewire the house, and thread a cable through the walls. Not sure how exactly this is supposed to work. IBE (talk) 03:40, 24 March 2017 (UTC)

I'm not form AU, but in the article NBN notes „wholesale“ which I understand regarding the Wikipedia article the network services are being resold by providers. Taking a look to other nations, providers tunnel their customers data by VPN and feed at a backbone to the internet. There customers internet usage can be monitored. So I recommend You to ask local internet service providers (ISPs) for solutions and pricing. --Hans Haase (有问题吗) 08:34, 24 March 2017 (UTC)
Thanks, naturally, I've been asking, but they don't seem to know everything, or perhaps even very much. Response times for email queries are also slow - you folks are generally the quickest ;) IBE (talk) 09:30, 24 March 2017 (UTC)
When every try would fail, see: Telecommunications in Australia#Regulation --Hans Haase (有问题吗) 10:05, 24 March 2017 (UTC)

Linux (Bash) expert?

You might be able to help here:

http://unix.stackexchange.com/questions/353076/how-to-indent-an-heredoc-inside-an-heredoc-the-right-way

Ben-Yeudith (talk) 06:05, 24 March 2017 (UTC)

March 25

Retrieved from "https://en.wikipedia.org/w/index.php?title=Wikipedia:Reference_desk/Computing&oldid=772059246"
This content was retrieved from Wikipedia : http://en.wikipedia.org/wiki/Wikipedia:Reference_desk/Computing
This page is based on the copyrighted Wikipedia article "Wikipedia:Reference desk/Computing"; it is used under the Creative Commons Attribution-ShareAlike 3.0 Unported License (CC-BY-SA). You may redistribute it, verbatim or modified, providing that you comply with the terms of the CC-BY-SA