« first day (300 days earlier)      last day (2933 days later) » 
05:00 - 16:0016:00 - 23:00

4:00 PM
i.e. Would & always have to be N# or could it be TFTFT# as well
 
@AnderBiguri fuck u
 
@Suever I think the TFT# syntax is seldom used, specially since I introduced the feature that higher numbers in # do that (for example, 4# is the same as FT# for a 2-output function). BTW, TFT notation can also be used with $. It's just not common
@Suever I have a feeling that 2#) may be used more often than 3$)...
 
@Dev-iL how does this differ from schemer?
 
@excaza I need 12 times less code to do the same thing
50 lines vs 600
Mainly...
Even though after the last commit it shrinked to about ~*10 :)
Practically, I also apply font preferences while schemer does not
 
4:17 PM
These new colors feel like they're straight outta Sesame Street. — j08691 21 mins ago
 
lmao
THEY DO
 
Could you guys please suggest a word in English that means something like "visually incompatible with surrounding / distinct in a way that is unpleasant / evidently does not belong to where it is"
 
shitty
 
lmao
 
:)
I don't have a serious answer, sorry
 
4:20 PM
Got anything more literary? :P
 
3
Q: What's a word that means does not belong, and doesn't matter at the same time?

SteverebraThe word can be used to mean that something doesn't belong (i.e in this category) or something that has nothing to do with something, but also doesn't matter. I know there is a word for this in my head but I can't think of it. The definition of the word belong is to be rightly placed in a spec...

maybe?
 
@TroyHaskin < You seem to be good with words.. Any idea about ^
 
@Dev-iL Inappropriate?
alien, strange, extrinsic
 
@Suever That doesn't have the meaning I'm looking for
 
Fugly
 
4:22 PM
^^
 
A portmanteau between f*** and ugly.
 
in a sentence: The resulting background color is such that the foreground image <word>seems out of place entirely and is visually annoying<word/>
 
unsuitable?
 
accentuated?
 
improper?
unseemly?
 
4:24 PM
oh wait it has to be negative-ish
 
unbecoming?
 
garish
 
@rayryeng needs to be less polite :D
 
inappropriate?
@Dev-iL.... fugly.
 
@Suever ooh
 
4:25 PM
@excaza this is the same guy that did the new green for answered questions, right?
 
vulgar / unrefined
 
"To describe an item of horrible clothing, usually stripey and in the form of a cardigan. Can also describe the feeling of a major hangover.
mam, what the fuck is this cardigan you have bought me, its garish as fuck, you bitch."
 
Garish!
 
@rayryeng that... or "discordant" @Dev-iL
 
4:26 PM
chaotic?
 
@beaker I have no idea, maybe
 
gaudy
 
if it is he needs his eyes checked
 
if i could spell ;)
 
loud
 
4:27 PM
Got it: in·har·mo·ni·ous
 
How is that offensive? lol
 
tacky
 
Inharmonious is more PC than any of the other words I've suggested lol
 
phat
 
"offensive to my delicate sensibilities"
 
4:27 PM
@rayryeng I understand, but PC is of little concern to me... While getting the exact idea across is
 
Inharmonious seems to fit
I'd just go with fugly :D
 
I'm opening an issue, better stick to more formal language :)
 
That should go in the "things you sneak into a peer reviewed publication" BINGO
 
:)
Thanks for the ideas @all !
 
@Suever YES
THIS GRAPH USING jet IS FUGLY
 
4:30 PM
Synonyms
clashing, conflicting, disagreeing, discordant, discrepant, incompatible, incongruous, inconsonant, inconsistent, mutually exclusive, repugnant
so many nice words :)
 
@Suever oh my God lmao
Make a new colour scheme that merges copper and nanotubes together
 
@Suever That's just Springer trying to drive up web search traffic ;)
 
They probably purchased the springer .XXX TLD while they were at it
 
@Suever and copyrighted "distractingly sexy"
 
4:38 PM
@Suever Hey, I'm not sure if you've done this before, but is it possible to introduce LaTeX expressions in class documentations in MATLAB?
Like when I make the docstring for some methods, there are a couple of math symbols / expressions I want to add in.
Is this possible at all?
Or even @Dev-iL too
 
Hmm isn't that for publishing documents though?
What about making documentation for a class? Is that the same thing?
 
@rayryeng Hmmm I'm not sure about LaTeX equations actually. I know you can do HTML
 
@rayryeng Do you have an example of that anywhere in the matlab documentation?
 
No I don't.... which is the point. I'd like to make it.
There are some symbols in this Neural Network class that I'd like to write out... alpha, eta, etc... just some symbols
If not that's fine... I can just write out the actual greek letter itself instead of the symbol :P
 
4:43 PM
@rayryeng Can you just use the unicode char in your help text?
 
@Suever That answers my question.
OH UNICODE. That could work
I'm not quite familiar with how it works though... would the same unicode be rendered on all OSes?
 
try selecting the "latex" in this section: mathworks.com/help/matlab/ref/fft.html#buuutyt-5
 
I think that should work in MATLAB command window
 
@rayryeng Does matlab support utf-8 for source files now...?
 
@rayryeng I think it should be ok. Not sure if that chokes help
 
4:45 PM
@Dev-iL yeah that's exactly what I'm looking for.
How was that documentation page created?
It obviously wasn't made from the top docstring in fft
 
@rayryeng <span class="MathRow HBox">
 
oh is that it?... let me see...
 
Unicode in help text renders fine for me
 
@Suever ok, thanks. I'll try that too
 
@rayryeng You do NOT want to add it manually
 
4:48 PM
doesn't work anyway :D lol.
 
@rayryeng Well it looks like it works..sometimes
 
that's fine, Unicode it is.
or worst case I'll just dump it all together
It would have been nice for LaTeX to render in the doc page when you type in doc class
 
ecto.cool all is well with the world
 
It looks like the command window likes to force 1byte char
 
hmm...
 
4:50 PM
Works fine in headless MATLAB so maybe a java setting
 
ok I'll just dump it all together lol.
Thank you both for your efforts.
 
Oh actually I bet it's help reading the file as *char
You could always just use HTML escaped chars
&#945;
 
oh that could work
 
@Dev-iL My first thought was "extraneous", which someone else got to.
 
not sure how you convince it to be rendered as HTML though
 
4:54 PM
I just tried it when I used doc. It seems to work in the built-in doc viewer in MATLAB
 
Ah OK. I'm just trying help and it's mixed results
What a pain!
 
ahah I know
I'm just trying to document this neural net class I wrote.
I noticed that when you do help class it only displays the text at the top, right below the classdef statement before any properties are declared
Then doc shows you everything.
The new formatting is driving me mad. Look at the code block seen in this text
0
Q: Is it a possibility to connect ccs v3.3 with matlab 2012a?

joeI already installed a lot of version of Matlab and ccs. Now I have Matlab 2012a and ccs v3.3 and when I want to configure this version in Matlab I have next message: Checking CCS (Code Composer Studio) version Required version: 3.3.82.13 Required for : Automation and Code Generation Your V...

I'm reminded of the Smurfs.
 
@rayryeng Yea you have to do help class/method I believe to get the other help
 
yup that's fine.
Thanks :)... documentation has always been a pain
 
Yea there is sadly no great/easy way to do it in MATLAB
 
5:02 PM
@excaza yeah, that's what I mentioned, the top answer:)
also, I'm not sure if it still applies as one of the early SO-staff comments were "well it's beta for a reason, duh"
 
5:14 PM
Wow, when did MATLAB have CNNs?
@Suever How well versed are you with creating class docs? On my docs, I have a flag option with the string 'linear'
However, when I do help class, linear is highlighted and points to another MATLAB function.
is there a way to disable this highlighting or more specifically... prevent it from pointing to any other methods in the MATLAB path other than what I have defined for the class?
 
Hmmm that's strange
Usually it'll only hyperlink based on formatting
 
yeah it's hyperlinking by itself.
for example
 
can you show me the help text?
 
 NeuralNet2 Properties:
    LearningRate       - The learning rate for Stochastic Gradient Descent
                         Must be strictly positive (i.e. > 0)
                         Default value is 0.003
    ActivationFunction - The activation function to be applied to each
                         neuron in the hidden and output layer
                         The ones you can choose from are:
                         'linear' - Linear
                         'relu' - Rectified Linear (i.e. ramp)
'linear' is currently being hyperlinked
It links to a function in the System Identification Toolbox
 
@MarounMaroun "let's try to reproduce" jeez, buy a guy a drink first. — mikeTheLiar yesterday
awesome
 
5:24 PM
@rayryeng And how are you displaying the help?
 
just in the command prompt
help NeuralNet2
@ballBreaker lmao.
It makes me want to downvote the guy's answers.
Obvious rep whore.
:)
 
Weird. I dno't have that toolbox but if I sub in a built-in I don't see that highlighting
what version?
 
15a
I have the toolbox lol... that's why it's highlighting I guess
also tanh is highlighted.
which kinda makes sense.
that's really weird.
:S... ok I'll leave it... but I don't understand how only some words / functions get hyperlinked and others don't.
 
Yea I'm not sure what they use for that. It used to only really do it when you had the "See Also: " section
I can't get mine to do it even with tanh
 
Interesting...
Ok, I'll ignore for now... but that's really messed up
 
5:29 PM
What if you preface it with some other character:
* 'linear'
 
oh that's a good idea.
nope lol
no worries. It's a nuance that doesn't bug me enough to want to spend time figuring it out
 
Do the single quotes trigger it?
 
no not at all
it's hyperlinked even inside the single quotes
 
Oh I meant without single quotes
does it still link
 
Yup :( wtf lol
 
5:32 PM
that seems like a pretty bad bug though. I'm pretty sure 25% of my documentation includes the word 'linear'
 
OK, I'll chalk it up to a bug
 
And 99.99% of those times I don't want that damn toolbox function!
 
I'm on 15a on OS X.
hehehehe :)
 
yea that's what I tried it on too
can you put the whole file in a gist so I can play with it?
Maybe it's how I created the file
 
oh for sure.
Let me fix up the documentation a bit first before I do :) I'd like to make it more complete.
or you can check out the commit on the github repo when I commit it
 
5:37 PM
Anyone here into rap / hip-hop ?
 
@rayryeng Ah ok it's trigged by functionName - something (i.e. the hyphen)
So if you change your separator to a colon or something that should prevent the auto linking
MATLAB is basically ignoring the indentation level and sees it as another property and goes looking for it but for some reason doesn't constrain it to the namespace of the current class
You could also omit a space either before or after the - which seems to break whatever regex they are using
'linear': Linear
'linear'- Linear
 
ahhhhh
oh well that makes perfect sense now
ok Colon it is. Thanks for the detective work!
 
"perfect sense"
 
lol well in terms of using -
I'll stick with the colon.
 
Yea it's at least consistent
 
5:44 PM
For sure. Thanks for the help!
I should have posted that as a SO question. Give you some rep.
 
Haha it's alright. I like a good challenge from time to time
 
It should constrain it to the namespace of the current class. It shouldn't look for other functions / methods in other classes unless I specifically tell it to.
That's really a feature that shouldn't be there lol.
 
Yup completely agree.
 
@Suever alright sir. I gotta get going. Thanks for your help! I'll make sure to give you credit as I make the README.
 
6:00 PM
@rayryeng Later
Not a problem
 
6:50 PM
@rayryeng this a dupe?
0
Q: PCA for image using pca matlab function

MohammedI want to get the first PCA for an image using matlab function pca how can I do that ? I have tried the following Matlab code : [COEFF, SCORE] = pca(image); SCORE(1:size(SCORE,1),:)=0; reconstructed_image = SCORE / COEFF + repmat(mean(image,1),size(image,1), 1); I=reshape(reconstructed_image,[...

 
posted on April 26, 2016 by Steve Eddins

Twice in the last month, I have read comments about certain problems being intrinsically hard to solve.... read more >>

 
nvm that ray, it's a slightly different function, still garbage as to the usage of PCA. I answered him and told him to read my other answer before attempting more PCA.
 
@Feeds I'm not inspired, Steve.
 
@beaker not much text to go by indeed
 
and here I was expecting a treatise on P vs. NP
or at least the obligatory xkcd reference
 
7:03 PM
@beaker it's not Cleve Moler for a reason...
 
@AndrasDeak Doesn't Steve usually do the Image Processing stuff?
yes, it's right there in the title
o_O
 
@beaker that's why it's called "Steve on Image Processing"
 
it's gonna be another long day
 
:D
I just meant that fun stuff like P ?= NP is Cleve's stuff
Steve draws pretty pictures:P
 
:D
 
7:07 PM
I'm annoyed now.
@tvo Of course they're not the same, but the direct method is the end result of a fully-committed optimization for solving a tridiagonal system since it is O(n) and lacks any convergence criteria. This is why I asked the OP to clarify their purpose and provided more context to the problem they're having since masking a few unknowns to save a few FLOPs specifically for a tridiagonal matrix in a general, iterative solver is, in my opinion, useless. — TroyHaskin 25 secs ago
 
"if it was the exact same, I'd have voted for dupe"
the new syntax highlighting is horrible
green for strings???? wtf
even worse: accepted-green
wtf^2
 
Wow. Taking WTF to a power? That's some intense operator overloading.
 
@AndrasDeak I can see I'm finally going to have to post the comment I was going to make on the 50 Shades of Green question...
 
@beaker which is?:D
 
"I await with breathless anticipation the implementation of the new fuchsia tag background."
 
7:11 PM
lol:D
go for it
and I believe you're part of the 1% who can spell fuchsia
 
it seems like the guy is just throwing random colors at things with no reference to anything else that's on the page
 
Randall Munroe had a color naming test, and he said nobody could spell it
 
@AndrasDeak I had to look it up
 
I could've spelled it, but I don't recognise it as a colour
 
I'm not ashamed I can't spell fuchsia
 
7:13 PM
yeah, you shouldn't be
 
#Triggered #Offended
 
LOL
 
yeah, sorry, Wal-Mart was uncalled for
 
Not amused.
 
7:18 PM
:(
Serious Bald Eagle is serious
 
You guys should all be using @Amro's userscript for prettifying MATLAB on SO anyhow! github.com/amroamroamro/prettify-matlab/blob/master/js/…
 
For the record, I was only trying to offend Texans
 
hehe ;)
 
@AndrasDeak For the record, I'm just having fun. :)
 
@AndrasDeak I woulda said "fuscia" I think
but it looks weird
Maybe fucsia, but that looks weirder
 
7:27 PM
@TroyHaskin I was hoping so, but you can never know when someone's having a bad day
 
@AndrasDeak I'm not having a bad day. Just annoyed that that user I mentioned in the quoted comment is pointing out obvious things for an OP that won't respond to my inquiries in a question that maybe should be closed.
 
Sure thing:) But you could've been having a bad day for unrelated reasons, and be offended by my undirected trashing of your nation in general:P
oh, and it's a very unclear question, if you ask me
and write-my-code-for-me at best
voted as unclear
their general solver works for tridiagonal ones too:P
 
Possibly. But I spend enough time everyday contemplating the stupidity and arrogance of the U.S. as a country and the mostly mindless, objective-less (in an optimization sense) sheep of the populous that I'm not offended by others making passing jokes about caricatures.
 
That would be my guess anyway:) It's just good to make sure sometimes.
I'm generally not worried about offending people here, since the regulars know that I mean no permanent harm
 
@AndrasDeak Indeed, hence my inquiry. But the other user in the comment chain seems to think there's something to be gained by not just writing a direct solver.
 
7:35 PM
and those who don't can bugger off:P
 
7:47 PM
@AndrasDeak like me?
Ok, consider my image rows are images then how can I get the first pca — Mohammed 34 mins ago
NO IT DOESN'T FUCKING WORK LIKE THAT
 
Your question doesn't contain much information either. Can you update it so we can help you? — Suever 13 mins ago
 
You are already treating each row of your image as an observation, like I wrote in my answer. With you knowledge of linear algebra you should know which is the first principal component once you've ran it through pca. I highly doubt it will do you any good though, but since you're not telling me what the problem is I can't solve it for you. Just a side note: there's no such thing as a "first pca" either. It's Principal Component Analysis, which gives you Principal Components. You might want to learn a thing or two about the technique before using it. — Adriaan 3 mins ago
 
> I like popsicles. — beaker just now
 
8:02 PM
Anybody feels like embarking on an adventure to create better syntax highlighting for MATLAB? We'll need a current MATLAB lexer and probably build a NetBeans addon...
 
@Dev-iL Better syntax highlighting for what?
 
@Adriaan Singular values ... ?
 
You mean why?
 
@Dev-iL Yes, why
And for what: MATLAB, SO, Other?
 
When I was making the color scheme today, I saw how many other things are being highlighted by other applications, I became ashamed for MATLAB... It's quite bad as an IDE
For what? betterment of the world
 
8:10 PM
@TroyHaskin what? where?
 
@Dev-iL That's why the pros use vim
 
For matlab...?
 
Yup
 
@Adriaan I don't know. I know nothing about image processing or PCA, but I do know how to calculate an SVD.
 
And you hook up mlint so that you get all your usual warnings etc.
 
8:11 PM
Much secret. Very CV.
-3
Q: matlab secret code for changing words and numbers to each other

Ali Qi want to write program to change words and number to each other , it's such a secret code,for example:when i write : BYE ,the answer should be 112514 and when i input the 112514 it should answer :BYE IT CAN HAVE ALSO RANDOM NUMBERS BETWEEN CONSTANT NUMBERS,I THINK EACH NUMBER SHOULD BE DEFINED ...

 
@TroyHaskin but it's pca he wants, not SVD :P
 
@Adriaan I was just trying to help! :'(
 
"But I don't know how to store each line in a variable, and then access the specific part of the line that I want to reach." --> have you tried actually learning a language before trying to use it? (Don't take it personally, a lot of people ask on SO instead of studying first, as if programming answers fell from the sky...wait, they do. Nevermind.) — Andras Deak 21 secs ago
grrrrrrrrrrr fucking lazy people
 
@Suever What benefits are there to Vim over the MATLAB editor?
 
@Dev-iL registers and recording?
buttload of commands
vertical visual block!
 
8:14 PM
The fact that it's an actual editor?
 
@AndrasDeak et tu brute?
 
of course:)
 
All sorts of plugins to do whatever
Beautiful colors
 
well, I usually write MATLAB in the built-in editor, but I use vim for everything else
 
@Suever I MUST HAZ
 
8:15 PM
Integration with version control
 
the only thing vim doesn't do is on-the-fly execution, I guess
 
(done well)
 
and cell-based thingamajigs
and debugging, I guess
but I wouldn't be surprised if this was not the case
 
Saving a file without exiting debug mode
 
So you need a gui-less MATLAB running in the background to execute commands?
 
8:16 PM
I run a headless MATLAB and a VIM instance
but you could run your usual desktop MATLAB and just set the editor to be vim
There is no two-way communication between the two so it doesn't matter
I wouldn't be surprised if someone writes a plugin eventually to fix that by using the MATLAB engine or something
 
Hmm I do not remember vim to be particularly user-friendly (especially in terms of keyboard shortcuts), from when I used it eons ago
 
Definitely a learning curve but muscle memory takes care of it
Also much fewer key combinations than emacs
 
The most important question - does it do refactoring across files?
 
but yea I haven't used the MATLAB editor since probably 2008
I'm sure there is a plugin for that
 
That very well may be the one thing I miss the most
that, and type-safety :D
@AndrasDeak do you also write latex in vim?
 
8:23 PM
@Dev-iL No. He writes it in blood.
 
@Adriaan Better than forcing the Gods to slaughter kittens for writing anything in Word.
 
@Adriaan Leftover blood from the passover matzot?
 
@Dev-iL nah, of the freshmen he teaches
 
@Dev-iL yup
exclusively in vim
 
8:39 PM
speaking about LaTeX: I'm very proud of the 9 page beauty I created yesterday
 
great
 
8:51 PM
batch020 count=28 cv3,4 is in the beehive
 
@Drew thank you
 
9:15 PM
@Drew I had already voted on every single CV4 in there
 
I refreshed the file. down to 20 count mostly all cv4 now
 
@Drew working through it, ta
 
dupe chisel
 
@Drew Been through all. Thanks
 
ok thx I will make a rev 3
 
9:23 PM
we're with so few active CVers in that most of us have seen quite a bit already alas
 
I'm one of the exceptions
 
@AndrasDeak slacker :P
then again, you have an actual life wife
 
Does anyone have a "welcome to stackoverflow; here's how you should ask a question" for this one? Also, it's 99.999% a dupe
 
10:19 PM
what a terrible answer
 
hey @excaza :D
 
@beaker
Two shoter: [m=0:1,0;1,m;m,0] (I feel proud=) — flawr 2 mins ago
 
@flawr nice :D
 
It is way too late now, night everyone.
 
g'nite @flawr
 
10:29 PM
sneaky @beak y
 
str = {'a1234_b12_12_string.ext', 'a567_b56_56_string.ext'};
expression = 'a(?<number1>\d+)\_b(?<number2>\d+)\_(?<number3>\d+)_(?<astring>\w+)\.';
A = regexp(str, expression, 'names');
A = [A{:}];
yay
 
I'm off to bed
good night all
 
g'nite @Adriaan
 
0
A: How do you plot a graph evolving over time?

Steve HeimYes, you can create separate figures by calling the figure() function. Super simple example: data = rand(6,2); for i=1:size(data,1) figure(i) plot(data(i,1),data(i,2),'*'); end figure(2); % let's go back to plot no. 2 hold on; % let's add stuff without deleting previous content plot(da...

I somehow feel that this is highly inadequate for the question, but I don't understand the question unfortunately
 
10:48 PM
even if it was adequate I find it hard to believe it's not a dupe
 
05:00 - 16:0016:00 - 23:00

« first day (300 days earlier)      last day (2933 days later) »