News for hackers. Stuff that matters.
Re:Make a “Literary Clock” from a Jailbroken Kindle by johannes_ne on Saturday August 04, 2018 @06:10PM (#17688650)
I actually adapted Jaaps work to a web version of the clock yesterday.

http://jenevoldsen.com/literature-clock

Re:Make a “Literary Clock” from a Jailbroken Kindle by michaelbuckbee on Saturday August 04, 2018 @08:33PM (#17689090)
That's great! As a web app, if you have a Kindle Fire you can do the following:

1. Go to the SETTINGS area 2. Click on DEVICE OPTIONS 3. Triple-tap the SERIAL NUMBER option, towards the bottom of the screen. 4. The DEVELOPER OPTIONS will now be accessible. 5. Find the option labeled STAY AWAKE. Click on it to ENABLE.

The Kindle will now remain on while charging (a "clock" mode). Load the page in Silk - kindle browser and you're set.

Re:Make a “Literary Clock” from a Jailbroken Kindle by tzs on Saturday August 04, 2018 @08:58PM (#17689155)
This would probably be more work than it is worth, but it would be neat to have an option to take into account time differences between the location in the quoted story and the user's location.

For example, this quote is used for 8:19:

> I had arranged to meet the Occupational Health Officer at 10:30. I took the train from Watford Junction at 8.19 and arrived at London Euston seven minutes late, at 8.49.|The Terrible Privacy of Maxwell Sim|Jonathan Coe

If the location aware option were enabled, it would give that to me at 1:19, not 8:19, because I'm in PDT (UTC-0700).

(Well, 1:19 if London is not also on daylight savings time. If they are, then I'd get it at 0:19. This is one of the reasons it is probably more work than it is worth. You'd not only have to have the location information for the quotes, you'd also have to deal with the rules for daylight savings time in multiple locations. This would be a pain in the ass).

Re:Make a “Literary Clock” from a Jailbroken Kindle by pxndx on Sunday August 05, 2018 @02:20AM (#17689993)
Why would you do that? you want to see the quote for 8:19 at your 8:19 local time, otherwise it's not a very good clock.
Re:Make a “Literary Clock” from a Jailbroken Kindle by tzs on Sunday August 05, 2018 @09:43AM (#17691274)
I think it is meant to be an interesting clock, not a good clock in the timekeeping sense. There are many times that do not have an associated quote, so the time it shows if often off by several minutes.

If you just need a good clock, https://time.is/ is hard to beat.

I think it would be interesting to, say, look at the clock just before 5 PM, as I'm getting ready to knock off work and find something fun to do, to be told that it is five minutes to midnight at Hogwarts and Dumbledore is advising Hermione that three turns should do it.

Re:Make a “Literary Clock” from a Jailbroken Kindle by gpvos on Sunday August 05, 2018 @04:39PM (#17693411)
I think it still wants to be a useful clock, i.e., you want to be able to see at a glance how late it is where you are now. That's actually why the current time is highlighted.

Although your idea also has some merit.

Re:Make a “Literary Clock” from a Jailbroken Kindle by jimbauwens on Monday August 06, 2018 @06:07AM (#17696346)
Thanks, used the JSON files to quickly script a console version. Now I have a kitty giving me a nice quote with the time every time I open a new terminal :)
Re:Make a “Literary Clock” from a Jailbroken Kindle by therealdrag0 on Thursday August 09, 2018 @07:33PM (#17729480)
Care to share?
Re:Make a “Literary Clock” from a Jailbroken Kindle by jimbauwens on Wednesday August 22, 2018 @10:29AM (#17818903)
Sorry, missed your reply.

Here you go: https://github.com/jimbauwens/literature-clock-console .

It's a very simple node.js application. If you don't like node.js the logic can be easily ported to any other language. I just didn't feel like parsing the data files with a shell script.

Re:Make a “Literary Clock” from a Jailbroken Kindle by crossroads091 on Saturday August 04, 2018 @08:14PM (#17689040)
This could also make for a really cool chrome extension.
Re:Make a “Literary Clock” from a Jailbroken Kindle by scottmcdot on Saturday August 04, 2018 @08:17PM (#17689047)
Very cool! Are there more than 2 quotes for each time? E.g., will tomorrow's 10:17AM quote be different to this morning's 10:17AM quote?
Re:Make a “Literary Clock” from a Jailbroken Kindle by johannes_ne on Sunday August 05, 2018 @02:44AM (#17690064)
Some times have a lot of quotes (e.g. midnight and noon). In these cases the quote is selected at random. About a third of the minutes have no quote. The author of the Kindle project (Jaap) has fixed some of these by using a close vague quote (like 'around noon' for 11.57). The remaining missing minutes just use the closest earlier quote.
Re:Make a “Literary Clock” from a Jailbroken Kindle by CPLX on Sunday August 05, 2018 @11:44AM (#17691865)
This is awesome.

For those of you that hobby with this stuff, what would be the most stone cold simple cheap way to get a machine that would output this page into a monitor continuously?

Like if I had an extra display lying around and wanted to make a little wall installation, what’s the most direct path, something like a raspberry pi?

Re:Make a “Literary Clock” from a Jailbroken Kindle by ada1981 on Monday August 06, 2018 @01:09PM (#17699498)
You could send it the page via Chromecast.
Re:Make a “Literary Clock” from a Jailbroken Kindle by got2surf on Saturday August 04, 2018 @07:18PM (#17688902)
Looks awesome!

The difference between the "time" and "non-time" font styling is more subtle here - when I changed #main_text to have color: gray, it became a bit easier for me to see the time.

Re:Make a “Literary Clock” from a Jailbroken Kindle by johannes_ne on Sunday August 05, 2018 @05:09AM (#17690442)
You're right. It's better with a bit more contrast. I've lightend the main_text a bit.
Re:Make a “Literary Clock” from a Jailbroken Kindle by ada1981 on Sunday August 05, 2018 @10:06AM (#17691360)
Does this work on iPhone?

It only changed once for me.

Would be cool to fade between times so I can use an old iPhone as a clock.

Re:Make a “Literary Clock” from a Jailbroken Kindle by johannes_ne on Sunday August 05, 2018 @10:21AM (#17691442)
Should work fine on iPhone. Maybe you were unlucky to visit it at a point with no quote for the following minute or two, causing the same quote to be repeated.
Re:Make a “Literary Clock” from a Jailbroken Kindle by ada1981 on Sunday August 05, 2018 @12:23PM (#17692034)
Ah, understood.

How many minutes don't have a quote?

Re:Make a “Literary Clock” from a Jailbroken Kindle by johannes_ne on Monday August 06, 2018 @01:10AM (#17695212)
536, so a bit more than a third.
Re:Make a “Literary Clock” from a Jailbroken Kindle by ada1981 on Monday August 06, 2018 @06:56AM (#17696555)
Oh wow; that is significant.
Re:Make a “Literary Clock” from a Jailbroken Kindle by ada1981 on Monday August 06, 2018 @01:07PM (#17699482)
It might be fun to make a Twitter version of this. Ie, select a random tweet that references the time (vs. a book quote).
Re:Make a “Literary Clock” from a Jailbroken Kindle by entropie on Saturday August 04, 2018 @06:23PM (#17688713)
Cool.

I might use this for my smartwatch.

Re:Make a “Literary Clock” from a Jailbroken Kindle by johannes_ne on Saturday August 04, 2018 @06:34PM (#17688759)
You should. Some of the paragraphs are quite long for a watch, though ;)