snarfed, jgmac1106, [jgmac1106], [manton] and [tantek] joined the channel
#jackyjamietanna|wwwjv: that'd require a bit more plumbing
#jackyand that's something I've wanted for some time tbh
[manton], cambridgeport90, [tantek], snarfed, [Rose], KartikPrabhu, [frank], ingoogni and gRegorLove_ joined the channel
#[Rose]What was the command for telling things like Compass to update their DB structure?
#LoqiIt looks like we don't have a page for "command for telling things like Compass to update their DB structure" yet. Would you like to create it? (Or just say "command for telling things like Compass to update their DB structure is ____", a sentence describing the term)
#[Zegnat]I prefer to always try and have the db itself handle time, eg current_timestamp or whatever. That way SQL can handle the expiry condition by itself.
#[Zegnat]Hmm. Is line 15 in share.php really correct? It does a bigger than comparison, but it seems to do that between a string and integer? Or did the database magically convert the previous date string to a timestamp?
#[Zegnat]It may be that the expires_at string is always bigger than whatever the timestamp for current time is?
#[Zegnat](Note that I am unfamiliar with Laravel DB so I donβt know what magic may or may not be applied.)
#LoqiTests has 3 karma in this channel over the last year (4 in all channels)
#[Rose]I think datetime can be compared, maybe. I've just escaped a meeting to get on the train to the airport and everything is kind of fuzzy.
[calumryan] joined the channel
#[Zegnat]They can, question is if all of this is magically being treated as date time.
#[Zegnat]API creates it as a formatted date string, Share then compares it to a time() int. if some layer does the wrong type coercion that might explain the issue
#[Rose]I'll check my DB once I get to the airport and see what's in that row.
#[Rose]Compass update: the timezone is off on the entries in my DB, and as I expected the one that had no duration attached should have never worked - it should have instantly expired.
#[Rose]!tell Aaronpk Compass update: the timezone is off on the entries in my DB, and as I expected the one that had no duration attached should have never worked - it should have instantly expired. Suggestion: no duration set should return an error, the rest we can debug π
#sknebelCheck the comparison if that can be done that way then?
#sknebelAlso, sounds like something that should have tests attached π
#Loqiaaronpk: [Rose] left you a message 6 hours, 48 minutes ago: I updated my compass and figured out telling it to share my location via Shortcuts, a) where should I document this (or do you not want me to document it), b) I appear to have accidentally created a share link which will last for infinity by not setting a duration. According to your code it should expire instantly though: https://github.com/aaronpk/Compass/commit/6a0eb8909c3d341ed420cc6157759b3a6037e0be#diff-66666f9b34ea66844bc36a15
#Loqiaaronpk: [Rose] left you a message 2 hours, 33 minutes ago: Compass update: the timezone is off on the entries in my DB, and as I expected the one that had no duration attached should have never worked - it should have instantly expired. Suggestion: no duration set should return an error, the rest we can debug π
#sebsel[jgmac1106]: it could have changed, but I believe the whole point of Kirby is that the themes are made by designers that use little sprinkle of PHP (Kirby) to make the site work
#Loqisebsel: [jgmac1106] left you a message 4 minutes ago: fooling around with kirby have you already made a bunch of mf2 tempaltes?
#sebselso short anwser: no, I have not attempted to make a template
#jgmac1106yeah todayβs goal was to just get it installed and see it I can handle the design
#jgmac1106tomorrow will dig deeper for a few hours
#sebselyea if you really want dynamic stuff and plugins and all, I would recommend WordPress
#sebselbut then again: haven't looked into Kirby 3, which I should do soon I guess.
#sebselbut also: it's nice to write your own HTML, nothing wrong with that :)
#jgmac1106getting the vibe kirby is the cms I wanted, I write one file, the template is one file, and the clean HTML gets spit out everytime, just edited the notes to have mf2, will read up on you ditching the panel with a micropub client
ingoogni joined the channel
#sebselThe main reason I ditched the panel is that I want my folder structure to look like: (/content)/2019/137/1/entry.txt
#sebselAnd then when I create a post, I should open the right year, the right day of the year
#sebselit's really a hastle, it was just easier to use Micropub for it
#jgmac1106ahh versus the pagesβ¦stripping the title from notes now actually, and I love the idea of the date structure folder
#jgmac1106that is where it is. Think what I will do tomorrow is add mf2 to all the existing templates and see if I can make a different one for article and notes
#Loqisebsel has 3 karma in this channel over the last year (19 in all channels)
wagle and [tantek] joined the channel
#jgmac1106Already this far: https://kirbytest.jgregorymcverry.com/notes/across-the-ocean might be the CMS for me, not many IndieWeb building blocks yet but those may come this looks like a ton of fun and exactly what I wanted when i said I want βa blank text box but with all the plumbing sortedβ
#sknebelsebsel: I apparently forgot, did you put your plans to replace Kirby on hold? Or just not ready to switch yet?
#sknebelYeah, my site is a mess about those things too
#sebselthat is the place where Kirby let's you define routes, and since there is no middleware, and I didn't know how to use the controllers... it's a mess
#sebselAlso: Kirby 2 is not really testable, and there are certain parts I would like to be able to test (with automated tests that is)
#sebselAnd I want a lot of dynamism from it, which I can't get in the current version (but is promised in 3)
#[jgmac1106]yes after testing I will need to save up the $115 for license if I want to use it
#[jgmac1106]sebsel kinda what I am thinking I need to make h-product pages for people and do them all by hand...I love using snipcart for ecommerce sites
#[jgmac1106]but I also want to be able to easily add new modules to my course templates, and I see it as a scaffold to learn a bit of PHP
#[jgmac1106]picked up just enough of the basics making plugins for Known and doing a 1/8th of a course on LinkedIn
#sebsel[jgmac1106]: I was like huh, but yes, euro's vs dollars.
#[jgmac1106]but like you I want the publishing ui handled mainly through micropub
#sebselheh, they have an update-from-kirby-2 thing, but it won't show the price unless you give your license first.
#[jgmac1106]want to have a template for badges and courses but think I have those pretty well fleshed out the way I like them so will use portal for that since I wouldn't know how to write a micropub client
#sebsel[Rose] was trying to talk me into writing our own IndieWeb CMS with her I believe :P
#[jgmac1106]it was @segnat who pointed me back to Kirby and you and sgreger as I was doing a #myfirstcms challenge...but in my head it was Kirby i was thinking of, plus Kirby is my Super Smash Bros character so there is that as well
#sebselSeems like you get discounts as follows: former personal licenses need to add 79 euro's, former professional licenses add 39 euro's.
#[jgmac1106]and the blueprint templating looks pretty neat as well, but I may just try my own with CSS Grid, didn't break much dropping in my own stylesheet
#[jgmac1106]sknebel reading the v3 documentation you can easily hook into any database if you wanted the dynamic funcationality, might be helpful for something like a nickname cache
#[jgmac1106]alright I have to stop and actually work a bit today, bye ll
#sebselconsiders using seblog as IRC nick to reduce confusion
#[jgmac1106]first thing to build a pomodoro webmention to-do list (not that I could but if folks need an Utrecht project...)
#jgmac1106jeremycherfas I deleted the page looking for it but basically I want to publish a to-do list, and then send a webmention of tasks I start and then have webmentions post every 20 minutes
#jgmac1106this way if I say I am signing off and clsoe Slack but then forget IRC is still oepn I have a big reminder to stay on task