Camelia, the Perl 6 bug

IRC log for #ilbot, 2013-05-15

| Channels | #ilbot index | Today | | Search | Google Search | Plain-Text | summary

All times shown according to UTC.

Time Nick Message
01:47 codex server
01:57 pdurbin wouldn't it be cool to somehow pick up what time the browser thinks it is?
02:46 codex the issue is some of it is the log bot itself
02:47 pdurbin well, the bot logs time as UTC, I thought. which seems reasonable
05:27 moritz the problem is that the bot not only logs a timestamp, but also the day, which is used to determine on which page to display a line of log
05:27 moritz so the logging timezone determines the display timezone
05:29 moritz and doing anything else (like logging a proper Time object, and then extracting the day at query time) isn't efficient enough with mysql
10:00 pdurbin hmm, so if the date were stored differently more options are possible
10:42 moritz if you find a storage that's more versatile but still indexable by the SQL engine, then yes
10:42 moritz if you do, for mysql, please let me know
10:48 pdurbin ok, but I guess I'm still just really focused on the final URL that I would send as a link. a date is embedded in the link, which I like because it make ilbot logs like a lightweight blog. I'm acutely aware that at 8pm my time, the date in the URL rolls over to what to me is the future. so sometimes I send links into the future. but I think that's fine... using UTC as the date for the URLs
10:48 pdurbin codex: you've changed your bot so that the rollover happens at midnight in our time zone. which is fine too, if that's what you want. but I'm fine with UTC dates in my URLs. it feels more... standard
10:56 pdurbin I do find it a little confusing to look at the times though... maybe we could have a bit of javascript that changes the times to adjust for each user's browser's timezone
10:57 moritz but then it's confusing that the logs don't go from 0H to 24H
10:57 moritz but I still wouldn't object to a patch that does that optionally
11:25 pdurbin yeah, it would be a confusing. how would I show the first minute of a log? as -04:00? (to mean 4 hours earlier on the prior day) as 20:00? (to mean 8pm, but I'd need to indicate it's for the prior day somehow) ... definitely something that should be optional :)
11:27 pdurbin I've definitely thought of doing it codex's way... of basically saying, "look, this is *my* bot and and time is going to reflect *my* time" :)
15:18 codex moritz: saw your email. I saw the config after I did the pull request (and that's why i sent a note here :))
15:19 codex where do you see the EST though? I changed that after the first commit to LOCAL
17:18 moritz codex: I might have written the bit after only looking at the first commit, sorry
17:18 moritz (and pleae use lower case of the config, everything in the new branch does)
17:25 codex yep, changed all of that already
17:25 codex i really should've cancelled the first pull request
17:25 codex take a look at the one you will get in a bit
19:22 codex moritz: one thing that I am not sure how to change is the day template "UTC" printout
19:36 * moritz neither
19:36 moritz maybe another confix variable like timezone_string

| Channels | #ilbot index | Today | | Search | Google Search | Plain-Text | summary