« first day (1501 days earlier)      last day (2989 days later) » 

12:15 AM
I think this question is a duplicate but I don't want to cast a binding vote. My proposal for the original are in a comment below the question.
9
Q: Figure in animated GIF is oscillating as it rotates

ruima86I'm trying to draw a figure as shown below and make it rotate around the vertical axis (z-axis) automatically. This is how I generate the figure and make it rotate: Δϕ = π 14.0/13.0; p1 = Show[ Table[ RegionPlot3D[ x^2 + y^2 + (z - j)^2 < 0.5^2 && (x - 0.4 Cos[j ...

@Ozera Are you solving for x or a? I hate trying to guess from code-as-an-image; it's so much easier to work with a self-contained code example.
 
1:19 AM
@Mr.Wizard what?
 
1:38 AM
If anyone is in position to confirm that this is in fact a bug we should tag it as such:
2
Q: why does ReadString["fname",term] open a persistent stream, and how to close it?

AlanCreate a file temp.txt with the following content: test1 ;;; test2 ;;; test3 ;;; Treating the semicolon sequence as terminator, try to repeatedly read to the first terminator. Table[ReadString["temp.txt", "\n;;;"], 6] Contrary to my intent, this does not create a list holding "test1" 6 time...

@Ozera Nobody that I know of likes working with an image of code rather than the code itself. I think you should post a Question, but include a complete example that others can evaluate.
 
 
4 hours later…
5:49 AM
@psimeson You could autosave the notebook at intervals. Feel free to ask a question or ping me. The trickiest part would be deciding when a new autosave should be made. Word lists multiple revisions not to mention autosaving after every document change isn't ideal.
I desperately wish Mathematica had better table support at least we have undo I guess.
 
 
2 hours later…
7:54 AM
Another question about subtleties of stylesheets, any insights?
0
Q: FormatType with respect to Cell's content

KubaMinimal example: Let's establish a notebook's stylesheet with additional TestStyle which has a FormatType->"CellExpression": SetOptions[ EvaluationNotebook[], StyleDefinitions -> Notebook[{ Cell[StyleData[StyleDefinitions -> "Default.nb"]], Cell[StyleData["Notebook"], Background -> Li...

 
 
5 hours later…
1:16 PM
Finding edges of parametric surfaces from a specific viewpoint (what's the correct name for those again) symbolically....
It's surprisingly straight-forward!
 
Hmm, that's the Richmond minimal surface, no?
 
@J.M. Yep, the equation is stolen from that recent question...
 
I just call 'em "rims"… :D
 
I'm reasonably confident there's a "serious" name for them, too. :I
 
1:38 PM
The above plot is sort of an illusion...
Exactly the same from a different angle.
 
 
4 hours later…
5:09 PM
Hello from there. Although it's night now.
First time I've seen someone swimming not only with a waterproof camera on a selfie stick, but they also had a drone automatically following them taking even more pictures.
No fun advent of code happening during this vacation.
 
 
2 hours later…
7:15 PM
Hi everyone!
I am preparing a new release of IGraph/M. Could you please test it, if you have time?
I need to make sure that the compiled binaries work on every system. I am especially interested in Linux, Windows 7, and OS X 10.9-10.10. It also works on Raspberry Pi ;-)
Simple testing would be: install package (i.e. put in $UserBaseDirectory/Applications), load it and run IGVersion[]. Complete testing would be running the test suite.
@MichaelHale Is that Brazil?
 
7:35 PM
Hi @Sascha
 
 
1 hour later…
8:37 PM
@Szabolcs hi?:)
 
@Sascha What operating system are you using? I was just wondering if you'd have time to test this package I linked above.
 
I am using OS X 10.11
 
@Sascha What hardware do you have?
I tested on a 2014 MacBook Pro.
If you have an older CPU, it would still be useful to test.
 
A 15" rumba from 2014
*rmbp
 
Well, we have the same hardware and OS then :)
 
8:41 PM
Very well made machine:)
 
When you said rumba, I thought you meant this:
 
Just a typo/autocorrect error ... robotreviews.com/pics/roomba560.gif
 
Haha that is funny although they look more like a trash can
 
@William Maybe you have a different OS or hardware on which you could test?
 
W7 Thinkpad T420 M9 and M10 will try it. Also have a macbook although I don't remember if it has mathematica.
 
8:46 PM
@William Thanks! That will be useful. It only works on M10 though, not M9.
 
I guess there is no sense in checking my M9 xp machine
 
no, doesn't work on 32-bit, sorry :)
or rather: it should work, but I don't want to compile it for that platform for lack of time
 
"IGraph/M 0.2.0pre1
igraph 0.8.0-pre+d0fe0ec (Feb 27 2016)
Microsoft Windows (64-bit)"
 
Great, it looks like it works! Thank you.
 
9:03 PM
I will try a 10.10.2 Macbook Pro now.
 
@William Thank you! I targeted 10.9 with the compilation, so it should hopefully work.
 
Works also. That's makes sense.
I might have a 10.6 computer although I'm sure it doesn't have M10 installed currently. How far back are you trying to go?
 
Only 10.9
I think it will not work on 10.6.
 
It is 64 bit but yes I would be suprised. 10.9 is fine with me.
 
I used a bit of C++11 and that's only supported 10.9 and up (only 10.9 has a compatible standard C++ library)
 
9:12 PM
That is going over my head for sure, hope it works out well. C is one thing C++ is very confusing.
 
I already received a response that it works on Ubuntu 14.04 (previously it didn't, but solved that). So all is good :) Now only waiting for a Raspberry Pi response, but that's a very uniform platform, no problem expected.
 
Interesting you said it works above is there a particular board you are looking for? I have one. I will have to find power cable.
Ping me if you would like me to test it. You said something is in works.
 
9:41 PM
@William Thank you, you already helped a lot :) I already send an email to someone who uses the Raspberry Pi frequently, I think he will test it.
 
9:57 PM
Hello everybody. Why does HoldComplete[+0] evaluate to itself (HoldComplete[+0]), but HoldComplete[-0] evaluate to HoldComplete[0] (the unary minus is dropped)?
 
10:09 PM
@Mr.Wizard Done, thanks for the tip! Let me know if any changes are needed.
 
Although Mathematica is intended to allow you to hold expressions and replace them there are a lot of Mathematical simplifications that are baked into the language. HoldComplete[1-0] does something similar. You have probably concluded this. BoxForm is the only way to really get around this. RowBox[{"-", "0"}]
@VladimirReshetnikov
I don't know your intents but if you are trying to reassign core functionality it likely won't work.
 
10:26 PM
My guess(and they likely reason) is Mathematica converts the data into functions and numbers internally when parsing the input.
Look at this
FullForm[HoldComplete[2 - 3]]
HoldComplete[Plus[2, -3]]
That would explain why -0 is converted to 0.
While +0 is converted to Plus[0] because it interprets it as head.
 
10:46 PM
Similar although different should what should HoldComplete[0.000] vs HoldComplete[0.00000000] be interpreted as?
 

« first day (1501 days earlier)      last day (2989 days later) »