#dev 2021-01-24

2021-01-24 UTC
lahacker and [chrisaldrich] joined the channel
#
@bouyaki
昨年だったかindiewebのサイト見た時にはwebmentionとか面倒くさそうと思ったんだけど、いま思うところあって読んでいたら意外とイケそうな気がしてきた。 https://indieweb.org/Getting_Started
(twitter.com/_/status/1353157395455696896)
[tantek], lahacker, gRegorLove, KartikPrabhu, priyanshu, nickodd, oodani, leg, dhanesh, [jgmac1106], ShadowKyogre, [colinwalker], [jeremycherfas] and [Rose] joined the channel; ShadowKyogre left the channel
#
[jgmac1106]
ooof Rusty just tried to write an h-feed by hand and missed soo much,
#
[jgmac1106]
!tell jacky geared toward DoD since staring there first with cybersecurity but everything you do must swim in FCI and CUI (classifications for types of federally protected data in US outside of Classified) http://fcivscui.com/
#
Loqi
Ok, I'll tell them that when I see them next
#
[jgmac1106]
that is what I was trying to set up as an h-feed, will mess around in next couple days, classes start tomorrow
[tantek] and bhavin192 joined the channel
#
[tantek]
welcome bhavin192!
#
[tantek]
try your site on https://indiewebify.me/ and let us know how it goes!
#
bhavin192
[tantek], hello.
#
bhavin192
Followed IndieWebify.Me and the Wiki pages. Parses correctly :)
#
bhavin192
I mean, followed the steps from IndieWebify.Me.
#
[jgmac1106]
will do, I quickly saw what I missed, going to get a lot of exposure the cybersecurity training I am developing is starting in Defense (biggest checkbook and threat) but will hit every element of federal and government contracting by 2025
[KevinMarks] joined the channel
#
[tantek]
[jgmac1106] was there a drop in the IRC/Slack bridge? I have no idea what you're responding "will do" to, or what anything about that statement has to do with indieweb-dev ?
#
Loqi
bhavin192 has 1 karma over the last year
#
[tantek]
bhavin192++ congrats and well done!
#
[tantek]
bhavin192 have you setup IndieAuth on your personal site and tried signing into the wiki? https://indieweb.org/
jamietanna joined the channel
#
GWG
I'm doing some geocoding testing. I need to pick a British, Irish, and German location to test. I think I got US working
#
Zegnat
If you have a bunch of HTML files that need parsing, what are people's goto scripting languages for that? I like PHP, but have mixed feelings about its HTML handling (user-land parser, ...), and I never know what HTML parser is actually good in the JS landscape
#
sknebel
python with beautiful soup is ok IMHO
#
[KevinMarks]
What kind of location do you want? Postcode, named place?
[schmarty] joined the channel
#
[schmarty]
Zegnat: depends on what you need to do! i am a fan of the pup command line tool for very targeted things.
#
sknebel
(BeautifulSoup being the name of a parsing library)
#
[KevinMarks]
Python html5lib is good. You need to be a bit careful to get beautiful soup to use that rather than the old built in parser
#
[schmarty]
pup is good for extracting things you can target with a CSS selector
#
Zegnat
I have a couple of site crawls (wget) from which I need to extract specific contents on a page-by-page basis, [schmarty]. And probably clean some in the middle elements, brs, etc. I think it will be easier to do scripting that than wrangling a cli tool into doing that, but I will have a look at pup!
#
GWG
[KevinMarks]: Coordinates
#
GWG
I'm doing reverse geocoding tweaks
#
GWG
I just got the US data standardized so I can in future, show posts by region and locality
#
Zegnat
BeautifulSoup is what the mf2 Python parser uses, right?
[fluffy] joined the channel
#
[fluffy]
BeautifulSoup is amazing yeah. It lets you do DOM queries in a bunch of different ways, including custom filters and CSS selectors.
#
sknebel
Zegnat: yes, mf2py uses it too
#
Zegnat
I'll have to have a look again. I do not use Python a lot, but if it has a good HTML/DOM API I will be easily persuaded, haha
#
GWG
[KevinMarks]: I convert the api response to mf2 properties, and then use a function to turn that into a display string...I need to improve that display string... sometimes it can be a bit strange
#
Zegnat
now wondering if I can get away with using just html5lib without beautifulsoup on top. Hmmm. Python might be a fun one for this too.
lahacker, KartikPrabhu, shoesNsocks1, leg and [Raphael_Luckom] joined the channel; nickodd left the channel
#
[Raphael_Luckom]
I'd put in a word for JS. There are solid libraries there if it's something you know already. But with the age of html as a format, it's more about what you like than which language is ahead in general.
ShadowKyogre joined the channel
#
@jamesvandyne
Just finished shipping a webmention endpoint in Tanzawa. Actual display of webmentions is a task for another time as it turns out to be quite complex. (https://jamesvandyne.com/2021/01/25/1350.html)
(twitter.com/_/status/1353466593452449792)
[snarfed] joined the channel
[Raphael_Luckom] and [KevinMarks] joined the channel; ShadowKyogre and cbradford[m] left the channel
#
[KevinMarks]
html5lib is pretty good but the docs are a bit weak