« first day (153 days earlier)      last day (3078 days later) » 

8:09 PM
Looking for a sanity check on some math if anyone has a spare few minutes: github.com/sco1/coordinate2normalized/issues/…
 
@excaza what exactly is the problem?
 
Trying to go back from the figure space to the data space with log scales
myaxes = axes();
x = logspace(-1,2);
y = exp(x);
loglog(x,y)

[normx, normy] = coord2norm(myaxes, [x(40) x(41)], [y(40) y(41)]);
[xcoord, ycoord] = norm2coord(myaxes, normx, normy);
I think I'm vastly overcomplicating it in my head, I even tried to work it out on paper
 
@excaza give me the direct transformation and I can tell you the reverse
linear -> loglog should be reversed?
 
@rayryeng Do you ever make jokes, where you're so proud of yourself, and at how hilarious it is.. that you just can't stop laughing for like an hour after it was said?
 
@Ballbreaker All the time
 
8:23 PM
@Ballbreaker that's how you know you're epic:P
 
Hahahaha I love it
I want to share this one with you guys, as a man you'll probably find it both disgusting and hilarious
 
That's how you separate the wheat from the chaff.
What's NOT disgusting and hilarious when it comes to you? LOL
 
@AndrasDeak relevant gist
 
@rayryeng we have the idiom "separate the shit from the water"
 
LOL not much
 
8:24 PM
@excaza thanks, I'll take a look
 
@AndrasDeak I like that better.
 
@excaza is this the correct direct transformation? Or the buggy reverse?
 
Correct direct
 
cool, thanks
 
Dom: "I should fix that hole in your pink pants"
me: "Ah, sick of staring at my crotch?"
her: "Never!"
me: "Ah yeah, I should probably re-dye them red so people stop thinking they're pink (my pants)"
her: "Oh you don't want to dye your dick red?"
me: ".....just once a month"
takes a bow
 
8:26 PM
My reaction: "Dom! Dunn dunn dunn"
:D
but yeah, yucklol
 
lmao
 
asshole lmao
 
@excaza in a linlin plot, would xnorm and ynorm correspond to the actual data coordinates where the arrow should be?
 
xnorm and ynorm are normalized to the figure window containing the axes object
 
8:28 PM
Blame annotation
 
oh you need norm2coord
 
@rayryeng No that would be brown.. cmon man
 
@rayryeng You told me about the convn command - is there an easy way to create multi dimensional smoothing kernels?
 
racist.
@flawr could you give me an example?
 
@excaza I think you just have to take what norm2coord gives you, and for each log axis perform 10^x or 10^y to get the actual data
 
8:29 PM
Gaussian blur?
 
in 3D you mean?
 
Oh, separable kernels, that is it=)
Thanks=)
 
yes :D
 
@AndrasDeak Hahhaa yeaaahh... I saw her on Saturday.. dun dun dunnnn
She posted and tagged me in a photo today too lol.. double dun dun dunn
 
You can use convn and simply specify separable kernels for each dimensino.
 
8:30 PM
Are there any kernels built in?
 
@flawr for sure. Check fspecial
 
@AndrasDeak nope, tried that already
 
Very descriptive function name....
 
yeah I don't agree with it lol
to be honest, I do'nt know how they came up with the name.
 
@rayryeng you mean for special filters? o_0
 
8:36 PM
Everytime I see fspecial, it translates to f*** special
 
I feel like there are laws in place against things like that @ray
 
like I'm about to run a porn function.
 
f* is an adjective... f***ing special
 
f*** special could be the name of a porn video or something. c'mon :D
f***ing special sounds like I'm playing Street Fighter.
might as well... image processing questions are always a battle
 
LOL
 
8:37 PM
HADOUKEN
 
That looks like a ribbed condom coming out of his hands
 
how fspecial ;)
 
Maybe fuck special was more appropriate
 
@Ballbreaker I knew you were gonna say that lmao
that's why I chose that picture specifically.
the classic hadouken doesn't look good enough
@Navan welcome! I haven't seen you here before.
@Ballbreaker this is the original from SF2
Not very f*** special-esque.
 
hi ALL the res
 
8:39 PM
Yeah true that hahahaha
I knew it looked different
 
lmao
 
In the original picture I think he was facing Blanka in this position
 
lmao
LOOK HE LOOKS HAPPY TO RECEIVE RYU'S GIFT
 
lmao
I was watching a stand up where some guy was making fun of a lady by calling her Blanka
and he was saying how he only said it because he thought she wouldn't know who Blanka was
But she did... oh did she ever
 
oh fuck me lmao
 
8:42 PM
Said "She charged up at him like Blanka would"
 
hahahaha
 
Hi rayryeng I have come here briefly in the past. Nice messages :)
 
@Navan We don't always talk about Street Fighter.
Sometimes we talk about Portal.
and cake.
 
I like cake
 
there's a picture of a nice one earlier today
Speaking of video games...
I want to start a new video game racing league
except all of the drivers are AIs written by the teams
 
8:47 PM
Not to be anonymous, I just want to mention that I work for MathWorks. I Come here in my free time.
 
@Navan Cool! I knew there were a couple of Mathworks employees posting here...
Yes, we do talk about MATLAB sometimes ;)
 
@Navan ah thanks :)
 
I see. Yes I have seen may be a few others.
 
@Navan I didn't know you were a MathWorks employee. Well I hope that my answers have given the language justice :)
0
Q: Epidemics of a disaese

Wouter Johns i want to model an epidemic disease in matlab. That is going well, besides that i want in the visualisation the spread of the disease displayed in different time steps. My goal is to reach the following: for a number of time steps (if the disease respectively has infected 6,12,18,24 and 30% of th...

Wow... just wow.
 
@rayryeng totally
don't even know where to start
 
8:49 PM
@rayryeng you are awesome with your answers
 
Do I comment? Do I flag as too broad?
 
i'd say too broad
 
@Navan thank you :D
It's actually very nice to hear that from a MathWorks employee
interesting story
I applied to be an Applications Engineer in the Natick office a couple years ago
I was actually about to accept the offer, but I got a better one where I currently reside.
the bonus was I didn't have to move... so I eventually declined the offer from MathWorks.
 
@rayryeng too bad to miss you
 
@excaza I fixed it for you
how can I send you the new version of norm2coord.m?
I know exactly 0 github
 
8:52 PM
@Navan I read that as "massages". I expect that ray does give good massages
 
@Navan yeah I know. It would have been interesting to see how things would have turned out
@Ballbreaker yes yes I do.
@AndrasDeak make a Github gist, or you can put it on pastebin.com, codeshare.io, pastie.org, etc.
then send excaza the link
 
@rayryeng You would have had your own blog and we'd have your RSS feed in the chat room!
 
@rayryeng can I github gist without an account?
 
@AndrasDeak yes you should be able to.
 
oh cool, thanks
that'll do
 
8:53 PM
@beaker hahahahahaha imagine that.
 
@Navan What part of the world are you in?
 
you didn't account for the axis log scale in your reverse transformation
I put the new stuff between %new/%endnew comments
it's suboptimal but you can see what I changed
some of it can be put in the same ifs etc.
Note that I also transformed the output
so now it should give actual data xcoords/ycoords as output, correct for log scale as well
tested for loglog
 
@AnderBiguri Here:
(Sorry for the artefacts, but the gif ... is just a gif.=)
 
9:08 PM
WOAH WOAH WOAH!
Was that from the Radon transform code you wrote?
@flawr that is AWESOME
 
9:20 PM
Exactly=) The next step would be building this in minecraft=P
You know, I always asked myself as a kid how I could reconstruct an object based on images from different sides (seeing as humans can do this quite well with only 2 images/eye), and now I finally have the basic knowledge.
 
:D:D:D
I know the feeling... how a simple question leads to something concrete and complete.
2
 
9:56 PM
@AndrasDeak oh my god, I'm such an idiot hahaha
 
All that time I thought it was the transformation math that was wrong
not that I was trying to reverse with the wrong numbers
 
Yeah, I suspected that threw you off. If you expect the math to be wrong, then it's hard to find a semantic problem.
should I delete the gist?
 
sure, I don't need it now
 
10:19 PM
I broke licensing software today on my computer for the Software Suite we use.... I'm so rattled
I had to test a different project by setting my computer clock ahead ten days... apparently the license server didn't like that
Support is saying the only solution is to reformat my hard drive O.O
YEAH RIGHT
I'm going to have to try resetting to a system restore point once I'm home on the laptop... thankfully there was one from the weekend..
If this doesn't fix it, I'm legitimately going to snap
I think I'll have to use a VM for the software from here on out instead if it doesn't work...
BWAAAAAAAAAAAAAAAAAAAAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
 
Another RTFM question
 
10:34 PM
@Ballbreaker that's hilarious
I mean, that upsetting the local time permanently breaks the licensing software
wtf
probably protection against gaming the system
but still, wtf:D
 
 
1 hour later…
11:54 PM
@AndrasDeak It's nuances like this that annoy me when I move away from Matlab (e.g., NumPy or Mathematica). I understand matrices, and I understand arrays. But melding the two is a pain for me since Matlab's default data type is so nice and linear algebra-y.
> If by "row vector" you mean a matrix (2d array) with 1 row
 
Yup, I got your reference
and well, MATLAB's built for MATrices;)
no wonder everything has at least 2 dimensions
but it can be confusing
especially that in python (3) is not a good shape, because (3,) is the 1-element tuple:D
I don't really mind that python is more general, but I agree it can be confusing, especially the terminology
 
That brings back memories of a tutorial I watched awhile back.
At least Python has normal arrays. As much as I love the program, working with Mathematica lists for linear algebra can be stroke-inducing.
 

« first day (153 days earlier)      last day (3078 days later) »