« first day (878 days earlier)      last day (4298 days later) » 

22:00
@thecoshman Seriously though, there were like 20 videos of kids who were clearly really young playing these online games and sounding really dumb and getting trolled utterly. o_O
@ThePhD children be stupid vOv
Makes me glad places like Lounge<C++> exist.
@ThePhD What's that?
fairly sure we are just as stupid here :P
Oh look, another Java update.
22:02
and certainly more trollish
Yay, more vulnerabiliies. :D
And of course, still asking me if I want Ask Toolbar.
@CatPlusPlus Anyway, that whole DRM bullshit? Another textbook case of suit driven development.
0
A: Example of memory leak in c++ (by use of exceptions)

Mooing DuckTo have a less contrived example, I recently found this potential leak in my code when allocating nodes with a given allocator object. std::unique_ptr<node> allocate_new_node(allocator& al) { char* buffer = al.allocate(sizeof(node)); //allocate memory return std::unique_ptr<...

@ThePhD where?
In my mind.
@MooingDuck auto p = make_unique<node>(raw = a.allocate(1), deleter = [&a](node* p) { a.destroy(p); a.deallocate(p); }); a.construct(p.get()); return p;
(Actually I'd use a functor because you can't express the return type of the function with the above.)
The above makes sense if you assume nothrow default constructible btw. Need to fix exception safety otherwise.
22:07
@LucDanton the point of the problem was that the constructor might throw.
Oh sorry, just noticed the discussion in passing.
@LucDanton I'll edit so it constructs from a value so that's clearer
hmm... so tried cutting my rum with coke tonight... seems to make it disappear even faster
You're right, the sticking point is that the allocate/construct and destroy/deallocate pairs are not exceptionally atomic. I, too, would write an abstraction over that.
user1182183
I have no Vodka... ; /
user1182183
22:09
Polish guy without vodka is no polish guy... more like a polished guy.
The final unique_ptr<node> should have an allocator-aware deleter too
@CatPlusPlus good point
hmm... there are more polish people here then I would have first thought
BTW std::vector<char, allocator>?
No, that won't release
@CatPlusPlus exactly
22:11
I can't check the constructors right now but you can first construct a unique pointer holding the unconstructed memory and then convert it to the final unique pointer. Both having an appropriate deleter. No need for release() or the like.
Probably conversion via assignment, as those wouldn't be default constructible deleters.
@LucDanton Convert a unique_ptr<char[]> to unique_ptr<node>? That doesn't sound right.
You've forgotten about the deleters again.
And no, that would be node to node.
Err, sorry. I don't actually remember what's the result of allocate(). Whatever it is then.
@LucDanton return type of allocate is T*, so that works
I just told you I don't remember!
@LucDanton wait, but then the unique_ptr would try to destroy it in the exception case, that's no good either.
22:14
Different deleters.
2 mins ago, by Luc Danton
You've forgotten about the deleters again.
From std::unique_ptr<node, DeallocateDeleter> to std::unique_ptr<node, DestroyDeallocateDeleter> if you will.
@LucDanton ooooh, which is valid if the deleters can convert. NICE
Not even actually.
In the case that a deleter is not convertible, then you get a default one.
@ThePhD Awesome stuff.
@LucDanton en.cppreference.com/w/cpp/memory/unique_ptr/unique_ptr says the deleter is either copy or move constructed from teh RHS's deleter.
I don't deal with second-hand sources.
user1182183
22:20
Well can't wait for Civitas
user1182183
When will EA reach the bottom? I don't really see that bottom coming... pushing the limits to the extend.
also, why does std not have an allocator_delete? I mean seriously...
user1182183
I can't think of a reason :P
An allocate_construct that returns a unique pointer would be most welcome, yes.
Ell
Ell
C++ is so satisfying IMHO, much more than "easy" languages
22:23
On the other hand arguably allocators are low level so I don't know.
@LucDanton § 20.7.1.2.1/19 "unique_ptr(unique_ptr<U, E>&& u) ... Remarks: This constructor shall not participate in overload resolution unless .... E is implicitly convertible to D." C++11 Jan2012 draft
@LucDanton also that in addition
user1182183
Wait.. THIS?
@GamErix what about it? oh, no
I need to check my deleters.
user1182183
@MooingDuck ah well I tried (to help) xD
22:26
@GamErix that's not a valid destructor thing to pass to smart pointers.
<shakes magic lounge ball in the hopes of more interesting topic coming back>
user1182183
@thecoshman Want to talk about me? My life is actually, interesting.. xD
@GamErix shoot, it's got to be better then talking about C++
user1182183
@thecoshman Well, okay, but don't use teen drama tag XD , ok, here, since a month, well, ima trying to create a game with my friends, and we setup a team
user1182183
asked around blabal
user1182183
22:28
found a few members, have a nice page but..
user1182183
Damn there's one girl I really like, last sunday she came over
I have some deleter templates that are not convertible across specializations. They're stateless and default constructible.
I can't quite test right now :(
user1182183
wanted help with maths, and some stuff, and learned here a few things about creating games with UDK
Woah... Tim Post is now community mod.
user1182183
then when we were done with that stuff, we put up a movie on my tv ;d well, we layed down in bed, I hugged her,
user1182183
22:29
then
user1182183
I wanted to Kiss, and BIG FAIL DAMMIT x 99999999
HEY! we are talking about Gam's sex life (potentailly) @LucDanton @Mysticial
user1182183
"No I do not want to"
ooooh!
user1182183
FRIENDZONED
user1182183
22:30
first time in my life!! ;o
friend zoned big time man!
user1182183
DAFUQ xd
Oh. I'm sorry to disturb you guys. I'll promptly leave and let you have your privacy. :)
user1182183
@Mysticial this is a public (shit?)room :P
@Mysticial don't worry... 'shows' over
@GamErix you should have got out your cock some beers
user1182183
22:31
na, still looking for members, not coders, nothing todo with programming at all, just level designers/ visual artists
user1182183
xd
In other news, this is quite awesome.
user1182183
How can you reject my fucking sexy face?
user1182183
xD
@GamErix sober?
22:32
-4
Q: If *this* then *that*

DanI'm a novice and hoping someone can kindly assist. I have a custom build CMS which a developer built for me a while back. Currently, news updates on the system refer to the logged in author by way of username. I now want to include Google Authorship to each username. So, the existing code is as...

@EtiennedeMartel to which the only response can be, Cannibal Corpse - Hammer Smashed Face
@GamErix friendzoned on first date? I don't think thats the right word..
user1182183
@thecoshman sorry I do not have any vodka or alcohols at home now
@thecoshman Tss tss.
@GamErix I think its just you got denied
user1182183
22:33
@JustinMeiners sure I got denied
@GamErix hahaha ok
@thecoshman When it comes to heavy stuff, I prefer "Ticks and Leeches", by Tool.
user1182183
ah what the hell, 6,999,999,999 more to go
user1182183
oh wait, 50% is woman
user1182183
~3,450,000,000 then
22:33
@BartekBanachewicz What's your best at Hexagonest :v:
@GamErix a broken home
@CatPlusPlus around 10. I didn't play much on it.
user1182183
@thecoshman yup
I just got triangle
23.26
@EtiennedeMartel Tool are ok
22:34
@Rapptz omg that is terrible
@thecoshman "Ok"? Just "ok"?
user1182183
Anyway we have no real girls here so I won't hear what they think bout ma face xD
They're one of the few metal bands with actual talent and not just showoff.
@EtiennedeMartel well, to be honest, really not given them too much time
user1182183
oh next girl is texting
22:35
Dem riffs.
user1182183
man, I hope I will get laid in the summer
user1182183
my cock is dry for a very long time >_>
I too am scared of real girls
user1182183
@CatPlusPlus yourself? ; o
@GamErix ah, was going to ask if you had poped it yet
@CatPlusPlus bitches be crazy
22:36
@CatPlusPlus Me too.
user1182183
Jk Cat, put on Teen-Drama and listen to my HELL STORY mhahwhahaha :D
@CatPlusPlus Talk less, drink more.
@CatPlusPlus So, mic anxiety, girl anxiety? :D
user1182183
@EtiennedeMartel I Accept all alcohols you sent me :)
@EtiennedeMartel Talking less in my case is pretty much impossible
22:37
@GamErix You're way too young for alcohol.
user1182183
@EtiennedeMartel no, 18 is perfect.
metal clubs, no better place to meet girls. The bitches are so obvious it's easy to avoid them
user1182183
totally fine here in NL
user1182183
Have to admit I started drinking beer @12 -> thanks to grandma
@thecoshman and they are crazy so you can't go wrong
22:38
@CatPlusPlus oh, your another shy one?
@JustinMeiners oh yes they are :D
Real girls are awesome. :D
OH GOD WHAT ARE YOU DOGIN TO THAT PSU
WHAT THE FUCK WHY WOULD YOU DO THAT ;~;
user1182183
@ThePhD just wait till the bloodbath
@ThePhD (those are hardrives)
22:39
@Rapptz oh nice...
wth happened?
ahaha. Not mine
user1182183
@MooingDuck I hoped that was a link to a pretty girl
It overheated though
ONE FUCKING PATTERN KILLS ME EVERY TIME
The serial killer?
22:40
through the connector anyway
Super Hexagon is proof that patterns only exist to fuck you up
user1182183
"Hey, baby, my code is exception-safe. And I'd like move a very unique pointer to your capable hands."
user1182183
Any girl here? :P
I too come to the lounge for lame pick up lines.
22:41
@MooingDuck I can wrote one of those inline, e.g. defer(&allocator::deallocate, a, n). It's the composition of destroying + deallocating that's complicated however.
@Rapptz There are non-lame pick up lines?
Not really
user1182183
@DomagojPandža There are Pickup lines? O____O
oh man that fragmentation.
22:42
jeez
user1182183
I want whiskey ._.
@Rapptz I thought apple claimed you didn't need defrag?
most modern OSes have auto defrag
user1182183
I'm a Polish gy without alcohol, that's.. absurd.
Apple claims a lot of things.
22:43
@LucDanton just dawned on me, that function doesn't even require knowing the type of node. I just wrote make_unique_with_allocator O.o well, you have to specify the type...
the closest I ever get to pick up lines is either being bemused in 'normal' clubs or head banging in worth while clubs
@GamErix tut tut, no clase. Brandy is what you want son
Whiskey's good
@Rapptz I have an idea! lets make a game that like audiosurf and whatever, but instead of a song it uses your HDD fragmentation to drive stuff :D
user1182183
@thecoshman How old u're pappa? xd
22:44
@GamErix ... 24 physically
user1182183
@thecoshman and 13 in mind? XD
but younger mentally?
user1182183
I;m 13 too : P
user1182183
I like it :D
mental age is very context sensitive :P
22:45
@CatPlusPlus Drink, then Mumble.
user1182183
Anyone got some alcohol for a broke Pole? XD
@GamErix btw if the girls you are meeting are at a UDK game dev night you might be doing it wrong
I've got way too much alcohol. Mostly gifts, never open it, just store and forget.
@DomagojPandža don't drink? or fussy?
user1182183
@JustinMeiners na they just want to learn how games are made
22:47
I really don't enjoy drinking. The only thing I can digest is Bailey's Irish Cream.
> This method returns one of the following Direct3D 11 Return Codes.
With nothing after it.
@DomagojPandža that stuff is dangerously tasty
user1182183
@DomagojPandža Not enjoying? Uh, wow. xD
That's one hell of a documentation.
user1182183
22:48
@thecoshman Send me some ; o
@EtiennedeMartel The best parts are those which say "UNLESS YOU USE WINDOWS 8, YOU'RE FUCKED."
@DomagojPandža Yeah, it's almost like they're trying to push sales for Win8.
Oh wait.
always at the top: "You are doing it wrong, you can't publish apps which use function X from library N on the Windows Store."
user1182183
Ok srsly guys please help me forget my sad life :P
user1182183
Send ALcohols :D
22:49
@GamErix erm... like... yeah I could help send you some I am sure...
I don't give a shit about the Windows Store, Microsoft.
user1182183
@thecoshman if you're serious I can give you a shipping adress :D xD
I'd pay you guys twice the value of Mountain Dew if you sent me some.
@GamErix are you 12 years old?
I don't feel like waiting for the ebay order to get here.
user1182183
22:51
@JustinMeiners take what you can, don't complain :P
@GamErix well... erm... I guess I could try... can you really not buy it there?
@GameErix haha ok...
user1182183
@thecoshman Ye I can buy it but somehow free alcohol tastes better xd
@JustinMeiners In mind, but not in body.
@GamErix who said anything about free? :P
user1182183
22:51
@thecoshman Damn xD
@EtiennedeMartel mind is fine - just concerns me if he is asking someone on the internet to send him alchohol...
@JustinMeiners Even then I'm not sending him any alcohol.
user1182183
Ok guys what's the strongest alcohol you guys consumed? mine was 82%
It would be hard enough just to post it with out drinking it
@GamErix percent ABV or proof?
user1182183
22:52
not much at a time, but it was 82 yes
Because the only alcoholic beverages I consume are microbrews, and he doesn't have the maturity to enjoy that.
user1182183
@MooingDuck home brew by a friend of mine
@GamErix 82% of what?
I enjoy food way more than I enjoy drinks. Although energy drinks are my second love.
user1182183
@MooingDuck 82% of alcohol
22:53
@GamErix ¬_¬ home 'brew' at that strength is not 'brewed'
user1182183
all the other %% sirup and water xD
@GamErix 82% of the drink by volume was alcohol (ABV) or 82% of proof alcohol (proof)?
That's some hardcore moonshine you got there.
user1182183
@MooingDuck hmm
user1182183
I sreiously don't know
22:54
@MooingDuck more then 50 proof is more alcohol then stuff. proof is just double the percentage
user1182183
he said 82%
user1182183
and it tasted like 100
@GamErix I smell the faint wiff of bullshit
Hello friends
@thecoshman depends on the country, but roughly, yes.
22:54
The guy just gave you rubbing alcohol.
user1182183
@thecoshman if was certainly more than 60%, my tongue does not lie
@thecoshman 82 proof is believable.
@GamErix what country are you in?
@MooingDuck really? I've yet to see anywhere where this does not hold true... lets call wiki
user1182183
@MooingDuck Netherlands
Alcohol proof is a measure of how much alcohol (ethanol) is contained in an alcoholic beverage. The term was originally used in the United Kingdom and was defined as 7/4 times the alcohol by volume (ABV). The UK now uses the ABV standard instead of alcohol proof. In the United States, alcoholic proof is defined as twice the percentage of ABV. The measurement of alcohol content and the statement of this content on the bottle labels of distilled beverages (also called liquors or spirits) is regulated by law in the United States. The purpose of the regulation is to provide pertinent informatio...
22:56
82% is not far fetched
@thecoshman "The term was originally used in the United Kingdom and was defined as 7/4 times the alcohol by volume (ABV). The UK now uses the ABV standard instead of alcohol proof. In the United States, alcoholic proof is defined as twice the percentage of ABV."
user1182183
I'm Polish, my friends are Polish.. hey, we're profs in drinking
user1182183
;D
> alcoholic proof is defined as twice the percentage of ABV
Rectified spirit goes up to 97 or something like that
22:56
> In the United States...
@CatPlusPlus distilled is the word
@MooingDuck so I read :P
user1182183
@CatPlusPlus No I don't drink ... that's not ment to be consumed lol
@GamErix You know, that doesn't strike me as a positive thing.
user1182183
@EtiennedeMartel I'm no problem maker :P i get very happy when drunk xD
@thecoshman Yeah you get that, mix with water and something else and poof you can have 82% drink
22:57
@GamErix "The European Union ... provides standards for measuring alcohol strength by volume and by mass." So probably ABV
@GamErix I mean, why would the Poles be so good at drinking? What do you guys need to forget?
Absinth is in 80-something levels too
user1182183
or annoying
Is life so sucky in Poland?
Or are you just talking straight out of your rectum?
user1182183
@EtiennedeMartel Dunno, I just like the taste
22:58
@CatPlusPlus usually that is actually proof
@thecoshman No
Because I'm leaning towards the later.
I don't use proof units they're retarded
I just drink. Fucking hell, this is turning into a pissing contest.
Wikipedia says 45–74% ABV / 90-148 proof
22:59
@CatPlusPlus oh yeah I know you get strong ass absinthe, but often it promotes it's 'proof' as it is a bigger number
And really almost nobody here will even know that proof units exist
Oh, right, I still got some stout left. Hmmmm.
people who are just wanting to get drunk just want the big number

« first day (878 days earlier)      last day (4298 days later) »