« first day (1407 days earlier)      last day (3074 days later) » 

4:07 AM
@Chris, I presume you know you can use the Chebyshev polynomials for this?
 
 
3 hours later…
7:29 AM
@J.M. I didn't use Chebyshev polynomials, but another idea. I was interested in the numerical evaluation, or you meant I should use Chebyshev polynomials to get the proper numerical evaluation by Mathematica? I know the closed-form of the limits of this type, $n$ must be split into even and odd parts such that the limit exists.
 
 
2 hours later…
9:43 AM
1
Q: New notebook fixed size

KubaUsing Ctrl+n we are effectively doing FrontEndTokenExecute["New"] and, at least on Windows, new window has WindowSize equal to current Input/Selected Notebook's WindowSize. Can Ctrl+n produce a notebook with fixed/predefined size? Is there any option for that? This method works for things lik...

 
10:26 AM
 
11:01 AM
@JacobAkkerboom hmm, and what about Community?
 
@Kuba Yeah I was wondering about that too.
 
11:28 AM
 
11:41 AM
@Karsten7. , ok so let's go all the way. Here they are sorted by total frequency
Here is the key to a nice download experience:
First@AbsoluteTiming[
  symbolUsageData =
   EntityValue[wlSymbs, {"Name", "Ranks", "Frequencies"}]]
 (*32.4398*)
 
12:00 PM
6
A: Wolfram Language symbols by their Ranks

ToniThis gives 5 symbols with the highest rank in "All": In[1]:= EntityValue["WolframLanguageSymbol", "Ranks", "EntityAssociation"] // Query[TakeSmallest[5] /* Keys, "All"] Out[1]= {Entity["WolframLanguageSymbol", "List"], Entity["WolframLanguageSymbol", "Rule"], Entity["WolframLanguageSymbo...

I just found it funny how highly ranked $Failed is.
 
12:24 PM
why this question wasn't closed already? mathematica.stackexchange.com/q/99188/5478
 
12:43 PM
@Karsten7. Ah yeah that is peculiar. It is caused by its frequency in the WolframAlpha codebase, which seems to have the most weight in "All". Thanks for pointing me to the Q&A!
 
1:19 PM
Why the last newline isn't encoded?
Style[
 ExportString["\n\t\n", "Base64"],
 ShowStringCharacters -> True
 ]
> "CgkK\n"
 
1:51 PM
@Kuba There is something bugish going on. It's not the \n of the string. Try for example Style[ExportString["t", "Base64"], ShowStringCharacters -> True]. It's related to ShowStringCharacters -> True.
 
@Karsten7. You are partially right, ExportString["t", "Base64"] gives a new line too, when you inspect the content so Show is not involved
@Karsten7. Style*
 
I've ShowStringCharacters set to True in my stylesheet, therefore I also get \!\(\*"\"\<dA==\\n\>\""\) (displayed as "dA==\n") as the output of Style[ExportString["t", "Base64"]].
 
@Karsten7. it seems it always gives "\n" at the end, should I expect that?
 
I don't think that one should expect that, but the outputs in the documentation also have an extra empty line. reference.wolfram.com/language/ref/format/Base64.html
 
@Karsten7. indeed -.-
@Karsten7. and it seems it doesn't matter for Import back if we have this newline or not.
#dailyFunWithMMA
 
2:07 PM
@Kuba `Style[ExportString["\n\t\n", "Base64"] // StringDrop[#, -1] &,
ShowStringCharacters -> True]` is the obvious workaround.
 
@Karsten7. I proceed with StringReplace[#, "\n"->""]& in case WRI fix this in future release and StringDrop drops something important
@Karsten7. thanks for help :)
 
@Kuba Yes, much better. Maybe StringReplace[#, "\n" ~~ EndOfString -> ""] & is even more save.
 

« first day (1407 days earlier)      last day (3074 days later) »