@HendryTanaka The C language folks hang out on stackoverflow.com, and they might be able to help. Or there are computer graphics people at gamedev.stackexchange.com
What's the best way to extract a particular number from a large chunk of text? I've got some formatted text returned from a program via stdout, and there's a line in it with the number I want. Currently I'm doing this:
@blochwave Just create a regexp, that narrows it down as much as possible and use StringReplace:
s="Total lattice energy=-1072.49430231 eV. I have 3 cats, 2 dogs, and 2.4 children";
ToExpression[StringReplace[s,StartOfLine~~__~~"energy="~~n__~~" eV"~~___:>n]]
@blochwave Be aware that you cannot simply write ToExpression[n] inside StringReplace. For more information look at the details section in the StringReplace documentation.
Hi all, I have some Graphics3D that render fine on my desktop, which has a decent video card, but crashes my laptop, which is just an integrated graphics chip. I was thinking maybe I could use a different renderer on the laptop, which might be a lot slower but at least wouldn't crash? Anyone have experience with this?
I've tried both the "BSPTree" and "Software" options, both lead to crashes.
@Guillochon I don't know what your problem is exactly, but I'm just saying that one has to keep an open mind as to what the problem can be. I never figured out why MMA9 crashes frequently when I was using ListAnimate, for example, but it wasn't because of weak hardware.
@Pickett The point was that I'm using the same notebook on the desktop, and that doesn't crash
@Pickett I literally do a DumpSave on the desktop, load that in, then run the rendering function, lead to a crash on the laptop but not the desktop
It does appear that "HardwareDepthBuffer" works, but the results aren't as pretty as the default renderer. For me that's OK because I just want a quick glance on the laptop, but it's still a bit unfortunate that it crashes.
When I post code here that contains greek letters, they are displayed as \[Beta], then some good people modify my post to change to proper display. But how do I do this myself (and without having to write a function in mathematica that converts the something to unicode which someone suggested, I ...
I would recommend checking out SageMathCloud (https://cloud.sagemath.com/). Note it has recently migrated from sagenb.org/.
Great benefit is the cloud-based computing option. Love to prototype here. I just started playing around with it, so not super familiar, but claims are pretty powerful and...
I apologize for dismissing your flags. I think I misread either the question or the answer that day as now it seems apparent to me that this is not an answer to the question that was asked.