Reputation
13,541
Top tag
Next privilege 15,000 Rep.
Protect questions
Badges
25 52
Newest
 Yearling
Impact
~133k people reached

Nov
25
answered How can I export to HDF5 with a specific Datatype (“DataFormat”)
Nov
25
comment Exporting large data with H5 format cuase crash
While I think you are correct about Mathematica only implementing a small subset of hdf5 (and even that subsets lacks in quality), I think it is not correct that "data is saved as an attribute". If I check a file generated with Mathematica (with a dataset definitely violating the attribute restrictions) e.g. HDFView I see the exported dataset reported as type "HDF5 Scalar Dataset". Can you explain why you think "data is saved as an attribute"?
Nov
24
comment WhenEvent behavior changed from v9 to v10 - how to fix the code?
strange: I just tried this on my Windows 7, 64bit box with Mathematica 10.2 and 10.3 and while I see the same errors, for me the event is working as intended, even on first try...
Nov
22
answered How can I create an empty JSON object?
Nov
21
revised Add semicolon at the end of code line programmatically
added 191 characters in body
Nov
21
comment Add semicolon at the end of code line programmatically
The edge cases are the drawback of the Boxes vs. held FullForm approach I guess. Do you think that making it CW has other drawbacks than me not earning reps? Actively preventing the latter helps me to avoid to spend to much time on the site :-)
Nov
21
comment Add semicolon at the end of code line programmatically
I was guessing that there are many cases where it will fail, this one was -- I think -- easy to repair. As I won't have time to improve the code to handle all corner cases I made the answer a comminity wiki, so everyone finds cases where the above does not work and has time to fix the code, please feel free to change the code...
Nov
21
revised Add semicolon at the end of code line programmatically
changed code to handle empty lines
Nov
21
answered Add semicolon at the end of code line programmatically
Nov
18
comment File Formats for Scientific Data
Another thing which I think makes HDF5 attractive is that there are several ways to roll your own importer if it would turn out that the standard Import would not suffice for whatever reason (examples you can find on this site by searching for HDF5)
Nov
18
comment File Formats for Scientific Data
I also would suggest HDF5, I have used it with no problems and think it would work well for your use case, and much better than text files and the alternatives (I think newer NetCDF versions are based on HDF5, so I don't think there is a big difference there). The Mathematica implementation is decent, but could be faster and especially more memory efficient, but that only becomes relevant for data in the order of several GB with current hardware. It is also not very complete (full HDF5 is quite complex), but easily covers what you seem to need.
Nov
18
awarded  Good Answer
Nov
17
comment Bug in ExportString with Associations as ExpressionML?
thanks for the information, @Murta. Just realized that the question was that old and just edited today...
Nov
17
comment Bug in ExportString with Associations as ExpressionML?
@Murta: would you mind to share what exactly works much better :-). Anyway I agree that this is a bug and ToString and Compress are good candidates for the use case you mentioned. If you mention REST and ever would want to access the service with something that is not Mathematica another alternative format that comes to mind is JSON which I think should play well with Associations (but probably not with more involved expressions like Graphics...)
Nov
16
answered Importing large datasets using streams
Nov
11
comment Moving files around
see documentation for FileNameTake, FileBaseName and FileExtension, DirectoryName might also be of interest...
Nov
9
comment What is the difference between a .wl package and a .m package?
one more thing: it seems that workbench still doesn't know about .wl files, but maybe I just don't know how to get the most recent version, does anyone know what the newest is? The update site announces 2.0.138 to be the newest for years...
Nov
9
comment What is the difference between a .wl package and a .m package?
it seems that there are differences in the order in which package files are loaded (check the wolfram groups discussion mentioned in your question). But that will probably only be relevant when you mix old (.m+Kernel/init.m) and new (.wl only) conventions...
Nov
9
comment What is the difference between a .wl package and a .m package?
1. just the file ending AFAIK, 2. if you have installed matlab (or another software which also uses .m file extension) it is easier to let the OS distinguish between matlab files and mathematica packages, 3. because that now seems to be the extension prefered by WRI, most probably more for marketing reasons than because of 2. My impression is that .m was just left to work for compatibility reasons, but maybe I'm wrong with that...
Oct
27
comment Can Wolfram's Player Pro use proprietary packages?
hm, never tried whether it works or not, it does work with encoded packages at least :-). Have they announced/documented any changes?