« first day (109 days earlier)      last day (3124 days later) » 

 
3 hours later…
3:35 AM
@TroyHaskin - That's true!
 
 
6 hours later…
9:45 AM
Did you guys ever try linkdata ?
 
@Dev-iL no but it seems cool
 
I also noticed a very handy feature in matlab: suppose you have a struct open in the variable editor and you copy one of the field names and then paste it somewhere - it automatically adds the struct name :)
 
10:00 AM
I don't use a mouse...:P
God what a moron:
0
Q: How to turn Numpy array to set efficiently?

Alireza HosI used: df['ids'] = df['ids'].values.astype(set) to turn lists into sets, but the output was a list not a set: >>> x = np.array([[1, 2, 2.5],[12,35,12]]) >>> x.astype(set) array([[1.0, 2.0, 2.5], [12.0, 35.0, 12.0]], dtype=object) Is there an efficient way to turn list into set ...

"-solve my problem A"
"-here."
"But this doesn't solve my problem which is actually B which is more complicated than A."
"-Here."
"-But this is not efficient! My actual case is much larger than hinted at!"
"-gtfo"
I actually stopped at step 1 and deleted my answer which doesn't apply to problem B:D
 
Reminds me of my "not worth my time" suggestion :)
 
10:32 AM
Would that be a tag? Or a flag?:D
 
It's something you say in this channel before posting a link to the question ;) should be easily searchable
 
10:47 AM
@Dev-iL I'd love it if that was a flag option!
 
@IKavanagh SO would close down if there was a flag like that :D
It's bad enough that most people only answer questions they consider easy/simple
 
11:00 AM
I agree completely. And often some of the most highly upvoted answers are simple and easy whilst thoughtful and properly helpful answers aren't.
 
11:12 AM
OK, decided to answer question version C;)
OP was content, got an accept
Though not an upvote... OP has 1k+ rep, so should know how to upvote:P
They are probably hurt by my efforts to force them into disclosing their full problem
And maybe because my answer starts with this:
> The current state of your question (can change any time): how can I efficiently remove unique elements from a large array of large arrays?
:D
OP is not a generous god
@Dev-iL oh I just found that in the transcripts.
I was even here, but I was pre-occupied by Adriaan's vengeance for using i and j as variables:D
 
 
1 hour later…
12:20 PM
:)
 
1:14 PM
@IKavanagh We should offset that balance by upvoting nice answers, especially in , just like Ander promotes :)
 
1:36 PM
@AndrasDeak I'm proud of you
@AndrasDeak speaking about morons, this dude is adding and multiplying zeros and wonders why his results are zero
 
Hi guys
I have this code which runs very slow. Can someone help me vectorize it.
 for i=1:K,
      y=w*x(i,:)'; % y is N by 1
      u=zeros(N,M);
      disp(num2str(i));
      for j=1:N,
         u(j,:)=y(j)*(x(i,:)-y(1:j)'*w(1:j,:));
      end
      wold=w;
      w=wold+eta*u; % updated weight matrix
   end
the inner loop takes the most time.
 
Hmm I see a bunch of complex conjugates - that would be extremely difficult ;)
 
the code is for generalised hebb algo
 
@AbhishekBhatia ask a question on SO?
 
1:50 PM
then why are you still flooding the chatroom every time you ask a question? We'll see the curtain dropping down containing your question fast enough
 
sorry will keep a note of it in the future.:)
 
0
A: Variables are continuously zero while creating matrice with for loop

AdriaanI figured out why your code is not working: First of all you need to call row indices, not linear indices, i.e. change your loop to: for ii=1:100 G(ii+1,:) = G(ii,:) + (T(ii,:)*0.1); end note that I also used ii as opposed to i, since using that as a variable is bad. This results in T re...

this noob just forgot to assign a recursive variable >.<
@AbhishekBhatia there's your curtain :D
@AbhishekBhatia one major improvement: do not use i as a variable
@rayryeng this question pops up three times in the curtain, since it triggers on , and . I do not think the latter two catch anything that's not in the first (and if they do, it will be edited soon enough), so I suggest removing them from the feed since it just displays things more than once. This is not the first occurrence I see of this.
 
I was wondering why things appear there more than once :)
@IKavanagh following your comment on the question, you might want to consider this answer: stackoverflow.com/questions/33197367/…
 
2:11 PM
@Adriaan Thanks for the suggestion, but there isn't much improvement with it.
 
@AnderBiguri - did you every try something like this?
http://undocumentedmatlab.com/blog/explicit-multi-threading-in-matlab-part3/
 
2:43 PM
@Dev-iL nope. Neihter i have wwithout matlab. I have never used C/C++ paralel threading stuff
just CUDA
 
Alright
Multithreading + bsxfun =
 
I believe he wants to introduce some sort of "corruption" into his audio signal
 
yeah looks like, now htat you say it
"geomeetric attack" is a fun concept XD
 
@AnderBiguri - I guess we're not as well-read as we thought
e.g. http://www.sciencedirect.com/science/article/pii/S1047320309000388
 
3:23 PM
oh
I did googled it, but didnt find anything
 
3:39 PM
@Adriaan this one's for you:
0
Q: Concatenating outputs whose variables have sequential names in Matlab

Daniel OsutoI am classifying vehicles using neural networks in Matlab. So far the vehicles have been classified. My problem is putting the predicted class labels into a single vector form for use in subsequent stages. The total number of vehicles classified is 188. Part of the code used is as follows: for i...

 
Must I use reshape if I am trying to convert {[100 x 100], [100 x 100], ...} => [100 x 100 x N] using cell2mat?
 
Why don't you want to use that?
oh
cell2mat
 
Not that it's a problem, maybe there's a ready function for that
I don't have to use cell2mat .... That was just my first guess
 
hmm
 
Are you going to attempt one of those crazy squeeze(mat2cell(src,size(src,1),size(src,2),size(src,3),ones(1,size(src,4)))); ? :)
It seems that cell2mat outputs [100*N x 100]
 
3:46 PM
I think if you could reshape to [3 3 1] it would work, but matlab kills trailing singleton dimensions:(
 
Ok found it
cell2mat(reshape(src,1,1,[]))
 
cool!
good work:)
 
!תודה
(It is my hope that you guys are using double-click translators)
 
The only thing I can read is ×—×™
:(
 
We only have 22 letters... And the number of distinct sounds is even less
Why do you know ×—×™ ?
Because of Elvis ? :D
 
4:23 PM
@Dev-iL navajo moose:D
The one in my neck has been mistaken for an elephant, if I remember correctly:D
And a gas station
@Dev-iL oh, right, I also know aleph
and I know the names of bet, gimel, daleth, and shin without knowing them
I almost recognize shin but there's another letter which is pretty similar and I can't tell them apart:)
 
You're on the right track :D
 
:)
Learning the Cyrillic alphabet wasn't trivial for me, and that's written from left to right;)
One day I might learn Hebrew. My girlfriend is more intent on this.
We were at a wedding a few months ago, and we had to google how mazel tov was written:( But it was fun:D
 
What good would knowing such an insignificant language do? Better focus on Mandarin :)
 
@Dev-iL Mostly a heritage thing.
 
Looks like I've missed the whole "who's Jewish" discussion from 3 weeks ago :D
 
4:35 PM
Possible:D
 
You should come for a post-doc :)
 
Can't stand the weather:) My ideal climate is way to the north...
 
Yeah I tend to agree, though I haven't really ever experienced northern climates
Out of curiosity - do you happen to belong to the neológ irányzat?
 
@Dev-iL actually I'm an atheist. It's really more of a heritage thing. I identify as Jewish, but I don't keep the holidays (besides greeting my relatives with shana tova at new year) nor any religious customs.
But anyway, I can't imagine myself as on orthodox in any way, even if I was religious:)
 
Well you see, in Israel we are taught from a small age, that "Jewish" is a nationality as well as a religion. For this reason it makes sense to say "Arabs and Jews" (otherwise it would've been "Muslims and Jews")... So I did not ask you about what you may or may not think about an imaginary friend that may or may not be living in the sky, rather about the "on paper" heritage thing
As far as I understand, Orthodox != Neolog
I was once in a Neolog synagogue during a holiday prayer - it was very impressive, but also very strange to me.
 
4:49 PM
@Dev-iL on the contrary, it seemed to me that they are in a sense conflicting
as in either-or
and it also seems to be a religious category to me, hence my answer
but yeah, if anyone asks me, I answer that I'm a jew
 
Oh noez! :D
 
I suggest you change the code with which you obtained all these variables, because using dynamic variable names is bad.. The reason that this is bad is that you probably did a lot of code-copying to obtain 188 sequential variables, which is easier done in a single loop; the other reason is that the way to evaluate dynamically named variables is barely supported by MATLAB and breaks most things, including JIT, your most important speed-up engine. — Adriaan 30 secs ago
 
@Adriaan nice:D
Although JIT is the proverbial moving target
 
that's what I actually needed, but you can't post images in comments
 
@Adriaan yaay, you can use it now!:D
 
4:54 PM
Dude! handles.(varname) saves my ass!
 
@Dev-iL I knew that!:)
 
@AndrasDeak He did actually use eval in his code already >.<
 
I've known it for...like a year. Using matlab for 7-8 years:D
 
I think we should make an extension to mlint that treats dynamic variable creation and i,j loop indices as errors
 
@AndrasDeak I added it :P
 
4:56 PM
@Dev-iL actually all builtins should be protected...I'd support that like hell:)
 
@AndrasDeak - did you see the code I once posted that screws up your matlab?
 
@Dev-iL I'm not sure. About overwriting builtin?:D
 
Yeah :D
 
then yeah, I did:)
I learned builtin that day:P
And if you save builtin in advance in a handle, you can still recover:D
but you also have to overload clear for irreversibility. Or was that part of your suggestion?:D
 
Jul 15 at 18:30, by Dev-iL
I think I broke matlab: builtin = @(varargin)false; clear = @(varargin)false;
'twas :)
 
5:00 PM
oh, awesome:D
 
You are right in that there are several clear functions that you need to overload... also clearvars
 
@Dev-iL but totally worth it:D
 
if you want to troll somebody, put that in their startup.m
 
@Dev-iL lol:D
 
or find and replace ; with "Greek question mark" ;
 
5:04 PM
or just overwrite errorbar.m:
 
I didn't really understand what was going on there
 
I still don't, gave up:D
 
OP did say that stepping into the function works
 
you need a meme for that
 
@Dev-iL well, if I understand correctly, the figure by OP actually shows errorbars for other users? WTF?
 
5:05 PM
@Adriaan - which of them?
@AndrasDeak precisely.
 
I would guess that the colororder got screwed up for him or something like that
One doesn't simply...
 
reminds me of this recurring xkcd character:
 
lol @ alt text
 
@Dev-iL I still find it hilarious that SO oneboxes xkcd:D
 
5:08 PM
hehe that's right :D
 
59
Q: Answer-stealing user with bad attitude

Steyn van EsveldThis is about position 2 divs next to each other. There's this guy who downvotes every single answer on this question, then looked at my comment containing a jsFiddle. He then decided it was perfectly fine to copy it into his own answer. When I said something about it, he quickly deleted the an...

that user with bad attitude got serial downvoted so ridiculously much since this post :p
 
That's the meta effect.
Not a really good thing, and should be expected.
And stealing a comment is only half shitty: why was it a comment in the first place? Comments are volatile.
You should always raise anonymous questions on meta.
 
@AndrasDeak yea, but at least mention the user that suggested in in the first place. I've done that a couple of times, and I've never heard about it (citing the comment in the answer of course)
 
@Adriaan Sure, still an asshole thing to do, but not meta-inducing by itself. The guaranteed-to-be-correct way is to answer as community wiki
If you're stealing a comment entirely:P
If it's inspired by a comment, then that should be fine.
 
@AndrasDeak Ive done that once, after a similar discussion with Ray. He suggested that if you steal it entirely, make it CW, otherwise just cite it and use it amongst your own code.
 
5:16 PM
Indeed.
 
Unless you're hunting for bounties, yarr!
 
or actually he suggested make the answer and comment to the original commenter that you used it and will make the answer CW if he answers (this was about an eight month old question)
 
@Dev-iL but then the asshole-factor comes back:P
 
@AndrasDeak that's pretty high with me anyway
 
@Adriaan Indeed
;)
 
5:20 PM
self-knowledge and -acceptance is a virtue
 
Knowing and accepting that you're an asshole doesn't make you less of an asshole;)
 
what's with your fixation on my asshole?
 
@Adriaan I've added matlab, matlab-guide and matlab-figure in the feed because sometimes, the OP forgets to tag the question with matlab or matlab-guide, and just matlab-figure
 
Hej @rayryeng! Did the weekend settle things down over there?
 
or any combination there of.
As a consequence, should the OP decide to tag the question with all three... you will see it three times in the ticker feed
I figure it's a small consequence to pay so we don't miss the question.
 
5:28 PM
meta time? They should filter duplicates imho
 
that is a good idea yeah.
It should be a feature request!
 
I'll screenshot the next one that pops up
 
@rayryeng link and I'll upvote:P
 
LEMME LEMME LEMME
 
@Adriaan for the moment it has.... but that hasn't stopped me from looking for another job
 
5:29 PM
I dont have any brown-filled circles related to meta yet (a)
 
@AndrasDeak @Adriaan oh yes, hi :)
 
@Adriaan check if it's been raised before
@rayryeng hii!:)
 
Saw that meta post lol. Guy got serially downvoted by people.
that's the meta effect.
 
0
Q: Remove duplicates in chat feed curtain

AdriaanRecently the MATLAB and Octave chat room had the tags matlab-figure and matlab-guide added to the feed curtain, which originally only contained matlab. Now questions that are tagged with more than one of the tags trigger on both feeds, thus they show up in the curtain twice. I therefore suggest ...

 
you may not be able to do anything though
those questions appear in the feed because I've provided RSS links directly to those tags.
because I'm pulling questions from each tag independently, I'm not sure how viable it is to filter duplicates.
 
5:34 PM
comment that ;)
WOOHOO bronze badge :D
 
hahaha I'll upvote too
 
@rayryeng thanks for the comment. I'll let someone with actual know-how of website architecture take that
I guess it should be possible to check the existence of a link within the feed-curtain
i.e. all RSS-feeds feed to a list and if the question link is already there, then do not add it again
 
That is a good feature request to add though.
I've added in the comment for more clarity though. Let's see how it goes.
 
updated the question
 
Nice
Let's see how it goes!
 
5:41 PM
it goes faster than votes on any of my answers/questions :P
 
Meta has more exposure because you ask non-technical questions there.
so many people will understand what you're talking about lol
and also, up/down votes don't do anything to reputation... they symbolize whether people agree or disagree
 
I know that
 
so getting -100 downvotes.... well... isn't SO bad... it just means that you suck and many people disagree with you :P
 
shame though :P
 
but I don't see this happening currently with the question
 
5:44 PM
@rayryeng I have @AndrasDeak to tell me that ;)
 
oh good! :D
 
I do not see why you'd be against this actually
unless you really, really want to flood everyone's screen continuously by adding all possible tags
 
No I don't see anyone being against it either.
It's just a question of how viable this is. I don't think people expect us to add SO questions by tag as RSS feeds into the chat room lol
I did because I/we don't want to miss anyq uestions.
 
5:58 PM
@rayryeng so we're all suffering because of your obsession with unicorn points? :D
 
:D
yes
 
@AndrasDeak you pretentious bastard :P
 
@Adriaan only if it's been asked before
@Adriaan did you see my edit comment?:D
I was gonna say grammer but it wasn't a grammar fix
 
that's such a superflous edit. I'd reject this on basis of "No improvement whatsoever"
it was perfectly fine English. Perhaps not in your corner of the world, but it sure is in mine
and yes I know my world is a fun one
 
6:06 PM
"fixed tyop" :P @AndrasDeak
 
even though it was perfectly fine Queen's :(
daring. I flagged a +13 question as off-topic last week
still pending though
 
and what did it mean?
you can rollback if you disagree
"that the curtain will reject the other requests from other tags"
I don't see how that's correct
 
hmm, might be a Dutchism... I'll have to think on this one
 
@Adriaan Do. If it was uncalled for, please roll back.
It seemed to be clearly erroneous for me.
 
you didn't destroy the post or anything, just rephrased it into something equally correct (in my world), so I'll leave it there
@AndrasDeak Im not the only one hammering that poor dynamic variable OP :P
 
6:22 PM
@Adriaan I can understand that:S
 
He misspelled my name! That's a downvote for sure :(
 
:(
You're not supposed to have read that: he didn't ping you anyway
just ignore:D
 
I know, but I was interested in what had happened; whether others had answered/commented
that code is a ridiculous behemoth in terms of both variable names and his looped if statement. I'd probably be able to do this within a few lines
 
You can just do repmat('largevehicle',[10 1]) anyway;)
 
:D
brilliant
except that you have not used enough eval calls there
 
6:34 PM
I was amazed that there hasn't been an inflow of comments on your meta post. Then I realized that I only read meta posts which are on the side bar, and those are the top ones:D
Cognitive bias ftw
 
@AndrasDeak go get all your buddies to vote on it!
 
I already have:D
You're the only people I know on SO
 
Who wants BSXFUN Pro!? This guy does -
Are you talking about writing code in c then calling it in matlab? What is BSXFUN PRO by the way, sounds interesting? — Abhishek Bhatia 4 mins ago
 
@Divakar DO WANT :p
 
:P
Well, you know these days 3x isn't enough speedup
 
6:42 PM
@Divakar hahaaa :D
actually he frequents here:P
I'm surprised he didn't get it
Everyone wants a bsxfun pro in their life, we are fortunate to have @Divakar.
 
That would be my first comment from now on all vectorization questions - "What's the expected output and the expected speedup?"
 
at least he switched to ii instead of i :p
 
from now on that is.
Yeah courtesy your i,j pesters
 
@AndrasDeak I don't think he actually reads anything. He just comes in, spams his question and goes away quietly when everyone ignores him
 
@Adriaan heh, yeah, today was the first time he asked "why doesn't anyone answer me?":D
 
6:44 PM
haaha
 
though its worse if someone does get an answer but ignores the message
I pissed off a dude recently because of this.
Tyler, I think?
 
Yes.
@Divakar I like that he actually added the to his question :P
 
The guys who wrestles with Ray?
yeah had to remove c-tag
 
@Divakar yup
 
Well, shit happens @AndrasDeak
 
6:47 PM
Started around here:
Oct 13 at 18:20, by Tyler Langan
I'm putting periods before my division and multiplication signs and it still isn't working
He had dimension mismatch errors
 
He wasn't putting the right periods probably :)
 
I told him to check the size of everything, he insisted that he can't cause it's the data of his boss and he can't access it:D
Eventually he put me on ignore, at least I think
there was a message about this which he deleted
might be auto-generated if you ignore someone
 
yeahh you can ignore, never had the honor of using it!
gotta try it sometime, bring on some annoying dudes!
 
LOL:D
 
where are you annoying brothers!
 
6:50 PM
:DD
 
??????
 
They are pre-occupied asking questions on SO...
 
Well so hows the NumPy thing going? @AndrasDeak
 
@Divakar Im actually surprised @AndrasDeak did not already ignore me over several mentions of certain sexually inclined emails
 
emails? really?
 
6:51 PM
@Divakar Adriaan is reluctant with his anals
And blames me for this:(
@Divakar slowly, thanks:)
 
@AndrasDeak you, not spoiling homework? Do not make me laugh:
Note that in my previous comment you probably need fix instead of floor to treat negative numbers properly... So: when you say "In my task I had number...", do you mean a homework? I wouldn't want to spoil that for you. — Andras Deak 18 mins ago
 
I only learn something new when I answer something:D
 
wait whats going on.. anals.. slowly? damn!
ops I didnt mix Numpy With anals, sorry!
 
@Adriaan I meant "I won't fucking write your homework. Otherwise I'll gladly help":D
 
"task", yup good cover for home task!
in some countries they call it that I think hometask/homework
 
6:55 PM
@Divakar actually I did answer a python one today
Not much of numpy, but anyway
 
"I have few doubts regarding this concept" well then, why are you asking a question at all :D
 
one you deleted right? @AndrasDeak
 
I learned map with it.
@Divakar Then I added an answer to the actual (i.e. new and updated) question
 
yeah map is useful sometimes, havent used it much tho
 
1
A: How to turn Numpy array to set efficiently?

Andras DeakThe current state of your question (can change any time): how can I efficiently remove unique elements from a large array of large arrays? import numpy as np l=np.random.rand(3000,30000) lout1=map(np.unique,l) #or lout2=[np.unique(ll) for ll in l] Runtimes: In [86]: timeit map(np.unique,lbig...

OP accepted, I'm not sure if this is what they wanted
 
6:57 PM
hmm yeah that started the day on a bad note
 
I was a bit bitchy in my comments and answer, so he didn't upvote:D
But you can't expect people to fully answer your question if you miss out most of the important details...
 
@Adriaan That;s just one of those long posts that you can easily ignore unless you are hungary for SO points ;)
 
@Adriaan I always read FIR as far infra-red...
 
I'm too lazy to read through that much text anyway. I prefer questions I can answer within 30 secs and get 2 identical answers within 5 minutes :p
@AndrasDeak finite-impulse-response (filter)?
 
@Adriaan now you ruined it!
 
6:59 PM
haha matrix ones with sample I/O @Adriaan!
 
No, wait, I already looked that up and forgot about it. I'll forget again soon;)
 

« first day (109 days earlier)      last day (3124 days later) »