CC-BY-SA is an ideal license for a crowdsourced knowledge base. We’ve benefited immensely from it, our community has gained protection through it, and we look forward to CC-BY-SA continuing to cover prose contributions to Stack Overflow and across the network for all of eternity.
But code is a ...
@blochwave I was about to post the same link. I have no problem with it (my code is already available under the MIT licence [not license...]) but clearly most people who have an opinion about it seem to object strongly
you can understand why. I certainly would not be happy if I hadn't already made this decision for myself
@jtbandes (1) I get Overflow[], which suggest the numbers are too large for Mathematica. (2) Exponential functions f[k_] := a^k in general are not well-defined mod n. E.g. Mod[(1 + k)^(3 + k), 32768] /. k -> {1, 1 + 32768}.
Hey, 10.3.0 is now available from my IT dept!!! Oh wait...Wolfram is up to 10.3.1...Rrrrr. :/ ("I don't understand why we don't do this through the user portal." "Power! Control!")
@OleksandrR. Waiting for my chocolate bar to cool! We made dark chocolate so no worries about the Hershey process. Had to grind the roasted beans by hand though so will be a bit grainy.
@MichaelHale Felchlin makes an unconched chocolate Centenario Crudo (felchlin.com/en/product/cacao-centenario) that has a wonderful aroma and flavor. It's gritty but good. We used it to make chocolate spice cookies for office xmas gifts (we were out of the smooth dark chocolate). The chocolate, almonds, spices are ground in a food processor and bound with eggs. This chocolate made noticeably better cookies.
@MichaelE2 Thanks, I'll check that out. I've found the grittiness has increased my appreciation of the raw bean flavor. Also got to suck on a fresh bean straight from the fruit. The coating tastes a bit like skittles.
@kirma The RegionBounds bug is on my radar. The poor result comes from a numerical optimization method where NMaximize is getting stuck at a local maximum. Developers are looking into it and hopefully will make improvements, but in general always finding the global maximum is not guaranteed.
It being on your radar part, I mean. Of course the problem itself is one that can turn nasty quite quickly.
The primary concern for me was that it returned insufficient bounding box - instead of just being smart enough to return unevaluated, or whatever would be the natural approach to indicating Mma wasn't capable of acquiring an useful result.
Yes, I think. I remember seeing something in the Windows file-association manager where you can set things like: Open, Edit, Open with... to be the default applications.
Ok, maybe not.
But then how can I force SystemOpen to open the file in a certain system-default application. Like when you put mailto: before a mail address, it knows how to start up your client.
I hoped that there is an edit: or similar prefix for such things, but no.
It even honours file-unique associations (on OS X it is possible to set an association for a single file).
I can't try on Windows right now, unfortunately.
@IstvánZachar Does Run["c:\\path\\to\\photoshop\\Photoshop.exe myimage.jpg"] work? Just pass it as a command line argument. That's what Explorer does when we double click a file, I think.
Yes, it will but my problem is, that parhaps the end-user doesn't have Photoshop, so I have to rely on the system default app for editing images (if there is any).
As there is an "View image" and "Edit image" in your OS shell context menu with set defaults, I want to use those from Mathematica.
Maybe this functionality is only existing in my mind...
@IstvánZachar Ah, I understand now. My wife is using her computer now so I can't use Windows at the moment. Is there always an Edit option in the context menu for images? Or only sometimes? Could it be possible to find what program the edit option launches through some registry keys? The registry can be accessed with some Developer context functions.
I'm using OS X now, I don't think there's any distinction between edit and open on OS X.
@MichaelE2 I had no idea one can make unconched chocolate and have it hold together. Does it taste a lot different? Less creamy I guess?
@MichaelE2 same problem for me. In fact WRI wouldn't even accept my bug report because the licence is not in my name...
@blochwave this will happen when you have the Parallel` package loaded and some kernels started. The benchmark is different and the way the score is added up differs as well. (Versus the standard benchmark.)
@ilian some improved differential evolution mutators would go a long way toward helping that. :)
@ilian if you care a lot about this then see my Python differential evolution here. Some of the methods are much more effective than the classical rand/1/bin (and thus it is much more effective than NMinimize on the same problems)
@OleksandrR. Lindt is the one who discovered conching, which results in a very smooth chocolate. Felchlin also adds sugar crystals after the basic grinding of the beans which contributes to the graininess. I suspect that the sugar is added is to control/mask any unpleasantness in the crystal structure of the chocolate and the larger bits of cacao nibs that remain. The sugar grains, which are tiny, are easily crushed or dissolved, but I do notice some little bits of nibs. About the flavor...
@OleksandrR. Chocolates can have a wide range of subtle aromas and flavors, that come from the variety/varieties of cacao beans, the fermentation process, etc. The language for these, like that for wine, is a bit beyond me. It does not have that satisfying mouth-feel of regular chocolate, but it seems more fresh/fruity/floral than most chocolate. I quite like it, but sometimes I just have to have the smooth kind. I haven't tried making a ganache or mousse with it. I tend to think it would fail.
@OleksandrR. Those very dark chocolates sometimes have a similar flavor profile, imo, but the one I'm talking about is 70%. It's the only unconched one I know about, since the conched, smooth kind has become the expected product and is very popular. The smoother, the better the quality, in the opinion of most.