Wikipedia:Reference desk/Computing

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search

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.
  • Specific questions, that are likely to produce reliable sources, will tend to get clearer answers.
  • 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.
Choose a topic:
See also:
Help desk
Village pump
Help manual

July 6[edit]

That Touch of Mink[edit]

I'm wondering if anyone knows how to find the scenes just prior to where Doris Day caused absolute chaos in her new job, and what is supposed to be happening. It appears there is a logical process going on when things work as they should, but the writers might have just made something up that looked good. Somehow, different colors of cards are being printed and sorted into categories, and this process took place long before my days of learning about computers. We didn't do anything like this. In my classes we had two types of output: a sheet that was printed, or information on our screen. No cards as output. My only hints as to what the company was doing were Day's character's comment about having to learn codes, and the boss saying someone got a bill for $128,000 for a very small purchase after Day made a mess.— Vchimpanzee • talk • contributions • 15:29, 6 July 2020 (UTC)

Sounds like a Hollerith card (talk) 06:17, 7 July 2020 (UTC)
In the scene staring around 1:16 the sign on the wall says UNIVAC but the machines are Remington Rand Hollerith card sorters (Holerith was IBM. Univac used a different kind of card.) Colored cards were common. The studio probably just bought a bunch of different colors because it looked better.
The Master Control panel Doris Day hits appears to be some sort of control for a paper tape reader/puncher. --Guy Macon (talk) 06:45, 7 July 2020 (UTC)
Punch cards certainly were used as output, in situations where they would later become inputs again. I dimly remember (into the 1970s) receiving bills from one or other utility company that were on punch cards, which would show my account number and the amount owing -- presumably when I returned them with my payment, someone would put the card back into a keypunch machine, punch onto the card (at some specific position) the amount of my check, and then the card would go back into the computer as an input. I also once wrote COBOL programs for a compiler that produced a deck of binary punch cards containing the executable code, which was then fed into a smaller computer that did not have a compiler of its own.
As I recall, Remington and UNIVAC punch cards were the same size as IBM cards, but used a different data format, with round holes... right, that's covered in the article already linked. -- (talk) 23:02, 7 July 2020 (UTC)
It was actually quite easy to mess up. Some cards were used often and they would become "floppy" and get mangled in the feeder. You would then take a blank card and manually reconstruct the hole pattern with a special punch. $12.80 could easily come $128,000.00. Even new cards could cause problems if the initial punch did not eject the cutout piece correctly. There was a very real reason for "Do not fold, spindle or mutilate." Staples were a nightmare. (talk) 09:40, 7 July 2020 (UTC)

Old laptop - can barely hear volume, even when the volume level is 100[edit]

I have an old laptop, laying around. In good condition. Never used it all that much. Right now, I need it for a very limited purpose only ... to log onto You Tube and play You Tube videos. Here and there, occasionally. That's it. So, I did not want to go out and buy a new laptop, nor do I want to pour a lot of money into this old laptop. Here's the problem and my question. Even when I put the volume on the highest level (100), I can still barely hear it. I went to some website that says "increase volume by downloading this app". Here: [1]. I tried that. It increased the volume ever so slightly ... but basically it's difficult to hear the You Tube video playing. What can I do? What should I do? Any comments, thoughts, suggestions, ideas? Thanks. Joseph A. Spadaro (talk) 16:30, 6 July 2020 (UTC)

It may be the speakers failing with age. I'd recommend trying a pair of cheap external speakers, bluetooth if your laptop supports it, externally powered ones run off a line to the headphone jack if it doesn't. (On many laptops the headphone jack and the internal speaker share the same amp, so if that's the culprit you might have problems with unpowered headphones too.) (talk) 18:41, 6 July 2020 (UTC)
1) You can use a Youtube downloader and play it back in a program like VLC which supports >100% volume. 2) Check that both your system volume and the volume on the YouTube interface are up to 100%. 3) Your speakers could've become filled with fluff and dust over time. I suppose that could affect the sound too, I don't know. (talk) 22:08, 6 July 2020 (UTC)

Thanks, all. Joseph A. Spadaro (talk) 16:15, 8 July 2020 (UTC)

Lambda expressions for JavaFX event handler[edit]

The following code can be used to create a javafx.scene.control.Button that reacts to the user clicking it in JavaFX.

   Button b = new Button();
   b.setOnAction(new EventHandler<ActionEvent>() {
       public void handle(ActionEvent actionEvent) {
           // Code to execute goes here        

However, I have seen it simplified as this:

   b.setOnAction(actionEvent -> /*Code to execute goes here*/);

Why does the second option work? The source code for the setOnAction() method looks like this:

   public final void setOnAction(EventHandler<ActionEvent> var1) {

The method clearly takes an EventHandler<> as a method, not a Consumer, which is what that lambda expression appears to be. --PuzzledvegetableIs it teatime already? 22:47, 6 July 2020 (UTC)

EventHandler is annotated as a functional interface, which is explained a bit better here. -- Finlay McWalter··–·Talk 12:59, 7 July 2020 (UTC)

July 7[edit]

sudden black screen[edit]

When I am working normally with my laptop, suddenly the screen on my Microsoft Surface 3, Windows 10, will go black and remain that way for a few to maybe 20 seconds. Then the logon screen will come on and the system will immediately recognize my face. After this, everything proceeds normally. Nothing is lost. Any idea what is happening, and what I can do about it? --Halcatalyst (talk) 20:42, 7 July 2020 (UTC)

Halcatalyst, thank you for your system information and complete description of the problem.
This could be a result of Windows locking the screen for some reason:
  • Windows+L
  • Ctrl+Alt+Del
  • Screen saver timeout unusually low
  • A background task or service may be interfering.
  • Remote desktop, remote assistance, or some other desktop sharing software is kicking in. Elizium23 (talk) 22:08, 7 July 2020 (UTC)
It could also be due to a spurious sleep signal being received. Check the power saving settings and the timeouts before the device is put to sleep, or other mechanism that might cause it to sleep (suspend). Elizium23 (talk) 22:09, 7 July 2020 (UTC)
Avoid having your screen saver and your "turn of display" "turn off display" using the same delay. Put at least 5 minutes between them. Otherwise they try to access the same resources at the same time and one of them has to wait. --Guy Macon (talk) 22:52, 7 July 2020 (UTC)

I didn’t know about Windows/L, but that is exactly what happens. Don’t know why you mentioned Ctrl-Alt-Del, but I am familiar with Task Manager. Should I be looking for something specific there?

I have no screen saver. As far as I can tell, there is no background task or service which could be interfering. This is my home computer, so there is no remote desktop, remote assistance, or other desktop sharing software in play.

Sleep settings are: one hour when on battery, never when plugged in. I am plugged in almost all the time. The power plan is “balanced.”

I don’t know what "turn of display" is.

I’ve always tried to avoid sleep mode. This may be irrational, but I’ve always worried the computer would never wake up. In any case, I don’t have any need for it, since as I said I’m usually on power and I have a very good battery. --Halcatalyst (talk) 01:04, 8 July 2020 (UTC)

Sorry. "Turn Off Display". It's part of power and sleep, but you aren't telling it to sleep so that's not it. This next bit is most likely not it either, but go to Windows Security and do a quick scan then an offline scan. Unlikely to fix the described problem but easy to do just in case I am wrong. --Guy Macon (talk) 01:39, 8 July 2020 (UTC)

I used Windows Settings search to find Device Security. It had information about Core Isolation, Security Processor, and Secure Boot. I must have been in the wrong place. --Halcatalyst (talk) 13:34, 8 July 2020 (UTC)

  • Start button on the lower left --> Windows security --> Virus & Threat protection --> Quick scan
  • Start button on the lower left --> Windows security --> Virus & Threat protection --> Scan Options --> Windows defender offline scan
--Guy Macon (talk) 13:52, 8 July 2020 (UTC)

I performed a Malwarebytes brief scan -- not sure if that was what you meant. --Halcatalyst (talk) 03:24, 9 July 2020 (UTC)

Good enough. The above tells you how to use Microsoft's scanner, but Malwarebytes is a fine product. It is doubtful that you have malware that escaped detection.
I am out of ideas. This is all I have: [ ]. :( --Guy Macon (talk) 07:06, 9 July 2020 (UTC)

You know what, given that the manifestation of the "problem" is no more than what you get from Windows/L, maybe it really isn't a problem at all. Sounds good to me. Thank you for your help. --Halcatalyst (talk) 17:09, 9 July 2020 (UTC)

P.S. How to Fix Any Computer is hilarious!

July 8[edit]

Bluetooth heartbeat / spo2 sensors[edit]

I see there are a lot of Fitbit-like gadgets out there that monitor your heartbeat, motion etc. This includes a lot of cheap "smartwatches" from places like aliexpress. They generally communicate with accompanying mobile apps but 1) I wouldn't trust a crazy app from one of those places, and 2) I want to use the data for my own purposes rather than using the app's built-in functions.

Does anyone know if the protocols for these things are reasonably standard, or at least reverse-engineerable? I'm aware of some finger clamp sensor boards that would do what I want, but it's sure a lot easier if I can use an off-the-shelf wristwatch instead of building electronics. Thanks. 2602:24A:DE47:BB20:50DE:F402:42A6:A17D (talk) 20:20, 8 July 2020 (UTC)

If they're talking to an ordinary phones, it's either ANT+ or Bluetooth (I'd guess BT, because pretty much all phones have that, whereas ANT+ isn't ubiquitous). For BT, there's two heartrate profiles (HRP and HRS), and the possibility that they're doing plain data and running their own proprietary protocol layer on top of that. The trouble with mystery meat unbranded stuff off Aliexpress is that they're happy to do weird stuff, and happy to change what they're doing without advertising what it is (which is a problem because lots of Aliexpress stuff doesn't have a stable brand or model number. I'd probably start with a USB bluetooth dongle on linux and run btmon to trace what's received from the HRM once it's paired. Sounds like a fun project, if nothing else. -- Finlay McWalter··–·Talk 21:46, 8 July 2020 (UTC)
Ah thanks, I didn't know about the HRP/HRS profiles. I had figured cheap stuff was more likely to do something generic and standard than a name brand like Fitbit, which would be more proprietary and obnoxious. At least that's how things were in the PC world. I don't have a device right now but might get a cheap one and try btmon per your suggestion. Yes these things are all bluetooth. I want to actually detect the heartbeats rather than just measure the heart rate, so hopefully the BT profiles let me do that. 2602:24A:DE47:BB20:50DE:F402:42A6:A17D (talk) 00:47, 9 July 2020 (UTC)
You might find this github repository helpful. -- Finlay McWalter··–·Talk 18:01, 9 July 2020 (UTC)
Thanks, I'll have to look over the profile spec too. I'm less after the heart rate than the heartbeats themselves, so I might need the chest strap type of sensor rather than a wristwatch that I guess uses infrared. Particularly I want to detect the heartbeat phases (systole vs diastole) and see whether my alertness etc. changes between them.[2] This is for non-medical self-observation before anyone gets upset. Thanks. 2602:24A:DE47:BB20:50DE:F402:42A6:A17D (talk) 07:17, 11 July 2020 (UTC)

July 11[edit]

Get exact time in EXIF data of a photo in Windows[edit]

How can I get the exact time in the EXIF data of a photo in Windows? I know ways to get it to the minute, but I need the second. Bubba73 You talkin' to me? 02:55, 11 July 2020 (UTC)

Bubba73, the EXIF format specifies that the "DateTime" is a character string, and allows it to specify the seconds. Perhaps if it does not show in your application, it is not recorded. Elizium23 (talk) 03:09, 11 July 2020 (UTC)
Somehow I've seen them before on my computer with photos from the same camera. Bubba73 You talkin' to me? 03:33, 11 July 2020 (UTC)
  • If I review the photos on my camera, it gives the seconds. (Nothing else does.) Bubba73 You talkin' to me? 07:11, 11 July 2020 (UTC)
If you enable WSL and install Ubuntu (or some other flavour of Linux) then you can install the exiftool suite. I've only run it on a Windows box from within an Ubuntu window, but is should also be runnable via BASH directly, or possibly even from the Window/R box. When I use this on my main machine it certain shows "Date/Time Original : 2020:01:05 09:26:08" for example. Martin of Sheffield (talk) 11:26, 11 July 2020 (UTC)
Exiftool has a Windows version. (talk) 15:28, 11 July 2020 (UTC)
Can you clarify? I assume that Bubba73 is using the Windows version of exiftool and it is crocked. Hence my slightly round-about way. Does the Windows version report the required seconds? Martin of Sheffield (talk) 15:45, 11 July 2020 (UTC)
EXIFtool won't execute because some DLL is missing. But I can easily get the time to the second on the back of my camera, so that does what I need. Bubba73 You talkin' to me? 03:55, 12 July 2020 (UTC)
Bubba73, if a missing DLL concerns you like it concerns me, you may try repairing it with this procedure. This is for missing system files; I don't know if the DLL you need will be included, but it can't hurt to run this. Elizium23 (talk) 03:58, 12 July 2020 (UTC)
SFC didn't find any problems. Bubba73 You talkin' to me? 04:11, 12 July 2020 (UTC)

July 12[edit]

Convert group of JPEG files to video for Wikimedia Commons[edit]

I have a group of 14 JPEG files that I want to convert to a video for Wikimedia Commons, which uses WebM, Ogg Theora, and MPEG video formats. I want to be able to control the frame rate so I can show each one for 2-3 seconds.

I tried several free ones that were recommended, but none worked well. I did get one that converted it to an AVI, and then I was able to convert the AVI to MPEG, but the problem is that the slowest frame rate it could do is 1 frame per second.

Using Google, I found a page that said that Microsoft Movie Maker can do it, so I tried it. The page said that you could set the frame rate in settings. In MS Movie Maker, I clicked on Time Lapse, and it said that I had to buy the pro version from the Windows Store. I did this, which actually was HD Movie Maker. But then it has no setting for the frame rate.

Is there Windows software that will do what I want? Bubba73 You talkin' to me? 02:48, 12 July 2020 (UTC)

I'm not a Windows specialist, but you can simply make three copies of each image, and combine those to create the illusion of a slower frame rate. Alternatively, on the Mac, Keynote can export a presentation to several movie formats. I would expect that Powerpoint can do the same on Windows. Or, although that seems to be overkill: Get OBS Studio and use a presentation with your images as your only source of video data. --Stephan Schulz (talk) 03:29, 12 July 2020 (UTC)
Ah - three copies of each jpeg - a solution I didn't think of! Bubba73 You talkin' to me? 03:49, 12 July 2020 (UTC)
See Egg of Columbus ;-). --Stephan Schulz (talk) 09:05, 12 July 2020 (UTC)

July 13[edit]