4,075 reputation
1353
bio website
location
age
visits member for 2 years, 5 months
seen 7 mins ago

Aug
27
comment How can I efficiently check if a graph is unit distance?
It lays out a graph with random vertex positions and then iteratively moves them to decrease the energy functional F which makes every edge become unit distance for instance: Quiet@Reap[ Table[i = UnitDistanceQ[m]; If[i =!= Null, Sow[i]], {100}]][[2]]
Aug
27
comment How can I efficiently check if a graph is unit distance?
I know about GraphData and it is a nice repository, but does not answer the question.
Aug
27
comment What is the fastest way to count square-free words?
The difficulty in enumeration is memory, the list becomes so long that Mathematica dies around n=63.
Aug
27
comment Where can I find a list of functions, specifically views, that can be translated to a C standalone executable?
mathematica.stackexchange.com/questions/1096/…
Aug
27
comment Where can I find a list of functions, specifically views, that can be translated to a C standalone executable?
I have often wished for this too! The ability to export mathematica dynamic gui code into html5 would be awesome.
Aug
24
comment What is the fastest way to count square-free words?
Correct, I want to count them.
Aug
23
comment What is the fastest way to count square-free words?
My machine has 5TB of storage, so just having the count of solutions will have to suffice :)
Aug
22
comment What is the fastest way to count square-free words?
@DanielLichtblau I just added your suggestion :)
Aug
22
comment How can I interrupt Speak?
Quit[] has no effect
Aug
21
comment How can I emit a sound only during a mouseover?
@Rojo Quite right! Your solution has no pauses, so I will accept it, thanks.
Aug
21
comment What is the fastest way to count square-free words?
Brilliant code, thanks Leonid!
Aug
20
comment What is the fastest way to count square-free words?
@LeonidShifrin Thank you, that's good to know!
Aug
20
comment What is the fastest way to count square-free words?
Still I try to avoid the pattern matcher like the plague! It is rather slow, I'm thinking compilation...
Aug
20
comment What is the fastest way to count square-free words?
LOL, I should have started yours first! +1
Aug
20
comment What is the fastest way to count square-free words?
But is it faster than my code? I'm running it now.
Aug
20
comment How can I emit a sound only during a mouseover?
Yes, thanks @vitalykaurov. I think it is related but it still does not generate a perfectly constant sound (free of quick pauses) for a dynamic amount of time.
Aug
20
comment How can I emit a sound only during a mouseover?
@rojo Nice, but I still hear momentary pauses. And did you know UpdateInterval -> 1 is an option to Dynamic, you don't need the Refresh call
Aug
20
comment How can I emit a sound only during a mouseover?
This is nice but is not constant, the breaks inbetween are what I'm trying to avoid.
Aug
17
comment How can I create a glass distortion effect in an image?
@simonwoods I'm impressed! thanks for this addition Simon
Aug
15
comment How can I create a glass distortion effect in an image?
Ok, then can some simpler distorting function be used?