« first day (131 days earlier)      last day (4343 days later) » 

acl
2:38 AM
ocaml is a superset of mathematica? what next?
-2
A: Is there an open source implementation of Mathematica-the-language?

VinceOCaml or F#, depending on your tastes. Both are supersets of MMA, but don't come with a definition of MMA. You'd have to provide that yourself. Jon Harrop once did.

 
3:01 AM
@acl and the poster claimed that Jon Harrop had implemented Mathematica in F#, which is untrue.
On another topic, we are getting quite a few click-throughs from CrossValidated, Physics.SE, and Math.SE. Possibly an initial surge, as once people have seen it once, they won't click a second time, but still a good sign.
 
acl
@Verbeia I am somewhat worried that the level of questions has been dropping recently (not in terms of level of expertise of the asker, but rather in terms of how thought-through the questions are)
on the other hand, with greater exposure, this is unavoidable. and the process of community vetting seems to be working.
 
@acl exactly - i think if we stay friendly and constructive, and improve what is salvagable, we end up building contributing members out of newbies. Some of our editors/closers were not on SO, or were low-rep occasional participants there.
And congratulations on reaching 6000!
 
acl
@Verbeia yes it does seem to have worked so far, so we should keep it up
@Verbeia thanks :) off to work, see you
 
ok, bye
 
 
4 hours later…
6:53 AM
Guys, do you know some function that can count how many of each element is inside a list? Like: I have this list: {1,1,1,2,2}, then this function will return me {3,2} or {3(1),2(2)}.
 
7:07 AM
Ok', i believe that BinCount can solve. But what is the width?
 
7:22 AM
@GustavoBandeira what about Tally?
 
Bincount worked
But i'll look for your sugestion
Any idea of what is this width?
 
It tallies all distinct elements (so not so good for real-valued data, but works perfectly for your list of integer example)
 
Yup, it works
Thanks
 
Good morning everyone
 
you're welcome.
Hi @Szabolcs
 
7:25 AM
I just retagged all questions with to . There's one remaining question, and I'm not sure how to tag it, as it's not about performance tuning in the same sense as the others.
5
Q: Avoiding an unresponsive user interface in OS X

GuillochonI have found that despite Mathematica's numerous updates, each of which have added much functionality, one fundamental issue remains unaddressed: The unresponsiveness of the UI when I make a mistake (specifically, this is in Mac OS X, but the problem may exist in the other OSes). The problem has ...

 
@Szabolcs I think will do there - maybe add
 
Thanks, I was thinking of doing the same
 
anyway, I still have things to do here so talk to you later!
 
Have a nice evening!
 
7:49 AM
@Verbeia I needed both, look: stats.stackexchange.com/questions/29286/…
 
8:05 AM
This is a really controversial post, with 2 delete votes and 2 reopen votes:
-6
Q: It you execute this program, how much powerful shell will you get?

AnixxThis is a Python program supposed to run on a machine without Mathematica so to emulate Mathematica's kernel by calling the Wolfram website. So I want to know the restrictions imposed by such method. I also want to know how I can improve this program so that to extend its abilities and minimize ...

Isn't the -6 a bit too harsh?
Of couse it's not a question (not a good question after the edit), but the extreme -6 creates a bad/hostile feeling.
 
8:19 AM
I certainly cannot brag about my English skills, but it drives me mad when people can't even capitalize "I" ...
Can someone take a look at the tag and help me decide whether we should keep it or remove it?
@Heike Congrats on becomeing the #2 user by reputation :-)
When I see a question asking "is there a built-in function to do this-and-this", and it is in need of fixing up its tags, I am adding when there's no clear more specific tag to add. If you have another suggestion, let me know.
When the solution turns out to require implementing something non-trivial, I'm adding instead.
BTW all this retagging is bumping up questions in the active list. Feel free to correct if you see anything that doesn't seem right.
 
9:03 AM
There's an migrated question incorrectly tagged with . Can any of the mods remove the tag? I can't access the tag because the question is migrated (and has different tags on the target site). @Sjoerd @J.M. @MrWizard
I am removing the tag. There are three questions tagged with it: mathematica.stackexchange.com/questions/5179/… mathematica.stackexchange.com/questions/4898/… mathematica.stackexchange.com/questions/4640/… All are tagged with as well, so I think is redundant. Add it back (and also apply to other candidates) if you think is needed.
 
9:50 AM
Thanks @MrW
 
1
Q: What third-party packages do you use?

SzabolcsLet's use this thread to post our favourite third-party packages. Instructions Please post only those packages that you actually use yourself (not any package you found) or packages that you created yourself. Each answer should be one package, and should preferably contain a sh...

 
10:08 AM
Actually I don't use that many third-party packages regularly enough to post more than that one answer, but some good candidates for posting are, I think: NCAlgebra, xAct, mEngine. I used the last one for a while. Then there's Pythonika, but after looking at its source code I lost all trust in it, so I don't want to post it.
 
@Szabolcs Thanks, and sorry for overtaking you.
 
@Heike Don't worry, I don't mind :-) I wouldn't want any (future) boss of mine to find out I spent enough time here to get to second place ...
 
@Szabolcs I would be more concerned about your current boss/supervisor
 
@Heike I don't have one right now
That's why I said "future"
It seems we got another expert user
 
Why would a future boss mind that you spend your free time trying to help others by answering their mathematica questions?
@Szabolcs Apparently he's the author of this package. Does that mean that he works for Wolfram, or does Wolfram also sell third-party packages?
 
10:30 AM
@Heike Wolfram has a list of third party packages on their website. They also have a list of independent consultants. My guess is that he doesn't (directly) work for WRI (based on the "MechanicalSystems is © 1994-2011 Robert Beretta." note), but I could be wrong.
 
10:53 AM
Since graduation was brought up recently, we should probably revisit this, come to an agreement, and ask the mods to edit the FAQ:
3
Q: What should our FAQ contain?

rcollyerWe've talked about here and there pieces of this, but what should go in our FAQ? What do you think needs to mentioned in our FAQ? Obviously, what is considered on-topic/off-topic, and quite possibly a number of items from this list. But, we should start making progress on this question. (This is...

2
 
 
2 hours later…
12:44 PM
@Szabolcs There's the definition where solutions would involve LinearProgramming[] and/or NMinimize[], but is supposed to cover that already...
 
@JM Looking at the tagged questions, we can get rid of this tag. Do you agree?
 
@Szabolcs I think so, yes. Let me do that...
 
@JM I see you already renamed it. But the questions that were tagged were not about optimization, so I think it should still be removed from those questions ...
(if you can go back)
 
Sure. Might take me a bit, the mod panel for tags seems not too straightforward...
 
@JM I'll go ahead and remove it from question where it's not about optimization
 
12:56 PM
Okay. Not much activity on the front page anyway...
 
@JM Not sure how to tag this one though
 
I'm on it.
 
is a nice tag. I wonder if there are any other questions that would fit it.
 
@Szabolcs By any chance, have you seen the book by the Borweins? It's a nice one...
This is precisely the sort of thing dealt with in their book.
 
I haven't. I'll Google.
 
1:03 PM
If memory serves, it's freely downloadable.
 
I was told we need to ask Rebecca Chernoff about the community blog, so I pinged her in the blog channel.
in Stack Exchange Community Blogs, 2 mins ago, by Szabolcs
@RebeccaChernoff It was suggested I ask you about creating community blogs. Our site (Mathematica.SE) will soon be ready to have a blog. We have topics and volunteers. What is the procedure for requesting a blog? What else do we need to do before getting one? We don't have a fixed schedule, but I believe the current level of interest can sustain a low volume blog in the long term.
@JM Are you interested in contributing a few posts?
 
I might, but I can't write regularly (e.g. a weekly column). I do have other stuff to do...
 
About the schedule: if we keep it low volume, and don't publish new posts too often during the initial excitement, it should sustain itself in the long term.
I was thinking more monthly than weekly, and of course it wouldn't be the same person every time.
 
That sounds more reasonable, then. :)
 
Right now there are 4 (5?) people who said they're interested in writing a few posts. That should keep it going for half a year with a monthly frequency.
 
1:09 PM
I wonder if we should take requests for blog entries? "Can you write about topic Z?"
 
@JM I did ask for entry suggestions here. I thought we can start a thread with concrete suggestions (i.e. who wants to write one RIGHT NOW) when we have a blog set up.
 
Yeah, I was just speculating on whether we should do that once it's up.
 
Yes, definitely.
 
(At the very least, an entry there might get a bit more exposure than if I just posted it on my blog... :D )
 
@JM I think it doesn't always have to be something very generally applicable (e.g. programming techniques such as closures) or something very spectacular (like some of the visualizations here: confetti & word cloud). Your post on implementing a new random number generator and plugging it into Mma's RNG framework would have been a nice post.
Also, I think we can keep a faster schedule than 1 post / month, but I don't want to aim too high and let it become a burden.
It should be something fun, and posts should be written because people want to, not because we need to keep a schedule.
 
1:23 PM
@Szabolcs Speaking of that random number generator... did you see my other post on using an online random number generator?
 
@JM I haven't. Can you link to it please?
 
I just had a look at the Matlab vs Mathematica comparison that @RM linked to here.
 
Found it.
@Heike I wrote the owner of that web page 6 years ago, asking for the data file, and offering to write a much better version of the Mathematica code, but he didn't respond.
 
@Szabolcs Oh well...
@Szabolcs Here you go.
 
@Szabolcs 6 years ago? So that must have been written for version 5 or so
 
1:27 PM
@Heike Actually, I think it was 5 years ago. But yes, it's true that Mathematica 6 was not yet released.
 
Still, it's clearly not written by a mathematica programmer.
 
That page has been widely linked over the internet.
 
It was written by a zealot monkey
 
@Szabolcs Maybe WRI can sue him for libel ;-)
 
@belisarius Why are you insulting monkeys?
 
1:30 PM
@JM Sorry, It wasn't intended as a personal offense :)
 
@belisarius Hehe. :P I had this in mind, though.
 
Needs[LinearAlgebra`MatrixManipulation`];TakeRows[TakeColumns[matrix, {1, 6}], {3, genes + 2}] seems to be equivalent to matrix[[2;;genes+2, ;;6]]. I'm pretty sure Matlab has a similar construct, so why make things so complicated in Mathematica?
@JM No, not tvtropes!
 
@Heike >:)
 
You evil person.
 
(Hmm, the last time I linked to TV Tropes, somebody cried, as if I handed a bottle of Johnny Walker to an Alcoholics Anonymous member...)
Something about breaking his soberness streak...
@Heike Apparently Span[] wasn't available back in the day, but I'd have used Table[] and Part[] instead of loading a package. Oh well.
 
1:40 PM
@JM Do you mean this one‌​?
 
He does seem to have heard of the concept Table, but then he does things like this: positions = Table[0, {a, 1, arrays + 1}]
Do[
positions[[a]] = Flatten[
Position[Flatten[counter], a - 1]],
{a, 1, arrays + 1}]
Anyway, I should stop analysing bad code.
 
Yes, it almost looks deliberate.
 
@Szabolcs It IS deliberate. He is trying to show a point.
Here is a small counterexample of how compact code is in both languages
3
A: How to align image - Matlab

belisariusIn Mathematica, using Edge Detection and Hough Transform:

 
@Szabolcs Yes, that.
 
2:03 PM
I think this is ready to be closed.
 
R.M
I think this can be deleted too.
 
@JM Note that while the Mma and Py code load ["Yeast.txt"], the matlab code loads (without needing to parse it) ["yeast.mat"]. Dirty.
 
Szabolcs, R.M: done, and done.
 
2:29 PM
RM, you're 6 edits away from another gold badge.
 
R.M
@Szabolcs yup... this was the hardest :)
 
2:46 PM
@RM CurvesGraphics6 can be loaded by clicking a button in the source notebook. I did not actually install it and used Get/Needs, so I didn't include that in the answer either.
 
R.M
2:57 PM
@Szabolcs yeah, I saw that... but it seemed like a useful package (hint: post in your meta post), so I installed it
 
I'd rather not post more than two replies (since I wrote and advocated for the question), but I'll vote for it if you post it
 
R.M
3:18 PM
@Szabolcs ok, I'll post it in a few days after playing around and getting familiar with it... right now it fits the "please do not post any package you found" rule :)
 
4:05 PM
@JM Would it be too much to make a synonym of the existing ... ?
My fingers will always type colour if I don't pay attention ...
 
acl
@Heike but it was written by someone who certainly knows of more options to various functions than I do, and I use mathematica for most of my working time...
 
@Szabolcs Not at all. Let's do that...
 
4:23 PM
@acl I don't think the author of that blog had much to do with the Mathematica code. It seems to be almost literally taken from the notebook on this site.
 
Huh. Wasn't there somebody asking about a generalized SVD a few days ago?
 
@JM I remember something about decomposition of a higher-dimensional tensor...
I meant this one
 
acl
@Heike you're right
 
CHM
4:54 PM
Does anybody have a good reference on the concept of "functions as vectors"? I've searched the web, but the only decent explanation I've found is this one. I'd like to get more information on the concept, but most of what I find is about "vector functions", which doesn't seem (to me) to be the same thing.
I've also checked math.SE, but the answers were uninspiring - to me at least.
 
"function space" might be a better search term
 
CHM
@Szabolcs I'm learning about Hilbert space
 
Quantum mechanics?
 
CHM
Yes.
 
@CHM "the answers were uninspiring" - sounds like a good reason to ask another question there.
 
5:00 PM
The basics would be linear algebra
 
CHM
@JM I will, if I don't find a decent reference soon.
@Szabolcs Yes, I've figured from the articles I've read. What I'm looking for can be a book, not necessarily on the internet.
I've got access to my school's library, I'm just not familiar with the physics QM literature (as opposed to chemical QM literature).
 
If you do ask a question there, make it clear that you're looking from the QM viewpoint, just to stave off anybody who might point you to Halmos...
 
Hi all. I have a quick question: how can I have this a^(1/b)*c^(-1/b) == (a/c)^(1/b) return true?
 
CHM
The chemical QM literature texts I've read either assume you know what hilbert spaces are, or do not talk about them at all.
 
Hmm ... we mostly used in-house notes, and a little bit of Cohen-Tannoudji, which, from what I remember, was not difficult
 
CHM
5:03 PM
@JM Sure.
 
@Szabolcs C-T would be good, yes.
 
CHM
@Szabolcs I've got the Cohen-Tannoudji here - well, they belong to another student, but they're available.
 
@PFonseca Append // PowerExpand?
 
@JM Works! Thanks.
 
@CHM Have you studied a bit of abstract algebra? In abstract algebra we deal only with certain properties of operations, such as associativity, commutativity, etc., and don't care about what those operations are, or what they're operating on. E.g. addition and multiplication can be equivalent from this point of view: they're associative, commutative, there's a null element and elements have inverses.
@CHM If you get used to this, then you won't be bothered any more that now we're adding and and "rescaling" complex functions instead of number-tuples
 
5:07 PM
@Szabolcs multiplication excluding zero, that is. :D
 
The "rules" (vector space axioms) are the same
 
(Of course, there's a bijection between the two; the logarithm is one such bijection.)
 
CHM
@Szabolcs I've had a linear-algebra course where we had to prove if this or that is a vector space, using the 8 (I think) criteria - but nothing more than that.
The mathematics taught to a chemistry major (in my univeristy, at least) are deficient, to say the least.
 
@CHM Don't worry, it's not just you... :)
It's as if they assume that not much mathematics is really needed.
 
CHM
One course plows through everything from linear algebra, differentiation, integration, ODEs, PDEs, statistical analysis, Fourier analysis, etc. in 15 weeks, three hours per week.
 
5:15 PM
The funny thing about the last calculus course I took... there was way too much emphasis on integrals (single and multiple), and not much on series, when it turned out that the physical chemistry course I subsequently took was heavier on the series than on the integrals...
 
CHM
@JM Bleh.
@Szabolcs "It helps to change the way you think of vectors rather than changing the way you think of functions." - Pretty much like what you said to me.
 
acl
@CHM what do you need to know about Hilbert spaces? as in, why are you trying to learn this? maybe I can recommend a book
 
CHM
@acl I'm learning QM.
 
QM is the opium of the people
 
acl
@CHM yes I understand, but what do you need to do with what you learn?
 
CHM
5:29 PM
@acl Model the time-evolution of current flowing through PAHs.
 
@CHM e.g. chrysene, pyrene? Or something bigger?
 
CHM
@JM any PAH.
Currently working out the model on ethylene, for obvious reasons.
But the model should be scalable to any number of carbon atoms.
Actually, they don't need to be PAHs. We're working in the Huckel MO framework, so we study PAHs as well as other conjugated unsaturated compounds.
 
@CHM You've looked into the conducting polymer literature, by any chance?
 
CHM
@JM Haven't had the time. I'm actually running around trying to get my head around what is important and what is not. I guess that's every neophyte's fate.
 
acl
ok I am asking the question unclearly. in any case, I really enjoyed Sakurai's "modern quantum mechanics", but I doubt you'll like that (it is probably different to how you were taught it). Cohen-Tannoudji has lots of details; I don't think I liked it but maybe it depends on the person. chapter 5 of bransden and joachain describes things in detail, but I don't think they explicitly point out the general concepts of vector spaces. landau-lifshitz never breathe a word about vectors spaces...
but all this depends on why you need to know this. there's no point in learning abstract formalism if you don't need it
 
CHM
5:37 PM
@acl I would retort that you don't know if you'll need something or not before learning it.
 
acl
@CHM sure, go ahead and try learning everything possible. you'll quit soon enough :)
 
CHM
Which is kind of why I'm trying to understand the concept - what if I'm missing something big, that would help me understand?
@acl Haha. I meant that in a narrower sense.
 
acl
@CHM yes I understand, I was joking :)
 
CHM
@JM Are you recommending a particular review?
 
@CHM If memory serves, the models for polyacetylene and polyphenylene are rather simple, but that's due to the assumption of infinite extent. It might still be a good lead, though.
@CHM Unfortunately, it's been quite a while since I looked into this, and my connection to SciFinder is currently crapping out. :(
Unfortunately, that's all my time for today. See y'all later.
 
CHM
5:52 PM
@JM thanks. See you.
@acl I've got Mary Boas' math for physicists textbook to look at, too.
Might be of help.
 
acl
@CHM ah that was great! I don't remember if it has anything specifically on this though
well, ch 4 in Byron and Fuller is the one I liked. But this may be overkill at this stage (I just look through cohen-tannoudji and their discussion seems fairly detailed and explicit)
 
@belisarius Is that because you lose sense of reality when you digest too much of it?
 
@Heike It is mainly because once you enter the QM realm there is no return ...
 
CHM
@Heike I'm going to the faculty library. Thanks.
 
acl
@CHM hm I just took another look at byron and fuller. not as huge as I remembered, and has explicit applications to qm. maybe give it a shot
 
6:05 PM
@belisarius I've sampled QM but decided it wasn't for me.
 
@Heike I think it is a very shocking thing, not only as a theory, but also as a thinking process. The guys who developed QM in the early days of the 20th century were working against their intuition
 
@belisarius Wasn't Einstein very much opposed to certain conclusions in QM
Sometimes it's nice when karma works in my favour. I was just wandering what plants to get for a shady bit in my garden that I had cleared of ivy when my neighbour pops over the fence asking me if I would like a spare hosta.
 
@Heike Not as much as it was publicized. He was (in a subtle way) opposed to certain interpretations of the theory.
 
6:27 PM
@belisarius I guess he was a bit of a superstar in his time so everything he said was probably blown out of proportion.
 
@Heike Absolutely. Although his GR found very strong resistance. It was more counter intuitive than QM itself!
 
@Heike I overheard someone say hostas :)
 
@yoda haha. Still trying to lure people to the dark side (or should that be green)?
2
 
7:26 PM
1
Q: Why FindFit could not exactly fulfill condition?

MathieuI tried to fit some data with boundary conditions, but FindFit just could not work. Does anyone know the reason? Details: The function to be fitted is A*Tanh[x+a]+B. Data is provided from x=0 to some positive number. I set the requirement that the fitted function should be same as Tanh[x] at...

I thought it was a numeric problem
But was a conceptual one
 
CHM
7:57 PM
@Heike sorry, my last comment was intended for @acl !
@acl I've got the books out of the library - they hadn't been rented since 2001.
 
acl
8:48 PM
@CHM ha!
@CHM good luck with it
 
acl
9:01 PM
(cohen-tannoudji is probably more accessible)
 
R.M
9:20 PM
finally!
 
@RM Congratulations with your golden badge.
 
@RM Congrats!
 
10:25 PM
@RM Congrats!
As an aside, I thought this was interesting. Just as well we have the community ad now.
 
acl
10:46 PM
@RM 500 posts... that's a lot of work; you definitely earned it!
 
11:27 PM
@Verbeia That's why I answered quickly :D
 

« first day (131 days earlier)      last day (4343 days later) »