Jump to content

Wikipedia:Reference desk/Archives/Computing/2017 October 15

From Wikipedia, the free encyclopedia
Computing desk
< October 14 << Sep | October | Nov >> October 16 >
Welcome to the Wikipedia Computing Reference Desk Archives
The page you are currently viewing is an archive page. While you can leave answers for any questions shown below, please ask new questions on one of the current reference desk pages.


October 15[edit]

How to download all <10 kb images (icons) from a website (website, not webpage)[edit]

Is there a way to use a browser extension such as Firefox's DownThemAll or similar to download all the icons from a website such as http://hitfilm.com/reference/hitfilm-express-2017/

Settings to limit file size or image resolution are easy to come by but figuring out how to make the extension spider its way around the folder structure to different webpages is not easy and all the help I can find on Google pertains to the simpler scenario of downloading from a single webpage rather than many webpages in an online directory (incidentally, is it correct to refer to "hitfilm-express-2017" in the above url as an online directory/folder?).

This is an example image

I'm fairly sure HTTrack can do this if you fiddle with the settings. WegianWarrior (talk) 10:18, 15 October 2017 (UTC)[reply]
  • This may be of interest. Short version: you usually cannot, because you have no way to know all valid subpages of a domain. What you can do is crawl the pages (i.e. follow the links from the home page, and the links from there etc.) and pull the images; this may be enough for your purposes. TigraanClick here to contact me 11:12, 16 October 2017 (UTC)[reply]

Google Home[edit]

Why cant it be installed it on my samsung phone? I downloaded it but it dont work. Whats wrong?--213.205.252.246 (talk) 01:10, 15 October 2017 (UTC)[reply]

The Google Play app page[1] should tell you if it's compatible with your device.
If it is, and it still won't install, my guess would be that you don't have enough space to install it. ApLundell (talk) 16:32, 16 October 2017 (UTC)[reply]

Difference between some Adobe apps[edit]

Can someone help me in knowing the difference between - Adobe Muse, Adobe Dreamweaver, Adobe Portfolio and Adobe Behance?

Thank you 180.151.239.13 (talk) 08:29, 15 October 2017 (UTC)[reply]

Have you read our articles on Adobe Muse, Adobe Dreamweaver, Adobe Portfolio and Adobe Behance?--Shantavira|feed me 09:14, 15 October 2017 (UTC)[reply]

Visual Basic's normal behavior?[edit]

I'm using Windows 7 with Visual Studio 6. When I tried a simplest problem to multiply 8778 with 9, the program told me it's "overflow". Bug of some sort or programming error on my part? The actual code is at https://imgur.com/KAa6rw4 Thanks 27.255.221.58 (talk) 19:59, 15 October 2017 (UTC)[reply]

Try Print 8778.0 * 9.0
It's likely that VB is giving your values a default type of a short integer, which will of course overflow. If you make them look like floats, it will then treat them as floats and avoid the overflow. Another way would be to multiply variables of a defined (and adequately large) type, not numeric literals. Andy Dingley (talk) 11:50, 15 October 2017 (UTC)[reply]
Thanks for reply, man. Since I am a neophyte, kindly tell me what numeric literals is and how to go about it. I mean kindly be a bit more explanatory, I know it will take some of your precious time, but please oblige. 150.107.152.46 (talk) 12:00, 15 October 2017 (UTC)[reply]
"8778" is a numeric literal
Dim a as Long = 8778
Is assigning its value to a variable instead. When you do that, you get to tell it what type of variable it is.
I am probably required by law to tell you that VB is an obsolete language, was never a good teaching language, and other and better languages are available for free. Python and Processing for just some. Andy Dingley (talk) 12:49, 15 October 2017 (UTC)[reply]
That's VB6? I don't think Print is what you want. Maybe this article will help. -- zzuuzz (talk) 12:20, 15 October 2017 (UTC)[reply]
See Integer_(computer_science)#Short_integer for a discussion on the limits. StuRat (talk) 22:20, 15 October 2017 (UTC)[reply]
Shouldn't the VB parser treat them as floats, though, since the OP included the radix point? I thought that was an accepted convention in programming semantics. OldTimeNESter (talk) 03:00, 16 October 2017 (UTC)[reply]
AFAIR, that's VB's behaviour. But that's not what the OP did (and it's far from obvious that such a minor change would have such an effect!), it was the first answer. Andy Dingley (talk) 11:00, 16 October 2017 (UTC)[reply]

Disk in USB floppy drive showing up as USB drive after power failure?[edit]

About an hour ago, I was imaging a set of MS-DOS 6.22 floppy disks on my Windows 7 desktop using VirtualBox (the procedure I was using was: MS-DOS 6.22 VM - pure coincidence, by the way; I use that VM for all my floppy imaging and floppy-image editing - with dual virtual floppy drives, assign the host A: drive [a USB floppy drive, in this case] to the first drive, insert an image of a blank floppy in the second, then use the VM, which sees both of these as physical floppy drives, to copy the files from the actual physical drive to the image. I'd used this setup to copy and edit preexisting floppy images before, but this was my first time using it to image floppies; as an aside, having previously worked purely with floppy images rather than the physical things, I'd forgotten how mind-numbingly slow physical floppy drives are) when the fuse powering the outlets in my bedroom blew. When I got the desktop back up and running (it took a very long time to start up compared to normal, but, then again, somehow I doubt that having its juice suddenly cut off counts as "normal"; thank goodness for NTFS journalling that it was able to start up on its own without even needing to use Startup Repair or something more drastic!), I went back into VirtualBox and fired up the VM to check the damage. Fortunately, the VM was fine (once, a VM - also MS-DOS 6.22, coincidentally - froze and I had to kill it in Task Manager, after which I was unable to ever boot said VM again and had to delete and replace it), but when I tried to access the VM's A: drive to check if the files on the floppy that had been in the drive at the time of the power loss had been corrupted or anything (fortunately, the copy was finished by the time the fuse blew, and the image was both complete and undamaged), I kept getting Abort, Retry, Fail? errors. Every single time. I ejected and reinserted the floppy to see if that would help.

At which point something very odd happened.

The floppy was showing up as a 1.38-MiB USB drive with the drive letter K:!

Naturally curious (and possibly quite stupid as well - please feel free to let me know if that was the case for what I did), I hit the "Open folder to view files" button, at which point the files on the floppy showed up. Going into "Computer" in Windows Explorer, I saw the reason the VM couldn't see the disk; the A: drive had apparently disappeared from the host system. At this point, after swearing at the computer (which did not resolve the problem, although it did make me feel a bit better), I ejected the floppy again, unplugged the floppy drive, and plugged it back in. Voilà - "Floppy Disk Drive (A:)" showed up once again in Windows Explorer, and this time, when I (re-re-)inserted the disk, the VM saw it just fine. No permanent damage to the drive (either physical or virtual), the floppy, or the VM; it looks like the only lasting damage was that the sudden power loss corrupted my Kerbal Space Program savefile on the host machine, forcing me to copy in the data from the most recent quicksave file. But does anyone have any idea why the floppy drive disappeared from the system and said system read a floppy disk as a USB drive? Whoop whoop pull up Bitching Betty | Averted crashes 14:48, 15 October 2017 (UTC)[reply]

Have you checked that usb data cable is ok? And usb connectors are ok? How USB is floppy powered? If from the usb plug then the power may be insufficient? Ruslik_Zero 19:39, 15 October 2017 (UTC)[reply]
Well, it works perfectly again now, and I've never had any other issues with it... Whoop whoop pull up Bitching Betty | Averted crashes 23:39, 15 October 2017 (UTC)[reply]
You didn't mention whether you disconnected the floppy drive before powering up again after the power cut. If you left it connected and then booted up, Windows may have read it as a USB drive. I also have a floppy drive, and always take care to connect it to the USB port after the computer has been up and running for some time. Akld guy (talk) 21:18, 16 October 2017 (UTC)[reply]
Ah, that must have been what happened. I'll be sure to disconnect it before turning the computer back on in the future. Thanx!  :-) Whoop whoop pull up Bitching Betty | Averted crashes 18:55, 18 October 2017 (UTC)[reply]
Yes, I think what happens is that, during bootup, Windows knows that something is connected, so it reports that a drive is present. It cannot load the drivers for the floppy drive. That can only happen if Windows is already running when the drive is connected. Akld guy (talk) 21:28, 18 October 2017 (UTC)[reply]
But then how come it detects that it's a floppy drive just fine if the computer is being booted up after a clean shutdown??? Whoop whoop pull up Bitching Betty | Averted crashes 22:01, 18 October 2017 (UTC)[reply]
A clean shutdown results in the computer remembering the status of each port. It doesn't get the chance to do that when there's an unexpected loss of power. Akld guy (talk) 04:40, 19 October 2017 (UTC)[reply]