« first day (208 days earlier)      last day (3025 days later) » 

11:00 PM
@AndrasDeak my autoclicker + the idle game mode is making good use of it you mean :P
I read 4 chapters on PDEs today
got my oral exam tomorrow
 
Oh, @LuisMendo since you've just been here: any chance of defining a colon=@(n1,n2,n3) n1:n2:n3 or a fancier varargin-based implementation, for octave/MATL?
that should suffice, I would think
@Adriaan have fun with your oral!
 
@AndrasDeak we'll see, we'll see
 
Giving good oral is a must for a good diploma.
 
@AndrasDeak Something along these lines? (I haven't tested it)
function y = colon(varargin)
if nargin==2
    y = varagin{1}:varagin{2};
elseif nargin==3
    y = varagin{1}:varagin{2}:varagin{3};
else
    error('Incorrect number of inputs')
end
end
Anyway, Octave 4.0.0 does have colon as builtin function. Consider updating :-)
@AndrasDeak I think you'll like this
2
A: Triangular Ulam spiral

Camil StapsDrawing should be done with LaTeX / PGF, 594 bytes \documentclass{standalone}\usepackage{pgf}\let\a\newcount\a\i\a\j\a\l\a\x\a\y\a\p\a\q\a\n\i=1\l=1\p=-1\q=1\def\m#1{\advance\i by1\advance\j by1\advance\x by\the\p\advance\y by\the\q\pgfmathparse{isprime(\the\i)}\ifnum\pgfmathresult=1\pgfpathcir...

 
11:28 PM
@LuisMendo exactly
@LuisMendo so does 3.8.1, as we've seen:DD
@LuisMendo noooo no no no no no no
don't do that with latex:D
 
Lui
@AndrasDeak Pretty sure that's just one of the answers.
 
@Lui of course
 
Lui
@AndrasDeak Woops thought the question was linked not that one answer! Totally missed the point....
 
@Lui it's OK:)
I was going to say that it's probably late for you too, but then I realized it's not:D
 
Lui
@AndrasDeak Yeah I was going to try to say that too....
 
11:36 PM
@AndrasDeak Two minutes, .. , to miiiiiiidniiiiiight
 
@AndrasDeak Well, yes, it has it :-)
 
@Adriaan ??
 
@AndrasDeak I am not mad, just disappointed.
 
@LuisMendo then again, you might want to consider setting a lower version limit for compiling MATL in Octave
(unless you've already done so in the manual:)
 
11:38 PM
@Adriaan ah, no, thanks
 
I don't like Iron Maiden either, but this is a classic
 
@AndrasDeak Just supporting Octave 4.0.0 is giving me enough headaches :-) Would you believe it refuses to compute diff('abc')??
It wants numeric input
 
@LuisMendo laaaame
you'll have to redefine diff(x) to compute builtin('diff')(+x) :D
you can do colon while you're at it
 
@AndrasDeak I did that (more or less), for the next release of MATL
@AndrasDeak Update!! :-P
 
@LuisMendo at this point it's easier for me to use tryitonline than upgrading octave:P
 
11:44 PM
Another of these annoying differences: x = [1 2 3; 4 5 6]; x([3 5]) = [] gives a row in Matlab, a column in Octave
@AndrasDeak laaaazy
A column seems more natural to me, actually
But I decided that my canon is Matlab, not Octave
 
@LuisMendo I guess it's "shapeless vector is a row vector" philosophy, as in 3:6
That's almost like a biblical reference:
"MATLAB 3:6, vectors of a priori undefined shape shall be of row kind."
 
@AndrasDeak :-)
 
"Thou shalt not use eval. Like, ever."
 
But Matlab seems to prefer columns. As in nonzeros. Why would Octave prefer rows?
 
@LuisMendo nonzeroes gives columns?
hmm...indeed odd
 
11:48 PM
Also (:)
 
columns would be natural with the row-major thing
 
So column seems to be preferred
Giving a column is stretching along the first dimension, so it makes sense. More than giving a row, I think
 
I guess mathworks should first settle their standards for datetime format strings........
 
@LuisMendo wait til you get to `repelem/repelems' ;)
 
@AndrasDeak indeed. stupid actually that the default is MMDDYYY, and not DDMMYYYY or even the more scientific YYYYMMDD or for all I care location based.
 
11:56 PM
@Adriaan What you said: "more scientific". What I read: "Closer to my native conventions":P
I wouldn't care either way if at least they were standardized within a software package
(I don't ever use dates, btw)
 
@AndrasDeak Huh?? I guess Octave's repelems came first, otherwise I don't see how they would change the name. And the inputs. Thanks for telling me. I need to correct that. Any other function that changes name?
 
@LuisMendo you mispinged that one;)
@beaker ^
 

« first day (208 days earlier)      last day (3025 days later) »