Reputation
12,721
Top tag
Next privilege 15,000 Rep.
Protect questions
Badges
22 50
Newest
 Necromancer
Impact
~113k people reached

Aug
27
comment Select Cells to End of Notebook
Thanks for the information about the source, not exacty where one would actively search, but at least it's there:-). But isn't what you describe in the comment what already is in your answer and the "SelectNextLine" would allow to select the current cell and then extend to the end of the notebook? Something like: SelectionMove[InputNotebook[], All, Cell]; FixedPoint[(FrontEndTokenExecute[InputNotebook[], "SelectNextLine"]; SelectedCells[InputNotebook[]]) &,{}]
Aug
27
comment Select Cells to End of Notebook
very good find, turns out there is also a FrontEndToken "SelectNextLine" which would allow to select the rest of the notebook from top to bottom instead from bottom to top. Both seem to be quite useful, would you mind to share where you did find them?
Aug
22
comment User defined packages don't load with $\mathtt{Needs}$ or $\mathtt{Get}$
I think the pointer that Jack gives in his answer is correct, but you can achieve the same effect without using a notebook. Just select all cells in the package file opened in Mathematica as shown in your screenshot and convert everything to code cells (use the menu "Format" -> "Style" -> "Code or just Alt-8). Your code seems to be all in one input cell which is only contained as comment in the package file.
Aug
21
comment best practices for saving Datasets and TemporalData to a SQL database
@LeonidShifrin thanks for the extra information, it is appreciated. So we can now only hope that that stuff will officially appear in an future version soon...
Aug
21
comment best practices for saving Datasets and TemporalData to a SQL database
One important advantage that hdf5 in principle would support (though not the current Import implementation) would be to write and access only parts of huge numeric arrays at a time, e.g. read/write only some columns or rows of a 100000x100000 double array. That would make it possible to work with data even if it does not fit (or hardly fits) into memory and I think that would be an important feature for a system like Mathematica which is not specifically memory efficient. Am I correctly guessing that the new Dataset/Streaming stuff will allow such functionality as well?
Aug
21
comment Why does this LibraryLink example of LinkObject based passing not work? Bug or user error?
OK, thanks for the information, that all sounds interesting. I just was wondering, but it is good to know who to ask when having questions :-). I have myself used LibraryLink only to pass around largish numeric arrays in pure C and found that working very well and efficient and I think for that purpose LibraryLink is better suited than MathLink. So far I have no experience with anything else, though...
Aug
21
comment Why does this LibraryLink example of LinkObject based passing not work? Bug or user error?
as you are asking many LibraryLink related questions lately, may I ask what you are working on?
Aug
21
comment best practices for saving Datasets and TemporalData to a SQL database
From some leftovers in the documentation I guess that the long term goal for datasets is (was?) to support SQL databases as a kind of backend. Of course that only makes sense / will work (well) for certain kinds of datasets. As for TemporalData-like data the common knowledge is that SQL databases are in general not well fitted to hold data which is purly numeric arrays. There are projects to extend SQL databases to have special support for arrays but the current best practice is to store such data in other ways, and I think hdf5 has become a quasi standard for such data in recent years...
Aug
19
comment How to reference StringExpression named parts from a package without full Context path?
everything always takes too much time, but I'm enjoying the freedom to waste my time as I like :-)
Aug
19
comment How to reference StringExpression named parts from a package without full Context path?
@LeonidShifrin: I didn't actually plan to give an answer, but your comment made me feel I have to :-)
Aug
19
answered How to reference StringExpression named parts from a package without full Context path?
Aug
18
comment How to reference StringExpression named parts from a package without full Context path?
many of the symbolic Mathematica functions have the same problem, the standard way to solve it is to pass the symbols to be used as variables in a second argument...
Aug
3
awarded  Necromancer
Jul
24
awarded  Necromancer
Jul
6
awarded  differential-equations
Jul
3
comment Deleting a line from a file
for that application I would strongly suggest to only delete after writing. If your job terminates/crashes during "backup" all efforts will be lost. So if your quota allows two copies, it would make much more sense to write first and only delete when writing has succesfully finished...
Jul
3
comment Graphics3D artifact in Mathematica 10.1 64bit Home Edition - Windows 7?
I don't get those extra lines with 10.1 on Windows 7, both 64bit. So I think it is not a general problem with that version on Windows 7...
Jun
30
answered Import data from excel and store it permanently in notebook
Jun
29
answered Notebook cells space on disk profiler
Jun
29
comment Problem with NDSolve: derivative interpreted as square
@jon: the only answer so far suggested that this might be a formatting issue. It can happen in rare cases (e.g. by accidentially using some unknown keyboard shortcuts) that some of the formatting gets into a state where it is difficult to understand what happens. Could you select the cell which contains the equations and then choose the menu entry Cell -> Show Expression? This will show the plain box expression in the FrontEnd. If you would copy that and put it here as code we could probably understand what has happened...