« first day (359 days earlier)      last day (2886 days later) » 

3:00 PM
final count is 8012 classes :O
 
This is a really bad crop of my data
 
"class discovery" found about ~300
 
I have no idea how to improve the "visualization" of that type of data....
but my guess is that, @Suever, you dont start with that, rigth?
@Dev-iL Super Suever :P
 
@AnderBiguri Yea that's challenging for sure
Any sort of 3D visualization is really tricky. We just skip visualizing the raw data
 
yeah, I have no idea how to make cool images
 
3:03 PM
We mainly skip it because nothing really works well. MIPs look awful since the heart is inside the body...
 
I see
my problem is that expensive software in Xray tomography do this:
 
yea.... high bar
 
and I definetly cant compete against that
even if the data is the same, it'd look crappy comparing to that
 
@AnderBiguri but, but... Not even with the holy trinity?
@AnderBiguri I think whatever your results are, they can be reshaped into that image!
 
because hypnotoad?
 
3:08 PM
 
not sure which one is scarier
definetly the first one did not eat a person
 
@AnderBiguri It might be just a cake!
Yes, that's edible!
 
hmm, I liked Dom's cake better
@AnderBiguri you play MTG? That's a legendary creature from the latest set
 
@StewieGriffin lol
@Adriaan I have played it
but I dont earn enough money to actually play it XD
 
@AnderBiguri pah, I also play for almost-free. All my decks cost less than 20 quid, with most of those cards coming from drafts
 
3:20 PM
I should have answered with length just to fuck with @Suever
 
@Adriaan that's allrigth
 
@excaza hahaha oh how I hate length. You know me so well
 
@Suever I hate length too
 
0
Q: Getting java exception error while reading xml file

StuckInPhDI'm trying to read in the xml file provided for the IAM database in order to structure the database. I am using Matlab to read these files in and am using xmlread. The xml files are well over 1500 and almost all of them are giving the same error: Java exception occurred: java.io.FileNotFoundEx...

wtf
 
Explicit > implicit
 
3:24 PM
It's one of those things that make my eyes twitch
 
numel(properties(explicit)) >= length(properties(implicit))
 
I just love it when people have a nx2 array, and they use length on it, and sometimes it gives them 2, when n=1 and they're surprised
 
@Dev-iL :D
that's the reason why I don't use it. That mistake has cost me at one point
 
I think we all went through the length phase...
 
3:27 PM
@rayryeng What if you combine length with sexist in one line?
 
python only has length :)
 
@Dev-iL I've even gotten OCD and went through my old posts during the holidays last year and edited length for numel.
Got that badge for editing 10 old posts :D
or hat rather
@excaza it's len :D
 
yes
 
I just had to... When OP specifies twoexist, with no spaces... sprintf('%sexist' ...
 
@StewieGriffin lmao
 
3:31 PM
;-)
@Suever are there any advantages for using fprintf instead of sprintf? fprintf('%d inputs\n', numel(varargin));
Also, is if/else better than switch/case?
 
@StewieGriffin Well it prints rather than just creating a string
 
sprintf simply constructs a string.
 
hehe, of course,,, apparently my brain is off at the moment
 
No worries :)
 
3:41 PM
In theory a switch block could be optimized better than an if block, I doubt you'd see a performance difference in any practical test case though
plus switch blocks look nicer
 
I think so too, I usually prefer it over if/else in cases where it's simply a matter of x=1 or 2 or 3..
 
@excaza That java XML question was actually something I'd been bitten by before.
 
@Suever +1 by the way, since you posted the serious answer first :P
 
@Suever yeah I upvoted too. I would have never been able to figure that out
 
I also think that guys printing of the inputs is just an example rather than what he wants to do (hopefully)
 
3:43 PM
I misread the question, I thought he was just passing the wrong filename
I didn't get a chance to finish my thought
got distracted by a shiny
 
hahaha
 
.... so I just told my current employer I'm leaving.
 
@Suever Hehe, of course it is (I hope). If he actually want to print "twoexist", then he's working on something very strange...
 
That was ... rather uncomfortable.
 
via bublcam?
 
3:44 PM
Yup
I just gave my two weeks notice today
 
Congrats
 
@rayryeng Where are you going?
 
bittersweet?
 
Thanks :)
More sweet than bitter lol
@StewieGriffin Zebra Technologies.
 
3:45 PM
Zebra... zebra... Is that the company that builds tracking technology and solutions that generate actionable information and insight, giving companies unprecedented visibility into their businesses?
 
Strong your Google-Fu skills my young padawan
 
No, it's the one selling handheld computers to striped equines
 
@beaker don't forget that company policy is to where black and white striped uniforms.
 
@rayryeng You have to blend in.
 
If I'm not mistaken, Zebra makes businesses as smart and connected as the world we live in.
 
3:47 PM
Keep this up and you'll be a Jedi at Google-Fu
 
I think @StewieGriffin is a chat bot
 
@StewieGriffin !help
@AnderBiguri yup
They're hiring me for my computer vision and machine learning experience
 
nice
 
they're trying to build a team here and I'm their first hire. They're going to hire 2 more CV people and one camera/optics person
 
3:49 PM
@rayryeng Do you mean !help, as in "not help", or don't help?
 
@StewieGriffin You are a chat bot... I figured the bang operator ! would activate some sort of automated help window
 
@rayryeng Chief nerd?
 
What do they do. Becaus eI read the webpage, and everything i s"solutions", "we are cool" " SOLUTIONS"
 
@AnderBiguri lmao.
 
AT LEAST TELL ME WHAT THE PROBLEM IS
 
3:49 PM
They concentrate on creating mobile tracking solutions for a variety of different applications.
One example is they created the mobile embedded trackers to track American Football players in the NFL on the playing field.
 
ohhh
yeah, that is more specific
 
yeah :)
 
they want to hire me specifically to help in the retail sector.
@StewieGriffin oh... my ... God.... I haven't seen that paperclip.... in years
and that paperclip is BULLSHIT. It never helped me AT ALL. I had to figure out things in Microsoft Word on my own!
 
@StewieGriffin EH THIS IS MATLAB. ~help
 
3:51 PM
it looks like you're asking for help. Need some help?
 
Do you guys watch Silicon Valley?
 
Like, the geographical location? Its far.
 
@StewieGriffin NO GO AWAY
 
The HBO show about tech startups
 
My binoculars are cheap
:P I know
 
3:52 PM
Hilarious
 
yeah. Ha. Ha. Funny.
 
haha kidding, is it any good?
@Suever LOL
 
@AnderBiguri This is MATLAB and Octace.
 
That show literally has me on the floor laughing regularly
 
3:54 PM
oh... yeah
 
@Suever oh my God LMAO
just reminds me of that stupid paperclip assistant.
 
I'm a sad bot! I'll go find my friend Siri!
 
They had a whole episode on tabs vs. spaces. Hilarious
 
Silicon Valley is on my bucket list. I need to watch it
 
Too bad they misrepresented spaces
 
3:56 PM
tabs > spaces
 
@Dev-iL When you list things, the best ones are always first!
Well, gtg..
Siri is waiting.
 
cya, have a nice weekend
 
4:19 PM
pointCld is an Object with properties Location, Color, Count, XLimits, YLimits, Z Limits — Basit 2 mins ago
thanks
 
lol
 
@excaza wow lol
 
>>> ' '>'\t'
True
mini-markdown sucks
sorry for the triple ping
 
I feel like the robotics toolbox is mostly crap. The documentation is pretty bad
 
@Suever Yeah I never use it
All of the robotics stuff I know deals with angles and rotations, and the mapping toolbox has that nicely.
 
4:24 PM
yea
 
x = -pi:0.01:pi;
plot(x,cos(x));
ylim([0 1]);
help I have a parabola
D:
 
lmao
 
4:40 PM
> elseif nInputs > 0
disp('Only 1 input')
eh?
 
@Dev-iL What's wrong with that?
 
That, my dear Sir, is what I'd call "implicit".
 
hahahaha fair
 
@Suever Moreover, nargin can also be negative
 
only if you specify the function in the call
 
4:48 PM
@excaza I think the rule is if you have "some positional arguments+ varargin" then you get a negative sign, it will also be like that from within the function
 
Yea I mean in general I avoid nargin and just explicitly check lengths
 
Btw, is there a way to make the Github team's RSS feed public?
 
@Dev-iL there are 2 different syntaxes
calling nargin in the body of the function with no input is never going to return a negative number
 
> %NARGIN Number of function input arguments.
% Inside the body of a user-defined function, NARGIN returns
% the number of input arguments that were used to call the
% function.
%
% NARGIN(FUN) returns the number of declared inputs for the
% function FUN. The number of arguments is negative if the
% function has a variable number of input arguments. FUN can be
% a function handle that maps to a specific function, or a string
% containing the name of that function.
%
% See also NARGOUT, VARARGIN, NARGINCHK, INPUTNAME, MFILENAME.
@excaza I stand corrected
 
@Dev-iL I don't think so
seems weird
 
5:53 PM
Could use webhooks and make a bot
but someone would need to host it
or use slack
 
I would gladly host a bot
you'd just want it to post here?
You could probably throw it up on Heroku free tier hosting
 
I would imagine
 
My first :
-1
Q: I need a mathlab program to move a slider while recording sound

septoIam doing a project in mathlab to encrypt sound there for I need a program for moving slider while recording sound so please help me

I'm not even going to tell them it's MATLAB
 
6:18 PM
Fucking tool
You can at least do a better job with the tags.... you didn't even come close to tagging with MATLAB. — rayryeng 8 secs ago
 
ssshh... I was avoiding telling them that... no sense in cluttering up the MATLAB queue ;)
 
nah I haven't modified the post.
It's so bad that it doesn't even pass my itch to edit... even though the post is horrible and definitely needs some tidying up
 
yup
tag wiki updates getting pulled directly from wikipedia... i hate edit reviews
 
now I need to figure out how to make a chatbot
and then how to deploy it to a webapp
 
6:40 PM
@excaza python/flask is probably your best bet for getting something functional going quickly
Actually you should write it in octave
 
I'll write it in MATL
 
Get @LuisMendo and @Suever to help you. That would be awesome to get a chatbot working in MATL lol
 
It would be the slowest chatbot ever
 
well if you want something working quickly I'm not the one to do it
:)
 
We'll just call him/her CHATL
 
6:43 PM
@Suever :D
 
I should have written the new MATL online interpreter in MATL
 
@Suever That would have been Meta-MATL
 
@Suever that... is funny
 
Unfortunately MATLAB itself has such poor web support
 
6:44 PM
I shall write a chatbot called CATL that will respond to everything with "Moo."
 
not Meep?
we should name a chatbot called BEATL in that case :)
in honour of beaker.
 
lol
@rayryeng and it shall sing Beatles tunes replacing all the words with "meep"
 
I'm imagining this room being flooded with *TL bots
 
I'll make a bot that fails economically and call it BUB.....oh wait
 
awwwww
 
6:46 PM
@Dev-iL oooh... BABL
 
@beaker Yeah that's clearly what I meant :P
 
i thought it was a good idea
 
Ugh so apparently the JVM for MATLAB maintain's it's own keystore for certificates so if you want to use your own root cert, you have to import it into MATLAB's keystore, which requires admin privileges and a restart of MATLAB.
ugh
 
@beaker So....
sing to the tune of She loves me
Meep Meep Meep MEEEEP MEEEEP MEEEP
 
meep to the meep of meep meep meep
 
6:53 PM
:D
 
@excaza You're going a little too crazy my friend lol
 
@rayryeng yeah!
 
it's called a "learning experience"
 
7:16 PM
can we make his/her logo the mathworks logo with a mouth on the hump?
 
what about....
C'mon... ^^^ is an awesome logo
 
No animated logos :(
 
sniff
 
7:34 PM
@AndrasDeak somebody upvoted that question within minutes of it getting migrated, then left a comment about some comedy I have completely missed before :D
+1. Just for the psql postgres -U fockerypercubeᵀᴹ 6 mins ago
 
lmao
omg. how could I have missed that when it was on SO?
 
Adriaan advertised it here :)
 
@Dev-iL lol:D
 
Joins community solely to upvote post and comment
 
^^^^ lol
 
7:40 PM
<< Knows shit about DB administration
 
^< Does know shit about specific topic in question?
 
Hey guys, found a nice gif (not from me)
user image
3
 
Ah yes, chaos theory
 
wow...
I wonder what the experience of that be when you're high
 
@flawr That makes me want to make one.
 
8:22 PM
@Dev-iL Wait minute:
> Functions in Scripts: Define local functions in scripts for improved code reuse and
readability
 
Oh, yes
 
Does that mean exactly what it says?
 
Yes
 
That's pretty freaking sweet.
 
Yep
 
8:23 PM
Makes me wonder if you can define functions at the command line
 
And annoying because it's another compatibility condition to inform others of.
 
haven't actually tried it yet
 
others = plebs
 
people who use scripts = plebs
 
with R<2016b :(
 
8:24 PM
Will make SO snippets easier though!
 
@Suever Like that OP that wanted to run/load different cells in a script into another script?
@Suever True story.
 
Hahaha basically
or the guy that had 500+ variables in his workspace
3
A: Clearing selected variables from MATLAB's workspace in a performant way

SueverRather than using eval you can simply use the function syntax () to call clearvars and pass your VarsToKeep to it using {:} indexing to create a comma-separated list. clearvars('-except', VarsToKeep{:}); As far as why it is slow, it really depends on how many variables that you are removing. I...

 
Dear Gods.
Wouldn't a sane person stand back and say "I must be doing something wrong"?
 
If you're concerned about performance don't use scripts or rely on the global workspace. Use functions with local workspaces in which temporary variables get cleaned up automatically. — Suever yesterday
Yea so bad
lots of X Y problems going on
but it is hilarious to think how big that regex is to clear the variables
 
RegEx can do anything.
 
8:27 PM
This is true. Given enough time
I bet if you give it long enough, it can produce 42
 
Holy crap, a tweet of mine blew up on the Twitter.
@Suever BUT WHAT'S THE QUESTION?
 
Doesn't matter. It's the only answer
How many days will it take to clear my workspace
 
Gods.
 
I feel like any day that requires clear is a bad day unless it's clear classes and you're doing active development
 
I mean, I'm sure what I'm doing with Matlab via lexical closures is the most obvious or necessarily safe way to program in Matlab, but I know enough to acknowledge it.
@Suever I guess. I generally throw a clear(); at the top of scripts in which I run my stuff from because stuff.
 
8:31 PM
What's a script?
haha
yea it's useful sometimes
I have a script which literally nukes my workspace
 
@Suever Unless you've got a 32-bit windows system, in which case you'll eventually have to restart MATLAB
 
haha wow pack doesn't even help
 
Or if you want to make an array requiring 100 TB of memory.
 
@TroyHaskin You can do it in the next release
well not exactly, but close:
 
try
    urlwrite('downloadmoreram.com', 'local.ram')
catch
    clear all;
end
 
8:34 PM
> tall Arrays: Manipulate and analyze data that is too big to fit in memory
So the next release will have functions named cummin and cummax .....
 
@Dev-iL I did see that.
I can't imagine it will be all that fast since swapping to disk will be required.
@Dev-iL What cumout? You know, that often-used cumulative outer product function that I didn't just makeup at all.
 
btw, seems like all legends will be dynamic
 
8:50 PM
@beaker :-D
@excaza What's this chatbot thing about? I keep hearing about them also in The 19th Byte...
 
@LuisMendo Oh They were just talking about a way of having the RSS feed from the stack overflow chat github group being broadcast to this room but the feed isn't public so we can't subscribe. One option is to set up a bot to comment here anytime there is something new
 
@rayryeng One of the few Beatls songs that I actually like :-)
@Dev-iL Huh? R2015b has them
 
IFTTT mirrot restricted RSS into an open RSS
@LuisMendo So why are they in the release notes?
 
@Dev-iL No idea... maybe they changed something in those functions?
 
Oh, they ignore NaNs now
 
8:55 PM
@Suever Aah, ok
 
@LuisMendo Online interpreter is close. It's functional now I'm just cleaning it up and will hopefully deploy it for beta testing this weekend.
 

« first day (359 days earlier)      last day (2886 days later) »