« first day (1927 days earlier)      last day (3039 days later) » 

user784668
8:08 PM
Lounge is dead.
 
Love is dead.
 
user3790646
@Morwenn Not yet
 
user784668
@BartekBanachewicz I know you like breaking things, but why break the Lounge?
 
> Ainsi, contrairement à la croyance populaire, l'Enquête sociale générale de 2014 sur la victimisation nous apprend que les hommes sont tout aussi nombreux à être victimes de violence conjugale que les femmes.
 
user784668
> merde au fromage
 
user3790646
@EtiennedeMartel French is so cool
 
I don't do much C++, but it have to call a C api that wants a ponter to some memory. Is it alright to allocate it in a unique_ptr and then pass pointer.get() to the API?
 
user784668
Yes.
 
user784668
That's the right way to do this shit, actually.
 
@DennisKuypers You got it bb
 
8:15 PM
What do I do when I have a loop where a allocate memory for each item. If i do it in the loop the pointer goes out of scope and i lose the values, right? Should I make an array or pointers or something like that?
 
@DennisKuypers You have 2 minutes to edit your messages after having sent them.
 
smart
 
@DennisKuypers std::vector of std::unique_ptr.
 
@JerryCoffin Couldn't you do it via using?
 
@EtiennedeMartel got it, thanks!
 
8:18 PM
namespace mine { using int_pair = std::pair<int, int>; /*define << operator here*/ }
 
user784668
template <typename T, typename U> struct pair { static_assert(sizeof(T) == 0, "why the fuck are you using pairs anyway"); };
 
@slaphappy I approve. But ostream is in the standard library, so simpler for stackoverflow answers.
@Fanael lol. It could also be std::tuple<int, int>. My example used tuple after all
 
user784668
@caps Same thing applies to tuples.
 
@caps no
 
user784668
@caps The associated namespace for mine::int_pair is std.
 
8:24 PM
Travis y u wait for 15 minutes before launching a build
baka
Putain de bordel de foutre à queue de merde.
 
Is memset the proper way to zero out memory?
 
user784668
It depends.
 
user784668
Why do you want to zero out memory?
 
@Morwenn D:
here's some soap to wash that foul mouth of yours :P
 
The API samples do it and i assume that the API gets confused when there is random data in the structure that i'm passing in
 
8:26 PM
@Borgleader No need.
 
user784668
@DennisKuypers You assume? Shit, ditch this undocumented piece of bartek.
 
user784668
But in that case std::memset should be fine, yes.
 
You pass in a strucure twice. (two calls) the first call will fill the struct with information on how much memory you have to allocate in the members. There is a targetInfoCount that you get on the first round and then you allocate memory and pass in a pointer on the targetInfo member with the right amount of memory.
 
uh oh
it's a Game Developer
run away
 
Not a game. A wrapper for .net to get info on the displays and then set timings later on
 
user784668
8:32 PM
Still better than Wide Developer
 
user784668
How's Wide anyway?
 
P. well I think
He's working on getting tests to work
 
Ell
Woo it boots
No internet or sound mind
 
@Ell After 12 hours
 
user784668
@Ell What boots?
 
Ell
8:35 PM
My computer
 
the tests already worked
I just needed them to work in a new way
 
Hi guys.
 
@Nooble Hi 2016.
6
 
8:37 PM
Would work on something but lol callbacks.
@EduardoGutierrez Whatever you do, stay away from C.
 
@Fanael Oh, calm down. His "I assume" basically comes down to minimizing his assumption(s) about a foreign function.
 
@EduardoGutierrez Hi. Consider visiting the C++ room for C++ help
 
> Here's my address, so call me back.
 
> But here's my address, so call me back plz
@Nooble You suck
 
user784668
@JerryCoffin Duly noted: old people can't into joke.
 
8:39 PM
@набиячлэвэлиь Here's my number, so call me maybe
 
@JerryCoffin whoosh
@Nooble mumble
 
@набиячлэвэлиь but but
 
@набиячлэвэлиь Deciding to go another direction doesn't necessarily mean I missed the direction things were going.
 
kserbal space progrsm
 
@Nooble callbacks
 
user784668
8:40 PM
kebab space program
 
@Nooble Push your code and I'll gladly fix it
 
@набиячлэвэлиь but that's on my laptop
 
@EduardoGutierrez The people here frequently help each other. If you become one of the people here, you can probably get help. But the people here don't really care for strangers asking for help and then disappearing.
 
and too far away
 
8:40 PM
like a few feet at least
or furlongs whatever
 
@Nooble ssh into it
 
I'm not running sshd on it.
 
You should start to
 
@ElimGarak Only now do I begin to understand that the BRDFdescribes an equation, and what people do is hold certain parts of that equation still and then derive / calculate the rest of make lambertian, glossy, specular, etc.
 
2 messages moved to bin
Damn. Wrong room.
 
8:44 PM
@sehe Oh come on
 
So essentially the original BRDF is like, the Mother Equation and everyone' just picking at it to make things more nice.
@Xeo Shotgun @Cat's floor!
 
@набиячлэвэлиь It was asked.
in bin, 38 secs ago, by sehe
2 messages moved to C++
 
@набиячлэвэлиь How about if I push some code your direction? <Insert nastily evil grin here>
 
@JerryCoffin Sure, why not
 
I'm kinda glad that cowboy cast and stuff didn't actually become real lounge meme.
I'm proud of myself.
 
8:47 PM
@ThePhD Of course it did /cc @AndyProwl
 
sup lounge
 
> 12+ hour flight to get to Wroclaw
> 1K USD
Holy fuck.
 
user784668
What is Wroclaw?
 
City in Poland.
 
8:48 PM
He knows
 
@Fanael Nothing
Wroclaw doesn't exist
 
user784668
@ThePhD There's no Wroclaw in Poland.
 
Oh.
Where is Wroclaw, then?
 
It's Wrocław you ding-dong
 
Oh.
Wrocław.
 
8:49 PM
@ThePhD It's half-way around the world, what did you expect? ;p
 
If I fly from US to UK,
 
Just teleport there you scumlord
 
can I reduce the price by busing/train-ing/ship-ing myself to Western Poland?
 
@ThePhD Maybe, check
 
> Boston to Paris, 490 USD
Now I have to figure out the price for getting a train from France to Poland.
 
user784668
8:52 PM
@ThePhD Assuming one exists.
 
@ThePhD Is @Morwenn going? maybe you can stowaway
 
@Borgleader You're not gonna come?
 
Not sure I will be able to. But if I come, the simplest thing will be to go to Paris and find someone willing to do the road with me.
 
tfw you can't drive....
 
@Fanael łoł
 
Xeo
8:54 PM
> sparkling Bjarne
 
@ThePhD Me? To Unconf? No I'm not going. Maybe next year.
 
Xeo
@Andy He's called Sparklestrup you crouton!
 
@ThePhD What do you mean I can't drive? :o
 
has anyone used brew package manager for Mac
 
@Morwenn I can't drive
 
8:55 PM
Oh.
Also, twf: totally wanna fuck. A bit awkward.
 
@набиячлэвэлиь So I wanted to see if I could write a program to compute Pi at least close to as fast as @Mysticial's. So far I have this. Can you fix it so it's faster (and producing the correct value would be a big help too, I think)?
 
I'm using [ brew install .. ] and it ended up with a cup of beer emoji .. just wondering what that means
 
@JerryCoffin oh wtf
 
user784668
@JerryCoffin Easy, just redefine "close".
 
@Fanael It's not really that easy--first you have to get it to compute (appearances to the contrary notwithstanding) Pi instead of e. :-)
 
user784668
8:57 PM
Whose idea it was to set some Viktor wallpaper on my gaming VM?
 
user784668
@JerryCoffin 'Tis but a tiny error.
 
@JerryCoffin v funny joek
 
@набиячлэвэлиь A former IOCCC winner, in case you didn't recognize it.
 
One more question: I create the unique_ptr in a loop and push_back it on a vector. The vectors scope is outside of the loop. Does the unique_ptr stay when exiting the loop even though the definition was in the loop?
 
do you not know how to use the giant "ASK QUESTION" button?
I'd have thought it self-obvious really
 
user784668
9:00 PM
@DennisKuypers Yes.
 
> Can you fix it so it's faster
 
just push the button, enter question text, job done
 
Lounge considered harmful.
 
user784668
@JerryCoffin int main() { return 3; }
 
@Fanael appreciated
 
9:01 PM
@JerryCoffin int main() { popen("mysticial_pi"); }
 
user784668
Apparently Windows doesn't want to join the glorious evolution :(
 
computes it exactly 100% as fast as mysticial's pi
and produces correct outcome too
 
user784668
No, wait.
 
user784668
Windows is still doing something.
 
user784668
Maybe it's only QXL display that went to shit?
 
9:03 PM
 
@Puppy Something seems to be missing with the indentation though.
 
wontfix
 
@Fanael 4
 
Okay, maybe a second attempt will work out better. I wanted to fix my "Hello World" program to print the comma as it should. Source code:
 
user1804599
9:09 PM
@Morwenn beautiful
 
Ell
ah how did I break my sound :V
 
user784668
@Ell Trying to play something.
 
user784668
@LucDanton any idea how's Rust for writing runtimes for GC'd crap?
 
user784668
Same deal as C++, with ton of brittle magic, constantly fighting the language, or is it any better?
 
@MadameElyse Frogfishes look awesome.
 
9:13 PM
@Fanael iirc there’s something in the making but until then you have nothing (but C interop)
 
user1804599
 
@Fanael afaik C++ doesn’t have anything at all
 
user1804599
> 14- to 17-year-olds
 
user784668
@LucDanton What does C interop have to do with anything?
 
user784668
I'm talking about writing the runtime. Including, you know, the GC itself.
 
user784668
9:14 PM
Think $LANGUAGE interpreter.
 
@Fanael I meant 'the usual C interop story', where you do the pinning and moving etc. yourself, API willing
@Fanael oh I misread the question as talking to an existing runtime
then I don’t know what language feature you would be after
 
Oh my. US seems to be in much worse shape than I knew. Conspiracy theories really sell big time there youtube.com/watch?v=SvUA4DsYQwU
 
user784668
@LucDanton In C++ you can abuse smart pointers to almost make stuff work, but you forget them in one place and suddenly the GC is freeing some reachable objects.
 
@MadameElyse I scrolled down & found something interesting thelocal.se/20160122/…
 
user1804599
Massive snow penises are love. Stabbings aren't.
 
user1804599
9:17 PM
> Make massive snow penises, not war.
 
@Fanael that doesn’t sound like something worthwhile
the operator-> cuteness thing?
 
@Madame how come you are more updated on swedish news than i am?
 
user784668
@LucDanton Nope, more like struct root_pointer { root_pointer() { register self somehow; } ~root_pointer() { unregister; } };
 
@Fanael yeah you can RAII like that in Rust
 
user1804599
@JohanLarsson I don't read propaganda state media.
 
9:20 PM
I only read here.
 
@sehe I'm a little uncertain whether you intend this as a joke, but just in case you're at least partly serious: I suppose there are a few people who would (and do) take this seriously, I can't imagine that being the case with anybody I know.
 
user1804599
(Well, I do, just very cautiously and not believing anything until confirmed by more reliable sources.)
 
@JerryCoffin ikr. still the sheer number of "omg - walmart closings are FEMA locations" type of postings is wildly beyond my expectations
 
user784668
@LucDanton I know, but the end result will be essentially same as C++, so you forget that somewhere and there goes the object(s) you're working on, right?
 
@Fanael on second thought it depends on how clever the code is; there are no constructors and reliance on identity and this is downplayed
 
9:21 PM
hmm
I'm playing Skyrim, and it actually seems kinda crappy
like all the interfaces were made for consoles and they couldn't be arsed to design proper ones for PC.
so the whole thing just feels like an epic chore
 
@Puppy Use SkyUI
 
@sehe If there are very many, I'd guess the majority are teenagers (or whatever) trolling.
 
@Fanael how can the object go away?
 
And arrow keys
 
user784668
@Puppy They were, so use SkyUI.
 
user784668
9:23 PM
@LucDanton Because it's not reachable from any root pointers by mistake, so the GC sweeps it.
 
user1804599
Also I accidentally swallowed a tangerine seed.
 
@JerryCoffin teenagers wouldn't have the means. You can prolly just browse from the one I linked or search "Walmart closed" + "FEMA" or "plumbing"
 
user1804599
Should've bought seedless tangerines.
 
@Fanael lol I misread again, I somehow thought static storage duration was involved
 
so I'm really feeling this "SkyUI" thing
 
9:24 PM
@MadameElyse Fortunately those stories they told you as a child about a tree starting to grow in your stomach are almost certainly false.
 
@Fanael this doesn’t seem to have anything to do with languages
 
user1804599
> Wounded tomatoes are known to produce the volatile odour methyl-jasmonate as an alarm signal.[6] Plants in the neighbourhood can then detect the chemical and prepare for the attack by producing chemicals that defend against insects or attract predators.
 
@JerryCoffin Just you wait
 
user1804599
So fucking awesome.
 
yes, you can write wrong code just as well in Rust as in another language
I don’t know what feature you are looking for, and showing the wrong way to do it doesn’t help :(
 
with care enough the Rust compiler can help you catch use-after-unpin (same as it can catch use-after-close, use-after-free, etc.), if that’s what you want/need? aka linear/affine types
 
@набиячлэвэлиь Stomach acid kills most seeds (but if you take too much antacid, you may be in trouble).
 
user1804599
> Plants respond to environmental stimuli by movement and changes in morphology. They communicate while actively competing for resources. In addition, plants accurately compute their circumstances, use sophisticated cost–benefit analysis and take tightly controlled actions to mitigate and control diverse environmental stressors. Plants are also capable of discriminating positive and negative experiences and of "learning" (registering memories) from their past experiences.
 
I remember the article. I love this rendition.
 
Ell
I got sound back
 
user1804599
9:26 PM
ITT plants are more intelligent than most humans.
 
user784668
@MadameElyse I know, right?
 
> Swedish doctor on trial for raping woman kept in bunker
> Swedish dad found guilty of murdering daughter
> Swedish schools shut after app death threats
> 'Swede' held after mid-air drama on plane to Europe
Just a few from that same page
 
@набиячлэвэлиь Hmm. Maybe if I try that I'll enjoy the game.
 
user784668
@LucDanton Basically, the GC needs to know all the root pointers for obvious reasons, including the ones in local Rust (or C++, or whatever) variables, so it can do its thing.
 
@Fanael yeah but you’re the GC
so, do the right thing
 
9:29 PM
@Morwenn bordel à queue de pompe à chiottes
 
user784668
@LucDanton And the right thing is? I want the language I write the GC in to help me as much as possible with recognizing root pointers.
 
again we circle back to 'don’t do the wrong thing, no matter which language', seems useless to point out :(
 
@slaphappy Sac à papier ! Quelle vulgarité !
 
@Morwenn that was my father's favourite expletive
 
@slaphappy Was he that guy from Champignac?
 
user784668
9:31 PM
On a tangent, I remember doing that in plain C. To this day, I'm surprised I couldn't get the GC to crash.
 
@Fanael pin the things you’re using, if I’m understanding you correctly
expecting the compiler to be able to tell which things are meant to be pinned, which are not seems like 'do what I mean'/crystal ball territory
does that sound crazy?
 
user1804599
> Only a few invertebrates such as sponges, jellyfish, adult sea squirts and starfish do not have a brain
 
user1804599
@AndyProwl you're a dumbass
 
He's a brainless friend
 
user784668
> Only a few vertebrates such as Republicans do not have a brain
 
user784668
9:37 PM
@LucDanton So, basically, I am on my own?
 
why ➜ is meme
 
@Fanael writing the GC’d runtime is the process of making the GC work with the rest, so I can’t see how you can assume it’d work already
save of course for piggybacking on an existing system (which Rust doesn’t have)
 
user784668
@LucDanton Because I want computers to do what I mean, duh.
 
Your collective lack of appreciation for the video link I have pasted is disturbing!
 
9:40 PM
image search for "nasal demons" returns just one image of an actual nasal demon? disappointed! https://www.google.com/search?q=%22nasal+demons%22&newwindow=1&source=lnms&tbm=isch&sa=X&ved=0ahUKEwjCso6z8MXKAhVCWxoKHdlGCGoQ_AUICSgD&biw=1166&bih=805
Interestingly it lists a dozen or so matches from Lounge<C++>
Triggers not welcome :)
 
@slaphappy ↑↑↓↓←→←→BA
 
@wilx I gave up after ~2 minutes:
> fuck your compressor and noise gate!
 
@sehe Sounds OK on my TV.
@sehe I find your lack of patience disturbing, too!
@milleniumbug Fatality or what?
 
@wilx extra 27 lives
 
4
A: Is passing additional parameters through function pointer legal/defined in C?

EvilTeachIt is undefined behavior. Use at your own risk. It has been rumored to cause Nasal Demons!

This deserves an upvote.
 
9:45 PM
@AndyProwl lol
 
@StackedCrooked oh come on; rarely does One Piece do this shit - conveniently bring up a new piece of info about stuff (in this case the devil fruit power thing...) :-\
@StackedCrooked why wouldn't whitebeard, for example, of all people - use it... :-\ but he died instead :-\
@StackedCrooked #annoyed
 
user1804599
@KhaledKhnifer dat lambda term
 
@ScarletAmaranth I'm don't know much, but I know that devil fruits fall into different categories .. also whitebeard was half dead when went into the battlefield
 
sbi
Good evening.
 
Ell
9:57 PM
Evening Sbi
 
@sbi Hello.
 
sbi
@thecoshman Really? No, you most definitely did not have to. You did anyway. (FWIW, I'm still available on the June 18th weekend, but currently I have more bills to pay than I have income, so...)
 
user1804599
I posted "I think, therefore I am." and somebody replied with "I eat, therefore I poop."
 
@sbi I'm teasing :P
 
sbi
10:00 PM
@thecoshman Are you now?
 
@MadameElyse very nice
 
@MadameElyse Somehow reminds me of a story about one of the first automated (natural) language translators from the '50s, set to translate from English to Russian and then back to English (and show the result). Guy types in the Biblical quote: "The Spirit is willing, but the Flesh is weak." The result it comes back with is: "The Vodka is good but the meat is spoiled."
 
sbi
LOL. Looks like someone had enough of stupid newbie questions, @набиячлэвэлиь!
in C++, 40 mins ago, by набиячлэвэлиь
in C++, 39 mins ago, by набиячлэвэлиь
in C++, 15 mins ago, by набиячлэвэлиь
 
who knew
 
in C++, 13 mins ago, by набиячлэвэлиь
I need to use allcaps or they don't see it
 
10:04 PM
that doesn't work
it's a social problem
 
sbi
user image
5
 
The dude doesn't even try to understand, he's just hammering at it and expecting it to work
 
sbi
@набиячлэвэлиь ^
 
oh look, a cute puppy
 
@KhaledKhnifer Unlike your face
 
10:07 PM
@sbi Work. From home. If you are a dog.
never been so glad to be a canine
 
sbi
I had to work from home today, because one of my kids is ill. I hate working from home.
 
@sbi no, of course I'm not. I genuinely despise you for making me even consider moving the date of something ultimately rather trivial. ¬_¬ jack ass
 
sbi
@thecoshman I did not make you.
 
@sbi hence the 'teasing' part
 
I quite don't understand why would someone be angry because there're idiots.
 
10:13 PM
@KhaledKhnifer depends. Did you tell them that they're idiots?
 
@sbi but yeah, if you can make it, cool beans, if not, will be a shame
but at least you know where and when, and should be free
 
sbi
Oct 22 '12 at 19:54, by sbi
@MooingDuck Ah, you know, I tried, but sometimes the stupidity is just overwhelming.
 
So, I just thought of another potential point in the member functions vs. non-member functions, er, "debate."
Oh, nevermind.
 
@sbi Hi there!
 
sbi
@sehe Lo here.
 
10:24 PM
 
@набиячлэвэлиь on the contrary, that room intends to be not-rude to people trying to learn!
 
@sehe I am not rude in the slightest
I'm pointing out the best solution for that kind gentleman
 
@Morwenn I actually played a mosaic of all our kids baby vids at once. The sound was actually pretty satisfying.
> that kind gentleman
Keep being honest :)
 
@sehe Please no baby voice ç___ç
 
I'm not gonna repro
 
sbi
10:27 PM
@Morwenn Is there a difference to Motörhead?
 
@sbi I don't know, I don't listen to Motörhead.
 
sbi
@Morwenn You just listened to all their songs!
 
That masup sounds a bit like Merzbow. It basically means that Merzbow indeed produces noice music.
 
> Sounds like early Napalm Death
 
sbi
Nice ^
 
10:34 PM
@KhaledKhnifer It's as long as the whole discography of Napalm Death.
 
sbi
Anyway, gotta deal with a sick kid tomorrow again. I'd better hit the sack now. 'night!
 
@sbi Good night :)
 
@sbi G'night.
 
@sbi Good luck. We've just weathered things here. I hope. Wife should be back on the team too. Just in time for new job. Me-hopes
 

« first day (1927 days earlier)      last day (3039 days later) »