« first day (1882 days earlier)      last day (3081 days later) » 

4:00 AM
@gladsocc I'm well aware, I'm trying to walk him through it
 
ah sorry. @WGhost made me think everyone's talking about something else
 
@gladsocc I am a good member of the community :)
2
 
I need to learn more data structures.
 
@jaggedSpire Yes, and if each node has only one child, the max would be whatever N is
I assume
 
so if you jam the maximum possible number of nodes into every layer until you run out, and you run out at the end of filling layer x, then you have 2^x + 2 ^ (x-1) + ...2^0 nodes
@Tanner yes
that sums to 2^(x+1) - 1
nodes may fit in a depth x binary search tree
binary anything tree really
 
4:03 AM
no it's just N
 
it's a tree where nodes may branch into up to two nodes in the next layer
@WGhost <3
 
:)
 
does that make sense to you, @Tanner?
 
hi. my clang-format is broken. :( anyone knows something about this?
 
@jaggedSpire he's not given the depth though, he needs to find the depth
 
4:05 AM
@WGhost yes, so you solve for it
 
or are you just sneaking in EXTRA knowledge
you TRICKSTER
you mean for the min?
 
@WGhost you got me. I'm a stinker.
@WGhost yes
 
ah yea
 
I've been talking about the min
 
@jaggedSpire yeah it makes sense how you got that, however I'm not sure why the max would be 2^(x+1)-1 instead of N
 
4:05 AM
@Tanner max is ez and sooo 4 minutes ago
 
7 mins ago, by jaggedSpire
looking at the minimal depth case, how would you make a binary search tree have the lowest depth it could?
 
we've moved on
 
oic
 
keep up! pay attention, student!
 
:P my bad
 
4:06 AM
LOL, I like you already
 
minimal depth -> maximum nodes in each layer -> 2^(x+1) nodes in depth x tree
as a summary. :P
 
that's rare, I usually don't like many people who come here
 
@jaggedSpire: and you do that by balancing it
 
holy crap it's warm outside
 
@gladsocc yep
 
4:07 AM
it's still in the 50s in the middle of december
 
void f(int a, int b, int c, int d, int e, int f, int g, int e, std::function<void()> op);

is formatted as

void f(int a,
...
std::function<void()>
op);

with the `op` at the end breaking into the next line for some reason..
 
es ist nicht warm hier
 
i'm glad people are talking about Binary Search Trees
that's the only data structure I know
 
@jaggedSpire thanks! 2^(x+1)-1 to get the min depth, n for the max depth, got it
 
@gladsocc you should get on that
 
4:08 AM
if i change `std::function<void()> op` to `std::function op` it won't break.

anyone knows why is that?
 
@jaggedSpire: i should, just've never needed it in my web dev projects.
 
@Tanner yes, though that's not a magic formula, that's the formula for maximum nodea in a tree of depth x
just remember that. :P
 
hehe ok
 
@villageidiot because you broke it
 
@melak47 well yes, with brew install llvm --HEAD but never mind that. i want to know what's the option to fix it! Oo
 
4:12 AM
solving for layers instead of nodes, (2^(x+1)-1 = N) -> (x + 1 = log2(N + 1)) -> ( x = log2(N + 1) - 1 ), and then because you can't have partial layers, round up
should work
 
I've run `clang-format -dump-config and diffed it with my old config but couldn't find the culprit
 
I dunno. try a different config. try a different clang-format version.
 
Hello friends may I inquire as to why you banned our highly esteemed fellow, Nooble?
It was that intercoursing lettuce again wasn't it
 
that rape thing, again? :/
 
user406009
@nick He made a joke that some people got offended by.
 
user406009
4:20 AM
The IRC logs have more info because they are uncensored: irc.loungecpp.net/2015-12-11.log
 
user406009
(Unlike here)
 
socc please delete your account
 
@Lalaland: I'm not a cool kid :(
 
@Lalaland If I was mod, I wouldn't do a thing unless it was extremely explicit, or it was attracting unwanted attention from outside the room. Otherwise, I'd just delete it without suspending anyone. That said, I'm not mod, and I have no say in this right now.
 
user406009
@Mysticial So I guess we still don't really know?
 
4:26 AM
correct
 
Lettuce make a big deal out of this and get it blown out of proportion
 
GOTO(1100,1004,1004,1013,1020,1004,1004)(IKIND+1)
You can goto multiple labels?
 
i cant into assembly
 
SO chat's lame
there are so many better alternatives out there sans IRC.
 
user406009
@Rapptz Except for the user base.
 
user406009
4:29 AM
We all know that communities eventually die out without a stream of new users.
 
bruh our user base is like <40.
 
at least SO chat guarantees message delivery and loads the last few hundred messages automatically
 
user406009
Yes, but it is constantly changing.
 
user406009
Sure, it changes slowly, but new people enter and leave.
 
user406009
And that's important to keeping the community alive.
 
4:30 AM
you get the 1 random person enter and 1 random person leaving once in a blue moon
 
user406009
I think you are underestimating the effect of new people on this chat.
 
user406009
For instance, Nooble and nab are both relatively new.
 
I've been here for 3 years.
You get new regulars very rarely, sure.
 
Already?
 
nooble and nab were here longer than me lol
 
4:31 AM
yeah I think longer actually
 
I remember you joining at some point. And then watched you grow up from a baby to 10k. It was beautiful. :P
 
i cri
 
user406009
Anyways, every person adds something to the Lounge.
 
user406009
(Well at least most of the time)
 
4:32 AM
except me
 
rapptz do you have an auto refresh bot or what
 
i only take away
 
that consecutive streak makes me uncomfortable
 
it's probably gonna die soon
 
user406009
And we lose that if we move away.
 
4:33 AM
@WGhost you can take what you want from me
 
I've been in a lot of chats.
 
yo
 
The stream of regulars here is incredibly small.
 
I've been in this game since '96
 
Other chats do it a lot better.
 
user406009
4:33 AM
@Rapptz In what way?
 
Recent example: On Discord we have a group of friends that initially started with 6 users in August.
It's December now and that number is up to 39.
 
Wrong room.
 
1 message moved to bin
Another group of friends (programmers mainly) initially started out as 3 developers.
We spread the word around and now that group has >800 people.
Spread out into ~16 subgroups.
Each subgroup with their own group of regulars.
All of this stuff happened in the span of ~4 months. Yet we've been here for many years and it doesn't happen here.
 
but how many of them do C++
 
user406009
You make a decent point.
 
4:36 AM
Nor will it ever.
 
user406009
There are also logistical issues with changing to a different chat.
 
@AngryLettuce Not a lot actually.
 
user406009
I think one interesting potential solution would be a bot to keep the different chats in sync.
 
Most of them are JavaScript peeps.
popularity seems to be JavaScript > Python > C# > everything else > C++
but I think that's mainly cause we don't really have a C++ room so
 
user406009
It also might be sampling bias. Dynamic languages are probably used in scenarios where more energetic, talkative people thrive.
 
user406009
4:38 AM
Startups, rapid development, etc, etc.
 
Making bridges should be straightforward
 
i'm open to a diff platform
what do you recommend rapptz
 
idc as long as it isn't IRC
 
why, irc 2 barebones 4 u?
 
4:42 AM
IRC blows m8
can't even write multi line messages
 
2 tru
 
Anyone remembers the icq? 😹
 
multiline messages overrated
just use coliru kekeke
but ya tbh i don't care either
irc is fine w/ me
or something else
 
user406009
Truthfully, I don't really care too much about the chatting platform. Is there is enough buy in from the rest of the room, I'll switch to whatever.
 
user406009
The trick is seeing if other people are willing to switch.
 
4:46 AM
@Rapptz that explains it
> Compilers don't do RVO for parameters
is this true?
yeah no it's not
thanks reddit
 
why would you go to reddit
you're better than that :(
 
Frankly I just want to move on. This episode has dragged so long, one could not but wondering that maybe we all care about it more than we should ...
 
user406009
@Telkitty I think everyone wants to move on.
 
user406009
But things keep happening.
 
@AngryLettuce Not clear to me what it even means. RVO applies to return values. I suppose technically it's (vacuously) true though: a parameter has name, so if you return a parameter, what would be applied would be NRVO.
 
user406009
4:54 AM
Like Nooble's latest suspension.
 
@Telkitty i want to move on...to a diff platform
 
Alright, Im back with another fun question
I found many examples of code on the site to do this using recursion, but I'm only seeking a mathematical equation. Essentially, I want to calculate the longest possible path in a binary search tree.
All I'm given to work with is the depth of the tree
 
> do this using recursion, but I'm only seeking a mathematical equation
how is recursion not mathematic
do you know how to define a piecewise function in maths?
 
Wellp, my aluminum material is grainy as fuck, needs more samples.
 
Yes, I do
 
5:03 AM
then do it
it's extremely simple
 
hmm
I'm not sure if I see how that can solve the problem
 
Preview it in VRay, Garak, it's going to be fun to compare with inengine... In 26 minutes.
 
@Tanner Do you see how to solve it in code
@ElimGarak bby you should invest in a mini gpu cluster
 
sorta
 
5:06 AM
yeah grainier than a teen with acne
also the junction between the light globe and the table is fishy
how many samples per pixal
 
Irradiance map requires way too much subdividing when I leave it to the mercy of the emissive radiance of the display image (Star Trek starbase), so added the area light (spherical thingy)
@AngryLettuce On the aluminum, 32. Usually, you can get away with 16.
For aluminum in those lighting conditions 64-128 probs. But life is too short for that.
 
user406009
Clearly the solution is to ditch photorealistic rendering.
 
user406009
Cartoon graphics for the win!
 
I really enjoy cel shading
And other types of shading with few colors
You know with steps instead of a linear curve
 
user406009
5:15 AM
I find that good art style is often more important than the tech.
 
Shomin Sample must be the best stupid anime I've seen until now.
It's so incredibly stupid.
Yet so entertaining.
 
Anyone know if you can input unicode escaped characters in c++?
 
Does std::string s = "\u00e2\u0098\u00a0"; etc make sense
 
Well, given the timing, it's as not shit as it can be
 
5:19 AM
@ElimGarak Nice ..ufo.
 
@Prismatic Yeah. I get it. Don't let anyone tell you otherwise.
 
:]
 
@ElimGarak did you do the models
 
@AngryLettuce Did the model*, the other one is just a copy of the right one. I also did a few other gadgets to give my test worlds a "real feel". Naturally, given the logo, they can't be used in production. The logo is physically cut into the mesh.
Didn't do the starbase, tho, that's an image from Google
 
5:22 AM
Do you guys know about this, its p hype: google.com/get/noto
 
guys you have 20 seconds is mithical a good name for an app or incredibly shitty
 
@nick Mysticial is better
 
yeah well that's taken
 
@nick why don't you ask mysticial
 
user406009
5:23 AM
@nick My gut reaction is shitty name.
 
user406009
Because it doesn't tell me anything about the product at all.
 
Guise, what should I model next? Something real world but cool in shape
 
got it, yeah that was my concern too
 
what if it's a reference for ancient myths
 
user406009
@ElimGarak Yourself.
 
user406009
5:24 AM
Do a self-portrait.
 
@Lalaland Actually, I did that already .D
 
user406009
Or self-model, or whatever you call it.
 
3 years ago :D
 
it's just a codename I've been using for a project because I couldn't think of anything else
ive kinda grown fond of it though
 
Something hard surface, organics are so mushy and simple
Maybe that starbase? Or a ship from Star Trek?
 
5:25 AM
a porsche 918 spyder
 
Nah, I want something authentic. You can download <generic_stuff> from the internet :D
 
then send me your renderer with accompanying model files so I can finally make my gaem
 
@nick what does your app even do
 
> From 1961-1985 Sakamoto enjoyed an entertainment career as solo singers untill his sudden demise in a plane crash in 1985.
Erm.
that ended abruptly
 
@ElimGarak How Can They Be The Same Model If There Are Two
Also what's going on guys why are you all awake in my TZ
 
5:28 AM
Found some weird concept art online
HA! Maybe a portrait of Bjarne! :D That doesn't exist, rite?
 
doesnt do much at all rn
but it is buttiful
 
@ElimGarak neat
 
gtg later peeps
 
@nick ur hot
 
more text rendering progress
 
5:39 AM
what are you up to?
 
writing a simple gui lib
 
with a special project in mind or just the lib?
 
originally I wanted to make two applications; a vehicle obd app (like Torque for Android if you know what that is) and a map rendering application (like Google maps but using openstreetmap data)
So I'd be using the gui for those projects
 
I don't know torque but I happen to know what obd is
(me working in the automobile industry)
 
Nice. I really got into obd and stuff a long time ago. I bought a bunch of those ELM adapters
 
5:44 AM
so I assume you're using OpenGL for your rendering?
 
I wrote a lib for using them too... and I wrote an open source higher level lib for parsing OBD messages too (github.com/preet/libobdref)
@TobiasLangner Yeah, OpenGL 2.1 / ES 2
Using SDL2 for windowing
 
what's the javascript engine for in your libobdref?
If I may ask
 
@AngryLettuce ty bb
 
duktape
 
no - not which one. But why is it in there.
 
5:47 AM
Oh, so you can dynamically construct and parse messages
 
ok. Sounds reasonable.
we're doing experiments with llvm for such things
 
javascript or JSON..?
 
An example of the definitions file I use is here: github.com/preet/libobdref/blob/master/definitions/obd2.xml
The idea is to be able to quickly iterate and share OBD parameters from different protocols and the like... there are (or used to be anyway) a bunch of enthusiasts that would go looking for specific messages for their vehicle
With a JS/XML file you don't have to recompile... so if I had a file for my Subaru's manufacturer-specific CANBUS messages, I could send them to a friend with the same car
 
interesting
 
5:55 AM
I have to leave guys - I have to go to work.
 
@JerryCoffin Btw, as much as you hate the PHP room, they do come in at the right times under the right circumstances: :)
Aug 14 at 0:22, by Mysticial
user image
 
have a nice day/evening
 
bye
 
@Mysticial I have nothing against the PHP room at all. I just despise PHP itself.
 
oh right
 
5:57 AM
@Mysticial das rite, starboard champ right here
 
@Mystical which FFT implementation or library do you prefer?
 
glibc's
 
@edition I roll out my own.
 
@Mysticial ah, I see
 
For my purposes, a custom FFT is much faster than FFTW or anything else that's off-the-shelf.
 
6:07 AM
What purposes?
Do you have the world's fastest music equalizer implementation?
 
My Pi program.
 
oh yeah you're the pi guy
 
Mysticial is an elite Pi guy with over 300 confirmed decimals
 
you guys are great at mathematics, and at writing software.
 
I can count to potato
Productive things I've done today so far:
 
6:15 AM
Look at the mirror, say the word "fuck" three times and a mod will appear.
 
lol snackchat politics are still going on
 
I'M ALIIIIIIIIIIIIVE
 
@AngryLettuce There's no elision.
 
@VermillionAzure regrettable
 
sigh
@Mysticial So is it a form of non-negative matrix factorization?
 
6:22 AM
hey cinch
@Mysticial how many digits do you memorize
 
@StackedCrooked uh?
 
@WGhost who are ou
 
@VermillionAzure ou
 
ALOHA SNACKBAR Retards started celebrating early.
 
6:27 AM
> is it this the towelhead's youtube channel?
 
@WGhost 3.1415926 is as far as I know.
 
lol, nub
 
Why memorize when you can calculate, bby
 
@VermillionAzure No, it skips the bit-reversal that every other FFT library does.
 
6:28 AM
@Mysticial unfortunately i have very poor understanding of both
 
@ElimGarak cuz it gets the ladies
 
linear algebra applied to this and fourier transforms
 
Reversal of bit fortune
 
...I take a Fourier transforms class... next next semester :(
 
Or in layman terms, nearly all off-the-shelf FFT libraries do an unnecessary step which I don't need. And that step is very expensive.
So I roll out my own and further customize it.
 
6:31 AM
But why don't you need it?
How is it applied to pi anyways?
 
Faster Fourier Transform
 
Doesn't FFT apply to... signals?
Idk wtf i'm talking about so take it away
 
LOL WOW YOU HAVE NO IDEA WHAT YOU'RE DOING DO YOU
see look it's easy to fake knowledge ^
 
pls no cinch
 
I just finished our Laplace transform class
so I'm almost there
 
6:34 AM
dude i dunno anything about that shit
 
Supposedly we went over Fourier series but I missed that class
 
dun worry bro
 
Yeah, you won't need that at McDonald's anyways.
 
ya you good
 
FT is transforming a function into a sum of sines
Laplace is a generalized FT
gross explanation
 
6:36 AM
Nicely done, lettuce discuss
 
salad aleikum
 
Laplace is... different though, right?
They have different properties or something?
 
No they serve essentially the same purpose
They just take different domains of input and produce different domain of output, but their general intent is the same
 
But they have different applications
 
6:40 AM
...if my Google-fu and memory serves me, Laplace is applicable to one-sided functions while Fourier spans the entire time domain
 
I forgot the details frankly
 
And... Laplace is suitable for stability testing because it doesn't require the finite energy requirement or something?
 
But they do the same thing, one is a subset of the other
 
But they don't...
 
I studied all that shit and it all went out the door after finals. lol
good times
 
6:41 AM
Google it / wikipedia it / whatever
 
ahhhhhhhh
 
Fourier is a subset of Laplace, the end
Accept it
 
@AngryLettuce No, it's the other way around
 
Cinch, pls. First get a grasp of the Fourier series before trying to comprehend Laplace's transform, or the Fourier transform.
nevermind the fact that laplace's transform actually came before FS.
 
@ElimGarak We learn Laplace before Fourier series in our electrical engineering curriculum
 
6:42 AM
@VermillionAzure no
Laplace is a generalized Fourier transform
 
@AngryLettuce Disgusting
 
Yes, I know how they teach you, and it's wrong. Fourier series is more fundamental (easier to comprehend) and actually Laplace is one of the people who was evaluating Fourier in the early 19th century. The review team actually went all Cat Plus Plus on it.
 
@ElimGarak I just read a note on that
 
was it a la or a si
 
6:43 AM
All I remember from Laplace transform is 't', 's' and that there was a table
And something about derivatives
 
Usually how they teach this stuff at college is give them the final equation and some circular argument how to actually derive it (with a cop out on proving the FT because "it's the difficults"), at least around here. At best, people after college remember the final form equations and what they can do for them.
 
If I wanted hardmode uni I'd go with maths and not CS
 
But it's fun! Also, I need a new video gaem in my life.
 
> While the Fourier transform of a function is a complex function of a real variable (frequency), the Laplace transform of a function is a complex function of a complex variable.
And complex numbers are more general than reals
I suppose
 
@AngryLettuce Yes
 
6:47 AM
Hypercomplex numbers for life. We actually rely on them quite a bit because of they props, skinning being one fine example.
 
2complex
 
Thanks Cinch for confirming
Good that we both agree that you were wrong
lettuce move on to your next mistake
I want to do a Lounge Trading Card Game
 
But Fourier has a larger time domain, right?
 
Your mom has a larger time domain
Ask on math.SE what do I know
 
Go on math.SE to ask how large your mom's time domain is?
 
6:49 AM
@ElimGarak You mean quaternions?
I hear @Rerito does squaternions
This free pun graciously offered to you
 
@AngryLettuce Yeah. Also, cinch, don't go to math.SE, you'll get question banned with that. :P
 
I won't
I'll just read my book
 
> openCL and meanShiftFiltering
This goes against site policies! use niceShiftFiltering instead
 
Don't let Joffrey catch you
 

« first day (1882 days earlier)      last day (3081 days later) »