« first day (1671 days earlier)      last day (3111 days later) » 

01:47
0
Q: Canonical Q&A needed: Assumptions with patterns

Mr.WizardAs I just discovered while gathering Related links this question comes up again and again in one form or another: Assumptions on unknown functions Simplify equations with pattern assumptions Simplify using functional equations Problem with general assumptions Unknown function with arbitrary arg...

 
13 hours later…
15:02
Hi :) is there a simple function in MMA 10.3 that I am missing to partition a list of, i.e., 177 numbers into a sublists of different known lengths, i.e., {9, 4, 4, 4, 4, 4, 1, 4, 1, 4, 1, 1, 4, 4, 1, 4, 1, 1, 1, 4, 4, 4, 4, 4, 1, 4, 1, 4, 1, 1, 4, 4, 1, 4, 1, 1, 1, 4, 4, 4, 4, 4, 1, 4, 1, 4, 1, 1, 4, 4, 1, 4, 1, 1, 1, 4, 4, 4, 4, 4, 4}?
15:27
@Szabolcs Hi, I have applied your method to my package to return the second result. Thanks a lot :) Please see the below snapshot.
15:49
``Internal`PartitionRagged[list, {9, 4, 4, 4, 4, 4, 1, 4, 1, 4, 1, 1, 4,
4, 1, 4, 1, 1, 1, 4, 4, 4, 4, 4, 1, 4, 1, 4, 1, 1, 4, 4, 1, 4, 1,
1, 1, 4, 4, 4, 4, 4, 1, 4, 1, 4, 1, 1, 4, 4, 1, 4, 1, 1, 1, 4, 4, 4,
4, 4, 4}]``
@JasonB thank you!
@pH13-YetanotherPhilipp I think there's no built-in solution. The best solution is [here] (mathematica.stackexchange.com/a/123516/5467).Though the proposed solution ( FoldPairLsit[TakeDrop...] ) is hard to understand. You can see also the other answers for the related question. In terms of speed the proposed solution seems to be equivalent to the others.
 
1 hour later…
17:12
I would like to insert some code properly in this chat room. I can't find information about this. I have tried many things in a sandbox-chat-room but I didn't succeed. Any help ?
I have re-read this link once again. The only relevant information I find is that code must be between `` but it doesn't work. See for example my old post here
@Szabolcs Agree fully with you on that. I guess there was a need from the engineering world or so. As a physicist working in a consistent unit system (SI) I never felt the urge to use units in calculations as you already know the result beforehand. The change in DateDifference broke a number of my routines, so I usually set it back to its original behaviour using the documented setting.
Come to think of it: the most probable reason for the introduction of units would be WolframAlpha.
@andre Based on my experience: Inlined code using `` in chat only works properly for single lines (it fails if there are line breaks within the ``)
Code blocks using four spaces only format correctly when send as a separate message.
17:43
@Szabolcs I think one can switch it of with SetSystemOptions["DataOptions" -> {"ReturnQuantities" -> False}]
 
2 hours later…
19:25
hello
Im having some problems with my Mathematica. there seems to be some background process that gets stuck.
Is here some way to see what dynamic item is eating up the time on my kernel?
Like say the command ps on a *nix machine
@ShutaoTang i see you have made some progress
20:11
@joojaa by dynamic you mean Dynamic or is it from a different area?
20:36
@Kuba I reported your example to the developers.
@Searke with FormFunction?
Yes.
Thanks
20:47
@Kuba something is computing in the background but i dont see why anything would need to compute as all items are refreshed.
By the way did they fix the font issue of v10 in v11?
@Karsten7. I'm not sure why EntityClass["WolframLanguageSymbol", "UnderDevelopment"] was removed. I would guess that the name of it probably wasn't considered correct. I sent a note along asking what was up and seeing if it can't be reinstated in some form.
What if you minimize all notebooks?
Still running something
@joojaa to monitor communication between FrontEnd and Kernel you can use LinkSnooper but I am not sure how to trace what is going on if you don't know where it came from to the Kernel.
oh ok ill have to hunt my settings then
Im habing a really bvad mathematica day
why does not:
Plot[Sum[BernsteinBasis[2, i, (x + 1)/2] /. x -> t, {i, 0,
2}], {t, -1, 1}] not plot a line at 1
but setting range to positive does
21:05
@joojaa I see a line at y==0. It is clearly visible with AxesOrigin -> {0, 0}.
@Szabolcs @Pickett ResourceObjects aren't fully finished. So right now, they're not very useful. You can basically search for some more example data. The example you showed on the marketing page probably shouldn't exist. It was probably written before it was decided what would make it into version 11. I've asked them to update that page in some way so it makes more sense.

« first day (1671 days earlier)      last day (3111 days later) »