« first day (511 days earlier)      last day (2721 days later) » 

9:18 AM
@Rody Which topics on SO do you personally find most appealing (or enjoyable) for answering? If you are going to hang out in the channel, we might as well know when to ping you... :)
 
I'll try my hand at anything really :) But I usually feel most for questions having something to do with ODEs, PDEs, global/local optimization, performance tuning, linear algebra, quadrature, root finding, implementing functionality that should be standard MATLAB, ....
global optimization toolbox, aerospace toolbox/blockset, distributed computing toolbox, PDE toolbox, ...
I also like image processing questions, but I know I still pretty much suck at the basics, so I mostly do that to learn myself :)
 
10:28 AM
Alrighty then!
 
 
2 hours later…
12:06 PM
@RodyOldenhuis soo, you basically do anything? :D
 
 
2 hours later…
1:53 PM
basically, yes :)
Nah, I find Econometrics boring, Wavelets I know absolutely nothing about, etc. Tons of stuff left to learn :p
 
2:21 PM
I got an upvote today about some answer that no longer works (due to version changes of the software it deals with; it used to work earlier this year though).. It is practically impossible that somebody is using the version of the software where the answer worked, which leaves me wondering that the hell was the upvoter thinking...?
 
> practically impossible
I think you underestimate people's desire to never upgrade their software
 
I honestly thinks it's impossible to keep working with the old version, because after a while it simply cannot be used with devices (that get updated independently all the time).
 
maybe it helped them along the right direction
 
Impossibru.. It's highly inapplicable outside the original scope :D
 
probably a bot then
 
2:32 PM
We're talking about a plugin for a very specific version range of Android Studio
 
For sure...
 
3:09 PM
I learn today that Loren Shure gave a talk in Madrid two days ago :-(
Starting soon @UAHes. Join me for Programming with MATLAB and Solving Optimization Problems in MATLAB. salon actos https://t.co/ZArxWvTcZa
 
@LuisMendo well, Madrid is a long way off :P
 
For you :-P
On a different subject:
> No, it's not anyone's favorite function name
I always thought that the "binary" in "bsxfun" was a bad name. Good to see people at Mathworks agree
 
I'd love to go to Madrid
it's not that far from Boston :)
That seems to be it, thanks! I worked with a couple of languages and have never run into this problem with only four digits of precision. — macleginn 5 hours ago
 
@excaza Heh. For being in the SE, Boston is not far, no
 
@excaza Right across the pond...
 
3:21 PM
I'm not sure which interpretation of that worries me more
that he's never seen it or that the language handles it implicitly
 
Or that he thinks the problem is because there are only four digits of precision
 
I'd love to make it to an El Clásico match
yeah...that too
 
@excaza There's one pretty soon :-) Looking forward to it too. However, I only watch them on TV. Not sure I'd like being there with all those angry crowds
 
Yeah that's true, lots of passion in the air :p
I haven't been keeping up with the matches this season unfortunately
slacking D:
 
Quick summary: Real Madrid is leading the table. As it ought to be :-P
 
3:30 PM
haha
I can never decide between the two
which I'm sure is heretical
 
It sounds weird seen from here :-) But I can see your position. I would happen to me with say NBA teams. I'd probably pick whichever Pau Gasol is in
 
well that's why I liked Real Madrid initially, I was a big fan of Man U when Ronaldo was playing so I followed him when he moved
but I do really like Barca's play style
 
Yes, their play style is great
 
3:52 PM
I love when people talk about programming languages passionately
> Do not tell me that “good developers can write good code in any language”, or bad developers blah blah. That doesn’t mean anything. A good carpenter can drive in a nail with either a rock or a hammer, but how many carpenters do you see bashing stuff with rocks? Part of what makes a good developer is the ability to choose the tools that work best.
 
4:04 PM
Wow. There's a lot of bitching about what PHP isn't/doesn't have.
He has some good points, but the pretentious, whiny tone turns me off.
 
@excaza translated into Spanish? Bah, just learn English when your programming language is based on that anyway.
 
@Adriaan You jelly that no Dutch? :-P
 
@Adriaan Like all of the important ones? #privilege #triggered
 
@LuisMendo what?
 
@Adriaan "Are you jealous because there is no Dutch translation?"
 
4:11 PM
I just don't get things like Russian or Portuguese SO. Since all my programming terms are in English, I'd have more problems trying to translate that into Dutch, even though that's my native language, than just jotting it down in English, in which the bloody programming language is written anyway
@LuisMendo not at all.
 
@Adriaan It was meant as a joke. It clearly wasn't good enough
 
It needed more eval ... and PHP.
 
@Adriaan for technical terms, sure, but explaining why someone doesn't like a thing could be easier to comprehend in a native language
 
I once got crapped on all over when I commented on a forum of a game that we didn't need translations. The devs wanted to translate it to "bring together the international gaming community", and when I said that that's bullcrap, since Frenchies will kick me anyway, and the Spanish word for medic bag is not medic bag, I wouldn't be able to communicate anyway
 
@TroyHaskin :-D Ok. This code prints the ultimate answer to life, the universe and everything
x='12*3'; eval('+x(pi:pi)')
@Adriaan I agree it's better to use English
 
4:16 PM
@LuisMendo How does that work?
 
For instance, "beating with rock" might be easier comprehended with "beating with potato" in Latvia
:D
 
@TroyHaskin The eval part you already know about. The non-integer-colon indexing maybe not. I found about it a few days ago
21
Q: Does Matlab accept non-integer indices?

Luis MendoOf course not! ...Or does it? Let's do some tests. Define x = [10 20 30 40 50]. Then any of the following statements, as expected, gives an error in Matlab (Subscript indices must either be real positive integers or logicals): >> x(1.2) >> x(-0.3) >> x([1.4 2 3]) >> x([1.4 2.4 3.4]) >> x([1.4:...

 
lol, @AndrasDeak isn't this what we were "arguing" about with Tasos?
 
@excaza Let's remember also that being able to read a language doesn't mean you understand the message apparently.
0
Q: Error in a matlab coupled ODE

user3091668I am trying to run the following code in matlab: function dxdt=HoLi(t,x,p) % Parameters a=1; b=4; K=2; n=2; % State variables dxdt=zeros(1,2); fprom(1)=x(1)^n/(K^n+x(1)^n); fprom(2)=x(2)^n/(K^n+x(2)^n); dxdt(1)=b*fprom(2)-a.*x(1); dxdt(2)=b*fprom(1)-a.*x(2); end Then: [t,x]=ode45(@HoLi1,0:0....

^ Case-in-point.
 
true, but MATLAB does have localization, doesn't it?
 
4:20 PM
@LuisMendo But how does 36 become 42?
@excaza I know the documentation does. I don't know about the error messages in library functions.
 
@TroyHaskin The string is being indexed into. The "pi"-th value (actually the third) is '*' . With a + in front that gives the ASCII code, 42
 
@LuisMendo 23 in two weeks????
I can't see the tag or anything
 
@AndrasDeak \o/
Pity I missed Loren Shure in Madrid the other day. I would have asked her about it
 
@LuisMendo you and your fantastic questions
 
@Adriaan Thanks. No answer as of yet, though :-(
 
4:23 PM
@LuisMendo "With a + in front that gives the ASCII code" ... What what what?
 
> Questions asking us to recommend or find a book, tool, software library, tutorial or other off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Trippy question though, surely...
 
@TroyHaskin That's unary plus. Try it. +'a' is the same as double('a')
Not saying it's good coding practice, but...
 
@LuisMendo Ah, of course ... didn't occur to me since I rarely do string stuff ... unless someone pays me double.
 
:-D
 
5:01 PM
Interesting read. One of the messages contained therein:
"A language like Dutch — spoken by 27 million people — can be a disproportionately large conduit, compared with a language like Arabic, which has a whopping 530 million native and second-language speakers," Science reports. "This is because the Dutch are very multilingual and very online."
 
@RodyOldenhuis lots of text
sounds like a logical conclusion that
 
@LuisMendo which version of MATLAB do you have at your disposal? ..and a followup question: when you look for documentation, do you usually do it internally in MATLAB or on the web?
 
I've lived in Japan, Germany, Italy, Croatia, and in all of those countries (yes, even Germany) I, as a Dutchman, was surprised by the low levels of English, and moreover, unwillingness to learn and uncomfortableness with English itself.
 
@Adriaan looks like we found a compatriot of yours
 
@RodyOldenhuis I've had similar experiences on holiday; I've lived only here (NL) and in Sweden, which is more or less the same as here
 
5:06 PM
I can say I don't agree, but I can understand why things get localized. Not many people in Japan speak a lot of English, it makes sense for them to write code comments in Japanese
 
@RodyOldenhuis but you need to learn English anyway to code at all. The code language itself is structured on English. if, for, while, end etc are all English terms
 
sucks for the rest of us though...
Yes, but for example in C, there are only 32 keywords. You can use those without even knowing what they mean. Same for many other languages.
 
sure, but in my opinion it's a symptom of "patriotic narcissism". People just don't want to step outside their comfort zone and speak a language they're less familiar with than their own
not only in programming, but everywhere. In programming specifically though, I'd expect more people to speak English, because of the global character of it
 
Also, consider this: the UK English speakers get confused when they have to type color instead of colour, gray instead of grey, etc. Which leads to bugs and annoyance. Which is why The Mathworks did this.
 
@RodyOldenhuis yes, I was very happy when I read that
and very sad when I found out it was a hoax
 
5:11 PM
Oh you are such a westerner :)
Oh shyte, should've checked the date..
Oh well.
English is global in nature, to you.
 
@RodyOldenhuis And globals suck.
 
speaking about programming in another language:
-1
Q: Matrix error of values affectations

Julien563I post this text to know how my affectation of Matrix doesn't work. I mean, when my loop while trying to affect values of B to one of those matrix C, octave affects an incredible number of "1". When I put this in the pannel of command of Octave : B(350,500,:) and C_horizontale_droite(350,149,:) i...

he Frenched out on this
 
...dropped French in high school as soon you could, eh? :p
 
as I also took German, Greek, Latin and English, yes
I speak four languages nowadays, and I think that's quite enough
is distance actually French, or did he randomly use one English word in there?
 
No it's French, means what you think it does
 
5:23 PM
even trying to carefully read it and trying to understand what he means pains my head through all the weird sentences
@RodyOldenhuis ah, unsurprising, since 6% or so of English vocabulary actually comes from French
 
@Dev-iL I have 16b and 15b installed. In an older computer I have 10b. As for doc: usually at Matlab command window, but I sometimes use the Mathworks web
@RodyOldenhuis I can't believe that's serious... oh wait :-D
 
"Where exactly does our modern vocabulary come from? The website AskOxford cites a computerized analysis of the roughly 80,000 words in the old third edition of the Shorter Oxford Dictionary.

The study, published in 1973, offered this breakdown of sources: Latin, 28.34 percent; French, 28.3 percent; Old and Middle English, Old Norse, and Dutch, 25 percent; Greek 5.32 percent; no etymology given, 4.03 percent; derived from proper names, 3.28 percent; all other languages, less than 1 percent."
Whether you call 1973 "modern" ... but the overall trend will still be the same
 
@Dev-iL Strangely, they don't have the same information. For example, it took me a while to find the written justification that for k = 1:100 doesn't actually create the vector 1:100. It's nowhere on the web site, apparently. Then I tried help for and there it was
 
@RodyOldenhuis Whoops. I meant 60%, but I was off by a bit (considering Latin to be almost equivalent to French)
that's why I can't find anything in the supermarket in England, as all the culinary terms come from French :P
 
@LuisMendo Yeah, this happens sometimes... I usually just skip the help for step and go straight to the "source code" of for
Also, I've started a CW on your question for people who might have some insights on what's going on...
 
5:31 PM
Well, I'm off. Cheers and good night
 
gnite!
 
@Dev-iL Thaks for that. It would be great to have input from a Matlab developer...
@RodyOldenhuis Good night!
 
 
1 hour later…
6:42 PM
it tickles me that the "best" way to draw a circle in MATLAB is to use rectangle
 
7:16 PM
Can't you just plot a circular marker of a large size...?
 
or annotation, or patch, yeah, but rectangle('Position', [x y l w], 'Curvature', [1 1]); is pretty simple :p
 
can't argue with that :)
 
7:32 PM
what, my meta post went over 200
that's so ridiculous :D
 
you're famous!
 
 
1 hour later…
8:40 PM
@excaza I love you — Paji.R 6 mins ago
2
Awwww
 
@excaza <3
 
 
2 hours later…
10:31 PM
Anyone else watching the Chess World Championship Games?
Riveting ...
 
11:09 PM
@Adriaan The gold badge looks good!
The comments are great :-)
Plot twist: Community user is secretly Jeff Atwood. — Qix Oct 4 at 17:28
 
11:26 PM
Also, this one (totally unrelated) made me chuckle
I once told TEN puns in a row, hoping that at least one would get a laugh... but no pun in ten did. — Digital Chris 2 days ago
 
11:51 PM
@LuisMendo if only they'd hand them out that fast on the MATLAB tag
 

« first day (511 days earlier)      last day (2721 days later) »