« first day (1140 days earlier)      last day (4034 days later) » 

19:00
@gnzlbg that sounds super awesome
@gnzlbg That's just a std::list but with an object pool allocator and implemented poorly.
@gnzlbg sounds terrible
I've always wanted a data structure with O(N) access and a fixed max capacity
well it has pros and cons, it uses less memory than a doubly-linked list, if you shrink it iterators are invalidated but then you get sequential access like a vector, you can erase and insert without invalidating iterators
@gnzlbg "it uses less memory than a doubly-linked list" -- how so?
19:02
you don't have two pointers per element
just a single extra signaling bit
Well, you guys have to admit that stable_vector is better than list or forward_list in almost every aspect.
er, those pointers are what give you O(1) moving between elements.
im not saying its the best thing in the world, but many people use list because iterators are not invalidated when you inserte erase things
@Jefffrey No, we don't.
@DeadMG how so?
19:03
@Jefffrey Ummmm
I wonder how that plays with branch prediction.
your suggested impl of stable_vector would have O(N) even increment, let alone random access.
@DeadMG yep, if your objects are big you want that, if they are small you prefer to swap them
In every case where I would normally use a std::list, a std::list is still a better choice than that
not to mention
19:04
And in cases where I would not use std::list in the first place, it is hardly meaningful to compare against it
> THEY ARE VERY WARM / LOVE THEM LIKE HUMAN BABIES / WARM TASTY BABIES
how is the stable_vector going to maintain the correct order?
Fangamer creeps me out.
O(N) increment? you get O(1) random access if its shrinked, otherwise O(N)
@jalf Iterators are not invalidates on erase or insertions and you get O(1) per random access, how is that not better than a list?
Oh, wait.
@gnzlbg If you have an element, and I ask for the next, you have to search through the bit vector for the next one that is not empty.
Nevermind.
that's potentially o(N).
5 mins ago, by gnzlbg
you don't get random access
19:05
@Jefffrey He just said that you don't even get random access.
@DeadMG yes, if its not shrinked. Otherwise you can do random access.
wtf even is shrinked.
Just joined meta.stackoverflow.com
> Like std::vector, iterators are random access
If you know its shrinked you don't have holes, increment is just the next element, you don't need to check out the bit.
19:07
@DeadMG Compacted, like a garbage collector vOv
yeah, I was just about to guess that.
but then, you can compact a linked list that way as well if you want to...
Ok, I have to ask. Wtf does vOv mean? :p
or hell
just copy the linked list into a vector.
yes
@jalf I am told it is a shoulder shrug.
@Pawnguy7 hmmmm.... You'd have to squint pretty hard to see that one...
@jalf Then squint dammit!
How does compacting fare when it comes to invalidating iterators?
actually
I might have a use case for a garbage collector.
@jalf To be honest, I still cannot really picture it.
Maybe it is arms?
@DeadMG we use it as the storage for dynamic data, most of the time its shrink and we just use it like a vector. Occasionally we need to insert/delete elements without invalidating iterators. When we are done, we shrink it and we continue using it like a vector.
19:11
Does this help?
@R.MartinhoFernandes that's more like ioi IMO
but I'll buy it
Well, I usually do it with my arms open a bit wider.
@R.MartinhoFernandes it does. Still requires a bit of effort though.
anyways, back to work!
so I was thinking
two classes- gc_root<T> and gc_reference<T>.
19:15
I tried to think earlier but failed miserably
@DeadMG stop that at once
Can I see your license, please?
for gc_root<T>, I pass a pointer to it to the collector, so at collection time, it has a full set of all roots.
I figure most users would have to intrusively install a hook into their classes to tell the GC how to find referred-to members.
but I might cook up a couple defaults, like, iterate through begin(obj)/end(obj)
Dishonored -75% Spelunky -75% Bioshock Infinite -75%
well
Dishonored still not giftable for whatever-the-fuck reason
19:19
I heard that Dishonoured was good
there's also CS:GO for less than before.
but I'm still in hardcore money saving mode so
I bought it earlier
And this is why you wait for shit to be on daily or buy them on the last day
Also Gunpoint -33%
> won't hurt you too much in life to be bad at algebra
I am curious about this statement.
Also Dark Souls still -80% and Don't Starve still -66% if you don't have it for some reason
BUY EET
19:24
There might be a few careers where you don't require basic algebra.
But I imagine it will be useful for many other applications.
You don't need algebra at McDonald's
Well.
People calculating costs of items and outlook do :D
I am pretty sure I learned subtraction and how many pennies are in a dime long before algebra.
Hm?
Anyway, I am not entirely certain what constitutes as under algebra, and what does not.
I am confused.
I am probably not the best person to ask about const things, as with rvalues.
Oh, there's also GOG promo
I think private members are a fairly understandable concept, however.
19:31
> I don't trust Stack Overflow, too many nubs begging for rep
Got to say, never heard that before.
Are you sure the reason you are thinking of wasn't evil moderators?
I think getting a lot of answers is a far cry from getting it deleted.
@MickLH you didn't specify that, you said rep
Try making it not horrible
A question or an answer?
I feel the system has some problems, but at the same time, I have asked some bad questions.
@Pawnguy7 "spare a rep for a poor nub, good sir?"
cool story
3
It occurs to me.
I could be great at programming.
but not know how to properly ask a question.
19:34
Does he look like a bitch!
Though I am not good at programming, so hard to say.
@Pawnguy7 ... and?
Well.
I think the "I am smart, therefore my questions are holy" is not the best approach.
SO rep does not indicate "good at programming"-ness. It indicates that you're good at SO. That you know how to ask questions and how to write good answers
Popular not good
19:35
@Pawnguy7 I don't think I've ever seen anyone say that
@jalf I know. I don't participate in SO. But I can witness myself some bad design in my code, among other things.
@CatPlusPlus good, if being popular is added to the definition of "being good at so" ;0
@Pawnguy7 I'm not smart, aliens taught me everything my shitty human brain could handle by age 3
I wasn't afraid of them, they will teach you too if you get over it ffs
@Pawnguy7 Good, that means you're learning
@jalf I thought some people in chat (such as now) claim they are so-and-so for some reason.
19:36
Is that guy really trying to troll?
He's trying to be funny or relevant or something
It isn't working
@CatPlusPlus I think my code is noticeable better than, say, two months ago, but there is a ways to go.
There always is
@Pawnguy7 Lots of people here think they're smart (some with more justification than others). I don't think I've seen anyone here argue that it makes their questions "better" or special or holy
I'm not smart
I'm not even lucky; i don't know what the fuck
19:38
@CatPlusPlus Also true. I am not really sure what goal I am going for. It appears I will complete a project soon, though, so there is that.
wtf
@jalf I don't know of it was stated in this manner, or if involved questions. I seem to recall some people claim they are better than "lounge lowlifes" due to some fancy job or degree or what-have-you.
@MickLH then stfu for a moment perhaps?
@Pawnguy7 There's that guy who earns 20 times as much as we do
@jalf not regulars, I mean. Newer people.
19:40
@Pawnguy7 Oh, sure, I'm not saying people here are all humble or modest. I just don't see it spill over into people thinking their questions are "special", which was how I interpreted your initial statement
Maybe I just misunderstood you
That's mostly idiots trying to insult people on the internet
anyone seen this movie "The Road"?
@CatPlusPlus do or do not. There is no "try"!
:D
I'm going to hurt your delicate feelings with my ~~internet words~~
By saying... something
The way I remember it (this may be wrong) is that several people here in the past asked a question, and linked it here or something. After getting ridiculed, they make some claim, to counterattack the claims they are dumb or whatever is implied.
19:43
@CatPlusPlus *sniffles* that is so mean
That's because they're dumb, yes
Hello, Lounge!
@R.MartinhoFernandes are those devices used for neurofeedback (i.e. learing how to activate certain brain states) or just for observation?
@StackedCrooked neurofeedback devices? you mean, like, drugs&alcohol?
those don't provide feedback
but they induce a state
19:49
give me a bottle of vodka, and then ask me something - you're guaranteed to get a feedback
neurofeedback is where you train to induce the state yourself. and the machine readings help you keep track.
Ell
Ell
I bought two bottles of vodka tonight
@Ell when is the last time you threw up?
:P
Ell
Ell
@StackedCrooked the last time I had a party xD
@MickLH no one cares about what you need
Xeo
Xeo
19:51
No.
@BartoszKP pfft like I care about that
Ell
Ell
Oh wait it was the 2nd most recent party I went to
2 weeks ago or something
@StackedCrooked usually you throw up when you mix vodka with other stuff, not because of vodka alone
'Wrappers::Initialize::<lambda_9678b709f6dc7fa5364d11d551497388>' : no appropriate default constructor available
What.
All the classes that I only read, pass as {const X& variable;}, what am I missing?
19:53
@BartoszKP I don't believe that.
The body rejects the alcohol. Not the other stuff.
Oh, wait, I know what's going on.
Xeo
Xeo
@EtiennedeMartel Lambda member?
@EtiennedeMartel that is a big number. I hope the compiler doesn't just name lambdas sequentially starting from 0
Otherwise you have too many lambdas
@Xeo I did too much C# and forgot about initializer lists.
Xeo
Xeo
@jalf It's a hash from the lambda and surrounding code
Ell
Ell
19:53
@StackedCrooked Nor me :S
@Xeo I liked my explanation better
@StackedCrooked well I never threw up when drinking only vodka ;0
@BartoszKP only after drinking it?
Drink a bottle of vodka. You'll see.
@jalf :) no, after drinking it + some other beverages
@StackedCrooked actually, I did once :| but I agree, that if you force into yourself a large amount in a short period of time, you will throw up, but I thought the context was ordinary drinking :)
19:55
Me too. It was spread over a few days though :)
The fuck is bitcoin?
Ell
Ell
@Jefffrey don't get me started on that
@jalf don't remember it clearly, but it was champagne, beer and whisky, beside vodka :| but I was very young : D
Ell
Ell
I have been suffering inner turmoil due to the price of bitcoins
@BartoszKP I'm not sure about the context. Ell just mentioned he brought two bottles of vodka, this triggered some memories of non-ordinary drinking :)
19:57
@StackedCrooked true, that does sound like that : D
Non-ordinary?
@MickLH why why why
@CatPlusPlus like competitions or shotgun beer drinking or some other crazy shit
@CatPlusPlus Like ordinary people. Who drink one or two and then go home to bed.
19:58
@MickLH go fix your SO account for God's sake...
How did you even...
I'm usually not like that.
One or two... bottles!
@MickLH I don't even wanna know how you got suspended, just go fix it
@CatPlusPlus Oh, in that case.
19:59
@StackedCrooked seems we also have a misunderstanding about "ordinary drinking" ;0
Wait, you can get suspended for a bad answer?
I ordinarily drink two bottles.
@MickLH apologize, son

« first day (1140 days earlier)      last day (4034 days later) »