(via)
(via)
If you want to load a large file in Vim you should disable the swap file to speed things up. It’s simple to do as well:
Vim -n file.txt
If a file is over 4096K or so and I have enough system RAM (not usually a problem) I’ll do it this way as it avoids Vim creating a potentially huge .swp file.
Today is the day kids have to read books to do their homework. But seriously, SOPA and PIPA, bills being considered by the U.S. Congress could have far reaching implications for anyone who puts content online. It’s really going to hurt the U.S. economy and by extension any country that exports into that country. If you live outside the U.S. many of the websites you use every day will be affected by this law, and if a non U.S. website is blocked then they could lose significant website traffic and suffer financially.
Broadsheet.ie (who have gone black along with other well known websites) quoted this Boing Boing post which you can’t see either because it’s gone black today:
Boing Boing could never co-exist with a SOPA world: we could not ever link to another website unless we were sure that no links to anything that infringes copyright appeared on that site. So in order to link to a URL on LiveJournal or WordPress or Twitter or Blogspot, we’d have to first confirm that no one had ever made an infringing link, anywhere on that site. Making one link would require checking millions (even tens of millions) of pages, just to be sure that we weren’t in some way impinging on the ability of five Hollywood studios, four multinational record labels, and six global publishers to maximize their profits.
In related news, EMI Ireland threatened to sue the Irish Government for not doing enough to stop copyright violations. Legislation is due this month but I haven’t heard anything in the news since. One wonders how they’ll deal with this ruling by the Court of Justice (thanks ILUG):
The Court of Justice of the European Union (CJEU) delivered a landmark case for protecting free speech in the fight against online piracy. In a decision issued today on the Scarlet Extended SA v SABAM case, the Court stated that web filtering systems used to prevent illegal downloading on peer-to-peer networks was incompatible with fundamental human rights.
For more on this read Will Ireland block the internet to save CDs? The likely answer is “Yes”. (Thanks Talideon!)
Here’s a great examination of SOPA and PIPA by Reddit sysadmin Jason Harvey. It’s lengthy but here are a few snippets:
Facilitation of criminal violations
The potential for abuse in this language is painfully obvious. “Facilitation” can often be argued as simply teaching or demonstrating how to do something. Under this definition, a site could be targeted for something as simple as describing how to rip a Blu-Ray. This language also makes it clear that the legislation is not solely targeting sites “dedicated to theft”.
…
If the Attorney General served reddit with an order to remove links to a domain, we would be required to scrub every post and comment on the site containing the domain and censor the links out, even if the specific link contained no infringing content. We would also need to implement a system to automatically censor the domain from any future posts or comments. This places a measurable burden upon the site’s technical infrastructure. It also damages one of the most important tenets of reddit, and the internet as a whole – free and open discussion about whatever the fuck you want.
Why this doesn’t actually stop piracy
This legislation is aimed at requiring private U.S. entities to enforce restrictions against foreign sites but does nothing against the infringement itself. All of the enforcement actions can and will be worked around by sites focused on copyright infringement. U.S. citizens will still be able to use foreign DNS servers, new advertising and payment networks will pop up overseas, and “infringing sites” will still be linked to by other foreign sites and search engines. In fact, tools used to circumvent these forms of internet restrictions are being funded by the U.S. State department to offer citizens under “repressive regimes” uncensored access to the internet. When the dust settles, piracy will still exist, and the internet in the U.S. will have entered the realm of federal regulation and censorship.
See also sopastrike.com, Google’s Take Action page, Reddit.com and the Reddit SOPA FAQ.
WOAH! Do not put symlinks to your uploaded files in a temporary cache directory. Nginx users running WordPress should beware if they followed these instructions and put a symlink to uploaded files in the wp-content/cache/ directory. I’m going to rewrite that page right now suggesting they use a different directory, possibly wp-content/uploads/ or maybe wp-content/files/.
WP Super Cache (and I presume other caching plugins) will delete everything in the cache directory. It’s like putting important files in /tmp/ where files are routinely cleaned out on reboot.
My replies on the thread above might paint me as a cold heartless bastard but I am sorry those websites suffered data loss. However I’m shocked that they put links to uploaded images in a folder containing temporary files!
One of my favourite Amiga games of the 90’s was Syndicate. The PC version will be available on GOG.com from next Thursday. Great little shooter, go buy it! (via)
I’m pretty sure bingbot doesn’t live at 184.171.245.160 and wouldn’t hit /wp-login.php 509 times in a row.
deny from 184.171.245.160
I think this game is the reason I bought a joystick for my PC. I still have that joystick (or maybe it’s the second one I bought) up in the attic but I haven’t used it this century yet and I don’t have a PC with a joystick port/parallel port any more! Remember the joys of calibrating your device so your game was simply playable? You young ‘uns with your Xbox 360 controllers have it easy these days! I never understood why joysticks had to be so fiddly on PC when they just worked on the 8 and 16 bit machines.
This game ran in 320×200 pixels and 256 colours. I do remember when that was and impressive screen resolution. (via)
Well used and loved Lego may break and get squashed but the non-broken bits can be washed and dried and used again by a new generation.
It’s the game that many people upgraded their PCs for but Battlefield 3 isn’t the darling that Bad Company 2 was, at least for me and the guys I play with.
Expectations were high for this game. The trailers promised massively destructible environments and so much more but the final game did not live up to the hype. I guess it couldn’t really, could it? We were expecting a game that would be the second coming of Christ in gaming terms, weren’t we? If Jesus played any game, he’d choose Battlefield 3. Now I think he’d probably pick up Skyrim and go adventuring by himself wielding swords and magic fireballs to defeat his foes!
I played Bad Company 2 since early 2010. It wasn’t always a rosy relationship (remember C4 on the MCOM stations?) but it took over a year for me to become as apathetic towards it as I am about Battlefield 3 now. The latter game only came out in September! Veterans of PC gaming gush about Battlefield 2. Do you feel the same about Battlefield 3?
I’ve let my Xbox Live subscription lapse, and I’ll probably trade in the Xbox version of BF3 for store credit. I’ll still jump into a game (on PS3) if anyone wants but the heady excitement of the early days has already worn off.
There is a ray of light, for me at least. I’ve rediscovered single player gaming. Skyrim kept me distracted for a few hours over the Christmas holidays but it’s Saints Row the Third that is my favourite game of 2011. There is so much silly and creative fun and idiocy in that game that it’s a pleasure to play. It’s even better coop!
Closely following that game, I have to admit the many hours I put into Darwinia were a pleasure too. Such a simple game but the story gripped me – help a developer rid his computer generated world of viruses! Loved that.
Catch you all in Killing Floor, L4D2, or most likely anything but Battlefield 3…