#dev 2016-10-22

2016-10-22 UTC
KevinMarks__ and singpolyma joined the channel
#
rascul
looking at p-sex in h-card http://microformats.org/wiki/h-card , it references rfc 6359 https://tools.ietf.org/html/rfc6350#section-6.2.7 , should i expect only the values listed in the rfc?
#
Loqi
h-card
#
rascul
trying to determine if this should be a string or an enum
#
rascul
i would actually prefer an enum because, once implemented, it's more trivial to use than a string, but it's not clear to me if those are the only accepted values or if it's just an example/recommendation
#
rascul
i'll just implement it as an enum until i know better and provide a custom option for anything not listed
KevinMarks joined the channel
#
rascul
maybe i'm the only one not out partying tonight :(
#
dansup
nope
#
dansup
ditch friends && (drink + code)
bear joined the channel
#
rascul
if drink() & code() { do_stuff(); } else { pretend_cool(); }
#
rascul
no beard
#
dansup
that show (we bare bears) is awesome
#
bear
that's my younger self
#
rascul
ahh, ok
#
rascul
i've been learning a bunch of rust stuff lately, now i feel comfortable enough working on my site stuff again
#
rascul
by working on it, i mean scrapping all the crap code i had because now i know rust better heh
#
dansup
nice, are there any web frameworks for rust ?
#
rascul
that's what i made to learn how to make a web app in rust
#
rascul
rascul.xyz is real slow though because it's way out of ram and i'm lazy and don't feel like migrating it to a bigger vps so i just added a bunch of swap
#
rascul
if it gets 100 requests in a minute it'll probably die heh
#
rascul
i'll fix it sometime eventually, make it more powerful and maybe even move some things elsewhere to lighten the load
#
rascul
bear did you see the dirty cow thing?
#
dansup
cool
#
dansup
i have only really used php
#
rascul
it's already patched in debian and probably the other major distros
#
rascul
dansup i'm not much a fan of php, but if you're happy with it then i'm happy for you
#
dansup
they called it dirtycow ? lol
#
rascul
cow as in copy on write
#
dansup
rascul, php is often abused and I think that is why it had a bad reputation. like this timing attack in gnu/social: https://git.gnu.io/gnu/gnu-social/blob/master/plugins/AuthCrypt/AuthCryptPlugin.php#L55
#
dansup
i patched all my servers
#
rascul
php is real easy and attractive for beginners, and because of that there ends up being a lot of bad code in the wild
#
dansup
true, but if you know how to use the language properly you can do amazing stuff. php7 is faster than ruby and python
#
rascul
also php itself has plenty of issues (every language has issues, though) but those are of course being addressed as time goes on
#
rascul
faster is hard to say in general, there are too many variables
#
dansup
thanks to facebook, and the community, php has seen a lot of modern improvements that have made the language better
#
rascul
and python at least can be incredibly fast depending on how it's used, i don't know much about ruby though
#
rascul
it's definitely possible to write good php
#
dansup
fast as in benchmarks fast
KevinMarks_ joined the channel
#
rascul
those are specific things though, and php doesn't even win all of them
#
dansup
true
#
rascul
none of those look like web stuff at first glance either, which is where php is used most, and python is used quite often
#
dansup
yeah
#
rascul
in general, php does indeed win those, though
#
rascul
rust has better numbers than your php ;) http://benchmarksgame.alioth.debian.org/u64q/rust.html
#
dansup
yeah, everyone has their own preference. its not about the language, but what you can do with it
#
rascul
rust can get quite verbose, it has a strong type system that can be hard to work with, and ownership can be a struggle for people to grasp at first
#
rascul
shooting yourself in the foot is a lot harder though
#
dansup
rascul, php now has strict types https://wiki.php.net/rfc/scalar_type_hints_v5
#
rascul
i guess that's potentially interesting
#
bear
rascul - yes, i've been dealing with it all day (updating kernels and restarting services)
#
aaronpk
heh i'm not coding tonight, but not out partying either. i'm downloading fancy audio libraries that are used for film scores and trying to write some music again.
#
rascul
oh aaronpk maybe you can answer my earlier question
#
rascul
[20:39] <rascul> looking at p-sex in h-card http://microformats.org/wiki/h-card , it references rfc 6359 https://tools.ietf.org/html/rfc6350#section-6.2.7 , should i expect only the values listed in the rfc?
#
Loqi
h-card
#
rascul
[20:40] <rascul> trying to determine if this should be a string or an enum
#
aaronpk
hm i thought there were some other experiments with that
#
aaronpk
around preferred pronoun
#
rascul
i dunno
#
rascul
i've implemented it as an enum with an additional custom type for now
#
aaronpk
speaking of music, it would seem that I need to bump up being able to publish audio clips on my site like I do video
#
rascul
if it's supposed to be a free form text thing, i can change it, but if there's set values for it than an enum is much easier for me
#
aaronpk
well that spec seems to say it's a list of single characters
#
rascul
indeed
#
aaronpk
but i've seen more examples of preferred pronouns where it's just freeform
#
aaronpk
bye for now
#
rascul
i'll just keep it like i have it, then
#
rascul
good bye
KevinMarks and KevinMarks_ joined the channel
#
KevinMarks
Gender is free form and preferred, sex is only really for medical records as I recall
tantek joined the channel
#
rascul
according to the vcard rfc, sex has specific values for biological sex, gender (freeform) is for gender identity
tantek and KevinMarks_ joined the channel
#
KevinMarks_
Right, that was my point. Gender is the thing that you publish, sex is a medical thing.
AngeloGladding, loicm, miklb_, KartikPrabhu, KevinMarks and KevinMarks_ joined the channel
#
www.svenknebel.de
moved /PubSubHubbub to /PubSub "Now W3C WD with new name"
#
www.svenknebel.de
edited /PubSub (+55) "renamed -> fix dfn, link new standard"
(view diff)
#
www.svenknebel.de
edited /PuSH (-6) "remove double redirect"
(view diff)
#
www.svenknebel.de
edited /Pubsubhubbub (-6) "remove double redirect"
(view diff)
#
www.boffosocko.com
edited /Disqus (+820) "data export"
(view diff)
ChrisAldrich joined the channel
#
david.shanske.com
edited /2016/LA/Guest_List (+516) "/* Participants */"
(view diff)
tantek joined the channel
#
tantek
catches up on last night's vcard rfc discussion
#
tantek
rascul: gender has multiple components in vcard4, sex (bio) and gender-identity (free form) and this is all by very deliberate design and discussion. a bunch of the background that went into this is documented at microformats.org/wiki/gender
#
tantek
"gender" is not a property itself, it is a composite of 'sex' and 'gender-identity'
#
tantek
cc: KevinMarks aaronpk
#
www.boffosocko.com
edited /2016/LA (+94) "/* RSVP */ Event that will accept RSVP webmentions"
(view diff)
KartikPrabhu joined the channel
#
KevinMarks
As currently documented, h-card splits them
#
KevinMarks
p-sex - biological sex, new in vCard4 (RFC 6350)
#
KevinMarks
We should annotate that
#
aaronparecki.com
edited /PubSub (+65) "/* Hubs */"
(view diff)
#
aaronparecki.com
edited /realtime (+13) "see also PubSub"
(view diff)
#
sknebel
KevinMarks: what were ping servers?
#
GWG
Ah, the Technorati days when you pinged sites to tell them you had an update.
#
KevinMarks
A ping server would be told about updates and list the feed and update time
#
KevinMarks
They filled up with spam a lot
#
KevinMarks
You had to lobby the blogging silos to ping your server
#
sknebel
so servers ran by or for the receivers, pinged by the publisher? Vs PuSH servers that are run fo/byr the publisher, and receiver register against them?
#
GWG
I remember configuring WordPress to ping them.
#
KevinMarks
Still exists
#
KevinMarks
Still mostly spam
miklb_ joined the channel