50 reputation
5
bio website
location
age
visits member for 1 year, 6 months
seen Dec 28 '13 at 13:07

Dec
20
accepted Discrepancy with TakeWhile between RandomInteger result and list on Linux
Dec
20
comment Discrepancy with TakeWhile between RandomInteger result and list on Linux
Impressive, that solved the problem. If you could add that to your answer then I will accept your answer.
Dec
20
comment Discrepancy with TakeWhile between RandomInteger result and list on Linux
I've added the Trace result. I also trimmed down the problem to just the TakeWhile.
Dec
20
revised Discrepancy with TakeWhile between RandomInteger result and list on Linux
Changed question because it's a Linux only problem.
Dec
20
comment Discrepancy with TakeWhile between RandomInteger result and list on Linux
While that does solve the problem (not to mention in a much nicer way :)), it does not give me an answer to my problem.
Dec
20
revised Discrepancy with TakeWhile between RandomInteger result and list on Linux
Changed the suspicion into a confirmation
Dec
20
comment Discrepancy with TakeWhile between RandomInteger result and list on Linux
@kguler Yes, I've tried that too and see that it works on Windows. It seems to be a Linux specific problem.
Dec
20
awarded  Editor
Dec
20
revised Discrepancy with TakeWhile between RandomInteger result and list on Linux
Extra information
Dec
20
asked Discrepancy with TakeWhile between RandomInteger result and list on Linux
Dec
11
awarded  Scholar
Dec
11
comment Implementing Position
@Gabriel Thank you, that really helped a lot.
Dec
11
accepted Implementing Position
Dec
11
awarded  Supporter
Dec
10
asked Implementing Position
Dec
4
comment Notebook function formatting
@acl I know it's probably not the most efficient way to do it, I'm still a beginner with Mathematica. But it code was meant as an example of something that just feels off to me. My question is more related to formatting my notebooks rather than optimizing the current solution.
Dec
4
comment Notebook function formatting
@Sascha I geuss the code does have its own charm. Although it would be nice to just be able to do If[list != {}, Prepend[...]] without the need handle the list being empty case.
Dec
4
comment Notebook function formatting
@LeonidShifrin Thanks for that, even though it's not completely usable yet it will still give me some good ideas to format my code.
Dec
4
awarded  Student
Dec
4
asked Notebook function formatting