[08:51:37] String inputs are not stripped by default it seems.Is that something we want? : https://tools-static.wmflabs.org/bridgebot/e2d3c1f4/file_62669.jpg [08:53:23] How would one then enter a string ending with a space? [08:54:07] That wouldn't be possible in any of the functions 🤷‍♂️ (re @Jan_ainali: How would one then enter a string ending with a space?) [08:56:35] For functions with string input it might be a good idea to remind users to strip the input. [08:56:36] Or maybe we can have it entered automatically once they select an implementation like so: [08:56:38] def Z1(Z1K1): [08:56:39] Z1K1 = Z1K1.strip() [09:24:08] I don't want my input to be automatically stripped. Or to be reminded to do what I don't want to do! ;) [09:26:13] Similarly, we don’t automatically ignore case. We could have some concept of a normalised string, but then we might have a confusing array of options… 🤷‍♂️ [09:51:39] …but the initial capital and final space that iOS so “helpfully” assumes could usefully be reversed as an available alternative in the interface 🤔 …maybe @internetam1n ? [10:02:09] I used the implementation edit ui in my Android phone in firefox and copy paste didn't work. [10:02:09] If we want mobile users to have a great experience we need an app or improve the ui further. [10:02:11] Buttons for copy paste and copy of the key Zids would be nice. [10:13:42] The undo button on implementations do not seem to work when trying to undo code changes. [10:13:44] Is that a known issue? [10:42:53] @dpriskorn care to create a bug on Phabricator? Seems like it is worth it [16:38:31] I'm trying to enter a composition for the first type but get an error:Z17920I'm trying to do exactly as in Z11761 but failed.Is this a bug? : https://tools-static.wmflabs.org/bridgebot/ab4f0210/file_62680.jpg [16:38:32] https://tools-static.wmflabs.org/bridgebot/17f33288/file_62681.jpg [19:10:53] Please see the Colab again. I used OOP here. (re @Csisc1994: https://colab.research.google.com/drive/1xuOkIL0H7boDTUCliojwGTSxbAyCwaFj?usp=drive_link is the link that shows the principle of...) [19:11:37] I think that this can be turned into a Python Package. [19:28:24] nice work 🤩 (re @Csisc1994: Please see the Colab again. I used OOP here.) [19:30:15] yes, could be increasingly useful as the library of functions grow in WF (re @Csisc1994: I think that this can be turned into a Python Package.) [19:42:46] I'd find it useful if I could do the following: [19:42:46] >> from wikifunctions import Z12774 [19:42:48] >> Z12774("80", "1.8") [19:42:50] 24.691358024691358 [19:42:51] >> from wikifunctions import Z12526 [19:42:53] >> Z12526() [19:44:38] that is, [19:44:39] 1) I can import arbitrary zids from this package (without having to process an implementation separately), and [19:44:41] 2) I can supply a function zid and get the python implementation of that function automatically [19:48:41] I agree. (re @mahir256: that is, [19:48:42] 1) I can import arbitrary zids from this package (without having to process an implementation separately), and [19:48:43] 2) I can...) [19:49:12] If someone would like to implement this in the Wikimania Hackathon, I will be happy to help. [19:54:42] this is also reminding me: why are ZObjects returned with extra whitespace in their JSON? if they're stored that way, can they not? : https://tools-static.wmflabs.org/bridgebot/47951c91/file_62693.jpg [19:58:12] you probably shouldn’t actually use this anywhere, but you nerd-sniped me into figuring out if it’s possible this way (it is): https://gist.github.com/lucaswerkmeister/da476f0f94281143e66784efd2ecfcc2 : https://tools-static.wmflabs.org/bridgebot/bc459254/file_62694.jpg [19:58:46] tbh I did make this happen locally before making my comment (re @lucaswerkmeister: you probably shouldn’t actually use this anywhere, but you nerd-sniped me into figuring out if it’s possible this way (it is): h...) [19:58:50] lol [21:40:58] No, we don't. Particularly for natural language general you want to remain in full control of the whitespaces (re @dpriskorn: String inputs are not stripped by default it seems. [21:40:59] Is that something we want?)