[08:09] good morning all! [08:13] Chipaca, morning chipaca, how goes ? [08:13] btw, I was quite impressed how much text you churned out [08:16] jam: goes well! brain isn't booted yet but getting there [08:16] Chipaca, I have my coffee machine back, want the first cup ? [08:17] jam: i got my coffee delivered! there's still last week's delivery missing but i'm back in stock at least [08:17] jam: woke up in the night when it clicked that we could use charmcraft.yaml to have an 'install' section for the non-python reqs [08:17] *hand waving intensifies* [08:18] no unicode jazz hands [08:18] ๐Ÿ‘ no? [08:19] "open hands" isn't quite jazz hands to me but good enough ๐Ÿ‘ [08:19] jazz hands aren't next to each other [08:19] "๐Ÿค—" is supposed to be "hugging face" [08:19] but "hugging face" is that face-hugger alien parasite thing [08:19] so no thanks [08:26] "hugging face" isn't that choking someone? [08:26] I know I don't usually hug with narrow hands [08:59] * jam lunches [09:20] * Chipaca is having way too much fun [10:48] Muy buenos dรญas a todos! [10:58] facubatista: ๐Ÿ‘‹ :-) [11:44] we're lying liars: we're not logging events when dispatch is in use :-( i'll file a bug [11:50] Chipaca, Natalia is gmt+3, Moscow [11:50] natalia is also gmt-3, uruguay [11:50] :) [11:50] a conspiracy of natalias [11:50] mirrors! [11:51] speaking of that, I'm no longer the one and only Facundo [11:51] #eselacabose [11:53] facubatista: whaaaa [11:54] facubatista: sacrilege! [11:54] indeed [11:55] facubatista: and their irc nick is cooler than yours [11:55] facubatista: oh the shame [11:55] :) [11:56] * Chipaca goes to make lunch [16:33] grah [16:33] need to take a break before testing the last bit :) and then some failing integration ones and then i'm done [16:56] * Chipaca steps away for a while === facundo__ is now known as facubatista [17:47] Chipaca, something I hate about pathlib.Path is that if you print its str(), it may be misleading (spaces in the middle, etc), but if you print its repr(), the whole "pathlib.Path" is shown... I end up doing "path: {!r}".format(str(path)) [18:25] * facubatista bb~1h [18:54] facubatista: I didn't understand why spaces in the middle would be misleading, but that's ok, you can be wrong :-p [19:34] * facubatista is back [19:35] Chipaca, [19:35] >>> p1 = pathlib.Path("foo bar") [19:35] >>> p2 = pathlib.Path("baz") [19:35] >>> print(p1, p2) [19:35] foo bar baz [19:36] ugly: >>> print("{!r} {!r}".format(p1, p2)) [19:36] PosixPath('foo bar') PosixPath('baz') [19:36] what I end up doing: >>> print("{!r} {!r}".format(str(p1), str(p2))) [19:36] 'foo bar' 'baz' [19:48] facubatista: y tho [19:48] in what context is 'print(p1, p2)' something you'd actually want to do? [19:49] Chipaca, it was an example [19:49] ok [19:49] raise CommandError("the charm entry point was not found: {!r}".format(str(arg))) [19:50] Chipaca, ^ [19:50] Chipaca, think for example if you called it like --entrypoint="mycharm.py " [19:51] of course the last space is a type [19:51] *typo [19:52] >>> print("the charm entry point was not found: {}".format(arg)) [19:52] the charm entry point was not found: mycharm.py [19:52] >>> print("the charm entry point was not found: {!r}".format(str(arg))) [19:52] the charm entry point was not found: 'mycharm.py ' [19:52] facubatista: hmm. repr in this context is something that is almost but not always what you want for strings even [19:52] of course, I won't be using print, but logging it, but it's the same [19:53] Chipaca, why I don't like it? [19:53] s/like/want/ [19:55] facubatista: consider what happens if you specify a filename that's not ascii, and you need it to be ascii [19:55] facubatista: repr won't help highlight the problem [19:55] Chipaca, what do you mean "need it to be ascii"? [19:56] e.g. "the filename must be a-z0-9: {!r}".format("ั€ะตะฐัะต") [19:57] facubatista: that won't say what the problem is in any way, for most users [19:57] some might though [19:59] Chipaca, getting the pathlib.Path() in the middle won't improve that either [19:59] Chipaca, you say to just use str() because there are corner cases that repr() won't be enought? [19:59] *enough [19:59] * facubatista is too tired to write properly [20:00] facubatista: no, I'm saying that relying on repr() is sloppy :) [20:00] facubatista: the fact that it mostly, but not always, works for strings has made you think it's ok to do but it isn't really [20:00] facubatista: i'm not sure i'm making sense either [20:01] it's been a long week and there's a whole 'nother day of it to go still [20:03] Chipaca, I'd love to find a repr_posta_posta() :) [20:04] I don't want to start marking differently every non-ascii char, it would mess up the error message for people using mostly non-ascii stuff [20:11] whoa i caught you guys still awake! [20:12] ...right? [20:12] no? [20:25] MarkMaglana: "awake" [20:25] kina awake then? [20:28] MarkMaglana: fractionally awake [20:28] MarkMaglana: not actually working [20:28] at least, me [20:28] facu might be at it still [20:28] i just woke up at 4AM my time to check on my tomb raider download. so i won't be working either for an hour or two. [20:38] MarkMaglana, which tomb raider? [20:38] don't laugh [20:39] the first one of the reboot. [20:40] MarkMaglana, you're talking about the videogame or the movie? [20:40] the videogame lol [20:40] ah, jajaja [20:41] * facubatista never played tomb raider [20:42] actually, I remember installed and tried one, like 300 or 400 years ago, and my HW was too slow for it, and I dropped it, never tried again [20:43] facubatista i've been wanting to play this since it came out but with family duties it was impossible. also, i was too cheap to buy a powerful enough machine to handle the graphics until this year. so with all this lockdown and all i figured it'd be a good time lol. [20:43] :D [20:43] MarkMaglana, enjoy it! [20:43] facubatista: thanks! [20:46] facubatista: you should be able to play the original one on qemu on a raspberry pi [20:46] :) [20:47] anyway, i'm out [20:47] ๐Ÿ‘‹ [20:49] \o alrighty folks, i'll take it from here lol [21:09] * facubatista eods