« first day (1174 days earlier)      last day (2048 days later) » 

6:57 AM
I find the above piece of documentation puzzling. How can size ever return negative or non-integer values for "regular" matrices? The only case I can think of that would result in a nonstandard size is when using custom classes that have an override of size that can return strange things like that...
 
@Dev-iL afaik n>0,m>0 always; since even a scalar is 1x1
 
Well then why add that clarification? (marked in purple)
 
Yea, I can see that, no idea why they added that
ismatrix basically boils down to numel(size(v))==2 right?
 
... according to the above docs it also checks m and n
 
@Dev-iL yes, but as I said: they're always integers of 1 or larger
so as I read this, it only returns false when the size of v has 3 or more dimensions (or you hacked your way through size as you mentioned)
 
7:21 AM
@Khlick So... any interesting developments with D3?
 
7:34 AM
Was there a mention here that R2018b was released? I haven't been expecting it for another month...
 
8:50 AM
Nice convenience function: xline (and similarly, yline)
4
 
 
1 hour later…
10:15 AM
@Dev-iL custom classes with size of their own? Also empty matrices can have size 0
 
 
1 hour later…
11:23 AM
@AndrasDeak Are you asking what I meant by that?
 
No, I'm saying that the documentation might be phrased that way to inform you that if you define a class you should write it such that size returns two non-negative integers iff you want it to be treated as a matrix by ismatrix
 
Yeah, that's what I understood... But do you think that this is the only edge case where such outputs of size are possible?
(i.e. negative and/or non-integer)
 
or zero, as an empty array, as I said
and yeah, I don't think native matlab arrays should break that API
 
11:46 AM
there's no problem with zero-sized arrays (it falls under "nonnegative" :) )
 
oops, right
 
Looking at the docs of some new functions... They have nice examples...
 
 
3 hours later…
3:21 PM
@Adriaan ismatrix makes sure the array doesn't have more than two dimensions. If size returns 3 or more values, ismatrix is false. The "nonnegative" issue is a bit more difficult to understand, but I guess, as Andras mentioned, custom classes could return negative sizes.
Funny: size(ones(-1,0)) returns [0,0] (in Octave).
I thought it would error.
 
This one's nicer: size(ones(-pi,-pi)) which also returns [0,0] (R2018b)
 
3:56 PM
@LuisMendo why disp(sprintf(...)) when you can fprintf(1,...)
 
@Dev-iL These seem to come with a new line class: ConstantLine. Are grids also using this class? I have to update to 9.5...
@Dev-iL I got a number of things working well. I started with importing plotly.js but my data is too numerous for this, so then I wrote something similar using html5. It works great in matlab, I just have to optimize and reduce the code from my observablehq notebook. I'm also learning about javascript promises.
Anything interesting on the uifigure side of 2018b?
 
4:13 PM
@Dev-iL More intuitive, and you get the actual string, which you can display or save in a variable. But yes, the OP probably just wants to display it
^ I have updated the answer to include your proposal
 
5:16 PM
posted on September 17, 2018 by Cleve Moler

Find the optimum traveling salesman tour through the capitals of the 48 contiguous states in the USA.... read more >>

 
6:00 PM
@ballBreaker not available :(((
 
6:17 PM
hey you!
do you have spotify?
@flawr there it is if you can open that :)
 
6:34 PM
@Khlick They've added a date-picker control and you can now assign callbacks to some mouse and keyboard events. That's just what I remember... You should bookmark this link which points to the latest release (or pre-release) notes.
@AndrasDeak My parents will be in Budapest tomorrow. They'd like to go to one of the synagogues for the Kippur service. Any recommendations?
 
@Dev-iL Ooh, scrolling containers.
 
@gnovice yeah, that too :)
 
I like the new figure interactions too. I use those a lot.
 
@gnovice Do you mostly create figures for yourself (and like the "wow effect") or for others (e.g. for therapeutic purposes etc.)?
 
@Dev-iL Both, but moreso for myself lately.
 
6:56 PM
@Dev-iL no personal ones. But I have a ~relative who's with Chabad, I can ask him if that is relevant :)
 
@Dev-iL Oh by the way
I downloaded and made an account on J Swipe last night
 
@ballBreaker I have no idea what that is.. It sounds like Tinder for Jewish people...?
 
at least I thnk he is...definitely orthodox
 
@ballBreaker If I'm right in my guess, I'd say you're a wolf in sheep's clothing :D
@AndrasDeak Would you say there's one that's more common among the general public...?
 
I have absolutely no idea :)
 
7:01 PM
Tsk tsk tsk.... :)
 
Yes yes... So is my being judgemental :)
 
hehe
@Dev-iL my mom says that the Great Synagogue is active, and its website agrees
largest synagogue in Europe, so probably not a bad guess :)
 
@ballBreaker now I do
 
Yeah I was there for Shavuot (Pentecost) once
 
7:11 PM
bahaha
@Dev-iL Yeah basically, and yes quite the wolf in sheep's clothing
My favourite ex-girlfriends were both Jewish, trying to see if there's a correlation or just a coincidence
 
One of them was a Connie, right?
 
@ballBreaker says the aryan boy
 
@ballBreaker ehrmagehrd, this is awesomeness
 
@Dev-iL Yeah
The other was Leah
@flawr :D They're a really awesome band! Just found them last Friday or whenever I posted that link in here
@Dev-iL Problem is I don't really know how to answer the question "why are you on a Jewish dating app" without it coming across as weird lol
My jewish buddy just said to say I was an honourary jew lmao I don't think that's too good of a reason though
Will see what happens I guess!
 
@ballBreaker do you know OMG?
 
7:23 PM
nO!
will listen though :)
 
@ballBreaker Why are you there? Do you feel that it's an untapped (no pun intended) resource?
 
Like I said, I really liked the past two girlfriends I had that were Jewish, they were really good girls and had good family values. Also this is going to sound weird, but I really liked the smell of both of them lol apparently you find the smell better of people who have very different immune systems than your own. So I'm not sure if it's just a genetic thing specific to jewish girls or what, but I figured I'd give it a shot and see if it's just pure coincidence
and in terms of looks, a lot of jewish girls are more my type than the average person
I might swipe right (yes) on about 30% of the people on J swipe, compared to 1-3% on tinder
Just based off of physical looks
 
Might I suggest you visit Israel?
 
I'd love to eventually
 
Now's a good season, it's not as hot... I was at the beach a couple hours ago (8PMish), it was only 29C
 
7:35 PM
Ooo that sounds nice
unfortunately my vacation days don't start until this upcoming March!
 
@ballBreaker I recently noticed how smells can evoke emotions or memories. In th e mean time I noticed recalling various events and persons by some seemingly random smell
I wonder whether that has been investigated
it probably has
 
Yeah definitely, I've had that before
I find the same with music or sounds as well
I'm extremely sensitive to smells
So if someone's smell is off, it's basically a deal breaker
That polish girl I dated a year ago was not a good match for me in that sense lol
 
8:37 PM
Sorry, this conversation reminds me of Frank Zappa. (These lyrics are probably offensive to some, don't play this out loud at work. And sorry if Frank is offensive to you -- he does it on purpose).
 
8:57 PM
@flawr it's probably related to mood congruence
the brain does much weirder shit
 
9:49 PM
@AnderBiguri for your collection.... This is supposed to be a map of the USA after converting the LAT/LON coordinates to UTM
 
hehe, nice
 

« first day (1174 days earlier)      last day (2048 days later) »