| bio | website | |
|---|---|---|
| location | ||
| age | ||
| visits | member for | 1 year, 4 months |
| seen | Apr 12 at 5:05 | |
| stats | profile views | 625 |
The "WR" in my name has nothing to do with the company that develops Mathematica.
|
Apr 23 |
awarded | Popular Question |
|
Apr 5 |
answered | MakeJavaObject on list of inhomogeneous objects belonging to the same base class |
|
Apr 5 |
answered | Using enum values with J/Link |
|
Mar 18 |
awarded | Guru |
|
Feb 26 |
awarded | Nice Answer |
|
Feb 10 |
revised |
Counting the population of integers replaced `Map` with `Scan` |
|
Feb 10 |
answered | Counting the population of integers |
|
Jan 31 |
comment |
Use Mathematica as a terminal @Lime There is no deep reason for my choice... until you mentioned it I hadn't really noticed that I had switched my common usage from <> to ~~. |
|
Jan 28 |
comment |
Handling error in database connection (TimeConstrained) @Murta Yes, we can reset the parameter without opening a new connection -- see my update. |
|
Jan 28 |
revised |
Handling error in database connection (TimeConstrained) added the update about how timeouts are implemented |
|
Jan 28 |
answered | Handling error in database connection (TimeConstrained) |
|
Jan 27 |
answered | Use Mathematica as a terminal |
|
Jan 18 |
awarded | Yearling |
|
Jan 14 |
revised |
Ways to compute inner products of tensors edited body |
|
Jan 14 |
answered | Ways to compute inner products of tensors |
|
Jan 14 |
comment |
Suspecting bug in Parallel Framework @Szabolcs ... But to prohibit library code from referencing named arguments within a slotted pure function is far too draconian. It is much easier to prohibit client code from using dangling slots -- it is rare and easily avoided. I totally agree that it is unfortunate that these cases exist and that code generation can be very hard. My strategy to cope with that is to try to avoid non-trivial evaluations within generation (e.g using Hold, Block, etc). |
|
Jan 14 |
comment |
Suspecting bug in Parallel Framework @Szabolcs. True the documentation has an example of generated slots, but the example conforms to my advice to only use it when the exact context is known ( f has no definitions). I totally agree to report it -- I reported the issue in my blog. Sounds like a great possible issue for the docs. However, I anticipate the same response: avoid the situation. ... |
|
Jan 13 |
comment |
Suspecting bug in Parallel Framework @OleksandrR It is not always a simple matter to bulletproof a pure function body against injected slot references. What about the Send function exhibited in @Szabolcs answer? Named pure function arguments don't help either -- they have problems of their own. Even if such bulletproofing were simple, it is not common practice. I'm not arguing that this behaviour is desirable, but I am saying that we shouldn't expect well-defined behaviour from an ill-defined language construct. |
|
Jan 13 |
answered | Suspecting bug in Parallel Framework |
|
Jan 10 |
answered | StringMatchQ and Alternative throws message in init.m |