« first day (2345 days earlier)      last day (2149 days later) » 

1:46 AM
Guys, check twitch!
user image
2
 
 
3 hours later…
5:03 AM
Fascinating stuff... here is the live link... skip to 30:00 (after he gets his computer working).
 
 
2 hours later…
6:34 AM
Does anyone already have a 12.0 prerelease? I wonder when the prerelease program will resume.
If 12 is to be out in the autumn, it's about time ...
 
7:15 AM
@Szabolcs They need some more time to make the new compiler ready :)
 
 
8 hours later…
3:41 PM
@b3m2a1 @Szabolcs @Kuba Since you're talking about documentation again, I thought I'd (shamelessly) link you to my approach to the problem: https://github.com/MMA-ForScience/ForScience#pacletutils
Next to other things, the paclet contains a fully self-contained documentation creation and build framework - no need for the workbench at all, everything is done from within mathematica. The goal is to eventually support most documentation pages through this process. Currently, Symbol and Guide pages are fully implemented. A simple example might be:
DocumentationHeader[foo] = {"EXAMPLE SYMBOL", Gray, "Never introduced."};
Usage[foo] = "foo[a,b] does something.";
Details[foo] = {"[*foo*] does great things if applied correctly."};
Examples[foo, "Basic examples"] = {{"Use [*foo*] for something cool:", ExampleInput[foo[a, b]]}};
SeeAlso[foo] = {List, Set}; nb = DocumentationBuilder[foo];
It is currently used to document the paclet itself, so it's already in a usable state, although I have no idea what kind of functionality could be needed by others (feature requests are welcome ;) )
Currently, it builds only 11.0 style documentation pages (with documentation indexes for both pre 11.2 and post 11.2), but due to how everything inside the notebooks is built from a well-defined format, adding support for older documentation versions shouldn't be a big issue
Let me know if you have any questions/feedback/suggestions
 
4:46 PM
@LukasLang nice to see I’m not the only one who’s built that sort of thing. Unfortunately the HTML docs it builds aren’t great for a ReadTheDocs type approach.
 
5:08 PM
@b3m2a1 Well, if one really wanted to, it should be possible to just build your own HTML generator from the ground up - but that's a lot of work… If there's enough interest, I might look into making something that produces pages in the style of the online documentation - Let me know if anyone's interested
 
@LukasLang I actually have something that does this and could probably provide some customizations on it.
It, for example, built the stuff here: wolframcloud.com/objects/b3m2a1.docs
But I'm not sure that's worth it. Probably better to provide a bunch of template notebooks for writing Markdown docs or something working with that.
 
@b3m2a1 That looks quite nice in my opinion :)
Also, it's really a shame that paclets built by others aren't easily discoverable (I learned of your paclets only very recently for example) - hopefully your paclet server project helps with that
 
It generally looks fine, with the exceptions of a bunch of places where I need to patch up some Permissions, but it's slow and unnecessarily finicky. It uses the Workbench NB->HTML XLST processing framework (which I literally just extracted from Workbench so that I didn't have to use it).
This framework can be customized at will, but you'd have to provide maybe ~100+ conversions and deal with its idiosyncrasies and bugs and things.
Whereas, say, this was built from raw Markdown which was originally generated from a notebook
And is less complicated but much easier to work with and gets the job done.
 
 
1 hour later…
6:25 PM
For an in-MMA bug tracker what are the most relevant properties? I currently have: {"Title", "Description", "Timestamp", "Examples", "Resolved", "Keywords", "Package"} which I hope gives me sufficient coverage to be able to do effective searches and formatting and things. Is there anything I missed that should be added in?
 
 
5 hours later…
11:28 PM
Hi all. I think I am missing something simple. Given a list, say Range[6], how do I partition it based on some list of sizes? Like given {2,3,1} sizes I would get:

In[]= myfun[Range[6],{2,3,1}]
Out[]= {{1,2},{3,4,5},{6}}
 
11:52 PM
@Halirutan Hello & Congrats. Do you know how J. M. is - in terms of health and current financial need? And also, if you know of a source for this info that you'd prefer I use instead of you, I certainly will. Thanks, Rabbit
 
@VitaliyKaurov interesting question. Best I have from a quick brush is this:
With[{expr = Range[6]},
 Map[
  expr[[#]] &,
  Rest@
   FoldList[
    #[[-1]] + Range[#2] &,
    {0},
    {2, 3, 1}
    ]
  ]
 ]
 
Carl Woll pointed out that there's a function (TakeList or maybe ListTake) whose params are list bname and {length1, length2, ... lengthn}. This is new to 11.3
@VitailyKaurov Sorry I failed to address the note re TakeList to you.
 
@b3m2a1 cool thanks for the neat insight
@Rabbit yep this is exactly it
 

« first day (2345 days earlier)      last day (2149 days later) »