« first day (275 days earlier)      last day (4210 days later) » 

12:03 AM
`l = {0, 0, -1, 0, 1, 0};
RotateRight@l.l == -1` ??
perhaps some problems in the border cases
 
acl
@belisarius that does look fast
I am a bit scared to extract the snippet from my actual code to compare as the thing has now grown to a huge unreadable mess
 
@acl sounds familiar
@Rojo You've been entering here for weeks just to say "Hey!". Are you taking your pills?
 
@belisarius Not sure
 
@Rojo Well, that poses a difficult problem. How could we be sure?
 
Beer?
 
12:11 AM
A coroner?
@Rojo Have you seen my new avatar?
 
I've been coming to the site, checking some of the questions, but haven't been too active lately
 
Yeha, the breathing logo
It's cool
 
@Rojo I posted the code for you
 
True!
Saw some comment from work, but couldn't open it from there. Thanks for the reminder
Here it is
Cool, thanks!
 
1:04 AM
Hum, anyone knows of an already implemented (or quick to implement) algorithm in MMA to invert a toeplitz matrix? I mean, one that isn't O(n^3) and that doesn't require to build it
 
1:40 AM
@Rojo Is it circulant?
 
@rm-rf Yeah
@rm-rf No
 
@Rojo Ok, should be very easy then. The eigenvectors of any circulant matrix is the DFT complex exponential
 
I misread the definition of circulant
 
@Rojo oh, ok then.
 
Yeah, I had tried to make it fit as a dft, but couldn't. It's not circulant, it's just a toeplitz matrix with equal first row and first column
like all correlation matrices of reals sequences
Toeplitz symmetrical
>0
 
1:46 AM
Hmm... OK. I think there are O(n^2) algorithms, but not sure...
 
@rm-rf Seems so, one called Levinson Durbin is O(n^2). And there are some O(n log(n)^p) too which aren't apparently very stable.
Thanks
 
 
10 hours later…
11:43 AM
@Mr.Wizard You here?
 
@belisarius yes
 
Hi!
a quick question
I've a function f[x], and a list of other functions {g[1][x] ... g[n][x]} that represents f[x] n some domain intervals (periodic)
If I want to know where each one represents f[x] I can do
something like
Reduce[# == f[x], x, Reals] & /@ g
DO you follow me?
 
vaguely :^)
 
Ok. doesn't matter, the question is
 
You're typing slowly tonight. Are both hands OK? No more accidents I hope.
 
11:49 AM
is there a canonical way to transform Reduce results to piecewise domain defs?
 
(Or this morning I guess. hehe)
 
yeap, still trying to open my eyes
 
Hm... I don't think I've seen one, but I'll think about it.
 
I have a hint
 
Can you give a small set of sample functions to play with?
 
11:51 AM
@Mr.Wizard I solved the problem for my functions at hand, but it isn't general enough
let me make a stand alone example. I need a few mins. I'll ping you
 
Great, thanks. A nontrivial example always helps, and I'm lazy.
 
12:03 PM
@Mr.Wizard Here is a trivial example of what I'm trying
s = Cos[x] Sin[x]; (*The function to match*)
s0 = {-Sin[x] Sqrt[1 - Sin[x]^2],
Sin[x] Sqrt[1 - Sin[x]^2]};(*the cndidates*)
s1 = FullSimplify[
Reduce[# == s, x, Reals] & /@ s0] ; (*the validity domains*)
hh[x_] :=
Piecewise[
Transpose@{s0,
ReplaceAll[#, ((xx : Element[u__, __]) && z__) ->
Hold@Resolve[Exists[u, xx, z], Reals]] & /@ s1}];
Plot[{ReleaseHold@hh[x], Sin[x] Cos[x]}, {x, 0, 2 Pi},
PlotStyle -> {{Thick, Dashed, Red}, Blue}] // Quiet
 
Okay. Interesting problem, but nothing new comes to mind. You should post a question, no?
 
@Mr.Wizard I am thinking about it. But I don't have a general syntax for the Reduce output, so the question is too broad
 
It doesn't hurt to ask. (If you mean too broad as in "Not a real question" I surely disagree.)
 
@Mr.Wizard No, I mean too broad as in "fit the Reduce output to whatever you need to make up an answer"
 
Hello @Ajasja
 
12:58 PM
@Mr.Wizard Hi!
How can I be of service? :)
 
1:26 PM
@acl I did say once before, he acts like the sort of guy who frequently gets his teeth kicked in at bars...
@Rojo Well, if you're asking how to implement Levinson-Durbin functionally... it looks ugly. I'd stick to the procedural implementation. Are your Toeplitz matrices SPD? Banded?
@Rojo I don't particularly trust the "superfast" methods; they only really pay off for large dimensions, and there's the instability you mentioned.
 
@J.M. Why are you restricting to certain body parts?
 
@belisarius Okay, sometimes, also in the cojones...
 
@J.M. I was going to write a rant about the real vs virtual life one's ability to chose socializing partners. Better not.
 
@belisarius You don't have a blog somewhere I can read? ;P
 
@J.M. Of course not. No facebook. No twitter. No nothing.
 
1:41 PM
(Though yes, the good thing about the computer is that you can't turn people off (unless you make them unconscious... and that's troublesome to do.))
@belisarius yech, I'm not even talking about Facebook. :) That thing is an abomination.
 
@J.M. yep. my kid was forced in by the school socializing process. I hate it
 
I mean, thanks to stuff like Wordpress (the software behind the site-associated blog), you can write stuff, independent of the social networking crap.
 
@J.M. I think that publishing thoughts is a serious matter. You should've something to communicate in the first place
hi bald one!
 
True. Nobody (in his proper mind) wants to leave crap on the web, whether answers or blog entries. :)
Hello, hal.
 
@J.M. At least not without hiding behind a knot
 
1:47 PM
@belisarius :)
 
@belisarius Oh, that was to me I assume.. :-) Hi.
I'm listening your conversation.
 
@J.M. The comment is funny, but the matter is most serious. All those kids forced to expose themselves by a nasty monster
@halirutan Yep Hi!
 
@belisarius If they're lucky, the "expose" in your sentence is merely figurative...
 
@J.M. Figurative or not, by the time they reach adulthood, they'll have footprinted all the world with the embrionary stages of their teen's thinking
 
Ah, yes... "But I was just a dumb teen when I did those things! That picture isn't how I act now, I swear!"
 
1:56 PM
@J.M. exactly. Tell that to a Harvard's admittance clerk
 
The good thing is, that my daughter is too little to be on facebook and in a few years we are running out of oil anyway.. No oil, no energy, no internet, no facebook.. Unfortunately no Mathematica too. The we can tell stories from the past when we were good at something ;-)
 
The clerk won't give the kid a chance. She'll put the application through the shredder right after the Google search...
@halirutan How old is the little one?
 
@J.M. She is a little one ;-)
 
Ah, not even a toddler yet. Good age... too young to crawl. :D
 
@halirutan That's an optimistic look. They will find something else to destroy in order to keep the economy running
 
1:59 PM
@J.M. She comes after daddy and walks since is 9 month old..
 
@halirutan A wonderful age!
enjoy it!
 
@belisarius Or they really crash the world until then.. but probably you're right.
 
@belisarius Too many options...
@halirutan Yes, what bel said. The kids grow so fast these days...
 
It has a limit: http://www.wolframalpha.com/input/?i=Log[Log[Log[Log[Log[Log[9^8^7^6^5^4^3^2^1]‌​]]]]]
and it reaches the limit very quickly
Curiously I can't find references to that by Googling it
 
2:17 PM
BTW @halirutan, I've been meaning to ask: did you draw that South Park-like character yourself, or is there software for that?
 
acl
hi all
 
@J.M. I use the [avatar builder ](southparkstudios.com/avatar) to create the basic form and then convert it into a vectorgraphics to adjust things..
On my original one, I made a vectorized version of my puma-shirt and put the logo on.
 
@acl hey, hey
@halirutan Neat toy! Thanks.
 
acl
yesterday I experienced one of the joys of introducing mathematica to people for the first time
the point in time at which they realize that if they select a large amount of code, press a random key and then enter by mistake, their code is gone for ever!
"not, there is no other undo; that's all. when did you last save?"
 
@acl hehe
I still hate it
 
acl
2:26 PM
yes. it's one of the main reasons I mainly code in workbench now
(although I always end up starting in the frontend, growing my code beyond what I find comfortable in the fronted, moving to workbench and wasting time renaming symbols like [Alpha] to alpha etc)
oh well nothing is perfect
as NoEscape so eloquently put it, the frontend is lacking :)
 
@acl We can shift to Visual Studio and C# ... wait ... better not
 
@acl hehe, "eloquent"...
 
@acl "It sucks soo badly!!!"
 
@rm-rf hi toad!
 
@belisarius Hi breathing monster
 
3:21 PM
Ha!
 
@belisarius *facepalm*
"Write the bloody thing on paper, by Jove!"
 
@J.M. He is using the wrong software. He needs "Mathemagica"
 
3:39 PM
@J.M. It survived for 30 minutes
3
Q: Limit of $\log (\log( ... \log((n)^ {(n-1)^ {....}})))$

belisariusThis is a spinoff of this question Defining $$f_0(x) = x$$ $$f_n(x) = \log(f_{(n-1)} (x)) \space (\forall n>0)$$ and $$a_0 = 1$$ $$a_{n+1} = (n+1)^{a_n} \space (\forall n>0)$$ How to calculate $$\lim_{n \to \infty } f_n(a_n) $$ (an "experiment" here)

 
 
1 hour later…
4:46 PM
@J.M, yeah, spd
 
 
2 hours later…
6:24 PM
Hello @AnnaLear
I hope you bring good tidings :)
 
acl
7:06 PM
all: I feel like I am missing something obvious, but, does mma not have a matrix log function?
 
@rm-rf After a fashion. :)
You may or may not have seen this:
22
Q: Disable migration for questions older than 60 days

Shog9This has come up a few times now: migrating old questions causes problems. The most popular solution to this to date has been to reset votes on migrated posts. This is do-able, but frankly it feels like treating a symptom, and doing so in a way that penalizes folks who answer what are by all ap...

So now nobody can migrate old questions, period. However, we have a process in mind for allowing organized migration of older questions to a smaller site. Keep an eye out for that in the next few days... also on MSO. I'll drop by here with a link once it goes up.
 
7:23 PM
@AnnaLear Yes, I saw that yesterday and I also saw that Tim spoiled your surprise ;)
 
I will hate him forever. FOREVER.
 
Haha! Thanks for the update; will keep an eye out for the MSO post
 
7:56 PM
@rm-rf Could we apply for migrating all Mma tagged questions here at once and decide by ourselves what to do with them? When SO gets to zillions of C++ questions, out little nest there will be migrated to magnetic tape
Before they close all ways of exporting, I mean
 
8:12 PM
@belisarius No, that would be chaotic... 2k+ questions is a lot. Most of them are fine where they are... we should only focus on those few really good ones that are more about the quirks of the interface/software and language than general programming issues.
 
@rm-rf I fear we are moving too slowly. They are going to close the customs office
 
@belisarius It's ok. Some of the coke can stay in Bolivia
 
@rm-rf It's useless there. They are far too clever to consume it
 
@belisarius There is no alternate here... we can't move fast. Things aren't going to be migrated en masse, no matter what. I'm already facing a very stiff resistance for the handful of questions that we asked for. Better to pick your battles... and your questions.
 
@rm-rf ok. Reminds me of some anal retentives I know
 
8:19 PM
@belisarius Nah. We know you guys have questions you want migrated. The process I alluded to above is being created with you in mind. :)
You're not going to miss out on going through it.
That said... just migrating all mathematica-tagged questions is incredibly unlikely.
 
@AnnaLear :D That's good news
@AnnaLear I know, it's a last resort kind of suicide
 
8:53 PM
Hey
Just wondering how you would enter ln(4) into mathematica. I entered it as Log[4] but the output was Log[4] too
 
If you want a numeric output, use N like Log[4] // N
 
ohhhhh THANKKKSSS
Thanks for your helppp :)
 
You're welcome :)
 
@rm-rf I asked a q in Mathematics 5 hours ago. (81 views, no answers, no comments) ... What a lonely site
 

« first day (275 days earlier)      last day (4210 days later) »