Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book General > General Discussions

Notices

Reply
 
Thread Tools Search this Thread
Old 12-16-2014, 10:48 AM   #286
DuckieTigger
Wizard
DuckieTigger ought to be getting tired of karma fortunes by now.DuckieTigger ought to be getting tired of karma fortunes by now.DuckieTigger ought to be getting tired of karma fortunes by now.DuckieTigger ought to be getting tired of karma fortunes by now.DuckieTigger ought to be getting tired of karma fortunes by now.DuckieTigger ought to be getting tired of karma fortunes by now.DuckieTigger ought to be getting tired of karma fortunes by now.DuckieTigger ought to be getting tired of karma fortunes by now.DuckieTigger ought to be getting tired of karma fortunes by now.DuckieTigger ought to be getting tired of karma fortunes by now.DuckieTigger ought to be getting tired of karma fortunes by now.
 
DuckieTigger's Avatar
 
Posts: 4,763
Karma: 246906703
Join Date: Dec 2011
Location: USA
Device: Oasis 3, Oasis 2, PW3, PW1, KT
Quote:
Originally Posted by Rizla View Post
Hopefully Kindles will continue to be jail-broken, otherwise they will become IMO sub-standard devices.
Unfortunately if you decide to jailbreak you are potentially limited by FW version. The risk is that the next FW version that has a feature you really really want breaks the jailbreak. So in general it is not always best to go the jailbreak route - it is a compromise.
DuckieTigger is offline   Reply With Quote
Old 12-16-2014, 11:09 AM   #287
Rizla
Member Retired
Rizla ought to be getting tired of karma fortunes by now.Rizla ought to be getting tired of karma fortunes by now.Rizla ought to be getting tired of karma fortunes by now.Rizla ought to be getting tired of karma fortunes by now.Rizla ought to be getting tired of karma fortunes by now.Rizla ought to be getting tired of karma fortunes by now.Rizla ought to be getting tired of karma fortunes by now.Rizla ought to be getting tired of karma fortunes by now.Rizla ought to be getting tired of karma fortunes by now.Rizla ought to be getting tired of karma fortunes by now.Rizla ought to be getting tired of karma fortunes by now.
 
Posts: 3,183
Karma: 11721895
Join Date: Nov 2010
Device: Nook STR (rooted) & Sony T2
Quote:
Originally Posted by DuckieTigger View Post
Case closed? It remains hard coded. Replacing existing options does not add any more variety.
If a lone programmer went in and changed the font sizes, it seems unlikely to me that they are hard-coded.

There has never been any evidence that font-sizes are hard-coded despite the arguments of some posters on this forum who refuse to see the obvious truth that making more font-sizes is a pretty trivial adjustment to the Kindle code.

Hard-coding has merely been presented as a counter-argument to Amazon's apparent lack of interest in improving user options. There is absolutely no evidence for it and it flies in the face of good and extremely basic programming and UI design practice.

Last edited by Rizla; 12-16-2014 at 11:33 AM.
Rizla is offline   Reply With Quote
Advert
Old 12-16-2014, 11:10 AM   #288
Rizla
Member Retired
Rizla ought to be getting tired of karma fortunes by now.Rizla ought to be getting tired of karma fortunes by now.Rizla ought to be getting tired of karma fortunes by now.Rizla ought to be getting tired of karma fortunes by now.Rizla ought to be getting tired of karma fortunes by now.Rizla ought to be getting tired of karma fortunes by now.Rizla ought to be getting tired of karma fortunes by now.Rizla ought to be getting tired of karma fortunes by now.Rizla ought to be getting tired of karma fortunes by now.Rizla ought to be getting tired of karma fortunes by now.Rizla ought to be getting tired of karma fortunes by now.
 
Posts: 3,183
Karma: 11721895
Join Date: Nov 2010
Device: Nook STR (rooted) & Sony T2
Quote:
Originally Posted by DuckieTigger View Post
Unfortunately if you decide to jailbreak you are potentially limited by FW version. The risk is that the next FW version that has a feature you really really want breaks the jailbreak. So in general it is not always best to go the jailbreak route - it is a compromise.
True. And Amazon forces FW upgrades on the users. *shakes head* Perhaps there is a hack out there to stop the forced upgrade.
Rizla is offline   Reply With Quote
Old 12-16-2014, 11:14 AM   #289
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 79,757
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by DuckieTigger View Post
Case closed? It remains hard coded. Replacing existing options does not add any more variety.
Case is not closed and it's not hard coded. It's not replacing, it's adding. It's adding more AA for more font sizes in between what exists. Many people say that a given size is too small and the next size up is too large. So Amazon should give a font size in between. Maybe even two font sizes in between. It's a number passed to the system to get the font size. So if Amazon was to modify the UI to add more numbers via more AA buttons, then Amazon could have more font size choices. If Amazon decided to give even more font sizes via a +/- type font setting then it's still a number passed to the system to get the font size. Because it's a number passed to the system to get the font size, then it's just UI programming to set how many font size changes there can be. The case was that some were saying things like how do you know it's a number passed on instead of something hard coded. Now I've found the proof that it is a number passed on to get the font size. Now we know it's Amazon not giving users what they want which is more font sizes in between the font sizes already given. It should not be that hard to program in another set of AA buttons with in between font sizes.

Kobo (in firmware 3.12.0) allows 40 different font sizes (and this is without being patched). Again, it's a number passed to the system.

Last edited by JSWolf; 12-16-2014 at 11:16 AM.
JSWolf is online now   Reply With Quote
Old 12-16-2014, 11:18 AM   #290
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 79,757
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by Rizla View Post
True. And Amazon forces FW upgrades on the users. *shakes head* Perhaps there is a hack out there to stop the forced upgrade.
I don't know if there currently is such a hack, but there used to be. Others involved in hacking and/or creating the hacks for Kindles will have more info then I do on this.

I'm wondering if the font hack that was posted on MR will work on the latest working jailbreak.
JSWolf is online now   Reply With Quote
Advert
Old 12-16-2014, 11:26 AM   #291
jbjb
Somewhat clueless
jbjb ought to be getting tired of karma fortunes by now.jbjb ought to be getting tired of karma fortunes by now.jbjb ought to be getting tired of karma fortunes by now.jbjb ought to be getting tired of karma fortunes by now.jbjb ought to be getting tired of karma fortunes by now.jbjb ought to be getting tired of karma fortunes by now.jbjb ought to be getting tired of karma fortunes by now.jbjb ought to be getting tired of karma fortunes by now.jbjb ought to be getting tired of karma fortunes by now.jbjb ought to be getting tired of karma fortunes by now.jbjb ought to be getting tired of karma fortunes by now.
 
Posts: 772
Karma: 9999999
Join Date: Nov 2008
Location: UK
Device: Kindle Oasis
Quote:
Originally Posted by Rizla View Post
If a lone programmer went in and changed the font sizes, it seems unlikely to me that they hard-coded.
Just because someone can, by recompiling the firmware, change the hard-coded values doesn't mean they weren't hard-coded. In fact - if you look at the description of the modifications that the developer uploaded, you'll see his plea:

Quote:
To Amazon Developers: guys, before creating a hardcode in the future products, think carefully. Thank you very much in advance.
I've not read the thread completely, but at first sight it looks like there's a hard-coded array of sizes presented by the UI, and a different hard-coded array of sizes supported by the renderer. These hard-coded sizes can clearly be changed (as detailed in the thread), but that's not the same as saying that the renderer can handle sizes specified by arbitrary numbers at runtime. (Of course, it also doesn't mean it can't!).

In any case, that's a digression - the point that several of us have been making is simply that despite the fact that it might be thought that it should be simple, and that it's 'Programming 101' , there's a great deal of professional experience (30-odd years in my case) which says that in the real world, code is frequently badly structured, badly written and an unmaintainable and unmodifiable mess.

Again, that's not to say that the Kindle firmware is such a mess, just that to assume without knowledge that it isn't is perhaps a tad optimistic.

/JB
jbjb is offline   Reply With Quote
Old 12-16-2014, 11:34 AM   #292
Rizla
Member Retired
Rizla ought to be getting tired of karma fortunes by now.Rizla ought to be getting tired of karma fortunes by now.Rizla ought to be getting tired of karma fortunes by now.Rizla ought to be getting tired of karma fortunes by now.Rizla ought to be getting tired of karma fortunes by now.Rizla ought to be getting tired of karma fortunes by now.Rizla ought to be getting tired of karma fortunes by now.Rizla ought to be getting tired of karma fortunes by now.Rizla ought to be getting tired of karma fortunes by now.Rizla ought to be getting tired of karma fortunes by now.Rizla ought to be getting tired of karma fortunes by now.
 
Posts: 3,183
Karma: 11721895
Join Date: Nov 2010
Device: Nook STR (rooted) & Sony T2
Quote:
Originally Posted by JSWolf View Post
I don't know if there currently is such a hack, but there used to be. Others involved in hacking and/or creating the hacks for Kindles will have more info then I do on this.

I'm wondering if the font hack that was posted on MR will work on the latest working jailbreak.
I don't know. But the UI and functionality hasn't changed so it might.
Rizla is offline   Reply With Quote
Old 12-16-2014, 11:37 AM   #293
Rizla
Member Retired
Rizla ought to be getting tired of karma fortunes by now.Rizla ought to be getting tired of karma fortunes by now.Rizla ought to be getting tired of karma fortunes by now.Rizla ought to be getting tired of karma fortunes by now.Rizla ought to be getting tired of karma fortunes by now.Rizla ought to be getting tired of karma fortunes by now.Rizla ought to be getting tired of karma fortunes by now.Rizla ought to be getting tired of karma fortunes by now.Rizla ought to be getting tired of karma fortunes by now.Rizla ought to be getting tired of karma fortunes by now.Rizla ought to be getting tired of karma fortunes by now.
 
Posts: 3,183
Karma: 11721895
Join Date: Nov 2010
Device: Nook STR (rooted) & Sony T2
Quote:
Originally Posted by jbjb View Post
Again, that's not to say that the Kindle firmware is such a mess, just that to assume without knowledge that it isn't is perhaps a tad optimistic./JB
There is zero evidence the Amazon code is such a mess and common-sense dictates it is not. As I said, the only argument for it is a counter to the appearance that Amazon simply can't be bothered.

Really, Amazon just can't be bothered
Rizla is offline   Reply With Quote
Old 12-16-2014, 11:48 AM   #294
twowheels
Wizard
twowheels ought to be getting tired of karma fortunes by now.twowheels ought to be getting tired of karma fortunes by now.twowheels ought to be getting tired of karma fortunes by now.twowheels ought to be getting tired of karma fortunes by now.twowheels ought to be getting tired of karma fortunes by now.twowheels ought to be getting tired of karma fortunes by now.twowheels ought to be getting tired of karma fortunes by now.twowheels ought to be getting tired of karma fortunes by now.twowheels ought to be getting tired of karma fortunes by now.twowheels ought to be getting tired of karma fortunes by now.twowheels ought to be getting tired of karma fortunes by now.
 
twowheels's Avatar
 
Posts: 1,853
Karma: 13432974
Join Date: Nov 2010
Device: Kobo Clara HD, iPad Pro 10", iPhone 15 Pro, Boox Note Max
Quote:
Originally Posted by Rizla View Post
There is zero evidence the Amazon code is such a mess and common-sense dictates it is not. As I said, the only argument for it is a counter to the appearance that Amazon simply can't be bothered.



Really, Amazon just can't be bothered

If the professional software developers in this thread are saying that most codebases are such a mess, why is it common sense to assume the kindle software is any different?

Moreover, jbjb pointed out that the person who did the hack complained about the way it was implemented, specifically using the word hardcoded.
twowheels is offline   Reply With Quote
Old 12-16-2014, 12:27 PM   #295
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 79,757
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by twowheels View Post
If the professional software developers in this thread are saying that most codebases are such a mess, why is it common sense to assume the kindle software is any different?

Moreover, jbjb pointed out that the person who did the hack complained about the way it was implemented, specifically using the word hardcoded.
hardcoded in this case does not mean what you think it means. It does not mean that it's in the code. It's only hardcoded in a configuration file. It means that Amazon only gives so many sizes and those values are fixed in the configuration file. More numbers can be added and the existing numbers changed. So no, they are not hardcoded in the actual code. As I've been saying, those numbers in the configuration file get passed to the system to generate the font size. Change the numbers and you get different font sizes.

The underlying font sizing is already done. All that needs to be fixed is the UI that passed a number to the system to generate font sizes. It doesn't matter how much of a mess the Kindle code is or not. We already know that all you need do it fix the UI to add more font size choices. I cannot say how easy that is or not. But there's no need to have to do any modifying of any other code then the code that's used to pick a font size and pass the number to the system that already is in place and works.
JSWolf is online now   Reply With Quote
Old 12-16-2014, 12:47 PM   #296
jbjb
Somewhat clueless
jbjb ought to be getting tired of karma fortunes by now.jbjb ought to be getting tired of karma fortunes by now.jbjb ought to be getting tired of karma fortunes by now.jbjb ought to be getting tired of karma fortunes by now.jbjb ought to be getting tired of karma fortunes by now.jbjb ought to be getting tired of karma fortunes by now.jbjb ought to be getting tired of karma fortunes by now.jbjb ought to be getting tired of karma fortunes by now.jbjb ought to be getting tired of karma fortunes by now.jbjb ought to be getting tired of karma fortunes by now.jbjb ought to be getting tired of karma fortunes by now.
 
Posts: 772
Karma: 9999999
Join Date: Nov 2008
Location: UK
Device: Kindle Oasis
Quote:
Originally Posted by JSWolf View Post
hardcoded in this case does not mean what you think it means.
Yes it does.

Quote:
It does not mean that it's in the code. It's only hardcoded in a configuration file.
Look again - it's not a configuration file - it's a Java source file decompiled from the .class file and then recompiled.

The numbers *are* hardcoded in the code (as the developer of the hack himself complained about).

/JB
jbjb is offline   Reply With Quote
Old 12-16-2014, 12:50 PM   #297
RHWright
Addict
RHWright ought to be getting tired of karma fortunes by now.RHWright ought to be getting tired of karma fortunes by now.RHWright ought to be getting tired of karma fortunes by now.RHWright ought to be getting tired of karma fortunes by now.RHWright ought to be getting tired of karma fortunes by now.RHWright ought to be getting tired of karma fortunes by now.RHWright ought to be getting tired of karma fortunes by now.RHWright ought to be getting tired of karma fortunes by now.RHWright ought to be getting tired of karma fortunes by now.RHWright ought to be getting tired of karma fortunes by now.RHWright ought to be getting tired of karma fortunes by now.
 
Posts: 219
Karma: 2617122
Join Date: Oct 2011
Location: North Carolina
Device: NOOK ST, Nexus 7
Quote:
Originally Posted by twowheels View Post
One of my biggest failures at work is assuming that something will be easy because it "should be". I have found, repeatedly, that it's better to assume that if something CAN be done in an overcomplicated way, it will be.

An example... a piece of code that I specified was for a temporary solution that did not need any future-proofing (it was to support a piece of legacy hardware that hadn't changed in 15 years and was being phased out) and that I felt (as one of the system designers) should have taken 25-50 lines of code to write, and a few hours... after 3 hours of meetings trying to explain it to the developer (with the title 'senior'), and three attempts on his part, it finally came back a week later as a 700+ line source file, with a 400+ line config file. I was in complete shock.

Another senior developer with many years of experience writing video games once "fixed" a bug in a medical device where measurements were off by 4. I later found a '+ 4' hidden in the code. He was fired the same day. This is the same guy who'd spent nearly 6 months working on a feature that was buggy as could be and after many months of testing cycles with bug after bug and many people trying to figure out his 50 boolean flags that were trying to keep track of all of the special cases and past history of what had happened to make it do the right thing next, and other developers trying to help fix the bugs by adding even more flags... I finally got permission to rewrite it myself and did it in less than a day, with ZERO flags to keep track (just one state variable and a simple state chart) and it had ONE tiny little bug that was found the next day where I went "doh!" and fixed it in less than 30 seconds. No bugs were ever found in that code after that.
I am not a programmer, but I deal with the results of their work on a daily basis. I swear, sometimes I think they overcomplicate things as a means of job security. If you're the only one who understands an essential system, they can't get rid of you.

I wish more developers followed your inherent philosophy of keeping it simple.
RHWright is offline   Reply With Quote
Old 12-16-2014, 01:06 PM   #298
tompe
Grand Sorcerer
tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.
 
Posts: 7,452
Karma: 7185064
Join Date: Oct 2007
Location: Linköpng, Sweden
Device: Kindle Voyage, Nexus 5, Kindle PW
Quote:
Originally Posted by jbjb View Post
I've not read the thread completely, but at first sight it looks like there's a hard-coded array of sizes presented by the UI, and a different hard-coded array of sizes supported by the renderer. These hard-coded sizes can clearly be changed (as detailed in the thread), but that's not the same as saying that the renderer can handle sizes specified by arbitrary numbers at runtime. (Of course, it also doesn't mean it can't!).

In any case, that's a digression - the point that several of us have been making is simply that despite the fact that it might be thought that it should be simple, and that it's 'Programming 101' , there's a great deal of professional experience (30-odd years in my case) which says that in the real world, code is frequently badly structured, badly written and an unmaintainable and unmodifiable mess.

Again, that's not to say that the Kindle firmware is such a mess, just that to assume without knowledge that it isn't is perhaps a tad optimistic.

/JB
And this design might actually be good if all fonts do not render properly for all sizes.
tompe is offline   Reply With Quote
Old 12-16-2014, 01:11 PM   #299
HarryT
eBook Enthusiast
HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.
 
HarryT's Avatar
 
Posts: 85,544
Karma: 93383099
Join Date: Nov 2006
Location: UK
Device: Kindle Oasis 2, iPad Pro 10.5", iPhone 6
It's perhaps worth noting that the Kindle's font sizes aren't absolute, but rather multiples (and divisors) of the base font size of the book. Change the size of the base font in a book, and all the sizes change on the Kindle.
HarryT is offline   Reply With Quote
Old 12-16-2014, 01:11 PM   #300
jbjb
Somewhat clueless
jbjb ought to be getting tired of karma fortunes by now.jbjb ought to be getting tired of karma fortunes by now.jbjb ought to be getting tired of karma fortunes by now.jbjb ought to be getting tired of karma fortunes by now.jbjb ought to be getting tired of karma fortunes by now.jbjb ought to be getting tired of karma fortunes by now.jbjb ought to be getting tired of karma fortunes by now.jbjb ought to be getting tired of karma fortunes by now.jbjb ought to be getting tired of karma fortunes by now.jbjb ought to be getting tired of karma fortunes by now.jbjb ought to be getting tired of karma fortunes by now.
 
Posts: 772
Karma: 9999999
Join Date: Nov 2008
Location: UK
Device: Kindle Oasis
Quote:
Originally Posted by tompe View Post
And this design might actually be good if all fonts do not render properly for all sizes.
Indeed it might.

/JB
jbjb is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
OK, I bricked it...shame on me silver18 Kindle Developer's Corner 58 05-30-2012 08:55 PM
Hall of Shame AlexBell General Discussions 38 08-27-2010 02:55 AM
Google and Viacom put us to shame Iphinome Lounge 4 05-22-2010 09:33 AM
Such a shame. Calibre could be great DownSouth Calibre 22 05-05-2010 12:27 AM
Library doesn't recognize the reader, reader froze Lily Sony Reader 12 09-16-2008 05:00 AM


All times are GMT -4. The time now is 03:12 PM.


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