« first day (72 days earlier)      last day (3163 days later) » 

7:00 AM
there are four equirects. after you blend them all together, this is the final product
 
typical hipster company, abandoned warehouse-style :P
 
hahaha not my choice in decor
And let's go one step further.... want to see it in 360?
 
holy crap that is awesome
 
Use your mouse to pan around
you can use your mouse wheel to zoom in and out
so our player... like all 360 players...
takes in an equirect and remaps it into a sphere for you
 
that...
 
7:02 AM
@rayryeng would the viewer be using somthing like a skybox to show the image in 3d?
 
so it's as if you're right there.
 
is amazing I'm actually pretty speechless right now haha
 
@legends2k - A modified version yes :)
 
nice
 
and the fact that the table has preserved shape despite the extreme stretch on the 2nd picture
 
7:03 AM
in image-processing the results are awesome, but I can't for the life of me figure out how to do those things. Visualising in MATLAB usually ends up to be a full week of trial-and-error for me
 
(table on the bottom)
 
Yup!
If you look at the extremities... at the top and the bottom...
it's as if you're inside a sphere and visualizing the distortion
Try doing this
look at the very bottom... straight down
then zoom all the way out
this is what is known as the "small world" effect.
it's one of the hypes right now for 360 images.
 
haha that's so trippy
oh and also
I see that
on the second picture, the windows above the door on the slight left
 
yeah lol
 
looks like the lines are being cut and moved, but in the 3d projection it looks perfectly fine
what is this witchcraft?!
 
7:06 AM
small world because it's like you have a camera that is above the world and looking straight down
lol... one of my bosses calls my work PFM - Pure F*cking Magic.
So... yeah that's what I do for a living :)
 
Honestly it kind of is. This stuff is really interesting haha, but I'll have to learn the math behind it before I can really grasp what it's doing
 
Lots of image processing, computer vision and numerical analysis problems daily.
 
Sounds awesome - you still do machine learning often?
 
I haven't dealt with it since my PhD unfortunately... I'd love to get back into it again... that's why I took the ML course to keep my knowledge current.
but I'd love to use some aspect of it for the applications I develop
now that's just for images lol. We also do video :)
that's implemented using OpenGL... warping each frame onto an equirect in real time
 
Ah yeah, how do video files work exactly?
 
Sorry if it's a bit off-topic but since there was recently a dropbox hackweek, and these guys made a "pied piper" compression algorithm I was never really sure what the difference between compressing a video and a picture was
 
Video compression uses temporal information
one frame is used to predict several frames after it
This is what is called intra-coding and inter-coding
inter-coding uses normal image compression algorithms to compress the frame... it's what is known as key frames
the frames after that are compressed using time information or differences from the key frame
 
ahh I see, gotcha :)
and the video looks super cool too-I'd imagine this is gonna be the next big thing on youtube, really haha
The 3d go-pro videos will look so sick dangg
 
en.wikipedia.org/wiki/Inter_frame might help in understanding video compression; where the frames after the keyframe (independant frame) may be predicted (or the delta from the i frame may be stored) so storing the entire frame is unnecessary
@rayryeng sorry to interrupt in the middle, but I wanted to ask you before you leave, would it be okay to mail you some objective doubts which you may be able to answer? it'd be great if you could reply for the ones you feel are relevant?
 
Yeah, apparently the pied piper compression algorithm achieves lossless compression of about 17% more than the normal compression algorithm
@legends2k ah okay let me read up on that real quick
 
7:15 AM
@rayryeng if none are relevant that's fine too :)
 
hmm... so it predicts where a pre-existing pixel would move to in the frame basically,
then what happens if the video has no real "prediction" and it's just random pixels popping up at random positions in the frame? will there be no compression for those?
 
then it'd have many iframes i.e. randomness is high so compression would be low
this is called entropy in information theory
 
Correct.
 
ahhh I see. Thank you so much for the clarification :) you guys are amazing teachers
 
Videos with more activity take up more space.
So if you took a video that is completely black, it's gonna take up very little space Not much activity.
 
7:19 AM
Right. I can see how thatd be very useful
 
@legends2k - Certainly. I'll try to answer what I can. My e-mail is on my profile page.
@Dev-iL - I don't know THAT much... I just make it look like I do
 
@rayryeng wow, you're kind! I've the email with me :)
 
@Adriaan - yes I agree with the image processing :)
 
@rayryeng thanks
 
@legends2k - No problem at all. I try to answer anyone who contacts me via SO if I can do it
I stand by my answers. Any errors I fix immediately.
 
7:21 AM
@rayryeng found an imaging question I could answer: stackoverflow.com/questions/32517485/… Im SO proud now :P
 
just upvoted it. Very nice.
 
honestly though, thank you ray for explaining this stuff to me haha
 
@rayryeng barely worth it, stupid fix really :P
but a rainbow is pretty 0.0
 
No problem at all. You sounded very interested in what I do, so I decided to give you a window of what I do :).... but that resulted in me blabbing
 
@rayryeng do you know the duplicate for this on the top of your head?
 
7:22 AM
@rayryeng not at all, I enjoyed the demo :)
 
haha thanks.
 
I'm a complete outsider to this stuff and other people on SO(especially python community) usually would look down upon newbies. It's a great way to learn something new :)
 
I can link to that -3 question I answered last week, it will do the trick
 
@Adriaan - I've answered at least three of those questions.... let me find a duplicate.
@Adriaan - Yes do it.
Yeah I stay away from the populated rooms - C++, Python
They are very elitist.
no offence to anyone who ventures there.
and of course I do'nt speak for all of them.
 
yeah :/ But come by the java chat room if you have time. Dustiny and I usually frequent there
 
7:23 AM
cool! I'll come by
 
It's a pretty nice environment
Yeah :) great!
 
in fact, my first task where I work was to create an Android app lol
the viewing of the 360 images was originally done on iOS.
 
And yeah, it's not all of them, it's usually a few people on the chatroom
 
they wanted me to port the app to Android.
... and I had no experience in Android btw.
 
ooh I see, interesting :D
 
7:24 AM
so I had to learn on the go.
 
Haha, gotta start somewhere right?
 
yup lol
 
Same.. I had to learn python on the fly for this internship I'm doing
 
so I used Java for the first little bit
I eventually transitioned over to Python for prototyping and R & D.
C++ for making the final applications. What I do is on the cloud... so the stitching of the images, etc.
That's written with C++ and CUDA.
 
nice
 
7:25 AM
So I use at least four different languages daily... it's a rush!
 
@rayryeng duplicate is up
 
dang sounds like a struggle actually haha. I'm going to learn C++ in UCLA
 
I'm sure @legends2k will tell you it's not so bad at the start
 
It's basically 99% C++ 1% C in UCLA, and they consider C++ as the "High level language" in those classes
 
but it gets complicated later lol
 
7:27 AM
You mean using multiple languages or C++?
 
C++.
when I went to college, it was mostly C... .some smatterings of assembly
 
@rayryeng ;)
 
and MATLAB for the higher years.
@Adriaan - cheers. marked
 
ah yeah. Actually Ive taken some community classes for C++ :) I'm just a tad scared of pointers
In reality there isn't much difference in terms of ideas between java and C++
 
@OneRaynyDay well, if C++ is taught from C's standpoint then you'd have to meddle with pointers
 
7:28 AM
I do most of my webdev/algorithm stuff in java, so I think it'll be okay(?)
 
oh no.
I'd argue that learning Java first is better.
It gives you better intuition of pointers.
 
otherwise for quite sometime, until you get comfy with it, you can stay away from them and still write very meaningful programs
 
right. I think our professor's teaching is very "started from the bottom now we here" kind of style
@rayryeng I did start learning with java :)
 
yeah, that's the problem with current methods.... starting low-level. A lot of people get scared of pointers.
 
+1
 
7:29 AM
Yes sweet. Learning Java / Python first is better... then transitioning to C / C++ makes things much easier.
 
some books are good at avoiding this trap
 
Learn the fundamentals first.
@legends2k - I agree.
 
C++ Primer, for one, is good if you want to avoid pointers and get to grips with C++ early on
 
Right! I know pretty much how pointers work and memory/address in the heap
 
then in the later parts of the book it deals with low-level when the reader's confidence is up
 
7:30 AM
But I am just not ready to get some memory leaks in my projects just yet haha
 
bjarne stroustrup? yeah awesome book
 
Ah awesome. I think our textbook is called...
 
I wouldn't call it a primer. It's very detailed lol
 
BS's book is very good too, but it isn't beginner-friendly, he says that in the intro :)
 
one second..
 
7:31 AM
ahahah
 
"Absolute C++"
Sounds a bit intimidating haha
 
uh.. yeah lol
 
oh but Bjarne's book isn't C++ Primer, it's The C++ Programming Language
 
Isn't bjarne the guy who made C++ itself?
 
I'm getting the titles messed up
 
7:33 AM
yes
 
hold on
 
Oh then I'd expect his books to be top notch haha
 
Stephen Prata
That's it
 
if you need the list, here's a good one - stackoverflow.com/questions/388242/…
 
nice
 
7:35 AM
ooh awesome list, bookmarked
unfortunately I don't see absolute C++ in there... I cry
 
lol oops
remember that book lists are subjective.
people learn from different books differently.
 
yes
find the one that strikes a chord with your mind
 
I learn a bit differently... I fool around in the terminal and look up questions on how I do things along the way
I like to get my hands dirty... well I can do that because I know how to code already
 
Yeah haha. Python does the terminal fooling-around the best I think
 
Yes totally agree.
 
7:37 AM
Can you do that with c++? just write blocks of code and see what it executes
 
totally! I write toy programs all the time to see what it does and then learn from it
 
Best way to check the output of code without setting up the environment or compiler.
that link is much better.
ideone.com is for multiple languages.
 
oh my. ideone is awesome
 
7:38 AM
true
 
yeah ideone is awesome.
 
I actually didn't know it supported that many languages - I used it once for java and totally forgot about it
 
It allows me to code something up and show someone that it works without sending a file
 
yeah, you can share the listing and the output conveniently
 
Collaborative code editing.
 
7:39 AM
Ah, yeah I've done something like codeshare before - but it was called floobits
 
as long as someone has a link to the code, anyone can edit it.
 
yeah, I think floobits supports that as well - it's really neat :)
 
@legends2k - Thanks for stopping by! lol. I wouldn't have had this interesting discussion if you didn't.
 
not at all, I enjoyed it too
 
:D
 
7:41 AM
it's nice here, this room I mean
 
@OneRaynyDay - Hope what I talked about with regards to what I do for work wasn't confusing.
 
^I second that
 
yeah I recently created it a couple of months ago.
 
many times I've been in those elitist rooms, just keeping quite observing how the conversation goes
and don't feel like jumping in :D
 
There used to be a MATLAB room several years ago, but it got discontinued due to inactivity
 
7:42 AM
@rayryeng I totally understand! it's honestly really impressive
 
I recreated it trying to revive it again. Going good so far!
thanks :D
 
It's kind of my dream to be doing something I love in the future
and making a big impact on whatever project I'm doing
so now I really look up to you and how much you've achieved :) #cheese
 
that's what anyone can hope for!
haha thanks
@legends2k - well I'm glad you feel welcome to jump in!
 
Oh yeah, but since you're so busy, how do you have time to tutor? :o
 
oh I do when I come home from work lol
I haven't had a session in a couple of weeks.
The last session I had I was helping someone create a partial chess engine... nothing fancy
just given a piece, figure out all of the moves they can make
given the pieces of the other colour.
 
7:46 AM
isn't that the entire game theory tree? LOL
 
as well as the pieces of the same colour. Ignoring checkmate situations, etc. not too bad
 
That sounds like a ton of work
 
oh no lol. It wasn't so bad
 
ah, well I'm pretty interested in a few things right now, and a chess engine sounds pretty nice - it's AI right?
 
.ah yeah :) the guy said he'd contact me for the next part... nothing yet
but yes, it's machine learning
 
7:47 AM
Since Ill just be taking C++ in ucla's first quarter, I think I'll be trying to learn a ton of this stuff
probably can't do it on my own, so you mighht get a bit busier in the coming months ;)
 
first year is usually a lot to take in. different environment, different way to do things
hahaha sure.
 
yeah definitely, but I want to get a headstart in the things I'm actually interested in
 
My C++ is rusty though... but I'm sure I can get around.
 
switching between languages seems like a breadth while I'm not really getting any depth
 
Last time I did anything C++ was 3 months ago. I need to dust it of.
 
7:48 AM
I can pitch in when I'm in this room, if that's fine
 
sweet.
yeah of course it's fine lol. why not??
 
@rayryeng oh no, no need for C++! I mean anything - probably java haha
@legends2k thank you very much haha :)
 
OH. well that's fine lol.
 
Yeah, as long as I learn how the algorithm works I think implementation in different languages should be a breeze ^_^
 
cool!
 
7:50 AM
true, when you're starting, or even later, I'd say always pay attention to algorithms, techniques, design, etc.
the language, implementation, etc. would come in much later and would be easy
 
haha yep :) I found that learning python wasn't too difficult a task
just took me a ton of googling
 
language learning is just syntax learning
 
Hi guys! Quick question... Do you agree with me here?
 
@StewieGriffin I agree :)
 
Also agree
Ok guys, time for me to go. I'll come back in the morning
@legends2k - Please drop by any time :) It isn't C++, but we do have interesting discussions here.
 
7:52 AM
but shamefully I give those full answers sometimes. I make sure to write a little note that they should learn how it works though
 
not limited to just MATLAB.
 
@rayryeng, last time I did something in C++ was 8 years ago =P Aced the finals, but figured MATLAB was more up my ally =) Why do it manually when Mathworks have done all the hard work :P
 
C++ comes up every now and then though.
 
@rayryeng Alrighty, goodnight man! catch some sleep :)
 
lolol
@OneRaynyDay - yup! Take it easy guys.
 
7:53 AM
@rayryeng sure, will definitely drop by now and then
 
But, but... it is the morning... ?
 
sounds good! looking forward to it
 
In my neck of the woods at least :P
 
yes, it's 4:00 a.m.
 
@StewieGriffin haha, for me it's 1 AM, and I think for ray it's 4
 
7:53 AM
good night!
 
I don't mind what label the room has on top, as long as the discussions are pleasant, which they are
nighty night!
 
night!
 
So, tomorrow morning.. Is that Friday or Saturday?
 
hey legend, is it possible for me to maybe catch your email in case I want to keep in touch? :) I'll try to help when I can but I think you're probably a more experienced programmer than me in general
@legends2k So I'd understand if you don't want to send me your email in worries that I might bug you haha
@StewieGriffin right now it's thursday/friday :) for me it's transitioning between the two
 
no problem
legends2k at yahoo dot com :)
 
7:56 AM
@legends2k, and your password?
 
cool! Thank you very much :) I'll make sure to only ask you questions that I can't figure out by myself(or google)
 
@Stewie 10 stars lol
 
pulls out rainbow table
 
@OneRaynyDay sure; I'm a bit lazy in checking emails, so the heads up is that it'll be replied within a couple of days
 
@legends2k yeah that's not a problem :)
 
8:03 AM
Btw. Does anyone of you use numpy much?
 
guys I'm running out for lunch, see you laters
 
It's more compatible with other software I use, so it's actually quite cumbersome to use MATLAB sometimes. I'm starting to get to know it, but I still don't know it well enough to tell if it's a good substitute for MATLAB.
 
@legends2k ah see you!
@StewieGriffin Hey, I'm using numpy!
Albeit very little
it's super powerful though. It supports matrix operations very well
 
I don't really need vectorization etc., but the indexing and permutation functions in MATLAB are great...
Do you have equivalents to bsxfun etc.?
 
Ah. I'm not too sure about those - I'm an incoming freshman college student so I haven't taken linear algebra yet
I haven't used a ton of numpy's functions
I suggest asking on python's chatroom
(but warning: tread lightly when you see Ffiseygd/davidism/Kevin)
especially davidism. They're very strict on the rules of the cbg room and will often kick you out of the room for a period of time if they think you are "annoying"
 
8:13 AM
Yeah, I've asked around there before... I usually thread lightly, but I can sense the environment is a bit more strict...
I can understand it though... I there are constantly 30 people in there, and 20 of us don't know what we're talking about :P
 
@StewieGriffin yeah, but I think it's sometimes good to get scolded by the stricter guys in there
I didn't know that the past me 5 months ago was considered a help-vampire haha
 
Hehe :)
I've asked a few: "This is very simple so I don
 
I quickly changed after davidism harshly pointed that out to me and called me an annoying kid who asked basic questions
 
't want to be downvoted to oblivion on SO: How do I add two numbers?"
 
ahh gotcha haha
Yep, but it's always good to have gurus like Ray in here, like Martijn in the python chat, etc
I feel like Martijn knows more about python than the man who created python
think his name is Guido
 
8:15 AM
Ok, maybe a bit more advanced than that... But still, questions that I know are too basic for SO.
 
@StewieGriffin yeah, sometimes they throw an online pdf at you and tell you to read all of it before asking them more of those types of questions
which I can understand if there are way too many people asking questions
but some people have no poise when directing people haha
 
Maybe I should create a Python account :P To keep the track record on this account clean :P (It's not against the rules to have more than one account, as long as you don't use it to vote on your own answers etc.)
I didn't really mean that, but... ;)
 
LOL, what are you talking about? I didn't read anything whistles
I'll pretend I didn't hear that ;) go ahead haha (but be gentle, don't break the system)
 
But again, if you have a few thousand unicorn points, I think people see through their fingers a bit... :)
hehe, I'm not planning doing it!
 
yeah haha :)
I'd rather keep around my level of reputation until I genuinely become smarter/more experienced
I'd hate to disappoint people who say "WOW, 50K REP? You must be as knowledgable as rayryeng then!"
 
8:26 AM
Hehe :)
I'd rather have >2000 rep, cause then I can edit without being peer reviewed, vote to close questions, do moderation stuff in the review queue etc. :)
I've stopped with the review queue though... I got tired of it in the end. I think I've done about 5000 reviews.
 
wow, that's pretty impressive :)
5000 reviews is a ton of work!
 
Quite a lot is routine work though... Some questions are obviously low quality, and some answers are definitely link only answers.
And some edits are clearly good or bad.
 
Ah I understand
 
But yes, 5000 edits are still a lot of work... But someone has to do it =)
Ray has been even more active in the review queue then me, so he's definitely a good contributor on SO!
 
8:52 AM
@StewieGriffin Dang... 5000 edits throughout what time frame?
And sorry for the late replies, genuinely falling asleep while trying to get this GUI to work haha
one sec, let me go on the python room real quick
 
9:13 AM
@StewieGriffin definitely agree with you there
 
 
1 hour later…
10:16 AM
@OneRaynyDay, there's a limit of 20 review per day in each category,,, I got my first review badge in may 2013, and my last steward (+1000) badge october 2014. I think I did my last review this January (except accepting pending edits when browsing questions).
 
@StewieGriffin ah I see :)
 
I did a sh*tload of flagging though, before I could vote to close. Flagging as low quality moves the question to the low quality queue for others to review, thus getting the questions closed faster. Flagging is good, but don't use spam, abusive or moderators flag unless it's absolutely necessary. =)
 
11:14 AM
In my current early flagging status Ive already noted that some flags get declined/disputed more than others. I try to avoid those.
 
12:13 PM
@Adriaanm sorry for "taking" your answer. I noticed after I wrote it that you had said that you would post one in a day or two. =/
 
12:47 PM
@StewieGriffin I already forgot I'd do that. Besides, you completely outgolfed me; I'd have used the naïve nested loop :P
This is my usual problem here on SO. I can post a solution, but it's cumbersome, ugly and unreadable and then one of you MATLAB hot-shots comes by, golfs it in 3 different ways each being more elegant and faster than mine ;)
I'll stick around, learning loads for the time bein
 
We didn't come out of the womb able to code golf :p
 
I didn't say that; I just need some time to catch up
but Im going to spend my afternoon on the Theory of Relativity and Partial Differential Equations, such a splandid life I have
 
Unless you're Divakar, who I'm confident came out of the womb bsxfunning everyone
5
 
is there a good tutorial on bsxfun somewhere around SO? I see it all the time, but Im still not sure when to use it properly
 
@Adriaan i know, right? Sometimes it works and you can't figure out why :P
 
1:06 PM
stackoverflow.com/questions/32523976/… o.0 that delimiter. What idiot uses ||,|| as a delimiter
 
because .csv is too mainstream
 
COMMA separated value
not LINE LINE COMMA LINE LINE separated value :P
.llcllsv is and interesting extension
 
haha pronounce pipe pipe c pipe pipe s v?
 
would work as well
 
@Adriaan Sounds fun, you in Physics?
Or just interested
 
1:11 PM
Geoscience and Remote Sensing is masterstudy 1, Applied Physics is master study 2
 
Right on, my undergrad was applied physics
Geoscience sounds neat too though
 
I started with earth sciences (i.e. hammering rocks) and realised hammering rocks with gamma-rays is much more fun
 
haha ;D awesome
 
Ha! Divakar is bsxfuning again: stackoverflow.com/questions/32524204/…
 
Yeah I was trying to solve it by myself
'A new answer has been posted'
 
1:20 PM
I solved it, with my trusty for loop :P
kind of like trying to catch a race car whilst riding a donkey
 
hahaha
Still, he asked it without iterations over B so I'm not sure your answer fills OP request tho
 
Im not iterating anything
Im looping
 
for loop is iteration
 
1:53 PM
oh wow, format has some nice properties apparently, cool
 
2:21 PM
0
Q: how to get the devision of these two number in matlab? 255 & 1.7957e+04

Nehathis is my matlab code: mu_n=Tnume_mu/Tdeno_mu; When I am going to rum this than it is showing 0 always. Although variable Tnume_mu and Tdeno_mu have values as mentioned above in Question.

for real? :D
 
this does brighten my afternoon :P
minus 4 already: Time to get that 'reversal` badge!
 
You mean 'Peer pressure'?
 
@HamtaroWarrior - Thanks for shaving 4 bytes!
 
No problem ;)
 
2:34 PM
@StewieGriffin - I use numpy every day
It's a lot like MATLAB which is why I can hold my ground.
@StewieGriffin - numpy has broadcasting built-in to the framework. No bsxfun exists because you don't need it
 
-4
Q: Why does the division of two finite numbers returns zero?

NehaThis is my MATLAB code: mu_n = Tnume_mu/Tdeno_mu; When I am running this, it is showing 0 always, although variable Tnume_mu = 255 and Tdeno_mu = 1.7957e4.

 
@thewaywewalk - I've voted to reopen. You made the question more clear with its title change.
 
Why was this question so heavily downvoted and closed? For me it's a valid question? Do I misunderstand something? In my eyes it couldn't be clear that Matlab also does know other data types than double. As everything usually is double, the result the OP got, is certainly weird.
 
@thewaywewalk - I didn't downvote.
 
but how would you accidentally use some other datatype than the default double?
 
2:47 PM
you don't know where he got the values, from some function or whatever
 
Side note:
0
Q: MATLAB: create a function 1 x N that can accept array of logical or double

kalI have to create this first script that can later be used by different 1 x N arrays. How would I code a 1 x N array function so in later use can include elements either 1 or 0 (logical or double). As an example : V = [1, 1, 1, 1, 0, 0, 0, 1, 1, 0, 0, 0, 1, 1, 1, 0, 0, 1]; So I can later tes...

Can someone explain to me how the input and output relate to each other?
 
homework!
 

« first day (72 days earlier)      last day (3163 days later) »