rhiaro / sloph Goto Github PK
View Code? Open in Web Editor NEWThe CMS for my website which is both a blog and a life logging platform
Home Page: https://rhiaro.co.uk/sloph
The CMS for my website which is both a blog and a life logging platform
Home Page: https://rhiaro.co.uk/sloph
If the first Accept
header in a list isn't understandable it fails instead of trying the rest of the list.
If you scroll down then open the slideshow, the arrow keys close the popover instead of change the image. Clicking sides works. Sometimes it recovers if you click enough and maybe scroll to the right place? Dunno.
i hate computers
POST
requests to containers for LDPWhen the graph URI is also a subject in the graph, only that is returned.
When the graph URI is not in the graph, nothing is returned.
Eg. https://rhiaro.co.uk/n/5984ebd1a1b1a511207716
Travel plans for the future should not show up in the list, or be added as places to the map.
including/especially dbpedia http://dbpedia.org/ontology/wikiPageRedirects
in case anyone archived those
why don't i have one
Why do queries take so long on the server, but not on localhost?
Switch Consume
and Acquire
to use content
(instead of name
and summary
respectively) and generate a summary
for both of them.
Follow
activity notification in inbox
Please provide a description of this repository.
for goodness' sake set this up
for the boxes
I'd expect this response to have a 'generator' property, but it has the whole URI "http://www.w3.org/ns/activitystreams#generator"
ben@bengo-air ~ $ curl "https://rhiaro.co.uk/2016/12/georgetown-wandering" -H "Accept: application/activity+json" | jq .
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 3801 100 3801 0 0 1512 0 0:00:02 0:00:02 --:--:-- 1511
{
"@context": "http://www.w3.org/ns/activitystreams#",
"id": "https://rhiaro.co.uk/2016/12/georgetown-wandering",
"type": "http://www.w3.org/ns/activitystreams#Article",
"http://www.w3.org/ns/activitystreams#content": "<p>Yesterday evening (21st) I went for a 'quick walk' into town. My apartment is about a 20 minute walk from the edge of George Town heritage area and 40 minutes from the jetty and core tourist zone. Between home and the edge of the 'nice' part of town is not particularly nice: apartment blocks, malls and big roads with... intermittent... footpaths. There are still lots of interesting places to stop of course; markets, stalls, local restaurants, general streetside chaos. Walking around here takes a lot of concentration, between trying to take in the surroundings, not being hit by scooters and cars, avoiding enormous open holes into the sewer, and not accidentally buying a kilo of tropical fruit every five minutes.</p>\r\n\r\n<p>The sky was blue. My goal was to procure coconut oil for cooking. I thought it would be easy to get hold of here, but so far, after a few days of hunting around, I found it in a vegetarian restaurant (Leaf Healthy House) and a baking shop for twice the price. I asked in an Indian grocery, and was directed to another grocery store, but I never found it. So I returned to Leaf to pick up 2 litres for RM 36.30. Or so I thought. I got distracted by not-meats at a different Indian grocery, paid a visit to Fort Cornwallis, plus dinner at Veggielicious, and by the time I made it to Leaf I didn't have enough cash left.</p>\r\n\r\n<p>On that note, Fort Cornwallis was pretty rubbish. There are guided tours where one is presumably told about the history.. I was at the allotted tour starting point at the right time, but nobody showed up. The 'exhibits' are glass boxes in mouldy rooms containing bits of rock or dioramas, and no explanation of what they are. There isn't much 'fort', just outer walls and some cannons on hills. I was feeling particularly disgruntled because I paid 20 RM to enter, which could have got me four or five meals. I left after about half an hour, most of which was occupied milling around waiting for a tour guide to show up.</p>\r\n\r\n<p>When I got back it had started raining, with thunder and lightning. I sat in the outdoor bit of the pool for half an hour, watching the sky light up.</p>\r\n\r\n<p>Today (22nd) I went into town at lunchtime, and made the <em>first</em> stop Leaf, for coconut oil. I was accompanied by two new guests in my AirBnB, P and A; ship engineers from Poland. Apparently ship engineering isn't as exciting as it sounds. We ate at Woodlands vegetarian Indian. Service was frustratingly slow, but the food was good and cheap. While we were there the sky opened and the lightning commenced again. I headed home, and they went off to explore town some more. It rained heavily, intermittently, but I mostly stayed in the cover of the archways that line most buildings here. I stopped at Mydin, a giant supermarket and department store, and finally bought more kitchen stuff. I got a blender for less than $12. It's probably not good quality, but it only needs to last two more months.</p>",
"http://www.w3.org/ns/activitystreams#generator": {
"id": "https://rhiaro.co.uk/sloph"
},
"http://www.w3.org/ns/activitystreams#name": "George Town wandering",
"http://www.w3.org/ns/activitystreams#published": {
"type": "xsd:dateTime",
"@value": "2016-12-22T23:13:00+08:00"
},
"http://www.w3.org/ns/activitystreams#tag": [
{
"id": "https://rhiaro.co.uk/tags/weather"
},
{
"id": "https://rhiaro.co.uk/tags/malaysia"
},
{
"id": "https://rhiaro.co.uk/tags/shopping"
},
{
"id": "https://rhiaro.co.uk/tags/georgetown"
},
{
"id": "https://rhiaro.co.uk/tags/penang"
},
{
"id": "https://rhiaro.co.uk/tags/food"
},
{
"id": "https://rhiaro.co.uk/tags/travel"
}
]
}
(etc)
Because I want to log prices of things that I expense to work but don't want it coming out of my regular budget
For new posts
Some posts are tagged with a place name like /tags/edinburgh but now I have Place objects like /location/edinburgh. Do some manual wrangling to update post tags to use the Place object, and also link on Place pages to all posts tagged with them (and travel plans to/from them).
Normalise diacritics when generating URIs.
See: https://ahinea.com/en/tech/accented-translate.html , https://www.php.net/manual/en/normalizer.normalize.php
Travel plan posts are painfully slow due to parsing two dbpedia resources for location names and lat/lons. Cache these in my database at create time.
is from the latest event post or something
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.