#indiewebcamp 2014-09-09

2014-09-09 UTC
#
bear
agrees
#
bear
fencing with language hint is so much better than trying to guess if an indent is a code block or just badly imported text with tabs
#
tantek
what?
#
tantek
" ```" is nonsensical
#
tantek
and doesn't belong in "plain text"
#
tantek
pretty sure I have a solid superior and defensible alternative proposed on my wiki page
#
tantek
the more I look at markdown, the more I can't believe people have put up with the crappy constructs for links and images, nevermind the noise for code blocks
#
tantek
none of that stuff obeys the primary design principle markdown itself starts with
#
bear
I don't see how ``` is nonsensical at all - yes, it's a bit more wordy than other markdown items but it does what it says - denotes a block of code
#
bear
while also allowing it to be cut-n-pasted as is
#
tantek
``` does not say *anything*
#
tantek
it looks like someone's key got stuck
#
bear
it's just as non-sensical (IMO) as using --- and === for headers
#
bear
is that a dash following a line or a header marker
#
tantek
bear - nope - both the ========== and ------------ have prior use in plain text emails
#
bear
sorry - but prior use does not immediately give something more weight for current use
#
tantek
bear - it absolutely does per the primary markdown design principle
#
bear
or I would still be known as a long series of node!node!node@server
#
tantek
if you're going to be punctuation noise in your plain text, then all you have is another wiki-like syntax
#
bear
I view the ** for bold to have the same issue as ## for H2
#
bear
if your going to allow variable length markers for one, why not the other
#
tantek
I'm not, in either case
#
bear
and "just use auto-link" ignores the biggest feature that markdown's link syntax allows - the specification of title text
#
tantek
** is crap as is ##
#
tantek
bear - then <a href=url>link text</a> is good enough for that
#
tantek
I don't see sufficient advantage in using bizarro markdown syntax for hyperlinking text
#
bear
haha - I'm getting a chuckle from which of the items we both feel are bizarro :)
#
tantek
images and links? yeah.
#
bear
yea, I learned to love the ``` just from sheer weight of it being used by github folks
#
bear
for me italics has always been /italics/
#
bear
hmm, I would make these changes to your suggested table: /italics/ [http://example.com/foo foo]
#
bear
and ` code block
mko joined the channel
#
ShaneHudson
Is there a reason microformats aren't namespaced more generically? Feels weird having h-, p- etc all being part of the same thing
#
ShaneHudson
I suppose mf-h- would just look messy
#
tantek
ShaneHudson - what problem are you solving?
#
tantek
"namespacing" in general is a hypothetical architecture handwave to be avoided, especially in formats.
#
mko
aaronpk: I apparently got disconnected last night when you asked regarding my redis use. Specifically, I am using a slightly modified version of https://github.com/visionmedia/reds running Redis in its default configuration.
#
ShaneHudson
That's fair enough, no problem really just feels odd despite knowing which each prefix means
#
mko
aaronpk: I haven't tried doing any optimization on my search system yet. I just wanted a basic one in place so I could search my archive of 16k+ posts.
cmhobbs joined the channel
#
bear
ShaneHudson++ on HTTPS Level 5
#
Loqi
ShaneHudson has 5 karma
#
ShaneHudson
bear: cheers :) It was far easier than I expected!
#
tantek
I was blown away by how many people went from 0 to Level 5 this past weekend.
#
tantek
incredible
#
bear
yes, I love seeing all the new folks at level 5 - I'm loving that the documentation work is helping others
#
ShaneHudson
Yeah, luckily it is mostly just config and people have already written the long lines of recommended ciphers!
#
ShaneHudson
I tried to put most of it on wiki, and posted this note on apache for Jeremy - https://shanehudson.net/2014/09/07/012
#
mko
What is HTTPS Level 5?
#
Loqi
It looks like we don't have a page for "HTTPS Level 5" yet. Would you like to create it? http://indiewebcamp.com/wiki/index.php?action=edit&title=HTTPS+Level+5
#
ShaneHudson
what is https
#
Loqi
HTTPS is an abbreviation for Hypertext Transfer Protocol Secure, a protocol for secure communication, supported by web servers (like Apache & nginx) and browsers http://indiewebcamp.com/https
#
ShaneHudson
It is on that page mko :)
#
mko
Wasn't sure if there were separate DFNs or not.
#
ShaneHudson
I really need to sort out naming conventions for my notes. I would do by id but id isn't created until after publish. And of course going by previous causes problems with deleted posts
#
bear
tantek++ you are the redirect master
#
Loqi
tantek has 75 karma
KevinMarks_ joined the channel
#
gregorlove.com
edited /storage (+98) "/* Databases */"
(view diff)
gRegor` joined the channel
#
ShaneHudson
Does anyone know much about the state of SPDY? I was going to add it but saw a 6 month old post mentioning it is not advised as it modifies mod_ssl and has a security risk of some kind?
#
ShaneHudson
I seem to have lost that post though
#
bear.im
created /HTTPS_Level_4 (+36) "backfilling https redirects"
(view diff)
#
bear.im
created /HTTPS_Level_3 (+36) "backfilling https redirects"
(view diff)
#
bear.im
created /HTTPS_Level_2 (+36) "backfilling https redirects"
(view diff)
#
bear.im
created /HTTPS_Level_1 (+36) "backfilling https redirects"
(view diff)
#
bear.im
created /IndieMark_Level_6 (+31) "IndieMark Level Redirect"
(view diff)
#
bear.im
created /IndieMark_Level_5 (+31) "IndieMark Level Redirect"
(view diff)
#
bear.im
created /IndieMark_Level_4 (+31) "IndieMark Level Redirect"
(view diff)
#
rascul
ShaneHudson are you referring to this? http://en.wikipedia.org/wiki/CRIME
#
bear.im
created /IndieMark_Level_3 (+31) "IndieMark Level Redirect"
(view diff)
#
bear.im
created /IndieMark_Level_2 (+31) "IndieMark Level Redirect"
(view diff)
#
bear.im
created /IndieMark_Level_1 (+31) "IndieMark Level Redirect"
(view diff)
#
ShaneHudson
rascul: I think this was a different issue. But appears it could have been fixed by an offiical patch landing in mod_ssl, rather than using the modified version
#
rascul
oh ok
#
rascul
don't need a modified mod_ssl now
#
ShaneHudson
:) Will have another look later in the week then
#
rascul
if you find the post again i would be interested to see it
KevinMarks_ joined the channel
#
bear
oh joy - Comcast is injecting javascript into pages served with plain HTTP for anyone using it's XFinity hotspots
#
rascul
go through vpn, ignore comcast
#
rascul
i got a tinc vpn from my router to a digitalocean droplet, only thing comcast knows is osfag8ye8tgyw4ewao08408
#
bear
it's more than that tho
#
bear
they are sending a big ol'd F-You to anyone with DoNotTrack enabled
#
rascul
enabling it makes you a target
#
tantek
what is SPDY?
#
tantek
what is mod_ssl?
#
Loqi
It looks like we don't have a page for "mod_ssl" yet. Would you like to create it? http://indiewebcamp.com/wiki/index.php?action=edit&title=mod_ssl
#
ShaneHudson
For notes, what do you all think of '/2014/09/09/note-1'? Where the 1 increases each note, resetting per day. I can't have an accurate id, and don't want manual slugs for each note
#
tantek
what is Comcast?
#
Loqi
Comcast is a service provider that provides internet access to businesses and personal homes http://indiewebcamp.com/Comcast
#
tantek
bear - please add that criticism of Comcast to /Comcast
#
tantek
what is vpn?
#
Loqi
It looks like we don't have a page for "vpn" yet. Would you like to create it? http://indiewebcamp.com/wiki/index.php?action=edit&title=vpn
#
tantek
what is digitalocean?
#
bear
I was just looking for that page...
#
Loqi
It looks like we don't have a page for "digitalocean" yet. Would you like to create it? http://indiewebcamp.com/wiki/index.php?action=edit&title=digitalocean
#
tantek
what is droplet?
#
Loqi
It looks like we don't have a page for "droplet" yet. Would you like to create it? http://indiewebcamp.com/wiki/index.php?action=edit&title=droplet
#
tantek
what is DoNotTrack?
#
Loqi
It looks like we don't have a page for "DoNotTrack" yet. Would you like to create it? http://indiewebcamp.com/wiki/index.php?action=edit&title=DoNotTrack
#
rascul
oh i thought we had a digitalocean page
#
rascul
i guess that's what i get for thinking again
#
tantek.com
edited /SPDY (+59) "dfn, see also"
(view diff)
#
bear.im
edited /Comcast (+241) "add js ad injection article reference"
(view diff)
#
rascul
i'll do something for digitalocean right now
#
bear
i'm also going to add this as a Pro for HTTPS page
#
tantek.com
created /spdy (+18) "r"
(view diff)
#
bear.im
created /Https (+19) "because yes"
(view diff)
#
kylewm.com
edited /storage (+24) "/* Databases */ update werd.io -> Known"
(view diff)
#
tantek.com
edited /HTTPS_Level_5 (+0) "single redir"
(view diff)
indie-visitor joined the channel
#
tantek.com
edited /HTTPS_Level_4 (+0) "single redir"
(view diff)
#
tantek.com
edited /HTTPS_Level_3 (+0) "single redir"
(view diff)
#
bear
I was just doing that and wondered why it suddenly was working
#
tantek.com
edited /HTTPS_Level_2 (+0) "single redir"
(view diff)
#
tantek.com
edited /HTTPS_Level_1 (+0) "single redir"
(view diff)
#
tantek.com
edited /SSL (+0) "single redir"
(view diff)
#
tantek.com
created /TLS (+19) "r"
(view diff)
#
kylewm.com
created /database_antipattern (+34) "common typo from me"
(view diff)
#
rascul.io
created /DigitalOcean (+226) "Created page with "{{stub}} '''<dfn>[https://digitalocean.com DigitalOcean]</dfn>''' is a [[web hosting]] provider targeted towards developers and offers low cost cloud servers in data centers acr...""
(view diff)
#
rascul
how do i make a redirect page?
#
bear.im
edited /HTTPS (+243) "add link to comcast js injection to the list of reasons why"
(view diff)
#
kylewm
rascul: #REDIRECT [[pagename]]
#
Loqi
kylewm: KartikPrabhu left you a message 3 hours, 29 minutes ago: reply with photo bug filed: https://github.com/snarfed/activitystreams-unofficial/issues/22
#
bear
type in the wiki page url - edit page - #REDIRECT...
#
rascul.io
created /digitalocean (+22) "redirect to DigitalOcean"
(view diff)
#
rascul
i didn't do it right
#
bear
replace "pagename" with the target page
#
rascul
oh... silly me
#
rascul.io
edited /digitalocean (+4) "fix my silliness"
(view diff)
#
bear
rascul++ for wiki gardening
#
Loqi
rascul has 15 karma
#
rascul
i did it :)
#
bear
ShaneHudson++ for wiki gardening
#
Loqi
ShaneHudson has 6 karma
#
rascul
what is digitalocean?
#
Loqi
DigitalOcean is a web hosting provider targeted towards developers and offers low cost cloud servers in data centers across the world http://indiewebcamp.com/DigitalOcean
#
tantek
!tell tommorris could you add your awesome photo from IWCUK 2014 to http://indiewebcamp.com/2014/UK similarly to how the photos are on http://indiewebcamp.com/2014 ?
#
Loqi
Ok, I'll tell them that when I see them next
#
kylewm
is everyone who is HTTPS Level 5 off SHA-1 then?
#
bear
probably not
#
kylewm
shaaaaaaaaaaaaa.com is not working for me
#
rascul
wrong number of a's?
#
kylewm
haha, no i mean it loaded, it just doesn't work when i try to check a website
#
kylewm
gives some non-interesting error message
#
rascul
hrm me too
#
bear
same
#
rascul
we must have broke it
#
bear
i'll have to code up a version using python - that was a handy check
#
tantek.com
edited /ssl (+0) "r"
(view diff)
#
tantek.com
edited /Https (+0) "single redir"
(view diff)
#
kylewm
wonder what's the significance of 13 A's
#
bear
probably a bad star trek movie reference
#
tantek
12 must have been squatted
#
tantek
kylewm - definitely not. since CAs were still selling SHA1 certs as of this weekend.
#
tantek
and people opted for cheapest - hence SHA1
#
GWG
Evening.
#
tantek
I would assume current HTTPS Level 5 folks are *mostly* SHA-1
#
GWG
What's the topic of the day?
#
bear
the option to generate a sha-2 is still undocumented if you use openssl to generate the CSR
#
tantek
GWG a mix. though https still keeps a good bg hum going
#
GWG
I need to add myself to that
#
tantek
where are you?
#
GWG
tantek: 4, but only because I use SNI and when I enabled HSTS, I had trouble with another site on the same server
#
tantek
GWG, oh cool! when did you add the http to https redirect ?
#
GWG
After I added SPDY
#
tantek
when did you add SPDY?
#
kylewm
GWG: you're using SHA-2 though
#
GWG
Hmm...I think last weekend.
#
kylewm
ahead of a lot of us there
#
ShaneHudson
Decided, I think, to go with /year/month/day/hourminute, produces a nice sized number which will almost always be unique to the day :)
#
GWG
kylewm: I just upped my certificate to 4096 bits
#
ShaneHudson
My cert is SHA-2
#
bear
better get his act together... ;)
#
ShaneHudson
NameCheap's Comodo is a good buy
#
GWG
bear: Why?
#
GWG
I went the cheap StartSSL way
#
GWG
I got into an argument about this two weeks ago
#
bear
I'm just being silly - doing a faux ego thing about all the ssl updates you guys are kicking arse on
#
GWG
What's my important to you? Encryption or identity in a certificate?
#
rascul.io
edited /DigitalOcean (+163) "tell about who is using digitalocean and their irc channel"
(view diff)
dentonjacobs joined the channel
#
kylewm
GWG: 4096, going the full Randy Waterhouse
#
GWG
But, honestly..none of us are doing e-commerce...do we care who our CA is?
#
GWG
Even a self-signed CA will still provide secure encryption
#
kylewm
GWG++
#
Loqi
GWG has 17 karma
#
ShaneHudson
Yeah, if it were not for being given a C on the test I would not have bothered improving after I got basic SSL working lol
#
tantek.com
edited /SPDY (+277) "subheads, IndieWeb Examples"
(view diff)
#
rascul
getting scored seems to be a motivator to improve https
#
rascul
was the same for me
#
tantek
GWG, feel free to fix detail/date: http://indiewebcamp.com/SPDY#David_Shanske
#
GWG
I have a bunch of new projects though
#
GWG
Including my new short URL
#
GWG
di5.us
#
tantek
anyone else support SPDY on your personal site? Add yourself: http://indiewebcamp.com/SPDY#IndieWeb_Examples
#
GWG
Why I haven't set up?
#
ShaneHudson
Oh shit, it is 2:20am... goodnight all!
#
Loqi
night
#
GWG
Night, ShaneHudson
#
GWG
I haven't proven SPDY is faster for me
#
bear
hmm, startssl.com is not resolving for me
#
GWG
I also tried Pagespeed but it wasn't helpful
#
rascul
resolves for me @8.8.8.8
#
tantek
What is Pagespeed?
#
bear
sorry - I keep saying resolve when it's a browser page load fail
#
Loqi
It looks like we don't have a page for "Pagespeed" yet. Would you like to create it? http://indiewebcamp.com/wiki/index.php?action=edit&title=Pagespeed
#
rascul
they have weird maintenance stuff though
#
bear
is horrible with lingo problems
#
rascul
oh it don't load for me
#
bear
i'll come back to that later
#
GWG
I sprung for the $60 identity verification package
#
rascul
i've seen cases where it worked for me but not someone a few states over due to their weird maintenance
#
GWG
Nothing like a late night call from an Israeli guy
#
bear
yea, they do have weird hours
#
bear
GWG++
#
Loqi
GWG has 18 karma
#
GWG
bear: They are in Israel. It is the time difference
#
bear
nods
#
rascul
GWG i will eventually, i'm just kinda lazy
#
bear
I did it because I was able to then add our company to my identity which allows for free certs
#
bear
very handy
#
rascul
yeah i like startssl
#
GWG
I just custom-compiled Nginx, which I avoided doing because I know I'll forget to upgrade if it isn't in a package
#
GWG
Added in SPDY support, Pagespeed, and Cache Purgre
#
GWG
Purge
#
kylewm
^ indie-userscripts.org :)
#
mko
kylewm++
#
Loqi
kylewm has 47 karma
#
GWG
When I get to 20 karma, can I redeem for prizes?
#
mko
No.
#
mko
Karma then redeems you for prize.
#
bear
mko++ excellent quip
#
Loqi
mko has 8 karma
#
GWG
So, bear, question for you
#
GWG
How do I make my site load faster? I'm looking for some new Nginx tweaks
#
GWG
I'm running a LEMP stack with FastCGI_Cache to store pages statically
#
bear
add cache headers to your page and then enable page caching
#
mko
Anyone here have standardized image resizing specifications for their site (i.e. like Flickr's http://f.cl.ly/items/1A2D1o1F0S0C0n1S0q2k/Screen%20Shot%202014-09-08%20at%206.31.44%20PM.png) or do you just resize things before uploading?
#
kylewm
bear: is that different from nginx's proxy_cache stuff?
#
GWG
kylewm: Proxy cache proxies the site
#
GWG
Fastcgi cache caches the output from the fastcgi server
#
bear
proxy_cache stores the result of a request from the upstream server
#
bear
fastcgi_cache technically does the same thing - but it uses the existing nginx cache control to manage it
#
bear
proxy_cache IMO is a sledge hammer approach
#
GWG
bear: One is for upstream web servers, the other for upstream fastcgi servers
#
rascul
GWG why build nginx instead of using the package?
#
GWG
Proxy cache is when you have multiple backends, I think
#
GWG
rascul: Cache Purge, SPDY, etc aren't built in
#
kylewm
fastcgi : php :: uwsgi : python ?
#
rascul
spdy is, might need 1.6 though
#
GWG
kylewm: Yup
#
bear
uwsgi is to python like fastcgi is to php
#
rascul
kylewm uwsgi can run php natively now
#
kylewm
so would proxy-cache be the right thing to use with uwsgi?
#
bear
technically you can use both with both - but it's hard enough getting one to work ;)
#
kylewm
oh, really glad i asked!
#
bear
I would use the "normal" page cache by setting up a web zone: http://nginx.com/resources/admin-guide/caching/
#
GWG
The key to page caching is the best cache invalidation possible so you can set the expiry to a high time and are effectively serving static pages
#
bear
IMO fastrouter is for folks who don't want to mess with nginx/apache (or who can't because of hosting issues)
#
bear
but I don't do a lot in uwsgi land so take my thoughts with a big grain-o-salt
#
rascul
i've not used fastrouter myself
#
kylewm
I've been trying to speed up my site, was just getting to the point of thinking about caching, but man it is confusing
#
GWG
kylewm: Anything on your site require dynamic? Or can you cache static pages and be happy?
#
kylewm
GWG: static would be great, as long as i can invalidate it quickly when i post something or receive a wm...
#
GWG
What language is your site written in?
#
kylewm
python
#
GWG
So, add the Nginx Cache Purge module and write some code to invalidate the cache
#
kylewm
bear: thank you for the tip about zones and stuff, bookmarking for when i can take time to understand
#
rascul
btw this can be useful for web page optimizing http://gtmetrix.com/
#
bear
it's called fastrouter because it let's use route based on url path *before* it hits your app
#
bear
which is why I made the "don't want to touch nginx" comment
#
bear
IMO those things should be done at the nginx layer
#
bear
goes to get dinner before he forgets again
#
bear
kylewm - quick before I *really* leave comment... yea, stick with web zones and cache invalidation tools
#
bear
your life will be easier and less painful IMO
#
kylewm
thanks!!
#
kylewm
bear++
#
kylewm
GWG++
#
Loqi
bear has 20 karma
#
kylewm
rascul++
#
kylewm
too much karma
#
Loqi
rascul has 16 karma
#
bear
plus if you *really* want to invalidate - just restart nginx ;)
#
rascul
karma spam!
#
bear
flees
#
tantek
is also falling asleep but hasn't finished with post-IndieWebCampUK wiki updates :/
KevinMarks joined the channel
#
tantek.com
edited /2014/UK/Demos (+298) "headers for intro demos, hack day demos, add IRC link to start with"
(view diff)
#
tantek
could someone who's more awake (aaronpk? KevinMarks?) copy the demo notes from IRC into http://indiewebcamp.com/2014/UK/Demos#Hack_Day_Demos (pointer there to where the IRC logs start of the Hack Day Demos). Help!
KevinMarks, wolftune, KevinMarks_, dentonjacobs and dentonja_ joined the channel
#
@AmazeWall
DigiWall Update: Posted by @tantek #indiewebcampuk day 1 #schedule #grid. #indieweb #barcamp #latergram #nofilter... https://twitter.com/AmazeWall/status/509176334007140352/photo/1
(twitter.com/_/status/509176334007140352)
#
@AmazeWall
DigiWall Update: Posted by @tantek #indiewebcampuk #day2 #hackday #hacksessions #grid. #indieweb #barcamp #indiew... https://twitter.com/AmazeWall/status/509176337140314112/photo/1
(twitter.com/_/status/509176337140314112)
wolftune, donpdonp, annevk_, mattl_, TimAbraldes, rknLA_, GWG-, ozatomic_, halorgium_, markmhendrickson, sandro, hober, GWG, KevinMarks_ and KevinMarks__ joined the channel
#
aaronpk
wow busy night
KevinMarks__ joined the channel
#
GWG
It was?
#
aaronpk
evening?
#
aaronpk
late afternoon?
#
GWG
What made it busy?
#
aaronpk
i dunno, i was gone a while and lots of discussion here
irdan joined the channel
#
KevinMarks_
I've been in SF, and missed the backlog
benwerd joined the channel
#
neuro`
Good morning.
#
KevinMarks_
is amused that tantek thinks I'm more awake as I was on UK+US time this weekend and didn't sleep saturday night
#
neuro`
KevinMarks_: are you the one in the UK today?
#
KevinMarks_
no, I'm in california, I just did a UK timezone shift at the weekend too for IWC UK
#
neuro`
I've noticed that :)
#
KevinMarks_
going to the UK next tuesday
#
KevinMarks_
it was really obvious in my notes on the demos that I was not really in control of my faculties
#
neuro`
I was less present at the demo day, kids were saking for my time.
#
neuro`
I'll have to check your notes.
#
neuro`
Wait, was demo day he first day?
#
neuro`
needs some sleep too
#
benwerd
KevinMarks_: Lots of respect for doing that. Really wish I'd seen more of it. I need to catch up on the notes.
#
KevinMarks_
no, there was intros (Which includes "what I have working" )
#
KevinMarks_
and demo day at the end "what I got working this weekend"
#
KevinMarks_
there was a lot fo cool SSL progress, which doesn't really demo well
#
neuro`
Oh, OK, then I was not there, only caught up on IRC / Twitter.
#
neuro`
KevinMarks_: thank you for taking these notes. Even with sleep deprivation they are precious.
#
kylewm
gives up on configuring nginx caching
#
neuro`
kylewm: may I help you?
#
GWG
kylewm: Why?
#
neuro`
kylewm: what type of caching are you trying to setup? microcache?
#
kylewm
neuro`: sure! let me put up a gist
#
neuro`
kylewm: sure, let me grab another coffee and have the kids get up
#
kylewm
maybe microcache is the way to go, I'm just trying to get a feel for what the options are
#
kylewm
so i was trying to get it to cache things for 5 minutes
#
neuro`
kylewm: so you'll cache everything, included POST request?
irdan joined the channel
#
kylewm
the settings by the way, seem to just not do anything... no files are written to /var/cache/nginx
#
neuro`
kylewm: this is my working setup, for a Django application https://gist.github.com/fdv/c7e673eda7c7b1777533
#
neuro`
kylewm: just replace <%= @frontend_cookie %> with your cokie name, I c/p that from my Puppet templates and forgot to remove the variable
Nadreck joined the channel
#
kylewm
gotcha, ok interesting, thank you!
#
neuro`
kylewm: you're welcome. By default nginx caches everything.
#
kylewm
it's very possible that i'm just using too old of a version, before uwsgi_cache stuff was supported
#
kylewm
Ubuntu 12.04 is getting a little long in the tooth
#
GWG
kylewm: It would say when you do configtest
wolftune joined the channel
#
neuro`
kylewm: that setup runs on a 12.04
#
kylewm
configtest is clean
#
GWG
kylewm: Then all the commands work
#
kylewm
i'll keep poking around, thanks both of you
#
neuro`
You're welcome, tell us how it works.
tilgovi, alanpearce, glennjones, friedcell, KartikPrabhu, RichardLitt and ShaneHudson joined the channel
#
KartikPrabhu
hi Loqi wassup?
carlo_au, fmarier, eschnou, kensanata and petermolnar joined the channel
#
@kevinmarks
Looking forward to talking #indieweb with @leolaporte @benwerd and @erinjo on TWiG this week
(twitter.com/_/status/509253767569489920)
KevinMarks_ joined the channel
#
@TonyaHallRadio
RT @kevinmarks: Looking forward to talking #indieweb with @leolaporte @benwerd and @erinjo on TWiG this week
(twitter.com/_/status/509254563799375873)
krendil joined the channel
#
@cubicgarden
RT @kevinmarks: Looking forward to talking #indieweb with @leolaporte @benwerd and @erinjo on TWiG this week
(twitter.com/_/status/509255579320455168)
dysfun, fmarier, KevinMarks, KevinMarks_, KevinMarks__, dentonjacobs, carlo_au and barnabywalters joined the channel
#
@SuliemanSultan
RT @kevinmarks: Looking forward to talking #indieweb with @leolaporte @benwerd and @erinjo on TWiG this week
(twitter.com/_/status/509280055692759040)
michiel_laptop, alanpearce and PierreO joined the channel
#
@dkernohan
@mdvfunes @cogdog that's the joy of @withknown - it wouldn't matter due to webmention. But not sure what would replace the twitter timeline?
(twitter.com/_/status/509286789299703808)
#
@dkernohan
@mdvfunes @cogdog @withknown - maybe a webmention aggregator could let you subscribe to the mentions friends were getting & their own posts?
(twitter.com/_/status/509286961291345920)
ShaneHudson joined the channel
#
@ShaneHudson
@leolaporte Yay! That's great news :) Please do drop by the indieweb irc, it's a great little community.
(twitter.com/_/status/509297732813852672)
#
@RikMende
@exiledsurfer @asteris maybe it's about time we realize the platform already exist : Its the Internet + #indieweb #posse #webmentions
(twitter.com/_/status/509300018977570816)
dentonjacobs, dentonja_, Kyle-K, krendil_, alanpearce, markmhendrickson, hober and ShaneHudson joined the channel
#
jonnybarnes
anyone on here happen to be using Yosemite and have PHP installed?
Kyle-K, cmhobbs, alanpearce, ShaneHudson and scor joined the channel
#
GWG
petermolnar: About what I mentioned yesterday, I was referring to wordpress-syndication, the one that inserts the links into the posts.
#
petermolnar
@GWG please refresh the memories
#
petermolnar
yep, I remember that, I have a slightly hacked version on my site: https://github.com/petermolnar/wordpress-syndication
kensanata joined the channel
#
GWG
petermolnar: I'm working on my version, which takes the return from Bridgy using code based on the Bridgy code snarfed contributed, and stores the URL in post meta.
#
petermolnar
that is a good idea, but you could put the code additionally to the syndication plugin, could you not?
#
petermolnar
therefore we'd have a single codebase instead of a series of plugins :)
#
GWG
petermolnar: I thought about a fork, but the design is fundamentally different.
#
GWG
I want to give it Bridgy Publish capabilities
#
GWG
Wordpress Syndication is more to add the rel-syndication links.
#
petermolnar
the bridgy publish sounds good, but please make it sure you do not hardcode brid.gy as url, since there is a possibility that someone will run their own brid.gy
#
GWG
petermolnar: Good point.
#
GWG
I'll be posting the code at some point. But it takes the metadata code I used in my other plugin for displaying Facepiles, so I'll be removing same from that codebase. I'm adjusting what goes in what.
#
Jihaisse
I will be on vacations nexts weeks
#
GWG
So, it will have a few display options, options for manual entry of URLs(G+ for example, which can't autopost), etc.
#
GWG
Jihaisse: I'm sorry I didn't fork you.
#
GWG
I don't know if this will get usable anyway.
#
GWG
Jihaisse: My plan is to have a plugin that does the display of the rel-syndication links, but also allows for manual entry of same, and can publish via Bridgy.
#
GWG
Jihaisse: We'll see if I finish it
#
GWG
I also still have this idea about using the WP JSON API to create micropub endpoints for Wordpress.
#
GWG
Thus allowing the indie action stuff demoed in the UK to work.
verdi and adactio joined the channel
#
ben_thatmustbeme
good morning all
#
GWG
Morning, ben_thatmustbeme.
shreesh joined the channel
#
ben_thatmustbeme
how are you today?
#
GWG
ben_thatmustbeme: I'm thinking of a project, getting ready to go out to visit my butcher...nothing excited
#
GWG
exciting
#
ben_thatmustbeme
i saw you mention micropub endpoints for WP, that would be pretty cool
#
ben_thatmustbeme
i'm not much of a WP guy, thats why I've taken to writing my own platform
#
GWG
ben_thatmustbeme: The JSON API for Wordpress is available as a plugin, scheduled for integration into core Wordpress for the next version
#
GWG
jeremyzilar was, at Indiewebcamp back in June, working on publishing directly from the front of his site without going into the admin interface.
#
ben_thatmustbeme
cool. thats actually what i'm working on right now
#
ben_thatmustbeme
i receive micropub but I don't have my own client
#
GWG
ben_thatmustbeme: I'm not ready for that. i have some other things I want to do.
#
GWG
I figure by the time I get to it, the JSON API will be integrated.
shreesh, chrissaad, brianloveswords, ShaneHudson and Sebastien-L joined the channel
#
ben_thatmustbeme
hmm, damn, auth endpoints could in theory contain query strings already
shreesh and alanpearce joined the channel
#
jonnybarnes
does anyone have any good guides on resizing images whilst keeping aspect ratio?
alanpear_ and shreesh joined the channel
#
neuro`
jonnybarnes: you mean letting convert do the job?
#
jonnybarnes
oh crap, forgot to add I'm doing this in PHP
#
neuro`
jonnybarnes: using which graphical library?
#
jonnybarnes
Well, currently using Imagine: http://imagine.readthedocs.org/
wolftune joined the channel
#
neuro`
OK, so it's GD
#
jonnybarnes
Yeah, at the moment, though technically Imagine can use Imagick
#
jonnybarnes
I was hoping the Box class Imagine provides would preserve AR but it doesn't
#
neuro`
You'll probably need to get width and height, find the ratio and apply
gRegor` joined the channel
#
jonnybarnes
neuro` yeah thats what im thinking
#
neuro`
jonnybarnes: you can also give Imagick::scaleImage a try
#
neuro`
if ImageMagick is installed on your system which is probably the case
brianloveswords and bear_ joined the channel
#
aaronpk
jonnybarnes: in my experience imagemagick is pretty feature complete and you can usually hunt down code examples pretty easily with a couple google searches
scor joined the channel
#
jonnybarnes
this should be simple enough aaronpk, btw, do you happen to know the php function to round an number to the neares integer?
#
jonnybarnes
ceil rounds thing up
#
jonnybarnes
which would probably do
#
jonnybarnes
its called round()
#
ben_thatmustbeme
well, that was a long way around to get indieauth working again, but now with the a person's own auth provider not just defaulting to indieauth.com/auth
gRegor`, npdoty and KevinMarks_ joined the channel
#
ben_thatmustbeme
can anyone explain the state param for auth / token requests to me?
#
aaronpk
basically clients can stick something there and the auth server just has to echo it back. it could be a session identifier, or encoded text, or whatever. it's up to the client what the value actually is.
glennjones, iboxifoo, Guest83252, paulcp, mdik, chrissaad, michiel_laptop and bear_ joined the channel
#
kylewm.com
edited /database-antipattern (+311) "/* FAQ */ added some q's that are frequently a'ed by me! cc: tantek,aaronpk"
(view diff)
#
aaronpk
the primary concern with database-as-primary-storage is the long-term viability of the data
#
aaronpk
so an HTML export of a database is not super useful unless you can re-create the database from that html trivially
#
kylewm.com
created /databases_antipattern (+34) "Redirected page to [[database-antipattern]]"
(view diff)
#
aaronpk
also i'm in a bit of a sore spot right now dealing with mysql in particular. encountering lots of limitations of mysql that postgres doesn't have
#
aaronpk
specifically with backing up and migrating large amounts of data (like >100gb tables)
#
jonnybarnes
jesus, >100GB tables!!
arlen joined the channel
#
KevinMarks__
is it data data or mostly text?
paulcp joined the channel
#
aaronpk
geoloqi location data
snarfed joined the channel
#
shanehudson.net
edited /note (+385) "/* IndieWeb Examples */"
(view diff)
#
KevinMarks__
would hbase work for it?
snarfed1, friedcell, Pea, petermolnar and alanpearce joined the channel
#
ben_thatmustbeme
woohoo. i'm getting tokens correctly!
#
Loqi
woot
#
ben_thatmustbeme
or at least I am from myself
#
neuro`
Congrats
#
ben_thatmustbeme
hopefully very soon I'll have a client page so i can start posting from my own site without needing the admin interface
KevinMarks__, Jeena and snarfed joined the channel
#
kylewm
ben_thatmustbeme: do you know that your fragmentions are preempting ids (at least in FF)? http://ben.thatmustbe.me/post/2014/9/7/4/hello_facebook_hopefully#likes
#
ben_thatmustbeme
yeah, i noticed that last night. i'm just using the open source fragmention.js i thought
#
kylewm
now how do I elevate permissions?
#
aaronpk
elevate permissions?
#
ben_thatmustbeme
on my page? just log in from that form there, it should work. (i hope)
#
kylewm
oh duh! i was looking in the old place for the login box
#
ben_thatmustbeme
also, all my logins now check the user's page for auth endpoint aaronpk
#
kylewm
ben_thatmustbeme: worked, first try!
#
aaronpk
although the real answer is that your authorization server could present you a UI to tweak the scopes that are granted
#
ben_thatmustbeme
huh? by "your" you mean the person logging in's auth server?
#
ben_thatmustbeme
that would be neat trying to picture how that would work
#
aaronpk
it's been on my mind for a long time
#
aaronpk
it's like benward's "checkboxes bitches"
#
aaronpk
yes I mean benward__ not benwerd
#
ben_thatmustbeme
kylewm were you able to post?
#
ben_thatmustbeme
next step will be adding a bunch more fields.
#
kylewm
a thousand points to the first micropub implementation that supports editing :)
#
aaronpk
two thousand!
#
ben_thatmustbeme
huh, just noticed though, ckeditor was supposed to run
#
aaronpk
kylewm: you mean server or client editing?
#
kylewm
not sure how you mean. i'm thinking open an existing post, and then send it back as an update instead of a new post
#
aaronpk
i mean your server has to support editing first
#
kylewm
a thousand points to each then!
#
kylewm
aaronpk: why "u" not "url" for the parameter here http://indiewebcamp.com/micropub#Updating_Objects (url feels more consistent to me as url is the parsed property)
#
aaronpk
i was sticking with one-letter names for micropub fields
#
aaronpk
but i'm not 100% sold on that yet
#
kylewm
cool, I think "h" makes sense since it's not actually a property of the object (as you convinced me previously)
#
kylewm
but registering my preference for "url" :)
paulcp joined the channel
#
kylewm.com
edited /Micropub (+212) "/* Adding a Syndication URL */ registering my preference for parameter name 'url' instead of 'u'"
(view diff)
#
ben_thatmustbeme
kylewm, i think i will take that challenge.. being the first site to do editing via micropub
verdi and Kyle-K joined the channel
#
ShaneHudson
What is the challenge? Surely editing is the same as writing new, just need to provide an id for the one to edit?
#
Loqi
It looks like we don't have a page for "the challenge? Surely editing is the same as writing new, just need to provide an id for the one to edit" yet. Would you like to create it? http://indiewebcamp.com/wiki/index.php?action=edit&title=the+challenge%3F+Surely+editing+is+the+same+as+writing+new%2C+just+need+to+provide+an+id+for+the+one+to+edit
#
ShaneHudson
I don't think we need a page for that Loqi
caseorganic joined the channel
#
kylewm
ShaneHudson: yeah I don't think it will be difficult, but no one has done it yet to my knowledge! it would also be nice if the editor slurped in the post and pre-filled all the fields
#
ShaneHudson
Yeah, it would be nice to have a micropub client for offline editing :)
caseorga_, brianloveswords and michiel_laptop joined the channel
#
@joelgaines
^jg Healthcare information privacy and control changes are the means to empowered patients and better health. #OwnYourData
(twitter.com/_/status/509429870603288577)
#
@LifeHealthDiary
^jg Healthcare information privacy and control changes are the means to empowered patients and better health. #OwnYourData
(twitter.com/_/status/509429874881478656)
tsobral, RichardLitt, paulcp, paulcp_, michiel_laptop and krendil_ joined the channel
#
rascul
oh we get #ownyourdata stuff too?
paulcp, caseorga_, KevinMarks and fmarier joined the channel
#
bret
nice job ShaneHudson++
#
bret
on your notes/articles/links on the home pate
#
bret
page*
#
ShaneHudson
Thanks :) It is nice to have some content on there! Really need to get POSSE working nicely though
KartikPrabhu joined the channel
#
rascul
soon here i'm gonna have myself a hack weekend to get a bunch of stuff done with my site that i've been not doing, if i can accept webmentions by cambridge i'll be happy
#
ShaneHudson
Firefox has changed the built in webrtc button from a phone to chat, looked far better phone... this makes it looks like a chat rather than phonecall
scor joined the channel
#
snarfed
ShaneHudson++ looks great!
#
Loqi
snarfed: KartikPrabhu left you a message 1 day ago: reply with photo bug filed: https://github.com/snarfed/activitystreams-unofficial/issues/22
#
Loqi
ShaneHudson has 7 karma
#
snarfed
ShaneHudson: are you sending webmentions for links in your posts?
#
ShaneHudson
snarfed: Not all links, I need to make it automated. But I can send webmentions
#
ShaneHudson
I think, only tried it internally
#
snarfed
ShaneHudson: cool. if you want a shortcut to posseing, obligatory plug: https://www.brid.gy/about#publish
#
ShaneHudson
Ooo I didn't know bridgy had that
#
snarfed
yup. both interactive (w/preview) and automated (w/webmention). just click the silo button next to "publish" on your user pages. https://www.brid.gy/twitter/ShaneHudson , https://www.brid.gy/facebook/502070145 , etc
#
eliemichel
Hi! Is there some Firefox plugin that add a "Send webmention" entry to the dialog menu that appear when right-clicking onto links?
#
aaronpk
that's a neat idea
#
eliemichel
It could be a very easy way to signal mentions manually
#
eliemichel
go and see whether it is easy to do a Firefox plugin
#
jonnybarnes
could that be done with JS? eliemichel
#
eliemichel
I think so
#
eliemichel
actually I've never look at that
#
eliemichel
but as I know how Mozilla loves Web techs, it would not surprise me ;)
#
ShaneHudson
snarfed: In the preview, it seems to be getting my p-name instead of e-content?
#
snarfed
ShaneHudson: yeah, the logic is custom per silo. twitter usually uses name/title, facebook usually uses content
#
snarfed
ShaneHudson: some discussion here: https://github.com/snarfed/bridgy/issues/228
#
ShaneHudson
Ah ok, I presume there is no way to manually say which I want to use?
#
ShaneHudson
Just that my titles are all ids
#
aaronpk
ShaneHudson: that is called "tweeting" :D
#
ShaneHudson
Lol you know what I meant :P
#
snarfed
ShaneHudson: aha. yeah name/title should probably be human-readable: http://microformats.org/wiki/h-entry#Properties
#
snarfed
no way to choose which manually yet, but there's a feature request, finding...
#
ShaneHudson
Okay, so if I just hide the title on notes then it should work? I didn't want titles at all, but it was a technical issue with the CMS, so can just hide :)
#
snarfed
ShaneHudson: i was wrong, no feature request. if by hide you mean omit the title from the html, then sure! or feel free to file an FR
#
ShaneHudson
Ok, will do that :)
#
gRegor`
Anyone have regex advice for matching relative URLs only? Example in progress: http://www.phpliveregex.com/p/6Mb
#
gRegor`
I've tried adding (?!http) in the seemingly correct places, but no dice.
#
rascul
gRegor` gimme a few minutes and i'll take a look at the regex
#
gRegor`
Thanks
#
rascul
few as in ~15
#
gRegor`
np
#
gRegor`
Use-case is that my webmention code currently extracts full URLs quite well, with/without the a href...
#
gRegor`
I'm migrating to a new CMS and working on wm code for it. When linking to internal pages it uses relative links...
#
gRegor`
So i was thinking of just running an additional regex to extract only those relative links, so I could send wm to them.
caseorganic joined the channel
#
gRegor`
Wondering if it might just be easier to use DOMxpath, though, and discard duplicates, mailto:, etc.
#
gRegor`
And also use xpath to take base href into account
snarfed1 joined the channel
#
rascul
excellent, 15 minutes exactly!
#
rascul
ahh so you just need the path part of the url, not the host/domain?
#
rascul
extracted from the <a> tags?
#
gRegor`
Preferably only relative URLs. In this example, it would ignore the cnn link
#
rascul
ok i should have something for you shortly
snarfed joined the channel
#
bret
i need a natural language to regex converter
#
gRegor`
Heh, that would make all of our lives easier.
#
gRegor`
Siri, what is the regex for...
#
bret
or at least a longhand version that does not use slashes carrots or dollar signs
#
rascul
regex can be confusing
snarfed joined the channel
#
rascul
and... don't look too long at the regex else you might go blind and/or insane
#
rascul
oh, not quite there but it looks like it's getting there
#
gRegor`
Don't think it saved properly. Just shows <a href=('|\ and no results.
#
rascul
oh hrm
#
gRegor`
I can see it in the source.
#
gRegor`
bad escaping, looks like
#
gRegor`
(on their end)
#
gRegor`
#xss
#
rascul
<a href=('|\")?((https?:\/\/)?\S+)?\/?(\S*)('|\")?>.*<\/a>
#
rascul
almost there i think
#
gRegor`
Yeah, still capturing the cnn link
#
gRegor`
You don't have to spend much time on it. I appreciate it, though. :)
#
rascul
yeah that and the trailing quote
#
gRegor`
I think I'll give xpath a try
#
rascul
i don't have much better to do right now :)
#
rascul
actually though, it may be easier with some bash, grep, sed, cut, and/or awk ;)
#
snarfed
oh man, xpath and xslt. i remember them fondly…ish. https://github.com/snarfed/misc/blob/master/snipscrape.xslt
#
gRegor`
:)
#
kylewm
snarfed: surely in 2004, SnipSnap was not this http://en.wikipedia.org/wiki/SnipSnap
#
snarfed
kylewm: lol no
#
snarfed
was a combined blog/wiki engine
#
snarfed
used to be at http://snipsnap.org/ but no more
#
kylewm
heh, cool
#
eliemichel
Is there any testing page to try and comment a post though webmention and in-reply-to”¯?
#
eliemichel
thx!
#
eliemichel
So I can flood it with tests?
#
snarfed
eliemichel: maybe! got me
#
eliemichel
Oh and if I want to edit a comment, do I have to do something alse than just re-webmentionning the target?
#
snarfed
eliemichel: technically that's it. in practice though, not everyone supports it
#
eliemichel
okey
#
gRegor`
That post requires pingback, IIRC
#
eliemichel
snarfed: Does your page support webmentions?
#
eliemichel
gRegor`: ok
#
snarfed
eliemichel: sure! go nuts
#
eliemichel
You answered before I asked ^^
ShaneHud_ joined the channel
#
rascul
gRegor` to get the regex better seems to be taking awhile and is getting pretty complex
#
eliemichel
snarfed: can't find the endpoint though
#
gRegor`
rascul: Yeah, I was afraid of that. Thanks for trying, though!
#
snarfed
eliemichel: on the eschnou.com page? yeah looks like it's gone. :/ feel free to try on snarfed.org
#
rascul
gRegor` i'm still going at it but i'm gonna go up to the beer store shortly
#
gRegor`
Yeah, eschnou is the post requiring pingback. I remember because I was excited to send my first webmention to it and found out I had to build in pingback fallback support :)
#
@OnTheWebz
RT @t: Updated @falcon (and my site) to use <indie-action> tags, and @adactio updated http://indiewebcamp.com/webactions documentation. (ttk.me t4Y02)
(twitter.com/_/status/509476878785060864)
#
eliemichel
snarfed: I think I added a comment on https://snarfed.org/2014-08-24_your-data-our-data but I can't see it. Are you showing comments automatically?
techlifeweb joined the channel
#
@DaveCZombie
RT @timretout: This one time, at #indiewebcamp, I got my pump.io notes to send to Twitter, and fixed everyone's https problems.
(twitter.com/_/status/509477616672571392)
snarfed joined the channel
#
eliemichel
=)
#
eliemichel
Well, I should add a link to an h-card
#
eliemichel
btw I posted the code here: https://github.com/eliemichel/Replier
#
eliemichel
The idea is to install it (i.e. just copy files) on your server and use it to reply to IndieWeb entries
#
eliemichel
note that there is absolutely no CSS for now
#
eliemichel
well, just enough not to be disgused by my own creation ^^
#
snarfed
i actually liked your idea of a browser extension. any reason you didn't try that?
#
snarfed
cross domain issue?
#
snarfed
actually nm, in a browser extension that shouldn't matter
#
rascul
gRegor` do the absolute links always have http:// or https:// ?
#
eliemichel
snarfed: I gonna try it ;)
#
eliemichel
But I just wanted to finish that
#
eliemichel
(where 'that' means my code to post comments)
brianloveswords joined the channel
#
techlifeweb
snarfed: Something odd here when you have a sec... Someone did a quoted retweet of a recent post of mine. Bridgy put it in my comments as expected but it isn't a link back to twitter with the person's name, it's a link to Bridgy. Here is the post my http://techlifeweb.com/social/hopes-for-a-strong-el-nino-fade-in-parched-california/
#
techlifeweb
expected or did I break something?
chrissaad joined the channel
#
snarfed
techlifeweb: may be an old version of the wordpress plugin(s) that don't support u-url. details: https://www.brid.gy/about#appspot
#
snarfed
if you're using the "indieweb" plugin, it's a bit old. consider uninstalling it and install the webmention and semantic-linkbacks plugins separately (they're not in the wp directory :/)
#
snarfed
and also consider nudging pfefferle to update the indieweb plugin bundle
#
gRegor`
rascul: Yeah. I want links starting with / or ../ or just a relative path to the current page.
#
snarfed
er, scratch that. they are in the directory1 http://wordpress.org/plugins/webmention/
#
techlifeweb
snarfed: thanks. I have to look around, somewhere there are confusing details about the 2 separate plugins vs. the "indieweb" plugin. Something got me believe the "indieweb" one was better.
#
techlifeweb
snarfed: Thanks for the speedy help as always. I'll update my WP docs tonight.
#
kylewm
interesting, I subscribed to gRegor`'s "Indieweb" twitter list in shrewdness, and now my "indieweb" search column shows all posts from it
#
kylewm
'twould seem search searches the url as well as the content
KevinMarks_, lukebrooker, realzies and wolftune joined the channel