« first day (892 days earlier)      last day (3890 days later) » 

03:50
WTC2014 let's go!... Subscription completed!
04:04
@leonid, I know of your effort, and I know you would have prioritized tabular form if under your control, I really appreciate your rare ability to walk between development and marketing necessities. It was just an outburst of someone who uses the technology, and is troubled to see that certain things could be resolved more quickly and intelligently.
@leonid, will you be in WTC2014? Someone more from here?
@Nasser that is so cool!
 
3 hours later…
07:36
@MichaelE2 and @MichaelE2 Sorry for the confusion, but did you notice that the result is not a vector of minimum from each row, but a scalar value that is the minimum of the matrix
@Nasser Sorry Nasser, have not explored the cloud yet!!
07:50
@halirutan Please see my response to @MichaelE2
08:22
I've learnt to appreciate the power of the <s>Dark Side</s> Divide Cell.
Thank you!
09:19
Regarding all worries on bugs in Mma 10: I'm turning towards the direction of hoping that either it's postponed, or starts to have frequent maintenance releases. Almost every corner of region processing I've tried has issues which should be fixed. It'd be major pain to wait for years for that, and to pay for it again at that point.
 
4 hours later…
13:06
Someone knows link some question/answer explaining for what Internal`Bag is for?
I found just answers related to compile, not clear how to use it
26
A: Implementing a Quadtree in Mathematica

Daniel LichtblauI think your code is not so memory hungry as you might expect. It does break and reform lists, but it tends to keep most sublists intact. As others remarked, it might be possible to do better still using Hold wrappers and/or HoldXXX attributes, so as to emulate call-by-reference. For a hard cor...

@Szabolcs tks!
13:58
Bags are cool!... Very efficient to read big txt files as Streams and collect results. Living and Learning.
Better then Reap and Sow
14:21
@brama Then you want Min /@ array. Min[array] gives the minimum value of the whole array. (Sorry, lost track of the original code.)
15:03
When using MathematicaScript on something completely trivial like 1+1 I get the error message "FrontEndObject::notavail: A front end is not available; certain operations require a front end." Why?
Or Print[1+1]. What I want is for it to output it to the command line, not any front end.
15:30
@Pickett I cannot reproduce that on OS X: pastebin.com/gZqfpBzd
Are we doing something differently?
@Szabolcs Thanks for testing. I'm using MathematicaScript. Right now I can't try anything because it has started saying I don't have a license :S
However, I think I got the same error message with MathKernel. Not sure what the difference could be. :/
acl
acl
16:02
@Pickett What's MathematicaScript?
using /Applications/Mathematica.app/Contents/MacOS/MathKernel on OS X or math on linux, I can't reproduce your problem
@Murta I'd like to. It is not clear yet, will depend on many factors. I'll try to be there. This depends solely on my decision, though - the company always encourages remote developers to come to WTC. And I always enjoy it, and have great time there too.
@acl @Szabolcs OK, I have now tried exactly what Szabolcs did and I get that error message when I do it. Weird.
acl
acl
@Pickett ah! is this different from math -script?
@acl I think there are minor differences, but I don't know what they are.
acl
acl
@Pickett hard to say from the docs. well, I had no idea
16:20
Here is the full list of error messages in case any of them is a clue: pastebin.com/dqLvrZcx
I'm trying to force Manipulate to use the parameters that I tweaked from the last run. I followed the answer here: mathematica.stackexchange.com/questions/51495/…, but I'd rather not use a global variable to save my parameter values. Is there a way to just use a local variable to save my parameter values?
Module[{aSave},
Manipulate[aSave = a;
Plot[Sin[a x], {x, 0, 2 Pi}], {{a, aSave}, 0, 3}]] does not work. The values would be reset after each run.
Is there a best practice for saving parameter values for Manipulate?
@Pickett Random idea: maybe you have something in your init.m that (implicitly) uses the front end. try the -noinit switch (or something like that)
@Szabolcs Thank you very much, that finally solved it.
anyone?
16:36
@seismatica Sorry, I read it, but I don't have a good solution. It is a good question.
Thank you. After reading this post: stackoverflow.com/questions/3888915/…, I think using LocalizeVariables -> False and name the parameter to some obscure name (like aParam) is best thing right now.
Playing with the WPC and immediately running in to a problem. Trying `CloudDeploy[
Manipulate[Factor[ToExpression["x"]^n + 1], {n, 10, 100, 1}]]` from the docs and the CloudObject returned results in a webpage with the Manipulate and a black box over the object stating "Interactivity is not enabled".
17:33
ahh - didn't realize that the object didn't know who I was; needed to set Permissions->"Public"
@bobthechemist, I just tested it. And with Permissions->"Public" interactive is enabled
@Murta Thanks - docs weren't very clear on this point IMO.
btw, have you tried saving/loading from the cloud? Looks like my files have been saved; however WPC hangs on loading.
@bobthechemist I agree. Not clear for my why this is needs. Maybe some problem with credit issues.
@bobthechemist you say notebook files?
Yeah, I create a notebook in WPC and save it, then when I try to get access to it again the WPC app hangs.
I don't know if this is network traffic or a real problem.
@bobthechemist I just did a test. For a small nb it worked nice. Is your a big one?
17:42
@Murta One cell with a perhaps 30-line manipulate. It is a copy/paste from a Desktop notebook that seems to NOT run on the cloud atm. Perhaps WPC is trying to evaluate it and bugs out.
That must be it; a "simple" notebook opens without problems.
17:55
@bobthechemist you could try to Upload your nb file.
@Murta Yup did that - it looks like the changes in the way the curated data work (returning entities) coupled with the fact that what I want to retrieve takes too long for my free WPC account, makes it 'easier' to start from scratch.
I guess if there weren't a steep learning curve, it wouldn't be Mathematica.
18:15
@bobthechemist I do not know what is the difference, but you can also do Cell and share in the could. Where the cell is the one which has the manipulate. This way, it be interactive by default and will give you a URL to use for it. This works for one cell only. This is what I use now, instead of Depoly as it is simpler.
@Nasser I'll give that a shot - have you figured out how credits are getting charged? Looks like I'll run out of my monthly allocation if I spend the weekend learning how to play on the WPC.
@bobthechemist I have 100 credits used already. but for me, not important, as I will not use Cloud for anything, as dynamics do not really work well and it has many missing UI features, so I can't deploy any of my demos there. community.wolfram.com/groups/-/m/t/283360?p_p_auth=64zz9Sk8 may be when it works (Cloud version 2.0?) then I'll worry more about my token use :)
@Nasser I tend to agree. I don't want to be hasty, but my gut feeling is wait for version 2.0. I've got my students hooked on CDFs and will likely continue to 'Deploy' that way for the foreseeable future. That said, the ability to eventually embed MMA materials into websites is alluring.
@bobthechemist yes, that is what I do now, just use standard CDF's. I put all my demos there and can updated them anytime I want, etc... my ISP cost is only $10 per month. No tokens :) sure, having them in the cloud with no plugin would be better, but only if they work.
 
1 hour later…
19:37
Let's see if I have my math correct. On the WPC, 'ElementData[#,"AtomicWeight"]&/@Range[88]` will cost me 176 credits. I can then retrieve the "AtomicRadius" and the "FirstIonizationEnergy" values for everything up to tungsten (heh, what a coincidence). Now I have to wait until next month, but I forgot to set SavedDefinitions->True so maybe by August I'll be able to create a primitive Manipulate that shows the trends in the Periodic Table....
...for no one to be able to use, since I used up my (free account) credits. If I can effectively use up my "free" account in 2-3 lines of code, is the account really worth my time?
@bobthechemist are you saying this command 'ElementData[#,"AtomicWeight"]&/@Range[88]` costs you 176 cloud credits?? wow!
@Nasser Looks like it. Had 470+ credits before lunch, and was sol after restarting my session after lunch.
I did get a nice automated message from the Wolfram Cloud team stating that I was out of credits and should buy some more. By my estimate, the $15/month plan might allow me to work on the Cloud until dinner.
@bobthechemist May be anything that access WRI curtailed data bases costs more? I do not know, but this sounds too much credit for one command.
@Nasser I agree, but it looks like knowledge base calls cost 2 credits per call. I suspect curated data = knowledge base
@bobthechemist 2 credits per call. You had range 88, so this is 2*88=176 credits.
19:47
ok, here's the problem: ElementData[#,"AtomicMass"]&/@Range[88] doesn't use credits but ElementData[#]["AtomicMass"]&/@Range[88]does.
The former returns Head = Quantity while the latter returns Head == Entity.
We need a Wolfram Cloud expert these days. This is all new technology for all of us.
@bobthechemist Funny, Wolfram Credits look and work exactly like Leprechaun's gold :)
Of all the interesting SaaS pricing models out there, Wolfram had to pick the Farmville model...
@rm-rf heh - pretty much.
@bobthechemist I wiped out the rest of my credits (200) trying to read the elevation data around my town. :(
@seismatica thanks, I am glad you liked it. I cleaned it a little and uploaded it. If you like to run it, the CDF is here goo.gl/0RLuVE
I am now worried about CDF's. With the Cloud coming, may be WRI will no longer maintain CDF plugins, and switch resources to the cloud instead? What will happen to all the CDF's one wrote in the long term? Will there still be a plugin that works say in firefox version 50? Will WRI keep maintaining support to CDF's parallel to the Cloud?
20:40
@van abel, if you see this, an MWE example of evaluating MMA code from PHP and then displaying it in the front end looks like this. You might run into problems with who's allowed to execute what, though, so it might not work right off.
@Nasser It is not obvious that browsers will support that kind of plugin in the future. Read about this for a starter.
acl
acl
Isn't the problem here that he mixed up the polar and azimuthal angles? ie, he should have had $\sin(\theta)$ instead of $\sin(\phi)$?
Could someone please take a look and tell me if I am just being stupid?
@acl I agree.
@acl btw. it makes the accepted answer even better, now we can do integrals without having to know how :)
acl
acl
@Pickett hm maybe someone should tell the poor guy...
Well, actually maybe not.
21:02
@Pickett thanks for the link. so what will happen to the CDF's if browser will not support the plugin in the future? May be WRI will come up with a CDF->Cloud conversion tool? will see. At least one can still run the code inside Mathematica.
@Nasser CDFs are just Manipulate's, aren't they?
@Pickett yes, JUst plain Mathematica code, but can run inside the browser. But there might be something that works in the cloud and some not. Currently many things (dynamic/manipulate) related not supported in the cloud.
@Nasser I'm sure they're working on it. One way or another there will be a way to deploy CDFs...
21:23
Look at this:
How's that for unfair?
currency conversion error? or may be discount for paying in US currency?
@Nasser Well, I can't choose to pay in another currency as I understand it. They ask for country, not for currency.
We have higher sales tax in Europe, but this is way above that.
@Pickett move to the US, then you can buy Wolfram Cloud credit cheaper !
acl
acl
22:25
@Nasser He can buy pretty much everything cheaper then!
22:36
@acl except for health care! in EU they get free health care?, also schools are cheaper there. I looked at university fees, and for a EU citizen many are very low compared to the US.
So @Pickett can't really complain for paying little more for Wolfram credit.
:)
acl
acl
@Nasser Yes I was joking :) Regarding education it is mostly cheaper if you're an EU citizen (sometimes also if you're not, depends on the country)
@acl if I was an EU citizen I will just stay in school taking courses since the free are so low compared to here.
acl
acl
Depends on the place, too. For example, if you were an EU citizen, Imperial will charge you 9000 pounds/year to teach you physics
never mind living in London (look up living costs in London if you want to cry)
@acl that is still very cheap. Harvard might cost one $50,000 per year.
acl
acl
@Nasser Yes Imperial is cheaper than eg UCLA, not private universities
22:40
@acl yes, London is very expensive. But I will go live in the country and find university there.
acl
acl
@Nasser Actually in other EU countries it's a lot cheaper
@acl actually I looked into this alot. I can still go to EU as US citizen and still pay less than I pay for many schools here in the US ! at worst, it is the same.
acl
acl
@Nasser Which countries, though? The UK is going to be the most expensive
Of course in other countries you'll likely need to know the language
@acl UK and others, there are web sites that shows fees for international students. They come out less than what I pay now in the US. I have not looked at many others outside UK due to language issues. I do not speak other EU languages.
acl
acl
@Nasser Yes, but the UK is much more expensive than others which with I am familiar (at least for EU students)
eg Germany is a few hundred euro per semester (or nothing, depending on where you are)
22:46
@acl I wish I know Germany in this case :)
acl
acl
Netherlands, a couple of thousand euro I think (although it might depend on some other things)
@Nasser I do remember that when I was applying to universities I had also applied to the US without paying much attention to fees. When I got the answers and looked at the fees, my eyes watered
@Nasser We have free health care & free education, and classes on a master's level are in English. You can come here :)
But it's not free for foreigner anymore though, but it used to be. They said when they made the change they would try to make it cheap through scholarships.
acl
acl
@Pickett He could also go to the Netherlands. There, if you're unemployed and on benefits, you are also given vacations.
@Pickett are in UK? I got my B.Eng from Liverpool Univ. I miss the UK and riding the trains there.
I'm in Sweden.
acl
acl
22:53
@Nasser Wait, the one thing you miss from the UK is the trains? Does a phase transition happend between London (were I was) and Liverpool? Because in and around London they are atrocious in all respects
@Pickett they teach in English in Sweden? I did not know that.
@acl I also miss the fish and fries.
acl
acl
@Nasser Postgraduate courses in certain subjects are in English in several countries, actually
maybe not everywhere, though
@Nasser fish and chips :)
@acl yes, that one
@acl yes, courses can be in English, but if one does not know the language, will be hard to talk to people outside class.
@Nasser yeah, they teach in English because of all the exchange students. I think they do that in all European countries actually.
acl
acl
@Nasser yes that's another story
@Pickett I don't think this is in all. For example, I imagine they don't teach anything in English in France!
(well, maybe English lit)
22:59
@acl I think they do. I know we can finish our master's degree in France and get a French and Swedish degree. Same goes for Spain and lots of other countries.
@acl @Pickett this is the site I look at findamasters.com (find degrees in EU) with fees and everything.
Is @'ing people here who are not in the room a reasonable/appropriate way to leave messages for them?
acl
acl
@Pickett Yes the degrees do work in other countries (sort of, it's complicated actually). But I don't think postgraduate courses are taught in English in France. They very often are in the Netherlands, for example.
@acl Look at this, there are more than 33 countries involved.
@mfvonh sure, that will work.
23:02
@acl OK, you probably know better. I've only read about this in marketing, and don't know the extent of it etc.
@Nasser thanks
In Swedish you can definitely study in English at w/e level after the undergraduate level though.
Some write their B.Sc. thesis in English because their advisor happens to be English speaking. Lots of visiting researchers..
acl
acl
@Pickett well not really, in all the places I've been to the courses were in English (and not because of me, I've never taken a single course outside the UK)
@Pickett That's different though, I think pretty much anywhere you can submit a BSc/Masters'PhD thesis in English.
@Pickett what's w/e level?
@acl I think "Working English" ?
w/e level = whatever level = master's, phd and beyond. You may be right about BSC thesis. I just wrote one, and we were told that as a rule it has to be written in Swedish on principle unless there is a reason for another language. MSc on the other hand has to be written in English.
23:06
ok, so my guess was wrong :)
acl
acl
@Pickett Ah! haha. w/e, then!
acl
acl
@Pickett for example I know that in Germany one can write an undergraduate thesis in English
I think also for small countries, as the level becomes higher, it makes less and less sense to write it in anything but English. If you write a PhD thesis on thermalisation in many-body quantum mechanics in Greek, you are not going to be able to pick from too many people able to read it and express an opinion.
come to think of it, I have no idea how to properly translate "thermalisation in many-body quantum mechanics" to Greek (so there goes one potential reader of the putative thesis)
Yes, this does not really surprise. I'm more surprised by my school's policy, and I imagine it's not the same in all Swedish universities. I think it's pretty good though, because many words don't exist in Swedish and you have to learn how to express those things. If you can write everything in English, you'll educate a generation of engineers/scientists who can't express what they do in their native language.
Not that one thesis is enough to be able to say anything... but you've encountered the problem at least once.
acl
acl
@Pickett Good point. I once tried to read a PhD thesis in Greek and half the words seemed made up to me. I guess they weren't, but I'd never heard of them. Even with Greek-speaking colleagues we more or less speak in English when we discuss work
@Pickett Well I studied in the UK, so I'm much worse than most. Even when I find out what the proper words are in Greek they sound ridiculous (sometimes they're also just wrong, and obviously randomly made up as needed)
23:16
@acl Swedish students are terrible at Swedish technical jargon by design I'm afraid because all our literature, even at undergraduate level, is in English. So already at this level we tend to sometimes use English words, we only learn about the Swedish words from the lecturer.
acl
acl
@Pickett Well I just found out how to say "geometrical frustration" in greek.
acl
acl
I'm sure girls will be very impressed by this ability
hm I'm not even sure this translation makes sense. Shame there are no greek physics journals to see what people really call it in there.
I'm sure there is a subset of girls who won't second guess your translation

« first day (892 days earlier)      last day (3890 days later) »