Jump to content

Wikipedia:Reference desk/Computing

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

Main page: Help searching Wikipedia

   

How can I get my question answered?

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



How do I answer a question?

Main page: Wikipedia:Reference desk/Guidelines

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


November 17

[edit]

Jiggly computer game characters

[edit]

For want of a better word, there's a trope used in the depiction of creatures (humanoid or other) depicted in video games where the characters are constantly jiggling about. I can guess several reasons why this might be the case. Is there a name for this sort of depiction? Does it have an interesting history perhaps? --jpgordon𝄢𝄆𝄐𝄇 00:58, 17 November 2024 (UTC)[reply]

That's rather vague, can you give an example? Are you thinking of the spasms sometimes afflicting puppets due to ragdoll physics? Or something simpler, like the jerkiness of two-frame animation?  Card Zero  (talk) 09:52, 17 November 2024 (UTC)[reply]
If you've played any video games in last decade, you'll have seen it; here is an example. Has nothing to do death throes (unless that's where the trope started.) It doesn't seem to have any purpose other than visual; it's not denoting actual motion or anything vaguely realistic. --jpgordon𝄢𝄆𝄐𝄇 16:05, 17 November 2024 (UTC)[reply]
The name of that type of depiction is idle or idling animation, as indicated on that page. Shantavira|feed me 17:48, 17 November 2024 (UTC)[reply]
Idle animation. Thank you, that's what I was looking for. --jpgordon𝄢𝄆𝄐𝄇 18:34, 17 November 2024 (UTC)[reply]

Two-factor authentication and repeated codes

[edit]

One form of two-factor authentication (or 2FA for short) uses six-digit codes. So, how likely will one encounter a code that one has already seen before? If a six-digit code is generated 1,000,001 times, then the pigeonhole principle guarantees that at least one of them must be repeated. So, if a six-digit code is generated every 30 seconds starting from the beginning of a year, then there must inevitably be a repeated code by the end of the year. GTrang (talk) 15:34, 17 November 2024 (UTC)[reply]

Yes, and? The codes don't need to be unique. --jpgordon𝄢𝄆𝄐𝄇 16:40, 17 November 2024 (UTC)[reply]
The likelihood of encountering a code that one has already seen before (which appears to be your question) depends entirely on how many you have seen before. Shantavira|feed me 17:52, 17 November 2024 (UTC)[reply]
Let stand for the number of possible outcomes of a discrete random variable with a uniform distribution. For a fair standard die, For the six-digit codes with range 0000009999999, Assume that each next turn is independent of the history. Let denote the probability that the first turns gave different outcomes – no repeats (yet). Obviously, For turn to be different from the earlier turns, the outcome has to be one of the still remaining outcomes that have not yet occurred. The probability, independent of the past, is so
For this has a factor so then Otherwise,
When you already have less than 50% chance of repeat-free survival. See also Birthday paradox.  --Lambiam 19:19, 17 November 2024 (UTC)[reply]
Everyone is told not to re-use passwords, but that doesn't apply to one-time singleton keys such as are typically used in 2FA.
  • If I somehow know that last year your regular password was "gzornnplatz", and I'm trying to hack into your account, "gzornnplatz" is a reasonable thing to try; it's considerably more likely to still or again be your password today than some other 11-character string.
  • But if I'm trying to guess a 2FA code, and I know that some time ago the generator randomly generated 123456, that tells me nothing about what code it's likely to use today. During any given authentication session, every one of those 1,000,000 codes is equally likely. The security rests on the assumption that there's no way you can possibly try more than a tiny fraction of the codes in that space before the authentication session times out and starts over with a new code (or locks you out for a while).
scs (talk) 01:20, 18 November 2024 (UTC)[reply]

November 18

[edit]

Follow up to Can high memory usage make the Internet not work?

[edit]

Referring to this question, a man came to my house this morning and replaced the phone line. He said it was old and just barely working. They've been talking about that for quite some time. When I was told I could get a faster speed at no charge, the men who came didn't do anything because there was no way to do it without drilling a hole in the wall. I said it was fine if they didn't. I thought they were going to do it behind some heavy furniture where the outside equipment was. The last time anyone came to my house nothing was done inside and there was no talk about replacing the phone line. But the man this morning wanted the line to go in the house near my computer, and there was nothing heavy to move.— Vchimpanzee • talk • contributions • 18:51, 18 November 2024 (UTC)[reply]

@Vchimpanzee: I'm glad you have tracked down the source of your problem, apparently a dodgy phone line. It's quite possible that the phone company is offering you a fiber installation of some kind for no extra charge. Ask the phone company for the technical details about the new connection they are offering, and write them down. Then tell us. We may be offer you some advice. You will almost certainly already have a hole drilled in a wall (or possibly by a window frame) where your existing phone line (or cable) enters your property or apartment. This may have been installed before you moved in. In any case, the phone guy should be able to drill a hole somewhere close to the existing one, to install the new connection. He should seal the hole on the outside. He will also probably install a new router, and before they visit again, ask them to provide a network cable (RJ45) from the router to your computer if it's some distance away. If you have a laptop, it will almost certainly have a built-in wi-fi adapter which you should be able make a wireless connection with. Or you should be able to buy a wi-fi USB adapter for a desktop PC, if that's what you have. Otherwise I strongly suggest you should engage the services of a computer professional to visit your house, who should be able to work out exactly what you need within five minutes, and if need be to act as an intermediary between you and the phone company if you don't understand what they are saying. It's impossible to sort out your specific needs from 4,000 miles away. MinorProphet (talk) 19:33, 28 November 2024 (UTC)[reply]

Electronically notarize a plain text file

[edit]

Does anyone know of a use case for electronically notarizing a plain text file in the United States or country with similar laws? The reason is that rules for notaries public are being developed in my state that, depending on how they are written, might make notarizing such files more difficult because they might require the notary's signature to be present as a graphic image (JPEG or the like) which is not supported in somes kind of computer files. Jc3s5h (talk) 19:58, 18 November 2024 (UTC)[reply]

Because laws don't keep up with technology, a company I used to work for used a workaround. They printed out a large hash of the text files (mainly computer code) and notarized the hash. So, the file itself was not notarized, but the hash of it was. So, in court, if the file has the same hash you can state that the hash the file has is the hash that was notarized. There is a minor limitation. It is possible to alter a file while not altering the hash. It isn't common, but with hashes, there is always an issue of collision. That wasn't a big enough issue for the needs of the company. 12.116.29.106 (talk) 13:31, 19 November 2024 (UTC)[reply]
@12.116.29.106: I was aware of that approach, which is why I said that not supporting graphic images in a file merely made it more difficult to notarize. While respecting everyone's privacy, can you describe why it was necessary to indirectly notarize computer code and the other files? Jc3s5h (talk) 22:50, 19 November 2024 (UTC)[reply]
It is one thing to create a sequence of bytes matching a given hash. It is another thing to do this such that the sequence of bytes is not gibberish, and not even just something meaningful, but something meaningful that conveys an intended message.  --Lambiam 13:41, 20 November 2024 (UTC)[reply]
Why did we have to notarize computer code? Darl McBride went a bit crazy and claimed that his company had a copyright on all computer code. In court, he was required to state exactly what code other companies had that violated the copyright. He said all of it. It went back and forth and at one point the company I worked for had to send his company source code. We had to notarize what we sent and it was important to do it in a way that our lawyers could tell the court if Darl's company altered the code to make it look more like theirs, which they did. Then, luckily, I retired before it got real silly. Basically, if you are mixing law and programming together, you have to find a legal way to protect the programming. 12.116.29.106 (talk) 13:29, 26 November 2024 (UTC)[reply]

November 19

[edit]

Windows.old

[edit]

My desktop computer is a Dell Inspiron 3910 running Windows 11, and has 12 GB of RAM and 216 GB of solid-state storage as the C: drive. I recently moved some folders that I don't need to a removable disk. I also have a great monster external drive with 4 TB that I use for backup. As of 9 November 2024, a folder called Windows.old has appeared on my C: drive. It occupies about 27 GB on my C: drive, and now I am getting red warnings in the This PC screen for low remaining disk storage, but not actually running out of disk storage. It appears to contain copies of some of the contents of the Windows, Program Files, and Program Files (x86) folders. My first question is why it has appeared on my computer. I didn't do anything intentionally that I thought would create it. It is possible that the cat did something random. She's a cat, and sometimes walks on the keyboard. My second question is whether I need it, or whether I can safely move it to the monster. Is anyone familiar with the creation of this backup folder? Can I move it to a different device? Robert McClenon (talk) 06:34, 19 November 2024 (UTC)[reply]

This file appears when a Windows upgrade is performed. I've an idea it is used in a system restore. If everything is running fine, you can delete it by running a disk cleanup and ticking clean up system files. It is probably worth having a look through the folder before you delete it. TrogWoolley (talk) 07:34, 19 November 2024 (UTC)[reply]
Your computer likely got the Windows 11, version 24H2 update. The system files from the old update were moved in Windows.old to allow you to temporarily roll back if there's any problem. You can try running a disk cleanup (I remember Windows once asking me to delete this folder because of free space shortage), or it will be eventually removed on its own. You definitely don't have to back it up in an external storage medium. Ian P. Tetriss (talk) 00:57, 20 November 2024 (UTC)[reply]
User:Ian P. Tetriss, User:TrogWoolley - Thank you for the explanation. I had already backed up the Windows.old folder to an external device and then had disk cleanup delete it before I read your advice that it is not necessary to back it up. So I will move it from the disk drive to the 4 TB drive. I will also check to see if my laptop computer has a Windows.old file, and do disk cleanup on it. Robert McClenon (talk) 04:24, 20 November 2024 (UTC)[reply]
My laptop computer does not have a Windows.old file. It is old, older than my desktop computer, and so may not be one of the computers that Microsoft has updated to 24H2. Robert McClenon (talk) 04:34, 20 November 2024 (UTC)[reply]
My laptop computer now does have a Windows.old file, after it went through a long upgrade on Sunday evening. Its C: drive isn't as filled up as my desktop computer, so I will probably just leave that folder alone. Robert McClenon (talk) 00:07, 27 November 2024 (UTC)[reply]

November 21

[edit]

AI and the 2024 US election

[edit]
Resolved

My question is, how much did rudimentary "AI" (or what we like to refer to as AI) contribute to the outcome of the 2024 US election? I haven't seen much written about this, but if there are articles on this subject, please point me to them. Viriditas (talk) 09:21, 21 November 2024 (UTC)[reply]

There's an amusing ref desk phenomenon where a questioner accidentally formulates a good search query to use for the question's title. Here's my first two results: The AI-generated hell of the 2024 election , AI's Underwhelming Impact on the 2024 Elections. Opinions differ, evidently.  Card Zero  (talk) 09:44, 21 November 2024 (UTC)[reply]
Ackshually, that's exactly what I was looking for. Are you a mind reader? Viriditas (talk) 10:05, 21 November 2024 (UTC)[reply]
There are people (around 5–10%) who can hear what others are thinking. They're certainly not angels, but have you seen Wings of Desire? MinorProphet (talk) 19:46, 28 November 2024 (UTC)[reply]

November 23

[edit]

ClipChamp.exe and Disk Backup

[edit]

If I am backing up my C: drive (which I still think of as a hard disk, although it is a solid-state device) to an external medium (a 4TB removable device), I get various error messages that I have to Skip. One of them says that it is unable to copy Clipchamp.exe, which has size 0 bytes. I can Try Again or Skip or Cancel. Only Skip makes any sense. I have looked up what Clipchamp is, and I see that it is a Microsoft video editor tool, but that it has a web-based architecture, so that the code resides on a web site and is loaded temporarily into my computer to run the application. My first question is: If I am doing the backup in the usual fashion, by dragging a folder from C: to a folder window on F: (the removable storage device), is there any way that I can tell Windows 11 in advance to Skip errors rather than prompting me for action? Second, is there any alternate easy-to-do way to copy folders from C: to a folder on F: other than dragging and dropping that allows me to specify action on errors? Third, I see that Clipchamp, and some of the other stuff that gives me errors on backup up, are in the Users folder. Do the error messages that I am getting mean that copying the Users folder is problematic, and that I should be backing up some of its subfolders instead? Robert McClenon (talk) 04:00, 23 November 2024 (UTC)[reply]

I found Robocopy, if you want a copy utility with sophisticated options. (Does figuring out a new tool save effort? Debatable.) This is built-in to Windows 11, I tried it out myself just now.  Card Zero  (talk) 04:54, 23 November 2024 (UTC)[reply]

November 24

[edit]

Telegram account deletion timing

[edit]

On the Internet I find many guides that explain how to delete a Telegram account but in none of these is it written after how long it is actually closed. Does anyone know the answer? 2.194.247.141 (talk) 21:24, 24 November 2024 (UTC)[reply]

Have you trid? Do you have some reason to suppose it is not closed immediately? Most online accounts are. Shantavira|feed me 09:34, 25 November 2024 (UTC)[reply]

It depends. I think for a lot of more sophisticated services nowadays, deletion isn't actually instant and you generally have X number of days to change your mind. E.g. Facebook is 30 days, Microsoft is 30 or 60 days [1]. Google seems to have a window too [2] but I didn't find what it is also I think it's 20 days for their business service Workspaces [3]. Discord is possibly 14-30 days [4].

I think these arise out of fact that traditionally, deleting your account on such services may not do much. Often it just marks stuff as deleted and hides it from the front end but the data is all still there and especially in the backups such services have to try and ensure they don't lose data. So depending on whether the service was willing it was potentially possible to get your account back or at least partially back months or years later. Laws and regulations especially from the EU (GDPR) has meant this isn't so accepted any more and so such services do actually have to try and delete your data now after some time.

But with password leaks etc, compromised accounts are common and there are limited additional verification steps that might be taken depending on the details held. So if they start to remove your data instantly people are going to get annoyed when some troll or whatever compromises their account and deletes all their data. (I mean even Jim Browning had his Youtube channel deleted.) And I'm sure plenty of people just delete their accounts when there is something going on in their lives then later regret it, especially common I'm sure for anything with a social aspect like Facebook, Discord and yes Telegram. So they set a defined recovery window before they actually start to delete your data.

I didn't find anything for Telegram but Telegram is known for operating fairly outside the laws of the EU. What I did find is suggestions that the way Telegram works mean deleting your account doesn't mean the data disappears, in fact it will still be visible in the accounts of anyone you chatted with etc unless you delete it first where possible. I'm not sure what happens for stuff in your saved messages but I wouldn't be surprised if it's all still somewhere, although this doesn't mean Telegram will allow you to recover your account.

That said this suggests Discord is possibly the same. Potentially because they interpret the GDPR as meaning they've complied if they remove any connections between your account and your real life identity in their details. And if you posted in some chat "Hi I'm @deleteddiscorduser12345 . I'm John Michael Smith, born on 21 September 1970 at the Flint Public hospital, raised in Flint with my mum Jane and dad George. I attended the Flint Grade School, Flint Middle School and Flint High School then went to MIT studying Computer Science from 1988-1992. Now I'm of Detroit, Michigan and live in 1000 West Street with my 2 cats Snowy and Larry." it's tough cookies I guess. (Of course such services always have a problem when it's someone else who posted it, or if they replied in such a way they they copied part of your message.)

Nil Einne (talk) 13:20, 25 November 2024 (UTC)[reply]


November 26

[edit]

Is anyone here a Reddit moderator or do any of you know well why the automod is glitching out badly on me? It keeps autoremoving my innocent posts no matter what subreddits I post in.

[edit]

Please check out my account; what is it about my account that causes the automod to malfunction and keep autoremoving my posts?: https://www.reddit.com/user/AWrride/

My post karma is in the thousands and comment karma is in the hundreds so they're not getting removed for low karma, so why are they getting removed then? How do I stop getting bothered by the automod like this?

Also, most pleas in the subreddits' ModMails go unanswered. It's as if the mods don't read my pleas.

So could someone here please help me resolve the glitching automod problem so that I can get their automoderator to please leave me alone? Thanks. --2600:100A:B030:9399:A4B7:A7C4:A534:6D53 (talk) 17:36, 26 November 2024 (UTC)[reply]

USB mouse stops working after running Beautiful Soup from bs4 with requests and lxml in PyCharm

[edit]

starts working again after I put the laptop in sleep mode and sign back in, any idea what is causing this? Therapyisgood (talk) 21:33, 26 November 2024 (UTC)[reply]


November 28

[edit]

Linking several WhatsApp numbers to a Facebook business account.

[edit]

It is possible to link several WhatsApp phone numbers to a Facebook business account. One of them has to be set as the primary number: It will be contacted when someone writes a WhatsApp message to the business account. But what is the use of the other linked WhatsApp numbers? Do they just serve as spares, or do they have an actual, immediate use? --KnightMove (talk) 13:40, 28 November 2024 (UTC)[reply]

Most commonly, they are used for different departments, different countries/target markets, or for specific campaigns being run by the company. "One of them has to be set as the primary number". Not really. One can be listed as the primary PER Facebook page, but a business account can have hundreds of FB pages (and instagram accounts, and as you noticed WhatsApp numbers). —TheDJ (talkcontribs) 21:37, 28 November 2024 (UTC)[reply]
Ok, thanks. But we agree that one needs to be set as the primary number per page, and others can still be linked to that same page. Do they play any active role? If yes, which one? --KnightMove (talk) 09:07, 29 November 2024 (UTC)[reply]


November 30

[edit]