« first day (1549 days earlier)      last day (3410 days later) » 

12:00 PM
uh, c arrays are so retarded
 
yep
everybody who knows C++ knows that
 
1
Q: Dynamic array allocation

blaI'm wondering why new doesn't seem to retain the array information and just returns an int*: #include <iostream> using namespace std; typedef int (*p_to_array)[80]; typedef int arr[80]; int main() { arr a; p_to_array p = &a; //fine p_to_array p2 = new arr; // incompatible typ...

specifically talking about this
 
Hihi
 
Hi x2
 
@BartekBanachewicz actually, you can't really argue this. C is retarded. C arrays are just the lack of abstraction around con neumann type memory implementations, no?
 
12:11 PM
@sehe Did you have your coffee, mate? :)
 
@sehe I could imagine a better lack of abstraction than C arrays.
 
Xeo
12:22 PM
@AlexM. One does say "I'm going to buy eggs if it's true that they have them/eggs", however.
So we should be writing if (true == they.have_eggs), obviously!
 
or just forgot about eggs and eat pancakes instead
 
pancakes need eggs
 
unless you buy the premixed powder for it
 
@Columbo your answer is brilliant
 
not if you have instead pancake mix
 
12:27 PM
@BartekBanachewicz Dude, calm down
 
Great, after some optimizing, I factor a 64 bit number in 26 microseconds on average @ 4ghz single core
 
@Columbo I like it a lot vOv
 
It's more brilliant how I got an offer from Cam after my disastrous interview haha
 
@BartekBanachewicz cambridge
 
12:28 PM
wasn't sure
are you going to take it?
 
Not the river, as LRiO might have said
@BartekBanachewicz Well, yeah
 
what are you going to do there?
 
@BartekBanachewicz Computer science with Maths :D
What did you expect, fucking History? ^^
 
they usually intersect so much it's almost redundant to also mention maths
 
12:32 PM
@AlexM. Yes, but they have three different combinations: With Maths, Natural Sciences and Sociology. And with Maths is apparently the most demanding course, I had two interviews, had to sit a test and will still get an offer including a good grade in STEP papers (which are quite hard, believe me)
 
CS with natural sciences? wat
 
@AbhishekGupta Nice nugget
 
@AlexM. Bioengineering
oh right this guy has me plonked
>.<
 
@Columbo well, I asked more whether you'll do dev stuff for them or teaching or whatnot
@Columbo I assume it's teaching
 
Dude, I'm 17
Undergrad
 
12:35 PM
lel
 
wtf Bartek there are no adults in this room
I'm 13
 
@AlexM. No you're not
 
what did you expect
 
@AlexM. Do you ship the schweppes with that ?
 
I am a pedophile, me so happy! </troll troll troll>
 
12:36 PM
@AlexM. No 13 year old could put so much sense into his posts (not saying it is alarmingly much, but still)
 
I'm 9 , where are the unicorns and candies ?
 
@Rerito is that the soda thing
didn't get that
 
@AlexM. You never saw the commercials ?
 
@Rerito I don't watch TV often and when I do I usually watch the news to see who died lately
or switch to the cooking channel
@AbhishekGupta I deny everything, I'm 13
 
12:38 PM
@chmod711telkitty They are coming
 
@AbhishekGupta how old are they again?
 
an example
 
I get it now
lol
 
Yes, and every time it is hyper sexualized
(of course, it wouldnt be a commercial otherwise lol)
 
sex sells ... although I am not sure about that can be said about high tech products
 
12:41 PM
I was thinking about the poor guy
would he get two chicks or none
maybe none, and he goes home to drink his sorrow
drinks too much ends up in a coma
dies
 
And drown it in Schweppes
 
such a sad story
 
The loneliness of the guy reminds me of a french tv real gold nugget
 
can't believe you guys watch ads
 
I was thinking about getting my dad some Cuban cigars for his birthday
he likes smoking too much for us to be able to sway him from doing it anyway
 
12:43 PM
@AlexM. Great Idea!
 
-14
Q: Can someone please explain what this means?

rockyrexYalin has a little sister whom he loves very much. On her birthday, he decides to give her a special dictionary made up of words using just a few alphabets which appear in an odd order. Thinking she will love the gift as much as he did, he gifts it to her. But unfortunately, she doesn't like it a...

 
and he's getting old anyway
 
holy
 
might as well just let him do what he likes
 
*You found a rubbish question, so you decided to post it on SO? What did we do to you? Murder your firstborn? *
 
12:44 PM
@AbhishekGupta I think so
he never tried something like that
cigars are a rarity here
 
@AlexM. wut
 
I've never seen anyone smoke cigars
it's always cigarettes
probably because of their price
 
cheap cigars are quite common here
 
5 cigars = at least 6 x a packet of cigarettes
 
@AlexM. My brother sometimes does it. You can get a good cigar for around 7-10€
He made me try, the one he got had a coffee taste and I can't stand coffee
 
12:46 PM
here a cigar is like 5$ min
 
http://www.thewrestlerscambridge.co.uk/

Amazing food and beer. Bookmark it in case you get in.
 
It sticks to your mouth... D'oh, I drunk so much to drown that coffee taste
 
he have flavoured(also tobacco ) hookah , here , it is more common that cigars
 
@MartinJames I bookmarked it as well, since I wanna go to the UK (as a tourist :) )
 
this chat at it's worst best - a bunch of newblets fairly new users claiming to be underage, then discuss about tobacco & alcohol
 
12:49 PM
teens talk about sex and alcohol , they are not stupid , you don't know anything sobs
 
@MartinJames Cambridge is mostly 'meh', not a huge amount there, from what I've seen
 
did I mention stupid?
 
@chmod711telkitty We are indeed children. Every man is still a child. That's the point of being a male
 
@Rerito I'm always wary of pubs that serve food in the same area as beer, but the Wrestlers proved that it can be done while still serving superb ale:)
 
Xeo
@Rerito wtf
 
12:50 PM
@AlexM. no, you say "If it's true that they have egg, I'll buy eggs"
 
@Rerito That some deep shiz there
 
@chmod711telkitty it's still better than people claiming to be girls
 
no, you say "If they have eggs, I'll buy eggs"
cmon, who adds the redundant "it's true"
 
std::vector<int> v;
*std::back_inserter(v) = 5;
funky
 
@Xeo Wot, I cherish my child mind :(
 
12:50 PM
@BartekBanachewicz why
 
until today I've never thought about using it that way
 
@Abyx It's not right for girls to claim to be girls?
 
@orlp was PoC-ing an answer
 
@BartekBanachewicz PoC?
 
@orlp Proof-Of-Concept
 
Xeo
12:51 PM
proof of concept
I blame my interwebs for being slow
 
@chmod711telkitty that's ok, but there are no girls on the internets
 
prove it!
 
@BartekBanachewicz What are you talking about? , it was made to use that way imo
 
@thecoshman Well, there are some nuggets, like the Wrestlers, but yesh, it's not a super-brill place. It's a fun place for motorists, if your idea of fun is 'trying very hard to not kill cyclists' :(
 
@AbhishekGupta it's typically used in the iterator form as a parameter to output of stdlib transformations like transform or copy
 
12:52 PM
@MartinJames I hear they have a most fabulous by-pass
 
> .reserve(0);
lol
 
@thecoshman lol, yes, stay on the A14/M11 :)
 
@BartekBanachewicz now that is what i use in a rarity
 
@BartekBanachewicz Should I give you standard quotes for your answer here stackoverflow.com/a/27901627/3647361
 
@AbhishekGupta you should use them more, then
 
Xeo
12:54 PM
@BartekBanachewicz FWIF, operator* of back_inserter just returns itself
 
@Columbo well, if you create a 2nd answer with the quotes it's free rep for you.
 
@BartekBanachewicz I'm trying to break my rep addiction
 
@Columbo Then sure, I don't mind you adding them :P
 
@Abyx Are you telling me this is a 'he'?
@HillaryClinton, New York
Wife, mom, lawyer, women & kids advocate, FLOAR, FLOTUS, US Senator, SecState, author, dog owner, hair icon, pantsuit aficionado, glass ceiling cracker, TBD...
115 tweets, 2640k followers, following 9 users
 
Was 'back_inserter' really the best name they could come up with for that functionality?
 
12:55 PM
@Xeo uhm.
 
Hey, has anyone here worked with opengl ?
 
why. how. it's an iterator
 
Xeo
So?
 
@EdwardMckinzie There are rumors that I did.
 
Lol
-2
A: Dynamic array allocation

Vlad from MoscowIn this declaration p_to_array p2 = new arr; // incompatible types type of initializer new arr; does not correspond to the type of variable p2 The type of initializer is int * that is the initializer is pointer to the initial element of the allocated array. The type of variable p2 is int (*p...

Vlad strikes again!
 
12:56 PM
@MartinJames better yet, avoid that entire area
 
@Xeo iterators don't overload assignment operators to operate on the pointed value :S
 
Xeo
Yes they do
 
@BartekBanachewicz can you help me with some, fragment shader in opengl ?
 
I wanna bring the GF to London (currently saving for that matter...)
 
@Xeo you're kidding right
 
Xeo
12:56 PM
Did you think that operator* on back_inserter would invoke push_pack with... something, and return that something?
@BartekBanachewicz No
 
where she lives now @Rerito
 
Any tips ('tourist friendly' places etc)
 
@BartekBanachewicz Sorry, I can't - I have to make my own answer, I want rep so badly
 
@BartekBanachewicz For back_inserter_iterator making op* be a no-op is the really easiest way to do that.
 
@EdwardMckinzie With me
 
Xeo
12:57 PM
because there is no pointed-to value
it's an output iterator
 
Otherwise you'd need another proxy type.
 
@thecoshman Are you insinuating that East Anglia is a flat, boring waste of English real-esta... oh, never mind.
 
@Rerito India is tourist friendly place
 
@Griwes that's what I thought
 
12:57 PM
@BartekBanachewicz dude ??
 
The op* would have to return a proxy overloading the op=.
 
Xeo
it does some operation on *it = ...;
 
@Xeo what about regular iterators
 
That makes no sense - it doubles the amount of types you need for the feature.
 
@AbhishekGupta Too remote for now. But we like indian food very much!
 
Xeo
12:57 PM
and the easiest way to do that is to have operator* be a no-op and just do what's needed in operator=
 
@EdwardMckinzie depends. What seems to be the problem?
 
Xeo
1 min ago, by Xeo
Did you think that operator* on back_inserter would invoke push_pack with... something, and return that something?
^ answer that first
 
@Rerito It depends which part you visit , the captial is more like Washington .
 
@MartinJames Let's face it, apart form London, and planes, the entire eastern fringe would be better under a water.
 
@BartekBanachewicz I started learning opengl today LOL, and the problem is i cant change the color of my Triangle
 
12:59 PM
@EdwardMckinzie using shaders?
 
> C++ concepts: OutputIterator
> *r = o
 
Here is teh fragment shader
"#version 400 \n"
"void main(void) { "
" gl_FragColor[0] = 0.4; "
" gl_FragColor[1] = 0.1; "
" gl_FragColor[2] = 0.2; "
" gl_FragColor[3] = 1.0; "
"}";
 
@thecoshman Oh - you've been to Essex, then?
 
@AbhishekGupta I've got an old class mate who lived in India for a while (in Delhi if I'm not mistaken)
 
i was just trying the basic triangle example
 
12:59 PM
@EdwardMckinzie gl_FragColor = vec4(0.4, 0.1, 0.2, 1.0);
 
@BartekBanachewicz That holds with op= and op* being a no-op. :D
 
I'm sure he could hook me up
 
@MartinJames I'm sorry, I've got by blonde filters on
 

« first day (1549 days earlier)      last day (3410 days later) »