#indiewebcamp 2014-04-12

2014-04-12 UTC
paulcp and tantek joined the channel
#
@hellekin
@YourAnonNews That's pretty good to block those no? It leaves some space for the #IndieWeb :P @timberners_lee @AnonyPress
(twitter.com/_/status/454781961777594369)
eternicode and rascul joined the channel
#
rascul
i've recently discovered this indie web thing, it looks real interesting
#
rascul
lots of good information in the wiki also
KevinMarks joined the channel
#
KevinMarks
great! (I hit close on the wrong window there, sorry)
#
rascul
hehe those silly X buttons
#
KevinMarks
what's your website?
#
rascul
nothing there as of yet
#
rascul
i've been playing with different designs for weeks now i still haven't got it how i like it heh
#
KevinMarks
hah. I have loads of crappy installs on subdomains on my site too. I should kill some of them
paulcp joined the channel
#
rascul
http://crash.rascul.io is my latest design based on a bootstrap template i found
#
rascul
i kinda like that one, the final design might be something similar but without bootstrap
#
rascul
a goal of mine is for everything (ar at least as much as possible) on my main site to be completely made by me
#
KevinMarks
bootstrap 3?
#
rascul
i've been looking at the indiemark stuff and i plan on implementing a good chunk of that
#
rascul
hrm actually i feel like working on it now
#
tantek
welcome rascul!
#
rascul
thanks you
paulcp, nloadholtes, krendil and gRegor` joined the channel
#
@EFF
BREAKING: Heartbleed vulnerability can reliably extract SSL secret keys. Attack demonstrated by @indutny. https://www.cloudflarechallenge.com/heartbleed
(twitter.com/_/status/454798954115244032)
#
gRegor`
(The breaking is that it's now been demonstrated)
KartikPrabhu joined the channel
#
KartikPrabhu
pretty much!
eschnou, paulcp, j12t and pfenwick joined the channel
#
KartikPrabhu
!tell snarfed added pytz and timezone to twitter and sent PR
#
Loqi
Ok, I'll tell them that when I see them next
paulcp and snarfed joined the channel
#
Loqi
snarfed: KartikPrabhu left you a message 18 minutes ago: added pytz and timezone to twitter and sent PR
#
tantek
hence "SSL removed and added here"
pfenwick, basal, bupkes, paulcp, paulcp_, addal, Kopfstein, dybskiy and squeakytoy joined the channel
#
tantek
reminder - you have til midnight to submit an #OSBridge proposal! http://opensourcebridge.org/events/2014/proposals/new
melvster joined the channel
rknla, j12t, squeakytoy2, friedcell, squeakytoy, LauraJ, tobiastom, pasevin, pasevin_, Kopfstein, yaf, KartikPrabhu, kbs, markmhendrickson, tantek, ttepasse, snarfed and bupkes joined the channel
#
bupkes
I've got my site pretty well indiewebbified right now, thanks to WP plugins...
#
kbs
yay :-)
#
Loqi
woot
#
bupkes
thanks :)
#
bupkes
however...
#
bupkes
i've just started learning html/css/JS
#
bupkes
and I want to delete WP off my server and start fresh
#
bupkes
so what i'm asking is what advice would ou have i
#
bupkes
doh
#
bupkes
what advice would you have in terms of what to implement/learn first?
#
bupkes
i've already set up rel=m to my twitter etc
#
bupkes
i guess look into h-cards and stuff next?
#
kbs
would you still be using WP, or just creating html files etc "by hand"?
#
bupkes
ol..........,k
#
bupkes
argh cat feet sorry!
#
bupkes
I'm doing it all by hand. I want to know the real basics first
#
bupkes
so I've got an .html and a .css file ready to upload
#
kbs
gotcha. I think [as far as indieweb-specific stuff goes] marking up your content with the h-* formats would be one idea, as you say
#
kbs
It might also depend to some extent on what you like doing. If you're interested in making a nicely designed site - probably might continue exploring css.
#
bupkes
ok I shall look into that stuff first then.
#
bupkes
yes I'm coming at it
snarfed joined the channel
#
bupkes
my day job is teaching people to use computers with screenreaders...
#
bupkes
...so what i really want to get a grip on is the semantic stuff and the html
#
kbs
aah, okay I see
#
bupkes
but yes i like pretty things too so css too :)
#
kbs
yes - think if you're interested in semantic markup - definitely h-* [and perhaps exploring other microformats, tags etc] would be the way to go
#
bupkes
cool. thanks for the advice :)
#
kbs
and I was going to say - would also suggest continuing to pinging other folks here - unfortunately [being a dumb coder] I have a skewed sense of reality :)
#
bupkes
haha well i think you've given me some pretty sound advice.
#
Loqi
awesome
friedcell, bupkes, gRegor` and kylewm joined the channel
#
aaronpk
whoa instagram is down
#
@instagram
We’re working to fix a feed delivery issue. Thank you for your patience.
(twitter.com/_/status/455025601553108993)
KartikPrabhu and j12t joined the channel
#
kylewm
this appears to be no longer true, "John O'Nolan .. is not yet running it on his personal (identity) domain at http://john.onolan.org/" http://indiewebcamp.com/Ghost#Lack_of_selfdogfooding
#
aaronpk
oh cool!
#
kylewm
should I update to be past tense, or remove it?
#
aaronpk
update to past tense and add the date you noticed, or if you can figure out when he started publishing with ghost
#
kylewm
ty, will do
barnabywalters and eschnou joined the channel
#
kylewm.com
edited /Ghost (+146) "/* Lack of selfdogfooding */ changed to past tense, woo!"
(view diff)
#
kylewm.com
edited /Ghost (+91) "/* Dogfooding at launch */"
(view diff)
pasevin joined the channel
#
bret
aaronpk are we for sure at new esri?
#
bret
for the next hwc
#
aaronpk
oh! yeah
#
aaronpk
not this week right?
#
bret
next week
#
aaronpk
cool. we're moving in on monday so it'll still be pretty crazy there probably this week.
#
aaronpk
new address: 309 SW 6th Ave, Suite 600
#
bret
aaronpk should I make a new location on calegator?
#
bret
or update esripdx
#
aaronpk
there's already a new one on calagator
#
bret
w00t
#
Loqi
woot
#
Loqi
Esri R&D Center Office Warming! on Wednesday, May 7, 5:00pm at Esri R&D Center, Portland (New Office Location!)
#
bret
oh shnap
#
bret.io
edited /Events (-23) "/* Upcoming */"
(view diff)
pasevin joined the channel
#
bret
!tell gRegor just updated the next HWC wiki page, can you look to make sure chicago details look right?
#
Loqi
Ok, I'll tell them that when I see them next
#
aaronpk
just "claimed" the esri venue on foursquare so I can manage it
#
bret
!tell KartikPrabhu just updated the next HWC wiki page, can you look to make sure chicago details look right?
#
Loqi
Ok, I'll tell them that when I see them next
bupkes and LauraJ joined the channel
#
aaronpk
I'm interested in btsync but have mixed feelings about it
#
bret
why?
#
bret
btsync is so rad
#
bret
its a bummer it isnt open source
#
aaronpk
have you been using it?
#
bret
daily
#
aaronpk
yeah, it's nice that it's actually p2p, but sad that it's not also open source
#
aaronpk
like I don't mind paying for dropbox cause they don't even pretend to be open at all
#
bret
i sync an encrypted keepass library to my devices
#
aaronpk
but btsync feels like a weird hybrid
#
bret
here is how I use it. High security files i keep in btsync like keepass files
#
aaronpk
that's it?
#
bret
i also use btsync for photo backup and large files
#
aaronpk
ah ok. I would mostly be using it for large files and photos
#
bret
for small files i need high availability on, i use dropbox
#
aaronpk
also lots of small text files
#
bret
that way I dont need extra space on dropbox
#
aaronpk
what benefit do you get from dropbox?
#
bret
high availability
#
aaronpk
how is btsync not high availability?
#
bret
if only one device is on, btsync failes
#
bret
fails*
dybskiy joined the channel
#
bret
till i set up a server backend
#
aaronpk
if I had it running on a server at home it seems like it would be fine
#
bret
i also set up sparkleshare, but i dont use it very often
#
bret
no reliable mobile client
#
bret
aaronpk what are your mixed feelings on btsync?
#
aaronpk
mostly that it's not a paid service but it's also not open source
#
aaronpk
so in order to keep using it, I have to trust that the company will stick around, but I'm not even paying them anything
#
bret
the worst thing bt.inc has done so far is charge for bullshit addons in utorrent and have sketchy installers where you have to "cancel" to install software without installing crapware
#
bret
aaronpk if it means anything to you, people still use utorrent 2.x way back from 2006ish
#
bret
and since its p2p it just keeps working
#
kbs
the main issue i found with btsync is that both sides need to be active at the same time
#
bret
kbs this is true with dropbox, but they just do it for you ;)
#
aaronpk
I don't really see that as a problem
#
bret
aaronpk, if i had to guess, i would say bt.inc might get into the dropbox buisness with paid hosting
#
kbs
I mean to say, issue i found 'for me' :)
#
kbs
so I run scripts that use dropbox as an intermediate hosting bit
#
bret
aaronpk like they would provide encrypted backend in a non dorky way
bupkes joined the channel
#
aaronpk
bret: yeah that's a good call
#
bret
given that btsync was an overnight sucess, they are going to need massive scalling
#
bret
maybe thats why it hasnt launched yet
#
kbs
encrypt->dropbox -- recipient ->dropbox [and delete] works ok for me as a btsync equivalent
#
@gasull
RT @kevinmarks: “In every case other than your own domain a centralized service provider… can also revoke your profile” #indieweb http://t.…
(twitter.com/_/status/455052983555076096)
#
bret
kbs, thats a nice workflow but not p2p is it?
#
kbs
hm - functionally, it is - no? :)
#
kbs
I don' really see using a third-party store-and-forward as much different from a third-party network service
#
kbs
[by which I mean, my internet provider]
#
kbs
uses this to share pictures with close friends and family - scripts runing within a openwrt router+disk drive
#
bret
kbs unless you are in a country that blocks dropbox and you dont have a vps
#
bret
i guess bittorent could be filtered
#
kbs
yes, doesn't work with a country that blocks dropbox. Don't need a vps
#
bret
but they have dont a lot of encryption work to make that harder
#
bret
done(
#
bret
im a sucker for p2p, love that stuff from a tech standpoint
#
kbs
sorry, not sure exactly what you meant :) but I'm sure my goofy solution isn't for everyone - just thought I'd put it out there for entertainment
#
bret
dont appologies!
#
kbs
running scripts on openwrt + dropbox + encryption + dropbox-as-store-and-forward ends up being reasonable enough for some set of people, I guess :)
#
bret
kbs the other thing about btsync that is rad is that the more people who want the files, the faster the connection gets
#
kbs
I'm pretty sure btsync makes sense in a lot of contexts, don't get me wrong
#
bret
just thinking out loud here
#
bret.io
created /events/2014-04-23-homebrew-website-club (+4278) "Updated the next event page"
(view diff)
#
kbs
I kinda think there are a few workflows that I've felt for my little group. One is what I think of as 'disconnected sharing'. Eg: I take a pic, don't want to use my data plan, but want to share with friends
#
kbs
just want it to "do the right thing eventually"
#
kbs
second, tends to be archiving - (also disconnected) - some set of stuff - just archive when you get around to it, don't bother me.
markmhendrickson joined the channel
#
kbs
but all of them, I'd prefer to stay encrypted when it's moving around, just because.
#
kbs
btsync is great
#
kbs
but tends not to work well in both those other workflows (for me, I hasten to add)
#
kbs
er, "both those workflows"
markmhendrickson joined the channel
#
kbs
So what I've ended up doing is some crude mixture of android apps to exit stuff off my phone, and some openwrt routers sitting at my friends and family and it's kinda sorta working
markmhen_ joined the channel
#
kbs
undoubtedly, someone smarter than me will make all this trivial over the next decade and be a happy camper :)
gRegor`, bupkes and KartikPrabhu joined the channel
#
Loqi
KartikPrabhu: bret left you a message 35 minutes ago: just updated the next HWC wiki page, can you look to make sure chicago details look right?
yaf joined the channel
#
kbs
looks for folks to start implementing 'indiebox' :)
ttepasse joined the channel
#
gRegor`
What's indiebox?
#
kbs
I dunno :) some sort of personal storage service is what I was vaguely thinking
#
aaronpk
oh wait were you joking?
#
kbs
aha!
markmhendrickson joined the channel
#
kbs
more wondering, and now I no longer need wonder :)
#
aaronpk
yep j12t is working on that!
#
kbs
cool
#
kbs
j12t == indiebox? didn't know that - thanks for the pointer.
Kopfstein joined the channel
#
aaronpk
he often comes to the homebrew meetups too!
#
kbs
it's a bit more generic than what I was imagining, but cool none-the-less
#
gRegor`
I've been pondering today what to do with my media library at home.
#
gRegor`
Currently my mp3s are just trapped on an XP (yes...) desktop.
#
gRegor`
Heh, the indieboxproject goals page is 404. http://indieboxproject.org/blog/goals/
#
gRegor`
Goal 1: Find our goals
bear_ joined the channel
#
Loqi
bear_: kbs left you a message on 4/8 at 12:20pm: just wondering - https://bear.im/pubkey.txt has both the expired and the new key, deliberate decision?
#
kbs
oh, gRegor` and aaronpk and anyone who has any thought to offer - currently to figure http://indiewebcamp.com/pgp#Private.2C_Transient.2C_Async_Messaging, interested in all and any ideas/brickbats/feedback
#
kbs
s/to figure/trying to figure out/
#
Loqi
kbs meant to say: oh, gRegor` and aaronpk and anyone who has any thought to offer - currently trying to figure out http://indiewebcamp.com/pgp#Private.2C_Transient.2C_Async_Messaging, interested in all and any ideas/brickbats/feedback
#
aaronpk
ah great use case description
#
gRegor`
brickbats? Haha
#
gRegor`
I'll take a look
eschnou joined the channel
#
KartikPrabhu
anyone know their way around regex?
#
aaronpk
a litle
#
aaronpk
also http://rubular.com/ is a great tool
#
KartikPrabhu
so I have some time string of this sort "Wed May 23 06:01:13 +0000 2007" and I want to separate the timezone from the date i.e. I want "Wed May 23 06:01:13 2007" and "+0000" how do I do that?
#
aaronpk
that is a messed up string
#
KartikPrabhu
The first string can be obtained by re.sub
#
aaronpk
and you're *sure* it'll always be in that format?
#
KartikPrabhu
yes. Twitter told me so :P
#
KartikPrabhu
re.sub(' [+-][0-9]{4} ', ' ', time_str) this will remove the timezone but how do i extract the timezone?
#
aaronpk
this will get you the three parts individually http://rubular.com/r/gZwNNs4J41
#
gRegor`
Does python have something like PHP's strtotime()?
#
aaronpk
or do that yeah
markmhendrickson joined the channel
#
gRegor`
Convert it to something sane, then pull out what you need
#
KartikPrabhu
gRegor`: yeah but it isn't timezone aware!
#
gRegor`
Really? Odd
#
kbs
language==python?
#
KartikPrabhu
gRegor`: yeah very odd. that is the first thing I tried
#
KartikPrabhu
kbs: return True
#
KartikPrabhu
aaronpk: thanks
#
kbs
KartikPrabhu: oh, okay. [had some thoughts if it was java..., python not so much.]
basal joined the channel
#
KartikPrabhu
kbs: np. I think aaronpk's suggestion should work...
#
aaronpk
bret: want to come see star wars improv tonight? http://aaron.pk/n4VY1
#
kylewm
KartikPrabhu: are you sure datetime.strptime isn't timezone aware?
#
aaronpk
(or anyone else in portland too!)
#
kylewm
I don't know for sure that it is, but it has %Z and %z
#
KartikPrabhu
strftime uses %z fine enough but strptime does not
#
kylewm
I used DATE_FORMAT = '%a %b %d %H:%M:%S %z %Y'
#
kylewm
to parse twitter dates pre-bridgy
#
kylewm
oh! dang
#
KartikPrabhu
kylewm: I tried datetime.strptime(time_str, '%a %b %d %H:%M:%S %z %Y') and it says "ValueError: 'z' is a bad directive in format '%a %b %d %H:%M:%S %z %Y'"
#
KartikPrabhu
kylewm: are you sure it worked with the %z ?
#
kylewm
>>> datetime.datetime.strptime("Wed May 23 06:01:13 +0000 2007", "%a %b %d %H:%M:%S %z %Y")
#
kylewm
datetime.datetime(2007, 5, 23, 6, 1, 13, tzinfo=datetime.timezone.utc)
#
kylewm
this is python 3
#
kylewm
should i try with 2.7?
#
kylewm
oh you're right, it doesn't work with 2.7!
#
kylewm
that's weird
#
KartikPrabhu
:| if that worked it would have been awesome
#
kylewm
sorry for the noise and/or false hope
#
KartikPrabhu
eh np. good to know that it works in py3
snarfed joined the channel
#
KartikPrabhu
aaha! snarfed is bridgy python 2.7 or python 3?
#
snarfed
KartikPrabhu: 2.7
#
snarfed
it runs on app engine, which doesn't do 3 yet
#
KartikPrabhu
booo! the timezone problem could be easily solved in 3 it turns out
#
snarfed
heh, i know the feeling
#
KartikPrabhu
strptime is timezone aware in py3 but not in py2.7
#
snarfed
…more importantly though, looking at irc logs, i don't think parsing a timezone out of twitter timestamps is enough on its own
#
snarfed
since afaik twitter timestamps are all utc
#
snarfed
you have to look at the user's utc_offset field to get their timezone
#
snarfed
(sadly)
#
KartikPrabhu
snarfed: yes. But i thought it would be more future-proof to do that anyway and then add user tzinfo
#
kylewm
i see why it doesn't work in 2, there's no concrete implementation of tzinfo
#
snarfed
KartikPrabhu: ah yes. true!
#
snarfed
kylewm: yeah, sigh. the big picture of the python 3 migration is mixed at best, too, unfortunately
#
snarfed
(but that's a different debate)
#
kylewm
of course
#
kylewm
i use it on personal projects but i know it's a luxury that real projects cannot afford
#
kylewm
i'm also surprised pytz is so large
#
kylewm
i know timezone stuff is wrinkley but it's several MBs of code
basal and dybskiy joined the channel
#
kylewm
fwiw, i've resigned myself to parsing dates with regexes too ... difficult to even support the optional 'T' between date and time otherwise
#
snarfed
regexes, the claw hammer of parsing code
#
kylewm
(to paraphrase) when regexes are your hammer, everything looks like a thumb
#
snarfed
hah yes
#
KartikPrabhu
snarfed: added commits with timezone things
#
KartikPrabhu
no user loacal time yet though
#
snarfed
KartikPrabhu: thanks! looking now.
#
KartikPrabhu
you might want to move the class OffsetTzinfo to utils or something
#
snarfed
on a related note, http://labix.org/python-dateutil looks like a much smaller alternative to pytz
#
snarfed
we can still probably do twitter timezones without a new dependency at all, but it just looked interesting
#
snarfed
KartikPrabhu: new commit looks great! i'm adding minor comments but nothing major
bupkes joined the channel
pasevin joined the channel
#
snarfed
i'd eventually probably move the tzinfo class into webutil/util.py, but we can do that afterward
#
snarfed
my one big remaining request is a unit test :P
#
KartikPrabhu
snarfed: yes the tzinfo class could be moved but I didn't have that lib in my fork. hmm will look into the unit test. where are the current unit tests?
#
snarfed
twitter_test.py
#
KartikPrabhu
just found!
#
snarfed
you can run them with ./alltests.py or e.g. ./alltests.py —debug TwitterTest.my_test_fn
#
@libel_vox
@kinlane Familiar w POSSE? http://indiewebcamp.com/POSSE Don't see re-syndication ala Twitter fading but I do see need for different content flow
(twitter.com/_/status/455081093729775617)
#
snarfed
KartikPrabhu: k, done commenting. sorry for picking so many nits. i'm excited to get this in!
#
KartikPrabhu
np. I should get a consistent style too :)
dybskiy joined the channel
#
KartikPrabhu
snarfed: I am a bit confused about the re.search comment. I'm not good at regex.
#
snarfed
ah. np! i'll merge it like this and show you what i mean in another commit afterward
#
KartikPrabhu
aah ok i'll fix the nits then :)
markmhendrickson, gRegor` and snarfed joined the channel
#
snarfed
KartikPrabhu: new commits look good! alltests.py passes now?
#
KartikPrabhu
eh I should check...
#
KartikPrabhu
I actually do not have a local version of that repo :P
#
snarfed
oh i meant activitystreams's alltests.py
#
KartikPrabhu
yeah me too! :P
#
snarfed
you don't have a local version of that repo? how were you making the changes?
#
KartikPrabhu
on github... being very irresponsible I know...
#
KartikPrabhu
I did test the functions I modified...
#
snarfed
ahhhh i see. yeah, sorry, you'll want to clone it locally and run the full alltests.py. annoying, i know
#
KartikPrabhu
np! I should have been doing that already... time to reboot my git skills
#
snarfed
on a related note, hey kylewm, you squashed the commits for one of your recent PRs, right? i'm curious how you did that after they'd been pushed to github
markmhendrickson joined the channel
#
KartikPrabhu
snarfed: the alltests.py simlink is broken after I cloned it locally
#
snarfed
ah, you need to run git submodule update —init --recursive
#
snarfed
(i think)
#
snarfed
details in the readme
#
snarfed
kylewm: oh i see, you just rebase -i and rewrite history on the topic branch. got it
demis joined the channel
#
KartikPrabhu
snarfed: It seems I can't clone beautifulsoup!
#
snarfed
KartikPrabhu: huh. what's the error message?
#
KartikPrabhu
"Permission denied (publickey).fatal: Could not read from remote repository.Please make sure you have the correct access rights and the repository exists. Clone of 'git@github.com:JinnLynn/beautifulsoup.git' into submodule path 'beautifulsoup' failed"
#
snarfed
ah. hmm.
#
snarfed
i assume you've uploaded your ssh public key to github? probably yes if you're pushing to your repos
#
KartikPrabhu
hmmm I don't recall doing that specifically unless it automatically happened
#
snarfed
ok. hmm. thinking
#
KartikPrabhu
but yeah I have pushed from local to my repos before
#
KartikPrabhu
I should?
#
Loqi
agreed.
markmhendrickson joined the channel
#
snarfed
probably yes
#
KartikPrabhu
snarfed: I've just been using my password while pushing, i'll look into this SSH thing
#
snarfed
sorry for the rabbit hole!
#
KartikPrabhu
np! These are all things I should be doing anyway
#
KartikPrabhu
snarfed: yeah found that... I wonder why I was able to push/clone before without doing that
#
snarfed
with your password
#
snarfed
at least for pushing. for cloning, you were probably doing it over https, but activitystreams's submodules are set to use ssh
#
KartikPrabhu
oh I see. so that is a setting in the repo itself!
#
snarfed
well, a setting on a submodule, yes
#
KartikPrabhu
ok gtg. I'll do this and run the test and send you a note when it passes
markmhendrickson and KartikPrabhu joined the channel
#
snarfed
thanks KartikPrabhu!
#
snarfed
you might also need to d/l and install the app engine sdk to run the tests: https://developers.google.com/appengine/downloads#Google_App_Engine_SDK_for_Python
#
snarfed
unpack it into your ~/google_appengine dir
demis, markmhendrickson, kbs, pfenwick, j12t, pasevin, basal, emmak and ttepasse joined the channel