Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Formats > Workshop

Notices

Reply
 
Thread Tools Search this Thread
Old 09-01-2009, 06:29 PM   #31
Pablo
Guru
Pablo ought to be getting tired of karma fortunes by now.Pablo ought to be getting tired of karma fortunes by now.Pablo ought to be getting tired of karma fortunes by now.Pablo ought to be getting tired of karma fortunes by now.Pablo ought to be getting tired of karma fortunes by now.Pablo ought to be getting tired of karma fortunes by now.Pablo ought to be getting tired of karma fortunes by now.Pablo ought to be getting tired of karma fortunes by now.Pablo ought to be getting tired of karma fortunes by now.Pablo ought to be getting tired of karma fortunes by now.Pablo ought to be getting tired of karma fortunes by now.
 
Pablo's Avatar
 
Posts: 972
Karma: 4999999
Join Date: Mar 2009
Location: Rosario, Argentina
Device: SONY PRS-T2, Kindle Paperwhite 11th gen
Quote:
Originally Posted by HarryT View Post
All my books are created via the same route: BD -> HTML -> Mobi Creator -> Calibre.
I always use BD, with the output in lrf format. I was wondering what is the best way to produce ePub. Your method looks just what I am looking for... Could you please explain?
Pablo is offline   Reply With Quote
Old 09-01-2009, 10:37 PM   #32
radius
Lector minore
radius ought to be getting tired of karma fortunes by now.radius ought to be getting tired of karma fortunes by now.radius ought to be getting tired of karma fortunes by now.radius ought to be getting tired of karma fortunes by now.radius ought to be getting tired of karma fortunes by now.radius ought to be getting tired of karma fortunes by now.radius ought to be getting tired of karma fortunes by now.radius ought to be getting tired of karma fortunes by now.radius ought to be getting tired of karma fortunes by now.radius ought to be getting tired of karma fortunes by now.radius ought to be getting tired of karma fortunes by now.
 
radius's Avatar
 
Posts: 660
Karma: 1738720
Join Date: Jan 2008
Device: Aura One, Paperwhite Signature
Quote:
Originally Posted by kovidgoyal View Post
The Edit metadata window goes away slowly because after you edit metadata, calibre has to move the book files to a new location.

Sorting will become faster after the database refactoring.

Seeing the windows drawing is definitely not normal, even on my 6+ year old laptop that doesn't happen.

Adding books has a floor time because it takes place in a separate process. This is for robustness as sometimes metadata reading libraries written in C can cause segfaults which would take down all of calibre.
OK, I am willing to believe that it is IPC and platform issues that make Calibre feel slow to me, and not being implemented in Python.

But as an aside, it doesn't matter to me as a user where delays are coming from, only that they exist. I'm running on a 1.2GHz Core2 which isn't a super speedy machine, but is still respectable.

(Re: editing metadata and importing books, have you considered putting the lengthy operations in a worker thread so that the UI control returns to the user right away?)
radius is offline   Reply With Quote
Old 09-01-2009, 10:55 PM   #33
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,359
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Quote:
Originally Posted by radius View Post
(Re: editing metadata and importing books, have you considered putting the lengthy operations in a worker thread so that the UI control returns to the user right away?)
It's a little hairy in this case, as you would have to deal with concurrent processes modifying the database.
kovidgoyal is offline   Reply With Quote
Old 09-02-2009, 11:22 AM   #34
=X=
Wizard
=X= ought to be getting tired of karma fortunes by now.=X= ought to be getting tired of karma fortunes by now.=X= ought to be getting tired of karma fortunes by now.=X= ought to be getting tired of karma fortunes by now.=X= ought to be getting tired of karma fortunes by now.=X= ought to be getting tired of karma fortunes by now.=X= ought to be getting tired of karma fortunes by now.=X= ought to be getting tired of karma fortunes by now.=X= ought to be getting tired of karma fortunes by now.=X= ought to be getting tired of karma fortunes by now.=X= ought to be getting tired of karma fortunes by now.
 
=X='s Avatar
 
Posts: 3,671
Karma: 12205348
Join Date: Mar 2008
Device: Galaxy S, Nook w/CM7
Quote:
Originally Posted by Pablo View Post
Rigth now I haven't decided what problems to address, but as they will be in the same line as utilities and programs found here in MR, I wanted to know the opinion of the experts.
Ah okay from that standpoint... the two most utilized languages for manipulating ebooks here are Perl and Python. If you are looking for a task that is sourly needed is to create IMP format form calibre.
While calibre does not have a plugin architecture it is compartmentalize by design and you could create an HTML -> IMP solution in a vacuum then integrate it to the main line with little effort.
=X= is offline   Reply With Quote
Old 09-02-2009, 11:26 AM   #35
=X=
Wizard
=X= ought to be getting tired of karma fortunes by now.=X= ought to be getting tired of karma fortunes by now.=X= ought to be getting tired of karma fortunes by now.=X= ought to be getting tired of karma fortunes by now.=X= ought to be getting tired of karma fortunes by now.=X= ought to be getting tired of karma fortunes by now.=X= ought to be getting tired of karma fortunes by now.=X= ought to be getting tired of karma fortunes by now.=X= ought to be getting tired of karma fortunes by now.=X= ought to be getting tired of karma fortunes by now.=X= ought to be getting tired of karma fortunes by now.
 
=X='s Avatar
 
Posts: 3,671
Karma: 12205348
Join Date: Mar 2008
Device: Galaxy S, Nook w/CM7
Quote:
Originally Posted by kovidgoyal View Post
It's a little hairy in this case, as you would have to deal with concurrent processes modifying the database.
It does add more complexity but not by much. Adding a simple semaphore to block any writes and allow reads is not very complicated. Minimal compared to the boost in user experience.

Reading/Writting to databases only gets complicated when you have a host of clients that read/write to the same database.

=X=
=X= is offline   Reply With Quote
Old 09-02-2009, 11:28 AM   #36
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,359
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Quote:
Originally Posted by =X= View Post
Ah okay from that standpoint... the two most utilized languages for manipulating ebooks here are Perl and Python. If you are looking for a task that is sourly needed is to create IMP format form calibre.
While calibre does not have a plugin architecture it is compartmentalize by design and you could create an HTML -> IMP solution in a vacuum then integrate it to the main line with little effort.
Actually calibre does have a plugin architecture and it is perfectly possible to develop an IMP output plugin.
kovidgoyal is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Programming language code snippets in ebooks? Connochaetes Writers' Corner 7 10-18-2010 02:43 PM
Computer programming books JoshLessard Amazon Kindle 6 08-08-2010 06:08 PM
PRS-500 500 Programming MarzKrishna Sony Reader Dev Corner 1 12-17-2009 08:43 PM
Free Programming Resources hacker Deals and Resources (No Self-Promotion or Affiliate Links) 0 07-16-2005 11:24 AM


All times are GMT -4. The time now is 07:43 AM.


MobileRead.com is a privately owned, operated and funded community.