2,010 reputation
713
bio website lauschkeconsulting.net
location Rahway, NJ
age
visits member for 2 years, 2 months
seen 5 hours ago

Mathematica, Java, Scala, C#, F# afficionado. Mooney lover. Steak lover. Linux lover (Fedora). German citizen. Politically: anti-bullshit. Financially: pro-bullshit. Apple hater. Pear lover. Hobby jurist.

Visit my Scala for Java Developers Class on udemy.com: http://www.udemy.com/scala-for-java-developers-transition-up


Aug
24
reviewed Approve suggested edit on How do I set up conditions at infinity?
Aug
13
comment Is this 30% slowdown in Mathematica 10 due to DownValues lookup time?
There will be a 10.0.1 not too long in the future, there's just too much problematic in M10. From what I hear through the grapevine, there should be a 10.0.1 not too far in the future. M10 has many performance problems of various types, and the cloud technology still has several shortcomings, and they know it.
Aug
7
awarded  Custodian
Aug
7
reviewed Approve suggested edit on Substituting values in 3j symbols
Jul
31
comment BitShiftRight produces incorrect results in Version 10
part 2: If you were to use it recursively, parallel or not, you would only get 52 bits on each precision level. The two things could be related if M is using integers in the same schema as rationals with no modular remainder; it wouldn't be hard to screw up the bit arithmetic if everything was being stored in an array of IEEE 64 bit floating point numbers using Intel's vector system. When you apply Developer`PackedArrayQ[v2] to the example you get True.
Jul
31
comment BitShiftRight produces incorrect results in Version 10
part 1: Here's a guess/suspicion I venture to suggest as a comment, which could be the cause. Try: max = $MaxNumber. After trying to contemplate that magnitude for a moment: max = Log[2, max] is Log[2, max]. So to me it looks as if WRI may have implemented a precision scheme, using the IEEE 64 bit floating point algorithm recursively by using the parallel framework.IEEE 64 bit gets 53 bit precision by always using the same first bit.
Jul
25
comment Using J/Link with Wolfram Programming Cloud
initial testing revealed that OnlineM lets you load JLink with Needs["JLink`"], but then upon ReinstallJava[] the kernel quits. I've also seen that it uses Java 7 update 13, which is quite depressing, given that the current Java is Java 8 update 11 since Jul 15. I'd assume that CloudM uses the same as OnlineM, but haven't been able to test yet.
Jul
21
comment Mathematica policy for correctness of results
a) What you describe is not warranty, it would be liability. b) WRI DOES actually provide warranty, if you read the terms. If the disk is broken, they'll send you a new one, and that is the maximum remedy. c) Liability in software is generally not offered, and if it's contractually agreed, then it's based on a custom contract, and not for standard software. But such contracts are rarely done, and the terms will usually specify things like free from liability, hold harmless, and indemnify. d) you really don't seem familiar with the regular business practices in the software industry.
Jun
28
awarded  Yearling
Mar
11
comment Elliptic curve cryptography in Mathematica
@Tyler: yes, I know Python is popular for crypto work. But you can't easily integrate it with M (at least to my knowledge), whereas with JLink it's right at your fingertips to leverage over from M to the JVM, and you mentioned "practical" in a comment.
Mar
11
comment Elliptic curve cryptography in Mathematica
As you want something practical, consider not writing it yourself, and instead using JLink to use EC algorithms from Java 7's JCA/JCE API: docs.oracle.com/javase/7/docs/technotes/guides/security/…
Jan
21
comment GUI Maker? Is there a perhaps drag and drop GUI maker for Mma?
Yes, create your own, using Java Swing, JavaFX, or WinForms, and then use JLink or NETLink. There are plenty of professional GUI builders out there. Note that JavaFX is the official replacement of Swing, so unless you have a deep background in Swing and have to learn one from scratch, learn JavaFX and ditch Swing.
Jan
1
comment Is Mathematica comparable to C++ for creating standalone applications?
That already makes it valid to nix this question. But ultimately, I think this question should be discussed in a much broader context, maybe on the community platform, because it's valid outside a uni context.
Jan
1
comment Is Mathematica comparable to C++ for creating standalone applications?
"stock" M defer to Java, we just don't realize it, because it's "hidden" in code that calls into Java under the hood. Ultimately, this group should decide what they/we mean by referring to M. The language, or the technology platform. The hobbyist users in this group, which comprise a large chunk, if not the majority, will see M as the language only. They want to see solutions only that can be punched into the M f/e. But M is much more. M is an enabling platform (again, I'm using official marketing materials). And what also doesn't help is the o/p's reference to a uni project.
Jan
1
comment Is Mathematica comparable to C++ for creating standalone applications?
Both posters below (as of 20140101, evening EST) confirm the problems you're getting into when trying to develop UIs. Obviously, you can create UIs in M that you can't create in the JVM or .Net, but also likewise, you can create UIs in the JVM and .Net that you can't create in M. In the end, what's possible vs. what's not possible depends on the question. The M f/e and the CDF are great if all you want is features already supported by the M system. Go beyond it, and you're stuck. Already the first item in the o/p's list, timers, is not really doable in a practical manner. And the timers in
Jan
1
comment Is Mathematica comparable to C++ for creating standalone applications?
valid. In addition, by using the JVM or .Net you have multiple programming languages available as well. I think the misunderstanding that many/most M hobbyist users have is that they are too much in love with the M language that they forget that M in and of itself is primarily a technology platform (I can support this with official marketing materials). WRI claims publicly that all of Java has become part of M (same would be true for .Net, by analogy). And you simply can't control threads from M, you need a parallelism framework such as is implemented in the JVM and in .Net.
Jan
1
comment Is Mathematica comparable to C++ for creating standalone applications?
Although I regularly, consistently get 2 downvotes everytime I post a solution that uses JLink, I want to mention the fact that using JLink and/or NETLink for several tasks is not only an "acceptable", but even recommended way to implement solutions that require features that go beyond "stock" M. JLink and NETLink and MathLink are officially part of M, and the marketing materials support this. The o/p is talking about threads and kernels, and you obviously can get more threads than kernels (which is a licensing restriction, not a technical one), so linking to the JVM or .Net is perfectly
Dec
31
awarded  Good Answer
Dec
20
comment ParallelTable and DistributeDefinitions
+1. Also note from the documentation: "DistributeDefinitions applies itself recursively to any symbols appearing in the definitions of the symbols s_i."
Dec
20
revised ParallelTable and DistributeDefinitions
edited body