Wikipedia:Reference desk/Archives/Computing/2011 October 31

From Wikipedia, the free encyclopedia
Computing desk
< October 30 << Sep | October | Nov >> November 1 >
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 31[edit]

Video out of sync with audio during streaming video[edit]

Occasionally, when viewing videos on various sites the audio and video doesn't quite sync up. I've never had the problem with YouTube but have many times with smaller sites. What causes this? Is it the site? The quality of the recording? Or my connection? (Or all three?) 129.33.1.37 (talk) 09:26, 31 October 2011 (UTC)[reply]

Could be any of those things. If the player is Adobe Flash (as opposed to e.g. Windows Media Player), check that your Flash player is up to date; adobe.com has a download link on the front page. In case the network is slow, try pausing the video for a minute, then resume play. This should let the player buffer some of the data stream. If you have a video that is consistently out of sync, you could post a link here so we can see if it does that for everyone. 88.112.59.31 (talk) 11:07, 31 October 2011 (UTC)[reply]
Hrm, thanks. I don't have an example at hand. 129.33.1.37 (talk) 09:38, 2 November 2011 (UTC)[reply]

Page file[edit]

what is page file? why should i change the size of the page file — Preceding unsigned comment added by 41.210.30.113 (talk) 09:31, 31 October 2011 (UTC)[reply]

See page file. 88.112.59.31 (talk) 10:58, 31 October 2011 (UTC)[reply]
You can increase the size of the Pagefile in order to increase the amount of virtual memory that your computer uses. When it runs out of real memory, it will start to use the page file. Increasing the size of the page file typically has diminishing returns. Adding additional real memory is best if possible. TheGrimme (talk) 14:04, 31 October 2011 (UTC)[reply]

Split cell in table[edit]

what is the easiest way to split a cell so that it becomes a above b in html ? Kittybrewster 11:56, 31 October 2011 (UTC)[reply]

I think you are looking for the colspan attribute.
<table>
    <tr>
        <td>cell a</td><td>cell b</td>
    </tr>
    <tr>
        <td colspan="2">cell c spans both</td>
    </tr>
</table>
TheGrimme (talk) 14:01, 31 October 2011 (UTC)[reply]

The "easiest" way that also remains sane is to give every other cell in the row a rowspan="2" and then append a new row with a single cell, for the "b" cell.
So, this...

<tr>
	<td></td>
	<td></td>
	<td></td>
</tr>

...becomes this...

<tr>
	<td rowspan="2"></td>
	<td>a</td>
	<td rowspan="2"></td>
</tr>
<tr>
	<td>b</td>
</tr>

¦ Reisio (talk) 14:08, 31 October 2011 (UTC)[reply]

Molex cable connector[edit]

This end connects to the sustain unit
This end connected to the keyboard – Molex Mini Fit plug

At work we've got a Yamaha CLP311 Clavinova piano. The sustain pedal is connected to the main unit using a cable, which has broken. The keyboard end of the cable has been ripped from the connector, which looks like a 6-pin Mini-Fit Molex connector (Farnell replacement part).

How can I go about repairing the cable? The cable itself will be fine with a bit of trimming and tidying, but do I need to crimp it somehow to fit a replacement connector? Do I have any other options – particularly those that could use soldering instead of crimping?

Thanks in advance. matt (talk) 14:23, 31 October 2011 (UTC)[reply]

Molex is designed as a crimp connection http://www.farnell.com/datasheets/328793.pdf - for the one off you should be able to use pliers. I'm not sure if you need to buy the "metal crimp pins" separately or if they come with the connector.
If the other plug is accessible (ie not screwed into a cabinet in a tricky way) then you can remove both connectors and do the connection between the wires in any way you like - eg solder, wire them to a DIN plug/socket. Using a screw or clip terminal block (eg http://www.amazon.co.uk/Piece-15A-Electrical-Terminal-Block/dp/B000QFCR3C) might be a simple option -you can get these cheap in any hardware store.Imgaril (talk) 16:25, 31 October 2011 (UTC)[reply]
First of all, that looks like a micro-fit, not mini-fit. Second, you -can- use pliers to crimp. It's definitely not ideal, but I have done it before. Make sure you get yourself an extractor tool (or more, because they break easily), and extra pins, because you will mess up. --Wirbelwindヴィルヴェルヴィント (talk) 20:30, 31 October 2011 (UTC)[reply]