« first day (602 days earlier)   

6:12 AM
@flawr haha
 
 
1 hour later…
7:28 AM
stackoverflow.com/questions/42384884/… @Suever floating-point dup
(for a change it's on the high side of the number line)
 
8:09 AM
@Adriaan Yes!!
This is what I told you that you guys were crazy. There are still a lot of unknowns in proton therapy and they know it works, still not 100% how
you guys go and build 4 XD
those things are expensive
 
 
1 hour later…
9:20 AM
@AnderBiguri seems to me like an "OT: no specific problem" kind of question
 
Huh?
 
Which part is unclear?
 
off-topic
 
Are you talking about the uniquetol guy?
 
9:21 AM
What else? :)
 
yes, now that I understand what OT is, makes sense
sorry, just had my coffee and still did not kick in :P
 
Maybe you should switch to tea... After years of drinking coffee it loses effectiveness (note: coffee, not caffeine)
 
I see. Still generally kicks in quite a lot now
so I am not in that point
its just not a 2 minute thing
 
How do you make the coffee?
 
9:48 AM
Either buy in in the coffe shop, or make it with an expreso machine
but it must be expreso machine coffe or I get maaaaad
 
@AnderBiguri so, when are you coming by? The fridge is stocked.
@AnderBiguri No problem, I have that one as well.
 
@Adriaan not til I finish my thesis for sure
:(
 
aww. Can't you go as part of your thesis?
I'll be here at least until summer 2018 though
 
 
2 hours later…
11:32 AM
dafuq did I just read? (@answer)
 
@Dev-iL removed the noise, CVed, forwarded to a JasperReports VIP
What are you doing in those tags?
 
came up in review
 
ah
Petter (who closed it as well) is that VIP btb :P
 
@Adriaan no Im in the last point, where writting is the important thing. Maybe before summer 2018 yes
@Dev-iL dafuq
 
11:58 AM
@AritraRoy Did you not notice that this question got completely out of control? First it was a question about the cause for a failed autostart; then it morphed into a question about how the custom ROM on some devices decide which apps to whitelist; and finally, the question was how to treat with permission availability. It should be split into 3 different questions at least (not to mention that some these questions might be considered off-topic / too broad). I can't even tell which of these questions the accepted answer addresses... — Dev-iL 18 secs ago
 
@Adriaan ROFL
 
the comment was splendid as well
more rants and telling me to get a proper degree :D
 
@Adriaan WTF
 
as I said, making friends :P
 
12:03 PM
Temporarily supended
 
7 day suspension, no more ranting from him. We'll see next week what happened
 
12:32 PM
Don't engage in rollback war etc :P
 
muh, I won't if it's about contents, but when he's being deliberately rude I will
I like making friends
How's the otherhome btb @AndrasDeak
 
12:48 PM
-1
Q: census transform in stereo matching

Jogging SongThe paper Evaluation of Stereo Matching Costs on Images with Radiometric Differences reads that Census gives the best and most robust overall performance on all test sets with all stereo algorithms. I hope census transform can compensate for auto-exposure difference for input left/right images. ...

"I am doing something and I am getting exactly what the output should be, what is wrong"?
NOTHING
 
@AnderBiguri step back, take a deep breath, drink a cup of tea (that's what they do in England when worked up) and continue to write your thesis :P
 
hahaha yeah
I tried explainig it, but OP does not want
at least lets remove it
 
1:10 PM
0
A: How to add marker/symbol to colorbar

GeeklhemI found this question when I stumbled on this issue with python's matplotlib. Since I did not find any answer, here it is for reference, but it's not matlab. I do not know if it translate. I just use plt.scatter on the colorbar's axis. Here is a minimal example. It can probably be improved. im...

Is this acceptable in any way?
 
@Sardar_Usama technically we can't flag it AFAIK. It is an answer, and it's not of low quality
let me ask around
41
Q: If the question is specifically about a certain language, is an answer in another language valid?

Alexis KingRecently, I came across this question asking about collecting a list into sublists in Scheme. The OP received a very comprehensive answer, which was accepted. However, another answer was posted in a completely different language, Java. In my opinion, this is completely ridiculous for a number of...

modflagged the answer, pointed in the flag to the meta and asked what I should do. We'll see
 
as per that meta post, i think it is acceptable (although not liked)
 
1:28 PM
trying to solve it now in MATLAB
problem is that uistack still thinks the colourbar should be on top:
A = rand(15);
figure;
imagesc(A)
h = text(16,7,'<marker');
colorbar
uistack(h,'top')
hmm. uistack doesn't work like that
oh, it does work. The problem is that the colorbar is not a child of the graph... then what is it?
 
Do the same with f=figure and then check f.Children
 
oh, there it is!
now how to work with this...
@Sardar_Usama f.Children.ColorBar doesn't work like that apparently
 
1:49 PM
hmmm, weird
 
well, I updated a bit to show it in relation to a location on the plot, but that's the best I can do
 
I guess you can alwasy grab the frame, show it as an image+plot on top
 
I can't use uistack to get the colour bar back, as it doesn't exist in the hierarchy for some reason
 
but I can not be bothered to write that now, im busy
 
1
A: How to add marker/symbol to colorbar

AdriaanYou can simply add text outside the plotting area and use that for your marker: A = rand(15); f=figure; imagesc(A); axis square text(7,7,'X','Color','red') % Put a red X in the middle text(17.5,size(A,1)*(1-A(7,7)),'<marker'); % Set a marker on the colour bar for the middle point colorbar Whic...

@AnderBiguri stick to your tea @AnderBiguri and write your thesis!
 
1:53 PM
Hahaha, thanks :P
 
@Adriaan care to weigh in on this? Am I just crazy...?
 
@Dev-iL I agree with Martijn's answer
 
Hans has a history of not seeing eye-to-eye with me
 
Hans is a dickward
has always been on meta
You're not special in that regard: he badgers everyone equally.
Don't worry about it, you've got mod support
 
ok, cool :)
 
2:51 PM
@Sardar_Usama nah, I tried the other one, and that one says equal to one. — Muhammad Usman 40 mins ago
@Suever ^ I don't know what he's trying to do
0
Q: Symbolic simplification to least number of plus and mutiply operations

Ran WangRecently I have to work with algorithms with a lot of long symbolic expressions such as this one upperside = ( e * e * n * p * tn * tn + 2 * e * e * n * p * tn * tp + e * e * n * p * tp * tp + 2 * e * n * n * p * te * tn + 2 * e * ...

The OP removed the Python tag and now an answer in Python is posted
 
3:16 PM
@Adriaan Thought I'd take a stab at it myself. Annotations for the win! ;)
1
A: How to add marker/symbol to colorbar

gnoviceOne way to do this is to fetch the colorbar position, compute the location where you want your marker, and place an annotation object (like an arrow) there: cLimits = [-2 3]; value = -1.8; colormap(jet()); hBar = colorbar(); caxis(cLimits); barPos = get(hBar, 'Position'); xArrow = barPos(1)+bar...

 
@gnovice things mess up a little if you maximize the figure window.
 
@gnovice 18 minutes and already a higher score than I have :( I'll just silently quit Stack Overflow I guess...
why can you plot things over the colour bar? I can't do that with text
 
@Sardar_Usama Yeah, if the colorbar position changes things can go awry. Haven't figured out a solution that sticks to the colorbar yet.
 
@Adriaan he is a star! :P
 
oh well, I got another illuminator and sportmanship notch
 
3:26 PM
I don't have a good understanding of that but probably the undocumented addlistener can adjust that as done in this answer @gnovice
 
@Sardar_Usama Yeah, I think either setting a resize function or adding a listener would be needed to keep the arrow positioned properly on the colorbar.
 
Joe
Hi
 
Hi @Joe! How's the MATLAB faring?
 
Joe
good Iam working with it Ö)
:)
How to make a stop button in matlab
I do not found a good site
 
What do you mean a "stop button" ?
 
3:39 PM
ctrl-C
 
Joe
you press it then the code stops as you do ctrl + c
true @Adriaan
 
I dont think you can
 
Joe
@AnderBiguri do you have a website
I want to learn myself
 
Why don't you press ctrl-C?
 
What? Me, like a personal website? No I dont, but how is that important?
 
Joe
3:40 PM
Imean to matlab site for learning hahahah
:)
 
I said "I don't think you can", which means-> no you can not do it
So, no, I have no website that shows how you can not do something
 
Joe
I want it to be more prophesional becasue Iam a great programmer :)
 
More profesional than not being able to do it?
 
Joe
hahaha
 
The rason you can probably not do it is because MATLAB will focus 100% of its time in runing the code
so you can not make MALTAB check for something else, because its just running the code
 
Joe
@gnovice thanks
 
@AnderBiguri Clarke's 1st law
 
@Dev-iL :D
I did try to give a "I dont think" <- amiguous statement
 
...but then you clarified it ;)
 
I am quite confident with my knoledge that this is not something you can do, and even if you can, probably you are just not using the right tool then
@Dev-iL true :P I just like to be proven wrong :P
So you can come and scold me if you find me wrong!
 
3:50 PM
Python answer on a MATLAB question. It solves the problem, but not in a way the OP wanted probably. I read this meta (meta.stackoverflow.com/q/290046/5211833), but am still unsure whether an NAA would be acceptable. Let me know and I'll handle accordingly next time. – Adriaan 2 hours ago helpful - NAA should not be used for wrong answers. It should only be used for posts that are not an attempt at answering.
 
@flawr This is hilarious.
 
@Sardar_Usama ^
@AnderBiguri YOU WRECKED MY DOUBLE MESSAGE
 
Joe
If i have matlab ver 2013 and I want to install ver 2016 so should I remove the ver 2013 and then install 2016 or it is fine just to install 2016 without removing 2013
 
you're fine to leave older versions
 
3:59 PM
you can istall without removing
 
they install to separate locations
 
Joe
thanks man
thanks
 
@AnderBiguri love the flower
 
Joe
great :)
 
4:01 PM
Because I feel like freehanding red-circles
 
so you don't play games?
 
@Adriaan thanks, it represents the fragility of life and the frustration of not having Admin access in the work PC
2
@Adriaan ^
 
function interruptibleUI
figure('Position',[400,500,329,160]);

uicontrol('Style', 'pushbutton',...
'String', 'Compute',...
'Position', [24 55 131 63],...
'Callback', @longComputation,...
'Interruptible','on'); % On by default anyway

uicontrol('Style', 'pushbutton',...
'String', 'Pause',...
'Position', [180 55 131 63],...
'Callback', @interrupt);

end

function longComputation(src,event)
pause(15);
end

function interrupt(src,event) % depending on where you want to stop
dbstop in interruptibleUI at 19
 
@Dev-iL Oh wow. Never underestimate the power of someone that wants to prove you wrong!
Which I am incredibly glad you did, BTW!
 
@Adriaan So if you attempt to answer a question, it doesn't matter if it is correct or not, lol
 
4:08 PM
 
@Joe I suggest you ask in Stackoverflow "how to make a stop button that behaves like CNTRL+C" and @Dev-iL answers it
this is too god to be left in chat
 
@AnderBiguri Thanks, but I'm not sure it's that obscure... ;)
 
@Sardar_Usama yes I got this in the past. If the answer is blatantly wrong-> downvote, not flag
@Dev-iL Well, its still very interesting ;)
And it will contribute very nicely to the "Q&A" encyclopedia that SO is
 
Perhaps I'll just add a documentation example with this...?
 
That's a better idea, i think
 
4:11 PM
I assume its the best place for it, I just dislike the MATLAB-SO Docs
 
@AnderBiguri You don't have to like them, but it would help if you linked to them... It gives me free rep ;)
 
Yes, I do try to do that!
 
At one point I got a bunch of rep from Suever's answers that contained documentation links
It was a glorious day indeed :D
 
2
A: Store matrices of different column size into one element

Ander BiguriThe only basic MATLAB class that can store different types in each of the elements is a cell array. A{1}='hello'; A{2}=rand(4,5); A{3}=rand(4,25); A cell array is accessed with curly brackets {}. Read more in the documentation in Stackoverflow Read more in the official documentation

I did try to write some docs from the heavily undocumented MEX API, but most of it was not very succesful (people did not upvote a lot) so I quite after a bit
 
> Matlab R2016b comes with a̶ ̶n̶e̶w̶ ̶f̶e̶a̶t̶u̶r̶e̶ a monster that will kill us all: Operator implicit expansion.
great edit
 
4:19 PM
:D btw that's also a reason why I don't want to upgrade my version
 
hmm, where was the thread on MATLAB's site where the dude was going bananas about it
laziness is not a good reason :)
 
bsxfun is there for a reason :/
 
I really like it TBH
 
so is validating your data before it gets to the point where you need an error to tell you it's bad
hmm
can I just scroll back through things I have said
Never mind
Found him!
 
@excaza brilliant thread titles
 
4:43 PM
@Sardar_Usama 凸->Convex
I see, I see
 
Approve and upvote: stackoverflow.com/documentation/review/changes/… especially @AnderBiguri
 
I didn't know that was chinese :D
 
What did you mean then? :P
 
4:47 PM
that MATLAB doesn't care ¯_(ツ)_/¯
 
nope
 
5:03 PM
@Sardar_Usama I did get it, was kidding :P
 
I know :D
 
@Adriaan bit gloomy, rainy days here
 
@AndrasDeak They still speak Hungarian among the elite?
 
I wish. Well, who knows...I don't meet the elite:P
 
doing magnet-stuff?
 
5:08 PM
yup
 
So, how many fridge-magnets are you bringing home?
 
zero:(
 
@AndrasDeak and you keep telling yourself you work with magnets? Pfff
 

« first day (602 days earlier)