2,175 reputation
1045
bio website
location
age 29
visits member for 2 years, 4 months
seen 54 mins ago

As time goes on, I grow more disillusioned with quantum field theory.


4h
comment How to define a two-variable sequence?
Why not Sum[2^(n+m-2j),{j,0,m-1}] ?
1d
comment Why is C-compiled (but not WVM-compiled) code so slow in Manipulate?
This solution appears to work in 9.0.1 MacOSX and in 10.0.1 on Linux.
1d
comment Why is C-compiled (but not WVM-compiled) code so slow in Manipulate?
@Szabolcs Setting the option Evaluated->False does make it more responsive. I'm trying to find more info on this option, but the documentation doesn't seem to exist. Do you know where I can find more information?
Dec
15
comment Better replacement rules to perform this change of variables?
@thecommexokid I have modified the rules so that f[τ] correctly gets replaced to f[t], and changed the condition so that it looks only for {f, g, h}.
Dec
15
comment How to set InputAlias for all future notebooks that are opened in current session?
oops.. you're right: I meant to say that kguler's answer CurrentValue[$FrontEndSession, {InputAliases, "xx"}] = "X" is what I really needed (it applies to future notebooks too).
Dec
13
comment How to set InputAlias for all future notebooks that are opened in current session?
Two examples: (1) if the user wants to open a new window (as a scratch pad, for example) and wants to do a few calculations using the package functions in the new window, it would be nice to be able to use the aliases there, too. (2) my package will also have documentation that is embedded with the Wolfram doc center. It would also be nice to have aliases working in the pages there, too. The answer CurrentValue[EvaluationNotebook[], {InputAliases, "xx"}] = "X" seems to do what I need.
Dec
13
comment How to set InputAlias for all future notebooks that are opened in current session?
Thanks for the explanation about SetOptions vs CurrentValue; that is most useful. The tiny palette is a very amusing, and I will use it for myself frequently. But I feel that it would be inappropriate to have that in a package that I will share with others :-D
Dec
12
comment Disable templates for user defined functions with usages
I got an email from Wolfram saying that 10.0.2 is out; so, is it fixed now?
Dec
10
comment Creating cross-version compatible documentation with Workbench
@jkuczm The fix works. Thanks for taking care of it!
Dec
9
comment Creating cross-version compatible documentation with Workbench
@jkuczm I had a chance to try out your WWBCommon plug-in, and it's the best! I just noticed that there is a minor bug in adding up the total number of examples (which shows up in the 'Examples' heading in parenthesis). It seems to be over-counting when there are sub-sections. I believe the counter is looking through the whole tree adding the examples under 'sub-section' to those of the parent 'section', leading to double-counting. Would you be able to provide a fix? Maybe you could just add up the 'section' counters?...
Dec
9
comment I am going mixed
the folks at math.stackexchange will tell you $(-1)^{2/2}\neq((-1)^2)^{1/2}$
Dec
8
comment Fixing links to symbol pages with special characters made with Workbench
I decided to delete the Symbol page UnitLambda and make it again from scratch, this time naming it correctly right from the start. This solved the problem on MacOS and the link works from search pages, too. I also finally got my hands on a Linux machine with Mathematica 8.0.4, 9.0.1 and 10.0.1. The behavior is exactly as you describe in your comments, and all the links are working as intended. Many thanks for your help! [For some reason the problem still persists on Windows but I can live with that]
Dec
7
comment HTML documentation build issue with Wolfram Workbench 2 and MMA 9
It worked for me (Mathematica v9.0.1, Workbench 2.0), but all the links point to the web (reference.wolfram.com), so none of them really work.
Dec
6
comment Fixing links to symbol pages with special characters made with Workbench
I have tried MMA v9.0.1 and v10.0.1 on Windows Server. Link in usage message of Unitλ doesn't show up. But links within other symbol/guide pages pointing to Unitλ all work fine (corrected by Issue1). Pressing F1 has never gone directly to the relevant page (neither on MacOS or Windows) for any of my symbols; it has always gone to the Search results page which displays the relevant page as one of the top hits. Interestingly, even after implementing your hack, the link in the Search page pointing to Unitλ does not work (goes to blank page) on both my Mac and Windows machine.
Dec
5
comment Fixing links to symbol pages with special characters made with Workbench
This worked perfectly on my machine (Mac OSX, Mathematica v9.0.1). But for some reason, the hack doesn't work another test machine which runs Windows Server. I have already made sure none of my file names contain special characters. I will need to test on other machines and see if I can pin-point the problem...
Nov
30
comment Documentation with Workbench: Paclet vs Package
Thanks, after upgrading, it works exactly as expected. The documentation build is much more verbose, and has revealed some mysterious errors on every page that is being built (something about {paclet:name/guide/name} not being a replacement rule)...
Nov
29
comment Simplifying symbolic expressions involving dot products
I also suggest that you investigate the option TransformationFuntions that is given to Simplify to teach it to handle expressions involving your d function.
Nov
29
comment Simplifying symbolic expressions involving dot products
To help you with your d function, you could SetAttributes[d,Orderless]. Then all you need to define is d[p1,p2]=m (shouldn't the m be squared?). Then d[p1,p2] and d[p2,p1] will automatically be replaced with m.
Nov
29
comment Merging documentation from Workbench with handed-coded package
It worked; thanks!
Nov
29
comment Escaping out of (or exiting) a Compiled Function
Ok, it looks like @SjoerdC.deVries 's method works and doesn't compromise the speed too much (at least in the cases I'm working on)