« first day (173 days earlier)      last day (4328 days later) » 

5:54 AM
@versbeia I believe that the when the founding fathers wrote "if your motivation is “I would like others to explain ______ to me”, then you are probably OK" they didn't mean the ______ to mean entire programs, but more syntaxes, functions, constructions etc. Allowing entire programs in this way would be the start of the slippery slope. I'm sure it would be possible to provide a nice answer, in fact I was already doing that, but I realized that may be not the best way to handle this question.
What would happen with this site if 9 out of 10 questions consisted of " I found this program on the Internet, please explain"?
 
 
2 hours later…
8:07 AM
@SjoerdCdeVries Yes, and I agree with you. I probably wasn't clear this morning, but I was just noting that the letter of the FAQ would not have suggested that this question was off-topic. I agree that having a lot of such questions would destroy the site even faster than no questions would. The solution would to modify the FAQ, not answer such questions.
Speaking of which, it is awful quiet on the New Questions page.
 
 
2 hours later…
10:18 AM
@acl We should revisit the meta thread about whether SystemModeler should be on topic... Personally, I don't think it should (the only thing it has to do with Mathematica is that it has an interface to it---but it doesn't require Mathematica).
7
Q: Are questions related to SystemModeler on topic?

István ZacharI predict (or at least would like to see) some questions will be raised about the new platform for general symbolic modelling. A lot of us use Mathematica for modelling simple or complex systems, and this new software might make it easier to develop such models. So, should questions related to Sy...

I wrote a new answer there, it'd be good if people could take a look.
 
11:03 AM
I'll go with whatever the community decides. I brought this up now simply because we have the first SystemModeler question.
 
acl
11:44 AM
@Szabolcs I also do not see how it is on topic.
@Verbeia I don't see what modification is necessary; the only way to misinterpret the FAQ is to ignore everything in it except the single sentence "if your motivation is “I would like others to explain ______ to me”, then you are probably OK"
in any case I doubt any of the questions triggering this discussion where posted by people who read the FAQ and then said "aha! this is the right place to ask!" (which does not mean the FAQ should be misleading, of course, I just think it is not)
 
Hello, can someone please explain why I don't have antialiasing anymore in DensityPlot graphics?
 
12:04 PM
@acl I agree, I just can see how someone could misread it. I agree that question should be closed. But perhaps the FAQ could be tweaked just to be sure.
@IstvánZachar same computer? same configuration? fresh Mathematica kernel?
 
@IstvánZachar Do you have antialiasing in 3D graphics? DensityPlot is also rendered on the GPU. If you don't have antialiasing in 3D, can you turn it on fromt he preferences (if your current machine supports it)?
 
12:21 PM
@Verbeia Actually, I can't remember if I had it before or not...
@Szabolcs That explains. So if I don't have 3D AA (which I don't have), then I can't have DensityPlot AA neither?
My machine does not support 3D AA, nothing happens when I move the slider under options.
It is annoying that a non-AA DensityPlot cannot be combined with any AA-ed graphics either via Epilog, Texture or Show, as then the whole thing will be non-AA.
Only Overlay can do the job.
 
Woow
This seems basic. I didn't know the attributes of the most used symbol in MMA
Hi @heike
 
@IstvánZachar I think that for some graphic cards you can turn on 3D aa in the driver.
Hi @Rojo
 
12:42 PM
@Heike I guess mine is not like that :/
 
@IstvánZachar moornin
 
@Rojo good afternoon
 
I'll remember that in a few hours
@IstvánZachar I'll challenge you to something... Without checking, what do you think Attributes[Plot] will return?
 
1:03 PM
@Rojo Let me think... {Protected, HoldFirst}?
Or HoldAll, as the iterators must be held as well.
 
@IstvánZachar Great!! :)
Attributes[CompoundExpression]
?
 
only Protected?
 
@IstvánZachar try it
 
nice. What does it mean?
(Other that we can peek behind ReadProtected)
 
You see HoldAll, right?
 
1:06 PM
yes
 
Hi guys.
 
Hi @MrWizard
Nice timing
 
Hi MrW
 
You know why CompoundExpression is HoldAll
?
 
No idea.
 
1:09 PM
That's an interesting question; it would seem not to need it for the expected function, but I presume that is not so in some case.
 
I'll think about it while I go buy some breakfast to the bakery
 
Enjoy, Rojo.
 
Enjoy thinking!
I would be interested in any explanation of this HoldAll
 
István, you've been a leader in organizing the tags. Would you take a look at my proposal here and tell me what you think?
0
A: Tags: "pattern" & "pattern-matching"

Mr.WizardI'm not certain these should be merged. If they are, I feel that pattern-matching should be the master. It is used preferentially: 54 versus 15 questions at this time It is not easily confused with design patterns pattern-matching is at the heart of Mathematica; not having such a tag seems wro...

 
@IstvánZachar Maybe it's to make sure that the expressions in CompoundExpression are evaluated in the right order?
 
1:11 PM
@Heike standard order of evaluation would seem to do that.
 
@MrWizard I came to the same conclusion. I've removed HoldAll, and am going to try to find a case where the output is something that I don't expect.
@MrWizard Sure, I have some time for tags now
@MrWizard Oh, I see your point, I totally agree with you. I was a bit hasty commenting on Sjoerd's answer, and did not include that I would prefer over patterns. Same reasons as you use.
 
@IstvánZachar Here is one place there is a difference:
Print["1"]; Return["exit", CompoundExpression]; Print["2"];
 
@MrWizard Nice catch! This could be part of a blogpost explaining evaluation sequence.
 
That would be a good one for Rojo as he is already interested in such things.
Regarding tags, thanks for the clarifying comments. Would you be opposed to trying my experiment with the tag "patterns" before it is merged?
 
1:54 PM
@MrWizard Nice catch
@IstvánZachar yeah, it could be part of a blog post. Btw, I'm dropping the tetris
in favour of letris
Humm, people could help there
Given a matrix of characters and spaces that represent "no character", and a list of positions in that matrix
I would need an efficient function that finds all the words that can be formed in straight lines or diagonals (left-right, top-bottom), that contain letters in those positions, and their starting and ending position in the matrix
given a list of allowed words, of course, longer than 1 character long
 
25
Q: Using Mathematica's Graph functions to cheat at Boggle

PillsyThis question is inspired by a StackOverflow question that I decided to solve using Mathematica. In addition to Mathematica, I thought I'd use some of the new version's graph-related functionality, which I've never really explored in the past. It seemd like a natural fit, but the further I got in...

 
:D
Exactly what I needed to read
 
2:12 PM
@Rojo actually I thought you'd had that in mind when you suggested Letris. Either way, the performance of Leonid's solution will definitely come in useful here.
 
@OleksandrR I was only thinking about the game, not about how to do it, when I suggested that
 
@Rojo then you're a braver man than I!
 
@OleksandrR even if that answer wasn't there and performance was crucial, in the end leonid would have saved the day with a java solution
I am also a disaster at making things pretty, but I know that if I can't do it, in the end heike and other visual masterminds will help make it work
 
@Rojo I'm terrible with graphics, Dynamics, and thinking up fun games. So I'm afraid I won't be much help here...
 
@OleksandrR oh, but you are good with internals and stuff
so you can help me clear out my mind of these things faster when I can't help getting stuck with those
Hehe
 
2:21 PM
Well, perhaps. I think you're at least as good as I am though. :) Plus, I'm supposed to be working on my thesis... not long to go, must keep motivated! Unfortunately I find writing tedious and terribly boring.
 
Just think about how little you will write once you finish it
:)
 
Then I have to write four papers because I've not been terribly successful at publishing during my PhD.
 
ooooor
you can start cooking for a living
...but only after you've finished your thesis... Doesn't make much sense right?
 
Haha. Yeah, except that I suck at cooking too (I mean, I can cook things. But thinking of what to cook is my problem).
 
@OleksandrR Just like hearing myself: low publishing rates, hanging in Mathematica chat, bad cooking.... :)
 
2:30 PM
@IstvánZachar well, at least we aren't alone!
 
I'm still struggling to come up with a reasonable set of tags for this Q: http://mathematica.stackexchange.com/q/7566/89
[tag:system] seems overly vague, [tag:table] is something too specific, both are rarely used, and neither of them conveys the important meaning about salvaging intermediate results of (interrupted) calculations. Is there an official term for methods dealing with this?
 
The problem for me wrt. the publishing (and the rush to write up, for that matter) is that my experiment didn't work, and it took me almost 3 years to convince myself of that and do a different experiment instead. The second one worked admirably, but it was a race against time to collect enough data.
@IstvánZachar [abort] [evaluation] ?
(perhaps + [error-trapping])
 
2:46 PM
Condition /: Condition[x, True] := 8 gives "Tag condition is too deep for the rule to be found)... Hehehe
 
@OleksandrR Retagged. But how about [interrupt] instead of [abort]? I feel interrupt is the more general term.
 
@IstvánZachar oh, yes, that would be better. I was just going with existing tags.
@Rojo not sure what is going on there; probably some RuleCondition[$ConditionHold[...]] stuff. Verbatim[Condition][x, True] works.
 
3:05 PM
Grrrreat
 
@RM: Sorry about that, I mistakenly re-edited your edit. So you think it should be [interruption] instead of [interrupt]?
Added wiki for [interruption].
 
R.M
@IstvánZachar just going along with the convention of using nouns instead of verbs — *-manipulation, evaluation, integration, etc.
 
@RM Good principle. Can someone add tag synonyms [abort] and [interrupt] then? I don't have enough score...
 
R.M
3:22 PM
@IstvánZachar we can't do it now because does not exist on any question
We could either add it to one to create a synonym or wait till someone comes along and creates it again
 
@RM I would rather have the nouns where it refers to a specific Mathematica function rather than a general concept. For instance: Manipulate, Abort. Interruption is okay as is IMO because it's conceptually not the same as Interrupt. Nor is Evaluation to be understood as referring to Evaluate.
 
@RM Oh, sorry about that. Should I not retag like that?
 
R.M
@IstvánZachar If you're changing all of A to B, and making A a synonym, then it might be best to retag one question with B (not removing A) and then do a merge from A->B (mod only)
we can vote on synonyms if we have enough rep in the tag
@OleksandrR hmm... but none of the *-manipulation tags actually use Manipulate. Or was your point that those should not be noun tags?
 
@RM sorry, I misread. *-manipulation I agree with.
 
@RM Ok, I understand that now, thanks. But usually I don't have enough score to suggest a synonym. What to do in that case? I guess I shouldn't play then with such tags at all. The problem is that I would like to see community decisions, which means voting, but I cannot make a synonym as a first step. This is a bit contradictory.
 
R.M
3:33 PM
@IstvánZachar look at the "top users" link on the tag and nag any person who has a score of at least 5 :P
 
@RM Or ask questions in the given tag... I wonder which one is less obtrusive :)
 
R.M
@IstvánZachar I think you need an answer score to be able to vote/suggest. Not 100% sure, but very likely that questions votes are not considered.
 
Also, it is strange that while I cannot suggest a new synonym, I can manually edit each question and remove the questionable tag. Can't we do something to lower the requirements for suggesting sysnonyms?
@RM Yes, you must be right, because I once deliberately left a tag in one of my questions to be able to synonymize it, but I still did not have the score.
 
R.M
@IstvánZachar ah well, call me cynical, but I expect the response to be "<blah blah works well across SE blah blah. Unless it actively harms the community we won't change blah blah>."
I do think it's a minor thing though... meta posts and chat discussions should be sufficient
 
3:50 PM
Ok, just created [lists] as a synonym for [list-processing]. Please vote here.
 
4:28 PM
Module[{x = 1., xp, a = 2},
Label[begin];
If[Abs[xp - x] < 10^-8, Goto[end]];
xp = x;
x = (x + a/x)/2;
Goto[begin];
Label[end];
x]
This one breaks as well without HoldAll
 
I wonder how severely things break if you set Orderless on CompoundExpression? Maybe it would be a fun game to do that in someone's session. Only the purest of functional programmers survive!
 
Haha
Yeah
 
My StackExchange "inbox" seems to be down; is anyone else having that problem?
 
That HoldAll in CompoundExpression allows you to return
but it has it's tradeoffs I guess
I would udnerstand if it was HoldAll so that it can evaluate it's first arguments are return the last one before evaluating it
so recursions don't grow as big
but it doesn't do that
Perhaps it makes sense to make a symbol that does that, and wrap recursive definitinos in Module[{CompoundExpression=myCE}, ] ... HUM
I need a recursive function to test this :P
One with CompoundExpression in it
 
@Rojo I didn't understand that; could you give an example?
 
4:42 PM
@MrWizard If you do, say, f[x_]:=something;f[x+8], your recursion tree groows with CompoundExpression in between
Now that I give an example, that's probably a not common construction to begin with
 
You mean the $RecursionLimit vs $IterationLimit thing, right? Actually that form is quite common, IME.
I'm not understanding how a different version of ; would help there however, unless it was specifically overloaded for that.
 
@MrWizard Yes, I mean that, but even when you can't get it tail recursive, you can make the recursion tree's height get lower
Ok, I'll give you a concrete example
f[x_] := (2; f[x - 1])
f[0] := (Print@Stack[]; 1)
f[4] gives {CompoundExpression,CompoundExpression,CompoundExpression,CompoundExpression,Com‌​poundExpression,Print}
f[8], twice as many
Now, do this
SetAttributes[trCE, HoldAll];
trCE[args___, end_] /; CompoundExpression[args, True] := end
Module[{CompoundExpression = trCE},
ff[x_] := (2; ff[x - 1]);
ff[0] := (Print@Stack[]; 1);
]
ff[8]
 
4:59 PM
@OleksandrR I've noticed that when I started using mathematica I was thinking procedural. Then I started becoming more fucntional. Lately I'm not sure if I'm going back or finding some new weird place but definately I am not one of the purest functional guys
Getting used to a software that gives you so much freedom has made me a weird programmer
 
Something weird going on. Can't post comments nor open the long tail of a comment section.
 
@SjoerdCdeVries My "inbox" is down as I noted above. System issues apparently.
@Rojo Rojo I don't have time to give that a thorough look right now, but thanks. I'll come back to it.
 
@Rojo judging by the code in some of your recent answers, I'd say you've found the quintessential Mathematica style. :) Certainly the language doesn't encourage functional style that strongly; it's only pretending to be functional after all. Term-rewriting style (or "rule-based programming") is a lot less familiar to most people, I would say, and takes time to come to terms with.
 
@MrWizard Or I should give my iPad a whack...
 
R.M
@SjoerdCdeVries how do you reply to a chat on an ipad?
 
5:09 PM
I wonder if it's easier to move from mathematica style to a more procedural style of programming than the other way around.
 
@Heike, I think that procedural - > MMA is hard, and MMA->procedural is simply too boring to survive
Boring doesn't imply worse at all
 
<plug type="shameless"> The next Mathematica Experts Live has been officially announced. It's on Dynamics. </plug>
4
 
It's like handling 34125544 words in a language and then only speaking to cheerleaders
 
R.M
@Heike I don't know about that... now when I write procedural code in other languages, I'm desperate for Map/Apply/Fold/First/Last and creating pure functions on the fly
@BrettChampion remove the <plug> stuff and I'll star it... Not that I care, but it'll be messed up on the sidebar
 
@BrettChampion Sounds interesting.
 
R.M
5:13 PM
ok, doesn't look that bad after all
 
Well, just when I was starting my letris game... I could accumulate questions and drive them insane
 
@RM It does look ok, so I'll leave it as is. :-)
Anyway, time for me to go grab some lunch. See you all later!
 
@RM You have to switch to non-mobile view and have some patience hitting the correct buttons
 
@Rojo The thing that gets me with procedural languages I'm familiar with is all the preliminary stuff and glue code I need to get through before being able to write something that actually does something.
 
R.M
@SjoerdCdeVries uh oh. I was hoping it wouldn't be that... thanks
 
5:16 PM
@Heike Python is quite good for that. The overhead is relatively minimal.
 
@OleksandrR That's what I've heard about python (and ruby as well). Apparently it's a good language to get familiar with OOP.
 
@rm it's the menu button and then "full site"
 
@Heike Supposedly. I tend to avoid the OOP features; I have more of a functional style in Python (as far as it admits that). Python's OOP is about as fully fledged as its functional features, which is to say, enough for most practical purposes, but not to the same degree as you would find in other languages.
 
@OleksandrR I've dabbled in Objective C but there I got carried away a bit with the OOP stuff. Maybe I should have stuck with C a bit longer.
 
@Heike I'm not hugely familiar with C. I've hacked in it, but not written any complete programs. A friend of mine came to Objective C from C and hated it initially, but seems to have come to terms with it now.
Also, I'm not a huge fan of OOP conceptually. I find it rather stuffy when carried to extremes and use it only where it seems to be a natural fit for a problem.
 
acl
5:29 PM
@RM linkedin seems to be doing some nontrivial analysis of its data
 
@OleksandrR The main argument for using OOP seems to be reusability, but I wonder how often people actually reuse their custom subclasses.
 
@Heike I don't really buy that it promotes reusability any more than a functional style. Compared to bare procedural style, yes, but it seems that OOP is mainly used as a slight formalization of structured programming, as a way to wrap up procedural code.
 
R.M
@acl Really? I thought it was fairly greedy and simply looked at similar groups and how many connections belong to a particular organization... For example, everyone at WRI is now "a person I might know", but no one in my group/lab/univ is recommended :P
 
acl
@RM nontrivial doesn't imply it gets it right. I have a similar situation as you describe, but some of the ones which are suggested have no first- or second-order connection to me, yet actually are good suggestions
maybe it's random though
 
R.M
5:51 PM
@acl ah yes, I've had a few of those. I later found out that in all of the cases, they visited my profile but had their tracking turned off. So it shows up as "someone from X", but usually that's descriptive enough for me to do a quick search and nail the person down (usually it's during talks and conferences). So the algo thinks: "A views B and B views A even though it wasn't made explicit that A viewed B so they must know each other"
I'm sure it's a lot more complicated than that with heavy mining, but it's fun to try and reverse engineer :)
 
6:20 PM
Hi
 
 
2 hours later…
8:15 PM
@belisarius heya
 
iuju
 
@belisarius Independent Union of Journalists of Uzbekistan?
 
@belisarius The only words I remember from my only visit to a spanish speaking country are aseos, salida, and jamón.
 
@Heike Jamón is the most interesting one, without doubt
@Heike Yesterday I was eating herrings at a party. And they remind me of you (no offense! :P)
 
8:34 PM
@belisarius obligatory
 
R.M
@Heike I also know 1-20 and ¿cuánto?... pretty much all I've ever needed, really
 
@belisarius I was in Madrid with a girl who was absolutely nuts about serrano ham.
 
@Heike Damn ... now you have to explain that one to me
 
@belisarius That's from Monty Python and the search for the holy grail.
 
@Heike But ... what has a herring has to do with an axe?
 
8:38 PM
@RM So when you ask ¿cuánto? in a shop and they say something you can understand it's safe to buy.
 
cutting trees ... etc
 
@belisarius Nothing. This bit comes after they ask the knights to get them a shrubbery.
I don't know if you're familiar with Monty Python but they're know for their surreal sense of humour.
 
@Heike Oh... I see. Pure nonsense. Monty Python's specials.
 
@belisarius yes exactly.
 
@Heike Sometimes I don't catch cultural references in movies. And as translations are usually very bad, they are useless to help with subtleties.
 
8:43 PM
@belisarius Do they dub films in Argentina?
 
@Heike Only for kids. We use subtitles
 
@belisarius That's the same as here then.
Most countries I know dub films instead of using subtitles, which is a shame I think.
 
@Heike I usually try to understand them in English, but reading the subtitles is some kind of Pavlovian response
 
Yeah
I've watched about 2394789 hours of series in the PC, without subtitles, and I feel totally comfortable with that
 
@belisarius Yes that's true. I try not to get distracted too much when I see a film in the cinema or on TV.
 
8:47 PM
but I always end up reading when I have them
 
@Rojo True
 
I once saw a Dutch experiment where they had people watching a film with subtitles while tracking their eye movements. Even though the film was in Dutch and the subtitles were in another language people would still try to read the subtitles.
 
Hi all
 
Hi @IstvánZachar
 
@Heike Pavlovian
 
8:51 PM
@Rojo: I've played a bit with your dynamic profiler. I think I know hwo to make it more general, see my comments there.
I would like to hear your opinion about the extension I proposed.
I see Monty Python is on topic
 
@IstvánZachar Let me see
 
@IstvánZachar I'm to blame for that I'm afraid.
 
@Heike No one is to be blamed :)
Actually, I just wanted to by some MP gifts for my brother in London, but there is no shop like that around. Such a pity.
 
@IstvánZachar Actually, I meant another thing when I talked about nested Dynamics, but you are right that we should make it work with "explicit" nested dynamics too, which shouldn't mean more than extending the code a bit
 
@Szabolcs Are you going to be in Hungary in the near future? I'm finally moving back from London, we could organize a Hungarian Mathematica.SE event. Won't be a big one though...
 
8:56 PM
@IstvánZachar I don't think there is much MP merchandise around these days. You should be able to get a dvd box set at HMV or so.
 
@IstvánZachar replacing whatever was injected with the original may work
but there must be something simpler
Something recursive probably
 
acl
0
Q: How to properly enable syntax highlighting for Mathematica in Vim?

MaThEmAtikaHow to properly enable syntax highlighting for Mathematica in Vim? I want it automatically on when opening .m files with Vim too.

 
@RM Oh no, they have a sketches section. I probably should get out of there while I can.
 
acl
how come nobody has given the correct answer to the question, namely, "do not use vim"?
 
9:03 PM
@Rojo Yeah, but that would require way too much thinking, and I need a quick and dirty solution :)
 
@IstvánZachar each one feels more comfortable in a particular way, I'll try to make a quick solution, you let me know if you get something working first
Brb
to do that
 
@acl Because you like the Undo[] features of the Mma FE? :P
 
@acl Well, at least vim has multiple undos
 
R.M
@acl heh, I'm more surprised that no one has voted to close
 
@belisarius Damn, you beat me.
 
acl
9:04 PM
@bel @Heike @RM I had more in mind "do not use vim, use emacs"
 
R.M
@Heike @belisarius it was just an elaborate setup for an <emacs==42> joke. You both just failed
 
acl
(flamebait, you see)
 
@acl Ah, starting a fight?
 
acl
@RM right :)
 
:DDD
@RM A fail a day is the salt of life
 
9:06 PM
It's clear who of us uses Vim and who uses Emacs.
 
acl
@Heike is there a visible aura?
 
@acl I wouldn't call it an aura.
 
I sorely miss this one
72
Q: What is in your Mathematica tool bag?

TimoWe all know that Mathematica is great, but it also often lacks critical functionality. What kind of external packages / tools / resources do you use with Mathematica? I'll edit (and invite anyone else to do so too) this main post to include resources which are focused on general applicability i...

 
Great, now I'm watching the bicycle repairman sketch again.
 
acl
@Heike an olfactible stink?
 
9:10 PM
@acl Well, now that you mention it.
 
R.M
@belisarius that was too big to be useful
 
@RM I don't care about size (blush!)
 
R.M
but I just notice now that I can easily give WReach a gold medal
 
@belisarius I first saw that one during the whole blackberry outage a while back.
@RM We could chop it into bits a use it for the blog.
 
9:13 PM
@Heike It's very good!
 
@belisarius I liked it a lot.
 
@Rojo let's continue this in a private chat. You know how to do that?
 
No :)
It normally just appear when you have long exchanges in comments
but we can kidnap some of the leftover rooms
 
Time to go to sleep.
 
@Rojo Go to site rooms (upper right) and there there is the option for creating a room
@Heike good night!
 
9:20 PM
Thanks
 
9:51 PM
@acl what is wrong with vi? It is just two key-strokes (Shift 5) to find matching brackets. the last time I checked it was three or so in Emacs.
 
R.M
10:01 PM
56 mins ago, by R.M
@Heike @belisarius it was just an elaborate setup for an <emacs==42> joke. You both just failed
you failed too :)
The only winning move is to not play
 
10:20 PM
bye all, have a good night/day
 
Buhbye
 
acl
10:36 PM
@RolfMertig nothing, it was a joke. emacs-vi stirs up endless arguments so I am parodying that.
I couldn't care less if someone uses emacs, vi or whatever (so long as I don't have to use it, as I find modal editing idiotic)
@RM (see how artfully I worked an insult to vi into my last message, while claiming I don't really care?)
 
10:48 PM
This might have been a bit harsh, but really!
 
acl
@Verbeia no, I don't think it's harsh (or: it may sound a bit harsh, but it's accurate)
 
CHM
@Verbeia I think it's pretty fine.
He shouldn't take it personally.
 
11:04 PM
@Verbeia Could you write my next paper for me? I'll offer a bounty
 
acl
@belisarius I'll do it for .9 of what she wants
 
@acl Ok. I'll E-bay it!
 
acl
@belisarius send the title and abstract and I'll do the rest
 
@acl The abstract is part of the paper. You are trying to cheat. Just the title: "Anomalous behaviors in SE sites"
 
CHM
@belisarius scientific paper, or literary essay?
Right.
 
11:09 PM
@CHM Whatever you want. I am looking for fame. Don't care the means.
 
acl
@belisarius it's you who's cheating, not I. you are asking for an encyclopedia of aberrant human behaviour, not a paper
 
@acl Social sciences are like that. You should start writing long sentences with lots of chained synonyms, and then see where you get.
 
acl
@belisarius become a newspaperman, enter a press conference with obama using your credentials, streak in the middle of the conference
 
R.M
Let's play 20 questions!
0
Q: Rule-based vs Term Rewriting [Simple Yes/No Question]

term-rewriticaI have read that one of the most under-used powers of Mathematica is term rewriting powers. I am currently reading "Power Programming w/ the Mathematica Kernel." It defines the three main paradigms as: procedural, functional, rule-based (ala prolog.) Question: Is rule-based and term-rewriting ...

 
acl
@belisarius I have a friend/ex-flatmate doing that. I literally could not understand what she was writing. she got the highest mark in her msc course in decades
 
CHM
11:14 PM
@belisarius Here you go.
 
@RM, he asks that and he's called term-rewritica
 
@acl I wrote a few of them while helping a friend. I got very good marks without having the slightest idea
 
acl
@belisarius what worried me is that she seemed to understand what she was writing. she's smarter than me, OK, but not understanding even the thrust of a text makes me suspicious
 
R.M
@acl sounds like she's good for law school
 
@acl Hehe .... I know the feeling
 
acl
11:17 PM
@RM apparently she is good for whatever she is not bored of. this changes with time.
 
CHM
@acl there's a saying - if you can't dazzle them with brilliance, baffle them with bullshit.
 
acl
@belisarius I did that (write their thesis) with someone for a statistics course. she got over 70% (a 1st class degree in the UK), even though I don't know what a chi-squared test is
 
is there a mathematica workbook of some sort? i.e. a book of exercises, where the text presents some problem. I solve it, then the text on the next page shows me how I could have solved it using 2 lines of @@ // and other operators? I feel like it would be very enligtehing and the most straightforward way to learn the mathematica way of programming
 
Nice question
 
CHM
@user1311390 I'm interested. But I've found that it kind of already exists... the documentation for MMA contains a lot of examples - maybe not in the same format though.
 
11:28 PM
@CHM: what's MMA?
Google is giving me mixed martial arts.
 
MatheMathicA
or MatheMAthica
or wolfraM MAthematica
 
Mixed Math Abbreviations
 
CHM
@user1311390 a lazy acronym for Mathematica
 
a lazy acronyM for MAthematica
 
acl
@user1311390 not exactly in the form that you ask, but the Mathematica Cookbook by Sal Mangano presents solutions to a number of problems
 
CHM
11:31 PM
Most people I know would think of "Mixed Martial Arts" instead, but here, people understand MMA as being Mathematica.
 
acl
however, whether it's useful depends on how much mathematica programming you've already done
 
CHM
@acl this I have to read, once (if) I get money from my advisor.
 
this I want to know: how did wolfram invent Mathematica? It's both so natural (from a mathematian's perspective) and bizaare (from a programmers's perspective)
 
acl
@user1311390 an anagraMMAtic acronym for mathematica?
@CHM could you not find it in your library?
 
CHM
@acl I could, but I can't get to school until next month.
 
acl
11:35 PM
@CHM oh right, I forgot
 
I wonder if Newton or Turing ever pirated a book.
 
acl
@user1311390 I suppose they couldn't do that so easily
 
CHM
@user1311390 I would be surprised if they wouldn't do it, given the chance.
 
no photocopiers => copying by hand
but given their intelligence, copying it probably = memorizing + understanding it
did Mathematica steal any of it's notation from APL?
that's the other language I think of in terms of weird syntax (besides Perl)
this is quite counter intutiive:
x=. <-- unsets a var
f=. <-- does not unset a function
f[x_] =. <-- actually unsets the rule
 
CHM
@user1311390 I'm not sure memorizing and understanding something can be attributed only to intelligence. They had so much time on their hands - no PC, no TV, no girlfriend, no kids, no most of what we have.
 
11:42 PM
holy shit, inline documnetaion is awesome, ala
? /.
 
CHM
@user1311390 Try ?/@
 
this better not be the equiv of rm -rf *
 
CHM
or ?&@
/@ is Map[]
 
information: nomatch: no symbol matching &@ found
 
CHM
so ?Map works but ?/@ doesn't.
 
11:44 PM
why?
Needs::cxt: "Invalid context specified at position 1 in \!(Needs[\"Statistics\"]). A context must consist of valid symbol names separated by and ending with \!(\"`\")."
 
CHM
Try this: Map[f, RandomInteger[10, 10]]
 
how do I get the "Statistics pckage loaded? whatis my "context" ?
 
CHM
And then this: f /@ RandomInteger[10, 10]
/@ is shorthand for Map.
 
ah, it's like @@ vs Apply
 
CHM
Yes.
It took me a while to get what /@ and @@ referred to,.
 
acl
11:47 PM
@user1311390 does this help?
 
CHM
Google doesn't help with shorthands in MMA
 
acl: so it's basically a namespace?
 
acl
@user1311390 serves the same purpose
 
In this line here, MeanTest[nums, 2, KnownVariance -> 11/10]
what does the -> operator do? I know it's supposed to pass a optaional parameter or something; but I'm not certain what it does.
(or how it works)
 

« first day (173 days earlier)      last day (4328 days later) »