#dev 2016-07-19

2016-07-19 UTC
#
kevinmarks.com
edited /static_site_generator (+11) "/* Popular and Documented SSGs */"
(view diff)
#
kevinmarks.com
edited /hugo (+254) "more info about process"
(view diff)
#
kevinmarks.com
edited /2016/NYC2/Planning (+48) "/* Outreach */"
(view diff)
#
aaronparecki.com
edited /2016 (+161) "/* Photos */"
(view diff)
KevinMarks, KevinMarks_, tantek, gRegorLove, cweiske and loicm_ joined the channel
#
petermolnar
!tell tantek PHP 5.2 is without namespaces, anonym functions and it's brutally slow compared to 7.0, so yes, it's quite bad.
#
Loqi
Ok, I'll tell him that when I see him next
KevinMarks_ joined the channel
#
petermolnar
Loqi, why u mess up links?
#
petermolnar
that tweet is missing the ?p=6195 from the rarst.net link and, for my surprise, contains my extended url instead of the short one that's actually in the tweet
#
petermolnar
!tell aaronpk Loqi is doing something strange with links in tweets, please double check it ( see lines above )
#
Loqi
Ok, I'll tell them that when I see them next
#
sknebel
petermolnar: he has comments enabled on his post, so you could manually POSSE your response ;)
#
petermolnar
not going to happen :)
#
petermolnar
is too lazy for that
#
petermolnar
it appears getting syndicated urls back from snap (wp plugin) is rather hectic and mostly not working
#
petermolnar
not happy
#
petermolnar
how does one crawl their own flickr to backfill missing syndication?
loicm_ joined the channel
#
petermolnar
got it: I'll pull the flickr api for my own photos, look for links to my own site and add them as missing meta; if I do this from cron once a day, I'm fine
#
petermolnar
but this is annoying
#
aaronpk
Loqi follows redirects from links in Twitter
#
Loqi
aaronpk: petermolnar left you a message 5 hours, 50 minutes ago: Loqi is doing something strange with links in tweets, please double check it ( see lines above )
#
aaronpk
because people often tweet out bitly links or worse
#
aaronpk
sometimes the redirects return different results to Loqi because JavaScript or because people hate boys
#
Loqi
because people hate boys
rMdes, rMdes_, gRegorLove, KevinMarks and tantek joined the channel
#
tantek.com
edited /Falcon (+55) "/* person tags */ build more UI for this"
(view diff)
#
petermolnar
oh, PHP, why? strlen( string with chinese chars ) -- too long, mb_strlen ( string with chinese chars ) -- too short
#
petermolnar
as in strlen says for example 12, mb_strlen says 8, and reality is 10
KevinMarks joined the channel
#
petermolnar
I'm trying to plain-text underline with repeated "=" the following:
#
petermolnar
2 weeks of Sichuan: Shunan Bamboo Sea (蜀南竹海国家公园)
#
petermolnar
and it fails
#
petermolnar
it's either 7 chars too short or 9 chars too long
#
petermolnar
any ideas?
#
gRegorLove
petermolnar: What does mb_internal_encoding() return?
#
petermolnar
"Unknown encoding"
#
gRegorLove
Should be UTF-8 to work, I think. Try mb_strlen('蜀南竹海国家公园', 'UTF-8')
#
gRegorLove
I get 8 for that ^
#
gRegorLove
And 10 when I wrap it in =
#
petermolnar
no change; I have a feeling the problem is the mixed content
#
petermolnar
so the full "2 weeks of Sichuan: Shunan Bamboo Sea (蜀南竹海国家公园)"
#
petermolnar
it's not important however, but a bit annoying
#
gRegorLove
Mixed content shouldn't be a problem
#
gRegorLove
The = is definitely in the string?
#
petermolnar
I never said that
#
petermolnar
I'm trying to get the length of that one line
#
gRegorLove
Oh, misread
#
gRegorLove
I get 48 for the full string
#
gRegorLove
8 is correct for the Chinese characters, so that's what confused me
#
petermolnar
chinese chars are not monotype :D
#
petermolnar
so yes, mb_strlen is fine with or without adding the UTF-8
tantek and rMdes joined the channel
#
KevinMarks
There are monospaced fonts that include Chinese, but they are rarer
#
voxpelli
need to share this trick again on how to make GitHub PR:s be fetched like any other remote branch: https://gist.github.com/voxpelli/1b06b4ae3f2c691786a2 can be really neat for open source projects!
miklb, gRegorLove, tantek, rMdes_ and loicm_ joined the channel
#
tantek.com
edited /Events (+5090) "add HWC events for August-October"
(view diff)
KevinMarks and KevinMarks_ joined the channel
#
tantek.com
created /events/2016-08-10-homebrew-website-club (+5626) "draft from 2016-07-27"
(view diff)
#
tantek.com
created /events/2016-08-24-homebrew-website-club (+5626) "draft from 2016-07-27"
(view diff)
#
tantek.com
created /events/2016-09-07-homebrew-website-club (+5626) "draft from 2016-07-27"
(view diff)
#
tantek.com
created /events/2016-09-21-homebrew-website-club (+5626) "draft from 2016-07-27"
(view diff)
gRegorLove and KevinMarks joined the channel