« first day (1180 days earlier)      last day (3310 days later) » 

11:09 AM
Hmmh. How do I perform fitting on data for which every data point has different distribution parameters?
There's Weights for NonlinearModelFit, but even that is probably a bit wrong in my case.
 
 
1 hour later…
12:17 PM
I have updated my function that preserves indentation when copying plain text. It now no longer uses Paste[]. @halirutan perhaps you would like to comment? Is this worthy of being added to "the mmase toolbag"? I don't suppose such a thing existed already, right? I would also love to get some feedback on how I am using options. It would be nice to have some kind of uniformity (w.r.t error handling and options) in the mmase tools I suppose. Here is a link
2
A: Copy code block from SE to MMA without loss of line breaks

Jacob AkkerboomHere is an automated approach. I was able to figure out a way to avoid using Paste[]. The key ingredient here is to use MathLink`CallFrontEnd@UndocumentedTestFEParserPacket[string, False] which rm-rf told me about. I think I am going to find this very useful and I will probably bind this to...

@rm-rf do you remember how you found out about
MathLink`CallFrontEnd@UndocumentedTestFEParserPacket[string, False]
?
 
12:39 PM
Perhaps you (@rm-rf ) then also know a better alternative to the following (especially considering your package to convert notebooks to mma.se questions/answers).
SelectionMove[First@Cells[nb, CellTags -> "test"], All, CellContents];
FrontEndExecute[FrontEndToken[nb, "CopySpecial", "InputText"]];
 
1:10 PM
@JacobAkkerboom I've used this function since the first version came out and I find it very useful. However there is room for improvement in that the copied code is not like code you have written yourself. The indentation is made up of spaces so if you want to edit the code it's not as easy.
@JacobAkkerboom I also use the SETools palette and personally I think this functionality should be a part of it. Possibly there could be one button that inserts the code in a selected notebook and one button that creates a new notebook with the code in it.
 
@Pickett ah, thanks for the feedback. Glad you find it useful :). You raise a good concern about the spaces, I had not even considered that. But maybe I have a hacky solution for it.
@Pickett Personally I prefer the idea of a using hotkeys over a palette. Next to that I install packages in $BaseDiretory rather than $UserBaseDirectory. These are reasons why I haven't checked out the SETools package yet, which is kind of a shame.
I have also been making some code to automatically backup and verify hotkey files. It actually turns out there is a missing comma KeyEventTranslations.tr in all the recent versions of MMA. I still have to report that. I would love it if some hotkey management could also be integrated in the tools.
 
@JacobAkkerboom OK I thought that was what you meant by "mmase toolbag", I too like hotkeys but I haven't set it up yet.
 
1:28 PM
@Pickett I think tools for editing hotkeys would help a lot in overcoming some reservations. One thing I always remember is that we are officially not supposed to change the $InstallationDirectory. Another thing is that it hard to guess how we are supposed to manipulate .tr files. The .tr file starts an @@ annotation that MMA does not recognize. You can edit the file in MMA and have syntax highlighting, but really you are editing on boxes rather than plain text. Minor issues that pile up.
I have to go afk for a while, hope to catch you soon
 
1:41 PM
@JacobAkkerboom ok
 
 
2 hours later…
3:56 PM
@JacobAkkerboom If this is the reason, then it is really a shame :-) Just install it with automatic script, close Mathematica down and move the package from $UserBaseDirectory to your $UserDirectory.
There is of course a reason for installing the package in your $UserBaseDirectory which is that you very like have write permission there. I'm not sure one can guarantee that for other folders and it would make automatic installing really hard because there are many system, where users are really just users and no admins.
@JacobAkkerboom I will look at your code and probably comment. How about you you add an answer to the SE-Tools post suggesting the inclusion of your function and we see how much feedback we get?
 
4:19 PM
@halirutan thanks for the reply. I will go and install the tools now :). From what I remember from installing the SE-uploader, I had to change some line somewhere in addition to moving the files. But I will see :).
 
4:34 PM
@belisarius I really think it's the only kind of answer.
 
4:55 PM
@JacobAkkerboom No, it should work, because it is a self-contained package. The only thing is that the update procedure will install it again in $UserBaseDirectory
 
@halirutan yes, it is working :). Quite interesting, nice documentation too!
 
5:15 PM
Hey everybody, I've got a problem with one of my Mathematica installations.
 
@DavidZhang heya
So what's the problem?
 
When I attempt to convert an expression to TraditionalForm, most glyphs show up as rectangles:
I've tried reinstalling both the Mathematica fonts and Mathematica 10.1 itself, both to no avail.
Does anyone know what might be the cause of this?
 
Ah, well I don't know much about this kind of stuff unfortunately
Your example works on my machine, as you might have guessed
 
Yeah, it's pretty strange. I've installed Mathematica on 3 or 4 computers, and this problem only occurs on one
 
And does TraditionalForm[1/2] give you those rectangles too?
 
5:27 PM
Sure does.
 
Hmm.. maybe some font is not working. Did you see question?:
10
Q: Inconsistent display of TraditionalForm in version 9

JensAfter installing version 9, the default style sheet uses Arial font in text and formula cells. So far, so bad. At least one would hope this is done consistently. But now I see this: You can see that the default font for TraditionalForm in output cells is Times, which will make such output lo...

Does the following display the fraction 1/2 for you?
Cell[BoxData[FormBox[FractionBox["1", "2"], TraditionalForm]],
  "Output", FontFamily -> "Arial"] // CellPrint
 
It does! How odd.
 
Ah so I guess your Times font is not working :)
 
Yes, I suppose so. But if that's the case, I've got no idea where to download a fresh copy
 
@MarkMcClure I don't know about "only", but a very good answer indeed
 
5:38 PM
I've tried installing the Mathematica 10 fonts given here, which had no effect
 
Maybe the font is presumed to be already installed on your computer, and is not included in the Mathematica 10 fonts?
For me times new roman for example is installed at /Library/Fonts/ (on a mac)
Maybe another test, to see if it is really Times causing trouble and not TraditionalForm:
Cell[BoxData["hello123"], "Input", FontFamily -> "Times"] // CellPrint
 
Huh, that displays correctly as well.
 
How bizarre,
 
how about
Cell[BoxData[FractionBox["1", "2"]], "Input",
  FontFamily -> "Times"] // CellPrint
 
5:45 PM
Yes, that's also quite alright.
 
Ah.. well, I don't know what is wrong then :(
Probably other users can help you much better
 
I think I'll try posting this to Mathematica.SE, in that case.
 
That sounds like a good idea :). Hope you get a good answer
I'll be afk for a bit. See you!
 
You too. Thanks!
 
6:36 PM
Is there a practical way to do actual non-List plots with date axis, like DateListPlot?
 
Anyone have ideas on how / where to publish long-ish CDF papers of general interest? I have one that's MUCH too big for a Wolfram Demonstrations project. But it has some asynchronous tasks in it and it must be interacted with to be read.
 
@Reb.Cabin I guess our admins would be happy to re-activate our mathematica blog.
The last entry is from Sep 2013!
 
wow. it's a cool blog, tho :) I have one on Kalman filtering as a functional fold. But I do folds over asynchronous observables, so it's gotta be interacted with.
 
 
2 hours later…
9:17 PM
Hi Mr.Wizard, hope i am in the right place.
 
@kguler Welcome!
 
i am in the right place...
 
In 10.0.2:
wd // Shallow
> TemporalData[TimeSeries, {{<<1>>}, {<<1>>}, 1, {<<2>>}, {<<2>>}, 1, {<<2>>}}, True, 10.]
What do you get in v9?
 
i get `{{{<<3>>}, 12.22}, {{<<3>>}, 14.11}, {{<<3>>}, 14.17}, {{<<3>>},
13.94}, {{<<3>>}, 14.22}, {{<<3>>}, 15.33}, {{<<3>>},
14.44}, {{<<3>>}, 14.11}, {{<<3>>}, 13.61}...`
I think i have seen similar issues with FinancialData.
 
So in v9 WeatherData imports as a plain list, not a TemporalData / TimeSeries object?
 
9:21 PM
Yes.
In addition, I think date lists are also wrapped in DateObject/TimeObject stuff in v10.
 
@kguler Let's see if we can figure out how many *Data types are affected. I would like to include this information in:
40
Q: Incompatible Changes since Mathematica Version 7?

Mr.WizardThere is documentation of the incompatible changes made to Mathematica with each major release: Incompatible Changes since Mathematica Version 1 Unfortunately that documentation simply stopped with version 7. Therefore I ask: What incompatible changes have been made since Mathematica 7? ...

In addition to TimeSeries every temperature element is also a Quantity expression; is that true in v9 or is that another change?
(It seems to be but I suppose it could be a formatting difference, which is why I ask.)
 
in v9, they are not wrapped in Quantity
 
@kguler I edited your question with the code needed to make your answer work in v10. At the same time I imagine a different approach could make use of the v10 functionality as well but I don't have time to dig into it right now.
(Sorry, it's a rather clumsy edit; reformat it as you wish.)
@kguler FinancialData still appears to return plain lists in v10.0. I shall add WeatherData to the Incompatible Changes post; if you suspect other changes let me know and we can figure them out, OK?
 
thank you Mr.W.
Sounds good, I will.
 
See you later.
 
9:43 PM
see you..
 

« first day (1180 days earlier)      last day (3310 days later) »