« first day (113 days earlier)      last day (4381 days later) » 

acl
12:27 AM
so, in case anybody can feel my pain, after 22 hours of computation, using 20 cores, and consuming 320GB of RAM, all I got is: "Write failed: Broken pipe"
brilliant!
 
12:54 AM
@acl simulations I was running on the cluster: 32 cores, failed to produce anything as the save routine wasn't getting the correct directory to save it in, so it refused to overwrite. I feel your pain.
 
acl
@rcollyer that's even worse, thank you :)
 
1:13 AM
@acl I honestly wasn't trying to engage in one-upmanship here, only trying to highlight shared pain. Unfortunately, I can't figure where the <censored> thing is screwing up.
 
acl
@rcollyer that's the problem, neither can I. which pipe is broken and where? and how am I supposed to work it out? terrible. I should have become a doctor!
 
@acl You did! Just not one of medicine ... :)
 
acl
@rcollyer not a real one, as my son points out (regularly). seriously, it's nice to know that others have similar problems. helps to dull the pain :)
 
@acl Among my friends (whom are physicists), we actually treat the M.D.'s as if they're the ones that aren't "real" doctors.
@acl The worst part is that it is my own code that is going wrong, not the third party application here. It is somehow worse that I don't get to blame them.
 
acl
@rcollyer yes I know the feeling
 
1:22 AM
Good luck finding the error. I now have to fix code that produced some of the plots in my preprint, likely affecting their interpretation. I love bugs.
As a side note, I hate MapAt.
 
acl
well, on this pleasant note, I'm off for the night
see you
 
night.
 
 
1 hour later…
2:36 AM
Over on Computational Science, I was able to suggest using mma for capturing ones notes on a project. Maybe they'll take the hint? Oh, and I also brought up the whole mma v. matlab speed thing just for good measure! :)
 
R.M
3:03 AM
@rcollyer You might also want to link to this answer and point to the PDF in the answer... pretty stunning how neatly (and quickly) you can take down notes in real time if you are deft with mma shortcuts and typesetting capabilities
 
@RM I hadn't seen that answer, will add it.
@yoda you're correct in that assessment. Yet, I view each and every launched site that we bypass as further evidence that we'll make it, most likely sooner, rather than later. Especially considering that they're a lot older than we are. Currently, I view Skeptics as the one to match. I would be comfortable with 5k views/day, but we'll beat them in terms of questions long before we hit that point which would put us at what Physics is at at the moment.
 
 
7 hours later…
9:51 AM
@Mr.Wizard I posted a new question about code reviews because in the previous thread there was no discussion about code review, only about code golf, and also because I think it's better to keep the two discussions (code golf and code review) separate.
 
 
3 hours later…
12:23 PM
<- Is now feelig all depressed as a question I"d put about 5 hours work into was removed :( C'est la vie I guess :)
 
12:46 PM
@image_doctor Which question was that?
 
@Heike The convex hull/eye tracking question ... I found it quite interesting.
 
@image_doctor Funny, I can't find any trace of that question. Was it removed by the OP?
 
1:04 PM
@Heike yes, he got a little bit of a tough time over his original question, though it had a fair amount of information in it, he probably felt there wasn't much interest. He had quite a short deadline - but it if had remained perhaps he would have found some interesting ideas.
 
@image_doctor I didn't fully understand the question, but it did seem to have some interesting aspects. I think the main problem was the unwieldiness of the data file.
 
@heike I had downloaded the data and used the posted code to unpack it, it wasn't too big less than 20MB packed. I'd started building some generative models from the data, as whuber suggested I wasn't too sure a Gaussian based approach was optimal.
 
R.M
1:28 PM
@image_doctor he felt that his approach to the problem didn't make sense, and so he removed it
14 hours ago, by 500
@whuber, I am actually gonna a go with you I don`t think this simulation makes sense anymore. I have to implement the effect of the Center of Gravity. Thank You very much again.
 
I went to my fifth driving class today, and I feel like I barely made any progress. I wouldn't dare go out on the road without an instructor. I just cannot understand why the U.S. driving school I contacted only includes 6 (six!) hours of behind the wheel practice...
 
@Szabolcs Maybe the roads are wider in the US
 
Somehow after this new experience I have serious doubts that this technology is safe ...
If it really works, it's the most amazing thing that has been invented
 
@RM A shame he might have got some alternate approaches if he had left it there.
 
Another effect is that now I'm really afraid of cars when walking
 
1:34 PM
@Szabolcs They've been experimenting with self-driving buses in the place where I live, but these buses have their own dedicated bus lane and there is still a bus driver present.
 
@Szabolcs Spending some time in Edinburgh should cure you of that, most of the inhabitants regularly step out in front of cars. Presumably under the assumption that they will stop ... as Edinburgh's population isn't in terminal decline, I guess they are correct :)
 
@imagedoctor I think I used to do that to, but since I started learning to drive I don't dare to any more
 
R.M
@image_doctor I thought we were talking about sober people ;)
 
@image_doctor Then again, the life expectancy is a lot lower in Scotland than in the rest of Britain.
 
I'd love to live in Scotland for a while ...
 
1:37 PM
@Heike I'm guessing that may be because of the the deep fried Mars bars rather than road traffic accidents ;)
@RM And I thought the residents of Edinburgh were god fearing tea totalers and it was Glasgow that was full of inebriated people :)
 
I was "virtual-walking" through Edinburgh the other day in Google Earth, it looked attractive
A place I would probably feel good in
 
@image_doctor They might be related
 
@Szabolcs Probably very wise to keep safely on the pavement ...latinamerica.bbcentertainment.com/europe/programmes/…
@Heike The mars bars and the RTA deaths ... or the inhabitants ;)
 
@image_doctor The first one.
 
@Szabolcs Edinburgh has a lovely solid, if somewhat rugged, built out of immovable stone sort of feel to it, I'm sure you would enjoy it.
 
1:44 PM
Didn't find any jobs to apply for there unfortunately.
 
@image_doctor It's very hilly as well.
 
@Heike So the discarded remnants of the mars bars cause unanticipated skidding of the cars ... I get it now :)
 
R.M
@image_doctor ah, my bad. Glasgow was indeed what I had in mind...
 
@heike ... in a 4 weddings and a funeral sort of way ... :)
 
I prefer hilly places. If a place is not hilly, bicycles should be the standard way to get around, and then I'm happy (e.g. Padova)
 
1:47 PM
@image_doctor I'm missing the reference I'm afraid.
 
@RM You also have more than half a chance of understanding someone from Endiburgh ... Glasgow is a different kettle of fish ...
@heike Are you familiar with the film ?
 
@image_doctor I once read trainspotting by Irvine Welsh which is written in the Edinburgh dialect. It was quite hard to get through the book.
@image_doctor Yes I've seen it several times.
 
@Heike subzin.com/quotes/Four+Weddings+and+a+Funeral/… When Charles meets his Brother and explains that Carrie is marrying Hamish from Scotland
 
@image_doctor Oh, I remember. His brother was using sign language.
 
@Szabolcs I don't think you would enjoy the parking on slopes and hill starts required for Edinburgh :)
 
1:55 PM
Some things are just easier with plain Dynamic than Manipulate. I'm not very good with Manipulate...
@image_doctor But I wouldn't need to drive at all! So no problem ;-)
 
@Heike That's it :)... he uses the hour glass shape of a womans figure to map to hilly as a description of Scotland
@Szabolcs I'm not sure Edinburgh would top Padova for beauty though ... and probably much more chilly !
 
@Heike Is the answer to this one to just build the Manipulate controls with Dynamic and Slider directly? I can do it with Dynamic, but I don't use Manipualte that often ...
@image_doctor Do you live in Edinburgh?
 
@Szabolcs No, I'm just south of London ... but I visit Scotland from time to time
 
2:13 PM
Does anyone know what Graphics3DNavigationFunctions is or does?
 
@image_doctor London promises to be interesting over the next couple of months, enjoy the tourism surge.
 
@Szabolcs That's how I would do it. To be honest, Manipulate is still black magic to me sometimes. Every time I think I understand Manipulate it crashes horribly on me taking the whole front end with it.
@Szabolcs where did you find that?
 
@Szabolcs Yes indeed! You wouldn't want to drive much in London on a normal day, never mind during the Olympics! I have tickets for the kayaking final, but that's outside of London and even that you can't get any nearer than 5 or 6 miles and then have to take public transport.
 
@image_doctor Wrong person. =)
 
x = 0;
Column[{
Slider[Dynamic[x], {0, 1}],
Slider[Dynamic[1 - x, (x = 1 - #) &], {0, 1}]
}]
That's what I came up with using plain Dynamic. Didn't know Manipulate well enough to think of Manipulator
 
2:17 PM
@image_doctor driving in London: no, I never want to do that.
 
@rcollyer lol apologies, I can't multitask ... i.e. eat lunch and follow a conversation
 
@Szabolcs Slider is basically the same as Manipulator minus the extra controls
 
@image_doctor Belisarius had the same issue, with breathing! :)
 
@Heike Just plain Ctrl-K-ing. There was a recent question about extracting the viewpoint from a 3D graphics. I want to make a palette that does that easily and automatically. I was looking through the AbsoluteOptions[NotebookSelection[]], and there is a Graphics3DBoxOptions there.
 
@Szabolcs I posted an answer using something similar in Manipulate
 
2:19 PM
@rcollyer .... ooops ... I knew I'd forgotten something :S
 
typing Graphics3D and Ctrl-K.
@image_doctor You can go back and edit. You pinged me by accident.
 
@Szabolcs don't confuse him, he may stop breathing, again.
 
..... chokes
 
@Szabolcs That's not in the popup list I get.
 
@Heike Neither for me after a kernel restart. Do this: Graphics3D[Cuboid[]] then Button["press me", opt = AbsoluteOptions[NotebookSelection[]]], select the cuboid (not the cell, but the graphics box), and press the button. Then try auto-complete again.
 
2:24 PM
@Szabolcs I'll try that later. I have to go to a reunion now. I just hope the weather forecast is wrong about the heavy thunderstorms they're predicting for tonight.
 
@Heike good luck, and have fun.
 
@Heike Have fun! Something possibly related is under Texture[] doc page, Applications, Sky Box. There's a Method -> {"RotationControl" -> "Globe"} options for Graphics3D
 
Thanks, @rcollyer and @Szabolcs
 
Anyone want to help me find out what Graphics3DNavigationFunctions is?
It can be an option to a selection.
And the default value is Automatic.
 
@Szabolcs doesn't show up in the docs, and doesn't have a visible definition.
 
2:28 PM
@rcollyer Please see 8 messages up on how I found it.
 
@Szabolcs So, it appears to be created when you select something. Note, for me it shows up as Cell$$8028`Graphics3DNavigationFunctions as I'm running that nb under CellGroup contexts.
Modified the button code to

Button["press me",
opt = ((Print[#]; #) &@AbsoluteOptions[NotebookSelection[]])]
 
I can also find it using AbsoluteOptions[$FrontEnd]. Warning!! This locked up my front end a few minutes ago, and even if it doesn't, it shows some errors that might indicate something is going awry
 
That let me view the option list.
 
AbsoluteOptions[EvaluationNotebook[]] looks safer. I'll try to modify the option for a single notebook now.
`SetOptions[EvaluationNotebook[], Graphics3DNavigationFunctions -> Print]` does not print anything while rotating. Neither does `SetOptions[EvaluationNotebook[],
Graphics3DNavigationFunctions -> {Print}]`. (The option name is plural.)
Has anyone used a game controller or some sort of 3D navigator with Mma?
 
I don't know, but that sounds like it would be the type of thing this would be used for, if it is appropriately named ...
 
2:38 PM
Someone asked me about that recently, but I don't have a game controller (or a powerful enough computer to give a good experience with modern games)
 
Mine is new enough that I could run Diablo 3 on it, if I wished. And it is so tempting. But, alas, it would be a time killer.
 
This came out of experimenting with Yu-Sung Chang's recent post:
2
 
@Szabolcs which post? And is that a protein?
 
@rcollyer This one. No, it's just something I found interesting looking. It's very simple, just a few random walks, superimposed, with a slight transparency. I was looking at how transparent lines overlap themselves.
 
@Szabolcs ah. I see where he covers the specifics of why that works in his post. Neat graphic!
I need to figure out how to output my electron densities as volumetric data to take advantage of this.
 
2:52 PM
Ahh ... I want a better computer with a decent graphics card!!
 
I only found out that my laptop has CUDA support after someone mentioned that mma has CUDA support. So, I went digging ...
And, even with a student discount, it cost me quite a bit, for a laptop, that is.
 
@Szabolcs I bought an Nvidia GTX 460 with the idea of using it with MMA and CUDA, sadly it doesn't seem to work
 
@image_doctor Why? What exactly is incompatible? I'm asking to avoid the same problem.
 
@Szabolcs Very good question! It is supposed to be a supported card. I have a working CUDA installation. But CUDAQ stubbornly returns False. I even tried asking in a Wolfram Seminar on GPU computing. But it was never resolved
 
@image_doctor It's supposed to be cuda capable.
 
3:06 PM
@image_doctor Is your driver updated to the latest one? (Stupid question, I know, but on a friend's machine that solved it.)
 
@Szabolcs yes it was
 
@image_doctor Are you on Windows or Linux?
 
@Szabolcs Linux 64 bit, sorry itchy trigger finger
 
@image_doctor You can press up-arrow and edit messages.
 
@Szabolcs Thank you :)
 
3:10 PM
@image_doctor A friend who's also using Linux said that the problem with his NVidia-based card was that while the graphics card is using NVidia's chips, it was not built by NVidia, but some other vendor (maybe the same one who made his laptop?). So not all cards using the same NVidia chips are compatible with each other. He said that the vendor changed some details that NVidia's Linux drivers didn't support. I'm not sure about the exact details.
A couple of months later NVidia updated their drivers and now he can use CUDA on Linux with his card.
 
@Szabolcs I have an ASUS card, it probably one of the 3 most common cards of that type. I can't recall if the exact version was on the supported hardware list.
 
I'm really not sure about the details, but if you want, I can ask him.
 
@Szabolcs Thank you very much for the kind offer, but I'm not certain it would lead to a solution.
 
Alright, personally I don't know much about how these things work. I just thought I'd mention it in case you think it can help :-)
 
@Szabolcs I really appreciate your offer :) But I fear you'd both just be wasting your time, I spent about a week trying to nail it, with all the howto guides, input from Wolfram. All to no avail. It probably needs a wave of the magic wand from Wolfram CUDA guru :)
 
3:30 PM
@Szabolcs Thank you for your help, time to play some tennis, in the rain!
 
4:04 PM
@Verbeia here's Mădălina's account on SO. She had a habit of not accepting answers, and when asked about it, she stopped showing up.
 
 
2 hours later…
5:56 PM
@acl there was a question very similar to this where you gave a nice answer, but I can't find it: mathematica.stackexchange.com/questions/5386/…
 
acl
6:12 PM
@Szabolcs here
5
A: Finding colors in images: can Nearest do it?

aclDoes this Position[#, First@Nearest[Flatten[#, 1], {0.32, 0.65, .8}]] &@ ImageData[tree] (* {{162, 74}} *) do what you want? OK, try this: tree = ExampleData[{"TestImage", "Tree"}]; dat = Reverse[ImageData[tree]\[Transpose], {2}]; dim = Dimensions[dat][[{1, 2}]]; nearfunc = Nearest[J...

(it was improved by @Mr.W and @Heike)
actually, today I spent a an hour or so playing with mathematica in order to understand this: people.csail.mit.edu/sparis/publi/2011/siggraph
pretty amazing how easily you can play with things in mathematica
of course, for larger-scale stuff, I am currently fighting some sort of memory leak (probably the symbols leaking from Modules that were discussed here some time ago)
oh well
 
 
2 hours later…
8:35 PM
@mr.wizard If you think the question is a duplicate why didn't you close it as such?
7
Q: Interdependent controls in Manipulate

Simon WoodsI need to create a Manipulate with two control parameters which are linked by some mathematical relationship. So the user can decide to use either control and when that control is changed, the other will change too. The example below works as required, using If statements to determine if one of ...

 
9:18 PM
@acl Very interesting filter. Have you implemented it in Mathematica?
 
acl
@PFonseca only the decomposition into different frequencies (I spent my coffee break on this)
it's straightforward to do in mathematica
 
@acl I have very little experience with image processing, and so, I was lazy at looking at the algorithm... But trust your word...
 
acl
@PFonseca neither do I. But setting up the decomposition is simple enough
 
@acl On the other subject, I see "large-scale stuff" more like a symptom than an actual defect. When well managed, it can pass almost unnoticed (Wolfram|Alpha huge "stuff" is, apparently, a good example of well managed Mathematica programming implementation).
 
acl
@PFonseca to be honest, I do not have much experience with large-scale programming in mathematica. but in this case I am seeing a linearly (with time) increasing memory consumption. my last attempt ended up using almost 800GB of RAM before it finished, and it simply does not keep anything that large in memory.
(assuming you were referring to my recent troubles with mma, of which I had complained here...)
 
9:41 PM
@acl 800GB of RAM!! That must be a very expensive computer... I think you probably mean 800MB...
 
acl
@PFonseca nope, 800GB. that's the problem
 
@acl So that's indeed a very expensive computer...
What calculation were you doing?
 
acl
integrating a large number (of the order of 1000) of coupled nonlinear differential equations
 
@acl I see (well... I don't see it, but I can imagine...)
 
acl
point is, it should not use anywhere there that
(about the machines, there's a number of them; they're not meant to be used in interactive mode!)
 
9:56 PM
So I guess the question is: was the memory usage a bug from the integration implementation, or from the garbage collector? We definitely need a modernized garbage collector...
 
acl
@PFonseca I would bet it's the collector (I tried implementing the integration with hand-rolled Euler method and had the same leak)
 
10:09 PM
Lately I have a growing tendency to think like in Julia project: I'm greedy. Why can't we have it all? A modern garbage collector with all memory leak difficult to manage scenarios treated; a groundbreaking JIT compiler as it happened for JS; a fast user rule dispatch; multicore everywhere where it's possible; a more natural implementation of parallel processing;
 
@PFonseca 800GB of ram? That's about three times the size of my hdd in my laptop
 
two times more Dynamic interface objects, working 10 times faster; a better integration with engineering tools, and more notoriety in the industrial world; well implemented built-in object paradigm function; and, most important, a better first word suggestion when doing spell checking...
@Heike I actually went to see the amount of memory I had, to make sure I was not mistaking letters... It's kind of late here...
 
acl
@Heike it's also 3 times the HDD in my macbook air. I drive the big machines from the air, too :)
 
@acl You can do that with ssh in a terminal. A few MB of ram should be enough for that.
 
And I insist with the spell checking word correction suggestion. The current design makes Mathematica look kind of... cheap.
 
acl
10:17 PM
@Heike do what? I meant, I program on my mba, test things, then ssh into a big machine and run my program for real
my mba has 4GB, the other machines have 1.5TB memory and 32 cores... (these aren't mine obviously)
 
@acl I meant running the program on the big machine. At least that's what I usually do: ssh into another machine and open a screen session.
 
did I mentioned the Undo thing?
 
@PFonseca Do you want a kitchen sink as well?
 
acl
@Heike sure that's what I do too (although in general I should submit it to a queue)
 
@Heike It's not on my priorities... but I did mentioned a garbage collector ;-)
 
10:35 PM
@PFonseca Ah yes, I forgot that some sinks have a built in garbage disposal unit.
 
@Heike Too much for Version 9?
Kind of late here. See you tomorrow!!
 
@PFonseca Same here
 
R.M
11:24 PM
Cell groups generally have a little triangle next to the outer cells that you can click to fold/unfold the child cells... Mine are missing all of a sudden:
Does anyone know what they're called so that I can look for it?
Oh well. Never mind... I just found out Cmd-' does the same and I needn't lift my hands off the keyboard
 
11:57 PM
@RM It is called an Opener.
 

« first day (113 days earlier)      last day (4381 days later) »