#dev 2018-06-17

2018-06-17 UTC
snarfed joined the channel; gRegorLove left the channel
#
aaronpk
Oh good question
#
Loqi
aaronpk: [eddie] left you a message 2 hours, 34 minutes ago: I’m working hard on trying to get Indigenous out in time for IWS. I know for SURE I’ll at least have a “Pre-Order” button with a page with screenshots done, but I’m still trying to get the full thing ready for download before. Just to help me set my own expectations, do you think Aperture will/would be able to have a public opening by then, or does that not look possible anymore? That will help influence my choices of wh
#
aaronpk
[eddie] tell you what, I'll give that a shot tomorrow, I'd enjoy spending a day on a coding project anyway. If I can't get the functional bits done tomorrow then I probably won't have any more time anyway
Retsuko, renem, KartikPrabhu, eli_oat and [eddie] joined the channel
#
[eddie]
!tell aaronpk sounds good 👌
#
Loqi
Ok, I'll tell them that when I see them next
#
aaronpk
now I have a fun project for the morning
#
[eddie]
Haha that’s always nice to have 😁
tantek__, snarfed, ben_thatmustbeme, tantek, [mrkrndvs], barpthewire, renem and jeremych_ joined the channel
#
jeremycherfas
Good morning IndieWeb I reckon I will mostly be in this channel today.
davy__ joined the channel
#
davy__
Hey, I have a quick question. How do you do paginating? The posts on my website are loaded with php, so I just set something up where it only puts eight posts per page, and if there're more then that I put a little radio form at the bottom of the page for page selection. I also have a "Load all pages" button. Is there a way to make this more parser friendly, or is it ok as it is?
#
davy__
The radio form uses GET as it's method: so when you click "2" it reloads the page with "?page=2" in the url. The page knows to load the second eight posts, then.
#
davy__
Here it is in action: https://davy.tyrrell.co/
tomasparks, iasai, [mrkrndvs] and [kevinmarks] joined the channel
#
jeremycherfas
!tell zegnat Some time ago you recommended a tool for visualising git branches etc. I failed to make a note of it. Can you please remind me?
#
Loqi
Ok, I'll tell them that when I see them next
#
Zegnat
jeremycherfas, I use http://gitup.co/, so that’s probably what I showed you
#
Loqi
Zegnat: jeremycherfas left you a message 22 minutes ago: Some time ago you recommended a tool for visualising git branches etc. I failed to make a note of it. Can you please remind me?
#
Zegnat
davy__, I don’t think any search engine or other crawler is going to submit forms, so that pagination is probably completely inaccessible tot hem
#
Zegnat
I’d recommend just using normal links for the pages. Shouldn’t really be harder to generate than a form. Some ideas for designs: http://cweiske.de/tagebuch/pager.htm
#
Loqi
[Christian Weiske] A good pager
#
jeremycherfas
Thanks zegnat; that's it!
#
jeremycherfas
And I got my little chunk of dgold's nanopub writing to the correct place with $_SERVER['DOCUMENT_ROOT'] in the end.
#
Zegnat
Nice!
#
dgold
oh, excellent, good to hear, jeremycherfas
deathrow1 joined the channel
#
jeremycherfas
Many more miles to go.
[grantcodes] joined the channel
#
[grantcodes]
!tell [cleverdevil] As in the auth redirect? I'm not surprised it opens up safari but then it should either reopen the pwa on redirect. Or redirect back to together in safari but store stuff in localstorage so the pwa would work after that
#
Loqi
Ok, I'll tell them that when I see them next
#
[grantcodes]
Can confirm it still works as expected on Android
#
davy__
Zegnat, yes, that sounds sensible, thank you. I'll try figure out away of doing it with regular links.
iasai and sketchess joined the channel
#
sketchess
good morning tech corner
#
jeremycherfas
Good morning sketchess
#
sketchess
Productive day today, jeremycherfas?
#
jeremycherfas
Yes! Just writing it up. After a disastrous yesterday. Well, lots of learning, so not a disaster. But not productive.
#
sketchess
Yeah, puzzle solving is not ever easy. Making slow pogress myself.
#
sketchess
My final conclusion: I have to learn, how to draw with CSS. The rest are basic tags, so that shouldn't be any trouble.
snarfed joined the channel
#
jeremycherfas
Kevinmarks (i think) linked to something interesting about turning sketches into CSS, Or using CSS to make sketchy things.
#
sketchess
Pure CSS used?
#
jeremycherfas
Can't honestly remember, as it was something I just glanced at.
#
sketchess
And the skill level required would be informative, too.
#
sketchess
Ah, I see.
#
jeremycherfas
Interesting enough to remember, not useful enough to me to do more than that.
#
sketchess
I reckon that I will have to search through several tutorials to find something that suits my needs.
#
sketchess
or the one of all tutorials....
#
sketchess
Well, Pia is worth it.
[kevinmarks] joined the channel
#
sketchess
Yep. She is my assistent I am currently working on.
#
[kevinmarks]
Depends what you are drawing. If it's boxes inside each other, css grid or flex box are easier now. If it's more complex shapes , svg is a better tool
#
sketchess
As you said Kevin, it depends on. Currently I believe CSS would be the better option. But who knows, time will tell.
#
sketchess
Possible that I could end up with a combination of both.
#
sketchess
It's just a smal squared area anyway.
#
sketchess
+l
#
sketchess
I go with simple as possible.
#
sketchess
Designing her voice will be a tuffer part, I believe.^^
#
aaronpk
!tell cleverdevil,grantcodes how sad will you be if I delete a bunch of your old data from Aperture? I'm prepping for launch and planning on only holding on to the last 7 days of posts
#
Loqi
Ok, I'll tell them that when I see them next
snarfed joined the channel
#
jeremycherfas
!tell chrisaldrich I noticed that Telegraph was unable to send a webmention from https://www.jeremycherfas.net/blog/this-is-my-indieweb to https://boffosocko.com/2018/06/15/defining-the-indieweb/ Error is 401 "The webmention endpoint did not return a status URL"
#
Loqi
Ok, I'll tell them that when I see them next
#
jeremycherfas
Sent again and this time it worked.
#
Zegnat
Learning lots of new things today for a little thing I would like to demo at IWS. Learning new things is fun, but always so slow going
#
jeremycherfas
Amen to that ^.
#
sketchess
xD
#
sketchess
Have a nice day everyone.
#
sketchess
bye
#
Zegnat
Have a good one sketchess
[cleverdevil] joined the channel
#
[cleverdevil]
Delete away, [aaronpk] !
#
Loqi
[cleverdevil]: aaronpk left you a message 50 minutes ago: how sad will you be if I delete a bunch of your old data from Aperture? I'm prepping for launch and planning on only holding on to the last 7 days of posts
snarfed joined the channel
#
petermolnar
seems like I broke my no-js attitude; I added a style switched and a self hosted analytics. None of those will work for Zegnat obviously, but I'm curious if there is a way to trigger a stylesheet change without JS.
#
petermolnar
the current one switched media=none to media=all on an extra stylesheet that overrules previous definitons
#
snarfed
morning all!
#
Zegnat
petermolnar, don’t think that is possible without JS.
#
aaronpk
[eddie] looks like I got most of what I needed to get done for Aperture, so I'm optimistic about opening up signups
#
aaronpk
I need to test it with a copy of the live site data first, and then work on some home page copy to explain a bit more about what it is
#
GWG
I am reading through my issues to see what I can close easily
[kevinmarks], snarfed and barpthewire joined the channel
#
dgold
aaronpk: oooh! I'd love an option to restrict my apertureDb to 7 days
#
aaronpk
Oh yea?
#
dgold
it would be super... (please don't say you already did this in a recent release and I missed the announce)
#
aaronpk
I just finished writing essentially a cleanup task that you can run on a cron job that deletes everything older than the threshold
#
dgold
hurrah!
#
aaronpk
I made it so each user account can set the threshold differently
#
aaronpk
Or disable it to keep everything forever
#
aaronpk
I might also add it per channel but that's gonna be a lot more UI work so I'll punt on that for now
#
dgold
that sounds eminently wise
#
davy__
petermolnar how do you feel about php? You could change the stylesheet with a form button.
#
davy__
I'm quite fond of php because it means the end product which is landing in the users browser is still just straightforward html/css
#
petermolnar
davy__: that's not a bad idea, although I'm trying to keep the site static
#
petermolnar
unfortunately I already have a php fallback
#
petermolnar
which handles 410 and some "clever" - aka legacy - redirects
#
petermolnar
410 as in gone content
#
petermolnar
also, my css in inlined
#
petermolnar
on the other hand, I could set a cookie with the php, remember the sent form setting and serve the css, but I think that onclick + 5 lines inline JS is ok for this functionality.
#
davy__
Yeah, You're probably grand doing that. I've broken my own no-js rule and I had to downgrade it to "no-vital-js".
#
davy__
So long as someone without javascript enabled can still use the site easily, I'm happy.
KartikPrabhu joined the channel
#
petermolnar
the change colour schema certainly falls under the definitely not vital feature
#
petermolnar
and again, it's inline js
[kevinmarks] joined the channel
#
KartikPrabhu
petermolnar: the new CSS custom properties are great for theme changing https://developer.mozilla.org/en-US/docs/Web/CSS/--*
#
Zegnat
Those still depend on being able to somehow switch the values out though.
#
petermolnar
experimental mozilla, that's way too new for my taste
#
KartikPrabhu
Zegnat: yes it does use JS to swtich out the values
#
petermolnar
in that case, there's no win there compared to my approach
#
KartikPrabhu
petermolnar: it is not mozilla specific. but yes those are very new CSS things
#
Zegnat
I’ve used them, in combination with http://cssnext.io/ to generate normal CSS.
#
KartikPrabhu
petermolnar: the "win" is that you only need to change values in one place
#
Zegnat
Makes it easy to stick to a colour scheme
#
Zegnat
I specifically used that syntax and not some less/sass CSS features, because this may become actual browser-supported CSS.
#
KartikPrabhu
Zegnat: less/sass stuff is still useful if you don't need to dynamically change the theme
#
petermolnar
I've not made up my stand on css vars yet
#
petermolnar
part of me likes templating and vars
#
petermolnar
another parts screams to keep css static
#
KartikPrabhu
the point is with custom properties you can do both
#
Zegnat
KartikPrabhu, sure, but a lot of the things I actually want (nested declarations, variables) are supported by cssnext.io in a way that matches actual CSS specs (e.g. https://tabatkins.github.io/specs/css-nesting/ for nested declarations)
#
KartikPrabhu
if you decide to remove the JS theme changing the rest will still work
#
Loqi
[Tab Atkins] CSS Nesting Module Level 3
#
KartikPrabhu
Zegnat: sure I am not saying one is the superior method. You use what works for you :)
j12t, gRegorLove, leg, davy__ and j12t_ joined the channel
#
schmarty
eddie++ and a dozen more +1s for Indigenous login fully resolving "mmg.re" to "https://martymcgui.re/" !!
#
Loqi
eddie has 34 karma in this channel (59 overall)
#
petermolnar.net
edited /500px (+776) "adding api lockdown"
(view diff)
KartikPrabhu and davy__ joined the channel
#
Loqi
[jfmcbrayer] brutaldon: A brutalist web interface for Mastodon
KartikPrabhu joined the channel
#
petermolnar
ugly != brutalist
[jgmac1106] joined the channel
#
petermolnar
brutalism is not, in any form, simple, or ugly, despite what people think about it
#
petermolnar
I find brutalist architecture very interesting and surprisingly futureproof
#
petermolnar
although the material itself - concrete - is not that good with time
#
Zegnat
I am not sure it is meant to be ugly, rather, it is meant to work in things like Lynx.
#
Zegnat
But I agree
#
KartikPrabhu
you only need nice HTML markup to work in Lynx afaik
[sebsel] joined the channel
#
martymcgui.re
edited /Special:Log/patrol () "marked revision 48636 of [[Wordpress IndieAuth Plugin]] patrolled"
(view diff)
#
schmarty
ugh, i mis-clicked on that page and now i don't know how to *un*-patrol the page. :/
#
schmarty
i guess i don't need to? i don't think i understood the feature but i guess it just means that somebody w/ proper access level looked at and approved a given change.
#
GWG
I'm curious. What is the opposite of a salmention?
#
KartikPrabhu
GWG: what do you mean "opposite" ?
#
GWG
Downstream as opposed to upstream?
#
KartikPrabhu
what's the use-case for that?
#
GWG
Both chrisaldrich and I public the same podcast
#
KartikPrabhu
not sure how that is "dowstream"
#
GWG
We want to share mentions
#
KartikPrabhu
so the podcast does not have a canonical URL
#
GWG
We decided mine was
#
KartikPrabhu
sure. but how would anyone sending mentions know that
#
GWG
That's what I'm pondering
#
KartikPrabhu
also if someone is sending mention to chris' URL then it would be misleading for those to show up at your URL
#
GWG
Even if his is a repost?
#
KartikPrabhu
if it is a repost then it is a salmention
tantek__ and [jgmac1106] joined the channel
#
[jgmac1106]
Need a podcast player with native webmentions. I will probably never go back to the url now that I subscribe in my player
#
Loqi
[jgmac1106]: gRegorLove left you a message 1 day, 3 hours ago: indiebookclub has an option for DOI Name now. Try it out and let me know what you think.
#
KartikPrabhu
sounds like a job for /reader