« first day (44 days earlier)      last day (3187 days later) » 

12:17 AM
ohhhhh nice one!
 
 
8 hours later…
7:53 AM
This will be my last one. I wanted to have one that might, just might make it a few hours. I believe it's a bit harder than most of the other MATLAB answers.
 
I suppose the spaces are intentional, because they don't make sense from a code-golfing perspective.... :)
 
 
1 hour later…
9:24 AM
@StewieGriffin Evil! Using i as function handle and i as complex number
CodeGolfing in Matlab: The place where everyone does all the things you are not supposed to do
 
@AnderBiguri - It's kinda like the topic from several days ago :P
 
yeah XD
 
 
4 hours later…
1:02 PM
ahhh I hate so much clear all in matlab codes. It makes debugging imposible
 
 
2 hours later…
3:12 PM
@AnderBiguri hahaha I know.
 
4:12 PM
@AnderBiguri What if I don't want my workspace cleared. What if I have 3 hours of intermediate data and your script just wiped it out? Evil coders.
(okay, I should have saved my data. but still.)
 
haha yeah. But I was more thinking baout using cleal all vs using clear
clear will do all that bad things of clearing your workspace
so carefull :P
but clear all deletes paths, debugging breakpoits etc
and that, that irritates me a lot
 
yup
and yet you see instructors telling people to do that at the beginning of every script
 
sometimes naively I copy paste code from SO. and BAM, need to rerun starutp.m, add the libraries and so on
Indeed!
 
A lot of people who teach MATLAB naively tell you to clear all and close all at the beginning of the script.
at the beginning, this makes sense since you want a "fresh start"
But if you have a script that runs multiple times on the same data, you don't want to clear everything.
especially if the data you're using took hours to compute.
 
indeed. Still, I wouldnt clear all. to clear the workspace clear is enough.
 
4:21 PM
yes of course.
 
Damn. I have wrong results in my CUDA code. For the last week ive been trying to see why its only "half working". Every day, I find 2 or 3 things that I am doing "wrong". I fix them. And my output does not change! I have already fixed about 15 things that were supposed to be wrong bu have none effect int the current weird output!
aaaaahg
damn CUDA
 
oh god lol.
Are you debugging your CUDA kernel?
 
not inside
but basically at the moment my cuda kernel does a single texture fects
x=y=z=1;
 
fetches?
 
tex3d(tex,x,y,z)
 
4:30 PM
what happens?
 
AND I DONT GET THE RESULT
random values get outputed
 
ooo... those are the worst.
 
so, somewhere , a memory copy is not rigth
 
That could be many reasons why... either the memory wasn't initialized properly..
 
but talommies just told me that my texture seems OK, so no idea
 
4:31 PM
oh you got a direct answer from him? wow lol
 
a comment saying: NOOB, that code you posted loks good. (more politely)
 
yeah I saw that lol
just looked for your question.
@AnderBiguri - That question with the TV... the OP wants me to compare his result with mine and see which one is better.
 
XD
he can do that
 
I'm inclined to say... no YOU do it. You're the one who wants to verify it
I'm gonna leave him a comment and say you do it. I don't have time.
@AnderBiguri - I was a bit miffed when he asked us to do his work for him. I realize that you come to SO for help... but we provide you alternatives... and you make the choice yourself. Getting us to do the work for you seems more spoonfeeding than it's worth
Here's my comment:
@user3051460 - I think it's best if you make the comparison yourself between what I and what Ander wrote and you figure out for yourself what method is better. You're the best one to determine that, and getting us to do the comparison for you won't allow you to learn anything. A simple test could be to threshold the gradient images so that they're edge pixels, then do a SSD between both of the images. PSNR is also a good approach and you can look here on how to compute it: stackoverflow.com/questions/16264141/…rayryeng 2 mins ago
 
Yeah. Good answer. Too often I see nice questions and they end up being: pls codez
gotta go
bye
 
5:22 PM
@AnderBiguri haha yup. Later!
 
 
6 hours later…
10:53 PM
This guy is crying for a brute-force approach! :-)
0
A: Two Makes All The Difference - Cops

Vladimir LeninMATLAB/OCTAVE, 157 bytes. format long sin(cos(tan(csc(sec(cot(asin(acos(atan(acsc(asec(acot(sinh(cosh(tanh(csch(sech(coth(asinh(acosh(atanh(acsch(asech(acoth(i)))))))))))))))))))))))) Output:8.77828266022653e+276+3.46629794728664e+276i Modified Output:1.32478170985912-7.32035312239031i

 
11:18 PM
security through obscurity
 

« first day (44 days earlier)      last day (3187 days later) »