Skip to content

Instantly share code, notes, and snippets.

@BorisAnthony
Last active December 19, 2015 17:25
Show Gist options
  • Save BorisAnthony/6c83fdc4096e6da9ed80 to your computer and use it in GitHub Desktop.
Save BorisAnthony/6c83fdc4096e6da9ed80 to your computer and use it in GitHub Desktop.
One book example from my Readmill "reading-data.json", to inspect all the things they had built into their service.
{
"book": {
"title": "The Quantum Thief",
"author": "Hannu Rajaniemi",
"cover": "assets/covers/the-quantum-thief.jpg"
},
"user": {
"username": "boris",
"firstname": "Boris",
"lastname": "Anthony",
"country": "Germany",
"city": "Berlin",
"website": "",
"description": "",
"avatar": "assets/avatars/boris.jpg"
},
"is_private": false,
"state": "finished",
"marked_interesting_at": null,
"started_at": "2013-03-05T09:07:50Z",
"abandoned_at": null,
"finished_at": "2013-03-13T14:00:21Z",
"via_user": null,
"comments_count": 1,
"comments": [
{
"content": "Awesome, thanks for recommending Boris!",
"posted_at": "2013-03-15T05:20:21Z",
"user": {
"username": "henrik",
"firstname": "Henrik",
"lastname": "Berggren",
"country": "Germany",
"city": "Berlin",
"website": "http://readmill.com",
"description": "Passionate reader of internet lit and crime novels. Chief Happiness Officer at this little company.",
"avatar": "assets/avatars/henrik.jpg"
}
}
],
"highlights": [
{
"content": "‘It’s a Watch. A device that stores Time as quantum cash – unforgeable, uncopyable quantum states that have finite lifetimes, counterfeit-proof, measures the time an Oubliette citizen is allowed in a baseline human body. Also responsible for their encrypted channel to the exomemory. A very personal device.’ ‘And you think it was yours? Does it have what we need?’ ‘Maybe. But we are missing something. The Watch is meaningless on its own, without the public keys – gevulot – inside the brain.’ She taps the Watch with a fingernail. ‘I see.’ ‘This is how it works. The exomemory stores data – all data – that the Oubliette gathers, the environment, senses, thoughts, everything. The gevulot keeps track of who can access what, in real time. It’s not just one public/private key pair, it’s a crazy nested hierarchy, a tree of nodes where each branch can only by unlocked by the root node. You meet someone and agree what you can share, what they can know about you, what you can remember afterwards",
"position": null,
"highlighted_at": "2013-03-13T00:00:00Z",
"locators": {
"position": null,
"pre": "",
"mid": "‘It’s a Watch. A device that stores Time as quantum cash – unforgeable, uncopyable quantum states that have finite lifetimes, counterfeit-proof, measures the time an Oubliette citizen is allowed in a baseline human body. Also responsible for their encrypted channel to the exomemory. A very personal device.’ ‘And you think it was yours? Does it have what we need?’ ‘Maybe. But we are missing something. The Watch is meaningless on its own, without the public keys – gevulot – inside the brain.’ She taps the Watch with a fingernail. ‘I see.’ ‘This is how it works. The exomemory stores data – all data – that the Oubliette gathers, the environment, senses, thoughts, everything. The gevulot keeps track of who can access what, in real time. It’s not just one public/private key pair, it’s a crazy nested hierarchy, a tree of nodes where each branch can only by unlocked by the root node. You meet someone and agree what you can share, what they can know about you, what you can remember afterwards",
"post": ""
},
"comments_count": 0,
"comments": [
]
},
{
"content": "‘Tragedy is when I slip on a banana peel. Comedy is when you fall into a hole and die.",
"position": null,
"highlighted_at": "2013-03-13T00:00:00Z",
"locators": {
"position": null,
"pre": "",
"mid": "‘Tragedy is when I slip on a banana peel. Comedy is when you fall into a hole and die.",
"post": ""
},
"comments_count": 0,
"comments": [
]
},
{
"content": "him to glimpse public exomemories about her and the shop. Her",
"position": null,
"highlighted_at": "2013-03-13T00:00:00Z",
"locators": {
"position": null,
"pre": "",
"mid": "him to glimpse public exomemories about her and the shop. Her",
"post": ""
},
"comments_count": 1,
"comments": [
{
"content": "time as currency",
"posted_at": "2013-03-13T00:00:00Z",
"user": {
"username": "boris",
"firstname": "Boris",
"lastname": "Anthony",
"country": "Germany",
"city": "Berlin",
"website": "",
"description": "",
"avatar": "assets/avatars/boris.jpg"
}
}
]
},
{
"content": "enough for her to know that he does not really know much about chocolate but has Time enough to afford it – and for him to glimpse public exomemories about her and the shop.",
"position": null,
"highlighted_at": "2013-03-13T00:00:00Z",
"locators": {
"position": null,
"pre": "",
"mid": "enough for her to know that he does not really know much about chocolate but has Time enough to afford it – and for him to glimpse public exomemories about her and the shop.",
"post": ""
},
"comments_count": 1,
"comments": [
{
"content": "customer handshake. context establishment.",
"posted_at": "2013-03-13T00:00:00Z",
"user": {
"username": "boris",
"firstname": "Boris",
"lastname": "Anthony",
"country": "Germany",
"city": "Berlin",
"website": "",
"description": "",
"avatar": "assets/avatars/boris.jpg"
}
}
]
},
{
"content": "It occurs to the Engineer that he has never been happier: a quick search through his gogol library verifies the fact.",
"position": null,
"highlighted_at": "2013-03-13T00:00:00Z",
"locators": {
"position": null,
"pre": "",
"mid": "It occurs to the Engineer that he has never been happier: a quick search through his gogol library verifies the fact.",
"post": ""
},
"comments_count": 0,
"comments": [
]
},
{
"content": "Only a few moments before his Watch renews his identity signature with the ambient gevulot, so I have no time to waste.",
"position": null,
"highlighted_at": "2013-03-13T00:00:00Z",
"locators": {
"position": null,
"pre": "",
"mid": "Only a few moments before his Watch renews his identity signature with the ambient gevulot, so I have no time to waste.",
"post": ""
},
"comments_count": 0,
"comments": [
]
}
],
"review": {
"content": "A fantastic compendium of ideas around privacy, opacity, access, security, society, creativity, technology… in a post-quantum mechanics world where the informational and physical merge... Really enjoyed this and look forward to starting the follow up, The Fractal Prince.",
"posted_at": "2013-03-13T14:00:21Z",
"comments_count": 1,
"comments": [
{
"content": "Awesome, thanks for recommending Boris!",
"posted_at": "2013-03-15T05:20:21Z",
"user": {
"username": "henrik",
"firstname": "Henrik",
"lastname": "Berggren",
"country": "Germany",
"city": "Berlin",
"website": "http://readmill.com",
"description": "Passionate reader of internet lit and crime novels. Chief Happiness Officer at this little company.",
"avatar": "assets/avatars/henrik.jpg"
}
}
],
"likes": [
{
"username": "henrik",
"firstname": "Henrik",
"lastname": "Berggren",
"country": "Germany",
"city": "Berlin",
"website": "http://readmill.com",
"description": "Passionate reader of internet lit and crime novels. Chief Happiness Officer at this little company.",
"avatar": "assets/avatars/henrik.jpg"
}
]
},
"recommended": true,
"periods": [
{
"identifier": "236521ae-17c0-4f2e-8be3-e323db13afcc",
"started_at": "2013-03-05T09:07:50Z",
"duration": 119,
"progress": 0.838454,
"locations": [
]
},
{
"identifier": "2baa0436-6dee-45ec-af9d-f541fa97e1c9",
"started_at": "2013-03-06T16:22:49Z",
"duration": 165,
"progress": 0.278972,
"locations": [
]
},
{
"identifier": "cacc74b7-a492-4a9f-9886-a2869fbdab03",
"started_at": "2013-03-07T19:11:12Z",
"duration": 45,
"progress": 0.418582,
"locations": [
]
},
{
"identifier": "913c6799-577e-4377-940e-f79a48a2c61a",
"started_at": "2013-03-09T13:09:02Z",
"duration": 202,
"progress": 0.368338,
"locations": [
]
},
{
"identifier": "f916b6b7-1a20-4a6d-b8cc-361eab5a8122",
"started_at": "2013-03-11T11:02:06Z",
"duration": 101,
"progress": 0.111269,
"locations": [
]
},
{
"identifier": "8d6a5f00-71bf-4616-9a49-a3559d492f89",
"started_at": "2013-03-12T10:59:20Z",
"duration": 38,
"progress": 0.447639,
"locations": [
]
},
{
"identifier": "6661704e-8408-4d99-a533-8d760f915464",
"started_at": "2013-03-13T13:30:21Z",
"duration": 30,
"progress": 0.0708181,
"locations": [
]
}
]
},
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment