« first day (518 days earlier)      last day (2727 days later) » 

1:56 AM
Hey guys I'm alive and doing well! Laptop borked out and just bought and setup my new one, should be around a bit more over the next while again!
@adriaan I know you missed me..
 
 
5 hours later…
6:58 AM
@ballBreaker I did! Good to hear from you
@AndrasDeak stackoverflow.com/posts/40874852/revisions guess he didn't learn and still has too much time on his hands
I'm tempted to roll it back, with the comment that he shouldn't go rogue on his own
 
 
3 hours later…
9:47 AM
@ballBreaker You know we all did :-)
Octave's eval has a two-input version: eval(x,y) is supposed to be equivalent to `try eval(x); catch eval(t); end
But it's buggy, at least in Octave 4.0.0:
eval('s = ( +2 ( +2 ) +2 ) +2', 's = []'); disp('Hey there!')
The normal form does work:
try eval('s = ( +2 ( +2 ) +2 ) +2'); catch eval('s = []'); end; disp('Hey there!')
This is particularly annoying because Octave's str2num internally uses eval (s, "m = []; state = false;");. So this also fails:
Can anyone confirm the bug in Octave 4.2? @beaker @Andras
z = str2num('( +2 ( +2 ) +2 ) +2'); sdffgdfgf
No z is produced by the first statement, and the second statement is not even executed.
Execution silently stops. No s variable, no running the subsequent statement.
In Matlab z will be empty (as it cannot be converted to a number or numeric array), as expected, and the second statement is executed
 
 
2 hours later…
11:20 AM
how the f*** does this guy have 37 gold medals
anonymous, Warsaw, Poland
3.8k 37 128 268
 
he probably gave away all rep in bountys
he has 554 questions
 
33 famous questions
 
just the first one accounts for half of his rep
look at all boutnies he gave
 
lol
reaping the benefit of SO bounty - doing work using bounty
 
@GameOfThrows sockpuppet of Jon Skeet, no doubt
 
11:29 AM
hahahaha
I cannot believe how many upvotes he got from a C# question
how come Matlab questions never get that many upvotes
 
Masi is that
 
There aren't that many readers in the whole MATLAB tag :P
 
Any python answer will ensure you get ~5 upvotes
only the best amazing bsxfun obscure java thingies will get you 5 upvotes
 
@Dev-iL 18 to go...
 
11:33 AM
lol
the birth of the Dev-il
 
:-D
 
@Dev-iL yesm yesm I was giving another example
any incredibly basic question from 09 will also give you shitloads of upvotes
 
matlab × 66656
 
look at the git tag
 
78822?
 
11:35 AM
I was sitll talking about upvotes sorry XD
 
It would be a terrible waste to let this bounty go un-wiki-answered
2
Q: Implemeting low-pass Daubechies wavelet filters in matlab

16per9I have been trying to implement these two filters in MATLAB: Daubechies 4 undecimated wavelet 3.75 Hz e wavelet 7.5Hz Daubechies 4 undecimated filter bank 7.5 Hz I have massively researched the wavelet toolbox and I still can't figure out what is the correct implementation of the algorithm, as ...

 
I know nothing of wavelets
 
well, I just found this: "matlab a eval at" put it in a English Gematria dictionary :D
 
That sentence needs a lot of research from my side
oh, this is related to Kabbalah
@GameOfThrows which has the same number as Hussein Obama
"Thanks Obama, for eval!"
This has been a wild ride
 
This and this ,,,
and I'm positive that I have seen some others similar like these
 
11:50 AM
:D
 
1:09 PM
@LuisMendo I don't have octave installed, I'll do that when I get home and get back, ping me if I forget:)
and it would be octave 4.0...
 
1:24 PM
@AndrasDeak Thanks, but I already tried in my Octave 4.0 and in octave-online.net, which is also 4.0 :-) It was just in case you already had 4.2
Hm I see the order of my messages somehow is not correct (I posted them too fast and I got some "retry" messages). I hope the idea is clear
 
it probably is, but then I can't help:P
unless I compile from source, which I guess I could do
 
 
1 hour later…
2:56 PM
@AndrasDeak Oh, no, don't bother to do that (is it because there is no 4.2 compiled version for Linux?). It woulds be easier for me to install 4.2. Anyway, I will post the bug in Savannah and indicate that this applies at least to version 4.0
 
well, 4.0 seems to be the one in the debian repos:)
if I want newer I have to do that myself
 
3:12 PM
I'm getting the hang of Savannah's markup \o/
 
3:40 PM
BTW, and quite relevant to this room: the new version of Dennis' Try it Online platform (still an alpha or a beta, not sure) will support Octave
Note that it runs scripts. It's not a REPL
That is, variables are forgotten across runs
He's doing an awesome job including lot of languages ("practical" in addition to "recreational")
 
4:05 PM
@AndrasDeak does this look like a person thinking in Hungarian to you? If so - could you perhaps convert it to readable English?
 
heh
not Hungarian
maybe Polish?
@LuisMendo awesome dude, that Dennis:)
 
4:55 PM
I think I want to start code golfing, but only using ArnoldC
 
@excaza TALK TO THE HAND
 
 
1 hour later…
6:06 PM
@LuisMendo I actually just started upgrading to 4.0.3 this morning, so no 4.2 yet :(
 
What is the term in English for "the accepted way/method/algorithm to do something"? "Gold standard"? "De-facto XYZ", "standard practice"?
canonical ?
 
"standard practice" works fine, I think
"canonical method"?
 
Does "canonical" imply it cannot be improved upon any further?
 
not really, it just implies that it's been passed on from The Ancients
and you're not going to do better unless you're Knuth or Dijkstra or somebody ;)
 
:)
I'm basically trying to say "Person X is investigating method Y which challenges the canonical way Z of doing task T <and he is succeeding, because Z is actually deeply flawed>"
This structure makes sense, right?
 
6:19 PM
Gold standard is when everything is compared to that data/system, because nothing will generally get to the level
 
That works... I'd probably say "...challenges the accepted method..."
 
@Dev-iL this sounds OK to me. What beaker says even better I'd say
 
or, like you said before, "standard practice" would work
 
ok, tnx
 
Alternatively, not sure if this will help make more sense: Say I wanted 'a' to be a matrix, so I inputted multidimensional([5,5;3;3]), is it possible to create a nested matrix within this, such as multidimensional([[1,1],[1,2];[1,3],[1,4]) — user296950 2 mins ago
wtf
 
6:29 PM
Sure you can... sure, that would be just fine... you go ahead and do that... ::backs away slowly:: — beaker 21 secs ago
 
6:53 PM
@Sardar_Usama How is a 100x3 matrix 2D? It has x, y and z elements! FYI, you can read about vector projection here: en.wikipedia.org/wiki/Vector_projectionMilad 32 mins ago
lol
 
@beaker According to this, it is solved in 4.2
 
7:23 PM
@LuisMendo Now I just have to wait for macports to compile it for me ;)
 
8:14 PM
@beaker Or stick to the normal, Matlab-y, single-input version of eval. And patch str2num like this :-)
 
0
Q: How can I select rows with specific column values from a matrix?

anonymousI have a matrix train3. 1 2 3 4 5 6 7 2 12 13 14 15 16 17 3 62 53 44 35 26 17 4 52 13 24 15 26 37 I want to select only those rows of whose 1st columns contain specific values (in my case 1 and 2). I have tried the following, >> train3 tr...

 
@LuisMendo I hope you can still erase your drive with the fixed str2num
2
 
@Sardar_Usama I am continually haunted by the vague suspicion that half of the questions here are asked by trolls.
 
I wish
 
I am not suspicious about that :P
 
8:31 PM
@AndrasDeak Of course. But don't take my word, try for yourself
 
posted on November 30, 2016 by Yair Altman

The new implicit expansion feature of Matlab R2016b can break user code in unexpected ways. Related posts:Setting class property types – take 2 – R2016a saw the addition of class property types. However, a better alternative has existed for many years. ...xlsread functionality change in R2012a – The functionality of the xlsread function has changed without documentation or warning in th

 
@Feeds Interesting. I wonder why MATLAB didn't choose to raise a warning on implicit expansion like Octave does.
 
btw , do you people have an alternative of `str2num` ?
I used to use it a lot before someone (probably excaza) burst the bubble and `eval` came out of it
 
you generally don't want to use it for the eval feature
 
8:41 PM
@beaker In Octave it made sense because it was deviating from "expected" (i.e. Matlab) behaviour. But that's not the case in Matlab
 
for simple input, str2double
 
@Sardar_Usama str2double
Unlike str2num, it has protection
Doesn't call eval, I think
But only for scalars
Oh and it's faster
From R16b it seems to work on arrays of strings too
 
Thanks!
don't know about the story but i hope you can erase your drive with str2double too :D
 
no, that's the point
you can always try:
Nov 21 at 13:17, by Andras Deak
>> str2num('[system(''touch ~/TMPFILE_GOTCHA'')]')

ans =

     0
str2double should error out rather than creating that file
 
> str2num uses the eval function to convert the input argument. Side effects can occur if the string contains calls to functions. Using str2double can avoid some of these side effects.
some ...
?
 
8:47 PM
some = erasing your drive:D
 
@AnderBiguri so very excited... I finally got to play with Cafe at work and have made my first cool DL application.
also @everyoneelse, hi there. I'm sorry I haven't been around. Been very swamped at work
also busy taking care of my little one.
 
hey man:)
sucks when life hinders your real online life, doesn't it?
2
 
@AndrasDeak hello sir!
it does. I feel sad for not being able to answer SO questions anymore..
I'm able to pick ones off here and there... but we have so many new people coming in to answer now that I haven't been able to keep up
 
@rayryeng how's the young 'un doing?
 
@Adriaan She's doing well... she's taller than most babies her age, but she's behind in speech.
She is 18 months and apparently at this age, they are supposed to have 10 - 20 words in their vocabulary
she hasn't spoken a word yet... however, she is very vocal.
she says gibberish and is very loud about it though
I suppose I'm not concerned... I'm sure she's just a bit slow but once she gets to the stage of talking, she'll catch up.
 
8:56 PM
@rayryeng she speaks PHP you mean? ;)
 
lmao
she speaks eval-ese.
2
 
 
2 hours later…
10:46 PM
@AndrasDeak You won :D
 
11:02 PM
how so?
 
from the user with less reputation on that legend related question
 
11:40 PM
> which might be another reason why the other answers are preferable
Always a gentleman @AndrasDeak
 

« first day (518 days earlier)      last day (2727 days later) »