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.
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.
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.
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!
Edit (20 minutes later): the codex page has been updated, thanks Westi for your help. It now recommends using wp-content/ms-filemap/ rather than wp-content/cache/
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)
I’m a big fan of Bibble Pro by Bibble Labs so when I saw an email from them a few days ago announcing their sale to Corel I was a little worried. The last time I had anything to do with Corel software was when they had a Linux distro. That didn’t end so well.
Here’s some blurb from the press release:
Corel bought us for a couple of reasons. First, they were looking for a top-of-the-line technology to complement PaintShop Pro, their flagship photo editing solution. They were blown away by the speed of Bibble’s technology and saw the opportunity to invest even more in development and in bringing our technology to even more users- something that Bibble Labs simply couldn’t afford to do on our own. We’ve been working with the Corel team for the past few months and it’s clear they’re committed. They are excited about our technology and processing power, and the opportunities we see to take the product forward. They recently released PaintShop Pro to very strong user and industry reviews, and are now keen to offer photographers a powerful workflow and management solution. Corel knew there was no better match for them than Bibble.
All of us at Bibble have joined the Corel team. We’re keeping Mac and Linux support and we’re staying in Austin. I’m now running product development for Corel’s new photo workflow solution that is based on the core Bibble technology. What’s even better is that I now have access to dedicated user interface and graphic designers who are helping to improve usability and make the product even better looking. I also now have a full QA team dedicated to product testing, along with documentation and localization teams, marketing and sales teams, and a huge, international distribution system to help get our technology the notice it deserves. We also have access to a customer support team to help provide the personal attention I had always wanted to provide, but couldn’t do on my own. Not only does this mean that many more folks are working on this product than ever have before, but it als o means that all of us at the Labs can focus 100% on the core technology and the product.
Bibble Pro has been transformed into Aftershot Pro. You can download a trial version here. It looks very like Bibble Pro but it’s a lot snappier. It loads very quickly, previews show quickly, applies filters quickly. It also feels lighter on my system.
The upgrade for existing Bibble users is $19.99 (EUR/GBP 14.99 incl. VAT) up to the end of January so I decided to go for it. Hopefully the speed increase isn’t because there isn’t a huge catalogue of imported photos! It would be nice to have some way of importing the Bibble photo catalogue.
Reaction elsewhere has been mixed. Check out these threads: one and two.
Oh yeah, Bibblelabs and Corel. Thanks for supporting Linux!
I should walk my son to school more often. It’s only 1.2km away, 12 minutes to get back home and I feel refreshed after that walk. It’s been such a mild winter I have no excuse!
This video reminds me of that feeling walking into Waterstones or other book shop of the worlds waiting to be discovered on the bookshelves lining the walls and in the “3 for 2″ piles of books displayed near the door.
I love reading, but I’ve hardly read a paperback in over 18 months. When you’ve found a great book it doesn’t matter what format the story is in. I do miss the book shop ritual though.
From one of the comments on that video:
I read, share, discuss, donate, gift and love my ebooks. So should you. Don’t hate only the latest incarnation of books. I imagine scroll-fetishists thought that bound folios were the work of the devil. Sigh.
We had a most delicious meal in Boqueria, Bridge St. Cork this evening. It’s a tapas, wine and cocktail bar that serves delicious food and I’m sure the alcohol tastes nice too but I only had a sip of my wife’s white wine. Staff are super friendly too and even though they squash people in there you should try it out. Recommended!