#dev 2022-10-20
2022-10-20 UTC
# IWDiscordGateway <slyduda> snarfed i'm trying to setup gcloud, but i haven't done this in probably 3+ years. in your readme you say to install the CLI components, but i'm having trouble figuring out how to do this from scratch. would you be able to point me in the right direction?
# IWDiscordGateway <slyduda> im on ubuntu, i will skip for now, but if i run into issues i will let you know
# [snarfed] sure! after you follow the first set of commands in https://oauth-dropins.readthedocs.io/en/latest/#development to install dependencies, you can skip the rest of it and just try running the tests with `python -m unittest discover`
# IWDiscordGateway <slyduda> yup got it working okay! on a separate side note, are you considering working on the front-end for bridgy any time soon? if i have some time i would love to help work on it
# IWDiscordGateway <slyduda> also, now realizing, tests break if adding another layer for discovery since you'd need an additional test html string to represent the second request
# IWDiscordGateway <slyduda> i've been really loving nuxt v3 for static site generation and i could definitely try putting something together if you think that may be helpful!
# IWDiscordGateway <slyduda> nuxt is going pretty heavy on full static and stripping as much js as possible from generated pages, but i'm not trying to evangelize right now! just thought i'd ask π
# IWDiscordGateway <slyduda> not a problem at all! just really small things that can be easily tweaked with some css changes like alignment of polling buttons, spacing between responses, and some other super minor things. i could definitely make a PR with just some css if you'd like to keep it super minimal!
# IWDiscordGateway <slyduda> finished up the changes, will update PR tomorrow!
mro, gRegorLove_, barnaby and jacky joined the channel
jacky and geoffo joined the channel
# jacky one thing I do kind of like in both AS and https://atproto.com/specs/xrpc is the use of a schema for calls
jacky joined the channel
# [tantek] [snarfed]++ for We're Drowning. I'm with the "Libraries are bloated and you probably only need a small subset of the functionality, so write your own code has become my mantra." person on https://news.ycombinator.com/item?id=33269443
jacky joined the channel
# @one_anachronism @kevinmarks @majelbstoat Hey Kevin, I recently built @medium_api to solve this exact problem. Why don't you give it a try π π https://mediumapi.com (twitter.com/_/status/1583111416239689728)
jacky joined the channel
# [snarfed] unrelated, I love the internet π https://snarfed.org/2022-03-10_were-drowning-software-dependencies#beans
jacky joined the channel
# Saphire ...still need to make a blog
# superkuh It's future shock. The underlying libs change so fast the only way to manage it is to completely abandon the idea of an operating system and re-implement everything in giant stacks of monolithic containers.
# superkuh Rather that using the OS's libwhatever on disk.
# superkuh Taken to the extreme you get something like nix.
# superkuh Where every single application requires you to set up an entirely new custom "environment".
# Saphire sknebel: foone keeps screaming about the onslaught of HN bots...
# Saphire ...and how people keep posting their threads out there
# [snarfed] and whole articles π’ eg https://simpleenews.qblnet.us/2022/10/20/were-drowning/
# Saphire It is year uhhh, two of me grumbling I should make a blog x'3
# Saphire Hm
# superkuh The only interruption to my static site's ~20 year lifetime was when the FBI stole all my computers in 2011 (wikileaks shit) and I had to try to rebuild from the archive.org waybackmachine.
# superkuh They actually gave me back my computers finally just this spring.
# [tantek] Saphire, starting with small steps is definitely workable. From my experience, once I was able to figure out a /URL_design that was "good enough" for me, writing up static pages for that went fairly quickly, hence I encourage that path
# Saphire puts down ASP.NET
# Saphire Awh
# Saphire barnaby: .NET 5 and onwards is crossplatform and actively updated
# Saphire [tantek]: oh nah, I have passed THAT point long ago and know how to whack an ASP.NET basic server out rather quickly, and make it serve static assets (just.. throw them into a folder)
# Saphire ...helps they have `dotnet new web` thing and you get all the basic setup for free
# Saphire Well
# Saphire I have a few tools with dotnet in general
# Saphire It's been pretty nicely active after MS open sourced net core
# Saphire I uhhhh
# Saphire Well, there's https://github.com/SaphireLattice/quest-reader but it is not ASP.NET
# superkuh still uses perl, but in a weird, out of band way not integrated or dependent on the webserver.
# Saphire ...though it does use a part of ASP.NET, namely the template generator thing
# superkuh btw, does anyone have a link to that comedy chart some guy made of blog posts versus blog posts about the blog tools?
# Saphire I was lazy, I knew ASP.NET, and did not want to figure out any other way to get: templating, HTML parsing and good type system
# Saphire ..Rust is an option but THAT is very prone to what [tantek] mentioned, yak shaving and setting everything up for ages as you try to find "the best lib for that" >_>
# Saphire I did end up discovering that there's no quick HTML parser in ASP.NET, only XML... That or I have not found it thanks to the enormous amount of outdated stuff about it >_>
# Saphire jacky: I guess a quick and dirty HTTP server option is close enough of a "replacement"
# Saphire Though it has to be secure enough (path traversal, at least)
jacky and [fluffy] joined the channel
[jgmac1106] joined the channel
# IWDiscordGateway <slyduda> to add to the convo, iβm here cuz of jacky and his site and now iβm currently trying to build a static site builder with webmentions out of the box π
# Saphire Hm
# Saphire ...my site critically lacks a space for like, "extra" info
jacky joined the channel
# IWDiscordGateway <slyduda> yeyeye iβll switch over to matrix soon. wanted to hop in here quick last night to talked to snarfed about a bridgy PR
jacky and [tw2113_Slack_] joined the channel
jacky joined the channel
EncryptedGiraffe joined the channel
# angelo to clarify (i am not a lawyer).. the practical options in the BSD family are the 3-clause, 2-clause and 0BSD. the two clauses shared by both licenses involve simple attribution. the third clause involves safety of contributors. 0 is public-domain-equivalent. otherwise the license texts are all written in a similar style.
tbbrown joined the channel
jacky joined the channel
jacky joined the channel
# Saphire Wonder if I could poke at the "atproto", hmm
jacky joined the channel
# Saphire Oh yeah, I have no clue what THAT is about
# Saphire The specs ARE here, if rather incomplete
# Saphire [tantek]: the actual thing seems to be https://github.com/bluesky-social/atproto here?
# Saphire I guess, shrug
# jacky yeah because the code for the impl that's still been fleshed out is here https://github.com/bluesky-social/atproto
# Loqi It looks like we don't have a page for "block protocol" yet. Would you like to create it? (Or just say "block protocol is ____", a sentence describing the term)
# barnaby block protocol is https://blockprotocol.org/
# Saphire ...lmao
# Saphire barnaby: that looks... both neat but also confusing. Like, is this just yet another "semantic web" piece thing?
# Saphire Oh derp, it was shared by them, not you
# Saphire barnaby: and actually USING those seems to be "contact sales"
# Saphire Like, don't build your open thing, allow people to contribute INTO it
# Saphire But then gate actually consuming it behind "email us!"
# Saphire [tantek]: semantic web is a neat idea, but uh
# Saphire what is standards
# Loqi Specifications (or standards) are technical documentation for communicating between two or more implementations in an interoperable way; for the indieweb in particular, standards help reach greater levels IndieMark user functionality to publish, express meaning, notify, subscribe, and many other user actions https://indieweb.org/standards
# Saphire I am disappointed this has no XKCD on it
# Saphire ...close enough
# Saphire what is xkcd standards
# Loqi It looks like we don't have a page for "xkcd standards" yet. Would you like to create it? (Or just say "xkcd standards is ____", a sentence describing the term)
# Saphire ...aw
# jacky has been lurking in the archives and found this nugget https://chat.indieweb.org/dev/2018-11-16#t1542411333071900
slydud joined the channel
# [tantek] here you go barnaby, read starting here: https://chat.indieweb.org/microformats/2022-01-30#t1643503776668700
# Saphire what is first name
# Loqi It looks like we don't have a page for "first name" yet. Would you like to create it? (Or just say "first name is ____", a sentence describing the term)
# Saphire What is name
# Loqi A name can be an important part of one's online identity and can be almost anything one chooses to represent themselves https://indieweb.org/name
# Saphire capjamesg: oh, would like a list
# Saphire Sadly I have found that you need opengraph AND twitter tags to properly have embedding for everything
# Saphire Because some stuff uses one, other the other
# Saphire Some uses both, but exclusively, without mixing? Shrug
# Saphire I don't remember which set of them discord and telegram use, but I think it was different for both?
# [tantek] first name is an archaic Western-centric term for a personβs given name that is still used in numerous coding examples and even supposed β[https://chat.indieweb.org/microformats/2022-01-30#t1643503776668700 protocols]β; please avoid using any notion or label of βfirst nameβ in code or UIs, and instead use βgiven nameβ which has been in [[vCard]] since the 1990s.
# [tantek] yessss FOAF made this same mistake: https://tantek.com/2015/079/b1/dublin-core-application-profiles#firstName
# Saphire Oh hm
# Loqi ok, I added "https://tantek.com/2015/079/b1/dublin-core-application-profiles#firstName" to a brand new "See Also" section of /first_name https://indieweb.org/wiki/index.php?diff=83928&oldid=83927
# Saphire What is rel
# Loqi rel is an HTML attribute that has a space separated set of values defined by the rel registry used in the IndieWeb for various discovery purposes such as identity (rel-me), authorship (rel-author), Webmention endpoint, Micropub endpoint, IndieAuth endpoints, etc https://indieweb.org/rel
jacky joined the channel
# [aciccarello] I didn't think about other implementations of og/twitter meta tag parsing.
# [aciccarello] Theoretically you should be able to mix them
# Saphire capjamesg: you have black graph on dark blue ^^"
# capjamesg It's generated by https://github.com/capjamesg/mediawiki-sparkline-generator
# Saphire Ahh
# Saphire Could also use filter?
# Saphire Hm
# Saphire Does the site pick up light/dark from browser reported CSS media?
# Saphire Also, dark mode has a MUCH more noticeable border around the body compared to the light ^^"
# Saphire capjamesg: a much more "universal" and a bit lazy solution is to throw in a background when in dark mode
# [tantek] new blogging authoring feature idea: when you open your blog post creation UI in the morning, it flips a coin and sets your blog in a light mode or a dark mode, and prompts you with "You woke up and chose constructive/destructive this morning", and then helps you write something positive or something critical
# Saphire Er? o:
# capjamesg And I made it into a GitHub repo this morning! https://github.com/capjamesg/darkmode.js
# capjamesg https://github.com/capjamesg/darkmode.js#getting-started explains how it works.
# Saphire Mmmh
# Saphire I highly recommend not storing a manual preference unless actually clicked
# Saphire And use browser one until then
jacky joined the channel
# Saphire And oh whoa, hovercards
# Saphire Ah hm
# Saphire Reading it ^^
# Saphire Was confused by it not triggering theme change on me poking in dev tools
# Saphire Oh dear
# Saphire I found a "fun" bug
# Saphire Open this in darkk mode: https://jamesg.blog/#main
# Saphire Gah need to fix the keyboard
# capjamesg You can use that syntax to link to any paragraph: https://jamesg.blog/#pronouns
[timothy_chambe] joined the channel
# Saphire Fragmentions sound like someone getting fragged via a mention... or frags that mention people
# [KevinMarks] No, don't use ##, pick a longer fragment
# Saphire ###
# Saphire Though using #### might be inappropriate in public
# [tantek] jacky, regarding authoring UIs, I blogged this a little while ago that you might also find interesting: https://tantek.com/2020/037/b2/local-first-undo-redo-create-edit-publish
# Saphire JS-Optional is.. difficult, unless that means "it can be a <form> with a textbox"?
# [KevinMarks] I think id or name should win over text if they exist
jacky joined the channel