<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>PCR&#039;s notepad</title>
	<atom:link href="http://notepad.patheticcockroach.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://notepad.patheticcockroach.com</link>
	<description>The area in patheticcockroach.com where the EEG isn&#039;t isoelectric</description>
	<lastBuildDate>Sun, 19 May 2013 09:14:35 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
		<item>
		<title>More drivers for the Schenker XMG P702 notebook</title>
		<link>http://notepad.patheticcockroach.com/3587/more-drivers-for-the-schenker-xmg-p702-notebook/</link>
		<comments>http://notepad.patheticcockroach.com/3587/more-drivers-for-the-schenker-xmg-p702-notebook/#comments</comments>
		<pubDate>Thu, 16 May 2013 16:55:14 +0000</pubDate>
		<dc:creator>David Dernoncourt</dc:creator>
				<category><![CDATA[drivers]]></category>
		<category><![CDATA[Schenker XMG P702]]></category>

		<guid isPermaLink="false">http://notepad.patheticcockroach.com/?p=3587</guid>
		<description><![CDATA[A few months ago, I bought a Schenker XMG P702 laptop, which I chose because of the highly (for a laptop, at least) configurable build. They also provide a nice download area for drivers and tools, at least if a bit of German here and there doesn&#8217;t scare you. But some of the downloads are [...]]]></description>
				<content:encoded><![CDATA[<p>A few months ago, I bought a Schenker <a href="http://www.mysn.eu/shop/xmg-p702.html">XMG P702</a> laptop, which I chose because of the highly (for a laptop, at least) configurable build. They also provide a nice <a href="https://www.mysn.de/secure/userarea/download.asp">download area</a> for drivers and tools, at least if a bit of German here and there doesn&#8217;t scare you. But some of the downloads are not updated very regularly, so here are some links to manfacturer-provided downloads</p>
<ul>
<li><a href="http://downloadcenter.intel.com/Detail_Desc.aspx?DwnldID=20775">Intel® Chipset Device Software</a> formerly Chipset Software Installation Utility, current version 9.4.0.1017.</li>
<li><a href="http://downloadcenter.intel.com/Detail_Desc.aspx?DwnldID=21129">USB 3.0 Driver: Intel® USB 3.0 eXtensible Host Controller Driver</a>, current version 1.0.7.248.</li>
<li><a href="http://downloadcenter.intel.com/Detail_Desc.aspx?agr=Y&#038;DwnldID=22375&#038;lang=eng">Intel® HD Graphics Driver for Windows 7 and Windows 8 64</a>, current version 15.28.12.64.2932.</li>
<li><a href="http://www.synaptics.com/resources/drivers">Synaptics TouchPad drivers</a>, current version 16.3.8.8</li>
</ul>
<p>Also links to ATI Mobility Radeon drivers obtainer via URL manipulation (last time I tried, the AMD downloader wouldn&#8217;t let me download the drivers, claiming they don&#8217;t support my laptop, although they do):<br />
<a href="http://www2.ati.com/DriverS/mobile/13-1_mobility_vista_win7_win8_64_dd_ccc_whql.exe">13-1_mobility_vista_win7_win8_64_dd_ccc_whql.exe (Mobility Catalyst 13.1 for Windows Vista/7/8</a><br />
<a href="http://www2.ati.com/DriverS/mobile/13-4_mobility_vista_win7_win8_64_dd_ccc_whql.exe">13-4_mobility_vista_win7_win8_64_dd_ccc_whql.exe (Mobility Catalyst 13.4 for Windows Vista/7/8</a> (NB: version 13.2 and 13.3 never left beta and those I tried did NOT work with the 7970M)</p>
<p>Last but not least, if you want to update your BIOS, you&#8217;ll need to create a DOS boot USB stick. Fortunately, Schenker provides a package (with English instructions, don&#8217;t worry <img src='http://notepad.patheticcockroach.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> ) to create such a stick: on the <a href="https://www.mysn.de/secure/userarea/download.asp">download page</a> go to _Sonstiges &rarr; Tools &rarr; Bootstick.zip. As usual, you&#8217;ll need an empty USB key to use it (it&#8217;s all pretty small, so any very old 32+ MiB key should do the trick).<br />
I flashed my BIOS recently using this tool (and the BIOS files provided in the appropriate P702 folder). Make sure you do read all the instructions and follow them to the letter. Compared to all the BIOS flashes I had performed before, this one is <strong>much, much weirder</strong>, involving a lot of (automated/forced) reboots and a tool messing up the CPU fan settings (I think it ran at 100% during the whole procedure &#8211; only at the last reboot it went back to normal). Plan about 15 minutes for all the operations (that&#8217;s about the time it took me from when I left my Windows desktop to when I was able to load it again).</p>
]]></content:encoded>
			<wfw:commentRss>http://notepad.patheticcockroach.com/3587/more-drivers-for-the-schenker-xmg-p702-notebook/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>R: how to sort a vector according to another</title>
		<link>http://notepad.patheticcockroach.com/3717/r-how-to-sort-a-vector-according-to-another/</link>
		<comments>http://notepad.patheticcockroach.com/3717/r-how-to-sort-a-vector-according-to-another/#comments</comments>
		<pubDate>Mon, 06 May 2013 17:04:05 +0000</pubDate>
		<dc:creator>David Dernoncourt</dc:creator>
				<category><![CDATA[R (R-project)]]></category>

		<guid isPermaLink="false">http://notepad.patheticcockroach.com/?p=3717</guid>
		<description><![CDATA[As usual, it&#8217;s always what seems to be the simplest operations which turn out the hardest to implement in R (although usually once you&#8217;ve figured it out it&#8217;s a one-liner or something ). Sorting a vector based on the values of another vector is no exception to this. There is a nice post on stackoverflow [...]]]></description>
				<content:encoded><![CDATA[<p>As usual, it&#8217;s always what seems to be the simplest operations which turn out the hardest to implement in R (although usually once you&#8217;ve figured it out it&#8217;s a one-liner or something <img src='http://notepad.patheticcockroach.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> ). Sorting a vector based on the values of another vector is no exception to this.<br />
There is a nice post <a href="http://stackoverflow.com/q/1568511/395857">on stackoverflow</a> <!-- http://stackoverflow.com/questions/1568511/how-do-i-sort-one-vector-based-on-values-of-another -->on how sort a vector so that values are reorganized in a specified order (that order being specified via another vector), here I just wanted to sort vector x according to the order of values in vector y. It took a bit of thinking, but once it&#8217;s been sorted out I think the code is pretty self-explanatory (and if it&#8217;s not, just run it step by step to make it easier):</p>
<p><code>&gt; set.seed(1);<br />
&gt; x=runif(10);<br />
&gt; x;<br />
 [1] 0.26550866 0.37212390 0.57285336 0.90820779 0.20168193 0.89838968 0.94467527 0.66079779 0.62911404 0.06178627<br />
&gt; y=(10:1)*2;<br />
&gt; y;<br />
 [1] 20 18 16 14 12 10  8  6  4  2<br />
&gt; x[order(y)]<br />
 [1] 0.06178627 0.62911404 0.66079779 0.94467527 0.89838968 0.20168193 0.90820779 0.57285336 0.37212390 0.26550866</code></p>
<p>As a bonus, not that <code>sort(x)</code> and <code>x[order(x)]</code> give equivalent results.</p>
]]></content:encoded>
			<wfw:commentRss>http://notepad.patheticcockroach.com/3717/r-how-to-sort-a-vector-according-to-another/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to specify signature level in OpenPGP</title>
		<link>http://notepad.patheticcockroach.com/3715/how-to-specify-signature-level-in-openpgp/</link>
		<comments>http://notepad.patheticcockroach.com/3715/how-to-specify-signature-level-in-openpgp/#comments</comments>
		<pubDate>Sun, 05 May 2013 13:57:07 +0000</pubDate>
		<dc:creator>David Dernoncourt</dc:creator>
				<category><![CDATA[cryptography]]></category>

		<guid isPermaLink="false">http://notepad.patheticcockroach.com/?p=3715</guid>
		<description><![CDATA[I always misplace this information, so I&#8217;m saving it here for (hopefully) easier access next time. By default, gpg will sign keys without specifying a certification level (ie it will set it to 0, which means unspecified). If you want to change this behavior, you can add ask-cert-level in the configuration file (gpg.conf, I don&#8217;t [...]]]></description>
				<content:encoded><![CDATA[<p>I always misplace this information, so I&#8217;m saving it here for (hopefully) easier access next time. By default, gpg will sign keys without specifying a certification level (ie it will set it to 0, which means unspecified). If you want to change this behavior, you can add <code>ask-cert-level</code> in the configuration file (<code>gpg.conf</code>, I don&#8217;t know where it&#8217;s hidden in Windows&#8230;), or more simply launch gpg with the <code>--ask-cert-level</code> parameter. Note that this must be specified before the <code>--edit-key</code> parameter, like:<br />
<code>gpg --ask-cert-level --edit-key 18bea442</code><br />
Then simply type <code>sign</code>, and before signing gpg will first ask you for the signature level that you want to use. As a reminder:</p>
<ul>
<li>0 = unspecified</li>
<li>1 = no verification &#8211; I use this one only locally, when I haven&#8217;t seen any ID but need the key to be signed for convenience</li>
<li>2 = casual verification &#8211; I use this one when I&#8217;ve checked some official ID but don&#8217;t know the person otherwise</li>
<li>3 = extensive verification &#8211; I only use this one when I&#8217;ve checked some official ID and personally know the person to some extent</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://notepad.patheticcockroach.com/3715/how-to-specify-signature-level-in-openpgp/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Today is day against DRM 2013</title>
		<link>http://notepad.patheticcockroach.com/3673/today-is-day-against-drm-2013/</link>
		<comments>http://notepad.patheticcockroach.com/3673/today-is-day-against-drm-2013/#comments</comments>
		<pubDate>Thu, 02 May 2013 23:01:02 +0000</pubDate>
		<dc:creator>David Dernoncourt</dc:creator>
				<category><![CDATA[digital rights and DRMs]]></category>

		<guid isPermaLink="false">http://notepad.patheticcockroach.com/?p=3673</guid>
		<description><![CDATA[Today (May 3rd) is this year’s day against DRM. I already (tried to) briefly explain the concept of DRMs and why they&#8217;re bad two years ago, on day against DRM 2011, so this time I&#8217;ll try to cover how to fight them. First, you can spread the word. If you happen to be a blogger [...]]]></description>
				<content:encoded><![CDATA[<p>Today (May 3rd) is this year’s <a href="http://libreplanet.org/wiki/Group:Defective_By_Design/Day_Against_DRM_2013">day against DRM</a>. I already (tried to) briefly explain the concept of DRMs and why they&#8217;re bad <a href="http://notepad.patheticcockroach.com/1800/day-against-drm-2011/">two years ago, on day against DRM 2011</a>, so this time I&#8217;ll try to cover how to fight them.</p>
<p>First, you can spread the word. If you happen to be a blogger or journalist, the greatest thing to do would be to write about it. But even if you&#8217;re not, you&#8217;re in charge to create the buzz: share a link for instance to <a href="http://www.defectivebydesign.org/dayagainstdrm/">http://www.defectivebydesign.org/dayagainstdrm/</a>, <a href="http://libreplanet.org/wiki/Group:DefectiveByDesign/Day_Against_DRM_2013">http://libreplanet.org/wiki/Group:DefectiveByDesign/Day_Against_DRM_2013</a> or <a href="http://www.drm.info">http://www.drm.info</a> on Twitter, Facebook, reddit, Identi.ca, etc. You could also share a <a href="http://www.defectivebydesign.org/dayagainstdrm/banners">banner or poster</a> on Pinterest and such.</p>
<p>If you&#8217;re motivated to spend some $$ on it, you can even <a href="http://shop.fsf.org/product/DRM_No_One_Admitted/">get the t-shirt</a> and play the anti-DRM sandwitchman <img src='http://notepad.patheticcockroach.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>Then, you can support organizations campaining against DRMs. Of course, you can do so financially (cf the links I suggested in the second paragraph, most have a donation page a few clicks away), but also just be signing to show your support, for instance to <a href="https://fsfe.org/support/support.html">support the Free Software Foundation Europe (FSFE)</a>, which maintains drm.info: it&#8217;s important for them to be able to show they have a large number of supporters, so even if you don&#8217;t donate anything your signature matters (NB: their privacy policy is good, they don&#8217;t share your name, they only use it to publish the total number of supporters).</p>
<p>And finally, you can&#8230; vote. And no need to vote for the Pirate Party, just vote for or against brands. It&#8217;s voting day almost every day: you can vote with your money, simply by not buying DRM-impaired stuff. I have to admit I&#8217;m not very up-to-date on what not to buy, since I&#8217;m not much into portable devices (such as Kindles&#8230;) and already using mostly free software (like, LibreOffice instead of MS Office). But you get the idea: before buying something, check whether or not it comes with DRMs, and if it does, try to find an alternative. You&#8217;ll be surprised by how often it&#8217;s actually quite easy to find a DRM-free alternative, except maybe for games or very specialized software.</p>
<p>Well, that&#8217;s all I guess, for this year at least. The list is likely quite incomplete, but that&#8217;s already a fair amount of things to do. It may sound tedious, and if it does, well just focus on a thing or two, it&#8217;s still better than nothing <img src='http://notepad.patheticcockroach.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://notepad.patheticcockroach.com/3673/today-is-day-against-drm-2013/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A year with Flagcounter</title>
		<link>http://notepad.patheticcockroach.com/3690/a-year-with-flagcounter/</link>
		<comments>http://notepad.patheticcockroach.com/3690/a-year-with-flagcounter/#comments</comments>
		<pubDate>Wed, 17 Apr 2013 16:20:12 +0000</pubDate>
		<dc:creator>David Dernoncourt</dc:creator>
				<category><![CDATA[site news]]></category>

		<guid isPermaLink="false">http://notepad.patheticcockroach.com/?p=3690</guid>
		<description><![CDATA[About a year ago, I stumbled upon a nice looking visit counter on some site, which would show visits by country and keep a public record of how many visitors per country a site get. I quickly decided to add it to this notepad, because I felt that, unlike other counters, this one showed funny [...]]]></description>
				<content:encoded><![CDATA[<p>About a year ago, I stumbled upon a nice looking visit counter on some site, which would show visits by country and keep a public record of how many visitors per country a site get. I quickly decided to add it to this notepad, because I felt that, unlike other counters, this one showed funny trivia instead of an unpersonal number. A year and a day later (yeah, was too busy yesterday so I missed the real anniversary), let&#8217;s make a summary of all the visits <img src='http://notepad.patheticcockroach.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>In total, there were 276,894 unique visitors, from 208 countries. The top 10 countries by unique visitors is as follow:<br />
1. United States &#8211; 31,156 visitors (among which 6,113 from California and 2053 from both Texas and New York, and on the other end, only 24 from both Wyoming and South Dakota)<br />
2. Germany &#8211; 17,092<br />
3. France &#8211; 9,808<br />
4. United Kingdom &#8211; 8,460<br />
5. Italy &#8211; 6,761<br />
6. Poland &#8211; 6,741<br />
7. India &#8211; 5,468<br />
8. Canada &#8211; 5,226<br />
9. Russia &#8211; 5,208<br />
10. Brazil &#8211; 4,993</p>
<p>This site is in a large majority written in English, with some French posts here and there (some of which pretty high traffic), and has been hosted majoritarily in Germany (around Berlin I think, I moved it back to France some months ago).</p>
<p>It&#8217;s interesting to notice that not so many visitors come from English-speaking countries. Not sure if this means that search engines tend to suggest contents in English even to those searching in their native language, or that people search in English more often than I thought (whenever I discuss with real life friends here in friends, they almost always are die-hard local language searchers), or just because my portable Flash gets a lot of traffic, and for this one the language spoken by the searcher is maybe less relevant.</p>
<p>The very high amount of visitors from Germany, while not a single page on this site is in German, is probably due to Google giving a priority boost to sites hosted locally. It will be interesting to see how this changes now that the site is back in France.<br />
The farily high amound of French visitors (despite the well-known aversion to any kind of foreign language proficiency here ^^) can probably be explained by a couple of posts where I posted solutions to some French websites&#8217; contests, which drew a few thousands people to the site.</p>
<p>The fairly low position of China (22nd with 1,984), lower for instance than Portugal, Switzerland or Turkey, may be due to Chinese searching more often locally and in their language (hi Baidu <img src='http://notepad.patheticcockroach.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> ). In contrast, Hong Kong, with a much lower population, is 32nd with 1,377 unique visitors with 0.5% of China&#8217;s population (although of course there is also the proportion of population with an internet access to be taken into account).</p>
<p>Finally, a bit of exotism: the latest country added to the list of visiting countris was Turks and Caicos Islands, population: 47,754. This is actually a British overseas territory located North of Hawai.</p>
]]></content:encoded>
			<wfw:commentRss>http://notepad.patheticcockroach.com/3690/a-year-with-flagcounter/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>aToaD #8: SuperPutty</title>
		<link>http://notepad.patheticcockroach.com/3682/atoad-8-superputty/</link>
		<comments>http://notepad.patheticcockroach.com/3682/atoad-8-superputty/#comments</comments>
		<pubDate>Mon, 15 Apr 2013 18:15:58 +0000</pubDate>
		<dc:creator>David Dernoncourt</dc:creator>
				<category><![CDATA[A Tool A Day]]></category>

		<guid isPermaLink="false">http://notepad.patheticcockroach.com/?p=3682</guid>
		<description><![CDATA[Remote console, wrapper for PuTTY. This tool is quite raw and simple, at least the way I use it. SupperPutty&#8216;s main function is to let you run several PuTTY consoles from a single window with tabs. Or to put it another way, it saves space on the taskbar. Another nice feature is its ability to [...]]]></description>
				<content:encoded><![CDATA[<p><em>Remote console, wrapper for PuTTY.</em></p>
<p>This tool is quite raw and simple, at least the way I use it. <a href="https://code.google.com/p/superputty/">SupperPutty</a>&#8216;s main function is to let you run several PuTTY consoles from a single window with tabs. Or to put it another way, it saves space on the taskbar.<br />
Another nice feature is its ability to remember the state in which it was when you last close it, so it restores all opened sessions on startup (you need to log in again in each of them, of course). That is, when it works, because quite often it forgets the previous session (I think this occurs mainly when you don&#8217;t close it properly &#8211; for instance if you shut Windows down without closing SuperPutty first).</p>
<p>Well, that&#8217;s all there is to say, I think. I&#8217;m not very sure how good it is at managing a list of sessions, what I do is I keep managing my sessions from PuTTY, and when needed I import them into SuperPutty (since this will create duplicates, I first remove all sessions from SuperPutty, then import all from PuTTY).</p>
]]></content:encoded>
			<wfw:commentRss>http://notepad.patheticcockroach.com/3682/atoad-8-superputty/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
