Wikipedia:Reference desk/Archives/Computing/2012 September 12

{{#ifeq:{{PAGENAME}}|Special:Undelete| |{{#if:|

}} {{#ifeq:{{NAMESPACE}}|Wikipedia|{{#switch:{{NAMESPACE}}|= |
}}|{{error:not substituted|Archive header}}
}}}} {{#if:|
}}
width = "100%"
colspan="3" align="center" | Computing desk
width="20%" align="left" | < September 11

! width="25%" align="center"|<< Aug | September | Oct >>

! width="20%" align="right" |{{#ifexist:Wikipedia:Reference desk/Archives/Computing/2012 September 13|September 13|Current desk}} >

align=center width=95% style="background: #FFFFFF; border: 1px solid #003EBA;" cellpadding="8" cellspacing="0"
style="background: #5D7CBA; text-align: center; font-family:Arial; color:#FFFFFF;" | Welcome to the Wikipedia Computing Reference Desk Archives
The page you are currently viewing is {{#ifexist:Wikipedia:Reference desk/Archives/Computing/2012 September 22|an archive page|a transcluded archive page}}. While you can leave answers for any questions shown below, please ask new questions on one of the current reference desk pages.

__TOC__

= September 12 =

Google is being rude to me

Most of the time, when I do a Google image search, and pick on an image, it takes me to a page where I can choose to see the picture alone, go to the web page for that image, etc. Here's an example: [http://www.google.com/imgres?um=1&hl=en&safe=off&client=firefox-a&sa=N&rls=org.mozilla:en-US:official&biw=844&bih=571&tbm=isch&tbnid=bQwujy-qznSjXM:&imgrefurl=http://eatingscd.com/2008/10/01/yoghurt-dimming/&docid=JmZ9e9_LU5rWTM&imgurl=http://eatingscd.files.wordpress.com/2008/09/dimmer.jpg&w=800&h=600&ei=0SlQUK6kIsjgyQGd0YCYCg&zoom=1&iact=hc&vpx=86&vpy=138&dur=118&hovh=194&hovw=259&tx=153&ty=83&sig=116268661520241892960&page=1&tbnh=112&tbnw=150&start=0&ndsp=15&ved=1t:429,r:0,s:0,i:76].

If I don't want to do anything else with it, I can always hit the back button.

But, occasionally, I go to an image preview and it seems to hijack my browser, taking me immediately to the web page, like this one: [http://www.google.com/imgres?um=1&hl=en&safe=off&client=firefox-a&sa=N&rls=org.mozilla:en-US:official&biw=733&bih=571&tbm=isch&tbnid=wjSUOVXoey55yM:&imgrefurl=http://www.octopusoo.com/control-home-lights-via-internet&docid=A8CToBOqJOOmKM&imgurl=http://cache.smarthome.com/images/2856d2.jpg&w=275&h=275&ei=ByRQUJWKK-i5ywH1poHIBQ&zoom=1&iact=hc&vpx=214&vpy=58&dur=174&hovh=220&hovw=220&tx=123&ty=129&sig=116268661520241892960&page=4&tbnh=123&tbnw=128&start=48&ndsp=17&ved=1t:429,r:14,s:48,i:280.]

The worst part is, I can't just hit the back button, or it goes right back to the same web site. If I hit the back button many times really fast, sometimes I can go back, but maybe too far.

So, what's going on here and how do I stop this behavior ? Does it do this for everyone else, too ? I'm on windows XP SP3 using Firefox 15.0.1. StuRat (talk) 06:35, 12 September 2012 (UTC)

:AFAIK it's just poor website design of that particular page, nothing to do with Google. Best way to go back is to right click the back button and select the page you want from the drop down list. Even better, go into your Google search settings and check the box that says "Open each selected result in a new browser window" then you can just close the window when your done.--Shantavira|feed me 08:11, 12 September 2012 (UTC)

::Those are both good hints, thanks. But is there any way to stop it from doing this in the first place ? StuRat (talk) 08:54, 12 September 2012 (UTC)

:::The way I have always understood it is that the page itself has code designed to "escape" from Google, implemented in Javascript. An extension like NoScript will stop it, but I'm not sure if you can configure its filters to apply to just the situation of previewed pages in Google image search. 209.131.76.183 (talk) 11:39, 12 September 2012 (UTC)

::::I don't know if this is relevant, but the name of the webpage gives something away: ... The framebuster bit suggests the code is called from the url itself, or something like that. I don't know if that helps, and maybe someone can enlighten me as well about what exactly a url can control. Btw, I tried pasting the whole site name, and got spam blocked, because the site is on Wikipedia's blacklist IBE (talk) 04:31, 14 September 2012 (UTC)

:::::Yea, I found a way around that in my 2nd link. Wikipedia spam-blocks "squidoo", so change it to "octopusoo", which apparently is a mirror site. :-) StuRat (talk) 04:40, 14 September 2012 (UTC)

:[http://www.trans4mind.com/personal_development/JavaScript/jsFrames.htm Code and explanation] (and claim of being the original creator) . Ssscienccce (talk) 07:34, 14 September 2012 (UTC)

::Thanks. Now how do I prevent this from working on my PC ? StuRat (talk) 18:04, 14 September 2012 (UTC)

Device Names in a Computer with 48 HDDs

In a computer with 48 SAS HDDs, the device names for the first 26 HDDs would be /dev/sda to /dev/sdz. What would be the device names for the remaining 22 HDDs? Now I don't actually have a computer with four dozen HDDs, nor am I planning to buy or build such a computer (presuming such a computer even exists), but I'm very curious to know. (Presuming that all the 48 HDDs are directly connected via HBAs, and there is no hardware RAID.) 08:04, 12 September 2012 (UTC)

:Can you actually connect 48 hard drives ? I doubt that any normal PC has the ports, power supply, etc., to support anywhere near that many. I suspect you'd need to go to network attached storage at some point. StuRat (talk) 08:10, 12 September 2012 (UTC)

::I know Dell sells rackmount computers with 24 HDDs, and [http://www.supermicro.com.tw/products/chassis/4U/847/SC847E26-R1K28LP.cfm Supermicro has a chassis for 36 HDDs], but I've never actually come across a computer with 48 HDDs, but my question still stands. Although I think 36 HDDs is probably the upper limit for a single computer, as no PSU could provide enough power for more than 36 HDDs - the chassis I've linked above has two PSUs because one probably isn't enough to provide enough power for 36 HDDs. 27.104.34.139 (talk) 08:40, 12 September 2012 (UTC)

: Beyond the standard few, device nodes are created by whatever thing is managing the large scale storage. The names typically follow the pattern: sda, sdb, sdc, ..., sdz, sdaa, sdab, sdac etc. [http://publib.boulder.ibm.com/infocenter/dsichelp/ds8000ic/index.jsp?topic=%2Fcom.ibm.storage.ssic.help.doc%2Ff2c_linuxdevnaming_2hsag8.html ref]. What the kernel cares about is device nodes, and the storage manager would have to create nodes in a fashion (with mknod/makedev) that the kernel and its block device drivers will recognise. For basic SDx, the major number is 8, and you have 256 entries for minor, but as that document shows, it reserves 16 minors for each physical SDx (for its partitions, SDx1, SDx2, etc.) and so has to use multiple majors to handle >16 physical disks. It's up to whatever enterprise-y storage manager and its drivers (for e.g. the FC fabric HBAs) to agree between themselves what majors and minors they'd use. -- Finlay McWalterTalk 09:56, 12 September 2012 (UTC)

:: By the kernel's standard counting, the system can just keep adding letters forever - the relevant piece of code is [http://lxr.linux.no/#linux+v3.5.3/drivers/scsi/sd.c#L2537 here]. But I think we still have 8 bits each for major and minor, so you won't get very far with actual dev nodes. -- Finlay McWalterTalk 10:51, 12 September 2012 (UTC)

Improving WINE compatibility

If a program does not run well under WINE, what can you do to improve it's compatibility? I'd like to run PDF-XChange Viewer, which is said to work well for some people, but I crashed with some specific pdf files or some commands (like find). OsmanRF34 (talk) 13:16, 12 September 2012 (UTC)

: Determine which DLL seems to be the source of the crash. If you have access to do it legally, you can replace the WINE project's version of the DLL with one from an actual Windows system. If you know enough about software development, you could figure out which specific API call is causing the problem and try to debug the WINE source for it, improving the project for everyone. Comments on the winehq entry for PDF-XChange Viewer seem to imply that you may have luck running the portable version of it. 209.131.76.183 (talk) 15:02, 12 September 2012 (UTC)

::You should consider the possibility that it might crash on those files in Windows as well. I'm not asserting that it does, but if it does, trying to fix the problem in WINE would be a waste of time. Looie496 (talk) 18:12, 12 September 2012 (UTC)

Look at [http://appdb.winehq.org/objectManager.php?sClass=application&iId=5549 the appdb.winehq.org page on the application], note the application (viewer) and Wine versions. For more problematic applications (that are also somewhat popular), there are also often detailed instructions for making things work. ¦ Reisio (talk) 01:01, 13 September 2012 (UTC)