« first day (154 days earlier)      last day (3077 days later) » 
00:00 - 22:0022:00 - 00:00

12:04 AM
oh no no no no
Mathematica + matrices = "arbitrary unicode symbol of death which can probably be used as a variable name in Mma"
kicking yourself in the balls with every single line
*shiver*
 
Hahahaha. True story.
But I do love its rule system and computational algebra system.
 
it's a kick-ass program package for a lot of (mostly analytical) things
 
But I never use it for more than analytical tests of 2x2 or 3x3 matrices.
 
but I'd never want to do anything numerical in it...
 
Indeed.
 
12:06 AM
and it's not even too well cut out for the job
My girlfriend learned much more Mma than matlab, and took her time trying to solve some ODE systems with it
it was painstakingly slow and inaccurate
I showed her how to use matlab, and she started getting results
 
Nice.
 
wooooah
29
A: What is your favourite MATLAB/Octave programming trick?

Scottie TProvide quick access to other function documentation by adding a "SEE ALSO" line to the help comments. First, you must include the name of the function in all caps as the first comment line. Do your usual comment header stuff, then put SEE ALSO with a comma separated list of other related funct...

mind blown
and it works with multiple variants of "See also asdf"
This is new to me.
 
Yeah. I remember reading that somewhere in the long-long ago.
It's cool, but I've never liked the whole ALL-CAPS thing.
 
12:25 AM
@TroyHaskin you can use "See also" at least in R2012b, and the function names are translated to lowercase
Not that I'd ever have used it, but fun none the less
 
Indeed.
Good to know about the caps thing,.
 
Good night:)
 
@AndrasDeak Night, sir.
 
12:42 AM
@AnderBiguri Welcome! :-)
It turns out that my previous approach to Project Euler 4 was wrong (I had wrongly interpreted the problem as finding the largest palindromic number not exceeding 999^2)
yesterday, by Luis Mendo
matl '999H^;P"@YstP=!A?@X}]]D'
Here's a correct approach which finds the solution (906609)
999         % number literal
;           % vector of equally spaced values
t           % duplicate
!           % transpose
*           % array product (element-wise, singleton expansion)
Y)          % linearize to column array
!           % transpose
S           % sort
P           % flip the order of elements
"           % for
  @         % for-loop variable
  Ys        % convert numbers to a string
  t         % duplicate
  P         % flip the order of elements
  =         % is equal? (element-wise, singleton expansion)
I'm finishing command-line a new help option for the MATL compiler. I'm finding it quite useful. Here's an example
I also noticed I had incorrectly restricted break and continue to work with for loops only. Now they work with while loops as well
 
1:08 AM
@flawr hey where i you ge h ata from?
where did you get the data from
 
 
9 hours later…
9:58 AM
@AnderBiguri he extracted that from your gif:) That's something, right?
flawr used a Radon transform to reconstruct the voxels from your slices
and he apologized for the artefacts:D
 
10:16 AM
Right, I just wanted to see what I can do with this gif, because I was so fascinated! I hope you do not mind=)
 
@flawr make you use that Force to do good, lest you become evil like the Jedi....
 
11:15 AM
@flawr haha no, great! HOwever do not distribute that much
its dat aI have and all that, there is no copyright or anything
but its data taken in alab around here, so I dont want them gettin mad at someone else using that
but good if you used it for you @flawr
You used radon transform assuming the data is paralel beam I assume
wich is not
It is cone beam geometry, thus unless you know the geometrical sdescription , its impossible you get "the image"
but cool ;)
@LuisMendo Do you know that they arr going to make a movie of your SO image? Youll be famous!
 
 
1 hour later…
12:29 PM
YAAAAAAY 10K
5
now im part of the elite
where is the champagne and the swiming pool
doesnt it work like that?
 
Congratulations!
 
@AnderBiguri Yes, I heard there will be a spin-off movie about Boba Fett! Looking forward to it! :-)
@AnderBiguri Hey, congratulations!! Welccome to the 10k club!
 
yeah, disney i sgoing to make some money with that. Thanks :D :D
Now I have no objective in so
I will leave it :(
naaah
 
@AnderBiguri That's the part I'm afraid of: "Disney". I hope they won't spoil the whole thing
 
12:44 PM
I hope they dont. Trailers look quite nice atm
 
@AnderBiguri There are some privileges above 10k. 15k and 20k, if I remember correctly
@AnderBiguri Except for that ball-shaped robot
 
oh yeah. Protect questions 15K
haha yes. We will see. quite soon actually.
 
Oh, there's even a 25k one. It was introduced recently
 
oh site analitics
cool
 
@AndrasDeak you know what they say, read the documentation :p
Congrats Ander :)
 
12:52 PM
:D
 
1:02 PM
@AnderBiguri Gratz :)
 
thanks to the breakpoints :D
 
Seriously though, that's just a drop in the sea of your useful contributions
keep up the good work :)
 
:D :D
 
I'm thinking about adding an answer that spotlights dbstop if error but I don't think I have enough material for it
Maybe {you should} say a line or two about that as well
 
it is relevant but, maybe out of the question itself? (wich I can modify ofc)
 
1:14 PM
There are already questions and answers on the subject.. You might as well link to them (ex1)
 
I kinda want to do a word cloud of my SO comments
and see how big 'documentation' is
 
@excaza you only need to find somebody with access to SO analytics....
....where oh where to find a person with >25k rep
 
2:12 PM
@AndrasDeak Yeah exactly :\
I ended up doing a system restore to a few days ago, didn't fix the issues either
 
2:51 PM
@excaza lol so it never hungs up
 
 
1 hour later…
4:02 PM
posted on December 02, 2015 by Yair Altman

Matlab has a bug with handling multi-element class-access constructs. This post explains the problem and solution. Related posts:Solving a Matlab hang problem A very common Matlab hang is apparently due to an internal timing problem that can easily be solved. ...Solving a MATLAB bug by subclassing Matlab's Image Processing Toolbox's impoint function contains an annoying bug that can be fixed us

 
4:26 PM
@AnderBiguri now you can see deleted questions and answers!
 
4:37 PM
@AnderBiguri Perhaps then it would be better to delete it, so feel free to flag/delete!
But I guess it would be easy to modify the radon transform for other geometries, wouldn't it? (I do not really know anything about this stuf, but I think it is interesting to do math and get pretty pictures at the same time^^)
 
I think you should leave the picture :)
We don't have the original data so I think it's safe.
If there was a MATLAB SO Hall of Fame, that picture would enter in.
 
Good that there is no such thing.
@AnderBiguri If I may ask: What kind of image is this anyway? As the bones are clearly visible I guess it must be x-ray / CT or something similar?
 
5:26 PM
congratulations @AnderBiguri
give away your rep in bounties quickly, then I can still beat you to 10k :P
 
@AnderBiguri Congrats! Please assume the Party Escort Submission Position and a Party Associate will be along to take you to your Cake!
Can someone with MATLAB help out with this question?
 
@beaker legs spread and bottoms up?
 
0
Q: MATLAB medfilt1 without a centred filtering result

tdiddyI'm working to implement a rolling 1-D median on a 3D array. The clear choice for speed is to use the medfilt1 function. However, as the documentation indicates, this is a centred filter. From the documentation, Example: If n = 11, then y(k) is the median of x(k-5:k+5). Example: If n = ...

 
@beaker +1 for a correctly spelled title
 
Octave doesn't support all of the options :(
 
5:31 PM
@Adriaan :D
 
@Adriaan That's okay, I successfully translated it to 'Murican
 
which translates to MEEP MEEP
 
MEEP MEEP MURICA MOTHERF*CKER
 
lmao
@beaker
Have you ever watched that movie? LOL
 
centre... that's how you spell "sentry" in Canadaese, right?
 
5:35 PM
I'm slightly off today. I planned on doing useful things, but got stuck at the barber waiting 3,5 hours, then hairdressing and shaving for another 45 minutes
@rayryeng of course I did.
 
@rayryeng I was thinking of this the other day
 
lmao
 
So lick my dick and suck on my balls!
 
@Ballbreaker yeah of course YOU would see it buddy
 
@rayryeng LOL
 
5:37 PM
That was a fan-made music video
but I have to say it's well done.
@Ballbreaker not to be denigrating to my race.... but this comment in that video feed made me laugh my ass off.
CHINA! FUCK YEAH!

COMMUNISM! FUCK YEAH!

POLLUTION! FUCK YEAH!

LO MEIN! FUCK YEAH!

SMALL DICKS! FUCK YEAH?

POVERTY! FUCK YEAH!

CHINESE FOOD! FUCK YEAH!

GIANT WALLS! FUCK YEAH!

FACTORIES! FUCK YEAH!

CHING CHANG CHONG! FUCK YEAH!
 
0
A: How to insert zeros in certain rows and make a calculation from and to the zeros row

CitizenInsaneUnclear what you mean but if you have a matrix: A = rand(118, 40000); And you want to replace the following row indices with zeros: Badchannels = [2 7 18 22]; You just have to write: A(Badchannels, :) = 0; This will put zeros in all columns at row indicated by Badchannels indices

dude's unclear what the OP asked, but still gives an answer, BOO
go close it as unclear in that case, ask for clarification, but do not bloody answer :(
 
the comment said thank you very much, it's perfect lol
 
@rayryeng lmfao
 
ching chang chong, fuck yeah!
 
5:43 PM
Abishek's long lost buddy
 
lmao
 
oh you duped it
 
I marked as duplicate. This is like the 10th time someone has asked this question
 
NOW MY NAME IS NOT ON THERE
 
yeah I used your answer @Adriaan
@Ballbreaker lmao
 
5:44 PM
you should at least point to my answer and not the question xD
 
what's funny is that the guy who wrote that comment is Chinese. It's a funny comment... but even funnier when someone Chinese does it.
@Adriaan I will now :)
Oh dear God... not another one of these blasted questions. You absolutely can't do this. Stop trying. Please see Adriaan's answer as to why you can't do this: stackoverflow.com/questions/33140297/…rayryeng 1 min ago
 
@rayryeng self-deprecating jokes are always funny
 
for sure :D
 
@rayryeng shame he can't upvote me though :(
 
@Adriaan I know :( I've already done it too
 
5:47 PM
@rayryeng then again, since he asks like Abishek, there's reason to believe he'll upvote and bounty like Abishek :P
oh, I've been meaning to ask you @rayryeng: can we call you Prof Phan by now?
 
@Adriaan hahahaha I only just submitted my application.
I'm flattered, but it's unfortunately premature :(
 
still at Bubble in the mean time?
 
@rayryeng But I waaaaannaaaaaa!!!!
 
@Adriaan yes sir in the interim.
I have to pay the bills someway :)
 
@rayryeng I like Bill, he's a great lecturer!
@beaker then go upvote that answer :D
 
5:51 PM
lmao
@Adriaan The university did confirm receipt of the application, so I have to wait and see.
July 1, 2016 would be the start date of the position if I get hired. We will see though.
 
@Adriaan Yes, the one that got the bounty is quite nice.
;)
 
lmao
 
@rayryeng :
Sorry, noob here. Thanks for the help though! — zer0_barrier 45 secs ago
 
:S? lol.
not a n00b. Just don't know how to set up your problem.
 
6:06 PM
@rayryeng I'll be planning an exchange to Toronto in that case for next fall ;)
"But sir, can't you solve that using eval and fmincon?"
 
6:18 PM
@Adriaan is that right?
We must spend some time together!
 
oh boy. Corporal punishment is still a thing in wild, wild Canada isnt it?
 
lmao. no.
eval? Where is this blasphemy?
 
@rayryeng hum, I think something went tits up. I was joking about going to Canada, and that was a remark I'd make in one your your classes if I were there :P
 
oh lmao
 
hence I thought you wanted to smack me on my behind with your ruler for saying blasphemous things :P
 
6:24 PM
sorry i took you seriously.
yeah I get it now. Sorry.
 
hehem don't worry. I'll try to not obfuscate things this much if I'm calling at Toronto any time in the future
as life looks now I wont be going there any time soon though
 
ah no problem :)
 
If you get that job in York though... :D
 
hahaha well here's hoping my friend.
until then, I'll carry on as if I don't have a chance.
 
Just look the interviewer right in the eye and ask him: "How much rep do you have then?"
 
6:29 PM
lmao
I'll get the job just purely by my rep yeah
 
@rayryeng that's what SO carreers is doing right
 
I can tell them that I have 0.05 Jon Skeet units of reputation
actually, 0.05987 Jon Skeet units
 
I can tell 'em I need scientific notation in Skeet units
 
lmao
his current reputation is 826346
 
mine is shit :D
 
6:31 PM
ah you're not bad actually
you're at 0.00471
you COULD use scientific notation if you wanted to
e-3 is my cutoff for scientific notation.
 
@rayryeng what that in pounds-force? :P
or whatever arbitrary unit system.
 
I DON'T KNOW THE RATE OF CONVERSION DAMMIT
 
@beaker knows, he learned it at McDonalds
 
lmaop
 
you have to go to Canadian McDonald's for that
 
6:33 PM
Did you know that McDonald's is one of the best employers in the world?
Constant raises in salary, almost full benefits.
They have to give their employees incentive to stay.
 
That's like saying that garbage collectors have great job security
 
@rayryeng then let them built lasers and particle accelerators on company time, that'll keep em interested and busy!
 
well they DO
 
There will always be garbage, but do you really want to do that job?
 
at least the garbage collectors here get paid quite a bit lol
 
6:35 PM
they have to! :))
 
@beaker in Napoli they do not collect garbage :P
 
It depends who you ask.
 
@rayryeng ask Wall-E... go. ask. Wall-E :'(
 
@beaker that was all your fault!
with all the fat people
 
Dinner at 17:00, lunch at 19:36, something has gone amiss today
 
6:36 PM
your = plural
your language also has issues:P
@Adriaan bon apetit
 
@AndrasDeak that was an attempt at storing the garbage on people rather than in landfills
 
@beaker ooooh. I never thought of it that way. Good job then;)
 
@AndrasDeak we used to have "thee" and "thy" in addition to "you" and "your"... we decided to keep only the royal plural ;)
 
Stifle Thyself!
 
We are not amused.
 
6:41 PM
@beaker I know, and we have that distinction in Hungarian. My problem is singular vs plural
 
Why hast thou come before us?
 
We will be taking our leave now. Please keep the peace in our absence.
 
We bid thou fairest of wells
 
7:00 PM
@AndrasDeak Well, "you" used to be plural only
 
@rayryeng Plus unions are epic to work for
 
7:13 PM
Jesus. CPP And EI is deducted from bonuses as well as tax? That's frickin retarded
 
Actually, I can't find anything to back that up. Perhaps we just copied the French. :)
Of course, in Texas we solve that problem by saying "y'all".
 
@Ballbreaker yup. God bless Canada.
 
I mean at least if my bonus was now, I've already paid out my yearly EI and CPP... but my company is planning on doing them before our fiscal year ends which is in april... fuck me.
I'm pretty sure EI and CPP refresh in January don't they?
 
yeah they do buddy
it's always the start of the new year
 
Eck
I guess this is usually why companies do christmas bonuses
 
7:21 PM
yup lol
my company doesn't. They're running out of money
 
I suppose it's either, I get a bonus now, and it's potentially less than it would be and deducted less... or I get it in april and it's probably more, but deducted more .. hmm
 
I actually overpaid my EI and CPP
 
Hi all
 
I got some of that back when I filed my taxes this year
 
Any ideas?
0
Q: Does unary minus just change sign?

Luis MendoConsider for example x = 1232.2454545e-89; y = -1232.2454545e-89; Can I be sure that y is always exactly equal to -x (or Matlab's uminus(x))? Or should I expect small numerical differences of the order or eps as it often happens with numerical computations? Try for example sqrt(3)^2-3: the res...

 
7:22 PM
@LuisMendo ideas about what good sir?
 
@rayryeng Oh jeebus
 
yeah, that's an oversight of my company
@LuisMendo oh that is a good question
I actually don't know.
My gut feeling says no because by negating, the bit representation of the number changes.
no as in not exact
 
I'm considering removing negative number literals in MATL, and leaving only the unary minus function. Hence the question
@rayryeng That's my doubt too. But in my tests only the sign bit changes
(as given by typecast)
 
@LuisMendo Have a look at the example for 2 and -2:
Double-precision floating-point format is a computer number format which occupies 8 bytes (64 bits) in computer memory and represents a wide, dynamic range of values by using a floating point. Computers with 32-bit storage locations use two memory locations to store a 64-bit double-precision number; each storage location holds a single-precision number. Double-precision floating-point format usually refers to binary64, as specified by the IEEE 754 standard, not to the 64-bit decimal format decimal64. == IEEE 754 double-precision binary floating-point format: binary64Edit == Double-precision binary...
only the sign bit is changed
the significand is not in 2's complement
 
So that assures no precision is lost, right?
What about rounding?
 
7:26 PM
Yes, you can represent exactly the same range of values
rounding?
 
If rounding is always towards zero no problem
Imagine a number that can't be represented exactly
Matlab chooses the "closest" representable number
But "closest" may depend on sign?
 
okay, so loss of precision
yes
 
Hopefully it rounds towards zero and it works fine for both signs
 
closest will be the same in both cases
 
But if it rounds towards -inf for example, y= -1.23 and x = 1.23; y = -x might end up being different
 
7:30 PM
trying to test, but it seems to me that the fraction is identical for positive and negative values
 
In my tests that's true too
But we can't test all numbers :-)
 
the only way i can see that this might not work is if you're converting from an int type where negatives have a range one larger than positives
but the only place that would happen without loss of precision anyway is from a 64-bit int to an 80-bit float... which is a rather odd beast
 
I'm only interested in double actually
 
Then everything I see confirms that the only difference between a number and its negative is the sign bit
 
Tested for 1e6 randomly-chosen numbers. It was true in all cases:
 
7:41 PM
Let's hope someone with better knowledge in number representation verifies it
 
for n = 1:1e6;
    if ~mod(n,1e5), disp(n), end % show progress
    x = rand * 10^((rand-.5)*200); % choose number randomly
    y = -x;
    if ~all(typecast(x,'uint8')+uint8([0 0 0 0 0 0 0 128]==typecast(y,'uint8')))
        error('Uh-oh')
    end
end
If I recall correctly, @chappjc is knowledgeable about this. Can you take a look maybe?
 
just generate every 64bit pattern @LuisMendo :P
 
are you concerned about rounding during some operation on the numbers, or solely on the unary minus? because honestly i see no way that a unary minus on an IEEE754 number could ever have to round.
 
this typing thing is not going well for me today
 
thyping ting?
 
7:50 PM
@beaker I think Luis means represent(-(non-representable number)) vs -represent(non-representable number)
@beaker exactly:D
 
@AndrasDeak Sure! Can I use your computer for that? :-D
@beaker Only unary minus
 
@LuisMendo You can ignore the exponent bits if you like ;)
 
@beaker Yeah... only 2^52 then :-D
 
w00t!
 
@AndrasDeak My concern is only if including the minus in the number vs. negating the number afterwards produces exactly the same result
 
7:55 PM
@LuisMendo I think that's what I said:)
 
@AndrasDeak I don't know... too many nested parentheses :-P
 
 
1 hour later…
9:06 PM
Talk about shitty coding practice:
0
Q: Matlab not recognising comment characters

RecapI downloaded a Matlab code sample online and the comments are showing as strange characters. as shown below % Ïðîãðàììà ïîèñêà íîìåðîâ àâòîìîáèëåé è ðàñïîçíàâàíèÿ % áóêâ è öèôð íîìåðà ïðè èñïîëüçîâàíèè íåéðîííûõ ñåòåé % Íîìåð îòîáðàæàåòñÿ ïîñëå ãîëîñîâàíèÿ function Detection_Recognition1() cle...

I've met some C code which had Hungarian comments in it. Terrible experience (and I speak the language)
 
I want to start commenting in emoji
# burrito, smiley, upside down smiley, taco
 
@excaza I think you're looking for the Swift chat room.
 
haha
I think I linked that here yesterday
or maybe monday
0
Q: Whenever I run a CPU intensive process, my system restarts

brubeckI've noticed this when I try to calculate the inverse of a 10,000 x 10,000 random matrix with Matlab or Octave. My computer just restarts without prompting any error message. I have already looked for similar issues on various forums with no success. I've already proven that this is not related ...

I wonder if I should ask for a MVCE
 
I am getting a graybar instead of the axis labels in plots!
I can't remember how to fix this. I can't seem link on internet also.
Any1 faced same issue?
 
9:22 PM
Please provide a Minimal, Complete, and Verifiable example.
 
@AbhishekBhatia I even missed "hello" this time:P
 
hahaha
hello :)
 
haha, I wasn't joking
have you tried turning it off and on again?
 
it happens only when I save it to disk.
 
@AbhishekBhatia you seriously didn't think to mention that in your original question?
 
9:27 PM
yeah sry I just noticed in plotting it doesn't happen. But print function is the culprit.
hoping to find the small fix. Posting a reproducible question is too much pain for the silly issue.
 
Why should we put effort into answering a question you don't put effort into asking?
 
Sry I will do later. It seems like some bug. Works perfectly on Matlab 2015. :)
 
@excaza Why don't we have that as an autocomment?
 
I remember last time splitting the text into lines solved it.
 
@flawr the boxing bag bot could do that s well
 
9:34 PM
@AbhishekBhatia If it's a bug then you should report it to The MathWorks with a functioning example
 
you could also try saveas instead of print
you could also try saveas instead of print
or export_fig from the FEX
sorry, having connectivity problems
my messages are being delivered n times, n in [0,1,2]
 
9:49 PM
@AndrasDeak I can do that now in LaTeX :D
> my messages are being delivered $n$ times, $n \in [0,1,2]$
 
\lim_{internet \to 0} Posts(Andras) = 3
 
00:00 - 22:0022:00 - 00:00

« first day (154 days earlier)      last day (3077 days later) »