#indiewebcamp 2015-08-30

2015-08-30 UTC
#
KevinMarks
fixed. vw units are handy
[snarfed] joined the channel
#
KevinMarks
the full-bleed is nice, but I still wanted the text to wrap
#
KevinMarks
there's probably a multicolumn way to do that
#
@Pinboard
The Semantic Web sure is taking its time
(twitter.com/_/status/637767460888821761)
j12t, jacus, rMdes_, JasonO, dietrich, snarfed, wolftune, tantek and arlen joined the channel
#
KartikPrabhu
just found the HTML <mark> element https://developer.mozilla.org/en-US/docs/Web/HTML/Element/mark ! might be useful for fragmentions and marginalia? thoughts? cc: JonathanNeal KevinMarks
j12t, sdboyer, friedcell and benborges joined the channel
#
Loqi
[mention] ൱αϯr๏ and Mike West reposted a post that linked to a photo: "Content-Security-Policy" https://indiewebcamp.com/Content-Security-Policy https://webmention.io/notification/mPJX5dqVjNy23paFrupO-w
#
Loqi
[mention] Andy Davies liked a post that linked to a photo: "Content-Security-Policy" https://indiewebcamp.com/Content-Security-Policy https://webmention.io/notification/ZH8PQQJ4vd5MAWRyv1ishA
#
Loqi
[bridgy] Tom replied '@t CSP improve security, but in the att case HTTPS+HSTS is a better solution. att can remove the CSP but can't strip HTTPS' to a tweet that linked to https://indiewebcamp.com/Content-Security-Policy (https://twitter.com/kermiite/status/637912753756348417)
catsup and j12t joined the channel
#
Loqi
[mention] Walter Ebert reposted a post that linked to https://webmention.io/notification/CfbmiTUgAw271wBJTUfHzw
j12t joined the channel
#
Loqi
[mention] Albert Lunde liked a post that linked to https://webmention.io/notification/TbPkgf5bxslWARYUbgnIYg
j12t joined the channel
#
Loqi
[mention] Craig liked a post that linked to https://webmention.io/notification/Fx3qSeipchUexi-uy15RfQ
j12t, davidpeach, bear and wolftune joined the channel
#
@dkreuz
@MatthewDiIulio Jekyll and GitHub are still "cool", even after several years? Really? ;) I thought, IndieWeb is cool now.
(twitter.com/_/status/637990614177579008)
eschnou, elf-pavlik and snarfed joined the channel
#
aaronpk
WHOA new last.fm
KartikPrabhu, frzn, j12t and snarfed1 joined the channel
#
GWG
I need an idea.
#
GWG
How is favorite-of being stored as avorite-o
#
GWG
and like-of as like-o?
[snarfed] joined the channel
#
[snarfed]
off by one somewhere
#
GWG
Think I find it. Improper use of a function.
JasonO joined the channel
#
kylewm
s.trim('f')
#
GWG
kylewm: You got it in a way
#
GWG
I was trimming the mf2_ prefix
j12t, JasonO and fkooman joined the channel
#
GWG
I'm trying to make my plugin more flexible without adding any more fields to fill out. I have URL, Name, Site Name/Publication/Album, Duration, Author/Artist Name, Author Photo, Content/Excerpt.
#
GWG
I think I might be able to broaden it and pare it down simultaneously.
#
GWG
Anyone have any suggestions? I don't want to change the form page with javascript if I can help it, because I'm still avoiding javascript.
wolftune joined the channel
#
Loqi
[mention] Gennady Feldman liked a post that linked to https://webmention.io/notification/wTSBZhatB7Au9lGyY09rKw
snarfed joined the channel
ttepasse joined the channel
#
@kevinmarks
@annwitbrock it depends a lot on hosting environment. Come chat in https://indiewebcamp.com/irc/2015-08-30 lots of advice there
(twitter.com/_/status/638048102000136192)
#
Loqi
[mention] Thomas Steiner reposted a post that linked to https://webmention.io/notification/BmqDXQt3J7uihWCp4hx55g
ann joined the channel
#
ann
I'm less familiar client side than server side, so I'm trying to do two things:
wolftune joined the channel
#
ann
1) get json data into something I can pass around in javascript (maybe a cookie) client side.
#
ann
2) understand whether I'm limited to client-side javascript served from the hosted environment, or whether I can run a program like flask to interpret all the urls and do nice backend magic that I'm more familiar with. ie can I make my host play nicely?
#
snarfed
ann: hi, welcome! i think we're missing some context
#
ann
I'm missing something about returning java object things. They empty on return.
#
snarfed
sorry, i think we still need more context. should i read your tweet thread? otherwise maybe describe your high level goal and current stack?
j12t joined the channel
#
ann
I did already. Current stack is client side javascript and html. Server side is not under my control, but maybe negotialble. I'm much more familiar with webserver like django or asp or flask already operational.
#
ann
Thinng is, I think I am missing some context. Trying to bridge that.
#
snarfed
sorry, i don't see where you originally described your current situation
#
snarfed
i get that your local stack is working and you're trying to deploy to a web host somewhere
#
ann
yes. Well it was working, but that can be fixed ;-) I need to understand my next steps to initial deploy on destination server. Static files are easy enough, but I want to know whether say flask could be run to supercede the hosted environment.
#
ann
Because I'd rather automate the stuff.
#
snarfed
sure! good question. where's your destination server? who hosts it? what's its OS, stack, etc?
#
ann
Privately hosted. Runs something called qnap and I'm finding it hard to get answers to my questions about what is on board. Currently I'm lacking ssh access too so its not a case of just poking about.
#
snarfed
ann: ok. sounds like a somewhat unusual setup. i don't know that you'll find many people here familiar with qnap. sorry. :(
#
ann
General principles of web deploy should be enough to run with. My original tweet "I have a lovely little simplehttpserver running locally, but... how does that transfer to final home?"
cweiske joined the channel
#
snarfed
sorry, no, that's too broad. personally at least, i can't give you any useful advice for that question without understanding the details, and i don't personally know qnap.
#
ann
This is an area that always turns to quicksand when I try to find out. But people host stuff other than static pages, on shared hosting, so it must be possible, in some cases if not all. I'm assuming all I need is execute permission for the web server running on an appropriate port and then it'll pick up all the connections, find the right urls etc.
#
ann
ok, I guess it'll also need python on board.
#
ann
Let's forget that question for now. I should get access to play a bit later.
#
ann
Thanks for trying to help.
#
snarfed
sorry i couldn't help more, ann. good luck!
#
ann
:-)
#
kylewm
ann: just a random guess, shared hosting often supports php and little else in terms of server side code
#
KevinMarks
ann, if you want a simple hosting setup, appengine or heroku are pretty good
#
KevinMarks
in that you can run something locally and have a good chance of it running serverside equivalently
#
KevinMarks
heroku is good for node.js hosting + rails, appengine for python, java, go
#
KevinMarks
both offer PHP but that tends to involve more finagling because PHP tends to be less abstracted by default
#
ann
I'm not sure it does any more than provide a nice front end to network storage.
#
KevinMarks
https://github.com/kevinmarks/noterlive is an example of using a node backend on heroku without much persistence
#
ann
I've used heroku and gappengine. This is not where I'm being asked to run it from.
#
KevinMarks
running on generic hosting is hard - withknown spent a lot of effort on that - chose PHP; switched from mongo to MySQL etc
#
GWG
I just released a major change to Post Kinds. I hope I didn't break anyone's site.
#
KevinMarks
ann: another possibility would be to use a more generic service you host elsewhere
#
snarfed
looks like ann is right, this may not even be shared hosting, more like a NAS: https://en.wikipedia.org/wiki/QNAP_Systems,_Inc.#Product_Overview
#
KevinMarks
eg http://www.kevinmarks.com/hwc2015-08-12.html is static but uses other sites for the hovercards and the comments
#
snarfed
right, if it's basically a NAS, static HTML + JS is probably your best bet
#
GWG
I have a QNAP NAS. It is an embedded Linux system. They do have Web server packages
#
KevinMarks
but can you run server-side code on it?
#
ann
It's ok, no blogging or similar user interaction required, just need to manage a lot of media data. Ah thanks GWG. Linux is good. I expect I will be able to add files, execute, open relevant ports. Right now I cant see how it would tell the differnce between file server faceplate and web, but I guess that is just down to the port and what program is talking over it.
#
GWG
KevinMarks: Yes, it allows install of scripting languages.
#
ann
Meanwhile it'll force me to think about some important javascript questions, which can only be good for my career.
#
GWG
I bought one because I was too busy to rebuild the last time my server died.
#
ann
thanks gwg, so if python and flask arent there already I should be able to pop a virtual machine with them in the project root. The server is run by someone I can talk to about permissions so this should be ok.
j12t joined the channel
#
ann
I've suggested creating a staging site so we can explore the permissions before we open the serious site.
davidmead, mlncn and j12t joined the channel
#
KevinMarks
KartikPrabhu: wow, <mark> does look useful
#
KevinMarks
with a default {background-color:yellow; color:black;}
yakker, nedorito and wolftune joined the channel
#
KartikPrabhu
KevinMarks: yeah I had never heard of it until yesterday
ann joined the channel
#
ann
really?
#
aaronpk
not really
[kevinmarks] joined the channel
#
[kevinmarks]
That they inject ads? Or that we have indieweb likes coming in here?
#
aaronpk
that notification is wrong for two reasons
#
ann
someone else might have liked it.
#
aaronpk
1) bridgy includes all URLs in the tweet in the like-of property
#
aaronpk
2) the notification is finding the first h-entry on the page that is liked, which in the case of the IRC logs is the first thing that happened today (that RT)
#
ann
ok, I have a talent for turning up the bugs ;-)
#
aaronpk
I can solve #2 by wrapping the IRC logs in an h-feed so that I can give the h-feed a name like "#indiewebcamp on August 30th, 2015"
#
KartikPrabhu
haven't been a fan of bridgy 1) behaviour but I couldn't think of how to improve it
#
aaronpk
KartikPrabhu: they're making progress
#
ann
all the best with that, and try to avoid anyting too defamatory xx
#
KartikPrabhu
defamtory?
#
ann
As in, what we appear to like is our reputation!
#
ann
ttfn, good night and thanks for the discussion.
#
Loqi
gute nacht!
#
[kevinmarks]
Night Ann
#
[kevinmarks]
Hope to see you here again
wolftune joined the channel
#
ann
Tschüß
#
ann
could be, it's gentler than the stackoverflow diet :-)
#
aaronpk
kay, now the IRC logs are wrapped in an h-feed
#
aaronpk
great example of a use for that!
lukebrooker joined the channel
#
aaronpk
kylewm++ for silopub
#
Loqi
kylewm has 226 karma
lukebrooker, tjgillies__ and cmhobbs joined the channel
#
aaronpk
kylewm: wow you got photo posting and likes working on twitter too
#
aaronpk
amazeing
#
aaronparecki.com
edited /authorization-endpoint (+15) "/* Software implementing the authorization endpoint spec */"
(view diff)
#
@pkdev
my new favorite way to tweet is curl to https://silo.pub/ with a micropub post
(twitter.com/_/status/638128153437732864)
tantek joined the channel
#
__number5__
wow that's cool. ^
tantek joined the channel