[00:05:56] Already registering in Entity Explosion! (although I should name it Wikifunctions) : https://tools-static.wmflabs.org/bridgebot/86f57589/file_58338.jpg [01:18:47] Folks in this chat already know, but here's the offical announcement: Newsletter 146 - Natural numbers are here! https://www.wikifunctions.org/wiki/Wikifunctions:Status_updates/2024-03-07 [03:09:44] Hunting through the functions that might need to change type, I found you made Z11129 long ago which is very similar to this week's FOTW, but not including 0. I've added a leading zero test Z13877. You may want to consider whether it meets your intent. (re @vrandecic: Folks in this chat already know, but here's the offical announcement: Newsletter 146 - Natural numbers are here! [03:09:45] https://www.wik...) [04:07:27] It does. I think they should be merged. I forgot about the other one. [04:16:13] But if in your old one "099" is valid, and "0" is invalid, they are genuinely different. (re @vrandecic: It does. I think they should be merged. I forgot about the other one.) [04:16:34] Yeah, but I'm not sure that's useful [04:16:54] I mean happy if folks want to keep it around, I'm not sure I see the use of it [04:35:50] Some JavaScripts are different to others: : https://tools-static.wmflabs.org/bridgebot/109cbd63/file_58340.jpg [11:05:35] Before we get more types for numbers, I'm curious if it will be possible to supply for example Natural numbers to functions that accept Real number? Can Wikifunctions types be arranged into such a hierarchy to say that Natural number is also an Integer which in turn is also a Real number (but not necessarily the other way round)? [11:44:30] We are slowly transitioning from code implementations that specify the programming language as literal objects to code implementations that refer the programming language by reference. Currently we support both; while old implementations have the literal 'javascript' or 'python', the new ones have references to Z600 or Z610. What you see in this screenshot is a temporary conseque [11:44:31] nce of this transition. They are the same language, but the first implementation (old one) shows the programming language code 'javascript', while the second one (more recent) shows the label of Z600, which is 'JavaScript' (re @Toby: Some JavaScripts are different to others. At Z13366.) [12:18:54] I made a big composition implementation at Z13912; does anyone want to review it? ^^ [12:19:06] it fails with an error “cannot convert to bigint” even for the base case (1 choose 0), unfortunately [12:51:54] I couldn't see anything wrong, but tried converting to a number-typed if function (Z13846)... but mine times out in the orchestrator. Feel free to revert. (re @lucaswerkmeister: it fails with an error “cannot convert to bigint” even for the base case (1 choose 0), unfortunately) [13:39:34] I've just checked that simple Z13522 takes 3 seconds to finish. Maybe the time needed to do sth just propagates over to your composition and the true problem lies somewhere else? (re @lucaswerkmeister: it fails with an error “cannot convert to bigint” even for the base case (1 choose 0), unfortunately) [13:40:21] (At least for me Z13912 throws timeout) [13:42:06] I guess a timeout is better than the previous error at least – thanks (re @Toby: I couldn't see anything wrong, but tried converting to a number-typed if function (Z13846)... but mine times out in the orchestr...) [17:28:05] Not currently planned, but that may change. I do expect casting functions. But we'll need to see how easy to use that all will be. So a very clear "dunno yet, let's explore and iterate" (re @Msz2001: Before we get more types for numbers, I'm curious if it will be possible to supply for example Natural numbers to functions that...) [17:40:09] It's my first time of writing an implementation of a function using a composition but I keep getting this error when I want to publish what could be the reason behind it? Key and value referred to what ? : https://tools-static.wmflabs.org/bridgebot/23d757d5/file_58369.jpg [17:41:35] (it's not a great error message, but) maybe you forgot to fill in a field within the composition? what does what you're trying to save look like? (re @Ox4e5fdd32: It's my first time of writing an implementation of a function using a composition but I keep getting this error when I want to p...) [17:44:11] Here's composition implementation am trying to publish : https://tools-static.wmflabs.org/bridgebot/e69654f9/file_58371.jpg [17:47:20] https://tools-static.wmflabs.org/bridgebot/5530e0cf/file_58372.jpg [19:37:06] Oh dear! That’s very frustrating. When it has happened to me it turns out to be that one of the search “selectors” contains the text of the search and not the reference to the object that it looks like. If you click the selector it should say something like “No results found.” If instead it shows the name of the object that you want to be selected, you need to click on [19:37:07] the name of that object. (So it is almost exactly the opposite of what you might expect.) I hope this helps. Good luck! (re @Ox4e5fdd32: It's my first time of writing an implementation of a function using a composition but I keep getting this error when I want to p...) [19:53:04] If you click the little v under where it says “Composition” you should get a more readable view of the composition. There may be red links in there, or you may be able to see that one of the object names is not what you want. You can then click the > beside that view and get back to where you were before (but without any text that appears to be the object name but was, in fac [19:53:04] t, just text for a search). (re @Ox4e5fdd32: ) [23:45:27] The most frustrating thing about this error is that if you can't solve it, there is no way to save (other than screenshots), so you lose all the work. I agree with Al's suggestions for trying to solve it. If none of that works, I sometimes have to cut back the complexity and save just a scaffold before editing the detail again. (re @Ox4e5fdd32: It's my first time of writing an im [23:45:28] plementation of a function using a composition but I keep getting this error when I want to p...)