[01:48:38] Is Z21121 supposed to support conversion from µJ? [02:23:55] Yes (re @amire80: Is Z21121 supposed to support conversion from µJ?) [02:43:13] Also on convert, I tried to add more detail in the short description but it reads horrible now because of the char limit [11:17:33] Am I doing anything wrong? (re @Feeglgeef: Yes) [11:17:38] https://tools-static.wmflabs.org/bridgebot/78ed4846/file_69886.jpg [11:19:53] Also, is there a space to add more info about inputs? For example, I don't understand what is "Adjective?" supposed to do (when it is supported). [11:27:47] I get "100 μJ (0.0000239006 cal)" Which μ are you using? U+00B5 rather than U+03BC? It looks like only one is coded for. (re @amire80: Am I doing anything wrong?) [11:36:12] I guess the talk page could be used... [11:36:12] Feeglgeef could you explain there what this input is? (re @amire80: Also, is there a space to add more info about inputs? For example, I don't understand what is "Adjective?" supposed to do (when ...) [12:05:16] The same one that is used in the test cases of the Convert template in the English Wikipedia. (re @Al: I get "100 μJ (0.0000239006 cal)" Which μ are you using? U+00B5 rather than U+03BC? It looks like only one is coded for.) [12:05:44] https://en.wikipedia.org/wiki/Template:Convert/testcases/sandbox1 [12:09:00] It could be, but if inserting functions into Wikipedia pages is supposed to be similar to inserting templates, then I'd expect it to be explained right in the insertion dialog, as it is with templates. (At least that's how it is as long as the template has good TemplateData.) Going to the talk page for this is not optimal. (re @Nicolas: I guess the talk page could be [12:09:00] used... [12:09:01] Feeglgeef could you explain there what this input is?) [12:33:47] Thanks. I think I’ve fixed that. (re @amire80: The same one that is used in the test cases of the Convert template in the English Wikipedia.) [12:55:36] Works now, thanks (re @Al: Thanks. I think I’ve fixed that.) [14:10:21] 8-mile (whatever-kilometer) road (re @Nicolas: I guess the talk page could be used... [14:10:21] Feeglgeef could you explain there what this input is?) [14:13:36] Thanks! If anyone wants to add more units feel free to just add them to the dictionary in the implementation, it's a wiki after all. (re @Al: Thanks. I think I’ve fixed that.) [14:14:46] I've wanted /doc pages (specifically for convert) for a while now, but outside of one specific function it's not very useful (re @Nicolas: I guess the talk page could be used... [14:14:46] Feeglgeef could you explain there what this input is?) [14:47:06] /doc [14:47:11] /doc [14:47:14] /doc [14:47:15] /doc [14:47:18] /doc [14:47:29] we don't have commands here :) [14:47:51] If you click it sends the message (re @Sannita: we don't have commands here :)) [14:47:54] /doc [14:48:48] I know [15:20:39] And is Z21121 supposed to support negative rounding? If I understand correctly, in the English Wikipedia, it supports stuff like "× 10⁻⁷", but in Wikifunctions, it returns void. [15:37:54] /doc [15:38:32] Yes (re @amire80: And is Z21121 supposed to support negative rounding? If I understand correctly, in the English Wikipedia, it supports stuff like...) [15:38:55] I.e 123 -> 100 if you use -2 [15:40:46] This doesn't seem to work: [15:40:49] https://tools-static.wmflabs.org/bridgebot/4da07e8a/file_69888.jpg [15:41:05] Yeah, I see that too (re @amire80: ) [15:41:08] I'll look into ir [15:48:38] Try now (re @amire80: ) [15:49:23] It was trying to add -7 zeros to the end of the string because I forgot to add a floor of 0 [15:49:57] void [15:50:10] Did you change the input slightly (re @amire80: void) [15:50:14] There is caching [15:51:40] https://tools-static.wmflabs.org/bridgebot/049f5713/file_69889.jpg [15:52:10] https://tools-static.wmflabs.org/bridgebot/ba297913/file_69890.jpg [15:52:23] It's the same as earlier, but the screenshot is new. [15:52:24] Try 2 (re @amire80: ) [15:52:36] As number [15:52:41] Curious. Works for 2, but not for 1. [15:52:54] It caches the results despite the change (re @amire80: Curious. Works for 2, but not for 1.) [15:53:15] It's very very aggressive [16:32:33] Hey all, is anyone working on prototypes for phab:T301418 re: visual programming? I was thinking about building something with Blockly, since I'd played with it some years ago, but skimming through the current docs it doesn't seem that well suited to functional programming. [16:35:52] Yeah (re @wmtelegram_bot: Hey all, is anyone working on prototypes for phab:T301418 re: visual programming? I was thinking about building some...) [16:38:15] Blocky is for things like visual environments and custom devices [16:38:26] Not free-computation [16:38:53] Compositions are already pretty visual, perhaps we could render them with blocks [16:39:21] That actually sounds promising, the text layout is hard to follow [16:40:17] Sorry, that's what I meant, an alternative display mode for the composition AST [16:40:35] That sounds good (re @wmtelegram_bot: Sorry, that's what I meant, an alternative display mode for the composition AST) [16:41:22] Sounds really hard to integrate with blocky though, we'd have to use a custom solution [17:52:04] Compositions are _kind of_ visual, but in practice, I find them very unintuitive. (re @Feeglgeef: Compositions are already pretty visual, perhaps we could render them with blocks) [17:52:21] I know that a few people on Wikifunctions get them very well, but I'm not one of those people. [17:52:30] (As for my personal style, I'm fine with old-style text-based code, and I kind of get visual block-oriented stuff, but I don't use it myself. My children love it though.) [18:11:16] As an interim solution I've created [[WF:Documentation]] where function documentation can be stored (re @Feeglgeef: I've wanted /doc pages (specifically for convert) for a while now, but outside of one specific function it's not very useful) [18:11:40] It currently has one for Z21121 that I am still working on [18:12:12] Until you expand them, it's basically just a line of text, and when you do it's way too big (re @amire80: Compositions are kind of visual, but in practice, I find them very unintuitive.) [19:13:42] Forgot how fickle this IRC client is. If you want to collaborate on a Blockly prototype, please ping me on-wiki (same username).