You can slow the faster stream down to match the slower (e.g. throw away about half the bytes) and use Knuth's algorithm. You will only run at the speed of the slower, but that's the only way to assure full entropy when only one of the streams is unpredictable.

If you want to also account for cases where both streams are only partially unpredictable, you could use a hash instead. E.g. take the SHA-256 of the concatenation of 40 bytes from stream A and 17 bytes from stream B, then truncate that to 17 bytes. For example, if the high bit in each input byte was predictable, this hash would still be completely unpredictable, while the XOR would not.

However, hashing may lose some entropy in the case where stream A is completely predictable, but stream B completely unpredictable.

mixing two asymmetrical random number generator streams
I am using a custom page template for my portfolio.  The code is calling the correct number of posts per page but for some reason the pagination links won't show up :-S

My query

&lt;?php 
    $loop = new WP_Query(array('post_type' =&gt; 'portfolio', 'posts_per_page' =&gt; 2)); 
?&gt;
&lt;?php while ( $loop-&gt;have_posts() ) : $loop-&gt;the_post(); ?&gt;
&lt;?php   
    $custom = get_post_custom($post-&gt;ID);
    $screenshot_url = $custom["screenshot_url"][0];
    $website_url = $custom["website_url"][0];
?&gt;


The entire markup

&lt;?php
/*
Template Name: Portfolio
*/
?&gt;

&lt;?php get_header(); ?&gt;

&lt;div id="full_container"&gt;
&lt;div id="portfolio_content"&gt;
&lt;div id="portfolio_wrap"&gt;
&lt;div id="content"&gt;

    &lt;?php 
        $loop = new WP_Query(array('post_type' =&gt; 'portfolio', 'posts_per_page' =&gt; 2)); 
    ?&gt;
    &lt;?php while ( $loop-&gt;have_posts() ) : $loop-&gt;the_post(); ?&gt;
    &lt;?php   
        $custom = get_post_custom($post-&gt;ID);
        $screenshot_url = $custom["screenshot_url"][0];
        $website_url = $custom["website_url"][0];
    ?&gt;


&lt;a href="&lt;?php the_permalink() ?&gt;"&gt;

&lt;span class="img"&gt;
&lt;?php if ( has_post_thumbnail() ) { the_post_thumbnail( 'thmb-portfolio' ); } ?&gt;

&lt;span class="under"&gt;
&lt;!-- Excerpt title --&gt;
&lt;span class="title"&gt;&lt;?php the_title(); ?&gt;&lt;/span&gt;

&lt;!-- Excerpt description --&gt;
&lt;span class="desc"&gt;
    &lt;?php my_excerpt('short'); ?&gt;
&lt;/span&gt;
&lt;/span&gt;
&lt;/span&gt;
&lt;/a&gt;


        &lt;?php endwhile; ?&gt;  

&lt;!-- Next/Previous Posts --&gt;
&lt;?php if (function_exists("pagination")) {
    pagination($additional_loop-&gt;max_num_pages);
} ?&gt;

&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;

&lt;?php get_footer(); ?&gt;

