User Portlet
Discussions |
---|
Thanks for a fun game! Some quick thoughts: 1) If you use a TextGrid (instead of Grid) with a monospaced font you can avoid the line lengths differing (as they do in the picture at the top of your post). 2) The While logic is can be simplified... |
Thanks Gianluca! Of course, I meant to index v from 1 to 5 not 0 to 4. Comes from spending the past 2 months programming in Racket and Rust... how quickly I forget. :-/ |
Hi Alan, Thanks for the help. Now I can get the current price of all my equities, but I still can't get any historical prices. What is the best way to submit a bug report? Edit: I just used the web interface to support to issue a problem report. ... |
Hi Marco, Thanks for your thoughts. I fixed the typo and got your code to run on 1000 stars... very nice. Thanks for a thought-provoking article! Regards, -Joe |
Just FYI, it appears that this only works if you already have Mathematica 11 on your Pi. I tried to upgrade the Pi I have (which has Mathematica 10) and all I could do was get the latest version of Mathematica 10. |
Removing AppendTo did speed it up! The following code completed in just under 6 minutes... thanks Frank! ClearAll[blumblumshub, makelines, vectorXprod, euler165] blumblumshub[n_] := Mod[Rest@NestList[Mod[#^2, 50515093] &, 290797,... |
OK, I've gotten it good enough for me. Here's the code I'm using: [code]nbScan[line_, str_] := Block[{s = StringSplit[StringDrop[line, -1], x : RegularExpression[(str)] :> Style[x, Red, Bold, 16]]}, If[Length@s >= 2, Print[Row[s]]]]... |
Hi Christopher, What's wrong with the data below is that the closing values for the dates *before* 5/2 are incorrect. They should be adjusted because of the distribution. {{{2014, 4, 29}, 93.02}, {{2014, 4, 30}, 93.17}, {{2014, 5, 1},... |
Thanks Sean (if you get a chance, you might want to edit your post to fix the "double" URL at the bottom). Since Graphs need to be drawable, etc. in Mathematica, maybe it's a memory issue? My Weights are all integers. To answer your first... |
Very nice... thanks. You may want to edit your post to ensure that you consistently use "RemoteEvaluate" or "PiEvaluate" (I prefer "RemoteEvaluate"). -Joe |