« first day (429 days earlier)      last day (2816 days later) » 
00:00 - 17:0017:00 - 00:00

12:05 AM
hahahahah. "yo just print like "hello world bro" ahahahah
starts typing why in matlab
 
 
6 hours later…
5:58 AM
@TasosPapastylianou Amusing links :)
 
 
2 hours later…
7:59 AM
@Dev-iL did you fix that? your weigthed mean?
@TasosPapastylianou I suddenly got 5 notification. Confusing dude, that one XD
@LuisMendo Indeed! fortunatedly my PC hostname is also 8chars , so it was easy to solve!
 
start of uni again eh?
 
8:14 AM
:(
I was in holidays a week and a half, but last week I had a seminar
So started this week basically
but yeah :(
 
@AnderBiguri Didn't know it needed fixing
 
Or whatever you were triying to do with it XD
 
I was just asking if it made sense, because I've never seen something like that before
perhaps I've invented something new (though probably not :P)
 
I think it does make sense :P
you were doing \sum{w_i x_i} / \sum{w_i}
rigth?
 
The thing is, in Kalman filter, you weight data based on variance^-1 (aka "information") but in my case, the variance increases with the signal
BUT my SNR increases faster, so weights like in KF make no sense
 
8:18 AM
you can use a weigting function
instead of the values themselves
so instead of w_i=SNR_i
it can be w_i=exp(-SNR_i)
as a completely random example
 
@AnderBiguri I'm not doing weighted averaging exactly, but something that is reducible to weighted average (for explanation purposes)
@AnderBiguri The problem is I haven't bothered analytically computing the optimal weights for this specific data, so I'm doing some guessing :)
 
We are working now in an algorithm that its called "adaptatie weighted...."
and we do something like that
and we use weigth functions
but there is no research to say "this f is better that this other one"
 
So my current guess is "SNR makes sense, let's use that"
 
just try
 
@AnderBiguri exactly
The only way I can think of to test this theory is using generated data
that is, when the ground truth is known
 
8:23 AM
what we do is we use some value as yours, e.g. SNR
but then we do apply a function to it
functions generally comming from research in anisotropic diffusion
Fig6
In our case we like g(x)'s, but depends on the case
 
Thanks for the link; I don't understand what this does do my SNRs exactly... It needs to be carefully benchmarked
 
basically what I mean is, if SNR is non linear
you may want to use g(SNR) as a weigth
instead of plainly SNR
 
8:39 AM
Why do the weights have to be linear?
I guess you meant to say that they're "unfair" in some sense, or unjustly biased towards higher SNRs
 
I didn't meant to linearize them, they can be non-linear, and probably you want them non-linear
just saying :P
In our case, we get better results using those functions than using directly the "weigth" we want
just letting you know, it may work, or not, for you
 
Thanks! The problem of optimal weights is one of the things on my mind...
 
 
2 hours later…
10:26 AM
The editors in my paper have splitted C++ in 2 lines
T.T
> the toolbox is coded in C+
+/CUDA and blahblahblah
 
10:50 AM
@AnderBiguri Nice! =)
C+ is the golf-version of C++. Why use two + signs when one suffices?
Vocabulary help: Large three phase transformers are often connected to the grid syncronized one phase at a time to avoid large inrush currents. I can't find any information about this on google (thanks to my limited vocabulary). Any tips?
 
11:09 AM
@StewieGriffin lel
@StewieGriffin I remember nothing from my power engineering courses. NOTHING.
Sorry I am no help in here
 
@AnderBiguri The one thing I remember best from my courses was when the professor said that voltage and current had angles...
I just wanted to leave :P
 
hahah. P,Q,S and pitagoras, that I remember
How was your Magaluf experience, BTW :P
 
Luckily I remember a few more things, since it's my profession :P
Not too bad actually :) We lived in Palma Nova, about 5 minutes walk from the party street... Enough to stay clear of the worst brits ;)
 
nice!
teh weather was brilliant that I know, as I was in minorca :P
 
The weather was OK, not brilliant! It rained one of the days :/
 
11:17 AM
yeah, but that happens. Still rainy days are not cold days
 
In my hometown it has rained 633 mm in July and August! I didn't go to Mallorca to get rain! :(
 
I like to go to the beach when it rains :P
 
27 days of rain in July :( Which is supposed to be the best month!
 
hahaha
sounds like the UK
 
Yes, rain is actually nice sometimes, but I'm really really tired of it now :(
I can guarantee you, it's worse! :P
 
11:22 AM
I trust you :P
 
At least compared to London, there are probably crappy places in the UK too :)
 
Yeah, Bath is not that bad actually
 
"London, England arrogates on average 594 mm (23.4 in) of rainfall per year, or 49.5 mm (2 in) per month."
We had 630 during the two "best" summer months :(
Is that where you live?
 
Bath, yeah
rains 1 out of 2 days in average
 
Well, it's better than no rain at all! :P
Anyway, I got to go... I have a report due... Someone has power grid to build :)
 
11:30 AM
;)
 
11:43 AM
For the record, this was what I was asking for earlier :)
 
12:18 PM
> How to get a script to give a value to an input prompt?
:|
 
heh
@excaza @Suever are you familiar with pyplot.setp? I just learned about it, but it's fakken awesome
 
are you making fancy plots?
 
I often do
I just answered a question now, and a competing answer had this:)
 
oh, your logo changed colour
 
Oh Ander, you're not paying attention;)
61
Q: Why is my profile image different?

LaurelWhen I first signed up on a Stack Exchange site and got a profile image, it was this one (see my current user card I'm actually not sure what I look like any more): Later, I got Area 51 and SEDE profiles, and my user image there was a different identicon. Because reasons I already know. I wou...

it's a weird bug on gravatar's side, and they seem to have disappeared from the face of the Earth (not a good sign)
 
12:30 PM
weird
but I just noticed :P I was away
 
any experts on octave here that could help me with a trivial, yet not trivial, block of code that keeps throwing an error ? :-/
 
You must be green, this is unacceptable
@borgmater depends on how properly you ask the question :P
 
@borgmater I suggest asking a question :)
 
tbh, I did, but im so eager to solve im shaking
ty nevertheless :)
 
But yeah, in the MATLAB and Octave room , generally people know a bit of MATLAB and Octave :P
 
12:31 PM
hahaha, that was my thought too, you can never be too precise !
 
@borgmater Steve meant: go, tell us the question or link to it
 
1
Q: Writing simple equations in Octave

borgmaterImagine I want to define a function in Octave z(var1, var2) = a(var1) + b(var1) + c(var2) + d(var2) + const. Prior to this definition, I would like to define all the neccessary functions, something like: a(var1) = var1^2 + const, b(var1) = cos(var1), c(var) = sqrt(var2 - const) etc. Later in time...

 
But that has an accepted answer
 
i edited afterwards without pseudo code
 
But....
If you had a question and it was solved you accept it and thats it
if you have then ANOTHER question
you dont edit the first one
you ask a new one
because, it is ANOTHER question!
 
12:33 PM
What if I wanted to 2D plot only a single function, lets say c, what would be the syntax for it ? Im trying to set the var axis (x) and plotting it like this: var2 = -10:0.1:10; plot (var2, c); Graph is showing x axis to be from 0 to 1, just like y axis :-/ — borgmater 4 hours ago
 
okyou are right, and i think i should post another question
 
@borgmater yes
now go remove the new bit from the old question
 
did, ty for your advice :)
also, one more question, concerning the Octav itself, if its no hassle
 
no problem
read this please, don't be a chameleon
@borgmater it's not a hassle, we'll tell you when we've had enough:P
chat, especially this chat, is pretty informal
 
cool :)
 
12:36 PM
messing up stuff on the main site is more of an issue
so go ahead:)
 
how can i include line numbers while copying code from Octave ? For example, if i want to c/p Octave code, what should be enabled so i can c/p the line numbers too ?
 
Dont!
:P
Its beter to post Minimum Complete Verifiable Examples [mcve] , so people can copy paste them (without removing line numbers)
If the example is complete, i.e., runs "as it is", then line numbers will be the same for everyone
 
i get it, makes sense
tyvm :)
 
Converting the scripts to functions doesn't make sense here. He wants to run a testing script that runs another script which asks a user input. In production the script will always ask the input to come from keyboard so it doesn't make sense to make it a function to accept parameters. However for testing purposes wants to run it automatically providing the inputs so he can test a bunch of input values. So again, the suggestion of converting the script to a function does not make sense. — Sembei Norimaki 2 mins ago
lol
seriously
?
 
@borgmater but you can explicitly specify in the question body which line the error is referring to
 
12:48 PM
thats true, let me edit
 
R = @(lat_sta) Req/sqrt(1 - f*(2 - f)*(sin(lat_sta))^2);

Ra = @(lat_sta) R*cos(lat_sta);
R is an anonymous function, then you multiply it with cos(lat_sta)
it's exactly what the error is telling you
error: binary operator '*' not implemented for 'function handle' by 'matrix' operations
 
@AndrasDeak wow, that's way nicer than hoping get_something or set_something is actually implemented
 
@excaza exactly. And you set multiple things, and you can also query all the available parameters and their valid values
 
You may want to do Ra = @(lat_sta) R(lat_sta)*cos(lat_sta);
 
or something else
we don't know what he wants:P
 
12:50 PM
or something else, indeed Xd
 
it could also be Rs or Req, which are scalars
 
was pointing out the conceptual mistake :P
 
Actually, what @SembeiNorimaki is saying is what I want to do. I have a program that takes inputs from the user. — jamesh625 18 secs ago
the blind leading the blind
 
@AnderBiguri yes, that what i want to do :D
 
ffs
 
12:52 PM
@excaza right now: (╯°□°)╯︵ ┻━┻
 
seems i forgot to add the (varible) part aftet using them elsewhere
 
if that solves your problem, delete your question
 
im editing as we speak
(you guys rule)
 
we really do
 
I rule over a small kingdom in west europe
they call me emperor
 
1:00 PM
your solution worked ! until the next error showed up ... "operator /: nonconformant arguments (op1 is 1x1, op2 is 201x201)"
and its probably at this line : R = @(lat_sta) Req/sqrt(1 - f*(2 - f)*(sin(lat_sta))^2);
 
Req is a number, the rest a big matrix
what are you triying to do?
 
@borgmater again, read the error and try to make sense of it
 
If it is elementwise operators (i.e. Req/M(i,j), for each i,j) then use ./ instead of /
 
it's pretty self-explanatory: you can't matrix divide a scalar with a matrix
 
i just want to write an equation in the form of y = 1 / sqrt ( 1 - sin^2(x))
 
1:03 PM
then use array operations instead of matrix operations, as Ander already said
 
You ever go to youtube at work
and almost accidentally type 'youporn' because you were tired?
 
IT
WORKED
 
@ballBreaker I dont go enough to that webpage to have it written in my automatic operations
 
@borgmater \o/
now you can delete the question:)
 
look at this magnificent beauty first !!
https://s13.postimg.org/a0qbu4ojb/Capture.png
thank you all for your help :)
 
1:06 PM
no worries
 
@AnderBiguri Yeah since switching to pornhub it's only decreased in severity for me
 
@borgmater what is that?
 
I have a bookmark for youtube...
So on my personal laptop I never actual typed in 'youtube'
....
People would always come over and try to go to youtube and it would auto-fill to youporn
Hilarity ensued
 
@borgmater ehem... ehem... DO NOT USE JET COLORMAAAAAAAAAAAAAAAAAAAAAPPPPPPPPPPPPPPPPP
Im calm now
I am, really
:P
 
1:08 PM
posted on September 02, 2016 by Sean de Wolski

Sean's going to take this week to celebrate the top files and authors of the File Exchange. As you may know by now, MATLAB Central is celebrating its 15th birthday.... read more >>

 
Also, my VP is raging right now lol it's making me laugh and giggle at my desk
 
@borgmater ah nevermind, I was only asking because your data is 1e6 in magnitude and I was a bit worried about precision. But you're not actually solving any equations or anything, so it's probably fine
 
She got all huffy puffy about me making the coffee again this morning
 
@ballBreaker lol you bastard:D
good job
 
I ended up talking to her like a child lolol
 
1:09 PM
worth arriving 10 minutes earlier each day
 
Talking to a grown ass woman like a child, is something nobody wants to do..
@AndrasDeak lolol yeah, and its her fault that I am showing up early :'D
 
@excaza why not add that as an answer?
@ballBreaker employee of the month:P
@ballBreaker except you
 
hehehehe
I'm getting to much enjoyment and entertainment out of these people's misery right now
 
I was purposefully getting under my bosses skin yesterday in a passive-aggressive emaiil exchange
*\o/*
anyways, I'll stop being a dick about it, I think'
I'm almost certain in my gut I'll be laid off on tuesday
 
1:14 PM
0
A: How to unpack the result when iterating through cell array?

WillThis can be achieved in many ways. Depending on how further complexity is added to your code, any of these might be appropriate. Use the for iterator on the cell array and unpack each result disp([fruit{:} ' is ' flavorDb(fruit{:})]); or disp([fruit{1} ' is ' flavorDb(fruit{1})]); Use a fo...

THAT'S SO LOUD
 
@ballBreaker remind me never to hire you!
 
@ballBreaker fingers crossed:P
will you revert to just being a dick, then?
 
@StewieGriffin Hey now! I've been a very good employee here for 2 years, they brought it on themselves!
 
@excaza ^
 
urge to kill
rising
 
1:19 PM
:D
 
@AndrasDeak Yeah, exactly
 
@AndrasDeak Its something that will in the future resemble to a gradient descent algorithm ... hopefully ..
@AnderBiguri Cmon, its magnificent :D :D
 
NO, NO JET COLORMAP
thisones are magnificent
all but the first!
 
0
A: How to get a script to give a value to an input prompt?

Khalid AbdullaOk, this is a bit ugly... but might be a helpful work-around. The idea is to replace each instance of input with a newly defined function myInput which checks if a variable PROMPT_VALUE has been set in the base work-space; and returns that if so, and otherwise passes through to the built-in inpu...

WHY
 
1:27 PM
Ye, kill all the happiness ive acquired in the last hour or so :(
 
unsubscribe...unsubscribe!
I'm just going to go back to being annoyed at python
 
@borgmater just change the colormap! :P
 
Lets pretend i did and we all can be happy together :D
 
:P
Honestly, for you its OK, but if you ever show research results, use other colormaps. Its not just a style choice, jet is bad
 
ok, will take your advice, but since this was for testing purposes, its fine as is
 
1:31 PM
@excaza I told you to answer
HA! I didn't remember that viridis>parula, but it is (at least for Mona Lisa)
 
yes it is!
 
It's a workaround, but under no circumstances a helpful workaround. The helpful solution is to do it differently. — Andras Deak 18 secs ago
 
Speaking of nothing: I've been wondering about one thing: How many minutes would it take for someone on SO to figure out my real identity?
 
@StewieGriffin ¯\_(ツ)_/¯
 
@StewieGriffin but your real identity is clear
 
1:33 PM
PS! I'm not asking you to try, I've just been curious :P
 
Stewie Griffin
you are in TV all time
 
Crap, I forgot I'm a celeb... Darn...
 
I guess its quite hard, unless you want to show your email etc, SO is quite good with covering your ass
 
Yeah, but I've probably left a whole bunch of clues... Education, city/country, hobbies ++
I've tried not to make it too obvious since I don't want SO to pop up if I apply for a job one day, but it should be fairly simple...
 
second to go over all clues, that would be pretty hard
 
1:41 PM
quoting for posterity
According to @excaza this is laziness and not an excuse for such a poor programming technique. Of course it is not as brilliant and intelligent as his b̶e̶s̶t̶ ̶s̶o̶l̶u̶t̶i̶o̶n̶ ̶e̶v̶e̶r̶. — Sembei Norimaki 7 mins ago
 
heh
I'd have a few things to say to that guy, but that would just lead to flame
 
he's obnoxious
he insists on commenting on like every question and his way is basically always the best way
 
@andras .. dammnit, either my boss is good at bluffing or I'm not getting laid off next week.. hmm
 
@AnderBiguri I did say laziness after OP said rewriting would take too much time
 
@ballBreaker when great minds battle...
 
1:44 PM
yeah, im just not goingt to feed the trol anyway
 
@excaza that's what I would explain
first you told them to use functions, then they were whiny about not wanting to do it
you were exceptionally non-snarky compared to your usual level, at the beginning:P
1
A: How to get a script to give a value to an input prompt?

excazaModifying existing code to accommodate both manual input and testing inputs is trivial: function foo1(niterations) if nargin == 0 niterations = round(input('How many iterations? ')); end for ii = 1:numel(niterations) % Run the thing fprintf('Running some random program with %d itera...

 
@AndrasDeak hahahaha yeah he said "I think we'll have a bunch of work for you for the next few days, and the reason we haven't started you on <project> is because we want to get this one done first"
 
heh:D
 
I got my Wipebook Pro today, it's going to make prototyping much more fun now :)
 
^_- unless he blind sides me next week, I'm probably okay.. unfortunately lolol
OH well, I have an interview next Thursday with a company that sounds pretty awesome, so I have my fingers crossed
 
1:47 PM
@excaza heh, founds goofy
 
it totally is
 
That. Is. Awesome.
 
stick a pad of engineering paper into the back and I'm good to go!
 
So I was trying to find the "THIS IS AWESOME" scene from I love you man, and had to settle on this, because.. you know.
 
@excaza got a downvote, lol
there's got to be a real valid reason for that
that's OK, I haven't downvoted the other answer yet
 
1:50 PM
wonder who it was
 
yeah
 
tbh, the other answer isn't really downvote worthy
 
it isn't, but there are Higher Goods to be considered
 
it's ugly but it answers the ugly question
 
I'm sure if we'd ask, that twat would say that you got the downvote for your "passive-agressive verbiage" or something
well, he would say "no reason has to be given"
 
1:54 PM
whatever, if he wants to white knight he can go right ahead
 
Have my upvote
To compensate
 
and my axe
3
 
balance has been restored :p
 
and my bow
 
anywho, off to orientation
 
1:55 PM
@AndrasDeak lmao
 
grumble grumble
 
good luck orienting:)
 
@AndrasDeak How are things with the wife, by the way?
 
fine, fine, thanks for asking
 
Hopefully I'm youthful enough not to stand out too bad
 
2:00 PM
is orientation some "start university course" kind of thing?
 
Yeah, I'm taking classes at MIT
 
oh, awesome!:)
what level is it?
 
@AndrasDeak good good
 
Undergrad right now, I'm taking some computer science so I'm starting at the beginning
 
@ballBreaker should I ask about the shitstorm that is your love life?
@excaza oh I see your youth concerns then;)
 
2:03 PM
@AndrasDeak It's less of a storm these days and more of a slight drizzle
 
I hope it'll be fun
 
@AndrasDeak Yeah, I'm the big guy
My umbrella isn't quite big enough
That being said, things are approaching equilibrium with the whole situation
 
hope it settles in a few months/years:P
 
lolol :D
Well yeah it'll take a while for it to be completely normal
Believe it or not, I'm not the screwed up one in the relationship
 
yeah, hard to believe:D
sorry, man, but at least you've found your match
 
2:18 PM
@ray I found this website glassdoor.ca .. has some stuff on PointClickCare lol. Here was someone describing their interview for the position I'm applying for
> Application
I applied online. The process took 2+ weeks. I interviewed at PointClickCare (Mississauga, ON) in June-2015.

Interview
The interview process had 3 rounds :
1) HR Round on call
2) Online programming test
3) Face to face Interview with the team

The programming test was bit difficult and had some theory questions as well.
In the face to face interview, all the interviewers were polite and courteous, and asked me questions covering the end-to-end web application development in Java.
@AndrasDeak bahahaha yeah
Sometimes I think some of the crap she puts me through is just karma for shit I put my ex's through
 
would be a reasonable assumption:P
also, python guys have mentioned glassdoor and I think in positive context
 
@AndrasDeak hehe
Yeah I'm trying to prep for my technical interview next Thursday.. just trying to get a feel for what's going to be asked
The nice thing is that they have salaries on there too
So I won't feel bad asking for around 70-75k lol
 
@ballBreaker O.o
Thats great
 
Yeah the average is 78
I except at minimum 65 (which is what I asked for, and didn't get at my current place)
But I'm going to go maybe like 72 and see what happens lol
 
never hurts to ask does it?
 
2:35 PM
nope :3
Plus 65 is what I said I'm currently making
65 + 30% ~= 80k
so what I would be asking for is completely reasonable
I just need to get started on studying for this interview, I'm so bad with starting work
 
2:48 PM
What's average for Canada as a whole?
Psst, @ballBreaker random German electropop:
Fahren, fahren, fahren auf der Autobahn!
 
hahaha I remember these guys
@Adriaan mmmmm not sure
Definitely lower than that though
The census was just a few months ago
But I think ~50k
 
@ballBreaker darn, still a bloody lot
€33k/year is what we cal "modal income"
 
@Adriaan yeah that number seems higher than I thought it would be... I was sure it'd be lower
minimum wage full-time here would put people ~30k/year
 
@Adriaan which is about the same amount of money
 
lol yeah with the conversion it's pretty close
 
2:59 PM
minimum wage here is if I remember correctly €11/hour
 
50 CAD -> 34 EUR
 
that'd get you 20k/year
@AnderBiguri ah, ok. Thanks
So your 70k/year isn't even that much :O
 
Its quite allrigth
 
@Adriaan nah it's not, really, it's good though in general
It's more than average
I think teachers here make something like 40k lol
But for someone with just over 2 years of experience it's great
 
3:58 PM
Anyone feeling so inclined should add a "MATLAB doesn't necessarily pass-by-value" topic.
0
Q: How to pass a structure or a class object to functions by reference in Matlab

EmanI have multiple matrices that should be passed to different functions many times in an iterative algorithm. How can I avoid the unnecessary copy of variables to the function to speed up the program? Is there any way to group these matrices in a structure or class and pass them by reference or poi...

These C people are incorrigible.
 
6
Q: Are Matlab Matrices transferred pass-by-value or pass-by-reference?

Yunus Eren GüzelI'm new at Matlab. You may find this question silly but I really wonder if the statement below is a pass-by-value operation or pass-by-reference operation. I = imread('logo.png'); binaryImage = im2bw(I, 0.4); Itemp = binaryImage; Does the Itemp is a new matrix whose values are copied from bina...

vote dupe
 
@TroyHaskin aren't we :")
 
@beaker Yep.
@AnderBiguri Good find.
 
00:00 - 17:0017:00 - 00:00

« first day (429 days earlier)      last day (2816 days later) »