« first day (1555 days earlier)      last day (3617 days later) » 

user1804599
00:00
> Gerelateerde nieuwsberichten
There's a Google Doc of monocle sightings in NYC
The Daily Dot @dailydot
wth
Where and why do you even get "related news items"
user1804599
Kurt Tucholsky Q: What satire should be allowed? A: Everything!
@рытфолд Ah.
user1804599
I also have AdBlock.
00:04
Others extended later: A: Everything, besides being not really funny!
user1804599
my ear hurts
mine too
@рытфолд I don't
also, slight tinnitus
@рытфолд I've got tinnitus, you don't really know what it is when your ear hurts
user1804599
00:08
How often do you wish you had a composition of sqrt and abs?
@рытфолд Rarely :P
user1804599
Same here.
@AndyProwl you want square abs? google.nl/images?q=square+abs
user1804599
Nice, documentation tool works great.
only round abs here
user1804599
00:09
@sehe hell no
my abs are floored; that's a signum
@sehe what kind of magic did you do there?
user1804599
@sehe those guys' abs make girls sqrt
@AndyProwl I handcrafted a google query, why?
@sehe it seems you answered a message that came after
00:11
@рытфолд and if you take the product of that, you will get exponential population growth
@AndyProwl ah. I'm just that quick
impressive
user1804599
@sehe I can totally express that:
user1804599
#"SEXY";
def abs(x) = Math.abs(x);
assert attributesof abs = array("SEXY");
user1804599
I'm not comfortable with overloading = on arrays though, since arrays are mutable.
00:14
How's that sexy at all please?
Sexier than that? Now we can lay some pipe. Square ABS pipe
user1804599
Fuck.
Ready when you are
user1804599
I think assert attributesof abs = array("SEXY") is parsed as (assert (attributesof abs)) = array("SEXY").
user1804599
I should play a little with operator precedence.
00:16
Doesn' t prevent you from the heisenbug assertion that might occasionally appear.
@рытфолд Try to define the grammar without using the precedence rules. It is fun!
@рытфолд Well if you can integrate them, you could implement this a lot easier:
@πάνταῥεῖ How's yours?
@wilx you mean just LR rules? It's tedious. But often easier than precedence tables
How often? How loud? How perceptible? Known causes? Do you do something to mitigate it?
00:18
@sehe Yeah.
inb4 vodka
user1804599
I don't use precedence tables.
@R.MartinhoFernandes I'm not ever trying to be sexy. It' mostly males here anyway :P
No, I meant your tinnitus.
Mine's not very loud, mostly annoying in the morning, left ear only. No idea how to mitigate it. I've got vertigo, maybe related, who knows.
user1804599
00:19
Currently all prefix operators have the same precedence.
user1804599
But assert should have lower precedence than = and = should have lower precedence than prefix !.
@πάνταῥεῖ mating is correlated with being sexy. #check mate
honey is nice
and honey bees are cute
user1804599
attributesof should have high precedence.
I completely agree. In fact its prio should be so high that you immediately stop discussing it in the lounge, in order to better apply all available resources to the task at hand
00:21
@R.MartinhoFernandes Ah, that topic. Quite high frequency. Puppy would just go off the rails.
user1804599
Time to sleep.
@πάνταῥεῖ Can you ignore it?
Now that's contradiction
Don't fall asleep now
that would be a waste of time
@R.MartinhoFernandes No, it's brain instantiated
00:23
brain<tinnitus>
> instigated
@R.MartinhoFernandes He says he is going slightly mad.
@R.MartinhoFernandes he's a little drunk AFAICT
he's going mighty vlad
@R.MartinhoFernandes The pattern of appearance is completely unpredictable. One day its present, another day not. Ratio is about 3 from 7 days a week.
00:25
@sehe You're talking about me? Certainly not.
Mine is always there, but with varying loudness. I can ignore it if it's not too loud and I'm distracted.
bed time, g'night
@AndyProwl NN
@πάνταῥεῖ woof woof?
I fail to see how somebody else's tinnitus can make me go off the rails.
What animal is sonic the hedgehog?
00:34
I meant, if you would be the one hearing it. High frequency (like +11kHz). That's what's going to make dogs go off the rails usually. But I can't see any doing so as soon I'm appearing. So that's proof it just happens in my brain and not elsewhere outside.
Sorry taking you as an example dog.
00:47
@Puppy 15KHz is pretty painful if you've heard it.
I could hear 25kHz earlier in my life
Where are all the good questions in
I can hear about 22KHz
I'm waiting since like ages
It's just shit
is there an SE for fine arts
00:49
@Columbo They've been answered :P
@Puppy That was way decades ago for me! Loud punk music is serously damaging your ears. That's what I've been learning from it.
Can't someone ask some complicated name lookup problem or sth.
@Columbo I would, but I don't know how to make it complicated.
You can ask and answer yourself if you would like.
@Nooble Go through some corner cases in the standard, and see if you can make an example including it
@Columbo Lookup unspecified name ...
00:51
0
Q: Telepathic name lookup not functional

PuppyI've been unable to get the compiler to look up solely and exactly the names that I want purely by thinking it. How can I enable this feature in VS2013?

@Puppy LOL
^ That's great LOL
Upvote, quick
@Columbo Did so. Your answer now is?
I believe that a satisfactory answer would imply both extending VS and also the mechanics behind reading human thoughts with technology, so it must be rather complex.
00:53
0
Q: C++ Matrix Library for OpenGL ES 2.0

AlexI am currently in the process of porting my iOS game engine to generic(ish) C++ so that I can use the same code with very little modification between iOS and Android (eventually others). The only barrier I've hit is the fact that (obviously) I can't use Apple's GLKit classes on Android. So I have...

How do you reply to a question like that?
@Puppy SERIOUS MODE ENABLED
Is it April 1st already?
@Pris MEH. Close voted ...
@πάνταῥεῖ Dunno, can't think of anything funny enough
I want to answer those kind of questions... but at the same time, googling "C++ opengl matrix library" gives you a million results
im lazy, but even im not that lazy... most of the time
00:55
offsite resource
close vote.
@Columbo Let's see what puppy might have at hand for an answer. I'm sure it will be funny if they do so :) ...
I want to answer this.
Man Puppy no need to be so brutal with your comments
3
But I'll be downvoted 102 times.
And then I won't have enough rep to chat.
Can you quote comments in chat
00:58
@Pris He should have read the site FAQ more carefully.
@Nooble You shouldn't expose yourself to downvotes. Act consciously.
All of SE is a giant FAQ :D
Maybe I'll be able to send a fax.
@Pris Kinda! Kinda not :P
I expose myself to downvotes all the time.
01:00
If god wants.
@Pris inb4 woof woof motherfucker
but then I have 95 kilorep
@Jefffrey What was that again in portuguese?
I was thinking about MDL (mind-dependent name lookup), as defined in [imag.clause].
yes
Of course I'm not talking about real faxes. Nobody in the right mind would use faxes.
the hamming distance is 1
Cat's distance to being hammered is always 0
4
@Borgleader You're unfair! Puppies are well achieved anywhere :P
@Puppy I wish I had 95K rep.
@Nooble what would you do with all that rep
01:04
> Your mother is so fat, she probably stole those two $1 McDonald's coupons from me, because I don't know where the fuck else they could be.
@Pris Donate to charity.
can you exchange your rep for bitcoins
@Pris buttcoins
is that supposed to be funny? or ...? (the "your mother" "joke")
01:04
@Nooble Only 95K? Seriously? Why would you want so little?
@Jefffrey Laugh at it or perish.
@JerryCoffin Fine, 255K.
@Borgleader I was talking about the message I quoted :)
@Nooble Well, that's at least a little better...
01:05
@Pris I'm going to exchange rep for naturals as you want. Weed preferably :P
@Jefffrey you edited after... =/
@πάνταῥεῖ Or that thing that starts with "b" and ends in "lowjob"
@JerryCoffin Grahams number.
@Nooble Much better....or at least would be if rep meant anything at all.
@Borgleader That's just natural, people editing after. Dig it.
01:07
@JerryCoffin Grahams number of buttcoins?
That's gotta be worth something.
@Jefffrey Only from females, and maybe of course (they'll just need to introduce them nicely)
Can you be asexual?
Do you guys know asexual people?
@Jefffrey Your mother.
it is possible but exceedingly rare.
@Nooble Completely impossible. The total number of possible bitcoins is minuscule compared to Graham's number.
01:09
I'm not asexual, but weed is preffered :)
How does that even work?
I'm just too old for this shit :-D
I mean, do they miss something in their brain or hormones or what?
@Jefffrey Yes.
Actually no.
01:10
@JerryCoffin No
the body is a complex system that exhibits complex mechanical, chemical, and eletrical behaviour, all of which interact in complex ways.
@πάνταῥεῖ So what exactly would "or what" not cover?
@Puppy Wow, I'm feeling to get melted with my laptop right now. Good analysis!
@JerryCoffin Graham's number x Googol ^ Skewe's number of years to live.
01:13
@Borgleader I'm not falling into that category (neither young, neither japanese)
But I have my reasons of course :P
semantically do you think when you come across the token "ui" (user interface) in code, that gui is implied?
how many other kinds of uis are there anyway
@Pris CLI?
right... hmm.
@Pris UI, doesn't mean graphical user interface implicitely.
Agreed, but I personally take "UI" to imply GUI in almost every piece of code ive come across
01:17
@Pris That's a wrong perception
agreed, it seems like a bad idea
@πάνταῥεῖ What's right and wrong?
@Jefffrey Hard to say. Did I?
There's no absolute right or wrong.
@Jefffrey correct and incorrect.
01:19
@πάνταῥεῖ Did you?
Damnit, I wrote a slightly working solution to the telepathic lookup thread but it's put on hold.
@Jefffrey I said wrong perception, that doesn't judge the topic perceived.
@πάνταῥεῖ What does it mean "wrong"?
@Blob please share the answer here then
The actual word.
Is it wrong to kill people?
Is it wrong to eat human flesh?
01:22
Because the human mind thinks of too many things at once, you need to concentrate on a specific word. hastebin.com/uxeqixarej.cpp
Multi-word thought support to be added in v2.
@Blob lol
I'm not sure if that's intentional, but that code has UB.
> return true;
yeah, that's intentional
@Jefffrey wrong by itself doesn't mean anything without context. I was focussing on perception, and maybe having sad waek perception would have been more appropriate.
@πάνταῥεῖ His perception is just fine.
@Jefffrey Return true is UB?
WTF, I didn't expect to meet a philosophy course here :P
01:24
@Nooble No.
@πάνταῥεῖ ;9
@Nooble Defining stuff in the std namespace unless specified otherwise, is UB
id downvote that @Blob
and i never downvote stuff
adding things to namespace std { } willy nilly like that? shameful
I missed the const_cast and char* too apparently
And the std::endl
main() { would have probably been a perl or int main(void) or void main()
dont forget using camel casing in namespace std
wait whats wrong with std::endl;
nothing practically
it's just a nitpick for c++ gurus
specifically, whats the nitpick
01:27
std::endl doesn't just append \n to the buffer, it also flushes the buffer
@Jefffrey What would you rather do? \n? Lol.
@Pris It flushes the stream, which you almost never want (and on the rare occassion that you do, you should use flush to do it).
but often times \n flushes the buffer anyway, so...
@Jefffrey flushing is good though, tends to push out error messages and stuff when you crash
you should use standard error for error messages
not standard output
and standard error flushes for you
01:28
@Pris error messages should be written to std::cerr, which has minimal buffering.
what if you're logging to file?
@Pris std::clog.
So if I'm not supposed to std::endl, what should I do?
@JerryCoffin Wot?
also reading from input, I think implicitly flushes
then the OS can decide to flush any time
So I'd bet that in 97% of the cases, std::endl and \n is interchangeable
01:29
Well, that's just a stream for general logging. You can, of course, open a file and log to it (and specify the buffering appropriately when you do so).
but you know, if you are trying to look good, this is a nice little useless detail that you can proudly explain
@Jefffrey Testing indicates otherwise.
@Jefffrey You're looking good.
My go-to "look good" trick is XORing characters with space to change case
01:32
My go-to "look good" trick is... fuck I forgot.
@Jefffrey std::fucking_forget
It was something with unsigned char behaving differently from anything else in some rare occasion
Apr 3 '14 at 14:00, by Jefffrey
unsigned char c;
unsigned char d = c; // OK, d has an indeterminate value
int e = d; // undefined behavior
What? Why's that undefined?
Apr 3 '14 at 14:02, by Jefffrey
user image
unsigned char are special or something
I can't read standardise anymore
I feel like I should learn D instead
01:36
have you considered avoiding programming altogether
that seems like the best option if you have it
@πάνταῥεῖ Welcome to the dark side!
Damn it I missed it.
@Borgleader tell me your secrets.
He was welcoming me to the ${language that shall not be named}ark Side.
@Blob That would be the message above the one deleted.
@JerryCoffin My Lord :)
01:42
@Jefffrey no i had the same but with D capitalized.
but i removed it cuz it was funnier in my head
@πάνταῥεῖ That would be me. I'm the supreme koala/overlord here.
@Nooble That might just be a wrong perceiption :)
@Nooble Nope sorry, if anyone here is going to be called Lord, it's Jerry.
@JerryCoffin That article was interesting and sad.
01:45
@Nooble Stop doing drugs, they aren't for you
1
Q: constant reference parameter gives warning when passing a temporary

dog jonesThe following code gives me a warning about passing a temporary as a parameter to a function which takes a reference: struct TempObject { typedef TempObject& reference; const int First, Second; TempObject(int first, int second) : First(first), Second(second) {} }; void Function(co...

This is interesting
yesterday, by Jerry Coffin
@Nooble I, for one, welcome our new Koala overlords!
I don't know the answer though :(
What if we are god and we created this imaginary reality out of boringness of being alone in the universe?
Koala overlord. I think it means I rule koalas.
@Jefffrey What if you don't really exist and are really a figment of my imagination?
01:48
Exactly.
I'm full of love right now.
@Nooble I just told you: Stop doing drugs!
what cruel god would invent c++
@Pris One that always wants to be surprised.
Being sure that an afterlife exists makes me so fucking happy.
No shit religious people are happier.
@Pris Bjarne Stroustrup was that badass: I think you can even twitter him ;P
@πάνταῥεῖ Why twitter him when you can watch him sparkle
01:51
inb4 jif
he seems like such an aloof character
hes screwd up slides in every presentation of his ive watched
also he made a series of posts on why C++ is a good language for beginners
it is
if learned properly
01:53
@Pris it is, if you dont do something stupid like "hey lets show you manual memory allocation and low level shit before vectors", thats like showing you integrals for calculating the area of a disk instead of starting with the fucking pi*r^2 formula.
@Nooble That's brilliant Sir! My Lord!!
even if you dont use pointers at all, simple typos with templated types results in complete nonsense
I still loathe getting those errors because of how much indirection there is in figuring out where you screwed up
@Pris write a template error understander! "Reducing 400 lines of template errors to: 'You forgot typename on line 12 dumbass."
i dont think beginner languages should have direct memory manip or generic programming
@Borgleader Use Clang.
01:57
@Borgleader yeah but someone taking intro to programming shouldnt have to suffer through that
@Jefffrey Chandler? Is that you?
C++ was my first language. I quit for a year in the middle because wtf why how does that even.
C++ was my first language too
Don't you guys get bored by what people talk about, sometimes?
Like when they talk about stuff that happened to them or what that guy/gal did or whatever?
@Jefffrey Depends

« first day (1555 days earlier)      last day (3617 days later) »