Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre > Library Management

Notices

Reply
 
Thread Tools Search this Thread
Old 01-09-2016, 10:05 AM   #46
Phssthpok
Evangelist
Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.
 
Posts: 432
Karma: 95229
Join Date: Nov 2014
Device: Horrible Kindle
Quote:
Originally Posted by eschwartz View Post
You just totally ignored everything I said, didn't you.
Sigh. You're quite right, I did. You originally said this:
Quote:
Originally Posted by eschwartz View Post
Or simply add the magic directly to calibre via a source checkout.
When I responded "Aaargh! No thanks! Then I'd have to re-insert the change and rebuild every time a new version comes out", you assumed that this just meant that I'd never used a version control system. That is not the problem: as as I said, I started using SCCS (the original source code control tool which is the great-granddaddy of all other VCSs) nearly 40 years ago, and I've used many others since then.

My reaction is more to do with: it's a really crap idea, but I was too polite to say so at the time. There is this concept in software engineering called "coupling". You're suggesting that I modify the implementation of the auto-add module to create my own personal version, and that (with the aid of a bit of scripting and wonderful tools like git) all would then be well. However, if Kovid ever touched the auto-adder in the future, it might break my code. And even if it didn't, I'd have to carry out another exercise known as "regression testing" to make sure that what used to work, still does work. My code would be what is known as "tightly" or "strongly" coupled to Kovid's code. And this is a Bad Thing.

Instead, in the same time or less than it would take me to download and install git, learn how to use it, write all the lovely scripts to make my life easy, I learned how to write a plugin; wrote one, tested it, debugged it and posted it. A plugin is what is known as "loosely" or "weakly" coupled to the main Calibre codebase; instead of relying on implementation details inside Kovid's black box, it uses a well-publicised interface which, if it changed, would not only break my code, it would also break code used by I-don't-know-how-many-thousands of people. So I'm confident that this is very, very, very unlikely to happen.

So as I said, thanks but no thanks.
Phssthpok is offline   Reply With Quote
Old 01-09-2016, 02:54 PM   #47
BetterRed
null operator
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 13,333
Karma: 10793754
Join Date: Mar 2012
Location: Sydney Australia
Device: none
@Phssthpok - aaah, remembrances of Larry Constantine -- family therapist, musician/composer, fiction author of sci-fi and other genre, and software engineer extraordinaire.

BR

Last edited by BetterRed; 01-10-2016 at 03:03 PM.
BetterRed is offline   Reply With Quote
Reply

Tags
auto add

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Calibre Auto Add james14 Library Management 10 05-31-2014 02:49 AM
How-to Auto-add cover.jpg? buralex Library Management 6 03-05-2013 03:25 AM
Is this possible: Auto-add book/magazine then auto e-mail to device? runningwithbulls Library Management 5 09-10-2012 12:27 PM
Help with new feature: Auto-Add Folder kbullkar Library Management 12 03-30-2012 06:15 AM
need auto add help bulldogmo Calibre 10 02-15-2012 10:38 PM


All times are GMT -4. The time now is 08:38 AM.


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