#dev 2021-07-20

2021-07-20 UTC
#
[tantek]
folks looking at alternatives to HTML (what was the thing that started with G that wasn't Gopher? Gemini?), I think Hixie's post on "replacing HTML" is quite good: http://ln.hixie.ch/?start=1344621190&count=1
#
aaronpk
omg 9 years ago
#
aaronpk
also lol the semantic web made it to that list of failed attempts
#
[tantek]
we passed the 10 year anniversary of the first IndieWebCamp
#
aaronpk
i am sad we were not able to celebrate that in person
#
[tantek]
speaking of "years ago". though that's more #indieweb-meta 🙂
#
[tantek]
same, perhaps like our principles, we do it at 11
#
GWG
aaronpk, [tantek]: I'm sad too
Seirdy, jeremycherfas, wagle, capjamesg and hendursa1 joined the channel
#
Loqi
Ok, I'll tell them that when I see them next
#
petermolnar
!tell capjamesg regarding your search implementation, first of all: nice work. The only thing I'd like to add is that the reason why my search frontend is PHP is because PHP is significantly more omnipresent, and thus easier to deploy, than a full-on flask app. Here: https://github.com/petermolnar/petermolnar.net/blob/master/search.php
#
petermolnar
the xml part is for opensearch, the json for wordpress search compatibility - I don't remember why I did this though
#
capjamesg
petermolnar This is the second piece of feedback I have got on the article and it's only been out for a few hours :D
#
Loqi
capjamesg: petermolnar left you a message 3 minutes ago: regarding your search implementation, first of all: nice work. The only thing I'd like to add is that the reason why my search frontend is PHP is because PHP is significantly more omnipresent, and thus easier to deploy, than a full-on flask app. Here: https://github.com/petermolnar/petermolnar.net/blob/master/search.php
#
capjamesg
More information will be available in subsequent blog posts. To be honest, I have taken it too far in some regards: robots.txt directives are now followed even though I am just indexing my site :)
#
capjamesg
I have worked a lot with Flask and so it wasn't too much of a problem to set up.
#
capjamesg
And, admittedly, I haven't done anything with PHP so I didn't even consider that option.
#
capjamesg
But that's interesting.
#
petermolnar
oldschool PHP is essentially on the fly templated HTML
#
petermolnar
so if a server has php - eg. apache mod_php, or nginx with php-fpm - you can essentially upload a .php and it'll just work(tm)
shoesNsocks1 joined the channel
#
capjamesg
Ah, that's interesting. I shall have to do further research.
#
capjamesg
jinja2, the templating engine I am using (and the one commonly used with Flask), is really intuitive. The syntax resembles that of Jekyll in many ways, which is nice.
#
capjamesg
But if there's a way to serve content without the server component that might save on quite a bit of code.
#
petermolnar
jinja2 is nice; the php equivalent is twig.
#
petermolnar
that said, php is in itself a templating engine; or at least it used to be
#
petermolnar
one was able to write html, and occasionally insert <?php domagic(); ?> into any portion of the html, save it as .php, and magic happened
#
petermolnar
see the bottom of that search.php
#
petermolnar
I have to admit, I don't know if this approach still works with php8.
[tantek] joined the channel
#
[tantek]
"upload a .php and it'll just work(tm)" is quite compelling
#
[tantek]
and also, paraphrasing what petermolnar wrote, take your .html file, rename it .php and it "just works" to start with is also compelling
#
petermolnar
fair point :)
#
[tantek]
federatedsocialweb(.)net was "lost" as of a certain date. and its possible to use archive.org links which use a specific date and then it finds the closest one (I don't know if it looks older or newer by default, can test it though)
#
petermolnar
try that timemap link
#
[tantek]
the thing about building this kind of table at a domain granularity is that it could likely be shared
#
petermolnar
see what it returns
#
[tantek]
I got a "application/link-format" file in return ?
#
[tantek]
when I tried the https version
#
petermolnar
open it with text editor
#
[tantek]
in the http version I got: "To see this content, confirm you're over 18 / To protect our younger users, we block 18+ content on mobile devices by default"
#
petermolnar
that's unexpected
#
petermolnar
related: I have a json map for cameras and lens, because if some EXIF data is present, like manually set focal length, I can guess the lens based on the timeframe I owned them, but in order to do so I need the date of purchase and the date of selling them.
#
petermolnar
I believe you'd want something similar: a domain map which has a cutoff date, when the domain went dead, and if the link is from before that, try replace it with archive.org based on the memento list and a close-enough date hit to the pubdate of your entry
#
[tantek]
ooh that's quite the "simple" API with comma delimited results
#
petermolnar
it's an absolutely disgusting API imo :D but also extremely useful
#
[tantek]
for federatedsocialweb in particular, it looks like it was migrated to https://www.w3.org/2005/Incubator/federatedsocialweb/wiki/ which is still up (and w3.org can be expected to stay up at least as long as MIT is around)
#
Loqi
IndieWebCamp 2013
#
[tantek]
I'm interested in opinions on the general strategy of having a redirect table of domains to places they "ended up" whether static on archive.org or some other domain / host that is maintaining the former site
#
[tantek]
I'm going to start at least capturing this information as a redirects on the wiki for sites relevant to indieweb
[KevinMarks] joined the channel
#
[KevinMarks]
I did fiddle with the archive API in mention.tech but I didn't look by date
#
petermolnar
the reason I used the timemap/memento because I was looking for first mementos for my own site
#
[KevinMarks]
I was experimenting with this around the time of the 1st dweb summit https://svgshare.com/dweb
rockorager joined the channel
#
[tantek]
[KevinMarks] I looked at the Flutter vector format thing. Their excuses for not using SVG are kinda weak: https://docs.google.com/document/d/1YWffrlc6ZqRwfIiR1qwp1AOkS9JyA_lEURI8p5PsZlg/edit#
#
[tantek]
After reading that, I would conclude: then make your own version of SVG Tiny which has the exact subset you want! Call it SVG Small or something
#
[tantek]
That way you can strictly define it, AND get instant support across existing browsers etc.
#
[tantek]
I mean heck Kevin, since you're deep enough into SVG, *you* could write up a subset of SVG that apparently fits the Flutter vector format constraints, and then publish it as a "modest proposal" 🙂
#
[KevinMarks]
That was my thought too - call it an SVG profile.
#
@CodingPotions
↩️ Te lanzo sugerencia Meter cosillas de IndieWeb como RSS, webmentions, etc, es un movimiento que me gusta mucho y tengo pendiente de implementar en mi blog. https://indieweb.org/ @ant_laguna tiene un tutorial, pero es para 11ty. https://antonio.laguna.es/posts/usando-webmentions-en-eleventy/
(twitter.com/_/status/1417453265835462657)
#
[tantek]
petermolnar, could you add a short sentence or two about the timemap/memento thing/URL/API to https://indieweb.org/Internet_Archive ?
#
[tantek]
seems worth capturing for the use-case with the proposed solution you stated
rockorager joined the channel
#
capjamesg
Anyone use OwnCloud?
#
capjamesg
What is owncloud?
#
Loqi
ownCloud is an open source software project for self-hosted personal web services including a file manager (an indie version of Dropbox), music, calendar (CalDAV), contacts (CardDAV), and more https://indieweb.org/owncloud
#
capjamesg
What is nextcloud?
#
Loqi
Nextcloud is an open source software project for self-hosted personal web services including a file manager (an indie version of Dropbox), music, calendar (CalDAV), contacts (CardDAV), and more https://indieweb.org/Nextcloud
#
GWG
Use it for what specifically?
#
GWG
I have an installation I use for storing files
#
capjamesg
An itch I have mentioned a few times (although not directly) is that I need a better way to store my photos.
#
capjamesg
I have them backed up in iCloud but I feel an additional, physical backup is a good idea.
#
capjamesg
(if I get locked out of my account for whatever reason, I'd lose hundreds if not thousands of photos since my last manual backup)
rockorager joined the channel
#
capjamesg
I was thinking about a Pi nextcloud server for photo syncing.
#
[tantek]
I feel like for "an additional backup" you want something *simple*, not something that requires updating yet another external piece of OSS
#
[tantek]
like back them up as files
#
[tantek]
if they're in an iOS device, use Image Capture to periodically download them to a folder
#
[tantek]
then use whatever filesystem based things you use for backing up to back up that folder
#
capjamesg
Yeah. I'm on Ubuntu so I can't do that :)
#
[tantek]
you have no Macs whatsoever?
#
capjamesg
If there's an easier solution to a server, I'm all ears.
#
capjamesg
I have a ~6-7 year old Mac that will barely turn on (disconnect the power and it immediately shuts down).
#
[tantek]
the hard part is getting them off your iOS device, not the "solution to a server" part
#
capjamesg
Yeah, exactly.
#
[tantek]
hah I have a couple of Mac laptops like that where they only run (for more than a few seconds) with the power plugged in
#
GWG
I use Nextcloud's Instant Upload to backup the photos on my phone... unfortunately... I keep forgetting to move them to photo storage. My Nextcloud instance has 21gb of photos now
#
GWG
That's just 2 years
#
[tantek]
^ yeah that's part of the problem of using yet another "cloud"
#
GWG
[tantek]: The cloud is in my living room
#
capjamesg
The ideal solution is something that just works.
#
vikanezrimaya
I wish I could back up photos to my website. Have a private gallery at my media endpoint that allows to quickly attach a photo to a new post via Micropub client querying the media endpoint for recent uploads (an idea that's been floating around for a while)
#
vikanezrimaya
I think my new media endpoint needs to be designed specifically around that workflow.
#
vikanezrimaya
I should research how access control works in MinIO and S3 to see how can I protect links besides the obvious "let the media endpoint proxy everything"
#
vikanezrimaya
Or maybe it is the best approach?
hendursaga joined the channel
#
petermolnar
Next/owncloud is a crappy photo album, but if you use the whole shebang, it's ok - eg cal/contact sync. For photo only, I'd check other solutions as well, like https://lychee.electerious.com/
#
petermolnar
I use nextcloud to share things worh family without needing to manually fiddle with htaccess, plus cal, contact, etc sync, but it's SLOW. Although that could be because I made it index a few hundred gigabytes of photos :)
#
vikanezrimaya
I also wonder if I could make a calendar from an h-feed of h-events and RSVPs - some private, some public
#
vikanezrimaya
Oh, maybe if I make an rsvp, do a repost of an h-event into an event h-feed!!!
#
petermolnar
One day I'll make an obscene static generator uses maildir, ical, carddav as source.
#
vikanezrimaya
Why maildir?
#
vikanezrimaya
What would be extracted from it?
#
vikanezrimaya
Plane tickets?
#
vikanezrimaya
Oh right, we don't fly around anymore
#
aaronpk
what is Flutter?
#
Loqi
It looks like we don't have a page for "Flutter" yet. Would you like to create it? (Or just say "Flutter is ____", a sentence describing the term)
#
aaronpk
I use NextCloud for syncing my iOS contacts and for sharing files with people
#
aaronpk
but I kept running into issues trying to use it as a dropbox replacement
#
aaronpk
and their iOS photo upload thing kept failing too, like most of them
#
aaronpk
ages ago the Dropbox app was super solid at syncing my iOS photos out of the phone, but Apple changed the APIs available for that and it got less reliable
#
capjamesg
aaronpk what are you using now?
#
[tantek]
I'd say use the old Mac that requires power to get them off your iOS device and into a local file system, then copy from there to your "physical backup"
#
[tantek]
such old Macs are good for such purposes, and printing to old printers which have drivers that are no longer updated for new OSs
#
vikanezrimaya
Ugh, printers!
#
aaronpk
+1 for filesystem backups. I don't have a good workflow for my iOS photos yet, but my camera photos live in date folders on a hard drive now
#
aaronpk
for file syncing I've been pretty happy with SyncThing for a few years now
#
petermolnar
Syncthing is beautiful
#
aaronpk
Ive been thinking about writing a web app to index the photos on the filesystem but treating it as just an index and nicer way to browse, where the files are always the canonical version
#
petermolnar
If I had the patience to move from dovecot to cyrus, then I wouldn't need an extra card/cal server. Maybe one day.
#
petermolnar
aaronpk: see lychee, it's close to that.
#
aaronpk
I've looked into it a couple times, probably due for another look
[grantcodes] joined the channel
#
[grantcodes]
I've started using nextcloud for upload + photoprism for managing them and seems pretty good so far
capjamesg joined the channel
#
aaronpk
interesting, i hadn't heard of photoprism before
#
aaronpk
ugh docker tho
#
aaronpk
it does tick all the boxes tho
#
capjamesg
This looks promising.
#
capjamesg
One thing I'd love to do is use TensorFlow to classify images on my blog.
#
capjamesg
I already use alt text but I'd love to do this.
#
capjamesg
Downside: I have never sued Tensorflow :)
#
capjamesg
(this idea came from the photoprism homepage)
#
sknebel
fastmails jsonification of PIM standards continues?
#
capjamesg
"The warning was contained in a recently published page offering "top tips for a strong, reliable connection this summer"."
#
aaronpk
that seems potentially useful outside of this particular format
alex11 joined the channel
#
Loqi
[KipourosV] #94 No docker deployment?
#
Loqi
[KipourosV] Thanx for all the help... The more I dig into this the more deploying a docker vm seems a better idea...
#
sknebel
just type what the dockerfile says in a shell :P
#
sknebel
(not quite, I know... but people forget that you can *look at* what the docker setup is doing)
angelo and [tantek] joined the channel
#
[tantek]
aaronpk wow so jCal was DOA and thus a couple of Fastmail folks wrote up jCalendar? I mean, unless there's actual commitment from Apple or Google or some other big vendor to also support it in addition to iCal, I'm not sure this will go anywhere
#
sknebel
I'm guessing this "fell out" of their JMAP work, their email API where my impression is they're at least partially going by "we need an API for this anyways, lets develop it in the open and see if people pick it up" (https://jmap.io/index.html)
#
sknebel
e.g. that jcalendar update syntax is basically what they do in JMAP
#
sknebel
(with some but not overwhelming uptake by other projects)
#
[tantek]
that sounds reasonable tbh
#
[tantek]
so even if no one else uses it, at least it's out there in the open
#
[tantek]
or rather, even if it doesn't get "massive uptake"
#
[tantek]
might be worth looking at to see how they solved some of the ambiguities of iCal, and then making the same decisions in h-event
capjamesg joined the channel
#
GWG
[tantek]: Maybe we could work on that before the pop-up
#
[tantek]
GWG, maybe? I think the process issues are the key blockers
#
[tantek]
if you think it's important, please capture it as an h-event GitHub issue/proposal that way it'll at least be in the queue
#
GWG
I think everything is important... but we all compromise
#
[tantek]
Hmm, if everything is important, then nothing is actually important in practice
[snarfed] joined the channel
#
[snarfed]
tantek++
#
Loqi
tantek has 19 karma in this channel over the last year (51 in all channels)
#
GWG
[tantek]: Prioritization is hard
#
[tantek]
also true!
#
[snarfed]
and important 😆
#
GWG
My dreams well outreach my time
[tw2113_Slack_], [arush], alex11 and samwilson joined the channel