« first day (2836 days earlier)      last day (1658 days later) » 

2:05 AM
Does anybody have a package to denest radicals, e.g. to convert Sqrt[1205 + 560 10^(1/3) + 260 10^(2/3)] into Sqrt[5] (9 + 4 10^(1/3) + 2 10^(2/3))?
 
 
1 hour later…
3:22 AM
@b3m2a1 That works for specific instances, I was hoping there would be a way to do it generally since I have a lot of such values with different amounts of radians in them. I ended up writing a function using UnitDimensions
stripRadians[q_] :=
 q*Quantity[
   "Radians"^-Association[#[[1]] -> #[[2]] & /@
        UnitDimensions@q][["AngleUnit"]]]
I do wonder if there's a better way to get the "AngleUnit" part of something like {{"AngleUnit", -1}, {"LengthUnit", 1}} without that weird blob converting it to an Association
 
 
12 hours later…
3:07 PM
@Pavel Normal should be able to remove angles from quantities, but it seems to fail when the "Radians" unit is part of a compound unit.
 
3:56 PM
posted on October 24, 2019 by Stephen Wolfram

Wolfram Notebooks on the Web We’ve been working towards it for many years, but now it’s finally here: an incredibly smooth workflow for publishing Wolfram Notebooks to the web—that makes possible a new level of interactive publishing and computation-enabled communication. You create a Wolfram Notebook—using all the power of the Wolfram Language and the Wolfram [...]

 
 
4 hours later…
7:38 PM
@CarlLange This is one of those (many many) moments where just talking to people on the internet makes a big improvement in one's life. I'd read about TypeScript before but forgotten about it and it's really making life better in a Markdown-annotator I'm writing.
I make pretty extensive use of PyCharm's type-hinting in Python and it's really nice to have that kind of help with Javascript too, especially given that I don't know Javascript well...
 
8:31 PM
Does anyone know if there is a Pentagonal Pyramid region primitive in the WL?
 
 
1 hour later…
9:37 PM
@b3m2a1 Yeah, it's a really great set of additions to the language! Removes a lot of foot-guns
 
10:32 PM
Clearly all web pages should be in the form of a published wolfram notebook
[related wolfram blog post]
 

« first day (2836 days earlier)      last day (1658 days later) »