« first day (369 days earlier)      last day (4116 days later) » 

2:33 AM
@Mr.Wizard I think it would be valid for And to return unevaluated only if none of its arguments was False, since the truth value of "foo" (for instance) does not affect the result here. What it seems to do in practice is to return unevaluated only if all of its arguments have an undefined truth value--any explicitly True or False arguments are removed in the result. For instance And["foo", True, "boo"] -> And["foo", "boo"].
Oh, sorry, you already said this above in response to R.M. In that case, disregard that.
 
 
6 hours later…
8:30 AM
any one knows how to remove the message that says "interact with demonstration!" when one views a demo at the WRI demo web page, when on Linux? Since there is no CDF plugin for Linux, this message keep blocking the view of the demos. I just wanted to take a screen shot, and I can't get rid of this pop-up window that WRI shows.
Here is a screen shot
no matter what I do, the message stays there. so annoying.
There should be a close option to close it.
 
 
2 hours later…
10:55 AM
@Nasser There is a CDF plugin for Linux (version 9).
 
@RolfMertig, but when I go the CDF plugin, it says there is only the player? Here is screen shot
 
11:13 AM
@Nasser Uups. Sorry. I only downloaded the CDF player for Linux version 9. But you are right, there is no browser plugin.
@Nasser: why do you acutally care about Linux? I doubt there are many Linux users.
 
No problem. I just wanted to take screen shot, and this message is in the way !
I like Linux more for many other things, Latex, Makefiles, Bashscripts, etc... I am a Linux/Unix person but was using windows for sometime. Only problem is that M on Linux is not as good as on windows !
 
11:29 AM
@OleksandrR. Thanks for your comment.
 
12:03 PM
Anyone around here? Ive got a question :(
& its probably too stupid to be asked as a "real" question
 
12:24 PM
I have this: f[r_] = Sqrt[r[R]];
f[1] returns me Sqrt[1[R]] while I would like it to return 1 :/
How could I do this? How to specify that r depends on R?
 
@Öskå, first not a good idea to use UpperCase letter in M. I do not understand what you mean by 1[R]. To make something depend on another you define a function.
 
f[r_] = Sqrt[r[n]];
f[1]

returns me Sqrt[1[n]] while I would like Sqrt[1]
@Nasser, I assume that its due to the fact that Mathematica doesn't know that r depends on n. But then how to fix it?
 
12:40 PM
@Öskå, but you defined the function to return Sqrt[r[n]] and Mathematica is doing what you asked for. Mathematica just does pattern replacement. It replaced the r with 1 and since n is a symbol that evaluated to itself, it returned the best it can do, which is what you got.
r is 1. and 1 can not be a function. It is atomic.
i.e. 1 always evaluates to itself.
 
Then how can I make r depends on n? I assume it's possible.
Although I've got a course in 10 mins so I have to go.
Please let me know if you know how to fix that problem please..
 
You need to define a function, like r[n_] := n^2
When you say depend you have to define the relation. This relation is the function definition.
r[n_] := If[n == 1, 1, 0]
f[x_] := r[x]
f[1]
1
 
1:07 PM
@Nasser This is a bit off topic (and probably not a very helpful comment), but it's possible to get all of the above on Windows. I install git for windows and it gives me a bash shell for free :) (some extra utils are needed for rsync and other advanced functionality, I think nano has to be downloaded separately)
 
hi @Ajasja , yes I know. I been using Linux for years on windows. I use VBox, shared mounted file system. I used Cygwin also, etc... I know all about these. But some things just do not work as on the real Linux itself (symbolic links, other issues, etc..). I like the Linux file layout more, home page setup etc....It is just that M looks bad on Linux (fonts, UI controls, etc...) I'll try to install windows in a VBox inb Linux and try M inside the VBox to see how it works.
I am on Linux now for good. Not going back to windows ;)
 
@Nasser Yes, I can relate with that.
 
1:56 PM
I made new version of my demos web page, here it is 12000.org/my_notes/mma_demos/index.htm if any one tries it and have problem, please let me know.
I added a a check for the CDF plugin. Hopefully it will work ok.
 
 
2 hours later…
3:52 PM
Mods around?
@TimStone you here?
 
@belisarius I'm here now.
 
@Mr.Wizard I flagged a question. Please take a look at it
 
I'm not sure your concern is well founded. It seems to me the question could have been phrased differently (such as the jar label question) if the author wished to obscure his purpose.
 
@Mr.Wizard Really? Messing with CC accidentally? ... oh well
 
Further, I don't see this as being a specific technology. By that I mean it's not like someone is specifically asking how to scan paper money without moire, or circumvent some other security measure. It's just a basic image processing question, even if the context makes you a bit uncomfortable.
Of course that's only my opinion and I'm happy to hear from other users.
 
4:01 PM
@Mr.Wizard I've been around the CC business for a few years. With two photographs (both sides of a card) you have all you need to commit fraud.
 
@belisarius I'm not contending that. I don't think that OCR is somehow privileged information however. Supposing this is a fraud attempt a crafty user would not have mentioned credit cards, right? And, if someone asked the equivalent question without the mention of CC's this would not have been as issue, correct?
Of course I don't want this to become a DIY-fraud-help-site either so I'll look at this more closely. BRB...
 
@Mr.Wizard No, no. I'm not saying that I'm sure it's a fraud intent. What I'm trying to say is that you may help potential frauds done with techniques found by googling the question. Anyway,
 
From a cursory glance I cannot see a pattern in this user's questions that indicates anything nefarious, at least from my limited knowledge of the subject of fraud. If you have a different take please let me know.
 
ok, that's what you said
 
@belisarius Oh, that's a very different subject.
How about we just remove the mention of credit cards from the post?
 
4:06 PM
@Mr.Wizard good idea
 
@Mr.Wizard Since you're still within the edit grace period, can you also change the title?
 
@rm-rf lol -- missed that
 
4:22 PM
hehe ... deleted my comment ... it mentioned CCs :)
 
 
1 hour later…
5:38 PM
Just figured out how WWB plugin installs into Eclipse Kepler M4 (done both in Linux and Windows). Should I self-answer a question or is the potential interest group too small?
 
Oh, I would find it interesting... I tried installing on Juno and it didn't work (I don't know anything about eclipse/java to fiddle, so never tried). I think self-answer would be good. I can also test it on a mac
 
OK. Just a moment.
 
6:12 PM
@rm-rf so,please,test it. I think that one needs Kepler. I tried with Juno and this did not work. The trick is of course to use Indigo (got the idea from stackoverflow.com/a/14320628/887505 ) and then MEET will install ...
 
Downloading it right now. Will post a comment re:success/failure under your answer soon
 
 
3 hours later…
9:34 PM
AAARGH... My notebook got broken! I saved, quit Mma, re-opened, and it's just a plain text file now :(((
 
9:46 PM
Is there anyone here not using OS X who could take 5 minutes to try to reproduce a problem for me? @belisarius @halirutan ?
 
@Szabolcs Sure
 
Here's what I'd like someone to test:
1. create a new *empty* file with the .nb extension. Do this using a text editor, or the touch command on Unix.
2. open it using Mathematica and write some basic expressions, then evaluate them. E.g. Plot[Sin[x],{x,0,10}]
3. save the file, quit Mathematica
4. re-open the notebook using Mathematica. Does it look like a proper notebook (like it appeared when you saved), or has everything been converted to plain text?
@ssch Are you on Linux or Windows?
 
Linux
 
great!
I naively created an empty file, saved it as .nb, opened it, and started working. After closing and re-opening I found that everything was converted to plain text, the cell labels are in the file, and it is just plain unusable.
 
@Szabolcs It looks like madness
8.0.4 linux64
 
9:52 PM
@ssch Thanks! So it's not an OS X only issue.
 
10:08 PM
What is the simplest way to make all sliders bigger (longer) in a Manipulate for more precise control? Do I need to put in Slider controls manually?
 
10:21 PM
okay, got it: Manipulate[Plot[Sin[a x], {x, 0, 10}], {{a, 1}, .5, 2, ImageSize -> Large}]
When exporting a Manipulate to a CDF using Export, how can I set things like WindowSize or Editable?
My workaround is Export["file.cdf", doc = CreateDocument[manip, WindowSize -> 500]]; NotebookClose[doc].
 
11:05 PM
@artes if you feel a question is not clear and needs to be improved, then by all means improve it!
 
11:22 PM
@Szabolcs Sorry, I was busy.
 

« first day (369 days earlier)      last day (4116 days later) »