« first day (1768 days earlier)      last day (3406 days later) » 

user1804599
08:02
@MaiLongdong call the author of said library and tell them they're retarded.
I wish I could
> As @MaiLongdong pointed out, there is also [...]
HAHAHAHAHAHA
> Mai Longdong
> pointed out
2
gedit???
good job me
mai long dong did a good job
@MaiLongdong It seems like he's aware.
user1804599
Nice, found a cross-platform way to acquire the global object in JS.
user1804599
Function("return this;")().
user1804599
08:16
Works irregardless of strict mode. :3
irregardless isn't a word
@MaiLongdong blah blah blah language evolves man blah blah blah if enough people use it blah blah blah
@thecoshman I wish I had a pipe! (what were you replying to?)
@thecoshman "I am an uneducated retard like the rest of the population, pls allow me to exist"
3
@AndyProwl just your general demeanor
08:25
@thecoshman no idea where you got that from... you lazy youngsters just like criticizing don't you? I'd rather smoke my pipe than listen to that
> I have the following peace of C++ code
wish I reached the peace of C++ code
@ʎǝɹɟɟɟǝſ gonna watch it
TIL empty keys in JSON are valid o.O
hello
user1804599
> According to the Huffington Post, white feminists need to check their privilege and "shut the fuck up."
user1804599
08:37
lol
@Griwes as in { "" : "" }?
@thecoshman Yes. As in { "" : whatever really }.
why wouldn't an empty string be a valid key?
it's a valid string
{} equates to a string keyed map
Nice contradiction there cosh
@MaiLongdong you know NOTHING!!!!
08:47
Shoulda waited 2 mins just to make fun of you
so what was the conclusion last night?
    template<typename T>
    T as(Identity<T>&& def) const {
        return is<T>() ? as<T>() : std::forward<T>(def);
    }
Why the Identity<T> instead of T? @Rapptz
because you need what ever Identity does, silly
@thecoshman Because... it makes no sense, javascript-wise or else.
How do you access that value later? Remember that JSON is supposed to encode JS objects (duh).
foo[""] seems like a nice WTFish way to do that.
With array subscript notation, you have no other choice anyway
08:55
I grant you that it's odd, but why's that a problem for JS?
// is my understanding of this code correct?
extern char **environ; // this is a pointer to a pointer which points to the environ array?
int main () {
	char **env = environ; // this is a pointer to the pointer to pointer above
	while (*env) { // array is a pointer to it's first element so this somehow gets the first element of the array?
		printf("%s\n", *env); // and prints it
		env++; // no idea wth is this incrementing
	}
	exit(0);
    // how does this even work??!
}
user1804599
It's terrible code. Delete it.
~~magic~~
go read a book
4269
Q: The Definitive C++ Book Guide and List

grepsedawkThis question attempts to collect the few pearls among the dozens of bad C++ books that are published every year. Unlike many other programming languages, which are often picked up on the go from tutorials found on the Internet, few are able to quickly pick up C++ without studying a well-written...

This is why I didn't wanna learn JavaScript first :(
What is JS
08:58
JoySupreme
@MaiLongdong baby don't hash me
@AwalGarg FYI environ is a symbol provided by POSIX which contains a null terminated array of pointers to null terminated strings that represent the environment
@MaiLongdong Jacked-up Shit
if my memory is correct
@MaiLongdong Yes, I know that :) I am reading linux internals and saw this little piece of code. Just curious to know how it works.
09:00
Well what do you not understand? It's fairly trivial
I.. don't really know C so it doesn't look trivial to me :/
Run the code in your head/on paper
@AwalGarg You should ping @Mysticial, he also doesn't know C.
@AwalGarg this is ugly old code, I would leave this for now and learn C++ properly first, then come back to this.
@Griwes Wasn't that C++
09:02
@MaiLongdong He does not know of pointer arithmetic ;p
Hence -> book list.
@MaiLongdong to be fair, that looks like the mythical C/C++ :D
Feb 25 '13 at 1:31, by Mysticial
@c0dem0nkey No, I don't even know C.
Yeah, I guess reading linux without knowing C first wasn't a good idea. What book shall I read which can teach me just enough C to get through this book? I understand most of the examples quite easily and am able to do the questions as well but whenever this pointer to pointer thing comes is, I get lost. (just enough because I don't have any use of C, just interested in reading on linux)
@Griwes hahahahaha
Dec 23 '12 at 5:47, by Mysticial
The best way to get on the starboard is to mention that I don't know C.
Feb 19 '13 at 17:48, by Mysticial
I have a gold badge in C, and I don't even know C... Yep, the system works just fine...
<3
@AwalGarg Don't learn C. Grab a C++ book, learn C++ properly, ???, profit.
Learning a piece of language just to understand a piece of code is almost guaranteed not to work (even for that purpose).
09:07
What do you guys have against C o.O I hear a lot of bad stuff about it here :/
@MaiLongdong Why you be a nice guy?
@AwalGarg C Considered Harmful.
"Considered Harmful" Articles Considered Harmful.
Beat me to it.
09:08
"'Considered Harmful' Articles Considered Harmful" Articles Considered Harmful.
@AwalGarg It's a terrible, old, legacy language with no features.
Ccr
Ccr
Crazy discussion in the lounge today ... sometimes this lounge is too active.. bt i didnt got what those 18 star for the std::lounger_sort
Well.
One feature that is kind of neat - designated initializers or whatever the name of that was.
@MarkGarcia Gotta compensate the rare times where I'm annoying troll.
Hah, that question has a link for the C language version. Thanks!
wait, vlad has 80k rep?!
09:11
@AwalGarg Don't learn C, silly :/
how did this happen
@MaiLongdong yes
> Unemployed.
what else is news
@MaiLongdong Spamming terrible answers that were accepted by terrible OPs.
4 mins ago, by Mark Garcia
Beat me to it.
09:12
Well his rep ratio is awful
@Griwes Then how will I understand the book I am reading?
> I explicitly use the qualkified name.
lol
declktype(foo)
@AwalGarg Learn C++ - that'll let you read most C code, and not think that C is the best language ever which it isn't.
@Griwes Noted. Also why would I think that C is the best language ever?
09:17
@MarkGarcia Joke-breaker: wasn't that when he was banned? :P
@AwalGarg Because that's the general approach of the C community.
Xeo
Xeo
@MarkGarcia hahahahaha
nice choice for the text
@MarkGarcia I'm vlad to see this
@Griwes Joke-breaker-breaker: dunno there's some activity.
Xeo
Xeo
@MarkGarcia Residual upvotes.
@Griwes Pretty sure I shall be immune to it. I like dynamic languages better.
Xeo
Xeo
09:18
@Griwes You. Facts and jokes, kay?
@AwalGarg Then you are a lost soul anyway :(
@Xeo Yeah, Lightshot's default (and only) font.
@AwalGarg not the best language ever, but still better than C++
not very hard tho
@AwalGarg I've been cursing the lack of actual types in JS for the last two months. Types save ass, man.
09:19
@Griwes aww! I'd give love to C++ too :)
@FlorianMargaine lol no
C++ is terrible, but C is much more terrible.
It's virtually featureless.
@Griwes JavaScript is free to get the fuck out of my mind.
@MarkGarcia lol
@Xeo Err? :P
huh... my balls are feeling strangely sweaty this morning...
@AndyProwl oh, talking of humid, cancel those flights, back to rain :D we had our day of sun
Xeo
Xeo
09:27
May 20 '13 at 2:28, by Jerry Coffin
@EtiennedeMartel Okay, one more time: never let facts get in the way of a joke.
@MarkGarcia could be passive rep
@thecoshman ha, I knew paying those extra euros for free cancellation would be a good decision
user1804599
> we're in a time where
@Xeo Hey, I marked that as a joke-breaker. What else do you want? :P
user1804599
shouldn't that be "when"
09:29
breaking news atm it is not raining here
and by "atm" I mean in this minute
breaking news atm there's no breaking news to announce
@elyse space and time is the same thing (notice the singular)
[tag:griwes-so-]
y u suck chat
user1804599
Not in linguistics.
user1804599
Nor in perception.
@elyse it's a location within time
@elyse irrelevant
09:31
Breaking news: there's a Slovenian band playing in North Korea tonight.
@Griwes EVERYTHING IS PERFECTLY FINE! THERE IS NO NEED TO PANIC ABOUT ANYTHING!
omg I don't need to panic omg
@thecoshman NOTHING IS GOING ON DO NOT GET CRAZY ABOUT WHAT WE ARE NOT TELLING YOU
@MaiLongdong You should use that on a real estate agent: but renting that 150 sqm place for 1 month should equate to renting that 50 sqm place for 3 months & I would love to see your ass kicked out of that door
Yes because unlike you I can still get through doors
09:32
lol
Mai LongAndSlimdong
lol, there are more people at Microsoft than there are at Google in Github.
Did they make it a corporate policy?
Ell
Ell
It has been raining in hamburg today and yesterday
I thought mainland Europe was supposed to be hot :(
And sunny
Hamburg is like one of the most rainy places ever
Xeo
Xeo
09:38
twas raining from Saturday evening to Monday night here.
but it's also lovely when it's not raining
@FlorianMargaine ooh hi, somehow chat pinged me about your message now :P
@AndyProwl yea bby
Ell
Ell
What should I see in hamburg?
@Ell Wrocław. :P
09:40
@Ell Have you seen the tunnel?
(Yes I know I'm boring.)
(Aren't you bored of being boring)
(No)
@MarkGarcia google have a lot of open source software on their own websites
This room is funny in it's own way. Weird, but funny.
09:42
looming threat of "being funny" /cc @Cat
fail
I remember sailing in Hamburg's lake, it was awesome
it's a huge lake which is like 1.5 m deep or something
@AndyProwl is that meters or miles? :D
@Griwes millimeters!
this is you after got thru that door
09:43
that'd be mm, silly
soo pedantic
> thru
:crinj:
Ell
Ell
I haven't seen anything yet, yesterday was mostly taken up by transport
@MaiLongdong :krinj:
:kreenj:
:qreendj:
09:44
@Ell There's a cool museum about the history of Hamburg, I like that
@Ell You sound like a just-blinded man being treated.
Ell
Ell
Cool ill set off now :-
You can also go at the top of some church's tower, I think it's Saint Michael's
then you should see the night life district, a bit wild but worth it :D
I don't remember if it's Altona or the one next to it
ah, Reeperbahn
Hmm. Is anyone else here going to be at CppCon?
@AndyProwl you mean the Alster?
09:47
@ArneMertz yeah!
it's bit deeper than 1.5m - sadly. people drowning in there every year.
are*
@ArneMertz oh, really? People lied to me then
@CatPlusPlus I know why you are getting heavy now - your name implied it! If your name is cats++, it would be the number of cats that is incremented. But your name is cat++, which implies that the cat himself got more susbstance.
I am disappoint
German wikipedia says up to 4.5m deep
but sailing there is fuN!
09:51
> Average depth: 2.5 m
> Max. depth: 3.5 m
damn
@ArneMertz totally!
anyway 2.5m average for such a big lake is quite few
unless you have the typical Hamburgian rainy weather :D
eh, yes, that's the only problem with Hamburg
other than that, it's my favorite city in Germany
I wonder if it'd make sense to make a crazy one day trip from Seattle to Vancouver some day around the conference. :D
it's a small, dammed for drinking water in the past. And Hamburg is rather flat, so a dam of a meter or two of height gives a huge lake :-)
river*
~$320 for a flight tho :F
09:53
@AndyProwl mine too :D
@Griwes gulp
trip to Vancouver sounds cool but not for that price
it's a 3 hours return trip
if you have a car
@AndyProwl Wait, didn't you watch that already?
@ʎǝɹɟɟɟǝſ No, I just asked if someone watched it
I was curious about that movie
@AndyProwl I mean, there are far worse things you can get for it...
09:56
18 hours ago, by Andy Prowl
I did
18 hours ago, by Andy Prowl
I found it nice
18 hours ago, by Marco A.
has anyone seen that yet?
That's why you should always reply to messages
18 hours ago, by Marco A.
I'd rather go and watch Ex machina
that message couldn't have been parsed as an answer to any other message
18 hours ago, by Marco A.
has anyone seen that yet?
@ʎǝɹɟɟɟǝſ Like this?
09:57
@AndyProwl Could have also been the continuation of your own monologue
has anyone watched Pixels?
I did
I found it nice
@ʎǝɹɟɟɟǝſ ...if you only read it a few messages further.
18 hours ago, by Marco A.
how was it?
18 hours ago, by Andy Prowl
I found it nice
@ʎǝɹɟɟɟǝſ ah, I see. Well, yeah, but mostly I prefer not to annoy people with pinging if I can manage to write the answer immediately below their message
18 hours ago, by Marco A.
ah cool
That's confusing :c
although I tend to ping back if people ping me. It depends
09:59
@ʎǝɹɟɟɟǝſ :D
grrrrr
doing graphics card driver update
> cannot continue Found New Hardware Wizard is running
wtf
@ʎǝɹɟɟɟǝſ Please reply to messages, because otherwise no-one will know what's confusing!
fuck off and do your job
ITT how tony compoot?
@AndyProwl Anyway, the movie is what you expect. Nothing that will blow your mind, and it has few flaws. I wouldn't recommend spending the money for a cinema ticket though.
10:00
@ʎǝɹɟɟɟǝſ looks terrible
@ʎǝɹɟɟɟǝſ I see. Indeed I wasn't expecting much, just some nerd relax time
I was considering going to the cinema with colleagues just to have some social time
g/f would never watch it with me
Sounds like she is the smart one in the couple :P
@AndyProwl going to the cinema to social confuses me... you go to the cinema to shut up and watch the movie
I guess it's a talking point for later on
@thecoshman yeah, but you can have a beer before and make some jokes after, or something
@thecoshman It's all about sharing the popcorn.
10:02
@Morwenn GET THE FUCK OFF MY POPCORN!
@AndyProwl Are you explaining social interactions in the lounge?
@thecoshman *off, otherwise it looks like you want to fuck popcorns
@Morwenn oh man, I wish I was rich enough to afford cinema beer
@Morwenn I hate popcorns at the cinema
@ʎǝɹɟɟɟǝſ if oyu like
@AndyProwl yeah, it's nasty and old... and Ireland seems to only do salted :(
@ʎǝɹɟɟɟǝſ give lounge a chance
10:03
he he
@thecoshman no I mean (takes out the pipe) I hate people munching smelly popcorns everywhere when I'd like to focus on the movie
@ʎǝɹɟɟɟǝſ ironically, my way of remembering is that if I want someone to get 'off' something, I want to 'throw plenty of Fs at it', ala 'get the fuck off'
@AndyProwl I don't like them either. But I tend not to go to the cinema. Problem solved.
@AndyProwl I don't find that such an issue
you are all nerds
10:05
@R.MartinhoFernandes how goes that NAS btw?
@Morwenn but... superbigscreen and superloudnoise...
@AndyProwl sit real close and use headphones :D
@AndyProwl Don't care. The social factor would be the motivating thing.
But then again, there are better social stuff to do than going to the cinema.
@thecoshman does it work for simulating metal concerts? :D
@AndyProwl for that, turn up the heating to max, and jump into the walls
and turn the volume up even more
10:07
@Morwenn Hm, for me it's both
@Morwenn True that, but sometimes it's nice to organize something different
@thecoshman and hope your neighbors won't find out which is your car...
That went south quickly
indeed
> headphones
yeah I know, they be shit
0
A: C++11 Enum class containing duplicate values

ʎǝɹɟɟɟǝſThe answer to your question is: No.

:c
I wish I could have just put "No."
@ʎǝɹɟɟɟǝſ why can't you?
@AwalGarg Minimum 30 characters
Maximum passenger weight of 95kgs applies. There is a $150 surcharge if passenger is over maximum weight
10:19
@ʎǝɹɟɟɟǝſ may I try editing it?
@ʎǝɹɟɟɟǝſ zero-width spaces?
Or did they start detecting that? :D
> jump into the walls
3
A: C++11 Enum class containing duplicate values

ʎǝɹɟɟɟǝſ​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​No.

As I said... ZWSP.
aww, someone edited it back :(
10:29
lol
LET THE EDIT WAR BEGIN!
It's not ZWSP though
It's the Magical Invisible Character Of Love
a.k.a. &#8203;
a.k.a. ZWSP
:P
>Griwes
>jokes
>not even once
0
Q: Performance of Implementing Partial Specialization of Functions using Struct for Recursive Functions

Jayesh BadwaikIt's not possible to implement partial specialization of function in C++ directly. However, we can do so using our functions as an operator to a class or struct. I am interested in analyzing the performance impact of using such structs. For example (this is just an example): template<int a, int b>...

10:31
@AndyProwl vOv need something to bump into
~~~ purrformance ~~~~
> > >long dong
> > >quotes
> > >not even once
y u doing dis, murkdawn
> I have a feeling that the initilization of such a struct might be very expensive
yea purrformance should be based on feelings
fail
@Griwes, this answer is already borderline too brief, removing the quote makes it pretty useless. — Benjamin Bannier 1 min ago
ahahahahahhahahahahaa
@ʎǝɹɟɟɟǝſ Please do rollback to my version :/
10:33
I have a feeling that tonight is gonna be a good night? Profile and measure instead of "having feelings". Optimization is not voodoo. — Mai Longdong 39 secs ago
Me rollbacking it will be considered a rollback war, but you can do that without that :/
@MaiLongdong exactly
> Slodging: lodging yourself between inanimate objects and waiting for others to dislodge you. Usually done for sexual pleasure.
Yes, I'm aware of that, and I will do so if I don't get any answer. But this is a general enough case, that quite a few people might have already done it. So, why not see if somebody knows about it already? — Jayesh Badwaik 54 secs ago
Wow.
10:35
OP be lazy
@Morwenn rule 34. what else is new?
Note that you could do this with functions by tag dispatching on std::integral_constant. — TartanLlama 1 min ago
@TonyTheLion Well, Oglaf has some influence these days.
Yes. Let's give a clueless guy a clue he won't get. Smart, smart.
And also make him think he's right!
@Morwenn I Googled Oglaf. I know more than I wanted to :/
lol
now google electric retard
thank me later
10:39
@TonyTheLion what if the bad performance translates into electric shocks?
@thecoshman lol
@Morwenn that is an odd one
@TonyTheLion swf translation please :P
> lovingly rendered pictures of cocks. god save the queen. Alt Cetera
description of the website ^^
A webcomic about sex and a fantasy world. The archives lists the stories in the categories SFW and NSFW.
@TonyTheLion lol
10:47
ctrl+o :\ damn you!!!
@Morwenn for too many, they are the same thing
user796530
@MaiLongdong okay, so I saw your comments on my question and I also saw comments here portraying me as lazy. I can see why you think I'm lazy. I am pretty new to profiling and disassembly. Still coming to grips with gprof/valgrind and still not sure how to work it well. So, for me, that is a difficult job, and I'm not sure if simply measuring time is a good estimate. Is it?

Also, why are you so opposed to somebody already knowing what happens and then telling me that?
The advice is basically "don't speculate, measure". Golden rule of optimization.
user796530
Okay.
Also any negative comments are not specifically against you, it's just that this is a very common behavior that we see over and over. Don't take it personally, it's become more a meme than anything :)
user796530
I understand.
10:53
If you lurk around the performance-hot tags (GPU for example), you'll see a lot of people asking "which option is faster?" and most of the time the response of the users is "don't know, try and see".
Performance prediction on modern machines with modern compilers is completely non-obvious
user796530
Okay. Are there guys in this room who work on optimization and similar stuff? If yes, then I would like to hang out here. I'm just starting out working in numerical simulation. I will do my homework next time. :-)
AFAIK Mysticial (low-rep user) and I both do, but on different things.
user796530
Ohh. What do you work on?
GPU mostly D:
Probably other guis in the room too although I don't know exactly
user796530
okay
user796530
10:58
Nice! I am a mathematics student actually, who also does numerics. So, even if I do work on, its going to be mostly on small clusters (MPI) mostly.
oh, MPI. rip
I had this brilliant idea the other day which is to implement an OpenCL platform that drives MPI, so you could use MPI with OpenCL semantics, which is genius.

« first day (1768 days earlier)      last day (3406 days later) »