Kindle Converter Project

Amazon Kindle

Amazon Kindle

I am a super huge fan of the Amazon Kindle. For any that know me it is one the few devices that does travel everywhere I do whether I am going to use it or not. Still there is a couple of problems with the device. The biggest of which is getting my documents on the device without have to pass them through amazon. Since usually upload whole series of books at the same time it becomes a massive pain to email each pdf…html file one at a time to Amazon then wait for the response so I can download it and copy it onto my device.

 

The obvious solution to this problem is to use MobiPocket Creator. There is no question that this is a great solution. But again I do multiple files at the same time each time through the program depending on the size of the PDF I have it is about 5 screens and then a lengthy processing delay since MobiPocket does like to extract images from PDFs. Ultimately this is too much time delay. Although you can run the program multiple times on top of itself and do multiple files. It leaves a good bit of garbage from the processing. I gotta admit this is super annoying as well.

My solution is not so far from MobiPocket Creator. A derivative if you will called mobigen. This cute little command line tool does all the big work of MobiPocket Creator as far as outputing a mobi file from a HTML input. So now its all about getting our documents into an HTML file and passing it to mobigen. In most cases getting a file to HTML these days is not that bad. The 3 Most common files I have in my book library are HTML, PDF, and LIT. Of course LIT is a bit of an oddball since it is a Microsoft product that seems to have lost a lot of favor. 

To wrap up the story I grabbed AutoIt v3 and built a real dirty file processing interface for the data processors I found to use with my solution which I call the Auto Kindle Converter (Yea I know now the best name ever but….) In reality it works off file extensions. Figures out the file type and location and passes it to the correct command line processor. pdf2html for PDF files, clit for lit files, and mobigen for straight HTML and for the output of these other processors. I think in the end the app is less then 40 lines long but it does great things within the AutoIt runtime.

Here is a quick Tutorial for v0.2.20

Once you install the program you will find it in the start menu.

Your First Screen Looks Like This.

auto-kindle-start-page

File Select

Browse to a select a file and click Open

Next:

A new window opens asking for a destination for the processed file

 

Select Destination

Select Destination

At this point user input is done. The app will do the rest you will see a progress bar like this

 

Progress Bar

Progress Bar

At this point as long as we haven’t hit some kind of random file processing error you file should end up on you Kindle if you selected your Kindle as the destination.

 

Errors you may encounter.

Document may have Copy Protection and Cannot be Processed

This I admit is a bit of a general error. But what it does tell us is that there was a stop in the middle of the conversion.

In the case of a PDF it could be that the file was Copy Protected

In the case of a HTML file the system is still showing the file as open and cannot move the file. The above error may show like this:

Output Filename may be Incorrect. Before Trying Again Look Here (the location of the installed Temp folder)

In the case of a LIT file this is a known issue with how clit generates a filename for its output file. clit can retrieve the internal title of the document and at times this is different from the filename causing the output file to be lost by the Kindle Converter. This is actually the easiest to resolve. In the programs application folder is a Temp folder. This keeps all the garbage intermediate files from the last processing until you run the application again. So if you get this error when processing a LIT file you can just copy the HTML that was left in the Temp folder to somewhere safe and run the program again on the html file to get the processed output. I am working on a work around for this one but as of v0.2.20 it can be a bit annoying.

I hope you enjoy this application.

Please post any comments about it here. At Sourceforge or on my forum http://forum.deadmessengers.net HERE

 

DOWNLOAD

Share your Dead:
  • Digg
  • Facebook
  • del.icio.us
  • Google Bookmarks
  • Technorati
  • StumbleUpon
  • Sphinn
  • Mixx
  • Live
  • Slashdot
  • TwitThis

Where Was I Today (To Love a Muse)

After a long and restless night being the victim of a racing mind I granted myself a reprieve by racing my car. Two hours later I was ripping through god knows where while my mind wandered the opposite direction the GPS instructed. I considered some the musings from my journal in my journal I discovered a great flaw in my love. I love a muse, her name is “Clio”. This discovery drew the fog away from my travels and it is possible that I left home for a long journey without my mule or lantern. The question came thus can you love a muse. Can you really love someone who inspires you or does your need take a new form. In the absence of your muse the withdrawal could be like the loss of a love. I am not completely sure but this is an important realization less about love and more about myself. What do I crave then connection or inspiration. When inspired and driven no one else matters in the world. This is why as much as I would love to have a dog I will probably never own one.


Now this next statement will seem like heracy to any animal lover but its just and animal and I will probably neglect it on one of my educated quests for whatever the spirit moved me to follow that week. In the end it will always be like I am 12 years old. This is easy since I only seem to be able to actively remember the last 7-10 years of my life. I want the dog but I probably will not take care of it. I guess the only benifit of maturity or growing old (you pick) is I can figure out what I am really going to do and react accordingly. So it is obvious form the derivation that I am more focused on the constant journey then the interim between legs. Its about personal growth sure being in love with someone can initiate personal growth. I am proof of that, when I meet my “Clio” things happened rapidly. Bought new clothes, actually paid for a haircut, (I was not as bad as it sounds), stopped suffering from depression, lost 50lbs, started saving money, stopped parting and drinking, changed all those nasty little annoying habits messy people have and turned into a real person, stopped hating my job, and most of all started smiling all the time. This all happened in the course of a week or two. Now they say that people don’t change but that I think is only when they are forced. Inspired is another world, the terminus is the focus how you get there is all but lost and the drive is automatic. So my first rationalization of this was, Hey!I love “Clio”!, with little thought of why or was this rational. Such is the way many people feel when they experience similar biological changes.


Not to put those people down if they don’t have a huge paradigm shift in their life when they meet the right person but maybe that is exactly that elusive indicator of real honest emotional involvement. At this point I am not even talking about connecting with another person. From the wikipedia definition of a muse: spirits that embody the arts and inspire the creation process with their graces. From this I would allow myself to believe that maybe the effect of a muse will be somewhat more intense then that of a mortal. Also a muse is not something that can put all its energy in one place. Something like that has to supercede what a person is going to be used to on average and cause a disassociative dilemma within the persons predefined views of love and normal reaction. As humans we spend most of our time identifying phenomona and sticking it in a box. When something comes along that move way to the limit of one of our boxes we extend the box that most closely matches it to encompass the new concept and in general I think it is mostly forgotten once associated. The problem is I am confilicted now, I know love as much as any person can. I have a lot of sayings about love to generalize it:


There is always another (enter persons name)


You fall in love for what makes someone perfect, you stay in love for those things that make them imperfect


Every love is different, You will never experience the same love again, The next one will be just as powerful and debilitating


Its this last one that is throwing me off. I don’t feel debilitated only empowered. Thats never the way it works, of course I have outlined a rule to cover those examples of love as well but still I can only feel lucky to have the opportunity to experience a muse. Its a life altering experience and the smiles just keep coming.


So back to the original problem what is the difference between being inspired and being in love. It may not even be fare to try and love a muse how could a mortal entice pure inspiration for very long. I say a muse always wants what it can’t have don’t need to know what it wants. Maybe only a muse can be the mate of a muse. I am not going to venture that I know that yet but its obvious now that being inspired has done more for me then being in love time to create a new box to put this in. Hell passion is passion. Buddhists say among other things that all meetings are providence whether anything important happens during the meeting is immaterial. You never know what it can or could turn into so its all a blessing. I think with that enlightenment you look to get more out of every meeting so far its working. You don’t need an outcome to get something from someone else. You control you expectations and reactions.


Love or inspiration? I can’t tell the difference, and maybe they really are the same thing but awareness of it as one or both has had a huge impact on my nights. Thats when the world gets quiet and the static dissipates, and my inner voice takes over. Giving ephinanys that I will never act upon and sometimes even a sense of remorse for all those things that you did during your life that you only think about when your mind is quiet. It seems harder to live in the now at night. There is just you and your thoughts and billions of parallel processes churning away until the noise gets so loud that you can only beg for sleep or cram you headphones on and let go. I don’t have to worry anymore if I love “Clio” its the effect of the muse I only see the terminus and now I can just enjoy the ride. The best part is that even if I am a fool in the end stupidity is cured every 10 or so years, look at yourself 10 years ago if you can safely say boy I was an idiot then your last bout of stupidity has been cured. Unfortunately you will have to wait another 10 years for this one but take solace in the fact that you don’t know your an idiot yet.


I pray that you are all inspired for at lease fall in love with “Clio”.

Share your Dead:
  • Digg
  • Facebook
  • del.icio.us
  • Google Bookmarks
  • Technorati
  • StumbleUpon
  • Sphinn
  • Mixx
  • Live
  • Slashdot
  • TwitThis

Spontaneous Human Combustion

Of late an alarmingly high number of synthetic people have been bursting into flames in their hot-tubs…..No wait thats not right…..Don’t step in the Hot Lava Boy!

Oh the humanity. In a not quite Southpark-esque I am not asking people to pass gass to save their lives. The true causes of spontaneous human combustion are well documented.

Burning at the stake (Joan of Arc),

One of these may be a bad place to avoid combustion……

Or maybe one of these

See the traditional view of spontaneous human combustion is that the person caught fire without any external influence. This perception may be the ultimate failing in order to diagnose human Combustion. I see it this way, back in WWII if a shot you with a flamethrower and you caught fire that’s spontaneous human Combustion. You went from one moment when you were not burning to the next when you were. It is a dangerously slippery slope. With this logic at any moment we could all spontaneously combust. What then how do you go home that evening and explain yourself. Its like a kid who refuses not to play with gunpowder then comes home with his eyebrows burned off. PEOPLE!! Do you really think you are going to fool anyone all black and charred, they are going to know what you were doing. They are not going to care if you are a heretic who hears God in your head or if you are bad at parking planes. You were just another kid who couldn’t keep it in your pants.

Have you seen this man?

If so pray for a bucket of water.

The bi-weekly meeting of Spontaneous Anonymous has been changed to Thursdays at 7:45pm due to the fact that none of you will admit that they have a problem!   Flamers!   As usual traction beds are first come first serve. Nurses will be on hand to change bandages at the break. Its still bring you own skin graft month so maybe you will get lucky and meed someone new……….and you can ask them to donate.

(Michelle’s Idea)

Share your Dead:
  • Digg
  • Facebook
  • del.icio.us
  • Google Bookmarks
  • Technorati
  • StumbleUpon
  • Sphinn
  • Mixx
  • Live
  • Slashdot
  • TwitThis

The Hopelessly Out of Place.

From the Floor to the Ceiling

From the Floor to the Ceiling

So today this cute comes into my computer lab and I can tell from the moment she looks at the board to see who is on duty that she is going to be lost. So I do my best to never look like I am actually in the room to do anything like my own homework when I see someone acting like this. I try and give off as much of the impression that I am only here because I have to be here as possible. Still many don’t seem to notice. I guess I could just be bad at it. I doubt that. This is when it dawns on me that the cute s are all in the math department now. Go figure why did I have to join the sweaty boys club of the computer science department when I could be swimming with the hunnies in math. Not to mention since my completion of Calc 3 and a number of discrete mathamatical structures I am completely done with math and never have to look at a math book again just apply it. But back to the subject at hand. I can remember when the world was such a big place that the idea of sticking my hand right up in the air and chanting help would have stood my hair on end maybe even caused a bead of sweat to come from my forehead (or the fivehead it is now) but no denying it I love to view the frustration and fear that so many of these student. I remember being there and they will remember it too once they have overcome it and are now able to stand up in the middle of a crowd and scream help!

So what does that make me now I guess a well balanced 20 something going to school in his spare time to recapture some forgotten youth and enjoy some of the frivolities that I didn’t enjoy when given the chance the first time around. Maybe that just makes me a bit more wise to see the past and still enjoy it. The past is always better revisited it. You don’t seem to like your life the first time around but in contrast the the differences in your life now its wild and wonderful.

To the best of my knowledge this is the kind of events in a persons life that get overshadowed by the current issues at hand. Homework, Test, Test, the lesson is packed away behind worry and work. Someday though it will with the help of other experiences push through and the hopelessly out of place will find the world more open…..or Spontaniously Combust….Bring water!  ;P

Share your Dead:
  • Digg
  • Facebook
  • del.icio.us
  • Google Bookmarks
  • Technorati
  • StumbleUpon
  • Sphinn
  • Mixx
  • Live
  • Slashdot
  • TwitThis

The 10 Rules of Video Game Fanboism

In Response to

http://www.destructoid.com/ten-golde…sm-83502.phtml

1: Any criticism of your chosen love is a result of bias:

Once you’ve chosen the object of your fanboyism, be it a console, game or corporation, you are bound by honor to defend it to the last and refuse to entertain the opinions of any would-be detractors. The easiest way to deal with any critique of your passion is to brush it off as bias on the part of the critic. If you feel like a hypocrite for accusing someone of personal bias to champion your own personal preferences, just ignore it. Soon that feeling will pass, right around the time the foam starts forming around your lips.

Besides, you are totally in the right. After all, your chosen Holy Grail is so absolutely perfect that the person bashing it HAS to have some sort of sinister agenda. Nobody would ever, in a million years, want to criticize your favorite console unless they were pursuing a shady vendetta, right? Accusing any detractors of unfair bias will undermine their position completely, and prove that the cause you are championing is utterly freeof negative points.

2: The only defense is attack:

Most of the fanboy’s chief tactics revolve around refusing to engage in intellectual debate. This ensures you can never be proven wrong, as no logical person is able to argue with those to whom logic makes no sense. With that in mind, never, EVER defend your stance with a well-reasoned response. Just attack, attack, attack, and you will ultimately triumph in a war of attrition.

Anything is fair game, from insulting the writer of any criticism, to mocking other consoles or games companies, even if they have nothing to do with the debate — in fact, bringing in such straw men is encouraged, since it makes your argument even less coherent, thus less possible to counter. If somebody asks you a question or calls you out on one of your comments, just ignore them. Don’t attempt to answer any queries, because that may betray the fact that you have no idea what you’re talking about.

3: You are an unpaid salesman:

With great fanboyism comes great responsibility. Not only are you fighting for your cause, you are also looking for new recruits. While psychotically attacking everything in the vicinity, try to also convince other people that what you’re championing is a good purchase. Tell people to play your favorite game, or convince them that your chosen console is worth its high price tag. Remember, the more people who own that which you love, the more validated as a person you become. Even though the makers of your love object aren’t paying you, nor would even piss on you if you were on fire, try and make them some cash. It’s the least you could do.

4: Ignore any positive comments, focus only on the negative:

This goes hand in hand with our first rule, especially if you embark on a campaign against someone you believe has “bias” against your lord and master. Make sure to never engage any positive comments that critics have to say about that which you adore, because otherwise it becomes so much harder to accuse them of ****ting on it 100% of the time. If you simply pretend they have never said good things about your favorite company, then you have carte blanche to make such hyperbolic claims as “every single post you write is an anti-Sony post” or “you put the words “**** Tekken” in between every paragraph.”

Inevitably, because fanboys are liars, your target will eventually provide examples that contradict your hyperbole. Remember our second rule, though — ignore what they say and just keep making your unfounded statements. All’s fair in love and flame war.

5: Call everyone else a “fanboy” before they call you one:

Part of the reason why the word fanboy is so overused is because fanboys themselves use it constantly. This is actually an ingenious ploy put into place to ensure that true fanboys can just slip harmlessly into the crowd, like a stealthy ninja. Their own rampant obsession with a particular videogame or machine then becomes craftily hidden, and it won’t become blatantly obvious that they have a hard-on for Jack Tretton.

If you accuse your opponents of being fanboys first, then you have instantly won the argument and you will be heralded as the King of Arguing About Things On The Internet. You rob them of their ability to call you one, while making sure nobody suspects you, and if you’re really good, those who would dare become your enemies might actually believe they have turned into fanboys and promptly kill themselves. You’re just that awesome at arguing about things on the Internet.

6: Criticisms are old news, who cares?:

A great way to deal with criticism is to state that all negative points are “old news” and that nobody cares anymore. If you’re really witty, you might like to also post a .jpg of an old hat, which will make everyone realize that the news is old hat. When a particular negative point has been going around for a while, that means it becomes less true. For instance, Xbox 360s no longer red ring anymore, because that was controversial in 2007 and nothing lasts longer than a year.

Anybody pointing out valid reasons why your beloved is not entirely perfect can be instantly invalidated by screaming “OLD” at them. They will then surrender unconditionally and march under your fanboy banner, a loyal and lowly subordinate to your iron will.

7: Hit and run:

Remember, as a fanboy, you cannot afford to become engaged in a protracted argument, because your carefully constructed lack of sense may be torn apart under a spotlight. Specialize in hit and run tactics. Attack with force, but make sure not to stick around too long in the aftermath. Spread your attacks over multiple threads rather than a single ongoing debate, as it spreads your opposition thin and means you can safely ignore their counterpoints while continuing to spout obscenities at them. Remember, nothing exists outside of the current thread you’re in, so if you get proven wrong in one debate, you can make the exact same point in another. Just make sure to ignore any reply you get and continue your single-minded assault.

You are the Hydra. For every head that gets cut down, you can grow two in its place. Especially if it’s the head with a dick growing out the top of it.

8: Justify even the stupidest decisions/games:

Even though your paragon of perfection is completely flawless, sometimes a corporation might make a bad decision, or your favorite videogame may have some flaws — stick up for them, and act like they are, in fact, the best things ever. Sony wants to make arrogant PR statements when it’s trailing in sales? Claim they have a right to be arrogant, because Blu-ray is the future. Nintendo wants to focus on casual gamers now? That’s awesome. You never much liked being a hardcore gamer anyway. It’s simple.

This is doubly important if you’re a console fanboy and an exclusive videogame has come out. Even if the game is pure ****, you must champion it to the last man, because it is exclusive, thus anybody who insults the game is insulting your chosen system, thus insulting YOU by proxy. So, if someone says they think Mass Effect is rubbish, you need to deride them as a Sony fanboy who just hates Microsoft because of BIAS. A friend of yours not keen on Heavenly Sword? Call them something really witty like an “XBot” and tell them to “Go back to GAYLO!”

Nobody talks about YOUR man, girlfriend!

9: Resort to melodrama to make your point:

Faint heart ne’er won fair maid, and a sensible person never got the attention he desperately craved. If you want to really make a stand, and also impress everyone who might be looking, you need to explode in a mass of drama and hysteria to make your point. If someone points out a flaw in the Wii, for example, launch into conspiracy theory and paranoia, and tell them you wish they were dead. Saying a bad thing about a videogame console definitely deserves a tragic and painful death in some sort of twisted accident, so you are right to wish it.

Make sure to just triplicate the intensity and rage that your opponent uses, and it will become clear to any spectators that you are in charge. The caps lock is your friend in this situation, as people will associate it with shouting, and find you as commanding a presence as they would if Brian Blessed himself were explaining why the Xbox 360 is better than the PS3, or vice versa.

You will invariably come out on top if you refuse to quantify and blow things completely out of proportion. After all, moderation is for those XBot fags, right?

10: Be a complete and total mother****ing IDIOT!:

Above all else, my friend.

By Wepps

Share your Dead:
  • Digg
  • Facebook
  • del.icio.us
  • Google Bookmarks
  • Technorati
  • StumbleUpon
  • Sphinn
  • Mixx
  • Live
  • Slashdot
  • TwitThis

The New Arrival (palm Centro)

Palm Logo on a Box

When I saw the package with the palm logo at work today. I considered its contents. It was either a palm Centro to test or a huge steaming pile of dog poo. Frankly I was equally excited one way or the other. In reality I was destined to drop the item in disgust after laying eyes on it.
It looks like two Blackberry Pearls frozen in flagrante delicti. Unfortunately for the palm Centro it runs palm OS. From a comparative standpoint the Centro the Treo. The obvious winner is the Centro. Smaller and cheaper this device could actually sell me on palm once more….if I was struck stupid overnight. I expect that palm fans will be excited about the transition, but this pales in the future release of the Blackberry Bold and the rumored Thunder.
The best truth in this device is there is a good chance that palm could dig itself out of its current hole from  the myriad of issues with the treo platform. More to come when I have the chance to play with this more.
Share your Dead:
  • Digg
  • Facebook
  • del.icio.us
  • Google Bookmarks
  • Technorati
  • StumbleUpon
  • Sphinn
  • Mixx
  • Live
  • Slashdot
  • TwitThis

Twitter is down it seems.

My new social passion that makes me less social with my friends is Twitter

Well not that I am going to go insane or anything but their sites is down and now I am cut off for a bit from having random discussions with people I don’t know. But that’s all the fun. its like a huge pointless forum chat-room via email. That’s the way it makes me feel anyways. It is also kinda nice to see other people freely discussing their good and bad moments of the day. Reminds me that I am not the only one that has to deal with nonsense everyday. Twitter is gold for this reason. Its simple innocent and honest like a blog. The best part for me is the almost completely mobile nature of the thing. Twitter keeps me grounded that is why I feel it is worth talking about its outage no matter how long.

If you happen to jump in follow me if you choose. http://twitter.com/samuraipanzer

Updated:

At this point it is happening to me again today.  I can only assume that Verizon Wireless is causing me to lose my connection to twitter. The network is super fast but occasional loss of connectivity like this really drives  me mad.

Share your Dead:
  • Digg
  • Facebook
  • del.icio.us
  • Google Bookmarks
  • Technorati
  • StumbleUpon
  • Sphinn
  • Mixx
  • Live
  • Slashdot
  • TwitThis

How much do I want one of these

The Answer is a lot. Mids are what I have been looking for in mostly linux based PDA’s like the sharp zaurus. But in the end they always end up rather hard to get to function the way i wanted them to. Still this thing reminds me of a Sega Nomad.
Sega Nomad
I mean its shinier but that doesn’t make it any less of a brick in the eyes of our lord. Although I am just as excited about getting something like this in my hands as I was my Nomad. The real downfall though will be if you can play WoW on it. Then the zombies will no longer be confined to their basements and bedrooms but roaming the streets.
Share your Dead:
  • Digg
  • Facebook
  • del.icio.us
  • Google Bookmarks
  • Technorati
  • StumbleUpon
  • Sphinn
  • Mixx
  • Live
  • Slashdot
  • TwitThis

Samsung if only you had gone into entertainment

A small passion of mine is optical illusions. This one really fits the bill. Plus the Techno Dinosaur is just plain awesome.

Via Gizmodo

Share your Dead:
  • Digg
  • Facebook
  • del.icio.us
  • Google Bookmarks
  • Technorati
  • StumbleUpon
  • Sphinn
  • Mixx
  • Live
  • Slashdot
  • TwitThis

Another night with the guys

After a fine day off from work and the opportunity to repair my computer that has been bandaged for a good couple of months. All that is left for the day is to breath someone elsew smoke and enjoy so fine local cuisine. By fine I mean terrible and by local I mean up the block from me.

That aside it is what I look forward to secretly each week. Well maybe aside from the smoke. Tonight will be, if we are lucky, the final playoff game between the Pens and the Flyers. This will only compound the excitement of the evening. 20oz and a fish sandwiche are all I can ask for at this point and our cute waitress will be bringing me those promptly.

Share your Dead:
  • Digg
  • Facebook
  • del.icio.us
  • Google Bookmarks
  • Technorati
  • StumbleUpon
  • Sphinn
  • Mixx
  • Live
  • Slashdot
  • TwitThis