Am I the only one who think WRI new web site since V 10 is so annoying? I feel like I am visiting Yahoo each time I now go to WRI sites. With all the annoying pop-ups that keep resizing and adjusting and showing up as I move the mouse. I prefer the old simple website without all this flashy and way over done javascript decorations all over. Browsing the web is becoming no fun any more.
@Nasser I agree. It is faster for me to find something there via Google... not the best sign. But UserExperience department was running a survey about that so maybe something will change.
I can't believe I'm unable to find this (via Documentation, Google or SE): how do I get all (contiguous) subsequences of a given list? (Or substrings of a string.) It seems like one of the simplest combinatorial tasks, but I can't seem to find something like a built-in. (I know how I could do it in general, but I feel there should be a Mathematica-y way, and I just fail to search for the right keyword.)
okay, figured out my substring/sublist problem. would it make sense to post that as a question and self-answer it, seeing that google doesn't currently turn up any results for it?
I have noted that many questions appear to have 0 answers, when there are several answers given as comments. What is the exact protocol for when an answer should be posted as an answer (or not)?
Not sure if anyone uses the WPC here, but this doesn't seem to work `Show[ExampleData[{"TestImage", "Lena"}], Epilog -> {Red, PointSize@.05, Point[{256, 256}]}]`. I'd like to know why (although I suspect the answer is: bug) or perhaps learn if someone has been working with WPC and has come up with some workarounds.
Replacing Lena with Graphics[Disk[{256, 256}, 256]] and the Epilog is drawn.
@rm-rf I totally forgot to tell you: I have been in contact with the developers in the mean-time. It was simply a non-existing differentiation between various .m extensions (Objective-C, MATLAB, M, Mathematica).
Additionally, I forked the repository and fixed the missing extensions .wl and .wlt. Please see the discussion of the pull-request. Unfortunately, there are a lot .mt extensions (really really many, compared to the few Mathematica tests on GitHub) so that we decided to leave
this out until a proper heuristic for all of them is found.
In summary: As soon as the current code base goes live on GitHub, all .m files that contain some comment at the beginning of the file will be successfully recognized as Mathematica.
Additionally, if you want to fix your language statistic on GitHub for Mathematica files, just create a .gitattributes file in the top-directory of your repository with the following content:
@bobthechemist I'm not sure whether I would consider this a bug. I would consider it a feature that it works in the FE, because Show is for combining graphics, not images.
Representing an image as graphics raster, like in the good old times, instantly makes it work on the WPC:
@bobthechemist I haven't found any hints in the doc to Show that it can be used with Image.