#indiewebcamp 2015-03-31

2015-03-31 UTC
#
JonathanNeal
I thought fragmentions had settled on one #.
#
KartikPrabhu
KevinMarks proposed it but I don't know if people have switched to using it as such
#
KartikPrabhu
what is fragmention
#
Loqi
A fragmention is an experimental extension to a URL to link and cite individual words or phrases of a document using double-hash anchors (##) https://indiewebcamp.com/fragmention
lukebrooker joined the channel
#
JonathanNeal
It’s the idea I first heard from KevinMarks. Human readable links to individual fragments of text.
#
JonathanNeal
Am I getting the name wrong?
#
kylewm
this betterlink thing seems to misunderstand the point of fragmentions
#
KartikPrabhu
no not really. Fragmention originally has double # convention. KevinMarks then added the idea to use only one # anyway since ids don't contain spaces anyway
#
kylewm
I'm impressed they bought a .io domain and everything for it though
#
KevinMarks
betterlink replaces fragmentions with a silo o_O
benwerd joined the channel
#
KartikPrabhu
KevinMarks and obscure URLs
#
kylewm
KevinMarks: oh for real?? it saves the fragmention location in a central place?
#
KevinMarks
there is sn argument for highlighting the exact text linked to
#
KartikPrabhu
KevinMarks yes, but that is more of fragmention.js implementation (seems hard) rather than fragmention the proposal
#
JonathanNeal
Holy cow, does betterlink really charge you?
#
JonathanNeal
$0.44 per visit? That’s … cool. I’m stickin’ with fragmentions.
benwerd joined the channel
snarfed joined the channel
#
rascul
that gets a big eww from me
#
rascul
oh, and it's just for chrome
#
rascul
after more looking, doesn't seem like a worthwhile alternative to fragmentions at all
#
JonathanNeal
Concern: Fragmentions are not a valid URL due to ##. Solution: Drop the second #. Concern: Fragmentions target the element and not the selection itself. Solution: Why not allow for both? html[data-fragmention-selects="*"] or html[data-fragmention-elements="p h1 h2 h3 h4 h5 h6"] html[data-fragmention-selects=":text”]. Concern: Not All Browsers Play The
#
JonathanNeal
Same. Solution: None, if irregularly spaced will not appear as you expect in old IE≤8 anyway.
#
Loqi
JonathanNeal meant to say: Same. Solution: None,  irregularly spaced will not appear as you expect in old IE≤8 anyway.
#
rascul
problem with # vs ## is potential confusion with # anchors
#
rascul
but if both were allowed, i don't see the issue
#
rascul
uses fragmentions and has pointed several non indieweb people towards it, also
#
JonathanNeal
rascul: fragmentions has long supported both, since KevinMark’s suggestion.
#
rascul
yeah i know :)
#
JonathanNeal
I think allowing for element granularity on selections would be a nice improvement.
#
rascul
good work on the fragmentions also, JonathanNeal
#
rascul
it's you who made the js piece isn't it?
#
rascul
what do you mean by element granularity?
#
JonathanNeal
So that there could be some way to say “select the nearest ancestor” versus “select the nearest paragraph ancestor” versus “select only the text”. This could help marginalia as well, since the styles often target particular sections or paragraphs of content already.
#
rascul
ahh yeah
#
rascul
how could that be implemented, though?
#
JonathanNeal
rascul: with data attributes.
#
rascul
could you give a possible example?
KartikPrabhu and KevinMarks__ joined the channel
#
rascul
specifically, what could the url look like?
mdik_ joined the channel
#
JonathanNeal
[data-fragmention=":text”] versus html[data-fragmention=“h1, h2, h3, h4, h5, h6, p”]
lukebrooker joined the channel
#
JonathanNeal
rascul: oh, I was saying the fragmention granularity could be defined by the page author.
#
rascul
ahh, i guess maybe i'm not quite understanding how it could be implemented
#
rascul
some of this stuff is over my head and i'm happy it just works ;)
#
JonathanNeal
<html data-fragmention=“h1, h2, h3, h4, h5, h6, p”> … forces fragmentions to target the nearest h1, h2, h3, h4, h5, h6, or p element that contains #some-text
#
rascul
so it can be defined in the html where to target?
#
tantek
reads scrollback
#
tantek
JonathanNeal: now now you know better than to try to use data-* attributes as an API of sorts
#
tantek
when that's expressly forbidden (or strongly discouraged?) by the spec
#
rascul
i don't know that i can be bothered to define that all the time
#
rascul
and when i do define it, what if that's not what the fragmention is supposed to target?
#
tantek
wow is https://bigboringsystem.com/post/post!1421164266-5a another example confusion between Aral / ind.ie and IndieWeb?
#
JonathanNeal
I’m open to other suggestions. The goal is to control what text or element gets selected. Is it just the text (ala CTRL+F). Is it the nearest element (ala classic fragmentions), Is it the nearest section or paragraph (ala marginalia)?
#
rascul
i don't have any suggestions, i'm mostly trying to understand and maybe help you figure it out :)
#
rascul
at least i don't have any at this time
#
rascul
i still prefer fragmentations to fragmentions though!
#
tantek
JonathanNeal: perhaps add that as a new subsection to http://indiewebcamp.com/fragmentions#Challenges
#
tantek
rascul: fragmentations already have a meaning in CSS
#
rascul
oh do that? hrm
#
rascul
i just can't help but think of fragmentation grenades whenever i see fragmentions
#
rascul
probably because army
#
rascul
hrm maybe i'll finally update my ssl cert tonight heh
#
rascul
doesn't look like i can hold out for letsencrypt.org without people complaining to me daily :(
#
kylewm
tantek: I honestly don't think that is confusion, bupkes has been around here fairly recently
#
tantek
even if bupkes isn't confused, that post reads like it is conflating it all
#
tantek
thus it promotes (even if unintentionally) that confusion
#
tantek.com
edited /ind.ie (+181) "/* ind.ie is not IndieWeb / IndieWebCamp */ fix heading to not require URL escaped chars, add subsection Examples of confusion and conflation"
(view diff)
#
kylewm
see first pic
#
tantek
kylewm: indeed that was back when he thought he could hijack indieweb by rebranding it as indie tech
#
tantek
and then no one moved over
benwerd joined the channel
#
kylewm
also an interesting section on why he doesn't believe in developing iOS apps anymore
#
tantek
kylewm: also from that blog post, the heading "2014: The Year of Indie Tech"
#
kylewm
s/interesting/ironic
#
Loqi
kylewm meant to say: also an ironic section on why he doesn't believe in developing iOS apps anymore
#
tantek
what exactly "Indie Tech" happened in 2014 beyond IndieWeb? Anything?
#
tantek
anything shipped? anything running on anyone's servers?
#
rascul
known happened in 2014?
#
tantek
rascul - right, from this community
#
tantek
that's my point
#
rascul
oh i see
#
tantek
what exactly "Indie Tech" happened in 2014 **beyond IndieWeb**? Anything?
#
tantek
so basically, "Indie Tech" was a vaporware hype term that was meaningless in 2014
#
rascul
does it mean anything in 2015?
#
ben_thatmustbeme
KevinMarks: not very mobile friendly with that header
#
ben_thatmustbeme
tantek: I got a follow up question as well
#
tantek
ben_thatmustbeme: go for it. need something productive to focus on :)
#
tantek.com
edited /ind.ie (+83) "criticism section with bbs citation"
(view diff)
#
ben_thatmustbeme
haha, tantek, i meant from Halley
#
ben_thatmustbeme
nothin productive right now
zachdonovan joined the channel
#
tantek
ben_thatmustbeme: feel free to add it to the page!
KevinMarks_, benwerd, j12t and zachdonovan joined the channel
#
tantek
What is Big Boring System?
#
tantek
Big Boring System is a text-only social network silo ( https://bigboringsystem.com/ ) that runs on open source ( https://github.com/bigboringsystem/bigboringsystem ) and uses phone numbers for both sign-up and sign-in.
#
loqi.me
created /Big_Boring_System (+245) "prompted by tantek https://indiewebcamp.com/irc/2015-03-30/line/1427767801381 and dfn added by tantek"
(view diff)
#
tantek.com
edited /Big_Boring_System (+534) "articles, see also"
(view diff)
#
kylewm
tantek: think an inquiry about mf2 on bbs (and maybe later webmentions) would be welcome/appropriate?
#
kylewm
it's possible that "federation" is totally antithetical to that site's purpsoe
#
tantek
hence why it's better to start with mf2 on there (so reply-contexts show their data well)
#
tantek
and if you get positive reception to that
#
tantek
then when we have examples of replies with reply-contexts of bbs, then we can say - hey - do you want these comments in real time? webmention can do that.
#
tantek
they may be more open to supporting this tech because it takes weight off their shoulders to support more signups
#
tantek
note their home page
#
tantek
"NEW SIGNUPS ARE CURRENTLY DISABLED."
#
tantek
no problem - tell people to use their own website for now and send webmentions to comment on stuff ;)
#
tantek
the "recent posts" stream is fascinating: https://bigboringsystem.com/discover
#
kylewm
this is interesting. "Monetization" issue started by isaacs https://github.com/bigboringsystem/bigboringsystem/issues/84
#
kylewm
it's also kind of overly humble that the bottom says "powered by digital ocean and twilio"
#
tantek
it felt very calming to read the recent posts stream
#
tantek
with the absence of so much as any UI widgetry
#
tantek
!tell caseorganic "Big Boring System" seems like a good example of deliberately calm technology, e.g. check out their "recent posts" stream: https://bigboringsystem.com/discover
#
Loqi
Ok, I'll tell her that when I see her next
gRegor` joined the channel
#
KartikPrabhu
does nayone know if MuSQL is slow with large DBs? My server is having queries last more than a minute and so are getting shut down
lukebrooker joined the channel
#
tantek
What is MuSQL?
#
kylewm
muSQL, there's your problem right there
#
KartikPrabhu
errr MySQL
#
tantek
MultiUser SQL?!? Whatever will they think of next! ;)
#
kylewm
KartikPrabhu: how large are we talking
#
kylewm
like your website, or like some crazy physics data?
#
gRegor`
KartikPrabhu: How "big"? I doubt your database is actually reaching a size that it would acuse problems, but indexing of columns (or lack of) can cause slow queries
#
gRegor`
s/acuse/cause/
#
Loqi
gRegor` meant to say: KartikPrabhu: How "big"? I doubt your database is actually reaching a size that it would cause problems, but indexing of columns (or lack of) can cause slow queries
#
KartikPrabhu
238 notes
#
gRegor`
Teeny tiny :)
#
KartikPrabhu
hmmm then maybe 512MB of memory is not enough to run 2 websites
#
gRegor`
Just the one table in the query, or a join?
#
KartikPrabhu
just one, queried by date year
#
KartikPrabhu
so iguess a lot of TZ conversion is happening
#
tantek
backs away from the channel, slowly.
#
gRegor`
Column data type is 'year' or a string?
#
KartikPrabhu
gRegor`: it is ummm datetime
#
gRegor`
tantek backed too far :/
#
KartikPrabhu
i think it might be due to running 2 dynamic websites on 512MB, both with DB stuff
#
gRegor`
You could try a non-unique index on it, but yeah, ~200 isn't a lot of columns that I would normally expect to give that much delay.
#
gRegor`
s/columns/rows/
#
Loqi
gRegor` meant to say: You could try a non-unique index on it, but yeah, ~200 isn't a lot of rows that I would normally expect to give that much delay.
#
KartikPrabhu
hmmm k will look more
#
gRegor`
Maybe check the memory usage of mysqld and apached (nginx, or whatever server is running)
#
gRegor`
Is 1m the latency you're getting executing the query direct on the server, or time to deliver the page fully in browser?
#
KartikPrabhu
on the server. the hosters sent email that they had to shut it down
#
gRegor`
Huh. Interesting.
#
KartikPrabhu
but because of that my website 500s or takes about 7s to load
#
gRegor`
:/
#
kylewm.com
edited /Big_Boring_System (+203) "/* See Also */"
(view diff)
#
kylewm.com
edited /Big_Boring_System (-1) "/* Possible IndieWeb Compatibility */ fix wikilink"
(view diff)
soypirate joined the channel
#
kylewm
KartikPrabhu: I have my site with probably like 10k entries and woodwind running on a 512mb server
#
kylewm
so you should be fine
#
ben_thatmustbeme
KartikPrabhu. Try your query with "describe" at the start of it. Will tell you what indexes it's using
#
ben_thatmustbeme
If you are running mysql interface is and not just code
#
ben_thatmustbeme
Also. What is the query?
tantek, GWG and cweiske joined the channel
wilfredh and j12t joined the channel
#
tantek
reading from the start gives a distinctly different experience: https://twitter.com/jbrewer/status/582559550097600512
#
@jbrewer
1) I miss the diverse experience of reading content on personal sites. Dif­fer­ent texts de­serve dis­tinct ty­pog­ra­phy/presentation.
(twitter.com/_/status/582559550097600512)
#
@adactio
@jbrewer I think you will like what the Indie Web Camp people are doing: https://indiewebcamp.com/
(twitter.com/_/status/582571583887130624)
#
kylewm
did we decide that adactio's "link" posts were essentially bookmarks?
#
@_Jordan
@jbrewer I’ve never had a Web site. Never written a line of HTML or CSS. Never plan to and future generations shouldn’t have to to be heard.
(twitter.com/_/status/582565704773308416)
#
tantek
it is a good counterpoint to remember, that there are numerous (majority of?) people who previously had no voice on the web, but with Twitter etc. silos they have *some* voice
#
tantek
some being better than none in this case
#
tantek
but that's not because they didn't want their own website, it's because the silos improved UX to bring such expression to more people
#
tantek
it's a good goal for hosted solutions like withknown.com
#
@_erica
@jbrewer @_Jordan I still maintain my personal website, I'm trying to write more for it, too.
(twitter.com/_/status/582571794818732032)
elima, Jihaisse, cweiske and loic_m_ joined the channel
#
kylewm
!tell snarfed wow, the polling queue for bridgy says it has almost a thousand tasks in it; is that normal?
#
Loqi
Ok, I'll tell them that when I see them next
#
cweiske
aaronpk, when a pubsubhubbub verification call times out, do you retry again in switchboard?
#
cweiske
if not, do you send out a "denied" mode to the callback?
#
aaronpk
No but that's a good idea, feel free to file an issue
#
aaronpk
Right now switchboard is pretty bare bones but I want to add things like that to make it better
#
cweiske
the denied status update is not standardized
#
cweiske
and my spec issue has not been answered yet
friedcell joined the channel
#
cweiske
i'm currently adding re-pinging to phubb for the case that the subscriber was not available when an update came in
eschnou, j12t, csarven, interactivist, KartikPrabhu, stream7, KartikPrabhu1 and torrorist joined the channel
#
@kevinmarks
“The fundamental divide online… is between major institutions and individuals.” - @adrianshort https://adrianshort.org/martha-lane-fox-dimbleby-lecture/ #indieweb
(twitter.com/_/status/582834877294256128)
j12t and KevinMarks_ joined the channel
#
KevinMarks_
Indie so big it's mainstream (in music)
KevinMarks__, j12t, KevinMarks_, Deledrius, elima, frzn and e-lima joined the channel
#
Loqi
[mention] Ashton McAllan commented 'Hey there, sorry for annoying you. I am a real person just reblogging things I like. I thought your post was cool, that’s why I reblogged it...' on a post that linked to http://indiewebcamp.com (http://acegiak.net/2015/03/31/lee-lin-chin-for-pm-2/)
j12t, stream7, friedcell, scor, nloadholtes, fahrstuhl, interactivist, tantek, jonnybarnes, frzn, e-lima and csarven joined the channel
#
ben_thatmustbeme
good morning all
snarfed and verdi_ joined the channel
#
snarfed
kylewm: lol, yup, those are evergreen tasks. one per active account
#
Loqi
snarfed: kylewm left you a message 7 hours, 14 minutes ago: wow, the polling queue for bridgy says it has almost a thousand tasks in it; is that normal? http://indiewebcamp.com/irc/2015-03-30/line/1427785048325
#
kylewm
Oooh :-)
#
kylewm
snarfed: I signed up a new instagram account last night and it took longer than I expected tho do the first poll
#
snarfed
kylewm: unfortunate
#
snarfed
let's see
rektide joined the channel
#
snarfed
there's an issue for this…finding…
#
ben_thatmustbeme
getting hung up on how to store tags vs categories
#
ben_thatmustbeme
vs interactions
#
kylewm
snarfed: if it's > 10 minutes behind and adds a new polling task every 10 minutes, wouldn't it spiral out of control quickly?
#
snarfed
heh, if it did, yes. it only adds the next task *in* the poll, though
#
kylewm
oh duh, i knew that :p
parzzix, chalettu and loic_m joined the channel
#
kylewm
ben_thatmustbeme: you have both tags and categories in Postly?
marclaporte, cweiske and zachdonovan joined the channel
#
ben_thatmustbeme
i had only categories, but I have started adding tags
#
ben_thatmustbeme
They should probably merge, but I also was adding that to interactions
#
ben_thatmustbeme
actually, i'm not even sure they should merge.
#
ben_thatmustbeme
If I have something tagged "Indieweb" on my site, I make it a u-category with a link to the search for all posts that have that category
#
ben_thatmustbeme
categories are actually enumerated
#
ben_thatmustbeme
I'm not sure that having the ability to search for all things on my site tagged with tantek.com is something i really want
gRegor` and tantek joined the channel
#
tantek
good morning #indiewebcamp!
#
zachdonovan
good morning!
#
Loqi
zachdonovan: kylewm left you a message 1 day, 11 hours ago: thanks that's helpful feedback. you do still need to run qworker.py either way -- I'll clarify in the instructions http://indiewebcamp.com/irc/2015-03-29/line/1427684712801
#
zachdonovan
thanks, Loqi!
#
Loqi
grins profusely
#
tantek
cweiske++ for all the work on pushing the edges of pubsubhubbub spec and finding the holes that are only found by implementing.
#
Loqi
cweiske has 20 karma
#
tantek
zachdonovan: go ahead and add yourself to https://indiewebcamp.com/irc-people so you show up with an image and hyperlinked name in the logs! e.g. http://indiewebcamp.com/irc/2015-03-31#t1427813514962
#
cweiske
thanks
#
tantek
ben_thatmustbeme: what do you mean by "categories are actually enumerated" ?
wolftune and chalettu_ joined the channel
#
ben_thatmustbeme
i have an ID for any category. I treat it like an object, so it can change system wide. I know, i know, plumbing
#
tantek
is that a cache? optimization? or do you depend on it in storage?
#
tantek
genuinely curious - I don't have an approach figured out for implementing tags/categories yet myself. Was going to start with "dumb" text search backwards in time to implement the "common" use case of clicking on a hashtag and seeing most recent results for it.
#
zachdonovan
tantek: ok! I will do that thing
#
ben_thatmustbeme
tantek, more of an optimization. Searching integers is must faster than string matching
#
ben_thatmustbeme
I think I might just say the hell with it an allow for searches of say "all things tagged with tantek.com" on my site
#
ben_thatmustbeme
The messier part right now is that i store webmentions, which create interactions which have a type (tag, mention, reply, like, etc)
#
ben_thatmustbeme
but then interaction with type tag would have to have all duplicate information to the tag/category type
#
ben_thatmustbeme
i dislike duplicate information
#
ben_thatmustbeme
s/dislike/loathe
#
Loqi
ben_thatmustbeme meant to say: i loathe duplicate information
#
ben_thatmustbeme
actually... interesting... can you tag multiple things in one post?
#
ben_thatmustbeme
i don't see why not right. (i mean as someone else tagging a post on my site)
#
ben_thatmustbeme
"tag" gets a bit ambiguous
#
ben_thatmustbeme
multiple "suggested tags" ?
benwerd joined the channel
#
tantek
you can have multiple tags (p-category or u-category), and you *could* have multiple "u-tag-of" but that really should be reserved for POSSE copies
fahrstuhl, snarfed, torrorist, KevinMarks_, LauraJ and KevinMarks__ joined the channel
#
ben_thatmustbeme
I think i'm just going to have to deal with multiple copies of some data
KevinMarks_ joined the channel
#
ben_thatmustbeme
which honestly makes more sense, as its stored before and after approval (though I automatically approve them for now)
#
tantek
ben_thatmustbeme: I think that can be ok (some multiple copies) as long as you have a well defined algorithm for merging/de-duping them
#
ben_thatmustbeme
my third normal form wired brain is saddened by this :P
dariusdunlap joined the channel
#
tantek
Also important to document each *source* of such copies / duplicates, so that you can potentially fix it at the source(s) in the future.
#
ben_thatmustbeme
ack, so gets even more complex with coords / shape
#
ben_thatmustbeme
thats not a property of a tag/category, but rather a tag/category as it relates to a post
#
tantek
do we need to make area tags into their own objects?
#
tantek
again, we should start with the display of area tags in a post, then what it is the ideal/sensible markup for it from the perspective of supporting that presentation, and *then* figure it how we can microformat it up.
benwerd joined the channel
#
ben_thatmustbeme
well this is about logical organization, the markup can change, but the concept that a person will be tagged in different locations within posts means that whatever that location is, cannot be stored with the person (assuming you extract out the tagged person as a category)
#
ben_thatmustbeme
i'm not going to going to not focus on coords/shape so much, and just try to get things set up to do person tagging correctly first
#
ben_thatmustbeme
i keep getting side tracked by other optimizations in my code
#
ben_thatmustbeme
dropping extra tables, unifying duplicate code, etc
stream7, friedcell, tilgovi and Pierre-O joined the channel
#
jonrichter.de
edited /2015/Germany (+1) "/* Organizers */ typo in aaronparecki.com - missing double-a"
(view diff)
j12t joined the channel
#
GWG
Good afternoon
#
GWG
Zachdonovan: Any news
#
zachdonovan
GWG: ahhhhh!
#
zachdonovan
it's been a crazy week
#
zachdonovan
what was I going to look into?
#
zachdonovan
I'll run down and ask the community manager about hosting a HWC
#
zachdonovan
right... now!
#
GWG
Zachdonovan, thank you. I would love to have one
#
GWG
Then recruitment can happen
#
zachdonovan
GWG: we're good to go!
#
zachdonovan
all we need is to pick a date and a time for our first event :)
#
kylewm.com
edited /next-hwc (+0) "update next-hwc pointer"
(view diff)
#
kylewm
zachdonovan++
#
Loqi
zachdonovan has 3 karma
#
kylewm
what is next-hwc?
#
zachdonovan
awesome, thanks kylewm!
#
zachdonovan
GWG: should we go for 4/8?
#
GWG
zachdonovan: I'm out of town on Wednesday. How about coinciding with 04—22
#
GWG
The next next HWC
#
zachdonovan
GWG: works for me
interactivist joined the channel
#
GWG
That gives us time to try to recruit. Can you post venue details?
#
zachdonovan
yep, will do
#
GWG
Also gives time to figure out timing versus the PST people
#
tantek
ooh good reminder kylewm
#
tantek
goes to get a venue for 2015-04-08
iandevlin joined the channel
#
GWG
Need to figure out how to do thst event invite bombing I see for other HWC events
#
tantek
GWG, don't
#
tantek
make it personal
#
tantek
that's the key
#
tantek
don't spam
davidmead joined the channel
#
GWG
Tantek, if you or anyone else have any suggestions for people to be personal with that I don't know personally..
#
GWG
Cold calling has always been a weakness of mine
#
GWG
I'm more the referral type
#
tantek
cold calling does not work well for growing a community
#
tantek
you need to reach out to personal connections
#
tantek
GWG, you met plenty of people during IWC NYC - twice
#
tantek
you should feel free to reach out to all pas attendees - as they'll remember you from in-person interaction
#
KevinMarks
did someone here have a nice "x minutes/hours/days ago" algorithm for python?
#
rascul
KevinMarks i've used this in the past https://pypi.python.org/pypi/humanize
yakker joined the channel
#
tantek
what is a relative date?
#
tantek
what is a relative time?
#
tantek
I know aaronpk posted about it
#
GWG
Tantek, inviting you is cheating right?
#
zachdonovan.net
edited /IRC_People (+117) "/* Nicknames */ add self to irc users list"
(view diff)
#
tantek
GWG - of course not :)
#
tantek
GWG, I'm serious, go back to past Guest Lists and add people
#
tantek
heck, add people from IWC Cambridge since that's not *that* far
benwerd, eschnou and j12t joined the channel
#
GWG
Tantek, I was more commenting on the fact that you appear at more IWC events than anyone else, it seems
#
GWG
I intend to make the updates when I can. Likely tonight.
#
GWG
Im just on a work break now.
#
zachdonovan.net
edited /events/2015-04-22-homebrew-website-club (+484) "/* Where */ add provisional info for NYC Inaugural HWC"
(view diff)
#
GWG
I wonder if Loqi could be taught to answer the question, where in the world is tantek?
#
Loqi
is done
#
zachdonovan
added some deets!
#
zachdonovan
if someone would give that a look and reassure me that I haven't done anything fantastically wrong-headed, I'd be much obliged :)
#
zachdonovan
I just copy-pasted the commented out Chicago example and update all of the fields.
#
GWG
Will look after work
#
zachdonovan
GWG: thanks!
#
kylewm
so links on https://adactio.com/links are marked up in a strange way. there is no mf2 property for the target of the actual link
#
kylewm
which means they look less good than they should in Woodwind
#
kylewm
but I'm not sure what to suggest
j12t joined the channel
#
kylewm
aaronpk uses "p-bookmark h-cite", shaners sets the u-url of the post to the bookmarked thing, I have used "u-bookmark-of h-cite" up to now
#
tantek
kylewm: looks like mozsf big room is booked for the 8th. what do you think of doing The Creamery for that date for HWC SF?
#
tantek
what is a bookmark?
#
kylewm
tantek: that would be fine with me, i can create an event this afternoon/evening
#
Loqi
A bookmark (or linkblog) is a post that is primarily comprised of a URL, often title text from that URL, sometimes optional text describing, tagging, or quoting from its contents https://indiewebcamp.com/bookmark
#
tantek
kylewm: thanks!
#
kylewm
so two people using "p-bookmark" in the wild
#
kylewm
aaronpk and ben_thatmustbeme
#
kylewm
(they probably both want to change to u-bookmark)
#
tantek
or u-bookmark-of
benwerd joined the channel
#
kylewm
u-bookmark-of++
#
ben_thatmustbeme
don't even really even use bookmarks, was adding those to see that I could
#
Loqi
u-bookmark-of has 1 karma
#
tantek
oops https://indiewebcamp.com/bookmark has no sample markup!
#
tantek
kylewm: that's probably WHY adactio has no mf2 property for the target of the actual link
#
kylewm
indeed
#
tantek.com
edited /bookmark (+349) "stub a why and how"
(view diff)
bengo joined the channel
#
tantek
(as in expand based on what you'd expect with u-bookmark-of - and hopefully what you publish with redwind!)
#
kylewm.com
edited /bookmark (+655) "/* How to markup */"
(view diff)
#
KevinMarks
ben_thatmustbeme: re tags vs categories, this is a greta discussion: http://climbtothestars.org/archives/2006/02/11/tags-and-categories-are-not-the-same/
#
KevinMarks
tantek, are you saying my <a class="h-card p-category" href="http://tantek.com/">Tantek Çelik</a> is now wrong
#
tantek
KevinMarks: I'm saying you should update that to u-category h-card :)
#
tantek
and it's not just me
#
KevinMarks
I only put in what you said...
#
tantek
I think this all started from kylewm raising the issue about how u- vs p- properties with objects worked and the "value" field
#
tantek
KevinMarks: iteration
#
tantek
it's natural
#
KevinMarks
"properties": { "category": [ { "type": [ "h-card" ], "properties": { "name": [ "Tantek \u00c7elik" ], "url": [ "http:\/\/tantek.com\/" ] }, "value": "Tantek \u00c7elik" },
#
tantek
^^^ not helpful display
#
KevinMarks
yeah, sorry, pretty printing not irc frendly
#
KevinMarks
click the link
#
KevinMarks
if I change it to u- what is different
#
Loqi
The indieweb is different from previous efforts like blogging, federation, decentralization, etc https://indiewebcamp.com/different
#
KevinMarks
I changed it (just on yours at the top) and pin13 parses it the same
#
tantek.com
edited /events/2015-04-08-homebrew-website-club (-194) "SF at The Creamery next week"
(view diff)
#
KevinMarks
so it would make the value the url?
#
tantek
correct
#
tantek
which represents the object
#
tantek
which is what you are tagging with, the entire object, not just a text string
#
KevinMarks
not necessarily in this case as many of the URLs are derived from twitter
#
KevinMarks
for HWC that (mostly) works
#
KevinMarks
both joyce kim and Jed McCaleb have stellar.org as their URL
frzn joined the channel
#
KevinMarks
so that would break with the visible clarity fo the layout
#
tantek
if someone's URL does not have an h-card for them at it, then you have to create a proxy h-card on your own site for person-tags of them
#
tantek
that too was discussed either yesterday or the day before
#
KevinMarks
<a class="h-card p-category" href="http://stellar.org">Jed McCaleb</a>
#
KevinMarks
<a class="h-card p-category" href="http://stellar.org">joyce kim</a>
#
tantek
so that's your markup error then for associating the URL with their name
#
KevinMarks
so I'm supposed to make a 'joyce kim' page on my site?
#
tantek
perhaps only do such associations where there is a rel-me bidirectional?
#
tantek
yes - a proxy h-card, as you might for a /nicknames-cache
#
KevinMarks
I have a static site...
#
KevinMarks
I'm PESOSing in these hcards from twitter
#
KevinMarks
shoudl I put their twitter URLs in too?
#
tantek
your proxy h-card should contain whatever information you have about them
#
KevinMarks
I can see it making sense to have a list of speakers at the top with more fleshed out hcards, like a panel page
#
KevinMarks
but I'm not making a page on my site per speaker
#
KevinMarks
'cos static
#
tantek
you could use anyone's nickname cache ;)
#
tantek
what is Joyce Kim?
#
KevinMarks
I could use Twitter
#
tantek
^^^ go for it KevinMarks, add an h-card ;)
#
KevinMarks
joyce kim is <a class="h-card " href="http://stellar.org">joyce kim</a>
#
loqi.me
created /joyce_kim (+98) "prompted by tantek https://indiewebcamp.com/irc/2015-03-31/line/1427830977322 and dfn added by KevinMarks"
(view diff)
#
tantek
hey you're propagating that URL error
#
tantek
fix it to use her twitter instead
#
tantek
stellar is her org right?
#
KevinMarks
twitter.com/joyce
#
KevinMarks
so, in your theoretical world, I shoudl pull in her whole twitter bio and photo and cache it on my site as she links to a non-h-card URL from it?
#
tantek.com
edited /joyce_kim (+120) "fix h-card, add role, org"
(view diff)
Pierre-O1 joined the channel
#
tantek
if someone has a bad h-card or lacks one, you have to make one yourself to reference
#
tantek
not theoretical
#
tantek
actual problem avoidance
#
KevinMarks
the inline h-card is OK
#
tantek
since silo profile URLs are so fragile, we should not use them for person-tagging
#
tantek
especially twitter URLs since they can change as we discussed at last week's HWC
#
tantek
though I suppose you could use the "intent" URLs we discussed
#
tantek
if your code is automatically getting her site URL from Twitter, it could also get her userid and turn that into an intent URL instead
#
tantek
which at least wouldn't break if she changed her usename
#
tantek
s/usename/username
#
Loqi
tantek meant to say: which at least wouldn't break if she changed her username
KartikPrabhu joined the channel
bengo joined the channel
#
KevinMarks
you're missing the origin of these posts
#
KevinMarks
I am live-transcribing a conf session. I can usually geta twitter handel for people 'cos they list them
#
KevinMarks
I don't usually have time to create a whoel hcard for them by googling them
#
tantek
KevinMarks: hence I suggested the intent profile URL as discussed last week at HWC since that has an hCard!
#
KevinMarks
even if I did, the presumption that their hcard would be a standalone page on my site does not fit this usecase
bengo joined the channel
#
KevinMarks
that does make sense, but would work lass well for the HWC case
#
KevinMarks
s/lass/less/
#
Loqi
KevinMarks meant to say: that does make sense, but would work less well for the HWC case
#
KartikPrabhu
GWG: wordpress plugin post you might find useful: https://css-tricks.com/wordpress-functionality-plugins/
tilgovi and friedcell joined the channel
#
kylewm
KartikPrabhu: is your MySQL still having problems after restart?
#
KartikPrabhu
haven't looked into it yet. also should figure out how to restart the MySQL thingie
#
kylewm
oh I thought you said your provider shut it down
#
KartikPrabhu
they kill that particular DB request. not the whole MySQL engine thing
#
KartikPrabhu
they're nice that way :)
#
kylewm
oh :)
#
ben_thatmustbeme
well, lots to read through today
#
ben_thatmustbeme
hmm, tantek, with the change over from p-bookmark to u-bookmark and p-category to u-category, I should assume that any class on an <a> tag should be u- not p- correct?
#
tantek
ben_thatmustbeme: it depends
#
tantek
also u-bookmark-of *
#
ben_thatmustbeme
realized he has author links a <a class="p-name u-url"
#
KartikPrabhu
ben_thatmustbeme: since you asked this is the offending query SELECT DISTINCT CAST(DATE_FORMAT(CONVERT_TZ(`bundle_note`.`pub_date`, 'UTC', 'America/Chicago'), '%Y-%m-01 00:00:00') AS DATETIME) FROM `bundle_note` WHERE `bundle_note`.`pub_date` <= '2015-03-31 01:44:30' ORDER BY 1 DESC LIMIT 1
#
ben_thatmustbeme
oh crap... goes back to templates :P
#
KartikPrabhu
basically building my notes page
#
tantek
ben_thatmustbeme:
bengo joined the channel
#
tantek
it's only for cases where you have an embedded object
#
tantek
p-name u-url is not a nested object
#
ben_thatmustbeme
i'll bet the timezone conversion is what is slowing you down
#
ben_thatmustbeme
oh Distinct?
#
ben_thatmustbeme
i would say its definitely that
#
ben_thatmustbeme
what are you trying to do?
#
KartikPrabhu
ben_thatmustbeme: yeah TZ maybe it and also I am not controlling the query my framework thingie is. I don't speak SQL
#
KartikPrabhu
basically, getting a list of all notes from a month to display here https://kartikprabhu.com/notes
#
ben_thatmustbeme
what framework?
#
ben_thatmustbeme
the way that query is written it has to store all the output of the query temporarily, then update them to the local TZ, THEN find only unique values within that
#
KartikPrabhu
hmmm that seems the right order to get the TZ conversion right
#
KartikPrabhu
<sigh> I am contemplating pre-rendering a version of that page and updating it on change
#
ben_thatmustbeme
hasn't used django in some time, could you update TZ after you get the output
#
KartikPrabhu
not without hardcoding MySQL queries into Django
#
ben_thatmustbeme
what is the django command you are using?
#
ben_thatmustbeme
wonders if there is some easier way to do that
#
KartikPrabhu
ben_thatmustbeme: it is the buit in get_queryset command
bengo joined the channel
#
ben_thatmustbeme
ew, I see, its doing that to create the query to get all the posts
#
ben_thatmustbeme
but doing it horribly inefficiently
#
ben_thatmustbeme
could you convert it to a Model.objects.all with some ordering
#
kylewm
still, it's only 300 posts; i can't imagine anything would take > a minute
#
ben_thatmustbeme
make sure mysql is indexing on timestamp
#
ben_thatmustbeme
err pub_date to put it in your schema
csarven joined the channel
#
KartikPrabhu
ben_thatmustbeme: thanks. will look into those
tilgovi joined the channel
#
ben_thatmustbeme
KartikPrabhu: good luck
#
KartikPrabhu
these are the sort of pain points that need to be eliminated if we want people to ditch silos
#
ben_thatmustbeme
well, silos had to deal with these same issues, these are the issues that software developers have to deal with
#
KartikPrabhu
Known goes a long way, but more such easy to use indieweb solutions are needed
#
tantek
this is where I call into question database/queries in terms of scaling again
#
KartikPrabhu
ben_thatmustbeme: yes, devs not usual people
#
KartikPrabhu
tantek: I am with you on the DB issue :)
#
tantek
KartikPrabhu: I'm *displaying* 127 posts on my home page in < 1s (nevermind the "query" to retrieve them from "storage")
#
KartikPrabhu
but until I make my file storage thingie, i have to deal with it
#
ben_thatmustbeme
DBs vs flat files are basically tradeoff of speed vs adaptability
#
KartikPrabhu
ben_thatmustbeme: and ease of use
#
ben_thatmustbeme
its much easier to change a query than to change a parsing method
#
tantek
ben_thatmustbeme: I don't buy the adaptability argument, from all the hand-wringing over changing schemas I keep hearing about
#
ben_thatmustbeme
KartikPrabhu: ease of use in what way?
#
KartikPrabhu
ben_thatmustbeme: like I have to learn MySQL to make it efficient, but I can change my python code much more easily
#
ben_thatmustbeme
tantek: I would be doing the same if I were doing it with flat files. What folder do i store non-objects? how do I store webmentions? etc
#
KartikPrabhu
SQL is a black box to me
#
tantek
ben_thatmustbeme: that's not any easier with a DB. s/folder/table :P
#
ben_thatmustbeme
KartikPrabhu, I find MySQL is worse for that, postgreSQL is much nicer and actually follows correct theoritical SQL
#
ben_thatmustbeme
took a class in DB design back at school.... then TA'd it
#
KartikPrabhu
ben_thatmustbeme: again, I didn't know theoretical SQL when I started this
#
ben_thatmustbeme
tantek, I know, i'm saying those parts are the same
#
tantek
right, storage modeling is hard.
#
ben_thatmustbeme
exact same trouble. but select * from WHERE .... and if your model is correct, changing one line of a where clause can get you any method of slicing you want, which will be faster than parsing flat files to find what you want
#
ben_thatmustbeme
remember Databases started as flat files with just some indexing
#
ben_thatmustbeme
most now just contain all that in a single format to keep external changes to files from breaking indexes
#
ben_thatmustbeme
you can build an index if you want in flat files, but it will be really messy and inefficient
#
tantek
the difference is that at least in this iteration of flat files, we're using an open format in the flat files
#
tantek
which makes the actual storage files more portable
#
ben_thatmustbeme
you still lose indexing
#
ben_thatmustbeme
its a trade off
#
tantek
rather than DB files which are bound to a specific DB, and even versions thereof
#
tantek
either way you need to do indexing separately!
#
tantek
from the get/put storage
#
tantek
also - indexing = premature optimization :P
#
tantek
haven't needed any indexing yet, haven't wasted time coding it yet
#
ben_thatmustbeme
overindexing = premature optimization
#
ben_thatmustbeme
i ahve seen that done WAY too much
#
tantek
where over = >0 in my case
bengo joined the channel
#
ben_thatmustbeme
tantek, how do you get only your posts that are notes?
#
ben_thatmustbeme
or better yet, how do you get only your posts that are articles (your recent articles links) ?
Acidnerd, bengo, benwerd and KartikPrabhu joined the channel
#
gRegor`
What is Falcon
#
Loqi
Falcon is a personal publishing (tweeting, blogging, realtime syndicating) web application. There is an instance of Falcon running at tantek.com and serving/syndicating notes, articles, and occasionally other types of posts https://indiewebcamp.com/Falcon
snarfed joined the channel
KartikPrabhu joined the channel
#
KartikPrabhu
ok removed an unecessary filtering step, lets see if I get another email. now to stare at math
#
kylewm
well this is interesting Heroku rumors/news http://notes.ericjiang.com/posts/881
#
kylewm
Free tier will be limited to 12 hours/day, they are introducing a new Hobby tier for $7 a month
#
kylewm
Free tier won't allow custom domains anymore
#
kylewm
could be kind of a bummer for stuff like https://webmention.herokuapp.com/
tantek joined the channel
#
gRegor`
kylewm: That probably explains why a friend tweeted that he needs to get his butt in gear to move off Heroku
e-lima joined the channel
#
@GeekTweeters
RT @ReviewSearchDE: the pulse comic book news: Reviews; Indieweb Television; Books ; Podcast; ... From Marvel Comics… http://t.co/2Edajhezy…
(twitter.com/_/status/583042358268289025)
KevinMarks__ joined the channel
#
tantek
ben_thatmustbeme: re: how do you get only your posts that are articles - I read into memory one entire storage bim file at a time, and then look backwards in time through those posts until I find enough of the type of post I am looking for.
#
tantek
so if there a three blog posts in the most recent bim - it's one file read
#
tantek
KartikPrabhu: perhaps add that article to /Facebook#Criticism ? or maybe even /silo-quits
#
tantek
(or both)
#
tantek
goes to reserve space for 2015-04-22 HWC SF
benwerd joined the channel
#
KartikPrabhu
what is facebook
#
Loqi
Facebook is a popular content hosting silo and activity aggregator most well known for being the largest centralized social network on the web https://indiewebcamp.com/Facebook
#
kylewm
tantek: if you wanted to display an /articles feed with more articles, I don't think some sort of index would be a premature optimization there
#
KartikPrabhu
what is silo-quits?
#
Loqi
silo quits are public statements by individuals announcing they have publicly quit posting on or using (at all) various silos, either with intended permanence, or temporarily (sometimes referred to as taking a "social media break") https://indiewebcamp.com/silo-quits
#
tantek
kylewm: not sure - might depend on how many articles I was displaying on /articles
#
tantek
kylewm: I'd say the optimization would be premature until you have measured perf > 1s display time
#
kylewm
when I was doing file storage, I added a big index for looking up posts by tag
#
kylewm
but the index itself was quite large and took a non-trivial amount of time to read
#
KartikPrabhu
aaronpk: it seems IndieAuth is not doing the redirect properly. logging into a page redirects to wiki homepage after authorization
#
tantek
ok, confirmed MozSF for 2015-04-22 HWC!
KevinMarks_ joined the channel
#
tantek
kylewm: you had one file per post right?
#
tantek
(aside: based on like decades of experience, optimzing for minimizing file I/O is a great place to start with perf - as that's almost always the first-order perf bottleneck for anything - I/O)
#
tantek.com
edited /events/2015-04-22-homebrew-website-club (-5) "SF location confirmed @MozSF, RSVP for SF"
(view diff)
#
kartikprabhu.com
edited /silo-quits (+870) "added Antonio Savorelli"
(view diff)
#
tantek
!tell kylewm while you're creating the HWC SF event for 2015-04-08, go ahead and create one for 2015-04-22 also - since we have both locations confirmed. https://indiewebcamp.com/events/2015-04-22-homebrew-website-club
#
Loqi
Ok, I'll tell them that when I see them next
bengo joined the channel
#
kylewm
tantek_: ok sounds good re hwc events; and yes I had one file per post
#
Loqi
kylewm: tantek left you a message 10 minutes ago: while you're creating the HWC SF event for 2015-04-08, go ahead and create one for 2015-04-22 also - since we have both locations confirmed. https://indiewebcamp.com/events/2015-04-22-homebrew-website-club http://indiewebcamp.com/irc/2015-03-31/line/1427844887549
KevinMarks_, tantek and KartikPrabhu joined the channel