« first day (821 days earlier)      last day (4352 days later) » 

user142019
16:00
That's a project I'm working on.
which does what exactly?
fuck your skull
user142019
It allows you to store and retrieve data.
user142019
@TonyTheLion lol
@R.MartinhoFernandes Is the cat's hate also reflexive?
16:01
symponies
user142019
It's an unstructured, garbage-collected data store.
how can a store know what's garbage and what not?
user142019
You tell it what data it must not collect.
@TonyTheLion hence skull fuck
16:02
@TonyTheLion "best before" sticker
¬_¬ so... it's a flat file store?
user142019
> Entities stored are automatically deleted when they cannot be reached anymore. An entity is said to be reachable when it is referenced—directly or indirectly—by a pinned entity. As a developer, you can tell SkullfuckDB which entities to pin.
@thecoshman honestly, WTF
user142019
@FredOverflow lol
@TonyTheLion that's the 'skull fuck' part of it
16:03
@chris Adventures aren't supposed to be easy. They should be challenging!
my skull has been fucked
@TonyTheLion WTSF FTFY
@TonyTheLion that's a thing you know, NSFW
user142019
skull-fuck (third-person singular simple present skull-fucks, present participle skull-fucking, simple past and past participle skull-fucked)
(vulgar, slang) to actively penetrate someone's mouth; to have vigorous oral sex
(vulgar, slang) to penetrate someone's eye socket
16:03
@thecoshman yea, rule 34
"jQuery 2.0 now has more patches and shims for Chrome, Safari, and Firefox than for Internet Explorer!" Now that's progress.
@Zoidberg honestly? WTF?
@FredOverflow, I do enough of it in raw winapi, don't worry. I usually opt for doing it the long way instead of learning the .NET way :/
¬_¬ there's no being subtle in this room when it comes to sexual things
Did I mention that C# sucks?
16:04
> (vulgar, slang) to penetrate someone's eye socket lol
user142019
@TonyTheLion I didn't invent it!
@R.MartinhoFernandes dude, that is so last hour
@BartekBanachewicz no, but do go on
SkullFuck needs more jQuery
user142019
@TonyTheLion It prevents people from using it.
@Zoidberg But constant strings not nearly as useful in C++ as they are in C#.
16:05
@Zoidberg hahaha
Did we have "needs more jQuery" as a topic?
@R.MartinhoFernandes I blame Firefox.
@BartekBanachewicz What exactly does suck about C#?
Because, when in doubt, always blame Firefox.
16:06
room topic changed to Lounge<C++>: Need more jQuery with ponies. [c++] [c++11] [c++-faq] [get-out] [no-questions]
user142019
@FredOverflow nothing.
In other news, hello everybody.
user142019
jPony
user142019
@EtiennedeMartel Hello, Etienne!
16:06
@FredOverflow nothing, I'm just saying pointless stuff to make somebody try to convince me to think otherwise. Move on.
@BartekBanachewicz Please think otherwise.
@BartekBanachewicz Also, just because a language sucks does not mean it's not great. I mean, look at C++. So many things wrong with it, and still we love it to death.
@TonyTheLion :)
Did you two really try to speak reason to me? @Nolwenn it's easier than it looks, really -.-
16:07
@FredOverflow well, let's not go too crazy here
@Zoidberg who's getting laid?
user142019
@TonyTheLion JUDGE ALL THE PEOPLE
@thecoshman Are you saying you wouldn't die for C++? ;)
@AndreiTita why? it's perfect reasoning.
user142019
@sehe yo momma
16:07
@FredOverflow yes
@Zoidberg no doubt
user142019
lol
@thecoshman That's what he wanted.
user142019
@AndreiTita That's what she said!
@FredOverflow Not all that much bad about the language itself. The problems are in the implementation and (especially) the class library.
16:08
@thecoshman Here is how I would "die" for C++: int die() { return 1 + rand() % 6; }
Why are you fighting with C# again?
user142019
@FredOverflow inb4 modulo bias
@FredOverflow Dude, <random>.
@AndreiTita Lolololo yea C hash sucks
@Zoidberg sounds... appetizing
16:09
@FredOverflow no, just no
@AndreiTita huh?
@JohanLarsson It's just the result of mixing boredom with their inner children.
@JohanLarsson We're not. A fight implies roughly equal chances of winning. We're just picking on the wimpy kid.
3 mins ago, by Bartek Banachewicz
@FredOverflow nothing, I'm just saying pointless stuff to make somebody try to convince me to think otherwise. Move on.
16:10
@R.MartinhoFernandes stop trying to act grown up
@TonyTheLion That's what you think, but then you look at a kitten and BAM! Feelings aplenty.
@BartekBanachewicz y u bash C hash?
@EtiennedeMartel I don't look at kittens
@AndreiTita yes... it's perfect logic. You should not blindly accept something as good. It should be proved good first. Else we end up with people using Haskel
user142019
HASKELL <3
@thecoshman As if anybody uses Haskell in the real world :)
@EtiennedeMartel just the feeling of something bouncing of your foot as you drop kick it :P
user142019
@EtiennedeMartel FOOD
@thecoshman You're a monster.
YOU'RE ALL MONSTERS.
16:11
@EtiennedeMartel It does nothing for me
user142019
Time to shower.
@EtiennedeMartel you know what also feels good?
@Zoidberg Time to show her?
user142019
Goodbye friends and enemies!
@EtiennedeMartel oooohhhh
... I'm so bored.
16:12
Jan 7 at 16:13, by Etienne de Martel
@Zoidberg Everyone loves the Cat. Too bad it's not reciprocal.
@BartekBanachewicz You could write something positive about C#.
@Zoidberg stop talking to enemas
WTF:
@thecoshman Not sure if typo or joke.
@FredOverflow it's follows are rather good at keeping out of the way
@R.MartinhoFernandes joke :P
@sehe Jamendo just posted that on their wall. I thought you might like the piece jamendo.com/pl/list/a116409/the-violin
16:13
@thecoshman Enema is something disgusting, isn't it?
Time to go out into the snow and lernen some Deutsch. Later.
Oh wait, I remember from the Big Bang Theory. "Mochten Sie ein Darmspülung?" :)
@FredOverflow depends on what you find disgusting really... just don't google it till you get home :P
@R.MartinhoFernandes out into?
@FredOverflow okey. About C# i like... that it compiles very very fast!
(how did it go?)
@BartekBanachewicz Oh yes, definitely a big plus!
16:14
@thecoshman Out of here, into the snow.
@R.MartinhoFernandes @JerryCoffin I think children are in majority in the C# room
@R.MartinhoFernandes Typos are a common thing for our favorite Irishman.
@R.MartinhoFernandes I see... oh, snow, I read it as shower
@R.MartinhoFernandes here undefined
@thecoshman Into the outsides.
16:15
(I know you're not really Irish, but fuck it)
@EtiennedeMartel (╯°□°)╯︵ ┻━┻
@EtiennedeMartel I'm half Irish, so I make half as many typos.
@Mysticial You're the record PI holder? Congrats :)
@JerryCoffin ¬_¬ I'm not Irish, at all
@FredOverflow You've only just discovered that?
16:17
@FredOverflow eeeeeeck
@TonyTheLion I read it on reddit or something.
@FredOverflow record PI holder?
@thecoshman I'm half Irish, a quarter French and a quarter English. Talk about inner conflict!
@FredOverflow you're on Reddit???
@thecoshman His PI is longer than anyone else's.
16:17
I should get SC2 on my work computer
@JerryCoffin ¬_¬
@FredOverflow PI....?
@JerryCoffin I guess you're angry quite often then.
@TonyTheLion I browse programming when I'm bored.
@FredOverflow You're the world record holder in not knowing about Mysticial holding the world -record-number-of digits-of-Pi-calculated for the longest time
16:18
@FredOverflow Rounder, not longer.
@FredOverflow ah right
@TonyTheLion Like anybody needs that much precision. 3 is plenty.
@FredOverflow lol
I think we should celebrate when we hit message 777777
@sehe How can there be a record for a binary predicate (knowing or not knowing)? :)
we have to claim it :P
16:20
@TonyTheLion And then drink!
later ship mates
@FredOverflow "for the longest time". Not binary
@FredOverflow My physics teacher in high school used "standard physics rounding", meaing pi = e = 3. It made quite a lot of equations easier indeed :P
@FredOverflow And we all know it's really 3 anyway, because that's what the Bible says.
@JerryCoffin You'd like "Good Book" by Tim Minchin
16:23
@sehe Oh, I thought that applied to the PI.
@JerryCoffin The bible talks about PI?
I got a colleague who's a hipster whiner.
He was whining before it was cool.
@FredOverflow Yes, indirectly.
@FredOverflow The Bible is a normative source on final knowledge. God could hardly have been remiss
@JerryCoffin How?
All the measurements of the Ark and the Temple?
16:25
@FredOverflow There's something about a bowl 10 cubits in diameter and 30 cubits circumference.
@sehe Yes.
@JerryCoffin I hope no PI=3 believer performs circumcisions :)
@sehe The problem is that the Bible was written by humans, who are fallible by definition.
@FredOverflow Ouch!
@JerryCoffin Weehoo. I half-didn't forget about it
@EtiennedeMartel shhh. don't tell anyone
Still, one wonders why God did not simply drop the Bible on Earth, already written in every possible language.
16:28
stupid voice but still funny
@FredOverflow lol
@TonyTheLion 'nuff said
Or simply rename your own distance function and remove the clash with std::distance. — Mithrandir 11 mins ago
2 upvotes
People are braindead recently.
Well, turns out DmC is all right. And of course, fans are screaming murder.
16:36
s/recently//
@Griwes Little known trick is to use (distance)(x,y) preventing ADL
ohhhh interesting
@sehe How is ADL involved in that code?
@AndreiTita Clashes with std::distance.
@AndreiTita It isn't. That's the point. However, since you can have x and y be, e.g. std::string::const_iterator this would mean that std::distance would apply by ADL. The parens prevent this
16:45
@sehe I see.
Morning, all
@EtiennedeMartel That's the story of the Koran (except "written in the one true language").
Ahahaha the audio was shit, after turning the volume up it was just cracking and no comprehensible words
@sehe They also prevent using a macro, in case somebody was insane enough to #define distance(x,y)....
Oh hey. Will they give it the thumbs down?
The fate of PHP 5.3 is being decided now: https://wiki.php.net/rfc/php53eol
16:49
@sehe just burn it all.
@JerryCoffin Do they? I don't see how that could work. Oh, aha, because there couldn't be confusion with a macro that has parameters
@BartekBanachewicz I suppose it is just about end-of-life-ing 5.3...
@sehe it's 7-7, if I correctly read ticks as votes
@JerryCoffin Speaking of Arab, is it me, or does it seems that whenever two persons speak to each other in Arab, it always sounds like they're arguing about something.
@sehe Yes -- for a function-like macro to be expanded, the name must be followed (modulo white space) immediately by an open paren (not a close paren).
@JerryCoffin This is going to keep me sane next time I have to #include <windows.h>
@JerryCoffin Yup
16:50
German sounds angry, and Arab sounds argumentative.
@sehe minand max anybody?
@sehe #define NOMINMAX
@EtiennedeMartel Not that you hear too much Arabic on US TV, but yes.
@JerryCoffin I got a bunch of Lebanese friends, and that's what it sounds like when they talk to each other.
@CatPlusPlus so you failed miserably?
user142019
16:53
I just ate turkey. Turkey y u so dry.
@CatPlusPlus Now remember what I said about windows/realtek microphone boost.
@JerryCoffin right. I used to do #undef min etc.
@EtiennedeMartel That's a compete kludge.
@sehe Someone should make a header with all #undefs
user142019
Just make a new header windows-fixed.h with #undef shit and then only ever #include "windows-fixed.h" instead of #include <windows.h>.
user142019
@BartekBanachewicz y u beat me to it by a few seconds. :<
16:54
@BartekBanachewicz It exists: sed /^#include <windows.h>/d
@Zoidberg because you were getting laid
@sehe was he?
user142019
@sehe I wasn't. :(
user142019
And I don't see myself chatting here while getting laid.
1 hour ago, by Zoidberg
It's getting late.
@Zoidberg That would be a unique event then. Seeing as you seem to be chatting here while eating, whilst in bed, in the living room with your parents an from school, during or between lectures.
@sehe dat pun.
user142019
16:55
I'd be too busy setting up a live stream.
user142019
A stream of living white stuff. :L
lol
A life stream, one might say
user142019
Well, as long as I don't get skullfucked, it's fine.
> Why are people so quick to buy junk theories on climate, creationism, and vaccines? Chris Mooney explains in "The Science of Why We Don't Believe in Science."
2
user142019
16:58
I have on my socket class a function listen that takes a callback. That callback is called on each connection made. Should I accept the connection before calling the callback, or should I leave that up to the callback?
@TonyTheLion No
user142019
If the callback doesn't accept the connection for whatever reason, the connection queue will fill up. :/
user142019
But accepting doesn't feel like the responsibility of the listen function.
@Zoidberg it's not the listen function. It is the acceptconnections function :)
Or dispatchconnection
user142019
I have void listen(int backlog, std::function<void()> callback) and Socket accept().
17:00
Soo, don't call it listen. Since it does more.
user142019
@sehe Huh, dispatch?
Because you dispatch it to a function: you receive a connection, you accept it and then dispatch it to an actor ("callback")
user142019
I can also have the callback accept it.
user142019
server.listen(128, [] {
    TCP client{server.accept()};
    // stuff...
});
@Zoidberg I don't think that this is sane design. No, it doesn't seem like the responsibility of the callback.
user142019
17:02
Oh okay.
The callback doesn't own the socket nor it's queue. The callback doesn't decide on which client IP is permissable etc.
Think of it this way: what would be the reason for a callback to not accept the connection pronto? Perhaps because they elect to call std::terminate() instead...
user142019
I modified it to this:
user142019
server.listen(128, [] (TCP client) {
    // stuff...
});
user142019
void TCP::listen(int backlog, std::function<void(TCP)> callback) {
    connectionCallback = std::move(callback);
    auto* stream = reinterpret_cast<::uv_stream_t*>(tcp.get());
    int err = ::uv_listen(stream, backlog, [] (::uv_stream_t* stream, int status) {
        auto& self = *reinterpret_cast<TCP*>(stream->data);
        TCP other{self.accept()};
        self.connectionCallback(std::move(other));
    });
    if (err != 0) throw ListenError{};
}
@Zoidberg I think a backlog of 128 is quite unusual. I might be wrong though
user142019
17:05
Also I should rename TCP to TCPSocket or something.
@sehe That is important and everyone should read it.
@Zoidberg Makes sense. Perhaps you'd even want to make it Socket (but only if you don't depend on any TCP specifics)
user142019
I want a different interface for UDP. :P
user142019
If I'm even going to use UDP.
user142019
Accepted connection!
zsh: segmentation fault (core dumped)  ./build/a.out
user142019
17:10
Great. :P
user142019
Oh uv_close segfaults when passed nullptr. This happens in the dtor. :/
Why are you reinventing sockets
user142019
I'm not. I'm wrapping libuv.
is there a way to delete my chat history ?
user142019
Hack the database and Google's cache and everything.
Ell
Ell
17:18
@Mhjr In here? No
I see
ha ha ha
user142019
Once it's on the Internet, it's permanent.
user142019
You can never delete anything that's been on the Internet.
Ell
Ell
Trudat
@Mhjr I'm sure you could plead with a very convincing story (or a large bribe) with the SO mods. But, even that won't delete any cached search results and (???) evil ripoff sites that clone SO chat data (if that even exists, but... you never know)
17:21
why not giving me a pistol
?
@Mhjr who?
Weird shit in here.
Ell
Ell
Anyone know of good pdf manipulation software? I need to take pages from various pdfs and put them into one
Jan 10 at 0:12, by sehe
Also, is it me or are C# chatters slowly moving into the Lounge during off-peak hours?
Ell: pdfpages package for LaTeX
17:27
I'm afraid I might have had something to do with that. I visited the C# room twice.
@sehe We don't flag as much here.
Ell
Ell
I visit the c# occasionally
The first time, I apparently stupified some chatters there. And the second time (I don't know what that was about again), they noted my C++ heritage. Somehow, since that day we've see Johan and increasingly more C#-ers in this room
@Ell Oh. Good. It's your fault then :)
Ell
Ell
It's not a bad thing :P
Jan 3 at 10:50, by sehe
More fags in the C# room
@Ell Not necessarily
Ell
Ell
17:29
And I went in there aaaggeees ago
So it can't have been me ;)
@AndreyVihrov thanks I'll try it
@sehe Have I told you you're my favorite bear?
@EtiennedeMartel hug :)
aw. you must have had that waiting. Too cute.
I wasn't. I Googled for "bear hug" and saw that.
17:37
@TonyTheLion What is a brothel?
a whore house
It boggles my mind why, in some countries, prostitution is legal but brothels are not.
Ask a lawyer
@BartekBanachewicz What??
0
Q: Substitution failure is sometimes an error?

Andreas FlorathThe following code snipplet tries to implement a 'std::is_constructible': #include <type_traits> struct A { // A(int); }; template< typename T > struct cstr_int { static int mi; template< typename C > static typename std::enable_if< std::is_same< decltype...

hello
Thankfully nothing bad came out lol !
other than meaningless %$^$%
I am surprised nothing bad came out !
17:51
@EtiennedeMartel In many (most?), prostitution is legal, but pimping (brothel or otherwise) is not. Apparently it's pretty typical for pimps to use coercion to get young women (girls really, in many cases) to work for them.
user142019
Lambda y u no capture by move. :(
@Mhjr Pro tip: keep it that way
Did I miss something?
user142019
server.listen(128, [] (UV::TCPSocket client) {
    std::cout << "Accepted connection!\n";
    client.startReading([] (std::vector<unsigned char> data) {
        std::cout << "Received data: ";
        for (auto c : data) std::cout << c;
        std::cout << '\n';
    });
}); // whoops, client destructed
user142019
C++ Y U NO GC.
17:55
hi guys. I need help to find some docs about C, but I can't fing the C chatroom. Can some1 pls help me find the C chatroom or help me here?
@Mysticial Undoubtedly (or did you mean "something that mattered?")
@JerryCoffin Did I miss a troll?
@Mysticial Honestly, I'm not sure. I've just been in an out myself -- have too much work today to spend much time just hanging out.
@MarcusStuhr I suck at recursion, must have spent five hours on 57 see you solved 410, nice!
@Zoidberg you passed it by value, right? Why would the lambda-local copy of it be destructed too early?

« first day (821 days earlier)      last day (4352 days later) »