« first day (84 days earlier)      last day (3299 days later) » 

1:20 AM
@CHM Which documentation pages were updated?
 
CHM
1:45 AM
@BrettChampion just search this on Google: intitle:"Wolfram Mathematica 9 Documentation"
@BrettChampion if I remember correctly, there were more than just those three a few weeks back. It should be mentioned in the chat.
@BrettChampion if you do the search without "Documentation", you'll get lots of bogus sites claiming to offer a copy of the unreleased software.
 
CHM
2:14 AM
@BrettChampion I've been to wolfram.com a couple of times a day since we've been informed to "stay tuned" on the MMA 9 release schedule.
lol
@sblom what do you use MMA for?
 
@CHM sounds like a waste of time... they already said it's sometime Septemberish :)
 
CHM
@yoda I wasn't aware of that. Who said, and when?
 
@BrettChampion If I remember correctly, the three functions: SQLUpdate, SQLTableNames, and SQLTableInformation all had titles that said "Mathematica 9 Documentation." That said, the links returned from the Google search all have the correct titles when clicked on, now, but the Google cache (as of this point) still returns the v.9 links.
 
@CHM during that video workshop (or whatever)... it was also shared in chat, actually just a few messages before the one you always link to :)
 
CHM
@yoda will check that now. I linked it, because it was starred, at one point.
 
2:24 AM
@yoda I like the new gravitar. It's a little difficult to see in small form, but looks very nice in large form.
 
CHM
I haven't read the whole conversation. probably should have.
 
@rcollyer yeah, I love it!
 
@yoda Yes, but did you make it in Mathematica? After all, that is the only true test.
 
@rcollyer who said I made it in anything? :P
 
It's just a reflection of the Force, right?
 
2:27 AM
No, it's a reflection of my Googling skills =)
 
Force, Googling, same difference. :P
 
also, there's this: davidson.edu/math/chartier/Starwars if you're interested. Produces this, apparently:
 
Cool! Now, I just need one of a chicken ...
 
I have a good one for gardening too:
 
CHM
@yoda Does WRI usually release information concerning new functionality before releasing the software?
 
2:29 AM
@yoda is that in your garden at home?
 
@CHM companies don't announce very much in advance unless there's a standard release cycle
I know more or less when the A and B releases of MATLAB release each year
 
(If the reference to the chicken elude you, here you go.
 
@rcollyer nah, not that fancy
I always thing of this when someone says chicken in a non-eating context:
 
Too bad.
 
2:33 AM
@yoda never saw the show. But, that's pretty wrong.
 
3:16 AM
@CHM It has become my go-to for quick and dirty scripting. If I've got some data that I want to pull some numbers from and maybe sketch a few charts, I'll start in Mathematica until I know what I want to really build.
 
CHM
3:27 AM
@sblom ok.
The job's usually easily and quickly done in MMA, whatever the job is.
 
@CHM It kinda suits my style as programmer-tinkerer pretty well. If I want to do something quick with image processing, I've got 70% of what I need in one place.
 
CHM
=)
 
@CHM What do you use it for?
 
CHM
3:42 AM
A research project at school.
I've started using it three months ago, or so.
Still have a lot to learn :P
 
CHM
3:58 AM
@sblom good night.
 
@CHM later
 
 
4 hours later…
7:35 AM
@BrettChampion The DatabaseLink doc pages. I think it's only the title that's updated. It's been like that since at least early February (that's when I noticed it).
 
 
4 hours later…
F'x
11:26 AM
I'd like to raise attention to this question:
17
Q: Block attributes of Equal

Mr.WizardI answered “Equating matrices (or higher order tensors) element-wise” with: {A, B} = RandomInteger[3, {2, 4, 3, 2}]; Block[{Equal}, SetAttributes[Equal, Listable]; A == B ] {{{False, False}, {False, True}, {False, False}}, {{False, True}, {False, False}, {True, False}}, {{False, Tru...

I have added a bounty to it, trying to get someone to answer; it's a part of Mathematica that is much too deep for my current understanding, but I'd love to learn more about it
so I officially announce that whoever answers this will also earn my eternal gratitude (in addition to the bounty)
in the unlikely case I should turn out not to be eternal, my eternal gratitude is redeemable for regular gratitude
2
 
 
3 hours later…
1:59 PM
@Fx What sort of answer do you expect? Equal seems to be handled specially ...
@Fx It's interesting and a bit shocking that Block doesn't work with all symbols, but what sort of answer are you looking for? A way to Block it completely?
 
F'x
@Szabolcs more like a clear answer drawing from all the comments (and maybe some more)
 
2:54 PM
@RM check out my alternative to the "lists of unequal lengths" question. It is a little more verbose, by I think it showcases Reap and Sow nicely.
Here's a question to amuse and titillate you all:
107
Q: How many levels of pointers can we have?

ParagHow many pointers (*) are allowed to use in a single variable? Let's consider the following example. int a = 10; int *p = &a; Similarly we can have int **q = &p; int ***r = &q; and so on. How many * are allowed in a single variable? For example, int ****************zz;

The guy rep capped twice with this little gem; reminds me of Waldo. Not necessarily a bad question, but it is surprising how fast this got him a gold badge.
 
F'x
3:15 PM
@rcollyer any decent implementation should limit the number of indirection levels to $\aleph_0$
2
 
3:28 PM
i remember seeing a question about implementing the MMA "you're forgetting an argument in this function" caret for custom functions but i can't seem to find it
 
@Fx It does limit it to $\aleph_0$, see this answer.
18
Q: Syntax highlighting for your own functions

celtschkMathematica has a useful feature that for functions and special constructs getting passed local variables (for example Minimize or Block), the affected variables are shown in a different colour. Now when writing your own functions of this type (like the NOptimize function found in this answer), M...

 
@rcollyer i saw that
but this was specifically regarding caret
like you'd get if you left off a required argument
i.e Plot[]
 
Yes, they're dupes of each other, and hence the caret question was deleted by the OP.
This is how to accomplish it.
 
weird
 
how so?
 
3:32 PM
as i understand it, that question is about highlighting in optional arguments
oh wait
 
no, it's about employing the syntax highlighter for your own functions. much more general. the caret kicks in via the same mechanism.
 
that does do it, i see. nifty
nope, it doesnt
try
Options[f] = {a -> 1, b -> True};
f[x_, y_] = Identity;
SyntaxInformation[f] = {"ArgumentsPattern" -> {_, OptionsPattern[]}};
f[] has the caret, f[x] does not
 
Except: OptionsPattern[] is optional, i.e. if it doesn't appear, it's okay.
Try:
Options[f] = {a -> 1, b -> True};
f[x_, y_] = Identity;
SyntaxInformation[f] = {"ArgumentsPattern" -> {_, _}};
instead.
 
actually, it needs
SyntaxInformation[f] = {"ArgumentsPattern" -> {_, _, OptionsPattern[]}};
which does the job. thanks
 
Actually, mine works.
 
3:39 PM
@rcollyer not if you try including an option
 
However, your function does not accept a third argument.
You need
f[x_, y_, opts:OptionsPattern[]]
 
@rcollyer right. forgot that
 
Heard anything from your new employer?
 
@rcollyer nope. i'll send 'em an email to see what happened
 
Just checking. Thanks.
 
4:11 PM
Looking through old code that I have to make work with new data, and I found this monstrosity:
Transpose[
    MapAt[ListCorrelate[{True, True, True}, #, {-1, 1}, {True}, And,
        And[#2, Or[#1, #3]] &][[2 ;; -2]] &, Transpose[# ],
     3]] & /@ # &
I really don't know what to say about it.
 
What does it do?
 
@Heike isn't it obvious?
 
It's part of a larger code that creates a function that returns two flags specifying if the point in question for a particular data set is the ground state and is converged. How it works, god only knows.
Hi @JxB
 
JxB
4:26 PM
Howdy
 
BTW, the code block it is part of is preceded by the only comment in the entire cell:
`(* Generate index for grounds state and convergence flags by data set and U *)`
 
@Eli Ok you're right. It seems that celtschk's answer would be the best solution. I'm not very sure about the ethics of choosing answers and switching one's opinion. It also seems a combined effort. Any guiding rules? — Lou 7 mins ago
not sure what to advise
 
@EliLansey Nothing unethical about it. When the original answer was posted, it was the best; that moniker no longer holds. While it is disconcerting to change the accepted answer, there is nothing inherently wrong with it.
 
JxB
5:17 PM
@rcollyer The list correlate takes a list of booleans, and toggles single occurrences of True bracketed by False on either side (except at the beginning and end of the list). It is equivalent to #//.{before___,False,True,False,after___}:>{before,False,False,False,after}
MapAt on the Transposed input is applying this listcorrelate filter on the third element of each data point (a list of triples). It then returns the original list, but filtered.
So the list could be a 2D array of booleans in the x-y plane: for example, {{{1, 1, False}, {1, 2, False}, {1, 3, True}, {1, 4, True}, {1, 5,
False}, {1, 6, True}, {1, 7, False}, {1, 8, False}},
{{2, 1, True}, {2, 2, False}, {2, 3, True}, {2, 4, False}, {2, 5,
False}, {2, 6, True}, {2, 7, False}, {2, 8, False}}}
But not knowing your application, I have no idea how to assign meaning to the booleans...
 
@JxB Thanks. I figured it was along those lines. I have much better ways of doing this now, so I don't think I'm going to be reusing that part of the code. It is just icky.
 
JxB
@rcollyer icky indeed :)
 
My better method is to offload it into this functionality.
@JxB you aren't kidding. It is some of the most highly processed data I've created, and the code for it is equally dense.
In particular, now DataListPlot allows you to specify a way of comparing the multiple datasets together to determine how to plot each point.
Any way, I have to run and find some food. Let me know if you'd like to play with DataListPlot. I'll warn you that it is still a work in progress, but it is useful.
 
JxB
5:32 PM
@rcollyer Yeah, that looks cool, I'd be interested in trying it. So long.
 
5:45 PM
anyone seen a QR code generator / interpreter using MMA?
fwiw it's in W|A
 
6:08 PM
@JxB Sure. Next time we're both online drop your email address into the chat room, and I'll send it to you.
 
F'x
6:26 PM
@rcollyer beware that chat transripts will contain this information forever
 
@Fx Even if you delete it in the 2 minute window?
 
F'x
@Heike yes, even then, the information remains visible in the transcript history
 
I could before you removed the comments.
But now I get a "page not found" when I tried reloading the page.
 
F'x
because I deleted it (and IIRC as a moderator, my deletes actually remove stuff from the history)
but any post I edit (once, twice, or many more times) has a clearly visible history
 
@Fx Does that mean that if I as a non-moderator delete stuff in chat it will still be visible in the history?
 
F'x
6:41 PM
@Heike please try (here or in the sandbox)
also, can you tell me if you can access this: chat.stackexchange.com/messages/4193043/history
 
@Fx I can't see that page.
 
F'x
@Heike then finally, delete your last message yourself, and we'll see how that goes
and now, can you see its history chat.stackexchange.com/messages/4193183/history ? I can, but not as an unregistered user
 
@Fx I can see the history.
But I don't know if that's because it's my own message.
 
F'x
@Heike because it's your own
everyone can see their deleted messages, and mods can see everything
makes sense
 
7:19 PM
@Fx not from the transcript... only inside the chatroom, and that too only till the visible parts (i.e., till you can scroll up). If you're always in the room, then the "visible" part will be quite long
 
F'x
@yoda duh, thanks
 
 
2 hours later…
F'x
9:11 PM
0
Q: How use Mathematica fonts with LaTeX - which method?

murrayI want to be able to use Mathematica fonts with LaTeX. I find two sets of instructions for this: Robert's post there Kuska's instructions in mysymdoc.pdf, a file in the Mathematica 8 folder SystemFiles/IncludeFiles/TeX/texmf/doc. Method (1) explicitly assumes one is using linux, although robe...

I don't see how it is specific to Mathematica fonts… it's a TeX question, isn't it?
 
F'x
9:48 PM
and this one here is incomplete, and wasn't completed by its author since she asked it a week ago:
-1
Q: Piecewise equations and NDSolve

Viktor DahlI have the equation am'[t] == Piecewise[{{r - m*am[t], Mod[t, td] < x}, -m*am[t]] and I'm trying to solve for am[t] using NDSolve. r and m, td and x are constants. td is much greater than x. At every integer multiple of td, we use the first case of the equation for an interval with length x...

 
 
1 hour later…
11:00 PM
@Fx I was under the impression that deleting them would make them invisible in the transcript to everyone but mods.
@Fx As an alternative, use spamgourmet.
 

« first day (84 days earlier)      last day (3299 days later) »