« first day (274 days earlier)      last day (2957 days later) » 

5:00 PM
yes now, you will thank me :)
they have a whole series about power
fusion, water, space-based power, ...
 
@Amro oh :) I'm listening to Machine Learning and Azure.
 
no those are like a sit-down with a guest..
I'm talking about the "geek-out" episodes
 
oooh.
sorry I missed that.
let me see
 
filter by tag
 
I just typed in geek lol
I'm listening to Quantum Computing :D
 
5:03 PM
where the host does a bunch of research and goes on a geek-out!
yes
 
:D
 
there's also one on Moore's Law which is relevant to the discussion above
 
nice
Project Sunroof! :D
 
no spoilers please, I havent listened to that one yet :D
 
:D that's all I will say.
 
5:09 PM
@ray I had my consultation today..
going to be 4 grand
 
consultation?
 
@rayryeng that's a really bizarre question you linked up there....
 
@Dev-iL I know :D
I didn't understand what was being asked.
It seems you have uncovered it
 
@rayryeng oh sorry haha laser eye surgery
I booked it for April 15th ^_-
 
OHHH
very nice.
How bad is your vision?
 
5:12 PM
Yeah, so soon! woop woop
-4.00 in both eyes with varying degrees of astigmatism
It was 3k for the standard laser and 4k for the more advanced one.. going with the more advanced one
Less complications, and for an extra $150 per eye they will do unlimited enhancements for life.. which is good because I have a 10-15% chance of regression
 
yeah that's why it's so expensive lol
yikes. well that's good then.
 
Yeah exactly
I'm super fuckin excited
 
> for an extra $150 per eye they will do unlimited enhancements for life
 
Have had glasses for 15 years now
@Amro Yes cyborg oculus implants..
I'm opting for the xray vision implants to see through women's clothing
 
exactly sounds like you're getting "upgraded"!
 
5:15 PM
sign(round(-0.001,2)) => 0
fprintf('%.0f\n',round(-0.001,2)); => -0
 
The only trick will be learning how to switch it off for men..
 
@Dev-iL and fprintf('%.0f\n',round(-0.001,2) + 0); => 0
 
@Dev-iL Did you know -0 + 0 = 0 ?
 
@zeeMonkeez Obviously what you're adding is a larger 0
 
It's the new Geordi LaForge.
 
5:18 PM
I only deal with discreet 0
I can't have anyone knowing what I do with my zeros
 
don't let the 1s know
@Suever good job on the edit. Question is more clear now.
 
@rayryeng 1s don't have a hole in them though...
 
no, but you can use them to plug holes.
 
lmao
 
that's why they go so well together.
 
5:20 PM
My 1 is more like a 7 though
 
@ballBreaker Did you know lim(sqrt(8)) -> 3 when 8->9 ?
 
such an awkward shape... it's a wonder how it can fit.
 
You gotta come at it at an angle
 
:D lmao
 
@Dev-iL I do now
 
5:22 PM
@ballBreaker But be careful - as it only works for "large values of 8"
 
@rayryeng Yea at first I was really confused
 
hmm
 
I'm on a mission to re-title questions to actually make them searchable (by me)
 
@Dev-iL so like.. when 8========9
 
@Suever I used to do that a while back... but now I can't be bothered. I just CV lol
 
5:24 PM
@ballBreaker Dangerously close to a profane ASCII right there...
 
@rayryeng we all think at one point we can fix the internet :)
 
Yeah the D didn't really make sense
Had to use a 9
 
@ballBreaker What's the integral of 2x with bounds x = 10 to x = 13?
 
 
@Amro :D:D:D
 
5:24 PM
@rayryeng Oh god
I have to actually remember how to do integrals?
 
Definitely strange behavior but I'm not sure why you would round outside of fprintf.
 
What is this
googles wolfram
 
int(2x) --> x^2... [x^2 | (x = 10 -> x = 13)] = (13^2) - (10^2) = 169 - 100 = 69.
 
fprintf('%0.2f', -0)
 
mm right I knew it was a reverse derivative haha
 
5:26 PM
:D
that nerd joke didn't work so well
In MATLAB:
>> syms x;
>> int(2*x, 10, 13)

ans =

69
 
I knew it was something dirty
 
:D:D
Have you ever done 6922251 * 8 on your calculator?
turn it upside down and what does it read?
 
don't think so
I'm guessing 80085?
 
yup :D
BOOBLESS
 
ooo lala
 
5:28 PM
The story goes something like.... There was a girl whose <those things> were 69 pounds all together... and they were 222 much... so she went to 51 different doctors... and eventually she found one, he gave her some medication to reduce the size... and 8 weeks later... she became BOOBLESS.
the stuff you remember from your childhood :S lol
 
hahaha yeah I remember that one
please explain <those things>
I do not understand <those things>
 
BOOBIES
2
 
Thanks
MUAHAHAHA
 
great, now when a random person comes in, that'll be the last thing they see.
HEY
ok I'll star it
 
bahaha I already did
Don't worry
Is it time to go home yet
brb
 
5:32 PM
ha :)
@Suever your friend is back
0
Q: To Find Double Sequence With Transforms in Matlab?

MasiI want to find double sequences (of 10-bit data, not necessary here) which length is more than 2. The double sequence of certain elements can be numbered by two indices, here. Example data is data = [ 4.123456 4.123456 4.123456 4.123456 7.123456 1.123456 1.123456 1.123456 ] which expected o...

This time it isn't about GUIs.
 
5:45 PM
@rayryeng oooh! can I play? :D
;)
 
5:58 PM
Guys, wth is going on here:

S1 = struct('A1',num2cell(1:3) ,'B1',num2cell(4:6));
S2 = struct('A1',num2cell(-3:-1),'B1',num2cell(-6:-4));
M = containers.Map(num2cell(1:2),{S1,S2});
%%%%%%%%%%%%%%%%%%%%%%%%%%%
M(1)

ans =

1x3 struct array with fields:

A1
B1
%%%%%%%%%%%%%%%%%%%%%%%%%%%
M(1).A1
expectation: 1x3 cell
reality: 1

Basically I want M(1).A1 but MATLAB gives me M(1).A1{1}
But it works with an intermediate variable (T=M(1); T.A1) ... Perhaps related to this
 
wrap your num2cell calls in a cell
 
@excaza the problem is not how I initialize my values, it's with how MATLAB returns things
 
It is though
 
its the dreaded subsref/subsasgn again
 
3
A: How to prevent the creation of struct array in matlab?

excazaThis is the documented behavior: s = struct(field,value) creates a structure array with the specified field and values. The value input argument can be any data type, such as a numeric, logical, character, or cell array. If value is a cell array, then s is a structure array with the ...

 
6:01 PM
ask @Suever, he knows how nasty these things are
 
@beaker what? lol
 
@Amro Oh boy do I
 
basically MATLAB's implementation of subsref/subsasgn for containers.Map is not perfect!
 
@rayryeng I did link to the comment I was referring to... so... what what? ;)
 
yeah which is why I don't get it lol
 
6:02 PM
so you have to do: tmp=M(1); then tmp.A1
 
Why would you want to play with that question? :P
 
but not in once: M(1).A1 it is handled wrong!
 
@excaza Yep, seems you're right.. I'm sorry for doubting you :)
 
@rayryeng sorry... <sarcasm> can I play!? </sarcasm>
 
maybe, maybe not, Amro is also right
 
6:03 PM
@beaker oh :D
I'm not playing this game. The OP wants to find a solution, but using a very specific set of rules.
 
@Dev-iL listen to me, its subsref/subsasgn!
 
There are many in the dupehammer bag that I can use, but the OP specifically wants to find the output using a certain method.
If I even breathe on the question, my comments inbox is going to blow up
 
@rayryeng I actually have a solution for that question..
 
@Amro That very well may be, the question is which method is more future-proof, and I would bet that the intermediate variable one is safer
 
6:05 PM
@Amro do you? :)
 
assuming I understood right :)
@Dev-iL yes, intermediate is definitely safe
@rayryeng its sorta similar to this
24
Q: Finding islands of zeros in a sequence

mervImagine you have a very long sequence. What is the most efficient way of finding the intervals where the sequence is all zeros (or more precisely the sequence drops to near-zero values abs(X)<eps): For simplicity, lets assume the following sequence: sig = [1 1 0 0 0 0 1 1 1 1 1 0 1 0 0 0 1 1 1 ...

 
yeah that's one possible solution I would have used for the dupe.
 
finding runs of repeated numbers
 
perhaps I should switch to Map2 which possibly has another implementation of subsref...
 
I still have no clue how the results relate to double sequences
 
6:07 PM
@Dev-iL believe me when I say, no implementation of subsref is 100% correct!
its impossible :)
 
@Amro Oh I remember playing around with it myself at one time :D
 
Suever has been writing a wrapper for "struct", and he can tell you all the craziness of that subsref method
 
@Amro Like for Octave... or?
 
no, a struct-wrapper with reference semantics, so you can pass a struct to a function by ref, not by value
let me find the github repo
 
suever/structobj
 
6:10 PM
ah that :)
 
Gotta run but I can definitely be back and chat about it
 
@Amro sounds awfully similar to a handle-class "POJO"
 
@Dev-iL it's handle-class that encapsulates a struct. The difficult part is "operator overloading" to get all those "indexing" right with subsref/subsasgn
 
6:17 PM
I see that it's a bit more complicated than that... seeing how you need to have the ability to "add fields" during runtime (which means it's not a naive Class since its properties are known)
 
@ballBreaker there's really only one thing you say to cover your bases. "He/she embodies the best of both of you. You couldn't have done any better. Congratulations".
 
what about ugly babies?
 
YOU LIE
:D
 
Newborns all look like lizards.
 
and "the best of both of you" could also mean the ugly :D
@TroyHaskin yes... yes they do
 
6:19 PM
Wait is it just me or did Masi's example data not at all actually provide an example of his real data
 
@Suever nope... that's also why I didn't touch it
usually his test examples don't compare to the actual problem.
 
@Dev-iL Yea it's a little tricky. If I were actually smart, I would just use a dynamicprops superclass
 
@Suever Gods do I hate that. "Help with this problem with this example that's so abstracted and simplified from my actual use case that your solution isn't really going to help!"
 
Rather than trying to wrap a struct
 
@rayryeng hahaha I was just trying to make you laugh
 
6:21 PM
:S wtf is this question
 
When I see babies I always say nothing because I have nothing good to say about anything, ever
 
-1
Q: matlab gui implementing keystroke dynamics for user authentication

Gaurav kumar SinghI am working on a project in matlab which has a gui for a login system. Instead of a standard password based login system, I am trying to develop a system which grants access to registered user upon successful recognition of keystroke. function typeHere_Callback(hObject, eventdata, handles)...

@ballBreaker it did :D!
 
@rayryeng yay
 
> grants access to registered user upon successful recognition of keystroke.
Seems secure as hell.
 
All robots can share a login
 
6:24 PM
I love collaborating with bots!
It never turns out bad.
 
Oh man I was just reading into that
I love the internet
 
Microsoft employee: Let's let everyone on Twitter feed information into our AI, so she can learn.
Rest of team: Brilliant! Nothing could go wrong.
 
Yeah haha
Maybe the real experiment was a meta experiment
Not how well the AI can learn, but how quickly the internet can break it
They all made bets on how long it would take for the holocaust to be denied..
 
@TroyHaskin lmao
 
@ballBreaker I think the real challenge is creating an AI that can parse for historical context and learn how not to become a neo-nazi in the face of Twitter trolling.
 
6:30 PM
Real challenge yes, but less fun
 
<(?:"[^"]*"['"]*|'[^']*'['"]*|[^'">])+>
Hahahahaha.
I love that post.
 
wtf
Yes, it does solve the case. I will let you know if I find anything interesting with bigger data sets. — Masi 4 mins ago
 
Clearly you're on retainer for $0.
 
@Suever It's required for the badge... you must create an answer that works on the actual data by looking only at unrepresentative sample data.
 
its called machine learning :)
 
6:39 PM
@Suever :S?
@beaker :D
 
is it only me, or does making a distinction between "integer" and "decimal" when both are in decimal representation rub anyone else the wrong way?
I mean, "42" is as much a decimal number as "42.3"
 
unikong, huh?
 
(isn't there even a language that calls their floating point numbers "decimal"?)
@Amro I guess it's better than Donkeycorn
 
@beaker There is the decimal datatype, which uses base ten instead of binary for it representation.
 
@TroyHaskin no, that's not what I was talking about... they had integers and decimals
hang on
 
6:47 PM
 
lol
okay, maybe that was what i remembered... decimal floating point CUDA libraries
delete that part of the rant ;)
the rest still applies
 
6:58 PM
<(?:"[^"]*"['"]*|'[^']*'['"]*|[^'">])+>
So is the above thing an easter egg, or what
Or did some russian hackers actually pwn the webapp
 
Pretty sure it's an easter egg referencing this awesome answer.
 
> Every time you attempt to parse HTML with regular expressions, the unholy child weeps the blood of virgins, and Russian hackers pwn your webapp
 
Look at me not getting the reference to the reference I referenced after I got the reference.
 
I love that answer
 
@Amro that answer is awesome.
So many people have flagged it for vandalism lol
that they had to make a special note at the bottom of the answer
 
<(?:"[^"]*"['"]*|'[^']*'['"]*|[^'">])+>
HAHAHAHA!
 
@rayryeng This revision is great: "prune trolling/rambling".
 
:D
@TroyHaskin did you see the edits made by bobince?
"I dun a typo dur"
 
Haha. Yeah.
Even the last rev: "P̶͈̫̥̬̼̩̥le̢̼̱á̘͍͇̰͔̺̭s̛͍e͉͖̙͉̻͕͓ ҉̼͇s̫t͍͟ơ̥p̗̩͉ ͚̳͈̯̬̳ṭ̵̝h̥̬͎͔̫e ͠f̝̺l͠a̻̟͞g̲̪̞ͅgi̢n̟͖͖̜̗̻g̩!̮̰̱̝̫ ".
 
:D:D:D!
 
Adi
7:13 PM
Hi!
 
runs away
 
Adi
How can I get an array with the maximum values of other 3 arrays?
 
I kid. Hello.
so you have three arrays of the same size, and you want to find the maximum along each position?
 
Adi
I've tried Cmax = max([R; G; B]); but it's not working
Yes
 
What are the dimensions of R G and B?
 
Adi
7:14 PM
These are 2d arrays actually
 
max(cat(3, R, G, B), [], 3)
 
Adi
120 x 80 each
 
^^^^
 
Adi
I made it with reshape
 
You need to stack the arrays in a 3D array, then search along the third dimension
 
Adi
7:15 PM
But I tought I can make it works without reshape
 
or if you really want, you can do it by 2D if you wish.
if your image is stored in im, you can do this with reshape
 
Adi
I have it like this now: Cmax = max(pixelArray, [], 3);
Where pixelArray = imread(path)
 
@TroyHaskin lol the history there is really good
 
@Adi That should work
 
Cmax = max(reshape(im, size(im,1)*size(im,2),[]), 2);
that's if you want it to be reshaped to a 2D array
but that should work if pixelArray is a colour image.
 
Adi
7:16 PM
Thanks!
 
Np.
 
unless you want 1 value for each plane ;)
 
Adi
I want to optimize my code and I try all kind of things
 
Understood
 
Adi
I need a good time for this
 
7:17 PM
Don't we all
 
hahaha yup
 
@rayryeng Does this weather make you want to die as well?
I think I would last approximately 2 weeks in London, UK
 
That's a trick question. I'm already dead.
 
ZOMBIE!!
 
:D
 
7:19 PM
@rayryeng Were you a zombie fetus who grew up to be a regular zombie
 
@Amro I read a paper a long time ago... from a Canadian Mathematics student... about the mathematics and dynamics of what would happen if zombies took over the world.
"WHEN ZOMBIES ATTACK!: MATHEMATICAL MODELLING OF AN OUTBREAK OF ZOMBIE INFECTION"
 
Is it weird if I had a dream last night about zombies
specifically a zombie orgy?
 
lol
 
@rayryeng ba dum tss
It was
 
7:20 PM
1 message moved to Trash can
Sorry I couldn't let that joke go to waste
 
oops.
The joke has gone to zombie hell. Bye bye.
 
hahaha
Noo
 
too bad!
 
Decent number of papers on PubMed about zombies
 
we should give the Trash can a twitter account
 
7:23 PM
@beaker we should
let's call it Dustbiny
 
I was thinking of the douchebag repository, but that could work
 
sometimes I just browse the trash can
I wonder if this user is actually this user
 
better yet, just make a bot that extracts single comments from random chat rooms
 
@beaker I suspect trollololol
 
> joeschmoe: can you do that in pandas?
 
7:28 PM
pandas is a Python package for data analysis.
but I suspect that it was flagged because no one knew the context lol
 
pandas = tables in MATLAB
well, pandas dataframes
 
@rayryeng i just made that up
 
but, why would anyone use either, right?
 
as random stuff that might be incomprehensible to someone reading a twitter feed
 
oh :)
@AndrasDeak HEY IT'S PDE DEAK
 
7:30 PM
> Does this look infected?
 
mutate the E to an I and the A to a C and it's even better
 
gonna go eat... i've obviously got low blood sugar or something
 
@rayryeng yo yo yo
 
@rayryeng PDI DICK?
Don't know what PDI is
> Pre-Delivery inspection
 
> Partial Differential... Idiot?
@AndrasDeak how's it going my friend?!
 
7:32 PM
I'm an exact, total differential fan myself.
 
> Pretty Damn Interesting
 
@TroyHaskin :D
 
@rayryeng well, thanks
I'm tired though, supervised a mid-term from 6 to 8 PM
 
good. how's your course going? Mine is almost at an end.
 
tomorrow's practical lecture day
 
7:35 PM
oh those are the worst lol
practical lecture day?
 
it's middle of the course here:)
 
ah :) when did you start?
 
this is week 7 out of 14
well it's a practical course, that's just what I meant
and how are you?
 
@Adriaan god I love this song.. it get's me everytime
> Does that look like pus to you?
> No I think it's lint
 
dammit Masi
 
7:44 PM
^^ Was actually by dave grohls original band
(before foo fighters and after nirvana)
 
I was going to ask "you mean Nirvana???":D
 
@AndrasDeak doing well :) designing the last MATLAB assignment
 
@rayryeng kick their ass
I want to see their assignments on SO
 
@AndrasDeak hahaha ;D
 

« first day (274 days earlier)      last day (2957 days later) »