Reputation
Next tag badge:
283/100 score
18/20 answers
Badges
8 227 319
Newest
 Enlightened
Impact
~512k people reached

May
8
comment How to compare power towers in Mathematica?
@VladimirReshetnikov I am sure there are more serious bugs in my function though, e.g. for very large base numbers. This is sort of a quick and dirty first try, still needs some polishing.
May
8
comment How to compare power towers in Mathematica?
@VladimirReshetnikov In fact, my function does not really fail: it returns a warning and 4 Log[2] < 2 Log[4], which is correct (although useless) :). Could add FullSimplify, then it returns False as it should.
May
8
comment How to compare power towers in Mathematica?
@VladimirReshetnikov Well, in a way, that's not quite my fault: try to evaluate 4 Log[2] < 2 Log[4] in Mathematica. I could have inserted N in some places to avoid that, but that would have introduced another possibility for an error due to going to inexact numbers.
May
8
comment How to compare power towers in Mathematica?
@swish Oh I am sure it exists, since I have used a couple of assumptions I mentioned in the text, so my function does not have a status of a theorem. I did not have the time to elaborate on the failing conditions, but I am sure it can be done.
May
8
revised How to compare power towers in Mathematica?
Restructured, added intro
May
8
revised How to compare power towers in Mathematica?
added 8 characters in body
May
8
answered How to compare power towers in Mathematica?
May
7
comment How to compare power towers in Mathematica?
Related question.
May
7
comment Unset variable by its name given as a string
@Szabolcs ToHeldExpression is deprecated and undocumented, but I am sure it will stay.
May
7
comment Unset variable by its name given as a string
+1. I remember that you have a long history of using this construct, which I also use often. @sakra An alternative: Unset @@ ToHeldExpression["x"]
May
6
comment InputField does not update correctly
Somehow I missed this question and your answer completely. +1. Good warning about code injection.
May
6
revised Instruct a Table to only evaluate until a condition is fulfilled
Corrected a regression logic error (now "below", not "above")
May
6
revised Instruct a Table to only evaluate until a condition is fulfilled
Restructued the code
May
5
revised How can this AbsoluteTime call be made faster?
added 4 characters in body
May
4
comment Comparing Mathematica expressions like diff
@SjoerdC.deVries Yes, one can say that. Although, for the purposes of undo, one would need a more advanced version of this, that would reconstruct one expression exactly from another one and the diff structure. But in the past I have developed this sort of diff as well, could probably improve that and bring up to date.
May
3
comment Compiling more functions that don't call MainEvaluate
@Szabolcs Since you mentioned "InlineExternalDefinitions", you may as well mention "InlineCompiledFunctions", which is logically related (although more tangential here).
May
3
comment Compiling more functions that don't call MainEvaluate
@J.M. Because in general it may have conditions on patterns, so that those definitions can not be expanded. Besides, one function may have several separate definitions with SetDelayed. In general, rule-based functions are currently non-compilable. One of the main reasons is that pattern-matcher is dynamic (data-dependent and also calls main evaluator when Condition or PatternTest are present), and so pattern-matching can not be done at compile-time, or even compiled to something efficient, without additional information which is only available at run-time. JIT might be possible though.
May
3
comment Compiling more functions that don't call MainEvaluate
+1. Related answer. Note particularly the last solution there, based on what I call code freezing - it is similar in spirit to what you are doing here with step, albeit based on an entirely different mechanism of evaluation control.
May
3
comment Open-source IntelliJ IDEA plugin to support Mathematica development
I could at least give it a try, but mostly just for my own sake, since I could learn a lot in a short time (having this motivation). I doubt I would actually be able to produce anything close to what @halirutan has in just two days.
May
3
comment Open-source IntelliJ IDEA plugin to support Mathematica development
@halirutan If I had two days of free time, I'd perhaps join the fun :-)