« first day (644 days earlier)      last day (3841 days later) » 

12:11 AM
Oh, lordy, using SameTest with Complement results in massive slow down.
 
 
2 hours later…
1:59 AM
LinkObject::linkd: Unable to communicate with closed link LinkObject["C:\Program Files\Wolfram Research\Mathematica\9.0\MathKernel" -subkernel -noinit -mathlink -noicon,399,5].
KernelObject::rdead: Subkernel connected through KernelObject[2,local] appears dead.
Is there a way to resurrect a kernel that dies like this?
Without shutting the entire thing down?
Using LaunchKernels just results in failure messages.
 
2:28 AM
@rm-rf @belisarius @m_goldberg @Calle I will have a look at it and fix it. Thanks for tracking down the bug.
 
3:01 AM
congratulation for the Wolfram Innovator Award winners
 
@xslittlegrass Damn! They overlooked me again.
 
3:21 AM
@belisarius Is the livejquery.js really not accessible from your location?
 
@halirutan I really haven't tried. It wasn't working, and I just replaced it in the script. Then it started working again. Do you want me to try something?
 
@belisarius No. I change the link anyway. I just wondered, because here I can reach it.
 
@halirutan Perhaps it's just a latency problem
 
 
2 hours later…
5:15 AM
@belisarius Still around?
 
@halirutan yep, finishing my whisky
 
@belisarius hehe.. 7:16 in the morning here. Cannot say the same ;-(
Did we agree on a way how to post code with output?
I remember we had a discussion whether this here is a good way:
α ∈ Integers

(* α ∈ Integers *)
Or this
 α ∈ Integers
(*
  α ∈ Integers
*)
 
I usually use that when there is more code after the output. When there isn't code following the output I'm using ">" like here mathematica.stackexchange.com/a/34601/193
 
@belisarius I found the discussion too meta.mathematica.stackexchange.com/questions/2/…
 
but it's just a matter of laziness. I should be more consistent (in life in general)
 
5:21 AM
@belisarius I go with my first way for the fourth awesome button which strips the In[3]:= and Out[3] from pasted code automatically.
 
@halirutan I upvoted @Sjoerd's answer then, so I guess I agree :)
@halirutan You should make a magic button to #include CDF docs :)
 
@belisarius Some things are just too good to become real.
 
starred .)
 
5:56 AM
@rm-rf @belisarius @m_goldberg @Calle The updated version is now ready. I tested it under Linux and OSX. For a list of changes please see the official post
45
A: Additional useful buttons for our M.SE editor

halirutanUpdate: 23. October 2023 The dependent jquery.livequery.js is now loaded from googlecode Introduced another button for the stripping of In[3]:= and Out[3]= marks. For this you have to select the complete codeblock where the I of In is the first letter in the selection. Pressing the button remo...

 
6:09 AM
@halirutan Nice! Seems to work OK under Win too. Thanks!
 
6:39 AM
@Mr.Wizard you would definitely belong - it is not that academic at all. We should all meet up there next year.
@xslittlegrass hey, @Rolf Mertig got one, too!
 
6:57 AM
@YvesKlett when I was in Frankfurt at the European conference ... I am not in the US right now. But yes, we should all meet next year there and have a beer.
 
 
2 hours later…
8:32 AM
@RolfMertig congratulations on the award!
 
8:59 AM
(at any rate, even a bit late)
 
 
3 hours later…
12:27 PM
@m_goldberg I'll answer you here, since the comment-section is getting quite large
Currently, the In[]-Out[] replacement is really just a simple regular expression replacement. I wrote the most simple version which fits my needs.
If you want it more sophisticated, it would be nice if I have a version in Mathematica with StringReplace which does what you need and I see that I get it implemented in JavaScript.
 
12:52 PM
@m_goldberg Sorry, It seems that when reviewing I no longer receive an error message if an edit/suggestion has been made. That's the second time this is happening to me.
@halirutan I was wondering is it possible to use the editor while reviewing new/late posts, cuz right now I can edit only when submitting an answer ?
 
1:09 PM
@NikolaDimitrov. Sorry, but I don't know what you are referring to.
 
@m_goldberg The edit I made after you edited the post
I suggested an edit from the first post reviewing panel and ..
 
@NikolaDimitrov What about it?
 
Well, usually when you submit an edit from that panel it says that an edit has been suggested
uhh
but your edits
are applied imm
:D
 
@NikolaDimitrov Probably yes, but it all depends on to look at the structure of the DOM in the review mode.
Then you have to adjust the insertion of the toolbar so that it is inserted at the right position in review mode.
I'm not sure whether I can do this.
(I'm out for now. Later)
 
@NikolaDimitrov As for the editing question, edits made by users with > 2k rep are always applied immediately. Get those last ~600 rep and you'll see.
 
1:26 PM
@NikolaDimitrov I saw your edits. I didn't think they were helpful, so I restored mine. I think it was a situation where we both editing at the nearly the same time. This happens sometimes and causes a kind of race condition. In this case, you lost the race.
 
@Calle Yes, that's what I said :)
@m_goldberg Mhm
 
 
1 hour later…
2:39 PM
Hello good people!
I have a (hopefully) simple question:
when using WhenEvent to assign the value of a parameter at a certain time point
how should I do it?
I was doing WhenEvent[t>=1800, p0->0] for a parameter p0 whose value should be 430 when t<1800, and 0 when t>=1800
but this then returns an error: NDSolve::wenset: Warning: the rule 430->0 will not directly set the state because the left-hand side is not a list of state variables. >>
presumably, that 430shows there because I'm using a replace to input it.
 
@Sosi 430 shouldn't be there and that's your problem. I think we need to see more so we can see exactly how it gets there, and then fix that.
 
2:54 PM
@Calle making a long story short, the solver looks something like this:

`NDSolve[{Ho'[t] == po - ke Ho[t], Ho[0] == 1, WhenEvent[t >= 1800, po -> 0]} /. po -> 430 /.ke -> 1.5, {Ho}, {t, 0, 5400}]`
(sorry for the wrong formatting)
As you said, the problem is with the replacement rule po->0
but if I don't assign it like this, I don't know how to assign the value for t<1800
 
3:06 PM
@Sosi Since SetDelayed has the attribute HoldAll it might work. Try po :> 0.
 
@Calle It doesn't return any error, but it doesn't assign po to be 0 either
 
But no, this is just wrong. When you replace something, you might as well substitute it in yourself: NDSolve[{Ho'[t] == 430 - ke Ho[t], Ho[0] == 1 ... this is what you've written. You should add another equation to the system instead, po = 430. I haven't used NDSolve like ever but I think that's how it's supposed to be done.
ok
Well, to be exact, add po == 430
 
@Calle well, even then it doesn't work. I tried adding po[t]==430 and it returns that function po comes with no arguments, or having po==430 and then it says that it's not an ODE
 
I would try to emulate the bouncing ball example in the documentation. Instead of >= 1800, I think you should add two WhenEvent's: one with > and one with < because that tells WhenEvent in which direction it goes (check Details and options). I need to go now, hopefully someone experienced will come along and help you :)
 
@Calle thanks! I'll give it a try!
 
 
1 hour later…
4:42 PM
Does anyone know if it is guaranteed that vertexlist === VertexList@Graph[vertexlist, edgelist], i.e. Graph doesn't reorder vertices when invoked this way?
I guess only someone familiar with the internal implementation can answer ...
Unless I missed something in the docs.
 
4:55 PM
@Szabolcs There was a question about that
I can't remember the answer ...
 
@belisarius I thought I saw something about vertex ordering but I couldn't find it
It wasn't more than a couple of weeks ago
 
@Szabolcs I try to use Properties when possible
 
5:07 PM
@Szabolcs Still there?
@Szabolcs There is an example in the Vertexindex help page that seems to imply that the answer is "yes"
Search for "faster" in that page
 
@belisarius You mean "VertexIndex is typically faster than Position"?
 
yep, it seems to imply that the answer in "yes"
mmm thinking again, not so sure
it just implies that VertexList gives the list sorted by VertexIndex
 
Found the question:
3
A: How do I reorder vertices in a graph?

István ZacharAt least in v9 if you provide an explicit vertex list for Graph, it maintains that order of the vertices (unless you add/remove vertices or edges via e.g. VertexAdd or EdgeAdd). So your suggested method should work, with an extra caveat! A DAG might have multiple equivalent topological orders, wh...

 
not that the original list is always kept in order
@Szabolcs yep, it's a dirty business
 
5:53 PM
MemberQ unpacks without needeing to at all :/
 
@Rojo I know! It slows down the parallel tools!!
22
Q: Transferring a large amount of data in parallel calculations

SzabolcsThis question is inspired by one of @whuber's answers Consider the following code: μ = RandomReal[{0, 1}, 100]; Σ = DiagonalMatrix[Exp[RandomReal[{0, 1}, 100]]]; AbsoluteTiming[ RandomVariate[MultinormalDistribution[μ, Σ], 400000];] It runs in 3.5 seconds here. Now let's parallelize it: L...

And MemberQ would be an ideal candidate for optimizing on packaged arrays. It's immediately clear that a symbol is not a member of, say, an integer packed array, without having to look at individual elements.
@Rojo Why don't you complain to support a bit? The more people complain the more likely they'll fix it.
 
6:08 PM
@Szabolcs I probably will
 
@Rojo Hi pibe!
 
@belisarius What's up, chabónn
 
@Rojo acá andamio, laburando pa no perder la costumbre
 
6:26 PM
@rm-rf Is it possible to tell me why the flagging was declined when clearly all he needs to do is read the documentation? I am speaking about the incomplete Gamma function
 
@NikolaDimitrov Since the answer is already written, I guess it's no un-useful to keep it around.
I would keep it.
 
@belisarius Lo mismo acá. Pierdo la costumbra todas las semanas y retomarla cada semana cuesta
 
@NikolaDimitrov I didn't decline your flag... moderators don't get "recommend closure" flags from users. I saw the question in the close review queue and voted to leave it open. That had the side effect of declining your flag (by the system)
 
@Szabolcs Yeah, but I flagged it 8 minutes before it was answered :D
@rm-rf Got it ;)
 
I have a notebook of a certain fixed WindowSize. Say, 800x600. Any simple way to make it full screen such that the 800x600 content stays centered?
 
6:36 PM
@Rojo Make your desktop background white? :D
 
@rm-rf Or put a full screen empty notebook on the back :P. Believe me, this is by request, I don't care at all about making it full screen, and I refuse to try hard
 
@Rojo Whenever someone requests something in Mathematica that I'm too lazy to implement, I just blame it on WRI and Mathematica's "lack of support" for that... It is EXTREMELY easy to sell that argument when the damned thing doesn't even have undo :P
 
@rm-rf That works pretty well if it wasn't you who recommended buying Mma
 
Lol... good point. I haven't run into that yet
 
@rm-rf The way to go in that case is: "It'll be cheaper to do in R 10"
 
6:47 PM
Apparently M10 has multiple undo... 25th anniversary present?
 
@rm-rf What's the source of the appearance?
 
@Rojo Info from the tech conference... not sure if the person that posted this info violated any NDAs in doing so.
 
@rm-rf Hope they get to finish it in time :)
and hope they stop investing so many resources in trying to implement the universe in WolframAlpha and focus on improving Mathematica
and providing better ways for the users to implement the universe and share it among them
@rm-rf Have you heard any other rumors about MMA10?
 
7:03 PM
yesterday, by cormullion
Anyone read this: https://pixelologie.com/?page_id=165 ? I'm assuming he's interpreted the NDA correctly. If not, please delete this comment… :)
 
@rm-rf How do you quote like that?
 
@rm-rf Very interesting
 
7:30 PM
@belisarius Just paste the permalink to the chat message
 
51 secs ago, by rm -rf
@belisarius Just paste the permalink to the chat message
I see
thanks!
 
No problem. A few other things get quoted like this as well — comments, wikipedia articles, tweets, SE blogs and a couple more.
 
Do they nest?
1 min ago, by belisarius
51 secs ago, by rm -rf
@belisarius Just paste the permalink to the chat message
Yeah baby
Do they nest the nesting?
28 secs ago, by Rojo
1 min ago, by belisarius
51 secs ago, by rm -rf
@belisarius Just paste the permalink to the chat message
Oh yeah
Etc
I don't feel like working, does it show?
 
Hehe
 
An unexpected set of assumptions from WA: "100m world record" assumes I want Olympic, swimming, women's, freestyle
 
7:36 PM
@MichaelHale When using WA I feel like talking to Eliza
 
@MichaelHale gigo :)
 
I see a lot of people posting on Facebook about running, so if there was a way for me to expand the track and field data coverage in WA I would. That is why I keep getting forced to throw stuff on Wikicode.
 
7:49 PM
@MichaelHale Yeah
 
8:00 PM
Maybe some of the new Mathematica online and cloud stuff will make it so my friends that don't have Mathematica can use functionality I add on Wikicode.
 
@MichaelHale Do they know Mathematica?
 
No, but most people I talk to want to learn how to program. That could be a cool way to get them into it.
Like my dad just signed up for the free, online AI course from Stanford. He's probably going to end up doing it in Python. I can tell him I can do it faster in Mathematica, and then he says well you could probably do it faster in Python too because you have done more programming.
 
8:46 PM
@Rojo hardly.
 
 
2 hours later…
11:15 PM
@YvesKlett Hey. That was a reply to what?
 

« first day (644 days earlier)      last day (3841 days later) »