Archive for category WebSnip

Some E-Books Are More Equal Than Others – Pogue’s Posts Blog

I just find the irony hilarious. Granted, this was an isolated incident with one particular publisher, but the ripples from this event will last for a looooong time. I had no interest in a Kindle before, but now I will actively campaign against them to others and point to this article as my reason. Remotely delete something I paid for? Unbelieveable!


This morning, hundreds of Amazon Kindle owners awoke to discover that books by a certain famous author had mysteriously disappeared from their e-book readers. These were books that they had bought and paid for—thought they owned.  But no, apparently the publisher changed its mind about offering an electronic edition, and apparently Amazon, whose business lives and dies by publisher happiness, caved. It electronically deleted all books by this author from people’s Kindles and credited their accounts for the price.

This is ugly for all kinds of reasons. Amazon says that this sort of thing is “rare,” but that it can happen at all is unsettling; we’ve been taught to believe that e-books are, you know, just like books, only better. Already, we’ve learned that they’re not really like books, in that once we’re finished reading them, we can’t resell or even donate them. But now we learn that all sales may not even be final.

As one of my readers noted, it’s like Barnes & Noble sneaking into our homes in the middle of the night, taking some books that we’ve been reading off our nightstands, and leaving us a check on the coffee table.

You want to know the best part? The juicy, plump, dripping irony? The author who was the victim of this Big Brotherish plot was none other than George Orwell.  And the books were “1984” and “Animal Farm.”

Scary.

via Some E-Books Are More Equal Than Others – Pogue’s Posts Blog – NYTimes.com.

UPDATE: 07/24/2009. Amazon’s CEO Jeff Bezos apologises for the “ham-fisted” handling of the whole scenario. A nice offer, but would there be an apology if there hadn’t been such a stink raised over it in the first place?

This is an apology for the way we previously handled illegally sold copies of 1984 and other novels on Kindle. Our “solution” to the problem was stupid, thoughtless, and painfully out of line with our principles. It is wholly self-inflicted, and we deserve the criticism we’ve received. We will use the scar tissue from this painful mistake to help make better decisions going forward, ones that match our mission.

With deep apology to our customers,

Jeff Bezos
Founder & CEO
Amazon.com

Tags: , , , ,

10 Ways To Be Productive in 10 Minutes

For whatever reason, I’m always on the lookout for new ways to be productive.  I dunno, maybe it’s because I feel perpetually unproductive.  Maybe it’s because I’ve got an abnormally short attention span.  Maybe I’m just a master procrastinator.  In any event, this article grabbed my attention because my free time usually comes in small chunks during the day.

Also, this article inspired me to try out Instapaper.  Another web 2.0 gadget.  Seems kinda useful.  More on that later.


Most of my free time, except when I’m doing it on purpose, tends to come in short blocks. I rarely have 2 hours free, but might, over the course of a work day, have those same two hours in twelve ten-minute bursts.

I realized recently that, for the most part, I waste all of this free time. Since it’s such a short period of time, it seems to not strike me as worth using productively. I spend those ten minute periods doing things like staring aimlessly at the computer screen, picking my nose, or trying to remember what on Earth I have to do in ten minutes. I’m a big fan of periodically doing this zoning out for a while’s my favorite way to launch back into productive work, but I started to notice that, over the course of a day or week, that time really does add up.

So I developed a list of ten things to do with ten minutes. Now, when I’ve got a few minutes to spare or kill, I run down this list, and do one or two of them – it makes my time more productive, and tends to give me longer blocks of free time later, because I’ve already finished all the quick tasks that tend to pile up at the end of my task list.

Make a Phone Call

Since most of us seem to be near a phone just about 24 hours a day, and always seem to have someone we should or have to call, free moments are the natural time to make a few phone calls. Only having ten minutes is a nice bonus – it makes sure you’re not going to get into some long, drawn-out conversation you’d rather not have. Whether you need to follow up on something, make a plan, or just catch up with a friend, phone calls can be done quickly, and anywhere.

Cook

If you’ve got a few minutes, make yourself some food, either for now or for later. Sometimes I’ll make lunch for the next day, or just throw together a snack for when I inevitably get hungry (usually a point when I don’t have ten seconds to spare, much less ten minutes). Having something around to munch on, or having the cooking process started, makes it all go faster when I need it to.

Nap

I’m a huge proponent of cat-naps, and anyone who says they don’t work is a dirty liar. Put your head down, close your eyes, and go to sleep. Sure, you’ve only got ten minutes, but who cares? The simple act of closing your eyes, clearing your head and relaxing (more akin to meditation) is hugely beneficial, as is even a few minutes of sleep. You’ll come back rejuvenated, in a better place to do more later.

Read Something

Keep a reading list somewhere accessible. I used to have a bookmarks file on my computer called “Read Later”; now I use Instapaper. Wherever you keep it, keep a list of things you want to read of watch, and plow through a few of them in spare moments. Applications like Instapaper are great because they have mobile versions, but any list you can come up with works.

Write Emails

This is much the same as phone calls – we’ve all got emails we could write, even if they’re not absolutely essential this very second. For me, at least, I hate writing emails longer than about six sentences, so I tend to leave them off as long as possible. I realize, though, that in ten minutes I can write a number of emails, and get through a good chunk of my “Reply To” list. Makes other people happy, and makes me feel more productive. Win-win.

Strike Up a Conversation

If you’ve got nothing to do, why not go build up a relationship? Maybe it’s the person in your neighbor cubicle, or maybe it’s the girl behind the counter at the coffee shop – whoever it is, strike up a conversation. Time flies, and who knows? You might just meet someone fascinating.

Clean Up

The single most productive thing I do in these in-between times is organize. In ten minutes, it’s ridiculous how much filing I can get done, or how much email purging and sorting I can get through. Pick one area or one task, and plow through it. I try to clear my desk in ten minutes, and almost always find I can. Usually I just throw everything away, but that’s beside the point. Ten minutes is more than enough time to make a huge dent in even the biggest piles of junk.

Brainstorm

Brainstorming and mind mapping are great ways to spend a few spare minutes, and are great because you can do either with almost anything: a computer, paper, a napkin, or whatever you might find at hand. Just start writing stuff – what do you have to do? What cool ideas do you have? You’ll be amazed how much comes out, and how quickly, when you just sit there and start writing. Or, try making a list of 100, a list centered around a particular topic (say, Ideas for Making Millions) that’s exactly 100: no more, no less. Only having ten minutes makes the ideas fly out, and you’ll be amazed how good they are.

Stumble

StumbleUpon, a website/toolbar that takes you to random webpage after random webpage, is frequently single-handedly credited with the downfall of Western Civilization. You know what? I’m cool with that. Stumbling is a great way to learn new things, expose yourself to interesting Web tidbits you’d never find otherwise, and broaden your horizons of all things Web. Spend a few minutes with StumbleUpon, and I guarantee you’ll learn something.

Journal

I kept a journal for a long time, and then stopped once I discovered I’m not interesting in the least. Now I wish I hadn’t stopped – who knows who might one day find it interesting, or when I’ll want to look back? Instead of a long-form journal (though I highly recommend keeping one if it works for you), just take a few minutes and write down a few high- and low-lights of the day. Usually, just jot down the first few things that come to mind about your life since you wrote last. In a year, ten years, or a hundred, you’ll be glad you did.

What do you do to fill in the blanks, and make use of these short bursts of free time?

via 10 Ways To Be Productive in 10 Minutes – Stepcase Lifehack.

Tags: ,

How to Burn and Normalize MP3 to Audio CD in Ubuntu Linux

I needed to burn some CDs for our weekend at Put-In-Bay. This was be my first foray into CD burning under linux. After a couple minutes of searching, I found these instructions and the rest was easy!


The most usual and popular way to create a “mix-tape” Audio CD is to burn it from a collection of MP3 songs taken from several sources.

However as the mp3′s are ripped from several sources, there would be inconsistencies in the volume which would create an annoyance if one had to readjust the CD player volume from song-to-song.

A “Normalization” process would automatically fixed the audio so that all song would have the same amount of volume, but sadly the default Serpentine Audio CD creator that comes with Ubuntu does not support normalization.

How to normalize MP3s

First of all open a terminal and install normalize-audio package:

sudo apt-get install normalize-audio

Then change directory to your mp3 collections to be burned and execute:

normalize-audio -m -v  .mp3

normalize-audio will then compute the files level one-by-one and then will apply normalization on all mp3 files.

You can then use your favorite CD burner application like Serpentine to burn the normalized MP3 files to make an audio CD.

Normalize-audio also supports ogg files for normalization.

Happy burning!

via How to Burn and Normalize MP3 to Audio CD in Ubuntu Linux : mypapit gnu/linux blog.

Tags: , , ,

13-year-old trades iPod for Walkman, reports on mysterious ancient artifact

If you want to get an idea of just how fast technology moves, a brilliant piece from the BBC should help light the way. The setup is simple enough: 13-year-old Scott Campbell is given a Walkman and told by his dad that it was “the iPod of his day” — and that's when the fun begins. Having never used or even seen the device, the young man proceeds to experience the kind of equilibrium-destroying confusion which we can only imagine the elderly first felt when attempting to set a VCR timer you do remember what VCRs are, right?. We've collected a few of the choicest bits from the teen's observations, but we highly suggest you read the full article… you won't be sorry. Our favorite picks direct quotes:

  • When I wore it walking down the street or going into shops, I got strange looks, a mixture of surprise and curiosity, that made me a little embarrassed.
  • It took me three days to figure out that there was another side to the tape. That was not the only naive mistake that I made; I mistook the metal/normal switch on the Walkman for a genre-specific equaliser, but later I discovered that it was in fact used to switch between two different types of cassette.
  • I managed to create an impromptu shuffle feature simply by holding down “rewind” and releasing it randomly – effective, if a little laboured.
  • When playing, it is clearly evident that the music sounds significantly different than when played on an MP3 player, mainly because of the hissy backtrack and odd warbly noises on the Walkman.

via 13-year-old trades iPod for Walkman, reports on mysterious ancient artifact.

original article: Giving up my iPod for a Walkman.

Tags: ,

Will social media kill off the intranet in years to come?

The way we communicate and share information is changing faster than ever before, there are more means of conversation and networks within which we can tap into than Sir Tim Berners Lee, the inventor of the internet, could ever have dreamed of, while the lines between work and play have been forever blurred. There’s no going back. Only forwards. Take Michael Jackson’s tragic early death… confirmation of his demise, followed by dozens of celebrity 140 character-long obituaries had hit Twitter before any other media organization had time to react.

via Will social media kill off the intranet in years to come?.

Tags:

I have a Suggestion for Microsoft – Geek News Central

Of course, now that I’ve become a linux snob, I still wouldn’t buy a $50 copy of Windows, but I have to admit that the prohibitive cost is the main obstacle to upgrading. For most people I know, it’s easier to buy a new computer with Vista on it (why they want Vista is beyond me…)

Then again, Microsoft is probably happy with that too…


I have a Suggestion for Microsoft…

Posted by susabelle at 6:33 AM on June 26, 2009

How about you sell your new operating system for under $50? I’ll bet you’ll make as much or more money than selling it for $300 a pop. Really, I think so!

The main reason I’ve not upgraded my personal laptop from XP is not because the hardware can’t handle it. The reason is that I do not want to pay $200+ for the version of Windows Vista that I want Ultimate. There is not enough compelling reason for me to pay the price for the upgrade. But if the upgrade were $30, or even $50, I might just be inclined to purchase it.

This is one time where Apple is doing it right. I may fuss about the high cost of their hardware, but they have it right when it comes to software. The upgrade to Snow Leopard, which is coming out soon, is just $30. That’s a price almost anyone can swallow, and will quickly and easily be paid by customers.

Microsoft, on the other hand, has to spend much of their time, energy, and programming to try to staunch the bleeding wound that is pirated Windows software. There are so many workarounds, even to their highly-touted Windows Genuine Advantage, that there is no reason to even consider paying $200 or better to upgrade to Vista. I think there would be a lot less piracy of Windows software if the prices were more reasonable than they are. I also think more people would upgrade to a new operating system if the prices were under $50. It is likely that Microsoft would easily make as much as they are now using the higher price tiers, and may make even more as people who didn’t want to upgrade in the first place may be tempted to upgrade due to the phenomenally low price.

Of course they could just make the same amount, but they would also be meeting their goal of seeing genuine copies of Windows on machines, instead of all the pirated and/or “borrowed” copies that are floating around out there now.

via I have a Suggestion for Microsoft – Geek News Central.

Tags: , ,

Scrum for One – Stepcase Lifehack

Scrum 101

Although there are whole textbooks devoted to managing teams and their projects using Scrum, the basic principles are very simple:

  • Do what you can with what you have. Projects stall because some resource – whether it’s material, knowledge, or manpower – is missing. Usually, though, there are plenty of things that can be done even without those resources – other parts of the system to build, creative workarounds, standards to devise, and so on. During the planning of each stage, and in daily “check-in” meetings along the way, these shortfalls are taken into account and work designed around them so that a lack of resources doesn’t have to create a lack of progress.
  • Constant feedback. As I just mentioned, Scrum encourages daily contact between its team-members, so that a nobody stalls and holds up the whole project, and b the collective knowledge of the whole team can be brought to bear on new problems in creative ways. Meetings are short, as short as 15 minutes, and center around three questions:
    1. What have you accomplished so far?
    2. What will you accomplish today?
    3. What’s preventing you from making progress right now?

    These simple questions are meant to identify any “logjams” and break them up before they hold up the entire project.

  • Work towards clearly-defined short-term goals. Scrum projects are, generally-speaking, point-releases of the software under development – that is, they are significant but relatively simple evolutionary improvements of the state of the project at the beginning of the project. For example, a set of new functions could be implemented, an interface designed, a database structure mapped out, and so on. “Write browser” is too big of a project, it’s realization too far off, to make for a meaningful Scrum project; “correct bug in line 1178” too small. Ideally, as each project is completed, the software under development should be in a usable state – Scrum was developed to deal with the contingencies of the software world, where projects often need to be rushed into market to combat a competing project, or just to bring in an income.
  • Sprint. The basic working unit of Scrum is the Sprint – a focused dash towards the completion of the immediate project goals. At the beginning of the Sprint, the team determines exactly what resources are available to them, what they intend to achieve given those resources, and how long they’ll work on it. Then, they work on those objectives, and those objectives only. The Sprint is sacrosanct – its members work on the project they’ve put together and nothing else until the Sprint is completed. It might be a week, it might be 30 days, or anywhere in between – whatever time they’ve agreed on is dedicated solely to the Sprint. When it’s done, team members might rotate out of or into the team, or be assigned to other projects, but until then – they Sprint.

Scrumming Solo

Seems to me that, with a little modification, those are pretty good principles for anyone with some big projects on their plate – especially if you, like me, have a tendency to get side-railed. Of course, most of our projects aren’t collaborative, and they’re rarely as compartmentalized as computer programs, either. The idea of developing a project by evolutionary steps, with each step creating a potentially usable end-product, simply doesn’t apply to the kind of long-term projects most of us have as individuals – things like writing a book, learning a foreign language, or earning a promotion.

But the idea of Scrum is, I think, very applicable to our personal lives. The whole point is, through a process of constant self-awareness, to identify what’s holding us back, how we can work around it, and where the next few days or weeks should take us. Consider, then, “Scrum for One”:

  • Do what you can with what you have. There are bound to be hang-ups in any project worth doing, and it’s all too easy to look at a project and despair because you don’t have whatever you need to finish it. Well, you may not have what you need to finish, but chances are you have what you need to start, to do at least some of the steps needed to get yourself somewhere close to the finish line. And you can take heart from this peculiarity of Scrum: often, when working under less than ideal circumstances without all the necessities to finish a project, Scrum teams find that either a new solution emerges that’s much more within their grasp or, just as often, that the missing element isn’t really needed in the first place. At the worst, you’ll give yourself the time you need to come up with the missing piece – and meanwhile you’ll be moving inexorably closer to your goal.
  • Constant self-reflection. If you’re a fan of Allen, Covey, or Drucker, you’ve probably already accepted the importance of a weekly review. Scrum for One suggests that more frequent reflection might be helpful – nothing at the scale of a full weekly review, but a few moments of honesty each morning to define the work in front of you and any problems that might be standing in the way. Brainstorm a few minutes to see if you can solve the issue, and if not, put it in your to-do list for later action. A lot of time, just asking “What’s standing in my way?”is enough to trigger a solution – more often than not, the problem lies more in ourselves than in our situation.
  • Work towards clearly-defined, short-term goals. Give yourself a time limit and set a reasonable goal – reasonable, but meaningful – to reach by the end of that period. Projects that stretch out in front of you for months or years are discouraging (which is why so few people write books) while projects that are too small often aren’t very satisfying to complete.
  • Sprint. Sprinting the way Scrum teams do it won’t really work for individuals – you probably have a lot of different roles to play on a day-to-day basis, which means focusing on a single project to the exclusion of everything else is going to be difficult, if its even possible. What you can do, though, is block out a number of hours every day and use them to focus strictly on one project – no distractions, no knocking off early, no nothing until you reach your goal.

Obviously this isn’t anything like a complete productivity system, but it’s interesting nonetheless. Scrum is a very effective way of managing projects, and is used by software giants like Microsoft as well as tiny start-ups and everything in between. If nothing else, next time you’re stuck, ask yourself the simple question, “What’s standing in my way right now?” and see if that doesn’t lead to “OK, what am I going to do about it?”

via Scrum for One – Stepcase Lifehack.

The Worst U.S. Cities to Work in IT – CIO.com

Cleveland, Ohio – We’re number 3!!


"Buy a house for the price of a VCR!"

Cleveland may “rock” it's home to the Rock and Roll Hall of Fame , but beyond that you're looking at one of the highest foreclosure rates in the U.S., huge population declines and dying industries of yesteryear. Cleveland was also named to the top 10 of Forbes' “Fastest Dying U.S. Cities” list. And just to kick more sand, Ohio native and basketball star LeBron James could bolt from the Cavaliers NBA franchise and head to New York in summer 2010. Goodbye NBA title hopes.

Available IT jobs in Cleveland as posted on June 18 on Dice.com: 211

via The Worst U.S. Cities to Work in IT – CIO.com – Business Technology Leadership.

Tags:

PNG transparency in IE: HowTo

Was working on a project at work and noticed that while a web page looked fine in Firefox, it looked really bad in IE. The culprit was PNG transparency not fully supported in IE versions less than 7. As if I needed another reason to stop using IE….


via PNG in Internet Explorer: How to Use.

Method 2: recommended JS Include File
If you wish to use the code on multiples of pages, you may prefer to use a JS include file. First, save the JS file below as: pngfix.js. Place the file in your webpage directory, then add the following construct on each of your pages somewhere in the section:

1
2
3
<!--[if lt IE 7.]>
<script defer type="text/javascript" src="pngfix.js"></script>
<![endif]-->

Note the use of the defer keyword. This trick causes the images to be replaced before they are rendered. Earlier versions of this script did not use this method, occasionally resulting in an unpleasant screen flicker as the PNGs were being filtered.
The Code:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
<!--[if lt IE 7]>
<script language="JavaScript">
function correctPNG() // correctly handle PNG transparency in Win IE 5.5 &#038; 6.
{
   var arVersion = navigator.appVersion.split("MSIE")
   var version = parseFloat(arVersion[1])
   if ((version >= 5.5) &#038;& (document.body.filters)) 
   {
      for(var i=0; i<document.images.length; i++)
      {
         var img = document.images[i]
         var imgName = img.src.toUpperCase()
         if (imgName.substring(imgName.length-3, imgName.length) == "PNG")
         {
            var imgID = (img.id) ? "id='" + img.id + "' " : ""
            var imgClass = (img.className) ? "class='" + img.className + "' " : ""
            var imgTitle = (img.title) ? "title='" + img.title + "' " : "title='" + img.alt + "' "
            var imgStyle = "display:inline-block;" + img.style.cssText 
            if (img.align == "left") imgStyle = "float:left;" + imgStyle
            if (img.align == "right") imgStyle = "float:right;" + imgStyle
            if (img.parentElement.href) imgStyle = "cursor:hand;" + imgStyle
            var strNewHTML = "<span " + imgID + imgClass + imgTitle
            + " style=\"" + "width:" + img.width + "px; height:" + img.height + "px;" + imgStyle + ";"
            + "filter:progid:DXImageTransform.Microsoft.AlphaImageLoader"
            + "(src=\'" + img.src + "\', sizingMethod='scale');\"></span>" 
            img.outerHTML = strNewHTML
            i = i-1
         }
      }
   }    
}
window.attachEvent("onload", correctPNG);
</script>
<![endif]-->

Tags: , , ,

Inspiring The Burned-Out Computer Programmer

DEAR ANNIE: I do computer programming in a large organization and have seen a lot of turnover in my department lately. The people leaving aren’t moving up into management but are jumping to other companies or leaving programming altogether. The instructor in a refresher course I took recently confirmed my impression, remarking that she thinks programmers are burning out 1 faster than other workers and 2 faster than they were a few years ago. Yet one hears all the time about the shortage of programmers and how badly companies need more of us. My question is, What if anything can be done to prevent programmer burnout? And why aren’t more companies–mine, for instance–doing it? STUMPED

DEAR STUMPED: If my mail is any guide, programmers are indeed a disgruntled bunch. A few common complaints: Having to write programs using bad data, or so-called mystery data, supplied by nonprogrammers. Inadequate or nonexistent manuals, or employers who don’t want to spring for enough manuals, so that two or more programmers have to share, which leads to chaos. Having to write one unrelated program after another, which precludes the chance to build a coherent body of work. Lack of data-entry support staff, so that programmers spend too much time working way below their level of expertise. Being the last person or team to work on a given project, yet getting blamed for all delays since the project’s inception. Getting no respect from anyone else in the organization, hence few opportunities for training or advancement. I could go on, but I won’t.

It’s worth noting that these woes prevail mostly in companies whose main business is not software. “If you’re doing software design for, say, Microsoft, you know the relevance of what you’re doing–how it will help the company, its impact on the marketplace, and so on. In a very real sense you are the company, so you naturally get treated pretty well, and you’re going to be highly motivated,” says Byron Woollen, a partner at management strategy firm Lucid Consulting in New York City. “But elsewhere–for example, in big investment banks–programmers are treated like pieceworkers. Nobody bothers to tell them how their work fits into the big picture. They just get task after task heaped on them.” Who wouldn’t burn out?

Woollen, an organizational psychologist who has done several studies on why programmers quit their jobs, has three suggestions for burnout prevention, and they are ideas that might well be useful for managers trying to hold on to workers in any technical specialty. First, he says, bosses need to spell out not just what needs doing, but why. What is the strategic importance of the latest rush project? Whom will it benefit, and how? The explanations needn’t be overly wordy, but the clearer and more compelling, the better.

Second, Woollen notes, programmers often feel (usually accurately) that they are stuck in a forgotten backwater, with no opportunity to move up: “Because they’re extremely analytical and detail-oriented, and often quite introverted besides, management doesn’t even bother to evaluate them for opportunities that require good people skills.” That could be a big mistake. Programmers should be screened for leadership jobs just like anybody else. Let them know exactly what qualities you are seeking in candidates for management positions, and give everybody a fair shot. Says Woollen: “If someone has a chance to be evaluated for a bigger job and they don’t make the cut, at least they know why they’re not moving up–instead of just feeling ignored, which is the worst thing you can do to someone you are hoping to keep.”

And third, don’t neglect to help programmers develop their technical skills: “Somebody sitting there doing C+++ [programming] for three years is going to get bored and will leave for a more challenging opportunity. So offer lots of training in new technologies,” says Woollen.

Of course, all this is a lot of bother, which (to answer your second question) is probably why more companies don’t do it. In the long run, though, paying attention to programmers’ concerns and helping them develop real careers is very likely easier and cheaper than constantly having to replace them.

via Inspiring The Burned-Out Computer Programmer – December 18, 2000.

Tags: ,

Medibuntu – Community Ubuntu Documentation

Adding the Repositories

Below are the instructions to add the Medibuntu repository to your system’s list of APT repositories. These are commands that should be run in the Terminal (Applications -> Accessories -> Terminal).

If you are new to Ubuntu, please see https://help.ubuntu.com/community/Repositories/Ubuntu for an overview of repositories.

Add Medibuntu to your sources.list, as well as its GPG key to your keyring. Make sure to use the correct sources.list that corresponds to your current distribution.

Any Ubuntu Release and keyring:

sudo wget http://www.medibuntu.org/sources.list.d/`lsb_release -cs`.list --output-document=/etc/apt/sources.list.d/medibuntu.list; sudo apt-get -q update; sudo apt-get --yes -q --allow-unauthenticated install medibuntu-keyring; sudo apt-get -q update

Ubuntu 9.04 “Jaunty Jackalope”:

sudo wget http://www.medibuntu.org/sources.list.d/jaunty.list --output-document=/etc/apt/sources.list.d/medibuntu.list

Ubuntu 8.10 “Intrepid Ibex”:

sudo wget http://www.medibuntu.org/sources.list.d/intrepid.list --output-document=/etc/apt/sources.list.d/medibuntu.list

Ubuntu 8.04 “Hardy Heron”:

sudo wget http://www.medibuntu.org/sources.list.d/hardy.list --output-document=/etc/apt/sources.list.d/medibuntu.list

Ubuntu 7.10 “Gutsy Gibbon”:

sudo wget http://www.medibuntu.org/sources.list.d/gutsy.list --output-document=/etc/apt/sources.list.d/medibuntu.list

Ubuntu 6.06 “Dapper Drake”:

sudo wget http://www.medibuntu.org/sources.list.d/dapper.list --output-document=/etc/apt/sources.list.d/medibuntu.list

Then, add the GPG Key:

sudo apt-get update && sudo apt-get install medibuntu-keyring && sudo apt-get update

You may be asked to accept this package even though it cannot be authenticated. This is normal; typing “Yes” means you trust Medibuntu.


If you have added the entire Medibuntu repository, you just need to install the package using APT:

sudo apt-get install libdvdcss2 w32codecs

via Medibuntu – Community Ubuntu Documentation.

Tags: , , ,

Rip a DVD into a DivX with Mencoder on MisterHowto.com

Rip a DVD into a DivX with Mencoder

We’re going to use Mencoder and Mplayer to backup a DVD you own into a DivX file.

Find out which part and language we want

mplayer dvd://2

A DVD can have several “titles” (parts), and the actual movie is not always the first one. Replace “2″ in the command above with any number, beginning from 1, until you find the part you want. Keep that number in mind.

The language you want is not necessarily the default one either. Run this command:

mplayer -alang en dvd://2

Replace “2″ with the number you found earlier, and “en” (English) with a two-letter code for the language you want (fr for French, etc.).

Make the right crop

The DVD will probably have black borders at the top and bottom of the movie, and we don’t want them in our DivX (they would make the file pointlessly larger), so we need to crop them out. Run this command:

mplayer -ss 60 -vf cropdetect dvd://2

This will make Mplayer start playing the movie 60 seconds after the beginning (replace “2″ with the right title number). Navigate in the movie (Right and Left arrows) until you reach a sequence that is bright enough to let you clearly see the movie’s borders. Close the movie and look at what Mplayer has been outputting in the terminal: lots of lines like this one:

crop area: X: 0..719 Y: 72..503 (-vf crop=720:432:0:72)30.0% 33 0

The part between brackets is exactly what you’ll need to use in a few moments to get the right crop.

Encode!

We’re all set, let’s encode the movie. We’re going to do it in two passes (better quality).

mencoder -alang en dvd://2 -ovc xvid -xvidencopts pass=2:bitrate=-700000 -oac mp3lame -vf crop=720:432:0:72 -o Movie.avi

Of course, replace “en”, “2″ and the crop options with what you need. The “bitrate” value is usually set to how much disk space (in Kb) the video will use for each second. However, by using a negative value (here -700000) you can just ask for a (very) approximate file size (here about 700 M) and Mencoder will calculate the bitrate for you.

via Rip a DVD into a DivX with Mencoder on MisterHowto.com.

Tags: , , ,

ASP syntax Highlight for BlueFish

Re: ASP syntax Highlight for BlueFish
this reply is way overdue, but just in case someone is still looking for it:
add this to the bottom of the ~/.bluefish/highlighting file:
Code:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
patterns: asp:Numbers:0:\\-?([0-9]*\\.)?[0-9]+::2:^ASP Block$:#330099::2:1:
patterns: asp:Operators:1:[\\+\\-\\*\\/\\.\\\\,<>=\\(\\)_]+::2:^ASP Block$:blue::1:1:
patterns: asp:Variables:1:[a-z_][a-z0-9]*::2:^ASP Block$:#cc0000::1:0:
patterns: asp:Comment (single line):0:'.*?$::2:^ASP Block$:#7777aa::1:2:
patterns: asp:String (double quoted):0:":":1:^ASP Block$:green::1:1:
patterns: asp:String (double quote escaped):0:""::3:^String \\(double quoted\\)$:::1:1:
patterns: asp:Flow Control:1:\\b(if|and|or|then|else|elseif|case|select|while|until|wend|do|loop|for|to|step|next|end|each|in)\\b::2:^ASP Block$:#000000::2:0:
patterns: asp:Keywords:1:\\b(session|server|request|response|dim|redim|end|sub|function|set|nothing|not|true|false)\\b::2:^ASP Block$:#000000::2:0:
patterns: asp:String (SQL Functions):1:\\b(MATCH|AGAINST|ASCII|CHAR|SOUNDEX|MAX|MIN|MD5|LCASE|UCASE|PASSWORD|ENCRYPT|RAND|LAST_INSERT_ID|COUNT|AVG|SUM|NOW|CURDATE|CURDATE|FROM_DAYS|FROM_UNIXTIME|PERIOD_ADD|PERIOD_DIFF|TO_DAYS|UNIX_TIMESTAMP|USER|WEEKDAY|CONCAT|DATE_(FORMAT|ADD|SUB))\\b\\(:\\):1:^String \\(double quoted\\)$:#999966::2:1:
patterns: asp:String (SQL Keywords):1:\\b(SELECT|INSERT|UPDATE|DELETE|DROP|GROUP BY|FROM|IN|INTO|ON|AS|AND|NOT|OR|NULL|SET|VALUES|WHERE|ORDER BY|LIMIT|LEFT|RIGHT|FULL|INNER|OUTER|JOIN|ASC|DESC|AND|OR)\\b::2:^String \\(double quoted\\)$:green:yellow:2:1:
patterns: asp:ASP Block:1:<%:%>:1:^(top|HTML|HTML Attribute Contents)$:#0000FF::0:0:
patterns: asp:Comment:0:<!--:-->:1::#aaaaaa::1:2:
patterns: asp:HTML Entities:1:&[^; ]*;::2::#999999::2:0:
patterns: asp:HTML DocType:1:<![a-z0-9]+:[^?-]>:1::#bb8800::1:1:
patterns: asp:HTML Attribute Contents:1:2::3:^HTML Attributes$:#cc0000::0:0:
patterns: asp:HTML Attributes:1:((?\:xml\:)?[a-z][a-z-]*=)[ \\n\\t]*((?\:"[^"]+")|(?\:'[^']+'))::2:^HTML$:#660099::0:0:
patterns: asp:<html> Tags:1:1::3:^HTML$:#000066::2:0:
patterns: asp:HTML:1:<(/?[a-z][a-z0-9]*):>:1::#0000ee::0:0:

and add this line to the ~/.bluefish/rcfile_v2 file:
Code:

1
filetypes: asp:.asp:::1::0:

via ASP syntax Highlight for BlueFish – Ubuntu Forums.

Tags: , , ,

How To Upgrade Ubuntu

First become root:

sudo su

Then run

apt-get update

and install the package update-manager-core:

apt-get install update-manager-core

Open the file /etc/update-manager/release-upgrades…

vi /etc/update-manager/release-upgrades

… and change Prompt=lts to Prompt=normal:

[...]
 
Prompt=normal

Then run

do-release-upgrade

to start the distribution upgrade.

Confirm that you want to do the upgrade:

Do you want to start the upgrade?
 
2 packages are going to be removed. 48 new packages are going to be
 
installed. 376 packages are going to be upgraded.
 
You have to download a total of 242M. This download will take about 6
 
minutes with your connection.
 
Fetching and installing the upgrade can take several hours. Once the
 
download has finished, the process cannot be cancelled.
 
Continue [yN]  Details [d] Y

At the end of the upgrade process, you should remove obsolete packages:

Remove obsolete packages?
 
21 packages are going to be removed.
 
Continue [yN]  Details [d] Y
 
The server needs to be rebooted to complete the upgrade:
 
System upgrade is complete.
 
Restart required
 
To finish the upgrade, a restart is required.
 
If you select 'y' the system will be restarted.
 
Continue [yN] Y

via How To Upgrade Ubuntu 8.04 (Hardy Heron) To 8.10 (Intrepid Ibex) (Desktop & Server) | HowtoForge – Linux Howtos and Tutorials.

Tags: , ,

Reminder: Don't Forward that Funny Email

Dear friends, foes, and relatives. Please, don’t send that funny email. OK, actually, as a last exception, please forward this post to everyone you know.

via Gizmodo – Reminder: Don’t Forward that Funny Email – Don’t forward that funny email.

Tags: