#indiewebcamp 2012-09-14

2012-09-14 UTC
brennann_, tantek, tantek_, xtof_fr, singpolyma and friedcell joined the channel
#
tommorris
!tell tantek, requiring email confirmation is pretty easy, just a tweak to LocalSettings.php - http://wiki.johnjosephbachir.org/Requiring_Email_Confirmation_to_Edit_in_MediaWiki
#
Loqi
Ok, I'll tell them that when I see them next
#
Loqi
Ok, I'll tell them that when I see them next
#
tommorris
!tell tantek, otherwise mediawiki.org has a list of anti-spam strategies - https://www.mediawiki.org/wiki/Manual:Combating_spam
#
Loqi
Ok, I'll tell them that when I see them next
#
Loqi
Ok, I'll tell them that when I see them next
#
tommorris
!tell tantek, I've been lobbying mediawiki.org developers to consider making a No-Spam-by-Default release of MediaWiki with all the sensible anti-spam settings set by default.
#
Loqi
Ok, I'll tell them that when I see them next
#
Loqi
Ok, I'll tell them that when I see them next
tommorris joined the channel
#
tommorris
I seem to be doing a bit of a double act with posts.
#
tommorris
ah no, Loqi is. aaronpk!
dascher and tommorris joined the channel
#
@tommorris
Managed to get ticket for @barcampbrighton. Hopefully, #indiewebcamp-originated project I'm working on will be in a state I can present it.
tommorris, benward, jancborchardt, tommorris_, xtof_fr, dascher_, dascher, barnabywalters, catsup, tilgovi, spinnerin and tantek joined the channel
#
Loqi
tantek: tommorris left you a message 7 hours, 12 minutes ago: requiring email confirmation is pretty easy, just a tweak to LocalSettings.php - http://wiki.johnjosephbachir.org/Requiring_Email_Confirmation_to_Edit_in_MediaWiki
#
Loqi
tantek: tommorris left you a message 7 hours, 11 minutes ago: otherwise mediawiki.org has a list of anti-spam strategies - https://www.mediawiki.org/wiki/Manual:Combating_spam
#
Loqi
tantek: tommorris left you a message 7 hours, 10 minutes ago: I've been lobbying mediawiki.org developers to consider making a No-Spam-by-Default release of MediaWiki with all the sensible anti-spam settings set by default.
#
tommorris
hey tantek
#
tantek
oh hey good morning :)
#
Loqi
good morning! Clear and 58 degrees
#
tantek
goes to edit the microformats wiki to add those URLs.
#
tantek
off to breakfast, bbiab!
barnabywalters, brennannovak and tantek joined the channel
#
tantek
tommorris - thanks again for the tips. if you have more suggestions, feel free to add them to http://microformats.org/wiki/admin-to-do#wiki directly. Thanks! Plus, you should hang out in #microformats :)
#
tommorris
#microformats is on my join-list, but I'm using Colloquy as IRC Cloud is being a pest
#
tommorris
plus, just worked out all the hard geo-math stuff for the OSM 4sq clone
dascher, tantek and barnabywalters joined the channel
#
tommorris
just had to make an opinionated decision about developing the OSM thing: http://tommorrisbeta.herokuapp.com/posts/26
dascher joined the channel
#
barnabywalters
tommorris: woo metric!
#
tommorris
I got my first geotagged post up too.
#
barnabywalters
fab! do you have a feed we can subscribe to yet?
#
tommorris
not yet
#
aaronpk
tommorris: woo for not supporting miles!
#
tommorris
planning to bang out an Atom feed on the train tomorrow
#
barnabywalters
there's quite a comprehensive writeup on the wiki
#
tommorris
Yep, just found that
#
tommorris
I'm thinking of trying to somehow plonk the shortened content in the XML feed
#
tommorris
as in, tweetlength
#
barnabywalters
it took aaronpk and myself some time to figure out exactly how to satisfy statusnet for feeds
xtof_fr joined the channel
#
tommorris
wait, object-type. really, they reference the URL of the object type in the text node?
#
barnabywalters
tommorris: how are you currently posting to your blog? custom UI?
#
tommorris
people really ought to ask my permission before coming up with XML formats.
#
barnabywalters
:) the activitystrea.ms wiki and process is open to all…
#
barnabywalters
can we have a screenshot of your UI?
#
barnabywalters
I think we should all have a 'meta' tag/category detailing a bit about how our sites work, with some screenshots
#
tommorris
oh, that's old
#
barnabywalters
nice and simple!
#
tommorris
it has a few extra bits now
#
barnabywalters
most of the content in my meta tag is quite out of date, too. I don't have a nice editing UI yet :|
#
barnabywalters
what does the little circle thing do?
#
tommorris
so, the little circular blob is geolocation
#
barnabywalters
I haven't added that yet — need to get authorization working so I can expose locations only to people I know
#
tommorris
and, yes, that was about the most intelligent thing I could find to say while on the bus and typing on my phone.
#
barnabywalters
yay! operator FF plugin picked the location up!
#
Loqi
woot
#
tommorris
that's kind of bare location. when it's with a location check-in, there'll be a few lines about the place
#
tommorris
so, it'll be a little thing with like the name of the venue, the type of venue, a link to the OSM page, a link to the venue homepage and address. depends on what information the OSM API has returned
#
barnabywalters
aaronpk: where's that demo you did of your checkins? has that happened yet?
#
barnabywalters
tommorris: any fallbacks for OSM not working/breaking URLs? is that required?
#
tommorris
not really
#
tommorris
I might periodically fire off a script that would spider the OSM links and tell me any which are broken
#
barnabywalters
tommorris: sounds like a good plan
#
barnabywalters
still debating what to do for my contacts redirection
#
barnabywalters
probably lookup URL and redirect there if it exists, otherwise display my minimal stored info
#
tommorris
currently my tag filter is… everything has to have a name
#
tommorris
of those, a select group of 'amenity' tags, a select group of 'shop' tags, anything that has a 'cuisine' tag. there's a few other tags that pull in venues people might want to check into: sport, for instance.
#
tommorris
If I can get the OSM demo working, I might present it at BarCamp Brighton
#
tommorris
interestingly, OSM has 58.6 million tagged buildings.
#
barnabywalters
tommorris: what *is* the OSM demo? what does it do?
#
tommorris
just gets a list of nearby venues using the geolocation API
#
tommorris
tying that into checking into the site is the next step
#
tommorris
that's the fairly easy bit. wrangling the API response to turn it into actual usable venue listings is the hard bit
#
barnabywalters
yep, I've spent the last day or so wrangling cardDAV server responses into manageable data
#
barnabywalters
it's hideous. they wrap VCARD inside xml.
#
tommorris
basically, you get back a massive XML file containing all the data necessary to draw a map. but all I really want is an ordered list of venues with some metadata and how far they are away from the point.
#
barnabywalters
the arrays! the nested arrays!
#
tommorris
you can chuck away most of the data.
#
tommorris
I have an example file. Just some XML I downloaded from the API. 453Kb of XML data. the response wrangling script turns that into 32Kb of basically JSON (actually just Ruby object inspector, but basically that's pretty much equivalent to JSON)
#
tommorris
that's too much data though. the eventual end result will download less data from the API and emit less data.
#
tommorris
that returns about 120 usable venues
#
tommorris
nobody is going to sit and scroll through the nearest 120 venues. ;-)
#
tommorris
20-30 is all I really need.
#
tommorris
it's also not very scalable as the more data you process increases both memory usage and CPU usage considerably.
#
barnabywalters
well, at least you can cache it
#
barnabywalters
my carddav client is made entirely of caching
#
tommorris
I don't actually want to cache it. I just want to make the requests small enough.
#
barnabywalters
the requests take about 1min :|
#
tommorris
the process takes about 30 seconds to spit out the JSON from the XML
#
barnabywalters
that's quite a wait too
#
tommorris
most of that is doing distance calculations. I can speed it up a lot though. Gonna rewrite it in something that's not Ruby so I can spin some of the stuff into worker threads.
#
tommorris
I tend to write stuff very quickly in Ruby and then rewrite it in Java or a JVM language for speed
#
barnabywalters
sounds like there's a potential web service in this. I never realised getting nearby venues was such a task
#
tommorris
I had a Ruby process that took four days to run once. rewrote in Java, took 8 minutes to run.
#
barnabywalters
tommorris: I'm not a *real* developer. I work in PHP and JS :| Not very familiar with threading
#
barnabywalters
woah, that's quite a difference :)
#
tommorris
well, the real important difference is you run the 8 minute run, realise there's a mistake, change it, recompile, re-run and thank Cthulhu you didn't have to wait four days to see there was a mistake.
tantek, tilgovi, stereoket, dascher, barnabywalters and tommorris joined the channel
#
barnabywalters
tantek: have you used a firefox os phone?
stereoket joined the channel
#
tommorris.org
edited /2012/UK (-5) "/* IndieWebCampUK */ fixing link"
(view diff)
dascher, brennannovak, spinnerin and tilgovi joined the channel