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