« first day (252 days earlier)      last day (2991 days later) » 

12:36 AM
@rayryeng if you have the time and are very interested, you can get a very accurate picture of the bounty situation by looking at this transcript. This originated as a comment thread on the "why is there a 500 bounty on this crap?" meta post by Qix, and explains most of the controversy
We did discuss with Tiny in the SOCVR room in parallel, but mostly making remarks about the meta and comments therein. Anyway, this prompted Shog to freeze SOCVR after a while (starting here)
 
12:56 AM
anyone know if there is a way to make the property of a class read only? other than through using a set method?
not sure what best practice is in this case
 
 
4 hours later…
4:36 AM
can create a class where the properties are only set by the constructor, I guess, and then restrict other classes from changing its properties
 
 
2 hours later…
6:57 AM
@AndrasDeak this makes it so much more questionable, especially coupled with your last arrow ;)
 
7:07 AM
Good morning Mr. Luleå!
 
@rayryeng they lost :( Play-offs going to suck now
wait, it's like 4 in the morning where you live. The little one keeping you up?
 
2 a.m. :)
she is sleeping. I'm prepping notes for tomorrow. Hand written notes are done. Just prepping a quick SVM demo in MATLAB
I'll be using fitcsvm. I just want them to get the basics.
 
@rayryeng sounds fun
 
BTW, there's nowhere in any way, shape or form that I've seen to extract out the weights of the hyperplane.
In fact there was a StackOverflow question asked on the same topic which received no answers.
0
Q: Matlab ClassificationSVM class get weights w

jmfmI am using ClassificationSVM class in MatLab for classification and I need to know a weight w given at each feature during the train with my dataset with ten features. The site for this class is mathworks.com/help/stats/classificationsvm-class.html. Is this weight the parameter Beta shown in the...

 
@rayryeng did you get to see the Islanders-Rangers game Sunday afternoon? If you didn't, watch the summary. 3-0 after 6 minutes, 4-3 after 14 minutes
 
7:15 AM
lmao omg. really?
nice gain in 8 minutes
 
I was surprised as well. I wanted to see Lundqvist, who was apparently injured, but the game was interesting nonetheless
 
for sure!
 
 
2 hours later…
9:33 AM
@rayryeng time for a bounty, then, eh?;)
 
9:49 AM
@AndrasDeak haha :D
I suspect MathWorks didn't make this readily available for some reason
better go bed. I'll only be getting ~2 hours of sleep lol.
 
@rayryeng want a very broad image proc question to give a 6 page answer?
-1
Q: How to remove artifacts from image

user6029533I've performed edge detection using this matlab code resulting in the image attached. Would anybody be able to suggest a way to clean up the resulting photo to just leave behind the larger blobs and a white background, removing the lines and specs of dirt. Thanks enter image description here e...

 
I'll see you folks later in the day
 
@rayryeng sleep tight
 
10:11 AM
 
 
1 hour later…
11:29 AM
@ray , do you know how to profile the inside of a kernel?
 
@AndrasDeak did you notice you're not the only sprinkler in the SOCVR? Apparently Kayess is as well
 
and Shadow
(s?)he might not physically be on the motherland, but (s?)he's also my country(wo?)man
@ballBreaker just for you ^ :D
@adr​enaline did this ping you, Adriaan?
 
@AndrasDeak yes o.0
 
wooot!:D
 
that got your adrenaline pumping, didn't it @androgyny-lover?
 
11:43 AM
nope
 
@GameOfThrows at least the question is edited (a)
 
12:00 PM
yeah, I know, but I have the right solution with 0 upvotes (sad face)
 
12:22 PM
@Daniel Thanks for that! Hours looking at that, to end up being a silly thing
 
@AnderBiguri can't be silly with a beard that handsome
 
@AnderBiguri: Previously had a similar issue. We contacted the support to realize there are two binaries.
 
So i am not the only one, I see. The fact is that the other one is quite ovbious to see when you open the folder, and the x64 is just somewhere buriond betwen thousands of files
 
12:42 PM
I never saw another application using the same name for launcher and application. It is something you simply do not expect.
If they would have named it matlab_launcher.exe everyone would expect a second binary.
 
yeah... Pretty weird actually
 
 
1 hour later…
1:54 PM
106
A: Is the Stack Overflow coffee cup coded in Java?

Tim PostIt's not Java, it's our own language that we developed called Nij. And, I regret to inform you that we're recalling all mugs due to consumer safety concerns. As you note, the mug has this line of code: if(owner.isCoding() The more experienced of you will notice, no check is done to ensure ow...

 
@AnderBiguri Oh god that's so good
@AndrasDeak lmao
 
2:37 PM
@rayryeng Round 1 to AlphaGo:
 
@beaker this is a sad day for anyone other than a computer scientist indeed
I've watched Lee play when he was 14, it was insane
 
Never even heard of the game "Go" before
 
@ballBreaker It's an ancient Chinese game, my father use to teach me how to play
 
Ahh cool
Is it an ancient chinese secret
lmao
Jesus lmao:gizmodo.com/…
 
2:55 PM
how could they patent that...
 
I have no idea haha
It sounds hilarious though
 
@ballBreaker that's great, then you can't see when a googlecar is coming at you to kill you
peaceful death:P
 
Exactly
haha
I'll die with my dick in my hand
 
3:13 PM
so that's why it's called Die Hard
 
lmfao
Clever
 
3:27 PM
 
3:58 PM
@GameOfThrows Sad? Its good news. Computers have been better at a lot of things than us for a while
Its good computers can do these things. Its not like we are going to replace Go players by computers
people will still play go
 
@AnderBiguri question is rather dumb, but that answer is hilarious! Together with the while loop comment
 
Which one?
ohhh the coffe
yeah XD
Also the comment of getting a bug in the coffee XD
 
@AnderBiguri I take "bug" to mean "milk OR sugar" in this case?
 
naaah, that can only be applied to americanos
which I philosophically believe its water with some sligth coffee taste
:P
 
@AnderBiguri it's watered down espresso
 
4:10 PM
I don't know why anyone would ever want to do that
 
I tried getting the chap behind the counter where I drank coffee with @AndrasDeak to put all the water through the filter, but we had communication problems. Might be the counter-chap's English, might be my Hungarian
 
@Adriaan The guy was probably hungary and hadn't eaten his sniggers bar yet
 
4:46 PM
Staggering news in the world of Conway’s Game of Life – a new c/10 spaceship discovered http://www.conwaylife.com/forums/viewtopic.php?f=2&t=2057 https://t.co/e8i3OtopUq
 
@GameOfThrows I, for one, welcome our new AI overlords
 
conways game of life?
 
Yup
New spaceship found, it seems
 
@LuisMendo cool! :D
 
@LuisMendo why is this relevant? Im honestly asking...
 
4:49 PM
It looks great in the viewer on that page. If only I could turn off that dark-blue shadow...
 
I mean, the game of life will create weird chaotic patterns and all that
 
@AnderBiguri Spaceships are relevant because they are "self-sustained"
They appear to move
conserving their shape
There are not many of those, I think
 
I see I see
And does that have any further conclusions than "ouo Game of Life is so cool" ?
Wich is already a fair conclusion, just asking XD
 
@AnderBiguri Probably yes. But none that I know of :-)
Anyway, GoL is not just cool
 
4:52 PM
It's Turing complete
Also, there's life in life
Now THAT'S cool! :-)
 
I have also no idea what consecuencies has something bein Turing complete .... :(
 
(Andras already saw this video)
 
A video of Conway's Game of Life, emulated in Conway's Game of Life.
 
@AnderBiguri I don't know much about the details. But it means it can do "any" computation that any other computer can
 
wait, WHAT
 
4:54 PM
@AnderBiguri That's more or less what Andras said :-D
 
So it emulates itself
 
Yep!
 
Oh.... Minecraft is also Turing Complete
 
Turing-complete
Toldya!
:-)
 
MEaning you can play Miencraft on Minecraft
WOW
@LuisMendo this video is too much wtf
 
4:57 PM
Indeed!
I regularly re-watch it
And get just as amazed
 
That blew my mind really
 
5:56 PM
@AnderBiguri Why is it not ok to refer to other peoples answer? I think this is polite. I won't refer to you anymore. No worries. Next time I just type the same stuff again... — Piglet 4 mins ago
wtf
 
posted on March 09, 2016 by Yair Altman

The contour lines of 3D Matlab plot can be customized in many different ways. This is the 2nd article on this issue. Related posts:Customizing contour plots – Contour labels, lines and fill patches can easily be customized in Matlab HG2. ...Customizing figure toolbar background – Setting the figure toolbar's background color can easily be done using just a tiny bit of Java magic powder. This

 
 
1 hour later…
7:11 PM
@LuisMendo and he loved it!:)
maybe it's just me, but that new spaceship reminds me of your helmet:P
@AnderBiguri deleted now
and yes, it's stupid
 
I flaged it...
 
@Piglet if your answer is this much, it doesn't matter if you refer to Ander or Wikipedia: it's still a low-quality answer, with very little actual information. You should've considered leaving a comment instead, when you realized that your answer would be a duplicate. — Andras Deak 6 secs ago
 
7:37 PM
@AndrasDeak That requires imagination :-P
 
7:54 PM
@AnderBiguri flagged the answer as well\
any one who wants to answer my question.. — Kumud Alok 11 hours ago
:D
apparently my answer is not an answer
 
 
1 hour later…
9:11 PM
Does anyone has any idea for my problem? I first asked it on stackoverflow 2 days ago but they told me to transfer it to code review because it works and the problem is performance
5
Q: Decompose polarimetric SAR covariance matrices in MATLAB

sepidehI have the following code to implement the algorithm described in the article Adaptive Model-Based Decomposition of Polarimetric SAR Covariance Matrices by Arii, van Zyl, and Kim, in IEEE Transactions on Geoscience and Remote Sensing. I want to apply it to 3 images of the sizes 676×718, 1430×144...

 
@sepideh performance is actually a great topic for SO, in
 
9:32 PM
@Adriaan it's not
"how can I make my code faster/better" is what codereview is for
we just tolerate it on SO
especially when it's specific, like
welcome back @sepideh!
 
oh, Hi @AndrasDeak and others
 
have you considered my suggestion to accept answers to your questions?
I find it unlikely that you have ~60 dead end questions
 
you've helped me alot
oh, yes you are right
I had forgotten
 
I know that you've accepted a lot too, but in the cases where there are answers, you should either accept or keep bugging the answerers, if the answers are insufficient:)
there can obviously be cases when you can't accept, since there isn't a good asnwer
that's not a problem
 
I gradually will mark accepted answers
 
9:36 PM
@sepideh that's perfect:)
there's no rush
and only accept when it's merited
 
you know most of them are for times I wasn't familiar with SO alot
 
I just didn't want you to pile up a few more dozens of unaccepted ones, just wanted you to keep this in mind in the background:)
sure, it takes time to get familiar with the system
and you're asking good questions, so don't feel criticized at all:)
 
@AndrasDeak yes, I should see which answers really helped me and then mark them as accepted
 
you're a valuable member of our community:P
 
thanks for your compliment
just pardon me if I don't use appropriate words sometimes
I'm not a native speaker
 
9:39 PM
@sepideh of course, that's even clear from your profile:)
never worry about language, worst case is people misunderstand, and will ask for clarification
what matters is that the question is well thought out, and properly structured, with a clear problem specification
and an indication that the asker has tried to solve the problem themselves
and in case of debugging questions, a minimal, complete working example with a proper full error message/stack trace
that's just about it:)
 
I am trying to learn about parallelization and mex files in matlab
 
yout code is quite messy!
 
through the book
 
If I have some itme Ill have a look at that. Unfortunately im ery busy lately, cant promise anything
 
@sepideh oh, Yair's book, of course:)
 
9:43 PM
you bottleneck is roots
what do you want to do?
 
@AnderBiguri is my code really hard to be understood by another person
 
you may be able to find the roots better with an specific method if instead of calling just roots
 
@sepideh step by step it's simple, but it's a buttload of operations
 
@sepideh yeah :P too many equations/variables
no comments
 
anyway, is there a reason why you're storing both numbers and their real/imag parts in a class?
 
9:45 PM
@AndrasDeak no not a specific reason
I first passed them as arguments to FindFv function
as you see here
1
Q: Is there any way to vectorize this matlab code?

sepidehI have the following code: function [Ps,Pd,Pv] = Arii2010_Modified_1Pixel(C11,C12_imag,C12_real,C13_imag,C13_real,C22,C23_imag,C23_real,C33) MeanOrientationAngleStep = 1/100; StandardDeviationStep = 1/100; NumberOfAngles = floor(2*pi/MeanOrientationAngleStep); NumberOfStandandardDeviations = 1...

But then I thought it's better to have them as global variables and not copy them in each invoke of the function
 
I'm just saying that you can always say real(C11), imag(C11)...
(maybe once at the beginning of the method if you call this a lot)
 
no, no
In fact I'm worjing with a specific kind of images in remote sensing
and I have the real and imaginary parts seperated from the begining
but will that have a major effect on the performance
???
 
no idea
I don't even know how matlab works internally
usually, they say that constructing a stack frame takes time, so if you have thrice as many input variables, it might take longer
 
My question in fact is that
Will MEX functions really solve my problem?
As I have told I'm implementing the code
 
yeah, that I already passed;)
 
9:52 PM
for my thesis
and because of the lack of time
 
The problem might be this: if I understand correctly, your entire function works on a single pixel
is this right?
this means you're calling it a bunch of times
 
yes
 
your particular code might not be slow, but it's called a lot for an image
 
yes, true
 
so, you could really kick its ass performance-wise if you could parallelize over pixels...
for instance, using a for instead of arrayfun (which is essentially the same, arrayfun is a for loop internally), you could use parfor to use multiple cores at once
that could give you a few factors speed-up, with almost no work
but for more, you'd have to seriously consider working with your whole image, every pixel at once...
and that would be tough
and @Ander's right, you should consider using a custom root finder
for the quadratic case, you know the roots on paper directly
cubic needs some work, as the coefficients have to be transformed a bit so that you can use Cardano's formula
 

« first day (252 days earlier)      last day (2991 days later) »