#dev 2020-03-29

2020-03-29 UTC
[LewisCowles] joined the channel
#
Loqi
iamdave has 1 karma over the last year
iamdave, [tantek] and [chrisaldrich] joined the channel
#
[chrisaldrich]
comes too late to the party....
#
[chrisaldrich]
I've only got /TiddlyWiki running on a private local set up. Haven't got enough chops yet to run it on a public server.
#
[chrisaldrich]
iamdave++, If you've got an h-card with rel-me set up, you should be able to log into the Wiki. Consider documenting that issue maybe on the /TiddlyWiki page.
#
Loqi
iamdave has 2 karma over the last year
#
[tantek]
Welcome iamdave++
#
Loqi
iamdave has 3 karma over the last year
KartikPrabhu joined the channel
#
[chrisaldrich]
Glad to have another TiddlyWiki site to add to my fraidyc.at reader...
maxwelljoslyn, Nuve, oodani, nickodd and iamdave joined the channel
#
iamdave
thanks gang, and [chrisaldrich] I definitely plan to keep tinkering throughout the week, would be happy to publish there results.
#
iamdave
thank you [tantek]++
#
Loqi
[tantek] has 22 karma in this channel over the last year (118 in all channels)
#
iamdave
will keep the community informed. cheers. [chrisaldrich]++
#
Loqi
[chrisaldrich] has 5 karma in this channel over the last year (28 in all channels)
[chrisaldrich] joined the channel
#
[chrisaldrich]
We're around if you need help/pointers.
#
iamdave
groovy. will make a mental note to get joined into slack proper later this weekend.
dmitry, [jeremycherfas], loicm, [tantek], [LewisCowles], swentel, nulld1g1t and jamietanna joined the channel
#
nulld1g1t
hi chaps
#
jamietanna
!tell snarfed I'm finally getting granary released (I see you already released o-d) and am at the point to release it up - my username there is `jamietanna`
#
Loqi
Ok, I'll tell them that when I see them next
#
nulld1g1t
how much does it cost to hire html/javascript devs ?
#
Zegnat
Hello nulld1g1t! :) I don’t think I have an answer to that. But someone else here may have
#
[LewisCowles]
Nulld1g1t or... You could embark on the journey to learn what one knows and guess at a valuation. Lots of materials online for free if price is important
aaronpk joined the channel
#
nulld1g1t
??
#
nulld1g1t
no one can tell me how much it cost to hire a web dev ?
#
nulld1g1t
for writing html and javascript
nulld1g1t left the channel
#
dmitry
depends on a country. You can try to hire someone from Ukraine/Belarus/Russia starting from about $10/hour
#
jacky
that was def either a troll or spam
#
aaronpk
Yea don't bother entertaining those kinds of questions. Just explain the scope of the topic of the channel and send them elsewhere
#
swentel
haha, funny bug with my microsub server. I created a 'favorites' channel where I can move items too .. but forget the feed is cleanup up of course :)
#
swentel
*cleaned
loicm joined the channel
#
dmitry
ok, wow. I'd never guess it on my own. How this question can troll anyone?
#
dmitry
and, more on topic: how much time do you guys usually invest in page design? I've spent a few hours, started again, spent a few hours more and I think it cuold take awhile
petermolnar and [grantcodes] joined the channel
#
swentel
[grantcodes], just committed 'mark read while scrolling'. It actually works great, weird that I've hold that one off for so long ;)
#
[grantcodes]
Wow fast work swentel!
#
[grantcodes]
swentel++
#
Loqi
swentel has 17 karma in this channel over the last year (35 in all channels)
#
swentel
released pushed!
[amit] joined the channel
#
[amit]
Hello Folks. I am kinda stuck with a situation. I am trying to create a micropub client that is purely client side (pure Javascript-based). Is that a good idea? I believe there would be too many `cors` issues?
#
[amit]
What else can become a hurdle?
#
sknebel
CORS seems the main one
#
[grantcodes]
Yeah cors will be a huge issue
#
[amit]
Yeah, thought so. I guess will have to move this server side, no other option.
[snarfed] joined the channel
#
[snarfed]
[amit] sure there is, just use a CORS proxy like https://cors-anywhere.herokuapp.com/
#
Loqi
[snarfed]: jamietanna left you a message 4 hours, 41 minutes ago: I'm finally getting granary released (I see you already released o-d) and am at the point to release it up - my username there is `jamietanna`
#
[amit]
[snarfed] Ah great. 👍
#
[amit]
I will give it a try. Demo looks promising.
#
[amit]
Can there be any other issue with pure JS approach?
#
[grantcodes]
I think I have run into issues with those sort of things before, can't remember what though
#
[grantcodes]
cors proxies that is
#
[grantcodes]
I think it's not actually the micropub part that is so bad with cors, but the other associated stuff like parsing peoples sites for headers and link tags
#
[amit]
[grantcodes] Exactly, am through the IndieAuth part. Time to fetch the access token from token endpoint. And that's when I realized it might get tricker.
#
[grantcodes]
You can try micropub-helper it's designed to work client side or server side, but you'll still need to do something for cors
#
[snarfed]
[amit] i've forgotten what IndieAuth's equivalent of the OAuth PKCE flow is for avoiding client secret in JavaScript, but you'll need to do that instead of the normal three-legged OAuth flow. which then means your client will only support authorization endpoints that support that
#
GWG
[snarfed]: PKCE.
#
aaronpk
indieauth never used a client secret, PKCE is just a good security upgrade
#
GWG
So, IndieAuth's equivalent of PKCE is PKCE
#
[amit]
Yep, no client secret was the reason I started exploring the client side approach.
#
[amit]
Of course, would still need to maintain the access token?
#
[amit]
Ok great. Will continue on this track.
#
[amit]
[grantcodes] micropub-helper looks great. Again, with cors warning
[chrisaldrich] and crab joined the channel
#
crab
hi.
#
crab
hmm. so the java parser handles <span class="u-email">xyz@example.org</span> sensibly, but whatever's on indiewebify.me doesn't like it much.
#
aaronpk
i don't think that's valid microformats, try p-email though
#
Loqi
microformats2 prefix conventions
#
crab
it sure is hard to go against a two-decade habit of not putting mailto: on web pages to avoid spam.
#
GWG
crab: I think the ship has sailed.
#
swentel
GWG, new indigenous release pushed
#
GWG
swentel: Is this the dark one?
#
swentel
night mode and mark read while scroll are in
#
crab
what's indigeneous?
#
swentel
crab, https://indieweb.org/Indigenous (I maintain the android version)
#
aaronpk
i gave up on hiding my email address years ago. it's not like that stops spam anyway
#
GWG
aaronpk: Exactly
#
GWG
swentel: I prefer Mark Above as Read to Mark Read As Scroll.
#
swentel
GWG, that's possible right, or what does that mean exactly?
#
crab
ok. looks like i have a valid representative h-card now.
#
crab
thanks.
#
crab
pity the <link rel=canonical class="u-url" href="…"> thing didn't work though.
#
GWG
swentel: You long press an entry, and it gives you a context menu. On the menu, an option is mark entries above this as read
#
swentel
oh like that
#
GWG
It's how I mark things as read.
[tantek] joined the channel
#
crab
so this thing of making your homepage be your representative h-card is just a convention, right?
#
crab
there's nothing preventing me from doing it on $site/h-card, say?
#
swentel
GWG, I can code that, I'll open an issue
#
swentel
GWG, I might include the current one as well, makes sense no?
#
swentel
because I don't see how to mark something read when you're at the very end of a stream
#
GWG
Yes.
#
GWG
The Mark Above Read is just how several readers do it
#
swentel
damn, should have waited for a release, this will take me like half an hour or so
#
swentel
because I have that function written for the read scroll
#
swentel
it's the same
dmitry joined the channel
#
aaronpk
what browser?
#
aaronpk
i see 12:30
#
GWG
Firefox
#
aaronpk
for some reason `date.getHours() == 0` is not true in firefox then
#
GWG
That's interesting.
#
jacky
hmm I see 12:30 PM on my firefox instance
#
aaronpk
same, firefox windows
#
GWG
Odd.
#
GWG
I need another Linux user to check
#
aaronpk
GWG: can you run this in your FF console? (new Date("2020-03-03 12:00:00")).getHours()
#
jacky
is that linux user :)
#
GWG
aaronpk: It says 12
#
GWG
Which is weird.
#
aaronpk
oh yeah the "0" was just for midnight
#
GWG
aaronpk: But somehow, it is showing 5:30PM Europe/London = 0:30PM America/New_York
#
dmitry
if you still need another linux user to check, I can
#
dmitry
GWG
#
aaronpk
it would only be a bug when the local time would show noon
#
aaronpk
so you'll need to check an event where the local time is noon, or set your timezone to eastern time and look at that event
#
swentel
GWG, so, I wonder, do you sometimes copy/paste text in the reader?
#
GWG
Not often
#
swentel
because that's what's sitting in the way a bit for the long press
#
swentel
and to be fair, I hardly use it either
#
jacky
I sometimes do that
#
jacky
because apps would force twitter to open to share stuff
#
jacky
but it's nbd tbh once I move more stuff into microsub
#
swentel
GWG, as alternative, I could make the 'Mark read' action in the menu per post behave like you want.
#
swentel
that's two more clicks of course :/
#
GWG
swentel, another option in the post menu is fine for now
#
dmitry
https://dmitry.earth/scripts/fast-focus -- that's how I've spent this weekend. It's just a draft of a prototype of a first draft, but it took surprisingly lot of time
#
dmitry
would appreciate every feedback. I want to make this section on a website looks more like terminal, use ASCII-art and such
#
swentel
GWG, ok, will be for next weekend, going to try and not code this week in the evening (working during the day already too)
[jeremycherfas] joined the channel
#
swentel
focus on the new rubik's cubes instead :)
#
@oldaily
Webmentions with WordPress for Open Pedagogy #oldaily https://www.downes.ca/post/70671 This is the text and images from a presentation at the PressEd conference held online last week. As the title suggests, the focus is the use of Webmentions.
(twitter.com/_/status/1244362919070048256)
[KevinMarks] joined the channel
dmitry and [chrisaldrich] joined the channel
#
[tantek]
What is the web we found?
#
Loqi
It looks like we don't have a page for "web we found" yet. Would you like to create it? (Or just say "web we found is ____", a sentence describing the term)
#
[tantek]
Web We Found was a talk and presentation by {{kevinmarks]] at Le Web 2013 that summarized the start of various positive trends and patterns from 2003 onward, like blogging, building on open protocols, which have grown since, many incorporated into the IndieWeb, and provides hopeful counterpoint to [[The Web We Lost]].
#
[tantek]
Web We Lost << Web We Found
#
[tantek]
Web We Found << Web We Lost
#
Loqi
ok, I added "Web We Lost" to the "See Also" section of /Web_We_Found https://indieweb.org/wiki/index.php?diff=69287&oldid=69285
KartikPrabhu, msena3[m], celso[m], OxyDiscord[m], leoalvarezhDisco, UsDiscord[m]1, tadpole256Disco4, RomaricDiscord[m, brewskiDiscord[m, [spieper], KinnardDiscord[4, kbo8999Discord[m, efnDiscord[m], nofwayyDiscord[m, emakDiscord[m], lamborghiniDisco, flower88Discord[, ArunDiscord[m], hvergaraDiscord[, realChainDiscord, virtual_vagrantD, blzDiscord[m]1, UserDiscord[m], oed3[m], simibacDiscord[m, placer141276[m], bmiller59[m], vasa[m], eddocsillDiscord, tom85[m], vexlDiscord[m], boomshroomDiscor, l^discordDiscor4, lauren|Microspon, Senshi[m], JustMaierDiscord, ShmultzDiscord[m, hubaDiscord[m], drshamoon[m], Sm03leBr00tDisco, jimpickDiscord[m, SweatDiscord[m], KirushikDiscord[, ZapierDiscord[m], carsonfarmer[m], borismusDiscord[, kppDiscord[m], gozala[m], dqxDiscord[m], kevinkDiscord[m], DiscordBridge[m4, FrenchBackBoneDi, RodolfoEDiscord[, f-r-e-dDiscord[m, cam4507[m], PamileissonDisco, vbDiscord[m], olizillaDiscord[, balupton[m], maparent[m], Nebulous[m], WesDiscord[m], raisDiscord[m], M011000100111010, ianfixesDiscord[, Elijah3321[m], SomeguyDiscord[m, buztedDiscord[m], foxcoolDiscord[4, godparticleDisco, matsugenDiscord[, ithithDiscord[m], celsoDiscord[m], fozzie[m], pvienhageDiscord, M|NecoDiscord[m] and XierumengDiscord joined the channel