<?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 &#187; Internet</title>
	<atom:link href="http://notepad.patheticcockroach.com/category/internet/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, 05 Feb 2012 12:11:36 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Facebook&#8217;s latest poop</title>
		<link>http://notepad.patheticcockroach.com/2710/facebooks-latest-poop/</link>
		<comments>http://notepad.patheticcockroach.com/2710/facebooks-latest-poop/#comments</comments>
		<pubDate>Mon, 30 Jan 2012 07:08:07 +0000</pubDate>
		<dc:creator>David Dernoncourt</dc:creator>
				<category><![CDATA[social network stuff]]></category>

		<guid isPermaLink="false">http://notepad.patheticcockroach.com/?p=2710</guid>
		<description><![CDATA[Looks like the friend request confirmation screenshot that I posted a while ago has become history. Now when hitting the &#8220;add friend&#8221; button you don&#8217;t get any confirmation anymore. The request seems to be sent right away, and you get the &#8220;Friend request sent button&#8221; as well as the following menu to specify the list [...]]]></description>
			<content:encoded><![CDATA[<p>Looks like the friend request confirmation screenshot that I <a href="http://notepad.patheticcockroach.com/1709/facebook-is-tagging-spammy-users-and-threatening-you/">posted a while ago</a> has become history. Now when hitting the &#8220;add friend&#8221; button you don&#8217;t get any confirmation anymore. The request seems to be sent right away, and you get the &#8220;Friend request sent button&#8221; as well as the following menu to specify the list or cancel the request:</p>
<div style="text-align:center;"><img src="http://img.patheticcockroach.com/01/facebook_no_confirmation.png" alt="No confirmation when sending a friend request in Facebook" width="167" height="257"/></div>
<p>The only question left is: do we get a redemption period, say half a minute or something, to undo the request without it actually being sent (via e-mail)? Not really motivated to test that, so if you happen to know please comment about it <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/2710/facebooks-latest-poop/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Enriching Notepad++&#8217;s lang.xml to add better MySQL support</title>
		<link>http://notepad.patheticcockroach.com/2704/enriching-notepads-lang-xml-to-add-better-mysql-support/</link>
		<comments>http://notepad.patheticcockroach.com/2704/enriching-notepads-lang-xml-to-add-better-mysql-support/#comments</comments>
		<pubDate>Sun, 29 Jan 2012 16:17:55 +0000</pubDate>
		<dc:creator>David Dernoncourt</dc:creator>
				<category><![CDATA[MySQL]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[web development]]></category>

		<guid isPermaLink="false">http://notepad.patheticcockroach.com/?p=2704</guid>
		<description><![CDATA[For the moment, Notepad++ is my editor of choice to edit MySQL stuff. Its syntax highlighting works nice, however for some reason it lacks quite a few keywords, such as DATETIME and UNSIGNED. I don&#8217;t know the reason for this, maybe those types are MySQL-specific and not generic SQL types, but anyway I don&#8217;t really [...]]]></description>
			<content:encoded><![CDATA[<p>For the moment, <a href="http://notepad-plus-plus.org/">Notepad++</a> is my editor of choice to edit MySQL stuff. Its syntax highlighting works nice, however for some reason it lacks quite a few keywords, such as DATETIME and UNSIGNED. I don&#8217;t know the reason for this, maybe those types are MySQL-specific and not generic SQL types, but anyway I don&#8217;t really care about generic SQL, I just want a more comprehensive highlighting for the SQL I use &#8211; MySQL.<br />
Fortunately, it&#8217;s very easy to add language elements: you just need to edit langs.xml (+/- langs.model.xml, I&#8217;m not really sure if you need to edit both, but that&#8217;s what I did), find the SQL section (starts with something like <code>&lt;Language name="sql" ext="sql" commentStart="/*" commentEnd="*/"&gt;</code>), and add the tags. Without further ado, here&#8217;s my edited SQL section. Note that for the moment I didn&#8217;t really add many tags (just the *cough* 5 at the very bottom&#8230;), but more <del>will</del> should come as I stumble upon them&#8230;</p>
<p><code>&lt;Language name="sql" ext="sql" commentStart="/*" commentEnd="*/"&gt;<br />
	&lt;Keywords name="instre1"&gt;abs absolute access acos add add_months adddate admin after aggregate all allocate alter and any app_name are array as asc ascii asin assertion at atan atn2 audit authid authorization autonomous_transaction avg before begin benchmark between bfilename bin binary binary_checksum binary_integer bit bit_count bit_and bit_or blob body boolean both breadth bulk by call cascade cascaded case cast catalog ceil ceiling char char_base character charindex chartorowid check checksum checksum_agg chr class clob close cluster coalesce col_length col_name collate collation collect column comment commit completion compress concat concat_ws connect connection constant constraint constraints constructorcreate contains containsable continue conv convert corr corresponding cos cot count count_big covar_pop covar_samp create cross cube cume_dist current current_date current_path current_role current_time current_timestamp current_user currval cursor cycle data datalength databasepropertyex date date_add date_format date_sub dateadd datediff datename datepart day db_id db_name deallocate dec declare decimal decode default deferrable deferred degrees delete dense_rank depth deref desc describe descriptor destroy destructor deterministic diagnostics dictionary disconnect difference distinct do domain double drop dump dynamic each else elsif empth encode encrypt end end-exec equals escape every except exception exclusive exec execute exists exit exp export_set extends external extract false fetch first first_value file float floor file_id file_name filegroup_id filegroup_name filegroupproperty fileproperty for forall foreign format formatmessage found freetexttable from from_days fulltextcatalog fulltextservice function general get get_lock getdate getansinull getutcdate global go goto grant greatest group grouping having heap hex hextoraw host host_id host_name hour ident_incr ident_seed ident_current identified identity if ifnull ignore immediate in increment index index_col indexproperty indicator initcap initial initialize initially inner inout input insert instr instrb int integer interface intersect interval into is is_member is_srvrolemember is_null is_numeric isdate isnull isolation iterate java join key lag language large last last_day last_value lateral lcase lead leading least left len length lengthb less level like limit limited ln lpad local localtime localtimestamp locator lock log log10 long loop lower ltrim make_ref map match max maxextents mid min minus minute mlslabel mod mode modifies modify module month months_between names national natural naturaln nchar nclob new new_time newid next next_day nextval no noaudit nocompress nocopy none not nowait null nullif number number_base numeric nvl nvl2 object object_id object_name object_property ocirowid oct of off offline old on online only opaque open operator operation option or ord order ordinalityorganization others out outer output package pad parameter parameters partial partition path pctfree percent_rank pi pls_integer positive positiven postfix pow power pragma precision prefix preorder prepare preserve primary prior private privileges procedure public radians raise rand range rank ratio_to_export raw rawtohex read reads real record recursive ref references referencing reftohex relative release release_lock rename repeat replace resource restrict result return returns reverse revoke right rollback rollup round routine row row_number rowid rowidtochar rowlabel rownum rows rowtype rpad rtrim savepoint schema scroll scope search second section seddev_samp select separate sequence session session_user set sets share sign sin sinh size smallint some soundex space specific specifictype sql sqlcode sqlerrm sqlexception sqlstate sqlwarning sqrt start state statement static std stddev stdev_pop strcmp structure subdate substr substrb substring substring_index subtype successful sum synonym sys_context sys_guid sysdate system_user table tan tanh temporary terminate than then time timestamp timezone_abbr timezone_minute timezone_hour timezone_region to to_char to_date to_days to_number to_single_byte trailing transaction translate translation treat trigger trim true trunc truncate type ucase uid under union unique unknown unnest update upper usage use user userenv using validate value values var_pop var_samp varchar varchar2 variable variance varying view vsize when whenever where with without while with work write year zone<br />
	mediumint datetime tinyint text unsigned&lt;/Keywords&gt;<br />
&lt;/Language&gt;</code></p>
]]></content:encoded>
			<wfw:commentRss>http://notepad.patheticcockroach.com/2704/enriching-notepads-lang-xml-to-add-better-mysql-support/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Oops, the FBI stole my files!</title>
		<link>http://notepad.patheticcockroach.com/2616/oops-the-fbi-stole-my-files/</link>
		<comments>http://notepad.patheticcockroach.com/2616/oops-the-fbi-stole-my-files/#comments</comments>
		<pubDate>Fri, 20 Jan 2012 07:28:22 +0000</pubDate>
		<dc:creator>David Dernoncourt</dc:creator>
				<category><![CDATA[digital rights and DRMs]]></category>
		<category><![CDATA[site news]]></category>
		<category><![CDATA[Totally pointless]]></category>
		<category><![CDATA[web filtering]]></category>

		<guid isPermaLink="false">http://notepad.patheticcockroach.com/?p=2616</guid>
		<description><![CDATA[In case you&#8217;re not a regular here, over the years I&#8217;ve offered a variety of more or less large files on this site: a portable version of OpenOffice 3.2.1, a portable version of R (about version 2.11, I think), high resolution episodes of Pioneer One (that&#8217;s a free series primarily distributed over BitTorrent), Doctor Who [...]]]></description>
			<content:encoded><![CDATA[<p>In case you&#8217;re not a regular here, over the years I&#8217;ve offered a variety of more or less large files on this site: a portable version of OpenOffice 3.2.1, a portable version of R (about version 2.11, I think), high resolution episodes of Pioneer One (that&#8217;s a free series primarily distributed over BitTorrent), Doctor Who trailers, portable versions of Flash, some other free portable or non-portable applications (7-Zip, GnuPG with unlocked key size &#8211; binary and source -, etc), my OWN application VisualGPG, Catalyst drivers, some other drivers (like, all the drivers of my computers), and other things I&#8217;m probably forgetting. That was all legal files, in total about 200 files for about 10 GiB.</p>
<p>Well, they&#8217;ve just all been stolen &#8211; during my sleep like a proper robbery &#8211; by the FBI, who effectively took them away when they decided to <a href="http://www.bbc.co.uk/news/technology-16642369">shut down MegaUpload</a>. Although I did have a backup of my most important files, I didn&#8217;t have a backup of most of the files, which were rather there for storage or archiving. They <a href="http://www.fbi.gov/news/pressrel/press-releases/justice-department-charges-leaders-of-megaupload-with-widespread-online-copyright-infringement">claim</a> they did that to fight copyright infringement, well at least copying isn&#8217;t stealing. But taking away the files is. <em>The FBI robbed my files, should I call the police?</em> &#8230; or maybe I should call al-Qaeda?</p>
<p>Anyway, for you visitors, it means that at the moment, all the files I link to on Megaupload are sadly unavailable. For a few of them, a FileSonic mirror is available. I&#8217;ll try to upload some of the others there, too. But I don&#8217;t really have the time to browse all the site looking for every missing file, so in case you need specific files, drop a comment and I&#8217;ll give them priority for the re-up, if I have a backup of them.</p>
<h2>Update (2012-01-23)</h2>
<p>Well, this seemed to have scared the hell out of other hosts. FileSonic, the alternate mirror where I put some of the files, also SILENTLY (as usual when they do a crappy move) disabled file-sharing (since they delete uploaded files after 30 days with no downloads I really wonder what kind of a business model they can have now&#8230;). Good thing I hadn&#8217;t moved more files to them&#8230;<br />
Since it seems that most file hosts are (or will be) chickening out too (which I guess is understandable since they get treated worse than terrorists), I&#8217;m left with the only option to host the files on this very server. This means that there won&#8217;t be big files anymore (bye bye Pioneer One&#8230;), and also probably I won&#8217;t keep an archive of old versions apart from a few exceptions.</p>
<h2>Update (2012-01-28)</h2>
<p>Looks like legal action is indeed on its way, see <a href="http://megaupload.pirata.cat/">Joint complaint of those affected by the closure of Megaupload service</a>. Of course, Megaupload&#8217;s Terms of Service said something along the line &#8220;we reserve the right to delete your hosted files at any time&#8221;, but it didn&#8217;t reserve the right for a third party such as the FBI to do so.</p>
]]></content:encoded>
			<wfw:commentRss>http://notepad.patheticcockroach.com/2616/oops-the-fbi-stole-my-files/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Another, simpler method to bypass the Wikipedia blackout</title>
		<link>http://notepad.patheticcockroach.com/2598/another-method-to-bypass-the-wikipedia-blackout/</link>
		<comments>http://notepad.patheticcockroach.com/2598/another-method-to-bypass-the-wikipedia-blackout/#comments</comments>
		<pubDate>Wed, 18 Jan 2012 14:24:19 +0000</pubDate>
		<dc:creator>David Dernoncourt</dc:creator>
				<category><![CDATA[digital rights and DRMs]]></category>
		<category><![CDATA[Internet]]></category>

		<guid isPermaLink="false">http://notepad.patheticcockroach.com/?p=2598</guid>
		<description><![CDATA[If you&#8217;re reading this, you most likely know that Wikipedia is blacked-out to protest SOPA. Now that you&#8217;re aware of the SOPA issue, maybe you want to get back to work and access the encyclopedia. Luckily for you there seems to be quite a few methods available to bypass the blackout. And here is another [...]]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;re reading this, you most likely know that Wikipedia is blacked-out to protest SOPA. Now that you&#8217;re aware of the <a href="http://sopastrike.com/">SOPA issue</a>, maybe you want to get back to work and access the encyclopedia. Luckily for you there seems to be <a href="http://www.pcadvisor.co.uk/how-to/internet/3330856/how-bypass-wikipedia-blackout/">quite a few methods available</a> to bypass the blackout. And here is another one, much simpler IMO: <strong>just disable JavaScript</strong>. If on Firefox, you can simply use the <a href="https://addons.mozilla.org/en-US/firefox/addon/noscript/">NoScript</a> extension. Although I couldn&#8217;t name them for sure, similar extensions are available for other browsers.</p>
<p>Edit: alright, I do the search for you:<br />
- <a href="https://chrome.google.com/webstore/detail/odjhifogjcknibkahlpidmdajjpkkcfn">Noscript for Google Chrome / Iron</a> (NB: the page fails to load for me for some reason, but that&#8217;s the URL I&#8217;m pointed to when searching for it both on Google and on the Chrome web store)<br />
- <a href="https://addons.opera.com/en/addons/extensions/details/notscripts/1.1.0/">NoScripts for Opera</a></p>
<p>Edit 2: Meh, Wikipedia itself is actually <a href="https://meta.wikimedia.org/wiki/English_Wikipedia_SOPA_blackout/Technical_FAQ#Are_there_ways_to_circumvent_the_read_blackout.3F">giving possible solutions</a>. Oops.</p>
]]></content:encoded>
			<wfw:commentRss>http://notepad.patheticcockroach.com/2598/another-method-to-bypass-the-wikipedia-blackout/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PhotoBucket edits the pictures you upload&#8230; poorly</title>
		<link>http://notepad.patheticcockroach.com/2561/photobucket-edits-the-pictures-you-upload-poorly/</link>
		<comments>http://notepad.patheticcockroach.com/2561/photobucket-edits-the-pictures-you-upload-poorly/#comments</comments>
		<pubDate>Thu, 12 Jan 2012 18:39:26 +0000</pubDate>
		<dc:creator>David Dernoncourt</dc:creator>
				<category><![CDATA[Internet]]></category>
		<category><![CDATA[Totally pointless]]></category>

		<guid isPermaLink="false">http://notepad.patheticcockroach.com/?p=2561</guid>
		<description><![CDATA[About a week ago, this very server had some severe connectivity issues. As usual, not a problem on the server itself but bloody network mayhem: FTP and SSH were, long story short, unusable for data transfers. But I had just finished this post about OpenStreetMap and I wasn&#8217;t in the mood to delay it too [...]]]></description>
			<content:encoded><![CDATA[<p>About a week ago, this very server had some severe connectivity issues. As usual, not a problem on the server itself but bloody network mayhem: FTP and SSH were, long story short, unusable for data transfers. But I had just finished <a href="http://notepad.patheticcockroach.com/2550/did-you-know-openstreetmap/">this post about OpenStreetMap</a> and I wasn&#8217;t in the mood to delay it too much, so I though about an alternative method to &#8220;upload&#8221; the pictures it contained: upload the picture to PhotoBucket, then download it from the server (SSH was working fine enough to be able to use wget and move files around).</p>
<p>As usual, I thought a bit about the best way to pack the pictures, decided that the moderate JPG gain wasn&#8217;t worth the quality loss over PNG, then squished the PNGs as much as I possibly could, using <a href="http://notepad.patheticcockroach.com/1504/shrinking-your-pngs-as-much-as-possible/">OptiPNG and PNGOUT</a>.</p>
<p>The second picture, as can now be <a href="http://img.patheticcockroach.com/01/map_chups_openstreetmap.png">seen here</a>, was about 472 KiB in size, substantially down from about a whole MiB (slightly less actually) as originally created with Paint or GIMP (not really sure which one I used this time). But when I grabbed it from PhotoBucket&#8230; it had inflated back to 920 KiB, a whopping 95% increase! I don&#8217;t mind PhotoBucket trying to recompress my uploaded pictures, but if they fail to improve the compression (particularly when they fail that much) maybe they should keep the original&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://notepad.patheticcockroach.com/2561/photobucket-edits-the-pictures-you-upload-poorly/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Lists of Tor nodes</title>
		<link>http://notepad.patheticcockroach.com/2500/lists-of-tor-nodes/</link>
		<comments>http://notepad.patheticcockroach.com/2500/lists-of-tor-nodes/#comments</comments>
		<pubDate>Fri, 23 Dec 2011 18:02:52 +0000</pubDate>
		<dc:creator>David Dernoncourt</dc:creator>
				<category><![CDATA[privacy]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[web development]]></category>

		<guid isPermaLink="false">http://notepad.patheticcockroach.com/?p=2500</guid>
		<description><![CDATA[Having a list of Tor nodes can always be a useful resource for spam-fighting, even though unfortunately most of those lists most often don&#8217;t make the difference between nodes which are just a relay and nodes which are also exit points. So, here are a few listings that seems to be regularly updated (as of [...]]]></description>
			<content:encoded><![CDATA[<p>Having a list of Tor nodes can always be a useful resource for spam-fighting, even though unfortunately most of those lists most often don&#8217;t make the difference between nodes which are just a relay and nodes which are also exit points.</p>
<p>So, here are a few listings that seems to be regularly updated (as of today, at least):</p>
<ul>
<li><a href="http://torstatus.all.de/index.php?SR=Bandwidth&#038;SO=Desc">http://torstatus.all.de/index.php?SR=Bandwidth&#038;SO=Desc</a>: has lots of details (notably, they do make the difference between exit nodes and simple relays), but is probably not trivial to parse automatically. NB: if you&#8217;re on Firefox, beware that it will slow down the browser massively for a few seconds. It&#8217;s fine on Iron, though.</li>
<li><a href="http://torstatus.blutmagie.de/index.php?SR=Bandwidth&#038;SO=Desc">http://torstatus.blutmagie.de/index.php?SR=Bandwidth&#038;SO=Desc</a>: pretty much the same as the previous one (still a Fx killer, notably!), but hosted elsewhere.</li>
<li><a href="http://torstatus.rueckgr.at/index.php">http://torstatus.rueckgr.at/index.php</a>: and the same again, somewhere else.</li>
<li><a href="http://www.ircproxy.net/torlist/">http://www.ircproxy.net/torlist/</a>: just a list of IPs, probably great to parse. Also mention the update date, even though I guess it&#8217;s not a guarantee.</li>
<li><a href="http://files.sabmx.net/pg2/tor_block.txt">http://files.sabmx.net/pg2/tor_block.txt</a>: also just a list of IP, indicated as IP ranges.</li>
<li><a href="http://teksimple.com/tornodes.txt">http://teksimple.com/tornodes.txt</a>: that&#8217;s probably the easiest one to parse: just a text list, one IP per line, update date and time on first line.</li>
</ul>
<p>Note however that it seems pretty much impossible to perform a DDoS attack from the Tor network (limitation #1 being it doesn&#8217;t really have that much bandwidth available), so there&#8217;s no reason to be a jackass like <a href="https://www.dan.me.uk/tornodes" rel="nofollow">Daniel Austin MBCS</a> and ban all traffic from Tor nodes. Particularly, blocking traffic from non-exit nodes altogether is seriously retarded. Purely banning all traffic from Tor also means you&#8217;d simply play along <a href="http://en.wikipedia.org/wiki/Stop_Online_Piracy_Act">SOPA</a> and alike. You might want instead to maybe just make the spam filter harsher, or systematically manual, on contents coming from Tor.<br />
Well, anyway, you got the list now act smart with it. <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/2500/lists-of-tor-nodes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

