| bio | website | |
|---|---|---|
| location | ||
| age | ||
| visits | member for | 1 year, 4 months |
| seen | 2 hours ago | |
| stats | profile views | 382 |
|
Apr 4 |
comment |
Unencoding encoded URLs in a function I'm not an expert for this, and the relevant standards have changed once in a while. But concerning PercentEncode maybe is worth noting that as far as I understand the decoding should always give unambiguous results while the encoding is somewhat arbitrary: it has not always been exactly specified which characters have to be encoded and which not, the latest RFCs about this seem to be more strict. So encoding with different functions/services might give different results, but I don't think that means there is an error as long as the decoding results in the same string. |
|
Apr 4 |
revised |
Unencoding encoded URLs in a function added reference |
|
Apr 4 |
answered | Unencoding encoded URLs in a function |
|
Apr 4 |
comment |
Printing a Dynamic variable inside Dynamic @IstvánZachar: no, I don't know why Print from within a Dynamic goes to the Messages notebook and also don't know of a way how to change that behavior. My guess is that it is like it is to prevent e.g. dialogs containing Dynamic to be misshaped by accidental printed output. What you could do is to define a function which CellPrints a "Print"-style cell to EvaluationNotebook[], but that might behave slightly different... |
|
Apr 3 |
comment |
Emulating a button push or a mouse click with Mathematica code @Daroslav: can you explain why you (think you) need the preemptive link? If your calculation takes time, using the queued link seems to be your best choice. From what you write I'm not convinced that what you need can't be done with Method->"Queued". I think you should explain better what you try to do and why -- probably without preemptively excluding possible solutions. And remember: providing an example (especially if it demonstrates what does not work) for people to play with will always help a lot to get better answers. |
|
Apr 2 |
revised |
Exporting a Video of a Simulation of Pendulum Motion added descriptions to links |
|
Apr 2 |
comment |
Exporting a Video of a Simulation of Pendulum Motion it is common practice and accepted behavior to answer your own question and even accept it in such cases. As you have triggered my attention to this question, I have added an answer which you can accept, if you think it answers your question... |
|
Apr 2 |
answered | Exporting a Video of a Simulation of Pendulum Motion |
|
Apr 2 |
comment |
How to Initiate a queued evaluation from a Dynamic GUI without using a Button I now see that it was not enough to just post that fragment to get the correct behavior. I think the complete solution does work as you want, but I needed to add some to make the controller variable change continuously. As this is now too long for just a comment I added an extra answer... |
|
Apr 2 |
answered | How to Initiate a queued evaluation from a Dynamic GUI without using a Button |
|
Mar 30 |
comment |
How to Initiate a queued evaluation from a Dynamic GUI without using a Button I think that there is a somewhat simpler way to achieve the same: You can use as the first argument to the DynamicWrapper something like the following: Slider[Dynamic[x, (x = #; trigger = True) &], {1, 4}, ContinuousAction -> False, Appearance -> "Labeled"]. This is not only somewhat simpler, it also will work with gui elements which are not triggered by the mouse, as e.g. InputField... |
|
Mar 30 |
comment |
CreateCOMObject doesn't work on home edition I guess it could have to do with the .NET version that is used. Version 9 uses .NET 4.0 while Version 8 seems to use 2.x according to ShowNETConsole. I guess that somehow you need to ensure that PinPoint.Plate is registered in such a way that the .NET version used by mathematica sees it. I'm no .NET expert and don't know PinPoint.Plate, so I don't have an idea how to achieve that... |
|
Mar 30 |
answered | Translating MATLAB's cell2mat into Mathematica |
|
Mar 28 |
revised |
Why does array packing in Table behave like this? corrected answer which didn't work, note about example |
|
Mar 28 |
comment |
Why does array packing in Table behave like this? @Mr.Wizard: sorry, I didn't realize that for the first example packing does work even with the variable and probably just was slower by accident (it isn't for me on average). For the other case my first suggestion indeed doesn't work. I'll update. Thanks for pointing out... |
|
Mar 28 |
comment |
Non-preemptive evaluation of a dynamic function? would you consider this question to be a duplicate to be removed? |
|
Mar 28 |
answered | Why does array packing in Table behave like this? |
|
Mar 28 |
comment |
Non-preemptive evaluation of a dynamic function? Are you aware of this? It looks to me like an authoritative "not possible" (yet?) to what you want to achieve, or am I missunderstanding your question? |
|
Mar 28 |
answered | Controlling preferences of deployed notebooks |
|
Mar 28 |
comment |
Problem with PlayerPro recognizing a proprietary package @Jagra: I'd appreciate if you report on the result about the init.m. OTOH I have a feeling that it is not just an incident or bug that both these autoload features don't work, but rather is on purpose for unclear reasons... |