Reputation
786
Next privilege 1,000 Rep.
See votes, expandable usercard
Badges
2 13
Impact
~8k people reached

  • 0 posts edited
  • 0 helpful flags
  • 3 votes cast
Apr
19
comment Solve doesn't solve my transcendental equation
Since you have several instances of a multiple (Sqrt[1 + Cos[a]]/1 - Cos[a]), I suggest you spell check first. You probably didn't want to divide by 1, so this is probably a mistype. Also, terms likeSqrt[1 + Cos[a]]/Sqrt[1 - Cos[a]] suggest that you may have arrived at these equations in a less than optimal way, which added unnecessary complexity.
Feb
14
comment How do I reassign canonical ordering of special expressions?
“I think I'd use whatever dirty hack offered.” — Or maybe not. It would probably affect pattern matching in definitions, e.g. of the form f@g@x___ where g is Orderless.
Feb
11
comment How do I reassign canonical ordering of special expressions?
related: mathematica.stackexchange.com/questions/31261/…
Feb
11
asked How do I reassign canonical ordering of special expressions?
Feb
10
comment Export to Google Spreadsheet with OAuthAuthentication
Sorry, I did miss at least ComposeMap[f___, x_] := Composition@f/@x and putInQuotes@s_String := "\"" <> s <> "\""; This signedJSONWebToken provides what Google refers to as “a JWT that has been signed and is ready for transmission”. Its first two options are superfluous. Dealing with external call is messy, because Windows. BTW, do you get notifications? (I don't see mentions of you; hopefully it's because the post is yours.)
Feb
10
comment Export to Google Spreadsheet with OAuthAuthentication
Hope I didn't miss anything: pastebin.com/gxr0tcPp (expires in a week)
Feb
10
comment Export to Google Spreadsheet with OAuthAuthentication
However, I also had to tinker with the PEM key that Google issued — again, with openssl. IIRC, I reexported it with this call: openssl.org/docs/apps/pkcs12.html Seems like it was necessary, maybe what Google sends to you is not classified as PEM at all; I can't tell.
Feb
10
comment Export to Google Spreadsheet with OAuthAuthentication
External call to openssl.
Feb
10
comment Export to Google Spreadsheet with OAuthAuthentication
“From what I can tell, it's not possible to authorize with Google Data without involving the browser at some point.” — It is possible with Service Accounts. developers.google.com/accounts/docs/OAuth2ServiceAccount I actually have a somewhat clean MMA interface for that (with manual key signing) but it's not clean enough to be released.
Feb
10
answered Tooltip with position of the list element
Feb
3
comment Creating a fast random array generator
Since there was a request for loop-less solution: Array[Block[{v = RandomComposition[n, n]}, If[Max@v > L, #0[], v]]&, {10^3, n}] It is also slightly faster on my machine; v8.0.1
Jan
25
revised For a given expression: if it appears, remove it, but if it is absent, add it
deleted 7 characters in body
Jan
25
answered For a given expression: if it appears, remove it, but if it is absent, add it
Oct
16
comment How to Use Mathematica as a C/C++ compiler
A completely reasonable and legitimate question. FrontEnd is a pleasure to use, so it's natural to wish for all sorts of compilers to be available in Mathematica.
Sep
23
awarded  Autobiographer
Jul
28
awarded  Yearling
Jul
21
revised How can I name patterns in a Switch expression?
added 136 characters in body
Jul
21
answered How can I name patterns in a Switch expression?
Jul
18
revised Implement settable properties
Added a disclaimer
Jul
18
comment Implement settable properties
@Szabolcs Oh, I didn't notice that in the initial post. :-( My answer seems to be completely useless then.